1 /* ----------------------------------------------------------------------------
2 * This file was automatically generated by SWIG (http://www.swig.org).
5 * This file is not intended to be easily readable and contains a number of
6 * coding conventions designed to improve portability and efficiency. Do not make
7 * changes to this file unless you know what you are doing--modify the SWIG
8 * interface file instead.
9 * ----------------------------------------------------------------------------- */
12 #define SWIG_PYTHON_DIRECTOR_NO_VTABLE
15 template<class T
> class SwigValueWrapper
{
18 SwigValueWrapper() : tt(0) { }
19 SwigValueWrapper(const SwigValueWrapper
<T
>& rhs
) : tt(new T(*rhs
.tt
)) { }
20 SwigValueWrapper(const T
& t
) : tt(new T(t
)) { }
21 ~SwigValueWrapper() { delete tt
; }
22 SwigValueWrapper
& operator=(const T
& t
) { delete tt
; tt
= new T(t
); return *this; }
23 operator T
&() const { return *tt
; }
24 T
*operator&() { return tt
; }
26 SwigValueWrapper
& operator=(const SwigValueWrapper
<T
>& rhs
);
30 /* -----------------------------------------------------------------------------
31 * This section contains generic SWIG labels for method/variable
32 * declarations/attributes, and other compiler dependent labels.
33 * ----------------------------------------------------------------------------- */
35 /* template workaround for compilers that cannot correctly implement the C++ standard */
36 #ifndef SWIGTEMPLATEDISAMBIGUATOR
37 # if defined(__SUNPRO_CC)
38 # if (__SUNPRO_CC <= 0x560)
39 # define SWIGTEMPLATEDISAMBIGUATOR template
41 # define SWIGTEMPLATEDISAMBIGUATOR
44 # define SWIGTEMPLATEDISAMBIGUATOR
48 /* inline attribute */
50 # if defined(__cplusplus) || (defined(__GNUC__) && !defined(__STRICT_ANSI__))
51 # define SWIGINLINE inline
57 /* attribute recognised by some compilers to avoid 'unused' warnings */
59 # if defined(__GNUC__)
60 # if !(defined(__cplusplus)) || (__GNUC__ > 3 || (__GNUC__ == 3 && __GNUC_MINOR__ >= 4))
61 # define SWIGUNUSED __attribute__ ((__unused__))
66 # define SWIGUNUSED __attribute__ ((__unused__))
72 #ifndef SWIGUNUSEDPARM
74 # define SWIGUNUSEDPARM(p)
76 # define SWIGUNUSEDPARM(p) p SWIGUNUSED
80 /* internal SWIG method */
82 # define SWIGINTERN static SWIGUNUSED
85 /* internal inline SWIG method */
86 #ifndef SWIGINTERNINLINE
87 # define SWIGINTERNINLINE SWIGINTERN SWIGINLINE
90 /* exporting methods */
91 #if (__GNUC__ >= 4) || (__GNUC__ == 3 && __GNUC_MINOR__ >= 4)
92 # ifndef GCC_HASCLASSVISIBILITY
93 # define GCC_HASCLASSVISIBILITY
98 # if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
99 # if defined(STATIC_LINKED)
102 # define SWIGEXPORT __declspec(dllexport)
105 # if defined(__GNUC__) && defined(GCC_HASCLASSVISIBILITY)
106 # define SWIGEXPORT __attribute__ ((visibility("default")))
113 /* calling conventions for Windows */
115 # if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
116 # define SWIGSTDCALL __stdcall
122 /* Deal with Microsoft's attempt at deprecating C standard runtime functions */
123 #if !defined(SWIG_NO_CRT_SECURE_NO_DEPRECATE) && defined(_MSC_VER)
124 # define _CRT_SECURE_NO_DEPRECATE
128 /* Python.h has to appear first */
131 /* -----------------------------------------------------------------------------
134 * This file contains generic CAPI SWIG runtime support for pointer
136 * ----------------------------------------------------------------------------- */
138 /* This should only be incremented when either the layout of swig_type_info changes,
139 or for whatever reason, the runtime changes incompatibly */
140 #define SWIG_RUNTIME_VERSION "2"
142 /* define SWIG_TYPE_TABLE_NAME as "SWIG_TYPE_TABLE" */
143 #ifdef SWIG_TYPE_TABLE
144 # define SWIG_QUOTE_STRING(x) #x
145 # define SWIG_EXPAND_AND_QUOTE_STRING(x) SWIG_QUOTE_STRING(x)
146 # define SWIG_TYPE_TABLE_NAME SWIG_EXPAND_AND_QUOTE_STRING(SWIG_TYPE_TABLE)
148 # define SWIG_TYPE_TABLE_NAME
152 You can use the SWIGRUNTIME and SWIGRUNTIMEINLINE macros for
153 creating a static or dynamic library from the swig runtime code.
154 In 99.9% of the cases, swig just needs to declare them as 'static'.
156 But only do this if is strictly necessary, ie, if you have problems
157 with your compiler or so.
161 # define SWIGRUNTIME SWIGINTERN
164 #ifndef SWIGRUNTIMEINLINE
165 # define SWIGRUNTIMEINLINE SWIGRUNTIME SWIGINLINE
168 /* Generic buffer size */
169 #ifndef SWIG_BUFFER_SIZE
170 # define SWIG_BUFFER_SIZE 1024
173 /* Flags for pointer conversions */
174 #define SWIG_POINTER_DISOWN 0x1
176 /* Flags for new pointer objects */
177 #define SWIG_POINTER_OWN 0x1
181 Flags/methods for returning states.
183 The swig conversion methods, as ConvertPtr, return and integer
184 that tells if the conversion was successful or not. And if not,
185 an error code can be returned (see swigerrors.swg for the codes).
187 Use the following macros/flags to set or process the returning
190 In old swig versions, you usually write code as:
192 if (SWIG_ConvertPtr(obj,vptr,ty.flags) != -1) {
198 Now you can be more explicit as:
200 int res = SWIG_ConvertPtr(obj,vptr,ty.flags);
201 if (SWIG_IsOK(res)) {
207 that seems to be the same, but now you can also do
210 int res = SWIG_ConvertPtr(obj,(void **)(&ptr),ty.flags);
211 if (SWIG_IsOK(res)) {
213 if (SWIG_IsNewObj(res) {
223 I.e., now SWIG_ConvertPtr can return new objects and you can
224 identify the case and take care of the deallocation. Of course that
225 requires also to SWIG_ConvertPtr to return new result values, as
227 int SWIG_ConvertPtr(obj, ptr,...) {
229 if (<need new object>) {
230 *ptr = <ptr to new allocated object>;
233 *ptr = <ptr to old object>;
241 Of course, returning the plain '0(success)/-1(fail)' still works, but you can be
242 more explicit by returning SWIG_BADOBJ, SWIG_ERROR or any of the
245 Finally, if the SWIG_CASTRANK_MODE is enabled, the result code
246 allows to return the 'cast rank', for example, if you have this
253 food(1) // cast rank '1' (1 -> 1.0)
254 fooi(1) // cast rank '0'
256 just use the SWIG_AddCast()/SWIG_CheckState()
261 #define SWIG_ERROR (-1)
262 #define SWIG_IsOK(r) (r >= 0)
263 #define SWIG_ArgError(r) ((r != SWIG_ERROR) ? r : SWIG_TypeError)
265 /* The CastRankLimit says how many bits are used for the cast rank */
266 #define SWIG_CASTRANKLIMIT (1 << 8)
267 /* The NewMask denotes the object was created (using new/malloc) */
268 #define SWIG_NEWOBJMASK (SWIG_CASTRANKLIMIT << 1)
269 /* The TmpMask is for in/out typemaps that use temporal objects */
270 #define SWIG_TMPOBJMASK (SWIG_NEWOBJMASK << 1)
271 /* Simple returning values */
272 #define SWIG_BADOBJ (SWIG_ERROR)
273 #define SWIG_OLDOBJ (SWIG_OK)
274 #define SWIG_NEWOBJ (SWIG_OK | SWIG_NEWOBJMASK)
275 #define SWIG_TMPOBJ (SWIG_OK | SWIG_TMPOBJMASK)
276 /* Check, add and del mask methods */
277 #define SWIG_AddNewMask(r) (SWIG_IsOK(r) ? (r | SWIG_NEWOBJMASK) : r)
278 #define SWIG_DelNewMask(r) (SWIG_IsOK(r) ? (r & ~SWIG_NEWOBJMASK) : r)
279 #define SWIG_IsNewObj(r) (SWIG_IsOK(r) && (r & SWIG_NEWOBJMASK))
280 #define SWIG_AddTmpMask(r) (SWIG_IsOK(r) ? (r | SWIG_TMPOBJMASK) : r)
281 #define SWIG_DelTmpMask(r) (SWIG_IsOK(r) ? (r & ~SWIG_TMPOBJMASK) : r)
282 #define SWIG_IsTmpObj(r) (SWIG_IsOK(r) && (r & SWIG_TMPOBJMASK))
286 #if defined(SWIG_CASTRANK_MODE)
287 # ifndef SWIG_TypeRank
288 # define SWIG_TypeRank unsigned long
290 # ifndef SWIG_MAXCASTRANK /* Default cast allowed */
291 # define SWIG_MAXCASTRANK (2)
293 # define SWIG_CASTRANKMASK ((SWIG_CASTRANKLIMIT) -1)
294 # define SWIG_CastRank(r) (r & SWIG_CASTRANKMASK)
295 SWIGINTERNINLINE
int SWIG_AddCast(int r
) {
296 return SWIG_IsOK(r
) ? ((SWIG_CastRank(r
) < SWIG_MAXCASTRANK
) ? (r
+ 1) : SWIG_ERROR
) : r
;
298 SWIGINTERNINLINE
int SWIG_CheckState(int r
) {
299 return SWIG_IsOK(r
) ? SWIG_CastRank(r
) + 1 : 0;
301 #else /* no cast-rank mode */
302 # define SWIG_AddCast
303 # define SWIG_CheckState(r) (SWIG_IsOK(r) ? 1 : 0)
315 typedef void *(*swig_converter_func
)(void *);
316 typedef struct swig_type_info
*(*swig_dycast_func
)(void **);
318 /* Structure to store inforomation on one type */
319 typedef struct swig_type_info
{
320 const char *name
; /* mangled name of this type */
321 const char *str
; /* human readable name of this type */
322 swig_dycast_func dcast
; /* dynamic cast function down a hierarchy */
323 struct swig_cast_info
*cast
; /* linked list of types that can cast into this type */
324 void *clientdata
; /* language specific type data */
325 int owndata
; /* flag if the structure owns the clientdata */
328 /* Structure to store a type and conversion function used for casting */
329 typedef struct swig_cast_info
{
330 swig_type_info
*type
; /* pointer to type that is equivalent to this type */
331 swig_converter_func converter
; /* function to cast the void pointers */
332 struct swig_cast_info
*next
; /* pointer to next cast in linked list */
333 struct swig_cast_info
*prev
; /* pointer to the previous cast */
336 /* Structure used to store module information
337 * Each module generates one structure like this, and the runtime collects
338 * all of these structures and stores them in a circularly linked list.*/
339 typedef struct swig_module_info
{
340 swig_type_info
**types
; /* Array of pointers to swig_type_info structures that are in this module */
341 size_t size
; /* Number of types in this module */
342 struct swig_module_info
*next
; /* Pointer to next element in circularly linked list */
343 swig_type_info
**type_initial
; /* Array of initially generated type structures */
344 swig_cast_info
**cast_initial
; /* Array of initially generated casting structures */
345 void *clientdata
; /* Language specific module data */
349 Compare two type names skipping the space characters, therefore
350 "char*" == "char *" and "Class<int>" == "Class<int >", etc.
352 Return 0 when the two name types are equivalent, as in
353 strncmp, but skipping ' '.
356 SWIG_TypeNameComp(const char *f1
, const char *l1
,
357 const char *f2
, const char *l2
) {
358 for (;(f1
!= l1
) && (f2
!= l2
); ++f1
, ++f2
) {
359 while ((*f1
== ' ') && (f1
!= l1
)) ++f1
;
360 while ((*f2
== ' ') && (f2
!= l2
)) ++f2
;
361 if (*f1
!= *f2
) return (*f1
> *f2
) ? 1 : -1;
363 return (l1
- f1
) - (l2
- f2
);
367 Check type equivalence in a name list like <name1>|<name2>|...
368 Return 0 if not equal, 1 if equal
371 SWIG_TypeEquiv(const char *nb
, const char *tb
) {
373 const char* te
= tb
+ strlen(tb
);
375 while (!equiv
&& *ne
) {
376 for (nb
= ne
; *ne
; ++ne
) {
377 if (*ne
== '|') break;
379 equiv
= (SWIG_TypeNameComp(nb
, ne
, tb
, te
) == 0) ? 1 : 0;
386 Check type equivalence in a name list like <name1>|<name2>|...
387 Return 0 if equal, -1 if nb < tb, 1 if nb > tb
390 SWIG_TypeCompare(const char *nb
, const char *tb
) {
392 const char* te
= tb
+ strlen(tb
);
394 while (!equiv
&& *ne
) {
395 for (nb
= ne
; *ne
; ++ne
) {
396 if (*ne
== '|') break;
398 equiv
= (SWIG_TypeNameComp(nb
, ne
, tb
, te
) == 0) ? 1 : 0;
405 /* think of this as a c++ template<> or a scheme macro */
406 #define SWIG_TypeCheck_Template(comparison, ty) \
408 swig_cast_info *iter = ty->cast; \
411 if (iter == ty->cast) return iter; \
412 /* Move iter to the top of the linked list */ \
413 iter->prev->next = iter->next; \
415 iter->next->prev = iter->prev; \
416 iter->next = ty->cast; \
418 if (ty->cast) ty->cast->prev = iter; \
430 SWIGRUNTIME swig_cast_info
*
431 SWIG_TypeCheck(const char *c
, swig_type_info
*ty
) {
432 SWIG_TypeCheck_Template(strcmp(iter
->type
->name
, c
) == 0, ty
);
435 /* Same as previous function, except strcmp is replaced with a pointer comparison */
436 SWIGRUNTIME swig_cast_info
*
437 SWIG_TypeCheckStruct(swig_type_info
*from
, swig_type_info
*into
) {
438 SWIG_TypeCheck_Template(iter
->type
== from
, into
);
442 Cast a pointer up an inheritance hierarchy
444 SWIGRUNTIMEINLINE
void *
445 SWIG_TypeCast(swig_cast_info
*ty
, void *ptr
) {
446 return ((!ty
) || (!ty
->converter
)) ? ptr
: (*ty
->converter
)(ptr
);
450 Dynamic pointer casting. Down an inheritance hierarchy
452 SWIGRUNTIME swig_type_info
*
453 SWIG_TypeDynamicCast(swig_type_info
*ty
, void **ptr
) {
454 swig_type_info
*lastty
= ty
;
455 if (!ty
|| !ty
->dcast
) return ty
;
456 while (ty
&& (ty
->dcast
)) {
457 ty
= (*ty
->dcast
)(ptr
);
464 Return the name associated with this type
466 SWIGRUNTIMEINLINE
const char *
467 SWIG_TypeName(const swig_type_info
*ty
) {
472 Return the pretty name associated with this type,
473 that is an unmangled type name in a form presentable to the user.
475 SWIGRUNTIME
const char *
476 SWIG_TypePrettyName(const swig_type_info
*type
) {
477 /* The "str" field contains the equivalent pretty names of the
478 type, separated by vertical-bar characters. We choose
479 to print the last name, as it is often (?) the most
481 if (!type
) return NULL
;
482 if (type
->str
!= NULL
) {
483 const char *last_name
= type
->str
;
485 for (s
= type
->str
; *s
; s
++)
486 if (*s
== '|') last_name
= s
+1;
494 Set the clientdata field for a type
497 SWIG_TypeClientData(swig_type_info
*ti
, void *clientdata
) {
498 swig_cast_info
*cast
= ti
->cast
;
499 /* if (ti->clientdata == clientdata) return; */
500 ti
->clientdata
= clientdata
;
503 if (!cast
->converter
) {
504 swig_type_info
*tc
= cast
->type
;
505 if (!tc
->clientdata
) {
506 SWIG_TypeClientData(tc
, clientdata
);
513 SWIG_TypeNewClientData(swig_type_info
*ti
, void *clientdata
) {
514 SWIG_TypeClientData(ti
, clientdata
);
519 Search for a swig_type_info structure only by mangled name
520 Search is a O(log #types)
522 We start searching at module start, and finish searching when start == end.
523 Note: if start == end at the beginning of the function, we go all the way around
526 SWIGRUNTIME swig_type_info
*
527 SWIG_MangledTypeQueryModule(swig_module_info
*start
,
528 swig_module_info
*end
,
530 swig_module_info
*iter
= start
;
533 register size_t l
= 0;
534 register size_t r
= iter
->size
- 1;
536 /* since l+r >= 0, we can (>> 1) instead (/ 2) */
537 register size_t i
= (l
+ r
) >> 1;
538 const char *iname
= iter
->types
[i
]->name
;
540 register int compare
= strcmp(name
, iname
);
542 return iter
->types
[i
];
543 } else if (compare
< 0) {
549 } else if (compare
> 0) {
553 break; /* should never happen */
558 } while (iter
!= end
);
563 Search for a swig_type_info structure for either a mangled name or a human readable name.
564 It first searches the mangled names of the types, which is a O(log #types)
565 If a type is not found it then searches the human readable names, which is O(#types).
567 We start searching at module start, and finish searching when start == end.
568 Note: if start == end at the beginning of the function, we go all the way around
571 SWIGRUNTIME swig_type_info
*
572 SWIG_TypeQueryModule(swig_module_info
*start
,
573 swig_module_info
*end
,
575 /* STEP 1: Search the name field using binary search */
576 swig_type_info
*ret
= SWIG_MangledTypeQueryModule(start
, end
, name
);
580 /* STEP 2: If the type hasn't been found, do a complete search
581 of the str field (the human readable name) */
582 swig_module_info
*iter
= start
;
584 register size_t i
= 0;
585 for (; i
< iter
->size
; ++i
) {
586 if (iter
->types
[i
]->str
&& (SWIG_TypeEquiv(iter
->types
[i
]->str
, name
)))
587 return iter
->types
[i
];
590 } while (iter
!= end
);
593 /* neither found a match */
598 Pack binary data into a string
601 SWIG_PackData(char *c
, void *ptr
, size_t sz
) {
602 static const char hex
[17] = "0123456789abcdef";
603 register const unsigned char *u
= (unsigned char *) ptr
;
604 register const unsigned char *eu
= u
+ sz
;
605 for (; u
!= eu
; ++u
) {
606 register unsigned char uu
= *u
;
607 *(c
++) = hex
[(uu
& 0xf0) >> 4];
608 *(c
++) = hex
[uu
& 0xf];
614 Unpack binary data from a string
616 SWIGRUNTIME
const char *
617 SWIG_UnpackData(const char *c
, void *ptr
, size_t sz
) {
618 register unsigned char *u
= (unsigned char *) ptr
;
619 register const unsigned char *eu
= u
+ sz
;
620 for (; u
!= eu
; ++u
) {
621 register char d
= *(c
++);
622 register unsigned char uu
;
623 if ((d
>= '0') && (d
<= '9'))
624 uu
= ((d
- '0') << 4);
625 else if ((d
>= 'a') && (d
<= 'f'))
626 uu
= ((d
- ('a'-10)) << 4);
630 if ((d
>= '0') && (d
<= '9'))
632 else if ((d
>= 'a') && (d
<= 'f'))
633 uu
|= (d
- ('a'-10));
642 Pack 'void *' into a string buffer.
645 SWIG_PackVoidPtr(char *buff
, void *ptr
, const char *name
, size_t bsz
) {
647 if ((2*sizeof(void *) + 2) > bsz
) return 0;
649 r
= SWIG_PackData(r
,&ptr
,sizeof(void *));
650 if (strlen(name
) + 1 > (bsz
- (r
- buff
))) return 0;
655 SWIGRUNTIME
const char *
656 SWIG_UnpackVoidPtr(const char *c
, void **ptr
, const char *name
) {
658 if (strcmp(c
,"NULL") == 0) {
665 return SWIG_UnpackData(++c
,ptr
,sizeof(void *));
669 SWIG_PackDataName(char *buff
, void *ptr
, size_t sz
, const char *name
, size_t bsz
) {
671 size_t lname
= (name
? strlen(name
) : 0);
672 if ((2*sz
+ 2 + lname
) > bsz
) return 0;
674 r
= SWIG_PackData(r
,ptr
,sz
);
676 strncpy(r
,name
,lname
+1);
683 SWIGRUNTIME
const char *
684 SWIG_UnpackDataName(const char *c
, void *ptr
, size_t sz
, const char *name
) {
686 if (strcmp(c
,"NULL") == 0) {
693 return SWIG_UnpackData(++c
,ptr
,sz
);
701 #define SWIG_UnknownError -1
702 #define SWIG_IOError -2
703 #define SWIG_RuntimeError -3
704 #define SWIG_IndexError -4
705 #define SWIG_TypeError -5
706 #define SWIG_DivisionByZero -6
707 #define SWIG_OverflowError -7
708 #define SWIG_SyntaxError -8
709 #define SWIG_ValueError -9
710 #define SWIG_SystemError -10
711 #define SWIG_AttributeError -11
712 #define SWIG_MemoryError -12
713 #define SWIG_NullReferenceError -13
717 /* Python.h has to appear first */
720 /* Add PyOS_snprintf for old Pythons */
721 #if PY_VERSION_HEX < 0x02020000
722 # if defined(_MSC_VER) || defined(__BORLANDC__) || defined(_WATCOM)
723 # define PyOS_snprintf _snprintf
725 # define PyOS_snprintf snprintf
729 /* A crude PyString_FromFormat implementation for old Pythons */
730 #if PY_VERSION_HEX < 0x02020000
732 #ifndef SWIG_PYBUFFER_SIZE
733 # define SWIG_PYBUFFER_SIZE 1024
737 PyString_FromFormat(const char *fmt
, ...) {
739 char buf
[SWIG_PYBUFFER_SIZE
* 2];
742 res
= vsnprintf(buf
, sizeof(buf
), fmt
, ap
);
744 return (res
< 0 || res
>= (int)sizeof(buf
)) ? 0 : PyString_FromString(buf
);
748 /* Add PyObject_Del for old Pythons */
749 #if PY_VERSION_HEX < 0x01060000
750 # define PyObject_Del(op) PyMem_DEL((op))
753 # define PyObject_DEL PyObject_Del
756 /* A crude PyExc_StopIteration exception for old Pythons */
757 #if PY_VERSION_HEX < 0x02020000
758 # ifndef PyExc_StopIteration
759 # define PyExc_StopIteration PyExc_RuntimeError
761 # ifndef PyObject_GenericGetAttr
762 # define PyObject_GenericGetAttr 0
765 /* Py_NotImplemented is defined in 2.1 and up. */
766 #if PY_VERSION_HEX < 0x02010000
767 # ifndef Py_NotImplemented
768 # define Py_NotImplemented PyExc_RuntimeError
773 /* A crude PyString_AsStringAndSize implementation for old Pythons */
774 #if PY_VERSION_HEX < 0x02010000
775 # ifndef PyString_AsStringAndSize
776 # define PyString_AsStringAndSize(obj, s, len) {*s = PyString_AsString(obj); *len = *s ? strlen(*s) : 0;}
780 /* PySequence_Size for old Pythons */
781 #if PY_VERSION_HEX < 0x02000000
782 # ifndef PySequence_Size
783 # define PySequence_Size PySequence_Length
788 /* PyBool_FromLong for old Pythons */
789 #if PY_VERSION_HEX < 0x02030000
791 PyObject
*PyBool_FromLong(long ok
)
793 PyObject
*result
= ok
? Py_True
: Py_False
;
800 /* -----------------------------------------------------------------------------
802 * ----------------------------------------------------------------------------- */
804 SWIGRUNTIME PyObject
*
805 SWIG_Python_ErrorType(int code
) {
808 case SWIG_MemoryError
:
809 type
= PyExc_MemoryError
;
812 type
= PyExc_IOError
;
814 case SWIG_RuntimeError
:
815 type
= PyExc_RuntimeError
;
817 case SWIG_IndexError
:
818 type
= PyExc_IndexError
;
821 type
= PyExc_TypeError
;
823 case SWIG_DivisionByZero
:
824 type
= PyExc_ZeroDivisionError
;
826 case SWIG_OverflowError
:
827 type
= PyExc_OverflowError
;
829 case SWIG_SyntaxError
:
830 type
= PyExc_SyntaxError
;
832 case SWIG_ValueError
:
833 type
= PyExc_ValueError
;
835 case SWIG_SystemError
:
836 type
= PyExc_SystemError
;
838 case SWIG_AttributeError
:
839 type
= PyExc_AttributeError
;
842 type
= PyExc_RuntimeError
;
849 SWIG_Python_AddErrorMsg(const char* mesg
)
853 PyObject
*traceback
= 0;
855 if (PyErr_Occurred()) PyErr_Fetch(&type
, &value
, &traceback
);
857 PyObject
*old_str
= PyObject_Str(value
);
860 PyErr_Format(type
, "%s %s", PyString_AsString(old_str
), mesg
);
864 PyErr_Format(PyExc_RuntimeError
, mesg
);
870 #if defined(SWIG_PYTHON_NO_THREADS)
871 # if defined(SWIG_PYTHON_THREADS)
872 # undef SWIG_PYTHON_THREADS
875 #if defined(SWIG_PYTHON_THREADS) /* Threading support is enabled */
876 # if !defined(SWIG_PYTHON_USE_GIL) && !defined(SWIG_PYTHON_NO_USE_GIL)
877 # if (PY_VERSION_HEX >= 0x02030000) /* For 2.3 or later, use the PyGILState calls */
878 # define SWIG_PYTHON_USE_GIL
881 # if defined(SWIG_PYTHON_USE_GIL) /* Use PyGILState threads calls */
882 # ifndef SWIG_PYTHON_INITIALIZE_THREADS
883 # define SWIG_PYTHON_INITIALIZE_THREADS PyEval_InitThreads()
885 # ifdef __cplusplus /* C++ code */
886 class SWIG_Python_Thread_Block
{
888 PyGILState_STATE state
;
890 void end() { if (status
) { PyGILState_Release(state
); status
= false;} }
891 SWIG_Python_Thread_Block() : status(true), state(PyGILState_Ensure()) {}
892 ~SWIG_Python_Thread_Block() { end(); }
894 class SWIG_Python_Thread_Allow
{
898 void end() { if (status
) { PyEval_RestoreThread(save
); status
= false; }}
899 SWIG_Python_Thread_Allow() : status(true), save(PyEval_SaveThread()) {}
900 ~SWIG_Python_Thread_Allow() { end(); }
902 # define SWIG_PYTHON_THREAD_BEGIN_BLOCK SWIG_Python_Thread_Block _swig_thread_block
903 # define SWIG_PYTHON_THREAD_END_BLOCK _swig_thread_block.end()
904 # define SWIG_PYTHON_THREAD_BEGIN_ALLOW SWIG_Python_Thread_Allow _swig_thread_allow
905 # define SWIG_PYTHON_THREAD_END_ALLOW _swig_thread_allow.end()
907 # define SWIG_PYTHON_THREAD_BEGIN_BLOCK PyGILState_STATE _swig_thread_block = PyGILState_Ensure()
908 # define SWIG_PYTHON_THREAD_END_BLOCK PyGILState_Release(_swig_thread_block)
909 # define SWIG_PYTHON_THREAD_BEGIN_ALLOW PyThreadState *_swig_thread_allow = PyEval_SaveThread()
910 # define SWIG_PYTHON_THREAD_END_ALLOW PyEval_RestoreThread(_swig_thread_allow)
912 # else /* Old thread way, not implemented, user must provide it */
913 # if !defined(SWIG_PYTHON_INITIALIZE_THREADS)
914 # define SWIG_PYTHON_INITIALIZE_THREADS
916 # if !defined(SWIG_PYTHON_THREAD_BEGIN_BLOCK)
917 # define SWIG_PYTHON_THREAD_BEGIN_BLOCK
919 # if !defined(SWIG_PYTHON_THREAD_END_BLOCK)
920 # define SWIG_PYTHON_THREAD_END_BLOCK
922 # if !defined(SWIG_PYTHON_THREAD_BEGIN_ALLOW)
923 # define SWIG_PYTHON_THREAD_BEGIN_ALLOW
925 # if !defined(SWIG_PYTHON_THREAD_END_ALLOW)
926 # define SWIG_PYTHON_THREAD_END_ALLOW
929 #else /* No thread support */
930 # define SWIG_PYTHON_INITIALIZE_THREADS
931 # define SWIG_PYTHON_THREAD_BEGIN_BLOCK
932 # define SWIG_PYTHON_THREAD_END_BLOCK
933 # define SWIG_PYTHON_THREAD_BEGIN_ALLOW
934 # define SWIG_PYTHON_THREAD_END_ALLOW
937 /* -----------------------------------------------------------------------------
938 * Python API portion that goes into the runtime
939 * ----------------------------------------------------------------------------- */
948 /* -----------------------------------------------------------------------------
949 * Constant declarations
950 * ----------------------------------------------------------------------------- */
953 #define SWIG_PY_POINTER 4
954 #define SWIG_PY_BINARY 5
956 /* Constant information structure */
957 typedef struct swig_const_info
{
963 swig_type_info
**ptype
;
974 /* -----------------------------------------------------------------------------
975 * See the LICENSE file for information on copyright, usage and redistribution
976 * of SWIG, and the README file for authors - http://www.swig.org/release.html.
980 * This file contains the runtime support for Python modules
981 * and includes code for managing global variables and pointer
984 * ----------------------------------------------------------------------------- */
986 /* Common SWIG API */
988 #if PY_VERSION_HEX < 0x02050000
989 typedef int Py_ssize_t
;
992 /* for raw pointers */
993 #define SWIG_Python_ConvertPtr(obj, pptr, type, flags) SWIG_Python_ConvertPtrAndOwn(obj, pptr, type, flags, 0)
994 #define SWIG_ConvertPtr(obj, pptr, type, flags) SWIG_Python_ConvertPtr(obj, pptr, type, flags)
995 #define SWIG_ConvertPtrAndOwn(obj,pptr,type,flags,own) SWIG_Python_ConvertPtrAndOwn(obj, pptr, type, flags, own)
996 #define SWIG_NewPointerObj(ptr, type, flags) SWIG_Python_NewPointerObj(ptr, type, flags)
997 #define SWIG_CheckImplicit(ty) SWIG_Python_CheckImplicit(ty)
998 #define SWIG_AcquirePtr(ptr, src) SWIG_Python_AcquirePtr(ptr, src)
999 #define swig_owntype int
1001 /* for raw packed data */
1002 #define SWIG_ConvertPacked(obj, ptr, sz, ty) SWIG_Python_ConvertPacked(obj, ptr, sz, ty)
1003 #define SWIG_NewPackedObj(ptr, sz, type) SWIG_Python_NewPackedObj(ptr, sz, type)
1005 /* for class or struct pointers */
1006 #define SWIG_ConvertInstance(obj, pptr, type, flags) SWIG_ConvertPtr(obj, pptr, type, flags)
1007 #define SWIG_NewInstanceObj(ptr, type, flags) SWIG_NewPointerObj(ptr, type, flags)
1009 /* for C or C++ function pointers */
1010 #define SWIG_ConvertFunctionPtr(obj, pptr, type) SWIG_Python_ConvertFunctionPtr(obj, pptr, type)
1011 #define SWIG_NewFunctionPtrObj(ptr, type) SWIG_Python_NewPointerObj(ptr, type, 0)
1013 /* for C++ member pointers, ie, member methods */
1014 #define SWIG_ConvertMember(obj, ptr, sz, ty) SWIG_Python_ConvertPacked(obj, ptr, sz, ty)
1015 #define SWIG_NewMemberObj(ptr, sz, type) SWIG_Python_NewPackedObj(ptr, sz, type)
1020 #define SWIG_GetModule(clientdata) SWIG_Python_GetModule()
1021 #define SWIG_SetModule(clientdata, pointer) SWIG_Python_SetModule(pointer)
1022 #define SWIG_NewClientData(obj) PySwigClientData_New(obj)
1024 #define SWIG_SetErrorObj SWIG_Python_SetErrorObj
1025 #define SWIG_SetErrorMsg SWIG_Python_SetErrorMsg
1026 #define SWIG_ErrorType(code) SWIG_Python_ErrorType(code)
1027 #define SWIG_Error(code, msg) SWIG_Python_SetErrorMsg(SWIG_ErrorType(code), msg)
1028 #define SWIG_fail goto fail
1031 /* Runtime API implementation */
1033 /* Error manipulation */
1036 SWIG_Python_SetErrorObj(PyObject
*errtype
, PyObject
*obj
) {
1037 SWIG_PYTHON_THREAD_BEGIN_BLOCK
;
1038 PyErr_SetObject(errtype
, obj
);
1040 SWIG_PYTHON_THREAD_END_BLOCK
;
1044 SWIG_Python_SetErrorMsg(PyObject
*errtype
, const char *msg
) {
1045 SWIG_PYTHON_THREAD_BEGIN_BLOCK
;
1046 PyErr_SetString(errtype
, (char *) msg
);
1047 SWIG_PYTHON_THREAD_END_BLOCK
;
1050 #define SWIG_Python_Raise(obj, type, desc) SWIG_Python_SetErrorObj(SWIG_Python_ExceptionType(desc), obj)
1052 /* Set a constant value */
1055 SWIG_Python_SetConstant(PyObject
*d
, const char *name
, PyObject
*obj
) {
1056 PyDict_SetItemString(d
, (char*) name
, obj
);
1060 /* Append a value to the result obj */
1062 SWIGINTERN PyObject
*
1063 SWIG_Python_AppendOutput(PyObject
* result
, PyObject
* obj
) {
1064 #if !defined(SWIG_PYTHON_OUTPUT_TUPLE)
1067 } else if (result
== Py_None
) {
1071 if (!PyList_Check(result
)) {
1072 PyObject
*o2
= result
;
1073 result
= PyList_New(1);
1074 PyList_SetItem(result
, 0, o2
);
1076 PyList_Append(result
,obj
);
1085 } else if (result
== Py_None
) {
1089 if (!PyTuple_Check(result
)) {
1091 result
= PyTuple_New(1);
1092 PyTuple_SET_ITEM(result
, 0, o2
);
1094 o3
= PyTuple_New(1);
1095 PyTuple_SET_ITEM(o3
, 0, obj
);
1097 result
= PySequence_Concat(o2
, o3
);
1105 /* Unpack the argument tuple */
1108 SWIG_Python_UnpackTuple(PyObject
*args
, const char *name
, int min
, int max
, PyObject
**objs
)
1114 PyErr_Format(PyExc_TypeError
, "%s expected %s%d arguments, got none",
1115 name
, (min
== max
? "" : "at least "), min
);
1119 if (!PyTuple_Check(args
)) {
1120 PyErr_SetString(PyExc_SystemError
, "UnpackTuple() argument list is not a tuple");
1123 register int l
= PyTuple_GET_SIZE(args
);
1125 PyErr_Format(PyExc_TypeError
, "%s expected %s%d arguments, got %d",
1126 name
, (min
== max
? "" : "at least "), min
, l
);
1128 } else if (l
> max
) {
1129 PyErr_Format(PyExc_TypeError
, "%s expected %s%d arguments, got %d",
1130 name
, (min
== max
? "" : "at most "), max
, l
);
1134 for (i
= 0; i
< l
; ++i
) {
1135 objs
[i
] = PyTuple_GET_ITEM(args
, i
);
1137 for (; l
< max
; ++l
) {
1145 /* A functor is a function object with one single object argument */
1146 #if PY_VERSION_HEX >= 0x02020000
1147 #define SWIG_Python_CallFunctor(functor, obj) PyObject_CallFunctionObjArgs(functor, obj, NULL);
1149 #define SWIG_Python_CallFunctor(functor, obj) PyObject_CallFunction(functor, "O", obj);
1153 Helper for static pointer initialization for both C and C++ code, for example
1154 static PyObject *SWIG_STATIC_POINTER(MyVar) = NewSomething(...);
1157 #define SWIG_STATIC_POINTER(var) var
1159 #define SWIG_STATIC_POINTER(var) var = 0; if (!var) var
1162 /* -----------------------------------------------------------------------------
1163 * Pointer declarations
1164 * ----------------------------------------------------------------------------- */
1166 /* Flags for new pointer objects */
1167 #define SWIG_POINTER_NOSHADOW (SWIG_POINTER_OWN << 1)
1168 #define SWIG_POINTER_NEW (SWIG_POINTER_NOSHADOW | SWIG_POINTER_OWN)
1170 #define SWIG_POINTER_IMPLICIT_CONV (SWIG_POINTER_DISOWN << 1)
1179 /* How to access Py_None */
1180 #if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
1181 # ifndef SWIG_PYTHON_NO_BUILD_NONE
1182 # ifndef SWIG_PYTHON_BUILD_NONE
1183 # define SWIG_PYTHON_BUILD_NONE
1188 #ifdef SWIG_PYTHON_BUILD_NONE
1191 # define Py_None SWIG_Py_None()
1193 SWIGRUNTIMEINLINE PyObject
*
1196 PyObject
*none
= Py_BuildValue("");
1200 SWIGRUNTIME PyObject
*
1203 static PyObject
*SWIG_STATIC_POINTER(none
) = _SWIG_Py_None();
1208 /* The python void return value */
1210 SWIGRUNTIMEINLINE PyObject
*
1213 PyObject
*none
= Py_None
;
1218 /* PySwigClientData */
1229 SWIGRUNTIMEINLINE
int
1230 SWIG_Python_CheckImplicit(swig_type_info
*ty
)
1232 PySwigClientData
*data
= (PySwigClientData
*)ty
->clientdata
;
1233 return data
? data
->implicitconv
: 0;
1236 SWIGRUNTIMEINLINE PyObject
*
1237 SWIG_Python_ExceptionType(swig_type_info
*desc
) {
1238 PySwigClientData
*data
= desc
? (PySwigClientData
*) desc
->clientdata
: 0;
1239 PyObject
*klass
= data
? data
->klass
: 0;
1240 return (klass
? klass
: PyExc_RuntimeError
);
1244 SWIGRUNTIME PySwigClientData
*
1245 PySwigClientData_New(PyObject
* obj
)
1250 PySwigClientData
*data
= (PySwigClientData
*)malloc(sizeof(PySwigClientData
));
1251 /* the klass element */
1253 Py_INCREF(data
->klass
);
1254 /* the newraw method and newargs arguments used to create a new raw instance */
1255 if (PyClass_Check(obj
)) {
1257 data
->newargs
= obj
;
1260 #if (PY_VERSION_HEX < 0x02020000)
1263 data
->newraw
= PyObject_GetAttrString(data
->klass
, (char *)"__new__");
1266 Py_INCREF(data
->newraw
);
1267 data
->newargs
= PyTuple_New(1);
1268 PyTuple_SetItem(data
->newargs
, 0, obj
);
1270 data
->newargs
= obj
;
1272 Py_INCREF(data
->newargs
);
1274 /* the destroy method, aka as the C++ delete method */
1275 data
->destroy
= PyObject_GetAttrString(data
->klass
, (char *)"__swig_destroy__");
1276 if (PyErr_Occurred()) {
1280 if (data
->destroy
) {
1282 Py_INCREF(data
->destroy
);
1283 flags
= PyCFunction_GET_FLAGS(data
->destroy
);
1285 data
->delargs
= !(flags
& (METH_O
));
1292 data
->implicitconv
= 0;
1298 PySwigClientData_Del(PySwigClientData
* data
)
1300 Py_XDECREF(data
->newraw
);
1301 Py_XDECREF(data
->newargs
);
1302 Py_XDECREF(data
->destroy
);
1305 /* =============== PySwigObject =====================*/
1315 SWIGRUNTIME PyObject
*
1316 PySwigObject_long(PySwigObject
*v
)
1318 return PyLong_FromVoidPtr(v
->ptr
);
1321 SWIGRUNTIME PyObject
*
1322 PySwigObject_format(const char* fmt
, PySwigObject
*v
)
1324 PyObject
*res
= NULL
;
1325 PyObject
*args
= PyTuple_New(1);
1327 if (PyTuple_SetItem(args
, 0, PySwigObject_long(v
)) == 0) {
1328 PyObject
*ofmt
= PyString_FromString(fmt
);
1330 res
= PyString_Format(ofmt
,args
);
1339 SWIGRUNTIME PyObject
*
1340 PySwigObject_oct(PySwigObject
*v
)
1342 return PySwigObject_format("%o",v
);
1345 SWIGRUNTIME PyObject
*
1346 PySwigObject_hex(PySwigObject
*v
)
1348 return PySwigObject_format("%x",v
);
1351 SWIGRUNTIME PyObject
*
1353 PySwigObject_repr(PySwigObject
*v
)
1355 PySwigObject_repr(PySwigObject
*v
, PyObject
*args
)
1358 const char *name
= SWIG_TypePrettyName(v
->ty
);
1359 PyObject
*hex
= PySwigObject_hex(v
);
1360 PyObject
*repr
= PyString_FromFormat("<Swig Object of type '%s' at 0x%s>", name
, PyString_AsString(hex
));
1364 PyObject
*nrep
= PySwigObject_repr((PySwigObject
*)v
->next
);
1366 PyObject
*nrep
= PySwigObject_repr((PySwigObject
*)v
->next
, args
);
1368 PyString_ConcatAndDel(&repr
,nrep
);
1374 PySwigObject_print(PySwigObject
*v
, FILE *fp
, int SWIGUNUSEDPARM(flags
))
1377 PyObject
*repr
= PySwigObject_repr(v
);
1379 PyObject
*repr
= PySwigObject_repr(v
, NULL
);
1382 fputs(PyString_AsString(repr
), fp
);
1390 SWIGRUNTIME PyObject
*
1391 PySwigObject_str(PySwigObject
*v
)
1393 char result
[SWIG_BUFFER_SIZE
];
1394 return SWIG_PackVoidPtr(result
, v
->ptr
, v
->ty
->name
, sizeof(result
)) ?
1395 PyString_FromString(result
) : 0;
1399 PySwigObject_compare(PySwigObject
*v
, PySwigObject
*w
)
1403 return (i
< j
) ? -1 : ((i
> j
) ? 1 : 0);
1406 SWIGRUNTIME PyTypeObject
* _PySwigObject_type(void);
1408 SWIGRUNTIME PyTypeObject
*
1409 PySwigObject_type(void) {
1410 static PyTypeObject
*SWIG_STATIC_POINTER(type
) = _PySwigObject_type();
1414 SWIGRUNTIMEINLINE
int
1415 PySwigObject_Check(PyObject
*op
) {
1416 return ((op
)->ob_type
== PySwigObject_type())
1417 || (strcmp((op
)->ob_type
->tp_name
,"PySwigObject") == 0);
1420 SWIGRUNTIME PyObject
*
1421 PySwigObject_New(void *ptr
, swig_type_info
*ty
, int own
);
1424 PySwigObject_dealloc(PyObject
*v
)
1426 PySwigObject
*sobj
= (PySwigObject
*) v
;
1427 PyObject
*next
= sobj
->next
;
1429 swig_type_info
*ty
= sobj
->ty
;
1430 PySwigClientData
*data
= ty
? (PySwigClientData
*) ty
->clientdata
: 0;
1431 PyObject
*destroy
= data
? data
->destroy
: 0;
1433 /* destroy is always a VARARGS method */
1435 if (data
->delargs
) {
1436 /* we need to create a temporal object to carry the destroy operation */
1437 PyObject
*tmp
= PySwigObject_New(sobj
->ptr
, ty
, 0);
1438 res
= SWIG_Python_CallFunctor(destroy
, tmp
);
1441 PyCFunction meth
= PyCFunction_GET_FUNCTION(destroy
);
1442 PyObject
*mself
= PyCFunction_GET_SELF(destroy
);
1443 res
= ((*meth
)(mself
, v
));
1447 const char *name
= SWIG_TypePrettyName(ty
);
1448 #if !defined(SWIG_PYTHON_SILENT_MEMLEAK)
1449 printf("swig/python detected a memory leak of type '%s', no destructor found.\n", name
);
1457 SWIGRUNTIME PyObject
*
1458 PySwigObject_append(PyObject
* v
, PyObject
* next
)
1460 PySwigObject
*sobj
= (PySwigObject
*) v
;
1463 if (!PyArg_ParseTuple(next
,(char *)"O:append", &tmp
)) return NULL
;
1466 if (!PySwigObject_Check(next
)) {
1471 return SWIG_Py_Void();
1474 SWIGRUNTIME PyObject
*
1476 PySwigObject_next(PyObject
* v
)
1478 PySwigObject_next(PyObject
* v
, PyObject
*SWIGUNUSEDPARM(args
))
1481 PySwigObject
*sobj
= (PySwigObject
*) v
;
1483 Py_INCREF(sobj
->next
);
1486 return SWIG_Py_Void();
1490 SWIGINTERN PyObject
*
1492 PySwigObject_disown(PyObject
*v
)
1494 PySwigObject_disown(PyObject
* v
, PyObject
*SWIGUNUSEDPARM(args
))
1497 PySwigObject
*sobj
= (PySwigObject
*)v
;
1499 return SWIG_Py_Void();
1502 SWIGINTERN PyObject
*
1504 PySwigObject_acquire(PyObject
*v
)
1506 PySwigObject_acquire(PyObject
* v
, PyObject
*SWIGUNUSEDPARM(args
))
1509 PySwigObject
*sobj
= (PySwigObject
*)v
;
1510 sobj
->own
= SWIG_POINTER_OWN
;
1511 return SWIG_Py_Void();
1514 SWIGINTERN PyObject
*
1515 PySwigObject_own(PyObject
*v
, PyObject
*args
)
1518 #if (PY_VERSION_HEX < 0x02020000)
1519 if (!PyArg_ParseTuple(args
,(char *)"|O:own",&val
))
1521 if (!PyArg_UnpackTuple(args
, (char *)"own", 0, 1, &val
))
1528 PySwigObject
*sobj
= (PySwigObject
*)v
;
1529 PyObject
*obj
= PyBool_FromLong(sobj
->own
);
1532 if (PyObject_IsTrue(val
)) {
1533 PySwigObject_acquire(v
);
1535 PySwigObject_disown(v
);
1538 if (PyObject_IsTrue(val
)) {
1539 PySwigObject_acquire(v
,args
);
1541 PySwigObject_disown(v
,args
);
1551 swigobject_methods
[] = {
1552 {(char *)"disown", (PyCFunction
)PySwigObject_disown
, METH_NOARGS
, (char *)"releases ownership of the pointer"},
1553 {(char *)"acquire", (PyCFunction
)PySwigObject_acquire
, METH_NOARGS
, (char *)"aquires ownership of the pointer"},
1554 {(char *)"own", (PyCFunction
)PySwigObject_own
, METH_VARARGS
, (char *)"returns/sets ownership of the pointer"},
1555 {(char *)"append", (PyCFunction
)PySwigObject_append
, METH_O
, (char *)"appends another 'this' object"},
1556 {(char *)"next", (PyCFunction
)PySwigObject_next
, METH_NOARGS
, (char *)"returns the next 'this' object"},
1557 {(char *)"__repr__",(PyCFunction
)PySwigObject_repr
, METH_NOARGS
, (char *)"returns object representation"},
1562 swigobject_methods
[] = {
1563 {(char *)"disown", (PyCFunction
)PySwigObject_disown
, METH_VARARGS
, (char *)"releases ownership of the pointer"},
1564 {(char *)"acquire", (PyCFunction
)PySwigObject_acquire
, METH_VARARGS
, (char *)"aquires ownership of the pointer"},
1565 {(char *)"own", (PyCFunction
)PySwigObject_own
, METH_VARARGS
, (char *)"returns/sets ownership of the pointer"},
1566 {(char *)"append", (PyCFunction
)PySwigObject_append
, METH_VARARGS
, (char *)"appends another 'this' object"},
1567 {(char *)"next", (PyCFunction
)PySwigObject_next
, METH_VARARGS
, (char *)"returns the next 'this' object"},
1568 {(char *)"__repr__",(PyCFunction
)PySwigObject_repr
, METH_VARARGS
, (char *)"returns object representation"},
1573 #if PY_VERSION_HEX < 0x02020000
1574 SWIGINTERN PyObject
*
1575 PySwigObject_getattr(PySwigObject
*sobj
,char *name
)
1577 return Py_FindMethod(swigobject_methods
, (PyObject
*)sobj
, name
);
1581 SWIGRUNTIME PyTypeObject
*
1582 _PySwigObject_type(void) {
1583 static char swigobject_doc
[] = "Swig object carries a C/C++ instance pointer";
1585 static PyNumberMethods PySwigObject_as_number
= {
1586 (binaryfunc
)0, /*nb_add*/
1587 (binaryfunc
)0, /*nb_subtract*/
1588 (binaryfunc
)0, /*nb_multiply*/
1589 (binaryfunc
)0, /*nb_divide*/
1590 (binaryfunc
)0, /*nb_remainder*/
1591 (binaryfunc
)0, /*nb_divmod*/
1592 (ternaryfunc
)0,/*nb_power*/
1593 (unaryfunc
)0, /*nb_negative*/
1594 (unaryfunc
)0, /*nb_positive*/
1595 (unaryfunc
)0, /*nb_absolute*/
1596 (inquiry
)0, /*nb_nonzero*/
1603 (coercion
)0, /*nb_coerce*/
1604 (unaryfunc
)PySwigObject_long
, /*nb_int*/
1605 (unaryfunc
)PySwigObject_long
, /*nb_long*/
1606 (unaryfunc
)0, /*nb_float*/
1607 (unaryfunc
)PySwigObject_oct
, /*nb_oct*/
1608 (unaryfunc
)PySwigObject_hex
, /*nb_hex*/
1609 #if PY_VERSION_HEX >= 0x02020000
1610 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0 /* nb_inplace_add -> nb_inplace_true_divide */
1611 #elif PY_VERSION_HEX >= 0x02000000
1612 0,0,0,0,0,0,0,0,0,0,0 /* nb_inplace_add -> nb_inplace_or */
1616 static PyTypeObject pyswigobject_type
;
1617 static int type_init
= 0;
1619 const PyTypeObject tmp
1621 PyObject_HEAD_INIT(NULL
)
1623 (char *)"PySwigObject", /* tp_name */
1624 sizeof(PySwigObject
), /* tp_basicsize */
1625 0, /* tp_itemsize */
1626 (destructor
)PySwigObject_dealloc
, /* tp_dealloc */
1627 (printfunc
)PySwigObject_print
, /* tp_print */
1628 #if PY_VERSION_HEX < 0x02020000
1629 (getattrfunc
)PySwigObject_getattr
, /* tp_getattr */
1631 (getattrfunc
)0, /* tp_getattr */
1633 (setattrfunc
)0, /* tp_setattr */
1634 (cmpfunc
)PySwigObject_compare
, /* tp_compare */
1635 (reprfunc
)PySwigObject_repr
, /* tp_repr */
1636 &PySwigObject_as_number
, /* tp_as_number */
1637 0, /* tp_as_sequence */
1638 0, /* tp_as_mapping */
1639 (hashfunc
)0, /* tp_hash */
1640 (ternaryfunc
)0, /* tp_call */
1641 (reprfunc
)PySwigObject_str
, /* tp_str */
1642 PyObject_GenericGetAttr
, /* tp_getattro */
1643 0, /* tp_setattro */
1644 0, /* tp_as_buffer */
1645 Py_TPFLAGS_DEFAULT
, /* tp_flags */
1646 swigobject_doc
, /* tp_doc */
1647 0, /* tp_traverse */
1649 0, /* tp_richcompare */
1650 0, /* tp_weaklistoffset */
1651 #if PY_VERSION_HEX >= 0x02020000
1653 0, /* tp_iternext */
1654 swigobject_methods
, /* tp_methods */
1659 0, /* tp_descr_get */
1660 0, /* tp_descr_set */
1661 0, /* tp_dictoffset */
1670 0, /* tp_subclasses */
1671 0, /* tp_weaklist */
1673 #if PY_VERSION_HEX >= 0x02030000
1677 0,0,0,0 /* tp_alloc -> tp_next */
1680 pyswigobject_type
= tmp
;
1681 pyswigobject_type
.ob_type
= &PyType_Type
;
1684 return &pyswigobject_type
;
1687 SWIGRUNTIME PyObject
*
1688 PySwigObject_New(void *ptr
, swig_type_info
*ty
, int own
)
1690 PySwigObject
*sobj
= PyObject_NEW(PySwigObject
, PySwigObject_type());
1697 return (PyObject
*)sobj
;
1700 /* -----------------------------------------------------------------------------
1701 * Implements a simple Swig Packed type, and use it instead of string
1702 * ----------------------------------------------------------------------------- */
1712 PySwigPacked_print(PySwigPacked
*v
, FILE *fp
, int SWIGUNUSEDPARM(flags
))
1714 char result
[SWIG_BUFFER_SIZE
];
1715 fputs("<Swig Packed ", fp
);
1716 if (SWIG_PackDataName(result
, v
->pack
, v
->size
, 0, sizeof(result
))) {
1720 fputs(v
->ty
->name
,fp
);
1725 SWIGRUNTIME PyObject
*
1726 PySwigPacked_repr(PySwigPacked
*v
)
1728 char result
[SWIG_BUFFER_SIZE
];
1729 if (SWIG_PackDataName(result
, v
->pack
, v
->size
, 0, sizeof(result
))) {
1730 return PyString_FromFormat("<Swig Packed at %s%s>", result
, v
->ty
->name
);
1732 return PyString_FromFormat("<Swig Packed %s>", v
->ty
->name
);
1736 SWIGRUNTIME PyObject
*
1737 PySwigPacked_str(PySwigPacked
*v
)
1739 char result
[SWIG_BUFFER_SIZE
];
1740 if (SWIG_PackDataName(result
, v
->pack
, v
->size
, 0, sizeof(result
))){
1741 return PyString_FromFormat("%s%s", result
, v
->ty
->name
);
1743 return PyString_FromString(v
->ty
->name
);
1748 PySwigPacked_compare(PySwigPacked
*v
, PySwigPacked
*w
)
1752 int s
= (i
< j
) ? -1 : ((i
> j
) ? 1 : 0);
1753 return s
? s
: strncmp((char *)v
->pack
, (char *)w
->pack
, 2*v
->size
);
1756 SWIGRUNTIME PyTypeObject
* _PySwigPacked_type(void);
1758 SWIGRUNTIME PyTypeObject
*
1759 PySwigPacked_type(void) {
1760 static PyTypeObject
*SWIG_STATIC_POINTER(type
) = _PySwigPacked_type();
1764 SWIGRUNTIMEINLINE
int
1765 PySwigPacked_Check(PyObject
*op
) {
1766 return ((op
)->ob_type
== _PySwigPacked_type())
1767 || (strcmp((op
)->ob_type
->tp_name
,"PySwigPacked") == 0);
1771 PySwigPacked_dealloc(PyObject
*v
)
1773 if (PySwigPacked_Check(v
)) {
1774 PySwigPacked
*sobj
= (PySwigPacked
*) v
;
1780 SWIGRUNTIME PyTypeObject
*
1781 _PySwigPacked_type(void) {
1782 static char swigpacked_doc
[] = "Swig object carries a C/C++ instance pointer";
1783 static PyTypeObject pyswigpacked_type
;
1784 static int type_init
= 0;
1786 const PyTypeObject tmp
1788 PyObject_HEAD_INIT(NULL
)
1790 (char *)"PySwigPacked", /* tp_name */
1791 sizeof(PySwigPacked
), /* tp_basicsize */
1792 0, /* tp_itemsize */
1793 (destructor
)PySwigPacked_dealloc
, /* tp_dealloc */
1794 (printfunc
)PySwigPacked_print
, /* tp_print */
1795 (getattrfunc
)0, /* tp_getattr */
1796 (setattrfunc
)0, /* tp_setattr */
1797 (cmpfunc
)PySwigPacked_compare
, /* tp_compare */
1798 (reprfunc
)PySwigPacked_repr
, /* tp_repr */
1799 0, /* tp_as_number */
1800 0, /* tp_as_sequence */
1801 0, /* tp_as_mapping */
1802 (hashfunc
)0, /* tp_hash */
1803 (ternaryfunc
)0, /* tp_call */
1804 (reprfunc
)PySwigPacked_str
, /* tp_str */
1805 PyObject_GenericGetAttr
, /* tp_getattro */
1806 0, /* tp_setattro */
1807 0, /* tp_as_buffer */
1808 Py_TPFLAGS_DEFAULT
, /* tp_flags */
1809 swigpacked_doc
, /* tp_doc */
1810 0, /* tp_traverse */
1812 0, /* tp_richcompare */
1813 0, /* tp_weaklistoffset */
1814 #if PY_VERSION_HEX >= 0x02020000
1816 0, /* tp_iternext */
1822 0, /* tp_descr_get */
1823 0, /* tp_descr_set */
1824 0, /* tp_dictoffset */
1833 0, /* tp_subclasses */
1834 0, /* tp_weaklist */
1836 #if PY_VERSION_HEX >= 0x02030000
1840 0,0,0,0 /* tp_alloc -> tp_next */
1843 pyswigpacked_type
= tmp
;
1844 pyswigpacked_type
.ob_type
= &PyType_Type
;
1847 return &pyswigpacked_type
;
1850 SWIGRUNTIME PyObject
*
1851 PySwigPacked_New(void *ptr
, size_t size
, swig_type_info
*ty
)
1853 PySwigPacked
*sobj
= PyObject_NEW(PySwigPacked
, PySwigPacked_type());
1855 void *pack
= malloc(size
);
1857 memcpy(pack
, ptr
, size
);
1862 PyObject_DEL((PyObject
*) sobj
);
1866 return (PyObject
*) sobj
;
1869 SWIGRUNTIME swig_type_info
*
1870 PySwigPacked_UnpackData(PyObject
*obj
, void *ptr
, size_t size
)
1872 if (PySwigPacked_Check(obj
)) {
1873 PySwigPacked
*sobj
= (PySwigPacked
*)obj
;
1874 if (sobj
->size
!= size
) return 0;
1875 memcpy(ptr
, sobj
->pack
, size
);
1882 /* -----------------------------------------------------------------------------
1883 * pointers/data manipulation
1884 * ----------------------------------------------------------------------------- */
1886 SWIGRUNTIMEINLINE PyObject
*
1889 return PyString_FromString("this");
1892 SWIGRUNTIME PyObject
*
1895 static PyObject
*SWIG_STATIC_POINTER(swig_this
) = _SWIG_This();
1899 /* #define SWIG_PYTHON_SLOW_GETSET_THIS */
1901 SWIGRUNTIME PySwigObject
*
1902 SWIG_Python_GetSwigThis(PyObject
*pyobj
)
1904 if (PySwigObject_Check(pyobj
)) {
1905 return (PySwigObject
*) pyobj
;
1908 #if (!defined(SWIG_PYTHON_SLOW_GETSET_THIS) && (PY_VERSION_HEX >= 0x02030000))
1909 if (PyInstance_Check(pyobj
)) {
1910 obj
= _PyInstance_Lookup(pyobj
, SWIG_This());
1912 PyObject
**dictptr
= _PyObject_GetDictPtr(pyobj
);
1913 if (dictptr
!= NULL
) {
1914 PyObject
*dict
= *dictptr
;
1915 obj
= dict
? PyDict_GetItem(dict
, SWIG_This()) : 0;
1917 #ifdef PyWeakref_CheckProxy
1918 if (PyWeakref_CheckProxy(pyobj
)) {
1919 PyObject
*wobj
= PyWeakref_GET_OBJECT(pyobj
);
1920 return wobj
? SWIG_Python_GetSwigThis(wobj
) : 0;
1923 obj
= PyObject_GetAttr(pyobj
,SWIG_This());
1927 if (PyErr_Occurred()) PyErr_Clear();
1933 obj
= PyObject_GetAttr(pyobj
,SWIG_This());
1937 if (PyErr_Occurred()) PyErr_Clear();
1941 if (obj
&& !PySwigObject_Check(obj
)) {
1942 /* a PyObject is called 'this', try to get the 'real this'
1943 PySwigObject from it */
1944 return SWIG_Python_GetSwigThis(obj
);
1946 return (PySwigObject
*)obj
;
1950 /* Acquire a pointer value */
1953 SWIG_Python_AcquirePtr(PyObject
*obj
, int own
) {
1955 PySwigObject
*sobj
= SWIG_Python_GetSwigThis(obj
);
1957 int oldown
= sobj
->own
;
1965 /* Convert a pointer value */
1968 SWIG_Python_ConvertPtrAndOwn(PyObject
*obj
, void **ptr
, swig_type_info
*ty
, int flags
, int *own
) {
1969 if (!obj
) return SWIG_ERROR
;
1970 if (obj
== Py_None
) {
1974 PySwigObject
*sobj
= SWIG_Python_GetSwigThis(obj
);
1976 void *vptr
= sobj
->ptr
;
1978 swig_type_info
*to
= sobj
->ty
;
1980 /* no type cast needed */
1981 if (ptr
) *ptr
= vptr
;
1984 swig_cast_info
*tc
= SWIG_TypeCheck(to
->name
,ty
);
1986 sobj
= (PySwigObject
*)sobj
->next
;
1988 if (ptr
) *ptr
= SWIG_TypeCast(tc
,vptr
);
1993 if (ptr
) *ptr
= vptr
;
1998 if (own
) *own
= sobj
->own
;
1999 if (flags
& SWIG_POINTER_DISOWN
) {
2004 int res
= SWIG_ERROR
;
2005 if (flags
& SWIG_POINTER_IMPLICIT_CONV
) {
2006 PySwigClientData
*data
= ty
? (PySwigClientData
*) ty
->clientdata
: 0;
2007 if (data
&& !data
->implicitconv
) {
2008 PyObject
*klass
= data
->klass
;
2011 data
->implicitconv
= 1; /* avoid recursion and call 'explicit' constructors*/
2012 impconv
= SWIG_Python_CallFunctor(klass
, obj
);
2013 data
->implicitconv
= 0;
2014 if (PyErr_Occurred()) {
2019 PySwigObject
*iobj
= SWIG_Python_GetSwigThis(impconv
);
2022 res
= SWIG_Python_ConvertPtrAndOwn((PyObject
*)iobj
, &vptr
, ty
, 0, 0);
2023 if (SWIG_IsOK(res
)) {
2026 /* transfer the ownership to 'ptr' */
2028 res
= SWIG_AddCast(res
);
2029 res
= SWIG_AddNewMask(res
);
2031 res
= SWIG_AddCast(res
);
2045 /* Convert a function ptr value */
2048 SWIG_Python_ConvertFunctionPtr(PyObject
*obj
, void **ptr
, swig_type_info
*ty
) {
2049 if (!PyCFunction_Check(obj
)) {
2050 return SWIG_ConvertPtr(obj
, ptr
, ty
, 0);
2054 /* here we get the method pointer for callbacks */
2055 const char *doc
= (((PyCFunctionObject
*)obj
) -> m_ml
-> ml_doc
);
2056 const char *desc
= doc
? strstr(doc
, "swig_ptr: ") : 0;
2058 desc
= ty
? SWIG_UnpackVoidPtr(desc
+ 10, &vptr
, ty
->name
) : 0;
2059 if (!desc
) return SWIG_ERROR
;
2062 swig_cast_info
*tc
= SWIG_TypeCheck(desc
,ty
);
2063 if (!tc
) return SWIG_ERROR
;
2064 *ptr
= SWIG_TypeCast(tc
,vptr
);
2072 /* Convert a packed value value */
2075 SWIG_Python_ConvertPacked(PyObject
*obj
, void *ptr
, size_t sz
, swig_type_info
*ty
) {
2076 swig_type_info
*to
= PySwigPacked_UnpackData(obj
, ptr
, sz
);
2077 if (!to
) return SWIG_ERROR
;
2080 /* check type cast? */
2081 swig_cast_info
*tc
= SWIG_TypeCheck(to
->name
,ty
);
2082 if (!tc
) return SWIG_ERROR
;
2088 /* -----------------------------------------------------------------------------
2089 * Create a new pointer object
2090 * ----------------------------------------------------------------------------- */
2093 Create a new instance object, whitout calling __init__, and set the
2097 SWIGRUNTIME PyObject
*
2098 SWIG_Python_NewShadowInstance(PySwigClientData
*data
, PyObject
*swig_this
)
2100 #if (PY_VERSION_HEX >= 0x02020000)
2102 PyObject
*newraw
= data
->newraw
;
2104 inst
= PyObject_Call(newraw
, data
->newargs
, NULL
);
2106 #if !defined(SWIG_PYTHON_SLOW_GETSET_THIS)
2107 PyObject
**dictptr
= _PyObject_GetDictPtr(inst
);
2108 if (dictptr
!= NULL
) {
2109 PyObject
*dict
= *dictptr
;
2111 dict
= PyDict_New();
2113 PyDict_SetItem(dict
, SWIG_This(), swig_this
);
2117 PyObject
*key
= SWIG_This();
2118 PyObject_SetAttr(inst
, key
, swig_this
);
2122 PyObject
*dict
= PyDict_New();
2123 PyDict_SetItem(dict
, SWIG_This(), swig_this
);
2124 inst
= PyInstance_NewRaw(data
->newargs
, dict
);
2129 #if (PY_VERSION_HEX >= 0x02010000)
2131 PyObject
*dict
= PyDict_New();
2132 PyDict_SetItem(dict
, SWIG_This(), swig_this
);
2133 inst
= PyInstance_NewRaw(data
->newargs
, dict
);
2135 return (PyObject
*) inst
;
2137 PyInstanceObject
*inst
= PyObject_NEW(PyInstanceObject
, &PyInstance_Type
);
2141 inst
->in_class
= (PyClassObject
*)data
->newargs
;
2142 Py_INCREF(inst
->in_class
);
2143 inst
->in_dict
= PyDict_New();
2144 if (inst
->in_dict
== NULL
) {
2148 #ifdef Py_TPFLAGS_HAVE_WEAKREFS
2149 inst
->in_weakreflist
= NULL
;
2151 #ifdef Py_TPFLAGS_GC
2152 PyObject_GC_Init(inst
);
2154 PyDict_SetItem(inst
->in_dict
, SWIG_This(), swig_this
);
2155 return (PyObject
*) inst
;
2161 SWIG_Python_SetSwigThis(PyObject
*inst
, PyObject
*swig_this
)
2164 #if (PY_VERSION_HEX >= 0x02020000) && !defined(SWIG_PYTHON_SLOW_GETSET_THIS)
2165 PyObject
**dictptr
= _PyObject_GetDictPtr(inst
);
2166 if (dictptr
!= NULL
) {
2169 dict
= PyDict_New();
2172 PyDict_SetItem(dict
, SWIG_This(), swig_this
);
2176 dict
= PyObject_GetAttrString(inst
, "__dict__");
2177 PyDict_SetItem(dict
, SWIG_This(), swig_this
);
2182 SWIGINTERN PyObject
*
2183 SWIG_Python_InitShadowInstance(PyObject
*args
) {
2185 if (!SWIG_Python_UnpackTuple(args
,(char*)"swiginit", 2, 2, obj
)) {
2188 PySwigObject
*sthis
= SWIG_Python_GetSwigThis(obj
[0]);
2190 PySwigObject_append((PyObject
*) sthis
, obj
[1]);
2192 SWIG_Python_SetSwigThis(obj
[0], obj
[1]);
2194 return SWIG_Py_Void();
2198 /* Create a new pointer object */
2200 SWIGRUNTIME PyObject
*
2201 SWIG_Python_NewPointerObj(void *ptr
, swig_type_info
*type
, int flags
) {
2203 return SWIG_Py_Void();
2205 int own
= (flags
& SWIG_POINTER_OWN
) ? SWIG_POINTER_OWN
: 0;
2206 PyObject
*robj
= PySwigObject_New(ptr
, type
, own
);
2207 PySwigClientData
*clientdata
= type
? (PySwigClientData
*)(type
->clientdata
) : 0;
2208 if (clientdata
&& !(flags
& SWIG_POINTER_NOSHADOW
)) {
2209 PyObject
*inst
= SWIG_Python_NewShadowInstance(clientdata
, robj
);
2219 /* Create a new packed object */
2221 SWIGRUNTIMEINLINE PyObject
*
2222 SWIG_Python_NewPackedObj(void *ptr
, size_t sz
, swig_type_info
*type
) {
2223 return ptr
? PySwigPacked_New((void *) ptr
, sz
, type
) : SWIG_Py_Void();
2226 /* -----------------------------------------------------------------------------*
2228 * -----------------------------------------------------------------------------*/
2230 #ifdef SWIG_LINK_RUNTIME
2231 void *SWIG_ReturnGlobalTypeList(void *);
2234 SWIGRUNTIME swig_module_info
*
2235 SWIG_Python_GetModule(void) {
2236 static void *type_pointer
= (void *)0;
2237 /* first check if module already created */
2238 if (!type_pointer
) {
2239 #ifdef SWIG_LINK_RUNTIME
2240 type_pointer
= SWIG_ReturnGlobalTypeList((void *)0);
2242 type_pointer
= PyCObject_Import((char*)"swig_runtime_data" SWIG_RUNTIME_VERSION
,
2243 (char*)"type_pointer" SWIG_TYPE_TABLE_NAME
);
2244 if (PyErr_Occurred()) {
2246 type_pointer
= (void *)0;
2250 return (swig_module_info
*) type_pointer
;
2253 #if PY_MAJOR_VERSION < 2
2254 /* PyModule_AddObject function was introduced in Python 2.0. The following function
2255 is copied out of Python/modsupport.c in python version 2.3.4 */
2257 PyModule_AddObject(PyObject
*m
, char *name
, PyObject
*o
)
2260 if (!PyModule_Check(m
)) {
2261 PyErr_SetString(PyExc_TypeError
,
2262 "PyModule_AddObject() needs module as first arg");
2266 PyErr_SetString(PyExc_TypeError
,
2267 "PyModule_AddObject() needs non-NULL value");
2271 dict
= PyModule_GetDict(m
);
2273 /* Internal error -- modules must have a dict! */
2274 PyErr_Format(PyExc_SystemError
, "module '%s' has no __dict__",
2275 PyModule_GetName(m
));
2278 if (PyDict_SetItemString(dict
, name
, o
))
2286 SWIG_Python_DestroyModule(void *vptr
)
2288 swig_module_info
*swig_module
= (swig_module_info
*) vptr
;
2289 swig_type_info
**types
= swig_module
->types
;
2291 for (i
=0; i
< swig_module
->size
; ++i
) {
2292 swig_type_info
*ty
= types
[i
];
2294 PySwigClientData
*data
= (PySwigClientData
*) ty
->clientdata
;
2295 if (data
) PySwigClientData_Del(data
);
2298 Py_DECREF(SWIG_This());
2302 SWIG_Python_SetModule(swig_module_info
*swig_module
) {
2303 static PyMethodDef swig_empty_runtime_method_table
[] = { {NULL
, NULL
, 0, NULL
} };/* Sentinel */
2305 PyObject
*module = Py_InitModule((char*)"swig_runtime_data" SWIG_RUNTIME_VERSION
,
2306 swig_empty_runtime_method_table
);
2307 PyObject
*pointer
= PyCObject_FromVoidPtr((void *) swig_module
, SWIG_Python_DestroyModule
);
2308 if (pointer
&& module) {
2309 PyModule_AddObject(module, (char*)"type_pointer" SWIG_TYPE_TABLE_NAME
, pointer
);
2311 Py_XDECREF(pointer
);
2315 /* The python cached type query */
2316 SWIGRUNTIME PyObject
*
2317 SWIG_Python_TypeCache() {
2318 static PyObject
*SWIG_STATIC_POINTER(cache
) = PyDict_New();
2322 SWIGRUNTIME swig_type_info
*
2323 SWIG_Python_TypeQuery(const char *type
)
2325 PyObject
*cache
= SWIG_Python_TypeCache();
2326 PyObject
*key
= PyString_FromString(type
);
2327 PyObject
*obj
= PyDict_GetItem(cache
, key
);
2328 swig_type_info
*descriptor
;
2330 descriptor
= (swig_type_info
*) PyCObject_AsVoidPtr(obj
);
2332 swig_module_info
*swig_module
= SWIG_Python_GetModule();
2333 descriptor
= SWIG_TypeQueryModule(swig_module
, swig_module
, type
);
2335 obj
= PyCObject_FromVoidPtr(descriptor
, NULL
);
2336 PyDict_SetItem(cache
, key
, obj
);
2345 For backward compatibility only
2347 #define SWIG_POINTER_EXCEPTION 0
2348 #define SWIG_arg_fail(arg) SWIG_Python_ArgFail(arg)
2349 #define SWIG_MustGetPtr(p, type, argnum, flags) SWIG_Python_MustGetPtr(p, type, argnum, flags)
2352 SWIG_Python_AddErrMesg(const char* mesg
, int infront
)
2354 if (PyErr_Occurred()) {
2356 PyObject
*value
= 0;
2357 PyObject
*traceback
= 0;
2358 PyErr_Fetch(&type
, &value
, &traceback
);
2360 PyObject
*old_str
= PyObject_Str(value
);
2364 PyErr_Format(type
, "%s %s", mesg
, PyString_AsString(old_str
));
2366 PyErr_Format(type
, "%s %s", PyString_AsString(old_str
), mesg
);
2377 SWIG_Python_ArgFail(int argnum
)
2379 if (PyErr_Occurred()) {
2380 /* add information about failing argument */
2382 PyOS_snprintf(mesg
, sizeof(mesg
), "argument number %d:", argnum
);
2383 return SWIG_Python_AddErrMesg(mesg
, 1);
2389 SWIGRUNTIMEINLINE
const char *
2390 PySwigObject_GetDesc(PyObject
*self
)
2392 PySwigObject
*v
= (PySwigObject
*)self
;
2393 swig_type_info
*ty
= v
? v
->ty
: 0;
2394 return ty
? ty
->str
: (char*)"";
2398 SWIG_Python_TypeError(const char *type
, PyObject
*obj
)
2401 #if defined(SWIG_COBJECT_TYPES)
2402 if (obj
&& PySwigObject_Check(obj
)) {
2403 const char *otype
= (const char *) PySwigObject_GetDesc(obj
);
2405 PyErr_Format(PyExc_TypeError
, "a '%s' is expected, 'PySwigObject(%s)' is received",
2412 const char *otype
= (obj
? obj
->ob_type
->tp_name
: 0);
2414 PyObject
*str
= PyObject_Str(obj
);
2415 const char *cstr
= str
? PyString_AsString(str
) : 0;
2417 PyErr_Format(PyExc_TypeError
, "a '%s' is expected, '%s(%s)' is received",
2420 PyErr_Format(PyExc_TypeError
, "a '%s' is expected, '%s' is received",
2427 PyErr_Format(PyExc_TypeError
, "a '%s' is expected", type
);
2429 PyErr_Format(PyExc_TypeError
, "unexpected type is received");
2434 /* Convert a pointer value, signal an exception on a type mismatch */
2436 SWIG_Python_MustGetPtr(PyObject
*obj
, swig_type_info
*ty
, int argnum
, int flags
) {
2438 if (SWIG_Python_ConvertPtr(obj
, &result
, ty
, flags
) == -1) {
2440 if (flags
& SWIG_POINTER_EXCEPTION
) {
2441 SWIG_Python_TypeError(SWIG_TypePrettyName(ty
), obj
);
2442 SWIG_Python_ArgFail(argnum
);
2458 #define SWIG_exception_fail(code, msg) do { SWIG_Error(code, msg); SWIG_fail; } while(0)
2460 #define SWIG_contract_assert(expr, msg) if (!(expr)) { SWIG_Error(SWIG_RuntimeError, msg); SWIG_fail; } else
2464 /* -------- TYPES TABLE (BEGIN) -------- */
2466 #define SWIGTYPE_p_bool swig_types[0]
2467 #define SWIGTYPE_p_char swig_types[1]
2468 #define SWIGTYPE_p_form_ops_t swig_types[2]
2469 #define SWIGTYPE_p_int swig_types[3]
2470 #define SWIGTYPE_p_unsigned_char swig_types[4]
2471 #define SWIGTYPE_p_unsigned_int swig_types[5]
2472 #define SWIGTYPE_p_unsigned_long swig_types[6]
2473 #define SWIGTYPE_p_wxANIHandler swig_types[7]
2474 #define SWIGTYPE_p_wxAcceleratorTable swig_types[8]
2475 #define SWIGTYPE_p_wxActivateEvent swig_types[9]
2476 #define SWIGTYPE_p_wxArrayInt swig_types[10]
2477 #define SWIGTYPE_p_wxBMPHandler swig_types[11]
2478 #define SWIGTYPE_p_wxBitmap swig_types[12]
2479 #define SWIGTYPE_p_wxBoxSizer swig_types[13]
2480 #define SWIGTYPE_p_wxCURHandler swig_types[14]
2481 #define SWIGTYPE_p_wxCalculateLayoutEvent swig_types[15]
2482 #define SWIGTYPE_p_wxChildFocusEvent swig_types[16]
2483 #define SWIGTYPE_p_wxClipboardTextEvent swig_types[17]
2484 #define SWIGTYPE_p_wxCloseEvent swig_types[18]
2485 #define SWIGTYPE_p_wxColour swig_types[19]
2486 #define SWIGTYPE_p_wxColourData swig_types[20]
2487 #define SWIGTYPE_p_wxColourDialog swig_types[21]
2488 #define SWIGTYPE_p_wxCommandEvent swig_types[22]
2489 #define SWIGTYPE_p_wxContextMenuEvent swig_types[23]
2490 #define SWIGTYPE_p_wxControl swig_types[24]
2491 #define SWIGTYPE_p_wxControlWithItems swig_types[25]
2492 #define SWIGTYPE_p_wxDC swig_types[26]
2493 #define SWIGTYPE_p_wxDateEvent swig_types[27]
2494 #define SWIGTYPE_p_wxDialog swig_types[28]
2495 #define SWIGTYPE_p_wxDirDialog swig_types[29]
2496 #define SWIGTYPE_p_wxDisplayChangedEvent swig_types[30]
2497 #define SWIGTYPE_p_wxDropFilesEvent swig_types[31]
2498 #define SWIGTYPE_p_wxDuplexMode swig_types[32]
2499 #define SWIGTYPE_p_wxEraseEvent swig_types[33]
2500 #define SWIGTYPE_p_wxEvent swig_types[34]
2501 #define SWIGTYPE_p_wxEvtHandler swig_types[35]
2502 #define SWIGTYPE_p_wxFSFile swig_types[36]
2503 #define SWIGTYPE_p_wxFileDialog swig_types[37]
2504 #define SWIGTYPE_p_wxFileSystem swig_types[38]
2505 #define SWIGTYPE_p_wxFindDialogEvent swig_types[39]
2506 #define SWIGTYPE_p_wxFindReplaceData swig_types[40]
2507 #define SWIGTYPE_p_wxFindReplaceDialog swig_types[41]
2508 #define SWIGTYPE_p_wxFlexGridSizer swig_types[42]
2509 #define SWIGTYPE_p_wxFocusEvent swig_types[43]
2510 #define SWIGTYPE_p_wxFont swig_types[44]
2511 #define SWIGTYPE_p_wxFontData swig_types[45]
2512 #define SWIGTYPE_p_wxFontDialog swig_types[46]
2513 #define SWIGTYPE_p_wxFrame swig_types[47]
2514 #define SWIGTYPE_p_wxGBSizerItem swig_types[48]
2515 #define SWIGTYPE_p_wxGIFHandler swig_types[49]
2516 #define SWIGTYPE_p_wxGridBagSizer swig_types[50]
2517 #define SWIGTYPE_p_wxGridSizer swig_types[51]
2518 #define SWIGTYPE_p_wxHtmlLinkInfo swig_types[52]
2519 #define SWIGTYPE_p_wxICOHandler swig_types[53]
2520 #define SWIGTYPE_p_wxIcon swig_types[54]
2521 #define SWIGTYPE_p_wxIconBundle swig_types[55]
2522 #define SWIGTYPE_p_wxIconizeEvent swig_types[56]
2523 #define SWIGTYPE_p_wxIdleEvent swig_types[57]
2524 #define SWIGTYPE_p_wxImage swig_types[58]
2525 #define SWIGTYPE_p_wxImageHandler swig_types[59]
2526 #define SWIGTYPE_p_wxIndividualLayoutConstraint swig_types[60]
2527 #define SWIGTYPE_p_wxInitDialogEvent swig_types[61]
2528 #define SWIGTYPE_p_wxJPEGHandler swig_types[62]
2529 #define SWIGTYPE_p_wxKeyEvent swig_types[63]
2530 #define SWIGTYPE_p_wxLayoutAlgorithm swig_types[64]
2531 #define SWIGTYPE_p_wxLayoutConstraints swig_types[65]
2532 #define SWIGTYPE_p_wxMDIChildFrame swig_types[66]
2533 #define SWIGTYPE_p_wxMDIClientWindow swig_types[67]
2534 #define SWIGTYPE_p_wxMDIParentFrame swig_types[68]
2535 #define SWIGTYPE_p_wxMaximizeEvent swig_types[69]
2536 #define SWIGTYPE_p_wxMenu swig_types[70]
2537 #define SWIGTYPE_p_wxMenuBar swig_types[71]
2538 #define SWIGTYPE_p_wxMenuEvent swig_types[72]
2539 #define SWIGTYPE_p_wxMenuItem swig_types[73]
2540 #define SWIGTYPE_p_wxMessageDialog swig_types[74]
2541 #define SWIGTYPE_p_wxMiniFrame swig_types[75]
2542 #define SWIGTYPE_p_wxMouseCaptureChangedEvent swig_types[76]
2543 #define SWIGTYPE_p_wxMouseCaptureLostEvent swig_types[77]
2544 #define SWIGTYPE_p_wxMouseEvent swig_types[78]
2545 #define SWIGTYPE_p_wxMoveEvent swig_types[79]
2546 #define SWIGTYPE_p_wxMultiChoiceDialog swig_types[80]
2547 #define SWIGTYPE_p_wxNavigationKeyEvent swig_types[81]
2548 #define SWIGTYPE_p_wxNcPaintEvent swig_types[82]
2549 #define SWIGTYPE_p_wxNotifyEvent swig_types[83]
2550 #define SWIGTYPE_p_wxNumberEntryDialog swig_types[84]
2551 #define SWIGTYPE_p_wxObject swig_types[85]
2552 #define SWIGTYPE_p_wxPCXHandler swig_types[86]
2553 #define SWIGTYPE_p_wxPNGHandler swig_types[87]
2554 #define SWIGTYPE_p_wxPNMHandler swig_types[88]
2555 #define SWIGTYPE_p_wxPageSetupDialog swig_types[89]
2556 #define SWIGTYPE_p_wxPageSetupDialogData swig_types[90]
2557 #define SWIGTYPE_p_wxPaintEvent swig_types[91]
2558 #define SWIGTYPE_p_wxPaletteChangedEvent swig_types[92]
2559 #define SWIGTYPE_p_wxPanel swig_types[93]
2560 #define SWIGTYPE_p_wxPaperSize swig_types[94]
2561 #define SWIGTYPE_p_wxPasswordEntryDialog swig_types[95]
2562 #define SWIGTYPE_p_wxPoint swig_types[96]
2563 #define SWIGTYPE_p_wxPopupWindow swig_types[97]
2564 #define SWIGTYPE_p_wxPreviewCanvas swig_types[98]
2565 #define SWIGTYPE_p_wxPreviewControlBar swig_types[99]
2566 #define SWIGTYPE_p_wxPreviewFrame swig_types[100]
2567 #define SWIGTYPE_p_wxPrintData swig_types[101]
2568 #define SWIGTYPE_p_wxPrintDialog swig_types[102]
2569 #define SWIGTYPE_p_wxPrintDialogData swig_types[103]
2570 #define SWIGTYPE_p_wxPrintPreview swig_types[104]
2571 #define SWIGTYPE_p_wxPrinter swig_types[105]
2572 #define SWIGTYPE_p_wxProgressDialog swig_types[106]
2573 #define SWIGTYPE_p_wxPyApp swig_types[107]
2574 #define SWIGTYPE_p_wxPyCommandEvent swig_types[108]
2575 #define SWIGTYPE_p_wxPyEvent swig_types[109]
2576 #define SWIGTYPE_p_wxPyHtmlListBox swig_types[110]
2577 #define SWIGTYPE_p_wxPyImageHandler swig_types[111]
2578 #define SWIGTYPE_p_wxPyPanel swig_types[112]
2579 #define SWIGTYPE_p_wxPyPopupTransientWindow swig_types[113]
2580 #define SWIGTYPE_p_wxPyPreviewControlBar swig_types[114]
2581 #define SWIGTYPE_p_wxPyPreviewFrame swig_types[115]
2582 #define SWIGTYPE_p_wxPyPrintPreview swig_types[116]
2583 #define SWIGTYPE_p_wxPyPrintout swig_types[117]
2584 #define SWIGTYPE_p_wxPyScrolledWindow swig_types[118]
2585 #define SWIGTYPE_p_wxPySizer swig_types[119]
2586 #define SWIGTYPE_p_wxPyTaskBarIcon swig_types[120]
2587 #define SWIGTYPE_p_wxPyVListBox swig_types[121]
2588 #define SWIGTYPE_p_wxPyVScrolledWindow swig_types[122]
2589 #define SWIGTYPE_p_wxPyValidator swig_types[123]
2590 #define SWIGTYPE_p_wxPyWindow swig_types[124]
2591 #define SWIGTYPE_p_wxQueryLayoutInfoEvent swig_types[125]
2592 #define SWIGTYPE_p_wxQueryNewPaletteEvent swig_types[126]
2593 #define SWIGTYPE_p_wxRect swig_types[127]
2594 #define SWIGTYPE_p_wxRegion swig_types[128]
2595 #define SWIGTYPE_p_wxSashEvent swig_types[129]
2596 #define SWIGTYPE_p_wxSashLayoutWindow swig_types[130]
2597 #define SWIGTYPE_p_wxSashWindow swig_types[131]
2598 #define SWIGTYPE_p_wxScrollEvent swig_types[132]
2599 #define SWIGTYPE_p_wxScrollWinEvent swig_types[133]
2600 #define SWIGTYPE_p_wxScrolledWindow swig_types[134]
2601 #define SWIGTYPE_p_wxSetCursorEvent swig_types[135]
2602 #define SWIGTYPE_p_wxShowEvent swig_types[136]
2603 #define SWIGTYPE_p_wxSingleChoiceDialog swig_types[137]
2604 #define SWIGTYPE_p_wxSize swig_types[138]
2605 #define SWIGTYPE_p_wxSizeEvent swig_types[139]
2606 #define SWIGTYPE_p_wxSizer swig_types[140]
2607 #define SWIGTYPE_p_wxSizerItem swig_types[141]
2608 #define SWIGTYPE_p_wxSplashScreen swig_types[142]
2609 #define SWIGTYPE_p_wxSplashScreenWindow swig_types[143]
2610 #define SWIGTYPE_p_wxSplitterEvent swig_types[144]
2611 #define SWIGTYPE_p_wxSplitterWindow swig_types[145]
2612 #define SWIGTYPE_p_wxStaticBoxSizer swig_types[146]
2613 #define SWIGTYPE_p_wxStatusBar swig_types[147]
2614 #define SWIGTYPE_p_wxStdDialogButtonSizer swig_types[148]
2615 #define SWIGTYPE_p_wxString swig_types[149]
2616 #define SWIGTYPE_p_wxSysColourChangedEvent swig_types[150]
2617 #define SWIGTYPE_p_wxTGAHandler swig_types[151]
2618 #define SWIGTYPE_p_wxTIFFHandler swig_types[152]
2619 #define SWIGTYPE_p_wxTaskBarIcon swig_types[153]
2620 #define SWIGTYPE_p_wxTaskBarIconEvent swig_types[154]
2621 #define SWIGTYPE_p_wxTextEntryDialog swig_types[155]
2622 #define SWIGTYPE_p_wxTipWindow swig_types[156]
2623 #define SWIGTYPE_p_wxToolBar swig_types[157]
2624 #define SWIGTYPE_p_wxTopLevelWindow swig_types[158]
2625 #define SWIGTYPE_p_wxUpdateUIEvent swig_types[159]
2626 #define SWIGTYPE_p_wxValidator swig_types[160]
2627 #define SWIGTYPE_p_wxVisualAttributes swig_types[161]
2628 #define SWIGTYPE_p_wxWindow swig_types[162]
2629 #define SWIGTYPE_p_wxWindowCreateEvent swig_types[163]
2630 #define SWIGTYPE_p_wxWindowDestroyEvent swig_types[164]
2631 #define SWIGTYPE_p_wxXPMHandler swig_types[165]
2632 static swig_type_info
*swig_types
[167];
2633 static swig_module_info swig_module
= {swig_types
, 166, 0, 0, 0, 0};
2634 #define SWIG_TypeQuery(name) SWIG_TypeQueryModule(&swig_module, &swig_module, name)
2635 #define SWIG_MangledTypeQuery(name) SWIG_MangledTypeQueryModule(&swig_module, &swig_module, name)
2637 /* -------- TYPES TABLE (END) -------- */
2639 #if (PY_VERSION_HEX <= 0x02000000)
2640 # if !defined(SWIG_PYTHON_CLASSIC)
2641 # error "This python version requires to use swig with the '-classic' option"
2644 #if (PY_VERSION_HEX <= 0x02020000)
2645 # error "This python version requires to use swig with the '-nomodern' option"
2647 #if (PY_VERSION_HEX <= 0x02020000)
2648 # error "This python version requires to use swig with the '-nomodernargs' option"
2651 # error "This python version requires to use swig with the '-nofastunpack' option"
2654 /*-----------------------------------------------
2655 @(target):= _windows_.so
2656 ------------------------------------------------*/
2657 #define SWIG_init init_windows_
2659 #define SWIG_name "_windows_"
2661 #define SWIGVERSION 0x010329
2664 #define SWIG_as_voidptr(a) const_cast< void * >(static_cast< const void * >(a))
2665 #define SWIG_as_voidptrptr(a) ((void)SWIG_as_voidptr(*a),reinterpret_cast< void** >(a))
2668 #include <stdexcept>
2672 class PyObject_ptr
{
2677 PyObject_ptr() :_obj(0)
2681 PyObject_ptr(const PyObject_ptr
& item
) : _obj(item
._obj
)
2686 PyObject_ptr(PyObject
*obj
, bool initial_ref
= true) :_obj(obj
)
2688 if (initial_ref
) Py_XINCREF(_obj
);
2691 PyObject_ptr
& operator=(const PyObject_ptr
& item
)
2693 Py_XINCREF(item
._obj
);
2704 operator PyObject
*() const
2709 PyObject
*operator->() const
2718 struct PyObject_var
: PyObject_ptr
{
2719 PyObject_var(PyObject
* obj
= 0) : PyObject_ptr(obj
, false) { }
2721 PyObject_var
& operator = (PyObject
* obj
)
2731 #include "wx/wxPython/wxPython.h"
2732 #include "wx/wxPython/pyclasses.h"
2735 static const wxString
wxPyEmptyString(wxEmptyString
);
2736 static const wxString
wxPyPanelNameStr(wxPanelNameStr
);
2742 # define LLONG_MIN LONG_LONG_MIN
2745 # define LLONG_MAX LONG_LONG_MAX
2748 # define ULLONG_MAX ULONG_LONG_MAX
2753 SWIG_AsVal_long (PyObject
* obj
, long* val
)
2755 if (PyNumber_Check(obj
)) {
2756 if (val
) *val
= PyInt_AsLong(obj
);
2759 return SWIG_TypeError
;
2764 SWIG_AsVal_int (PyObject
* obj
, int *val
)
2767 int res
= SWIG_AsVal_long (obj
, &v
);
2768 if (SWIG_IsOK(res
)) {
2769 if ((v
< INT_MIN
|| v
> INT_MAX
)) {
2770 return SWIG_OverflowError
;
2772 if (val
) *val
= static_cast< int >(v
);
2780 SWIG_AsVal_bool (PyObject
*obj
, bool *val
)
2782 if (obj
== Py_True
) {
2783 if (val
) *val
= true;
2785 } else if (obj
== Py_False
) {
2786 if (val
) *val
= false;
2790 int res
= SWIG_AddCast(SWIG_AsVal_long (obj
, val
? &v
: 0));
2791 if (SWIG_IsOK(res
) && val
) *val
= v
? true : false;
2797 #define SWIG_From_long PyInt_FromLong
2800 SWIGINTERNINLINE PyObject
*
2801 SWIG_From_int (int value
)
2803 return SWIG_From_long (value
);
2808 SWIG_AsVal_double (PyObject
*obj
, double* val
)
2810 if (PyNumber_Check(obj
)) {
2811 if (val
) *val
= PyFloat_AsDouble(obj
);
2814 return SWIG_TypeError
;
2818 #define SWIG_From_double PyFloat_FromDouble
2820 static const wxString
wxPyFrameNameStr(wxFrameNameStr
);
2821 static const wxString
wxPyDialogNameStr(wxDialogNameStr
);
2822 static const wxString
wxPyStatusLineNameStr(wxStatusLineNameStr
);
2823 static const wxString
wxPyToolBarNameStr(wxToolBarNameStr
);
2824 SWIGINTERN
void wxTopLevelWindow_MacSetMetalAppearance(wxTopLevelWindow
*self
,bool on
){ /*wxPyRaiseNotImplemented();*/ }
2825 SWIGINTERN
bool wxTopLevelWindow_MacGetMetalAppearance(wxTopLevelWindow
const *self
){ /*wxPyRaiseNotImplemented();*/ return false; }
2827 #define wxDEFAULT_MINIFRAME_STYLE wxCAPTION | wxRESIZE_BORDER | wxTINY_CAPTION_HORIZ
2831 SWIGINTERN wxRect
wxStatusBar_GetFieldRect(wxStatusBar
*self
,int i
){
2833 self
->GetFieldRect(i
, r
);
2836 static const wxString
wxPySplitterNameStr(wxT("splitter"));
2837 static const wxString
wxPySashNameStr(wxT("sashWindow"));
2838 static const wxString
wxPySashLayoutNameStr(wxT("layoutWindow"));
2840 #include <wx/popupwin.h>
2843 class wxPyPopupTransientWindow
: public wxPopupTransientWindow
2846 wxPyPopupTransientWindow() : wxPopupTransientWindow() {}
2847 wxPyPopupTransientWindow(wxWindow
* parent
, int style
= wxBORDER_NONE
)
2848 : wxPopupTransientWindow(parent
, style
) {}
2850 DEC_PYCALLBACK_BOOL_ME(ProcessLeftDown
);
2851 DEC_PYCALLBACK__(OnDismiss
);
2852 DEC_PYCALLBACK_BOOL_(CanDismiss
);
2857 IMP_PYCALLBACK_BOOL_ME(wxPyPopupTransientWindow
, wxPopupTransientWindow
, ProcessLeftDown
);
2858 IMP_PYCALLBACK__(wxPyPopupTransientWindow
, wxPopupTransientWindow
, OnDismiss
);
2859 IMP_PYCALLBACK_BOOL_(wxPyPopupTransientWindow
, wxPopupTransientWindow
, CanDismiss
);
2862 #include <wx/tipwin.h>
2864 SWIGINTERN wxTipWindow
*new_wxTipWindow(wxWindow
*parent
,wxString
const &text
,int maxLength
=100,wxRect
*rectBound
=NULL
){
2865 return new wxTipWindow(parent
, text
, maxLength
, NULL
, rectBound
);
2868 #include <wx/tipwin.h>
2871 #include <wx/vscroll.h>
2874 class wxPyVScrolledWindow
: public wxVScrolledWindow
2876 DECLARE_ABSTRACT_CLASS(wxPyVScrolledWindow
)
2878 wxPyVScrolledWindow() : wxVScrolledWindow() {}
2880 wxPyVScrolledWindow(wxWindow
*parent
,
2881 wxWindowID id
= wxID_ANY
,
2882 const wxPoint
& pos
= wxDefaultPosition
,
2883 const wxSize
& size
= wxDefaultSize
,
2885 const wxString
& name
= wxPyPanelNameStr
)
2886 : wxVScrolledWindow(parent
, id
, pos
, size
, style
, name
)
2889 // Overridable virtuals
2891 // this function must be overridden in the derived class and it should
2892 // return the height of the given line in pixels
2893 DEC_PYCALLBACK_COORD_SIZET_constpure(OnGetLineHeight
);
2896 // this function doesn't have to be overridden but it may be useful to do
2897 // it if calculating the lines heights is a relatively expensive operation
2898 // as it gives the user code a possibility to calculate several of them at
2901 // OnGetLinesHint() is normally called just before OnGetLineHeight() but you
2902 // shouldn't rely on the latter being called for all lines in the interval
2903 // specified here. It is also possible that OnGetLineHeight() will be
2904 // called for the lines outside of this interval, so this is really just a
2905 // hint, not a promise.
2907 // finally note that lineMin is inclusive, while lineMax is exclusive, as
2909 DEC_PYCALLBACK_VOID_SIZETSIZET_const(OnGetLinesHint
);
2912 // when the number of lines changes, we try to estimate the total height
2913 // of all lines which is a rather expensive operation in terms of lines
2914 // access, so if the user code may estimate the average height
2915 // better/faster than we do, it should override this function to implement
2918 // this function should return the best guess for the total height it may
2920 DEC_PYCALLBACK_COORD_const(EstimateTotalHeight
);
2923 // Also expose some other interesting protected methods
2926 // find the index of the line we need to show at the top of the window such
2927 // that the last (fully or partially) visible line is the given one
2928 size_t FindFirstFromBottom(size_t lineLast
, bool fullyVisible
= false)
2929 { return wxVScrolledWindow::FindFirstFromBottom(lineLast
, fullyVisible
); }
2931 // get the total height of the lines between lineMin (inclusive) and
2932 // lineMax (exclusive)
2933 wxCoord
GetLinesHeight(size_t lineMin
, size_t lineMax
) const
2934 { return wxVScrolledWindow::GetLinesHeight(lineMin
, lineMax
); }
2936 // update the thumb size shown by the scrollbar
2937 void UpdateScrollbar() { wxVScrolledWindow::UpdateScrollbar(); }
2939 // remove the scrollbar completely because we don't need it
2940 void RemoveScrollbar() { wxVScrolledWindow::RemoveScrollbar(); }
2945 IMPLEMENT_ABSTRACT_CLASS(wxPyVScrolledWindow
, wxVScrolledWindow
);
2947 IMP_PYCALLBACK_COORD_SIZET_constpure(wxPyVScrolledWindow
, wxVScrolledWindow
, OnGetLineHeight
);
2948 IMP_PYCALLBACK_VOID_SIZETSIZET_const(wxPyVScrolledWindow
, wxVScrolledWindow
, OnGetLinesHint
);
2949 IMP_PYCALLBACK_COORD_const (wxPyVScrolledWindow
, wxVScrolledWindow
, EstimateTotalHeight
);
2953 SWIG_AsVal_unsigned_SS_long (PyObject
* obj
, unsigned long* val
)
2956 if (SWIG_AsVal_long(obj
, &v
) && v
< 0) {
2957 return SWIG_TypeError
;
2960 *val
= (unsigned long)v
;
2965 SWIGINTERNINLINE
int
2966 SWIG_AsVal_size_t (PyObject
* obj
, size_t *val
)
2969 int res
= SWIG_AsVal_unsigned_SS_long (obj
, val
? &v
: 0);
2970 if (SWIG_IsOK(res
) && val
) *val
= static_cast< size_t >(v
);
2975 SWIGINTERNINLINE PyObject
*
2976 SWIG_From_unsigned_SS_long (unsigned long value
)
2978 return (value
> LONG_MAX
) ?
2979 PyLong_FromUnsignedLong(value
) : PyInt_FromLong(static_cast< long >(value
));
2983 SWIGINTERNINLINE PyObject
*
2984 SWIG_From_size_t (size_t value
)
2986 return SWIG_From_unsigned_SS_long (static_cast< unsigned long >(value
));
2990 #include <wx/vlbox.h>
2992 static const wxString
wxPyVListBoxNameStr(wxVListBoxNameStr
);
2994 class wxPyVListBox
: public wxVListBox
2996 DECLARE_ABSTRACT_CLASS(wxPyVListBox
)
2998 wxPyVListBox() : wxVListBox() {}
3000 wxPyVListBox(wxWindow
*parent
,
3001 wxWindowID id
= wxID_ANY
,
3002 const wxPoint
& pos
= wxDefaultPosition
,
3003 const wxSize
& size
= wxDefaultSize
,
3005 const wxString
& name
= wxPyVListBoxNameStr
)
3006 : wxVListBox(parent
, id
, pos
, size
, style
, name
)
3009 // Overridable virtuals
3011 // the derived class must implement this function to actually draw the item
3012 // with the given index on the provided DC
3013 // virtual void OnDrawItem(wxDC& dc, const wxRect& rect, size_t n) const = 0;
3014 DEC_PYCALLBACK__DCRECTSIZET_constpure(OnDrawItem
);
3017 // the derived class must implement this method to return the height of the
3019 // virtual wxCoord OnMeasureItem(size_t n) const = 0;
3020 DEC_PYCALLBACK_COORD_SIZET_constpure(OnMeasureItem
);
3023 // this method may be used to draw separators between the lines; note that
3024 // the rectangle may be modified, typically to deflate it a bit before
3025 // passing to OnDrawItem()
3027 // the base class version doesn't do anything
3028 // virtual void OnDrawSeparator(wxDC& dc, wxRect& rect, size_t n) const;
3029 DEC_PYCALLBACK__DCRECTSIZET2_const(OnDrawSeparator
);
3032 // this method is used to draw the items background and, maybe, a border
3035 // the base class version implements a reasonable default behaviour which
3036 // consists in drawing the selected item with the standard background
3037 // colour and drawing a border around the item if it is either selected or
3039 // virtual void OnDrawBackground(wxDC& dc, const wxRect& rect, size_t n) const;
3040 DEC_PYCALLBACK__DCRECTSIZET_const(OnDrawBackground
);
3046 IMPLEMENT_ABSTRACT_CLASS(wxPyVListBox
, wxVListBox
);
3048 IMP_PYCALLBACK__DCRECTSIZET_constpure(wxPyVListBox
, wxVListBox
, OnDrawItem
);
3049 IMP_PYCALLBACK_COORD_SIZET_constpure (wxPyVListBox
, wxVListBox
, OnMeasureItem
);
3050 IMP_PYCALLBACK__DCRECTSIZET2_const (wxPyVListBox
, wxVListBox
, OnDrawSeparator
);
3051 IMP_PYCALLBACK__DCRECTSIZET_const (wxPyVListBox
, wxVListBox
, OnDrawBackground
);
3054 SWIGINTERN PyObject
*wxPyVListBox_GetFirstSelected(wxPyVListBox
*self
){
3055 unsigned long cookie
= 0;
3056 int selected
= self
->GetFirstSelected(cookie
);
3057 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3058 PyObject
* tup
= PyTuple_New(2);
3059 PyTuple_SET_ITEM(tup
, 0, PyInt_FromLong(selected
));
3060 PyTuple_SET_ITEM(tup
, 1, PyInt_FromLong(cookie
));
3061 wxPyEndBlockThreads(blocked
);
3064 SWIGINTERN PyObject
*wxPyVListBox_GetNextSelected(wxPyVListBox
*self
,unsigned long cookie
){
3065 int selected
= self
->GetNextSelected(cookie
);
3066 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3067 PyObject
* tup
= PyTuple_New(2);
3068 PyTuple_SET_ITEM(tup
, 0, PyInt_FromLong(selected
));
3069 PyTuple_SET_ITEM(tup
, 1, PyInt_FromLong(cookie
));
3070 wxPyEndBlockThreads(blocked
);
3074 #include <wx/htmllbox.h>
3077 class wxPyHtmlListBox
: public wxHtmlListBox
3079 DECLARE_ABSTRACT_CLASS(wxPyHtmlListBox
)
3081 wxPyHtmlListBox() : wxHtmlListBox() {}
3083 wxPyHtmlListBox(wxWindow
*parent
,
3084 wxWindowID id
= wxID_ANY
,
3085 const wxPoint
& pos
= wxDefaultPosition
,
3086 const wxSize
& size
= wxDefaultSize
,
3088 const wxString
& name
= wxPyVListBoxNameStr
)
3089 : wxHtmlListBox(parent
, id
, pos
, size
, style
, name
)
3092 // Overridable virtuals
3094 // this method must be implemented in the derived class and should return
3095 // the body (i.e. without <html>) of the HTML for the given item
3096 DEC_PYCALLBACK_STRING_SIZET_pure(OnGetItem
);
3098 // this function may be overridden to decorate HTML returned by OnGetItem()
3099 DEC_PYCALLBACK_STRING_SIZET(OnGetItemMarkup
);
3101 // These are from wxVListBox
3102 DEC_PYCALLBACK__DCRECTSIZET2_const(OnDrawSeparator
);
3103 DEC_PYCALLBACK__DCRECTSIZET_const(OnDrawBackground
);
3106 // // this method allows to customize the selection appearance: it may be used
3107 // // to specify the colour of the text which normally has the given colour
3108 // // colFg when it is inside the selection
3110 // // by default, the original colour is not used at all and all text has the
3111 // // same (default for this system) colour inside selection
3112 // virtual wxColour GetSelectedTextColour(const wxColour& colFg) const;
3114 // // this is the same as GetSelectedTextColour() but allows to customize the
3115 // // background colour -- this is even more rarely used as you can change it
3116 // // globally using SetSelectionBackground()
3117 // virtual wxColour GetSelectedTextBgColour(const wxColour& colBg) const;
3120 // This method may be overriden to handle clicking on a link in
3121 // the listbox. By default, clicking links is ignored.
3122 virtual void OnLinkClicked(size_t n
,
3123 const wxHtmlLinkInfo
& link
);
3129 IMPLEMENT_ABSTRACT_CLASS(wxPyHtmlListBox
, wxHtmlListBox
)
3131 IMP_PYCALLBACK_STRING_SIZET_pure(wxPyHtmlListBox
, wxHtmlListBox
, OnGetItem
);
3132 IMP_PYCALLBACK_STRING_SIZET (wxPyHtmlListBox
, wxHtmlListBox
, OnGetItemMarkup
);
3133 IMP_PYCALLBACK__DCRECTSIZET2_const (wxPyHtmlListBox
, wxHtmlListBox
, OnDrawSeparator
);
3134 IMP_PYCALLBACK__DCRECTSIZET_const (wxPyHtmlListBox
, wxHtmlListBox
, OnDrawBackground
);
3137 void wxPyHtmlListBox::OnLinkClicked(size_t n
,
3138 const wxHtmlLinkInfo
& link
) {
3140 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3141 if ((found
= wxPyCBH_findCallback(m_myInst
, "OnLinkClicked"))) {
3142 PyObject
* obj
= wxPyConstructObject((void*)&link
, wxT("wxHtmlLinkInfo"), 0);
3143 wxPyCBH_callCallback(m_myInst
, Py_BuildValue("(iO)", n
, obj
));
3146 wxPyEndBlockThreads(blocked
);
3148 wxPyHtmlListBox::OnLinkClicked(n
, link
);
3155 #ifndef wxHAS_TASK_BAR_ICON
3156 // implement dummy classes for platforms that don't have it
3158 class wxTaskBarIcon
: public wxEvtHandler
3161 wxTaskBarIcon() { wxPyRaiseNotImplemented(); }
3165 class wxTaskBarIconEvent
: public wxEvent
3168 wxTaskBarIconEvent(wxEventType
, wxTaskBarIcon
*)
3169 { wxPyRaiseNotImplemented(); }
3170 virtual wxEvent
* Clone() const { return NULL
; }
3171 bool IsOk() const { return false; }
3172 bool IsIconInstalled() const { return false; }
3173 bool SetIcon(const wxIcon
& icon
, const wxString
& tooltip
= wxPyEmptyString
) { return false; }
3174 bool RemoveIcon() { return false; }
3175 bool PopupMenu(wxMenu
*menu
) { return false; }
3179 wxEVT_TASKBAR_MOVE
= 0,
3180 wxEVT_TASKBAR_LEFT_DOWN
= 0,
3181 wxEVT_TASKBAR_LEFT_UP
= 0,
3182 wxEVT_TASKBAR_RIGHT_DOWN
= 0,
3183 wxEVT_TASKBAR_RIGHT_UP
= 0,
3184 wxEVT_TASKBAR_LEFT_DCLICK
= 0,
3185 wxEVT_TASKBAR_RIGHT_DCLICK
= 0,
3190 // Otherwise make a class that can virtualize CreatePopupMenu
3191 class wxPyTaskBarIcon
: public wxTaskBarIcon
3193 DECLARE_ABSTRACT_CLASS(wxPyTaskBarIcon
)
3195 wxPyTaskBarIcon() : wxTaskBarIcon()
3198 wxMenu
* CreatePopupMenu() {
3199 wxMenu
*rval
= NULL
;
3201 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3202 if ((found
= wxPyCBH_findCallback(m_myInst
, "CreatePopupMenu"))) {
3205 ro
= wxPyCBH_callCallbackObj(m_myInst
, Py_BuildValue("()"));
3207 if (wxPyConvertSwigPtr(ro
, (void **)&ptr
, wxT("wxMenu")))
3212 wxPyEndBlockThreads(blocked
);
3214 rval
= wxTaskBarIcon::CreatePopupMenu();
3221 IMPLEMENT_ABSTRACT_CLASS(wxPyTaskBarIcon
, wxTaskBarIcon
);
3225 SWIGINTERN
void wxPyTaskBarIcon_Destroy(wxPyTaskBarIcon
*self
){
3229 static const wxString
wxPyFileSelectorPromptStr(wxFileSelectorPromptStr
);
3230 static const wxString
wxPyDirSelectorPromptStr(wxDirSelectorPromptStr
);
3231 static const wxString
wxPyDirDialogNameStr(wxDirDialogNameStr
);
3232 static const wxString
wxPyFileSelectorDefaultWildcardStr(wxFileSelectorDefaultWildcardStr
);
3233 static const wxString
wxPyGetTextFromUserPromptStr(wxGetTextFromUserPromptStr
);
3234 static const wxString
wxPyMessageBoxCaptionStr(wxMessageBoxCaptionStr
);
3236 // for compatibility only
3237 #define wxHIDE_READONLY 0
3239 SWIGINTERN PyObject
*wxFileDialog_GetFilenames(wxFileDialog
*self
){
3241 self
->GetFilenames(arr
);
3242 return wxArrayString2PyList_helper(arr
);
3244 SWIGINTERN PyObject
*wxFileDialog_GetPaths(wxFileDialog
*self
){
3246 self
->GetPaths(arr
);
3247 return wxArrayString2PyList_helper(arr
);
3249 SWIGINTERN PyObject
*wxMultiChoiceDialog_GetSelections(wxMultiChoiceDialog
*self
){
3250 return wxArrayInt2PyList_helper(self
->GetSelections());
3252 SWIGINTERN wxSingleChoiceDialog
*new_wxSingleChoiceDialog(wxWindow
*parent
,wxString
const &message
,wxString
const &caption
,int choices
,wxString
*choices_array
,long style
=wxCHOICEDLG_STYLE
,wxPoint
const &pos
=wxDefaultPosition
){
3253 return new wxSingleChoiceDialog(parent
, message
, caption
,
3254 choices
, choices_array
, NULL
, style
, pos
);
3256 static const wxString
wxPyGetPasswordFromUserPromptStr(wxGetPasswordFromUserPromptStr
);
3258 SWIGINTERNINLINE PyObject
*
3259 SWIG_From_bool (bool value
)
3261 return PyBool_FromLong(value
? 1 : 0);
3267 // C++ version of Python aware wxWindow
3268 class wxPyWindow
: public wxWindow
3270 DECLARE_DYNAMIC_CLASS(wxPyWindow
)
3272 wxPyWindow() : wxWindow() {}
3273 wxPyWindow(wxWindow
* parent
, const wxWindowID id
,
3274 const wxPoint
& pos
= wxDefaultPosition
,
3275 const wxSize
& size
= wxDefaultSize
,
3277 const wxString
& name
= wxPyPanelNameStr
)
3278 : wxWindow(parent
, id
, pos
, size
, style
, name
) {}
3281 bool DoEraseBackground(wxDC
* dc
) {
3283 return wxWindow::DoEraseBackground(dc
->GetHDC());
3285 dc
->SetBackground(wxBrush(GetBackgroundColour()));
3291 DEC_PYCALLBACK_VOID_INT4(DoMoveWindow
);
3292 DEC_PYCALLBACK_VOID_INT5(DoSetSize
);
3293 DEC_PYCALLBACK_VOID_INTINT(DoSetClientSize
);
3294 DEC_PYCALLBACK_VOID_INTINT(DoSetVirtualSize
);
3296 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetSize
);
3297 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetClientSize
);
3298 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetPosition
);
3300 DEC_PYCALLBACK_SIZE_const(DoGetVirtualSize
);
3301 DEC_PYCALLBACK_SIZE_const(DoGetBestSize
);
3303 DEC_PYCALLBACK__(InitDialog
);
3304 DEC_PYCALLBACK_BOOL_(TransferDataFromWindow
);
3305 DEC_PYCALLBACK_BOOL_(TransferDataToWindow
);
3306 DEC_PYCALLBACK_BOOL_(Validate
);
3308 DEC_PYCALLBACK_BOOL_const(AcceptsFocus
);
3309 DEC_PYCALLBACK_BOOL_const(AcceptsFocusFromKeyboard
);
3310 DEC_PYCALLBACK_SIZE_const(GetMaxSize
);
3312 DEC_PYCALLBACK_VOID_WXWINBASE(AddChild
);
3313 DEC_PYCALLBACK_VOID_WXWINBASE(RemoveChild
);
3315 DEC_PYCALLBACK_BOOL_const(ShouldInheritColours
);
3316 DEC_PYCALLBACK_VIZATTR_(GetDefaultAttributes
);
3318 DEC_PYCALLBACK_BOOL_(HasTransparentBackground
);
3320 DEC_PYCALLBACK_VOID_(OnInternalIdle
);
3325 IMPLEMENT_DYNAMIC_CLASS(wxPyWindow
, wxWindow
);
3327 IMP_PYCALLBACK_VOID_INT4(wxPyWindow
, wxWindow
, DoMoveWindow
);
3328 IMP_PYCALLBACK_VOID_INT5(wxPyWindow
, wxWindow
, DoSetSize
);
3329 IMP_PYCALLBACK_VOID_INTINT(wxPyWindow
, wxWindow
, DoSetClientSize
);
3330 IMP_PYCALLBACK_VOID_INTINT(wxPyWindow
, wxWindow
, DoSetVirtualSize
);
3332 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyWindow
, wxWindow
, DoGetSize
);
3333 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyWindow
, wxWindow
, DoGetClientSize
);
3334 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyWindow
, wxWindow
, DoGetPosition
);
3336 IMP_PYCALLBACK_SIZE_const(wxPyWindow
, wxWindow
, DoGetVirtualSize
);
3337 IMP_PYCALLBACK_SIZE_const(wxPyWindow
, wxWindow
, DoGetBestSize
);
3339 IMP_PYCALLBACK__(wxPyWindow
, wxWindow
, InitDialog
);
3340 IMP_PYCALLBACK_BOOL_(wxPyWindow
, wxWindow
, TransferDataFromWindow
);
3341 IMP_PYCALLBACK_BOOL_(wxPyWindow
, wxWindow
, TransferDataToWindow
);
3342 IMP_PYCALLBACK_BOOL_(wxPyWindow
, wxWindow
, Validate
);
3344 IMP_PYCALLBACK_BOOL_const(wxPyWindow
, wxWindow
, AcceptsFocus
);
3345 IMP_PYCALLBACK_BOOL_const(wxPyWindow
, wxWindow
, AcceptsFocusFromKeyboard
);
3346 IMP_PYCALLBACK_SIZE_const(wxPyWindow
, wxWindow
, GetMaxSize
);
3348 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyWindow
, wxWindow
, AddChild
);
3349 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyWindow
, wxWindow
, RemoveChild
);
3351 IMP_PYCALLBACK_BOOL_const(wxPyWindow
, wxWindow
, ShouldInheritColours
);
3352 IMP_PYCALLBACK_VIZATTR_(wxPyWindow
, wxWindow
, GetDefaultAttributes
);
3354 IMP_PYCALLBACK_BOOL_(wxPyWindow
, wxWindow
, HasTransparentBackground
);
3356 IMP_PYCALLBACK_VOID_(wxPyWindow
, wxWindow
, OnInternalIdle
);
3358 // C++ version of Python aware wxPanel
3359 class wxPyPanel
: public wxPanel
3361 DECLARE_DYNAMIC_CLASS(wxPyPanel
)
3363 wxPyPanel() : wxPanel() {}
3364 wxPyPanel(wxWindow
* parent
, const wxWindowID id
,
3365 const wxPoint
& pos
= wxDefaultPosition
,
3366 const wxSize
& size
= wxDefaultSize
,
3368 const wxString
& name
= wxPyPanelNameStr
)
3369 : wxPanel(parent
, id
, pos
, size
, style
, name
) {}
3371 bool DoEraseBackground(wxDC
* dc
) {
3373 return wxWindow::DoEraseBackground(dc
->GetHDC());
3375 dc
->SetBackground(wxBrush(GetBackgroundColour()));
3382 DEC_PYCALLBACK_VOID_INT4(DoMoveWindow
);
3383 DEC_PYCALLBACK_VOID_INT5(DoSetSize
);
3384 DEC_PYCALLBACK_VOID_INTINT(DoSetClientSize
);
3385 DEC_PYCALLBACK_VOID_INTINT(DoSetVirtualSize
);
3387 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetSize
);
3388 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetClientSize
);
3389 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetPosition
);
3391 DEC_PYCALLBACK_SIZE_const(DoGetVirtualSize
);
3392 DEC_PYCALLBACK_SIZE_const(DoGetBestSize
);
3394 DEC_PYCALLBACK__(InitDialog
);
3395 DEC_PYCALLBACK_BOOL_(TransferDataFromWindow
);
3396 DEC_PYCALLBACK_BOOL_(TransferDataToWindow
);
3397 DEC_PYCALLBACK_BOOL_(Validate
);
3399 DEC_PYCALLBACK_BOOL_const(AcceptsFocus
);
3400 DEC_PYCALLBACK_BOOL_const(AcceptsFocusFromKeyboard
);
3401 DEC_PYCALLBACK_SIZE_const(GetMaxSize
);
3403 DEC_PYCALLBACK_VOID_WXWINBASE(AddChild
);
3404 DEC_PYCALLBACK_VOID_WXWINBASE(RemoveChild
);
3406 DEC_PYCALLBACK_BOOL_const(ShouldInheritColours
);
3407 DEC_PYCALLBACK_VIZATTR_(GetDefaultAttributes
);
3409 DEC_PYCALLBACK_BOOL_(HasTransparentBackground
);
3411 DEC_PYCALLBACK_VOID_(OnInternalIdle
);
3416 IMPLEMENT_DYNAMIC_CLASS(wxPyPanel
, wxPanel
);
3418 IMP_PYCALLBACK_VOID_INT4(wxPyPanel
, wxPanel
, DoMoveWindow
);
3419 IMP_PYCALLBACK_VOID_INT5(wxPyPanel
, wxPanel
, DoSetSize
);
3420 IMP_PYCALLBACK_VOID_INTINT(wxPyPanel
, wxPanel
, DoSetClientSize
);
3421 IMP_PYCALLBACK_VOID_INTINT(wxPyPanel
, wxPanel
, DoSetVirtualSize
);
3423 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyPanel
, wxPanel
, DoGetSize
);
3424 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyPanel
, wxPanel
, DoGetClientSize
);
3425 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyPanel
, wxPanel
, DoGetPosition
);
3427 IMP_PYCALLBACK_SIZE_const(wxPyPanel
, wxPanel
, DoGetVirtualSize
);
3428 IMP_PYCALLBACK_SIZE_const(wxPyPanel
, wxPanel
, DoGetBestSize
);
3430 IMP_PYCALLBACK__(wxPyPanel
, wxPanel
, InitDialog
);
3431 IMP_PYCALLBACK_BOOL_(wxPyPanel
, wxPanel
, TransferDataFromWindow
);
3432 IMP_PYCALLBACK_BOOL_(wxPyPanel
, wxPanel
, TransferDataToWindow
);
3433 IMP_PYCALLBACK_BOOL_(wxPyPanel
, wxPanel
, Validate
);
3435 IMP_PYCALLBACK_BOOL_const(wxPyPanel
, wxPanel
, AcceptsFocus
);
3436 IMP_PYCALLBACK_BOOL_const(wxPyPanel
, wxPanel
, AcceptsFocusFromKeyboard
);
3437 IMP_PYCALLBACK_SIZE_const(wxPyPanel
, wxPanel
, GetMaxSize
);
3439 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyPanel
, wxPanel
, AddChild
);
3440 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyPanel
, wxPanel
, RemoveChild
);
3442 IMP_PYCALLBACK_BOOL_const(wxPyPanel
, wxPanel
, ShouldInheritColours
);
3443 IMP_PYCALLBACK_VIZATTR_(wxPyPanel
, wxPanel
, GetDefaultAttributes
);
3445 IMP_PYCALLBACK_BOOL_(wxPyPanel
, wxPanel
, HasTransparentBackground
);
3447 IMP_PYCALLBACK_VOID_(wxPyPanel
, wxPanel
, OnInternalIdle
);
3449 // C++ version of Python aware wxScrolledWindow
3450 class wxPyScrolledWindow
: public wxScrolledWindow
3452 DECLARE_DYNAMIC_CLASS(wxPyScrolledWindow
)
3454 wxPyScrolledWindow() : wxScrolledWindow() {}
3455 wxPyScrolledWindow(wxWindow
* parent
, const wxWindowID id
,
3456 const wxPoint
& pos
= wxDefaultPosition
,
3457 const wxSize
& size
= wxDefaultSize
,
3459 const wxString
& name
= wxPyPanelNameStr
)
3460 : wxScrolledWindow(parent
, id
, pos
, size
, style
, name
) {}
3462 bool DoEraseBackground(wxDC
* dc
) {
3464 return wxWindow::DoEraseBackground(dc
->GetHDC());
3466 dc
->SetBackground(wxBrush(GetBackgroundColour()));
3472 DEC_PYCALLBACK_VOID_INT4(DoMoveWindow
);
3473 DEC_PYCALLBACK_VOID_INT5(DoSetSize
);
3474 DEC_PYCALLBACK_VOID_INTINT(DoSetClientSize
);
3475 DEC_PYCALLBACK_VOID_INTINT(DoSetVirtualSize
);
3477 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetSize
);
3478 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetClientSize
);
3479 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetPosition
);
3481 DEC_PYCALLBACK_SIZE_const(DoGetVirtualSize
);
3482 DEC_PYCALLBACK_SIZE_const(DoGetBestSize
);
3484 DEC_PYCALLBACK__(InitDialog
);
3485 DEC_PYCALLBACK_BOOL_(TransferDataFromWindow
);
3486 DEC_PYCALLBACK_BOOL_(TransferDataToWindow
);
3487 DEC_PYCALLBACK_BOOL_(Validate
);
3489 DEC_PYCALLBACK_BOOL_const(AcceptsFocus
);
3490 DEC_PYCALLBACK_BOOL_const(AcceptsFocusFromKeyboard
);
3491 DEC_PYCALLBACK_SIZE_const(GetMaxSize
);
3493 DEC_PYCALLBACK_VOID_WXWINBASE(AddChild
);
3494 DEC_PYCALLBACK_VOID_WXWINBASE(RemoveChild
);
3496 DEC_PYCALLBACK_BOOL_const(ShouldInheritColours
);
3497 DEC_PYCALLBACK_VIZATTR_(GetDefaultAttributes
);
3499 DEC_PYCALLBACK_BOOL_(HasTransparentBackground
);
3501 DEC_PYCALLBACK_VOID_(OnInternalIdle
);
3506 IMPLEMENT_DYNAMIC_CLASS(wxPyScrolledWindow
, wxScrolledWindow
);
3508 IMP_PYCALLBACK_VOID_INT4(wxPyScrolledWindow
, wxScrolledWindow
, DoMoveWindow
);
3509 IMP_PYCALLBACK_VOID_INT5(wxPyScrolledWindow
, wxScrolledWindow
, DoSetSize
);
3510 IMP_PYCALLBACK_VOID_INTINT(wxPyScrolledWindow
, wxScrolledWindow
, DoSetClientSize
);
3511 IMP_PYCALLBACK_VOID_INTINT(wxPyScrolledWindow
, wxScrolledWindow
, DoSetVirtualSize
);
3513 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyScrolledWindow
, wxScrolledWindow
, DoGetSize
);
3514 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyScrolledWindow
, wxScrolledWindow
, DoGetClientSize
);
3515 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyScrolledWindow
, wxScrolledWindow
, DoGetPosition
);
3517 IMP_PYCALLBACK_SIZE_const(wxPyScrolledWindow
, wxScrolledWindow
, DoGetVirtualSize
);
3518 IMP_PYCALLBACK_SIZE_const(wxPyScrolledWindow
, wxScrolledWindow
, DoGetBestSize
);
3520 IMP_PYCALLBACK__(wxPyScrolledWindow
, wxScrolledWindow
, InitDialog
);
3521 IMP_PYCALLBACK_BOOL_(wxPyScrolledWindow
, wxScrolledWindow
, TransferDataFromWindow
);
3522 IMP_PYCALLBACK_BOOL_(wxPyScrolledWindow
, wxScrolledWindow
, TransferDataToWindow
);
3523 IMP_PYCALLBACK_BOOL_(wxPyScrolledWindow
, wxScrolledWindow
, Validate
);
3525 IMP_PYCALLBACK_BOOL_const(wxPyScrolledWindow
, wxScrolledWindow
, AcceptsFocus
);
3526 IMP_PYCALLBACK_BOOL_const(wxPyScrolledWindow
, wxScrolledWindow
, AcceptsFocusFromKeyboard
);
3527 IMP_PYCALLBACK_SIZE_const(wxPyScrolledWindow
, wxScrolledWindow
, GetMaxSize
);
3529 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyScrolledWindow
, wxScrolledWindow
, AddChild
);
3530 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyScrolledWindow
, wxScrolledWindow
, RemoveChild
);
3532 IMP_PYCALLBACK_BOOL_const(wxPyScrolledWindow
, wxScrolledWindow
, ShouldInheritColours
);
3533 IMP_PYCALLBACK_VIZATTR_(wxPyScrolledWindow
, wxScrolledWindow
, GetDefaultAttributes
);
3535 IMP_PYCALLBACK_BOOL_(wxPyScrolledWindow
, wxScrolledWindow
, HasTransparentBackground
);
3537 IMP_PYCALLBACK_VOID_(wxPyScrolledWindow
, wxScrolledWindow
, OnInternalIdle
);
3540 #include "wx/wxPython/printfw.h"
3543 static const wxString
wxPyPrintoutTitleStr(wxT("Printout"));
3544 static const wxString
wxPyPreviewCanvasNameStr(wxT("previewcanvas"));
3545 SWIGINTERN PyObject
*wxPrintData_GetPrivData(wxPrintData
*self
){
3547 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3548 data
= PyString_FromStringAndSize(self
->GetPrivData(),
3549 self
->GetPrivDataLen());
3550 wxPyEndBlockThreads(blocked
);
3553 SWIGINTERN
void wxPrintData_SetPrivData(wxPrintData
*self
,PyObject
*data
){
3554 if (! PyString_Check(data
)) {
3555 wxPyBLOCK_THREADS(PyErr_SetString(PyExc_TypeError
,
3556 "Expected string object"));
3560 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3561 self
->SetPrivData(PyString_AS_STRING(data
), PyString_GET_SIZE(data
));
3562 wxPyEndBlockThreads(blocked
);
3566 IMPLEMENT_ABSTRACT_CLASS(wxPyPrintout
, wxPrintout
);
3568 // Since this one would be tough and ugly to do with the Macros...
3569 void wxPyPrintout::GetPageInfo(int *minPage
, int *maxPage
, int *pageFrom
, int *pageTo
) {
3570 bool hadErr
= false;
3573 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3574 if ((found
= wxPyCBH_findCallback(m_myInst
, "GetPageInfo"))) {
3575 PyObject
* result
= wxPyCBH_callCallbackObj(m_myInst
, Py_BuildValue("()"));
3576 if (result
&& PyTuple_Check(result
) && PyTuple_Size(result
) == 4) {
3579 val
= PyTuple_GetItem(result
, 0);
3580 if (PyInt_Check(val
)) *minPage
= PyInt_AsLong(val
);
3583 val
= PyTuple_GetItem(result
, 1);
3584 if (PyInt_Check(val
)) *maxPage
= PyInt_AsLong(val
);
3587 val
= PyTuple_GetItem(result
, 2);
3588 if (PyInt_Check(val
)) *pageFrom
= PyInt_AsLong(val
);
3591 val
= PyTuple_GetItem(result
, 3);
3592 if (PyInt_Check(val
)) *pageTo
= PyInt_AsLong(val
);
3599 PyErr_SetString(PyExc_TypeError
, "GetPageInfo should return a tuple of 4 integers.");
3604 wxPyEndBlockThreads(blocked
);
3606 wxPrintout::GetPageInfo(minPage
, maxPage
, pageFrom
, pageTo
);
3611 IMP_PYCALLBACK_BOOL_INTINT(wxPyPrintout
, wxPrintout
, OnBeginDocument
);
3612 IMP_PYCALLBACK__(wxPyPrintout
, wxPrintout
, OnEndDocument
);
3613 IMP_PYCALLBACK__(wxPyPrintout
, wxPrintout
, OnBeginPrinting
);
3614 IMP_PYCALLBACK__(wxPyPrintout
, wxPrintout
, OnEndPrinting
);
3615 IMP_PYCALLBACK__(wxPyPrintout
, wxPrintout
, OnPreparePrinting
);
3616 IMP_PYCALLBACK_BOOL_INT_pure(wxPyPrintout
, wxPrintout
, OnPrintPage
);
3617 IMP_PYCALLBACK_BOOL_INT(wxPyPrintout
, wxPrintout
, HasPage
);
3623 #define DEC_PYCALLBACK_BOOL_PREWINDC(CBNAME) \
3624 bool CBNAME(wxPreviewCanvas* a, wxDC& b)
3627 #define IMP_PYCALLBACK_BOOL_PREWINDC(CLASS, PCLASS, CBNAME) \
3628 bool CLASS::CBNAME(wxPreviewCanvas* a, wxDC& b) { \
3631 wxPyBlock_t blocked = wxPyBeginBlockThreads(); \
3632 if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) { \
3633 PyObject* win = wxPyMake_wxObject(a,false); \
3634 PyObject* dc = wxPyMake_wxObject(&b,false); \
3635 rval = wxPyCBH_callCallback(m_myInst, Py_BuildValue("(OO)", win, dc)); \
3639 wxPyEndBlockThreads(blocked); \
3641 rval = PCLASS::CBNAME(a, b); \
3648 class wxPyPrintPreview
: public wxPrintPreview
3650 DECLARE_CLASS(wxPyPrintPreview
)
3652 wxPyPrintPreview(wxPyPrintout
* printout
,
3653 wxPyPrintout
* printoutForPrinting
,
3654 wxPrintDialogData
* data
=NULL
)
3655 : wxPrintPreview(printout
, printoutForPrinting
, data
)
3657 wxPyPrintPreview(wxPyPrintout
* printout
,
3658 wxPyPrintout
* printoutForPrinting
,
3660 : wxPrintPreview(printout
, printoutForPrinting
, data
)
3663 DEC_PYCALLBACK_BOOL_INT(SetCurrentPage
);
3664 DEC_PYCALLBACK_BOOL_PREWINDC(PaintPage
);
3665 DEC_PYCALLBACK_BOOL_PREWINDC(DrawBlankPage
);
3666 DEC_PYCALLBACK_BOOL_INT(RenderPage
);
3667 DEC_PYCALLBACK_VOID_INT(SetZoom
);
3668 DEC_PYCALLBACK_BOOL_BOOL(Print
);
3669 DEC_PYCALLBACK_VOID_(DetermineScaling
);
3674 // Stupid renamed classes... Fix this in 2.5...
3675 #if defined(__WXMSW__)
3676 IMPLEMENT_CLASS( wxPyPrintPreview
, wxWindowsPrintPreview
);
3677 #elif defined(__WXMAC__)
3678 IMPLEMENT_CLASS( wxPyPrintPreview
, wxMacPrintPreview
);
3680 IMPLEMENT_CLASS( wxPyPrintPreview
, wxPostScriptPrintPreview
);
3683 IMP_PYCALLBACK_BOOL_INT (wxPyPrintPreview
, wxPrintPreview
, SetCurrentPage
);
3684 IMP_PYCALLBACK_BOOL_PREWINDC(wxPyPrintPreview
, wxPrintPreview
, PaintPage
);
3685 IMP_PYCALLBACK_BOOL_PREWINDC(wxPyPrintPreview
, wxPrintPreview
, DrawBlankPage
);
3686 IMP_PYCALLBACK_BOOL_INT (wxPyPrintPreview
, wxPrintPreview
, RenderPage
);
3687 IMP_PYCALLBACK_VOID_INT (wxPyPrintPreview
, wxPrintPreview
, SetZoom
);
3688 IMP_PYCALLBACK_BOOL_BOOL (wxPyPrintPreview
, wxPrintPreview
, Print
);
3689 IMP_PYCALLBACK_VOID_ (wxPyPrintPreview
, wxPrintPreview
, DetermineScaling
);
3692 class wxPyPreviewFrame
: public wxPreviewFrame
3694 DECLARE_CLASS(wxPyPreviewFrame
)
3696 wxPyPreviewFrame(wxPrintPreview
* preview
, wxFrame
* parent
,
3697 const wxString
& title
,
3698 const wxPoint
& pos
= wxDefaultPosition
,
3699 const wxSize
& size
= wxDefaultSize
,
3700 long style
= wxDEFAULT_FRAME_STYLE
,
3701 const wxString
& name
= wxPyFrameNameStr
)
3702 : wxPreviewFrame(preview
, parent
, title
, pos
, size
, style
, name
)
3705 void SetPreviewCanvas(wxPreviewCanvas
* canvas
) { m_previewCanvas
= canvas
; }
3706 void SetControlBar(wxPreviewControlBar
* bar
) { m_controlBar
= bar
; }
3708 DEC_PYCALLBACK_VOID_(Initialize
);
3709 DEC_PYCALLBACK_VOID_(CreateCanvas
);
3710 DEC_PYCALLBACK_VOID_(CreateControlBar
);
3715 IMPLEMENT_CLASS(wxPyPreviewFrame
, wxPreviewFrame
);
3717 IMP_PYCALLBACK_VOID_(wxPyPreviewFrame
, wxPreviewFrame
, Initialize
);
3718 IMP_PYCALLBACK_VOID_(wxPyPreviewFrame
, wxPreviewFrame
, CreateCanvas
);
3719 IMP_PYCALLBACK_VOID_(wxPyPreviewFrame
, wxPreviewFrame
, CreateControlBar
);
3722 class wxPyPreviewControlBar
: public wxPreviewControlBar
3724 DECLARE_CLASS(wxPyPreviewControlBar
)
3726 wxPyPreviewControlBar(wxPrintPreview
*preview
,
3729 const wxPoint
& pos
= wxDefaultPosition
,
3730 const wxSize
& size
= wxDefaultSize
,
3732 const wxString
& name
= wxPyPanelNameStr
)
3733 : wxPreviewControlBar(preview
, buttons
, parent
, pos
, size
, style
, name
)
3736 void SetPrintPreview(wxPrintPreview
* preview
) { m_printPreview
= preview
; }
3738 DEC_PYCALLBACK_VOID_(CreateButtons
);
3739 DEC_PYCALLBACK_VOID_INT(SetZoomControl
);
3744 IMPLEMENT_CLASS(wxPyPreviewControlBar
, wxPreviewControlBar
);
3745 IMP_PYCALLBACK_VOID_(wxPyPreviewControlBar
, wxPreviewControlBar
, CreateButtons
);
3746 IMP_PYCALLBACK_VOID_INT(wxPyPreviewControlBar
, wxPreviewControlBar
, SetZoomControl
);
3751 SWIGINTERN PyObject
*_wrap_new_Panel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
3752 PyObject
*resultobj
= 0;
3753 wxWindow
*arg1
= (wxWindow
*) 0 ;
3754 int arg2
= (int) (int)-1 ;
3755 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
3756 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
3757 wxSize
const &arg4_defvalue
= wxDefaultSize
;
3758 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
3759 long arg5
= (long) wxTAB_TRAVERSAL
|wxNO_BORDER
;
3760 wxString
const &arg6_defvalue
= wxPyPanelNameStr
;
3761 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
3762 wxPanel
*result
= 0 ;
3771 bool temp6
= false ;
3772 PyObject
* obj0
= 0 ;
3773 PyObject
* obj1
= 0 ;
3774 PyObject
* obj2
= 0 ;
3775 PyObject
* obj3
= 0 ;
3776 PyObject
* obj4
= 0 ;
3777 PyObject
* obj5
= 0 ;
3778 char * kwnames
[] = {
3779 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
3782 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_Panel",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
3783 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
3784 if (!SWIG_IsOK(res1
)) {
3785 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_Panel" "', expected argument " "1"" of type '" "wxWindow *""'");
3787 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
3789 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
3790 if (!SWIG_IsOK(ecode2
)) {
3791 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Panel" "', expected argument " "2"" of type '" "int""'");
3793 arg2
= static_cast< int >(val2
);
3798 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
3804 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
3808 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
3809 if (!SWIG_IsOK(ecode5
)) {
3810 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_Panel" "', expected argument " "5"" of type '" "long""'");
3812 arg5
= static_cast< long >(val5
);
3816 arg6
= wxString_in_helper(obj5
);
3817 if (arg6
== NULL
) SWIG_fail
;
3822 if (!wxPyCheckForApp()) SWIG_fail
;
3823 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3824 result
= (wxPanel
*)new wxPanel(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
3825 wxPyEndAllowThreads(__tstate
);
3826 if (PyErr_Occurred()) SWIG_fail
;
3828 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPanel
, SWIG_POINTER_NEW
| 0 );
3843 SWIGINTERN PyObject
*_wrap_new_PrePanel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3844 PyObject
*resultobj
= 0;
3845 wxPanel
*result
= 0 ;
3847 if (!SWIG_Python_UnpackTuple(args
,"new_PrePanel",0,0,0)) SWIG_fail
;
3849 if (!wxPyCheckForApp()) SWIG_fail
;
3850 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3851 result
= (wxPanel
*)new wxPanel();
3852 wxPyEndAllowThreads(__tstate
);
3853 if (PyErr_Occurred()) SWIG_fail
;
3855 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPanel
, SWIG_POINTER_OWN
| 0 );
3862 SWIGINTERN PyObject
*_wrap_Panel_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
3863 PyObject
*resultobj
= 0;
3864 wxPanel
*arg1
= (wxPanel
*) 0 ;
3865 wxWindow
*arg2
= (wxWindow
*) 0 ;
3866 int arg3
= (int) (int)-1 ;
3867 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
3868 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
3869 wxSize
const &arg5_defvalue
= wxDefaultSize
;
3870 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
3871 long arg6
= (long) wxTAB_TRAVERSAL
|wxNO_BORDER
;
3872 wxString
const &arg7_defvalue
= wxPyPanelNameStr
;
3873 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
3885 bool temp7
= false ;
3886 PyObject
* obj0
= 0 ;
3887 PyObject
* obj1
= 0 ;
3888 PyObject
* obj2
= 0 ;
3889 PyObject
* obj3
= 0 ;
3890 PyObject
* obj4
= 0 ;
3891 PyObject
* obj5
= 0 ;
3892 PyObject
* obj6
= 0 ;
3893 char * kwnames
[] = {
3894 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
3897 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:Panel_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
3898 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPanel
, 0 | 0 );
3899 if (!SWIG_IsOK(res1
)) {
3900 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Panel_Create" "', expected argument " "1"" of type '" "wxPanel *""'");
3902 arg1
= reinterpret_cast< wxPanel
* >(argp1
);
3903 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
3904 if (!SWIG_IsOK(res2
)) {
3905 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Panel_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
3907 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
3909 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
3910 if (!SWIG_IsOK(ecode3
)) {
3911 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Panel_Create" "', expected argument " "3"" of type '" "int""'");
3913 arg3
= static_cast< int >(val3
);
3918 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
3924 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
3928 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
3929 if (!SWIG_IsOK(ecode6
)) {
3930 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "Panel_Create" "', expected argument " "6"" of type '" "long""'");
3932 arg6
= static_cast< long >(val6
);
3936 arg7
= wxString_in_helper(obj6
);
3937 if (arg7
== NULL
) SWIG_fail
;
3942 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3943 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
3944 wxPyEndAllowThreads(__tstate
);
3945 if (PyErr_Occurred()) SWIG_fail
;
3948 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3964 SWIGINTERN PyObject
*_wrap_Panel_SetFocusIgnoringChildren(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3965 PyObject
*resultobj
= 0;
3966 wxPanel
*arg1
= (wxPanel
*) 0 ;
3969 PyObject
*swig_obj
[1] ;
3971 if (!args
) SWIG_fail
;
3973 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPanel
, 0 | 0 );
3974 if (!SWIG_IsOK(res1
)) {
3975 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Panel_SetFocusIgnoringChildren" "', expected argument " "1"" of type '" "wxPanel *""'");
3977 arg1
= reinterpret_cast< wxPanel
* >(argp1
);
3979 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3980 (arg1
)->SetFocusIgnoringChildren();
3981 wxPyEndAllowThreads(__tstate
);
3982 if (PyErr_Occurred()) SWIG_fail
;
3984 resultobj
= SWIG_Py_Void();
3991 SWIGINTERN PyObject
*_wrap_Panel_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
3992 PyObject
*resultobj
= 0;
3993 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
3994 SwigValueWrapper
<wxVisualAttributes
> result
;
3997 PyObject
* obj0
= 0 ;
3998 char * kwnames
[] = {
3999 (char *) "variant", NULL
4002 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Panel_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
4004 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
4005 if (!SWIG_IsOK(ecode1
)) {
4006 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "Panel_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
4008 arg1
= static_cast< wxWindowVariant
>(val1
);
4011 if (!wxPyCheckForApp()) SWIG_fail
;
4012 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4013 result
= wxPanel::GetClassDefaultAttributes(arg1
);
4014 wxPyEndAllowThreads(__tstate
);
4015 if (PyErr_Occurred()) SWIG_fail
;
4017 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
4024 SWIGINTERN PyObject
*Panel_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4026 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
4027 SWIG_TypeNewClientData(SWIGTYPE_p_wxPanel
, SWIG_NewClientData(obj
));
4028 return SWIG_Py_Void();
4031 SWIGINTERN PyObject
*Panel_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4032 return SWIG_Python_InitShadowInstance(args
);
4035 SWIGINTERN PyObject
*_wrap_new_ScrolledWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4036 PyObject
*resultobj
= 0;
4037 wxWindow
*arg1
= (wxWindow
*) 0 ;
4038 int arg2
= (int) (int)-1 ;
4039 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
4040 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
4041 wxSize
const &arg4_defvalue
= wxDefaultSize
;
4042 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
4043 long arg5
= (long) wxHSCROLL
|wxVSCROLL
;
4044 wxString
const &arg6_defvalue
= wxPyPanelNameStr
;
4045 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
4046 wxScrolledWindow
*result
= 0 ;
4055 bool temp6
= false ;
4056 PyObject
* obj0
= 0 ;
4057 PyObject
* obj1
= 0 ;
4058 PyObject
* obj2
= 0 ;
4059 PyObject
* obj3
= 0 ;
4060 PyObject
* obj4
= 0 ;
4061 PyObject
* obj5
= 0 ;
4062 char * kwnames
[] = {
4063 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4066 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_ScrolledWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
4067 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
4068 if (!SWIG_IsOK(res1
)) {
4069 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_ScrolledWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
4071 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
4073 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
4074 if (!SWIG_IsOK(ecode2
)) {
4075 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_ScrolledWindow" "', expected argument " "2"" of type '" "int""'");
4077 arg2
= static_cast< int >(val2
);
4082 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
4088 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
4092 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
4093 if (!SWIG_IsOK(ecode5
)) {
4094 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_ScrolledWindow" "', expected argument " "5"" of type '" "long""'");
4096 arg5
= static_cast< long >(val5
);
4100 arg6
= wxString_in_helper(obj5
);
4101 if (arg6
== NULL
) SWIG_fail
;
4106 if (!wxPyCheckForApp()) SWIG_fail
;
4107 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4108 result
= (wxScrolledWindow
*)new wxScrolledWindow(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
4109 wxPyEndAllowThreads(__tstate
);
4110 if (PyErr_Occurred()) SWIG_fail
;
4112 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxScrolledWindow
, SWIG_POINTER_NEW
| 0 );
4127 SWIGINTERN PyObject
*_wrap_new_PreScrolledWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4128 PyObject
*resultobj
= 0;
4129 wxScrolledWindow
*result
= 0 ;
4131 if (!SWIG_Python_UnpackTuple(args
,"new_PreScrolledWindow",0,0,0)) SWIG_fail
;
4133 if (!wxPyCheckForApp()) SWIG_fail
;
4134 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4135 result
= (wxScrolledWindow
*)new wxScrolledWindow();
4136 wxPyEndAllowThreads(__tstate
);
4137 if (PyErr_Occurred()) SWIG_fail
;
4139 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxScrolledWindow
, SWIG_POINTER_OWN
| 0 );
4146 SWIGINTERN PyObject
*_wrap_ScrolledWindow_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4147 PyObject
*resultobj
= 0;
4148 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
4149 wxWindow
*arg2
= (wxWindow
*) 0 ;
4150 int arg3
= (int) (int)-1 ;
4151 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
4152 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
4153 wxSize
const &arg5_defvalue
= wxDefaultSize
;
4154 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
4155 long arg6
= (long) wxHSCROLL
|wxVSCROLL
;
4156 wxString
const &arg7_defvalue
= wxPyPanelNameStr
;
4157 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
4169 bool temp7
= false ;
4170 PyObject
* obj0
= 0 ;
4171 PyObject
* obj1
= 0 ;
4172 PyObject
* obj2
= 0 ;
4173 PyObject
* obj3
= 0 ;
4174 PyObject
* obj4
= 0 ;
4175 PyObject
* obj5
= 0 ;
4176 PyObject
* obj6
= 0 ;
4177 char * kwnames
[] = {
4178 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4181 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:ScrolledWindow_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
4182 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 | 0 );
4183 if (!SWIG_IsOK(res1
)) {
4184 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_Create" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
4186 arg1
= reinterpret_cast< wxScrolledWindow
* >(argp1
);
4187 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
4188 if (!SWIG_IsOK(res2
)) {
4189 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ScrolledWindow_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
4191 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
4193 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
4194 if (!SWIG_IsOK(ecode3
)) {
4195 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ScrolledWindow_Create" "', expected argument " "3"" of type '" "int""'");
4197 arg3
= static_cast< int >(val3
);
4202 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
4208 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
4212 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
4213 if (!SWIG_IsOK(ecode6
)) {
4214 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "ScrolledWindow_Create" "', expected argument " "6"" of type '" "long""'");
4216 arg6
= static_cast< long >(val6
);
4220 arg7
= wxString_in_helper(obj6
);
4221 if (arg7
== NULL
) SWIG_fail
;
4226 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4227 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
4228 wxPyEndAllowThreads(__tstate
);
4229 if (PyErr_Occurred()) SWIG_fail
;
4232 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4248 SWIGINTERN PyObject
*_wrap_ScrolledWindow_SetScrollbars(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4249 PyObject
*resultobj
= 0;
4250 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
4255 int arg6
= (int) 0 ;
4256 int arg7
= (int) 0 ;
4257 bool arg8
= (bool) false ;
4274 PyObject
* obj0
= 0 ;
4275 PyObject
* obj1
= 0 ;
4276 PyObject
* obj2
= 0 ;
4277 PyObject
* obj3
= 0 ;
4278 PyObject
* obj4
= 0 ;
4279 PyObject
* obj5
= 0 ;
4280 PyObject
* obj6
= 0 ;
4281 PyObject
* obj7
= 0 ;
4282 char * kwnames
[] = {
4283 (char *) "self",(char *) "pixelsPerUnitX",(char *) "pixelsPerUnitY",(char *) "noUnitsX",(char *) "noUnitsY",(char *) "xPos",(char *) "yPos",(char *) "noRefresh", NULL
4286 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|OOO:ScrolledWindow_SetScrollbars",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
4287 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 | 0 );
4288 if (!SWIG_IsOK(res1
)) {
4289 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_SetScrollbars" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
4291 arg1
= reinterpret_cast< wxScrolledWindow
* >(argp1
);
4292 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
4293 if (!SWIG_IsOK(ecode2
)) {
4294 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ScrolledWindow_SetScrollbars" "', expected argument " "2"" of type '" "int""'");
4296 arg2
= static_cast< int >(val2
);
4297 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
4298 if (!SWIG_IsOK(ecode3
)) {
4299 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ScrolledWindow_SetScrollbars" "', expected argument " "3"" of type '" "int""'");
4301 arg3
= static_cast< int >(val3
);
4302 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
4303 if (!SWIG_IsOK(ecode4
)) {
4304 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "ScrolledWindow_SetScrollbars" "', expected argument " "4"" of type '" "int""'");
4306 arg4
= static_cast< int >(val4
);
4307 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
4308 if (!SWIG_IsOK(ecode5
)) {
4309 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "ScrolledWindow_SetScrollbars" "', expected argument " "5"" of type '" "int""'");
4311 arg5
= static_cast< int >(val5
);
4313 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
4314 if (!SWIG_IsOK(ecode6
)) {
4315 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "ScrolledWindow_SetScrollbars" "', expected argument " "6"" of type '" "int""'");
4317 arg6
= static_cast< int >(val6
);
4320 ecode7
= SWIG_AsVal_int(obj6
, &val7
);
4321 if (!SWIG_IsOK(ecode7
)) {
4322 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "ScrolledWindow_SetScrollbars" "', expected argument " "7"" of type '" "int""'");
4324 arg7
= static_cast< int >(val7
);
4327 ecode8
= SWIG_AsVal_bool(obj7
, &val8
);
4328 if (!SWIG_IsOK(ecode8
)) {
4329 SWIG_exception_fail(SWIG_ArgError(ecode8
), "in method '" "ScrolledWindow_SetScrollbars" "', expected argument " "8"" of type '" "bool""'");
4331 arg8
= static_cast< bool >(val8
);
4334 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4335 (arg1
)->SetScrollbars(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
,arg8
);
4336 wxPyEndAllowThreads(__tstate
);
4337 if (PyErr_Occurred()) SWIG_fail
;
4339 resultobj
= SWIG_Py_Void();
4346 SWIGINTERN PyObject
*_wrap_ScrolledWindow_Scroll(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4347 PyObject
*resultobj
= 0;
4348 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
4357 PyObject
* obj0
= 0 ;
4358 PyObject
* obj1
= 0 ;
4359 PyObject
* obj2
= 0 ;
4360 char * kwnames
[] = {
4361 (char *) "self",(char *) "x",(char *) "y", NULL
4364 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ScrolledWindow_Scroll",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
4365 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 | 0 );
4366 if (!SWIG_IsOK(res1
)) {
4367 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_Scroll" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
4369 arg1
= reinterpret_cast< wxScrolledWindow
* >(argp1
);
4370 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
4371 if (!SWIG_IsOK(ecode2
)) {
4372 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ScrolledWindow_Scroll" "', expected argument " "2"" of type '" "int""'");
4374 arg2
= static_cast< int >(val2
);
4375 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
4376 if (!SWIG_IsOK(ecode3
)) {
4377 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ScrolledWindow_Scroll" "', expected argument " "3"" of type '" "int""'");
4379 arg3
= static_cast< int >(val3
);
4381 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4382 (arg1
)->Scroll(arg2
,arg3
);
4383 wxPyEndAllowThreads(__tstate
);
4384 if (PyErr_Occurred()) SWIG_fail
;
4386 resultobj
= SWIG_Py_Void();
4393 SWIGINTERN PyObject
*_wrap_ScrolledWindow_GetScrollPageSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4394 PyObject
*resultobj
= 0;
4395 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
4402 PyObject
* obj0
= 0 ;
4403 PyObject
* obj1
= 0 ;
4404 char * kwnames
[] = {
4405 (char *) "self",(char *) "orient", NULL
4408 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScrolledWindow_GetScrollPageSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4409 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 | 0 );
4410 if (!SWIG_IsOK(res1
)) {
4411 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_GetScrollPageSize" "', expected argument " "1"" of type '" "wxScrolledWindow const *""'");
4413 arg1
= reinterpret_cast< wxScrolledWindow
* >(argp1
);
4414 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
4415 if (!SWIG_IsOK(ecode2
)) {
4416 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ScrolledWindow_GetScrollPageSize" "', expected argument " "2"" of type '" "int""'");
4418 arg2
= static_cast< int >(val2
);
4420 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4421 result
= (int)((wxScrolledWindow
const *)arg1
)->GetScrollPageSize(arg2
);
4422 wxPyEndAllowThreads(__tstate
);
4423 if (PyErr_Occurred()) SWIG_fail
;
4425 resultobj
= SWIG_From_int(static_cast< int >(result
));
4432 SWIGINTERN PyObject
*_wrap_ScrolledWindow_SetScrollPageSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4433 PyObject
*resultobj
= 0;
4434 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
4443 PyObject
* obj0
= 0 ;
4444 PyObject
* obj1
= 0 ;
4445 PyObject
* obj2
= 0 ;
4446 char * kwnames
[] = {
4447 (char *) "self",(char *) "orient",(char *) "pageSize", NULL
4450 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ScrolledWindow_SetScrollPageSize",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
4451 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 | 0 );
4452 if (!SWIG_IsOK(res1
)) {
4453 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_SetScrollPageSize" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
4455 arg1
= reinterpret_cast< wxScrolledWindow
* >(argp1
);
4456 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
4457 if (!SWIG_IsOK(ecode2
)) {
4458 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ScrolledWindow_SetScrollPageSize" "', expected argument " "2"" of type '" "int""'");
4460 arg2
= static_cast< int >(val2
);
4461 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
4462 if (!SWIG_IsOK(ecode3
)) {
4463 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ScrolledWindow_SetScrollPageSize" "', expected argument " "3"" of type '" "int""'");
4465 arg3
= static_cast< int >(val3
);
4467 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4468 (arg1
)->SetScrollPageSize(arg2
,arg3
);
4469 wxPyEndAllowThreads(__tstate
);
4470 if (PyErr_Occurred()) SWIG_fail
;
4472 resultobj
= SWIG_Py_Void();
4479 SWIGINTERN PyObject
*_wrap_ScrolledWindow_SetScrollRate(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4480 PyObject
*resultobj
= 0;
4481 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
4490 PyObject
* obj0
= 0 ;
4491 PyObject
* obj1
= 0 ;
4492 PyObject
* obj2
= 0 ;
4493 char * kwnames
[] = {
4494 (char *) "self",(char *) "xstep",(char *) "ystep", NULL
4497 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ScrolledWindow_SetScrollRate",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
4498 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 | 0 );
4499 if (!SWIG_IsOK(res1
)) {
4500 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_SetScrollRate" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
4502 arg1
= reinterpret_cast< wxScrolledWindow
* >(argp1
);
4503 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
4504 if (!SWIG_IsOK(ecode2
)) {
4505 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ScrolledWindow_SetScrollRate" "', expected argument " "2"" of type '" "int""'");
4507 arg2
= static_cast< int >(val2
);
4508 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
4509 if (!SWIG_IsOK(ecode3
)) {
4510 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ScrolledWindow_SetScrollRate" "', expected argument " "3"" of type '" "int""'");
4512 arg3
= static_cast< int >(val3
);
4514 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4515 (arg1
)->SetScrollRate(arg2
,arg3
);
4516 wxPyEndAllowThreads(__tstate
);
4517 if (PyErr_Occurred()) SWIG_fail
;
4519 resultobj
= SWIG_Py_Void();
4526 SWIGINTERN PyObject
*_wrap_ScrolledWindow_GetScrollPixelsPerUnit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4527 PyObject
*resultobj
= 0;
4528 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
4529 int *arg2
= (int *) 0 ;
4530 int *arg3
= (int *) 0 ;
4534 int res2
= SWIG_TMPOBJ
;
4536 int res3
= SWIG_TMPOBJ
;
4537 PyObject
*swig_obj
[1] ;
4541 if (!args
) SWIG_fail
;
4543 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 | 0 );
4544 if (!SWIG_IsOK(res1
)) {
4545 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_GetScrollPixelsPerUnit" "', expected argument " "1"" of type '" "wxScrolledWindow const *""'");
4547 arg1
= reinterpret_cast< wxScrolledWindow
* >(argp1
);
4549 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4550 ((wxScrolledWindow
const *)arg1
)->GetScrollPixelsPerUnit(arg2
,arg3
);
4551 wxPyEndAllowThreads(__tstate
);
4552 if (PyErr_Occurred()) SWIG_fail
;
4554 resultobj
= SWIG_Py_Void();
4555 if (SWIG_IsTmpObj(res2
)) {
4556 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
4558 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
4559 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
4561 if (SWIG_IsTmpObj(res3
)) {
4562 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
4564 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
4565 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
4573 SWIGINTERN PyObject
*_wrap_ScrolledWindow_EnableScrolling(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4574 PyObject
*resultobj
= 0;
4575 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
4584 PyObject
* obj0
= 0 ;
4585 PyObject
* obj1
= 0 ;
4586 PyObject
* obj2
= 0 ;
4587 char * kwnames
[] = {
4588 (char *) "self",(char *) "x_scrolling",(char *) "y_scrolling", NULL
4591 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ScrolledWindow_EnableScrolling",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
4592 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 | 0 );
4593 if (!SWIG_IsOK(res1
)) {
4594 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_EnableScrolling" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
4596 arg1
= reinterpret_cast< wxScrolledWindow
* >(argp1
);
4597 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
4598 if (!SWIG_IsOK(ecode2
)) {
4599 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ScrolledWindow_EnableScrolling" "', expected argument " "2"" of type '" "bool""'");
4601 arg2
= static_cast< bool >(val2
);
4602 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
4603 if (!SWIG_IsOK(ecode3
)) {
4604 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ScrolledWindow_EnableScrolling" "', expected argument " "3"" of type '" "bool""'");
4606 arg3
= static_cast< bool >(val3
);
4608 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4609 (arg1
)->EnableScrolling(arg2
,arg3
);
4610 wxPyEndAllowThreads(__tstate
);
4611 if (PyErr_Occurred()) SWIG_fail
;
4613 resultobj
= SWIG_Py_Void();
4620 SWIGINTERN PyObject
*_wrap_ScrolledWindow_GetViewStart(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4621 PyObject
*resultobj
= 0;
4622 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
4623 int *arg2
= (int *) 0 ;
4624 int *arg3
= (int *) 0 ;
4628 int res2
= SWIG_TMPOBJ
;
4630 int res3
= SWIG_TMPOBJ
;
4631 PyObject
*swig_obj
[1] ;
4635 if (!args
) SWIG_fail
;
4637 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 | 0 );
4638 if (!SWIG_IsOK(res1
)) {
4639 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_GetViewStart" "', expected argument " "1"" of type '" "wxScrolledWindow const *""'");
4641 arg1
= reinterpret_cast< wxScrolledWindow
* >(argp1
);
4643 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4644 ((wxScrolledWindow
const *)arg1
)->GetViewStart(arg2
,arg3
);
4645 wxPyEndAllowThreads(__tstate
);
4646 if (PyErr_Occurred()) SWIG_fail
;
4648 resultobj
= SWIG_Py_Void();
4649 if (SWIG_IsTmpObj(res2
)) {
4650 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
4652 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
4653 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
4655 if (SWIG_IsTmpObj(res3
)) {
4656 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
4658 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
4659 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
4667 SWIGINTERN PyObject
*_wrap_ScrolledWindow_SetScale(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4668 PyObject
*resultobj
= 0;
4669 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
4678 PyObject
* obj0
= 0 ;
4679 PyObject
* obj1
= 0 ;
4680 PyObject
* obj2
= 0 ;
4681 char * kwnames
[] = {
4682 (char *) "self",(char *) "xs",(char *) "ys", NULL
4685 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ScrolledWindow_SetScale",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
4686 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 | 0 );
4687 if (!SWIG_IsOK(res1
)) {
4688 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_SetScale" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
4690 arg1
= reinterpret_cast< wxScrolledWindow
* >(argp1
);
4691 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
4692 if (!SWIG_IsOK(ecode2
)) {
4693 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ScrolledWindow_SetScale" "', expected argument " "2"" of type '" "double""'");
4695 arg2
= static_cast< double >(val2
);
4696 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
4697 if (!SWIG_IsOK(ecode3
)) {
4698 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ScrolledWindow_SetScale" "', expected argument " "3"" of type '" "double""'");
4700 arg3
= static_cast< double >(val3
);
4702 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4703 (arg1
)->SetScale(arg2
,arg3
);
4704 wxPyEndAllowThreads(__tstate
);
4705 if (PyErr_Occurred()) SWIG_fail
;
4707 resultobj
= SWIG_Py_Void();
4714 SWIGINTERN PyObject
*_wrap_ScrolledWindow_GetScaleX(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4715 PyObject
*resultobj
= 0;
4716 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
4720 PyObject
*swig_obj
[1] ;
4722 if (!args
) SWIG_fail
;
4724 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 | 0 );
4725 if (!SWIG_IsOK(res1
)) {
4726 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_GetScaleX" "', expected argument " "1"" of type '" "wxScrolledWindow const *""'");
4728 arg1
= reinterpret_cast< wxScrolledWindow
* >(argp1
);
4730 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4731 result
= (double)((wxScrolledWindow
const *)arg1
)->GetScaleX();
4732 wxPyEndAllowThreads(__tstate
);
4733 if (PyErr_Occurred()) SWIG_fail
;
4735 resultobj
= SWIG_From_double(static_cast< double >(result
));
4742 SWIGINTERN PyObject
*_wrap_ScrolledWindow_GetScaleY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4743 PyObject
*resultobj
= 0;
4744 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
4748 PyObject
*swig_obj
[1] ;
4750 if (!args
) SWIG_fail
;
4752 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 | 0 );
4753 if (!SWIG_IsOK(res1
)) {
4754 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_GetScaleY" "', expected argument " "1"" of type '" "wxScrolledWindow const *""'");
4756 arg1
= reinterpret_cast< wxScrolledWindow
* >(argp1
);
4758 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4759 result
= (double)((wxScrolledWindow
const *)arg1
)->GetScaleY();
4760 wxPyEndAllowThreads(__tstate
);
4761 if (PyErr_Occurred()) SWIG_fail
;
4763 resultobj
= SWIG_From_double(static_cast< double >(result
));
4770 SWIGINTERN PyObject
*_wrap_ScrolledWindow_CalcScrolledPosition__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
4771 PyObject
*resultobj
= 0;
4772 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
4779 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
4780 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 | 0 );
4781 if (!SWIG_IsOK(res1
)) {
4782 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_CalcScrolledPosition" "', expected argument " "1"" of type '" "wxScrolledWindow const *""'");
4784 arg1
= reinterpret_cast< wxScrolledWindow
* >(argp1
);
4787 if ( ! wxPoint_helper(swig_obj
[1], &arg2
)) SWIG_fail
;
4790 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4791 result
= ((wxScrolledWindow
const *)arg1
)->CalcScrolledPosition((wxPoint
const &)*arg2
);
4792 wxPyEndAllowThreads(__tstate
);
4793 if (PyErr_Occurred()) SWIG_fail
;
4795 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
4802 SWIGINTERN PyObject
*_wrap_ScrolledWindow_CalcScrolledPosition__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
4803 PyObject
*resultobj
= 0;
4804 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
4807 int *arg4
= (int *) 0 ;
4808 int *arg5
= (int *) 0 ;
4816 int res4
= SWIG_TMPOBJ
;
4818 int res5
= SWIG_TMPOBJ
;
4822 if ((nobjs
< 3) || (nobjs
> 3)) SWIG_fail
;
4823 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 | 0 );
4824 if (!SWIG_IsOK(res1
)) {
4825 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_CalcScrolledPosition" "', expected argument " "1"" of type '" "wxScrolledWindow const *""'");
4827 arg1
= reinterpret_cast< wxScrolledWindow
* >(argp1
);
4828 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
4829 if (!SWIG_IsOK(ecode2
)) {
4830 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ScrolledWindow_CalcScrolledPosition" "', expected argument " "2"" of type '" "int""'");
4832 arg2
= static_cast< int >(val2
);
4833 ecode3
= SWIG_AsVal_int(swig_obj
[2], &val3
);
4834 if (!SWIG_IsOK(ecode3
)) {
4835 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ScrolledWindow_CalcScrolledPosition" "', expected argument " "3"" of type '" "int""'");
4837 arg3
= static_cast< int >(val3
);
4839 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4840 ((wxScrolledWindow
const *)arg1
)->CalcScrolledPosition(arg2
,arg3
,arg4
,arg5
);
4841 wxPyEndAllowThreads(__tstate
);
4842 if (PyErr_Occurred()) SWIG_fail
;
4844 resultobj
= SWIG_Py_Void();
4845 if (SWIG_IsTmpObj(res4
)) {
4846 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg4
)));
4848 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
4849 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, new_flags
));
4851 if (SWIG_IsTmpObj(res5
)) {
4852 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg5
)));
4854 int new_flags
= SWIG_IsNewObj(res5
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
4855 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg5
), SWIGTYPE_p_int
, new_flags
));
4863 SWIGINTERN PyObject
*_wrap_ScrolledWindow_CalcScrolledPosition(PyObject
*self
, PyObject
*args
) {
4867 if (!(argc
= SWIG_Python_UnpackTuple(args
,"ScrolledWindow_CalcScrolledPosition",0,3,argv
))) SWIG_fail
;
4870 return _wrap_ScrolledWindow_CalcScrolledPosition__SWIG_0(self
, argc
, argv
);
4873 return _wrap_ScrolledWindow_CalcScrolledPosition__SWIG_1(self
, argc
, argv
);
4877 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'ScrolledWindow_CalcScrolledPosition'");
4882 SWIGINTERN PyObject
*_wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
4883 PyObject
*resultobj
= 0;
4884 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
4891 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
4892 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 | 0 );
4893 if (!SWIG_IsOK(res1
)) {
4894 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_CalcUnscrolledPosition" "', expected argument " "1"" of type '" "wxScrolledWindow const *""'");
4896 arg1
= reinterpret_cast< wxScrolledWindow
* >(argp1
);
4899 if ( ! wxPoint_helper(swig_obj
[1], &arg2
)) SWIG_fail
;
4902 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4903 result
= ((wxScrolledWindow
const *)arg1
)->CalcUnscrolledPosition((wxPoint
const &)*arg2
);
4904 wxPyEndAllowThreads(__tstate
);
4905 if (PyErr_Occurred()) SWIG_fail
;
4907 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
4914 SWIGINTERN PyObject
*_wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
4915 PyObject
*resultobj
= 0;
4916 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
4919 int *arg4
= (int *) 0 ;
4920 int *arg5
= (int *) 0 ;
4928 int res4
= SWIG_TMPOBJ
;
4930 int res5
= SWIG_TMPOBJ
;
4934 if ((nobjs
< 3) || (nobjs
> 3)) SWIG_fail
;
4935 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 | 0 );
4936 if (!SWIG_IsOK(res1
)) {
4937 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_CalcUnscrolledPosition" "', expected argument " "1"" of type '" "wxScrolledWindow const *""'");
4939 arg1
= reinterpret_cast< wxScrolledWindow
* >(argp1
);
4940 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
4941 if (!SWIG_IsOK(ecode2
)) {
4942 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ScrolledWindow_CalcUnscrolledPosition" "', expected argument " "2"" of type '" "int""'");
4944 arg2
= static_cast< int >(val2
);
4945 ecode3
= SWIG_AsVal_int(swig_obj
[2], &val3
);
4946 if (!SWIG_IsOK(ecode3
)) {
4947 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ScrolledWindow_CalcUnscrolledPosition" "', expected argument " "3"" of type '" "int""'");
4949 arg3
= static_cast< int >(val3
);
4951 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4952 ((wxScrolledWindow
const *)arg1
)->CalcUnscrolledPosition(arg2
,arg3
,arg4
,arg5
);
4953 wxPyEndAllowThreads(__tstate
);
4954 if (PyErr_Occurred()) SWIG_fail
;
4956 resultobj
= SWIG_Py_Void();
4957 if (SWIG_IsTmpObj(res4
)) {
4958 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg4
)));
4960 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
4961 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, new_flags
));
4963 if (SWIG_IsTmpObj(res5
)) {
4964 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg5
)));
4966 int new_flags
= SWIG_IsNewObj(res5
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
4967 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg5
), SWIGTYPE_p_int
, new_flags
));
4975 SWIGINTERN PyObject
*_wrap_ScrolledWindow_CalcUnscrolledPosition(PyObject
*self
, PyObject
*args
) {
4979 if (!(argc
= SWIG_Python_UnpackTuple(args
,"ScrolledWindow_CalcUnscrolledPosition",0,3,argv
))) SWIG_fail
;
4982 return _wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_0(self
, argc
, argv
);
4985 return _wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_1(self
, argc
, argv
);
4989 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'ScrolledWindow_CalcUnscrolledPosition'");
4994 SWIGINTERN PyObject
*_wrap_ScrolledWindow_AdjustScrollbars(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4995 PyObject
*resultobj
= 0;
4996 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
4999 PyObject
*swig_obj
[1] ;
5001 if (!args
) SWIG_fail
;
5003 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 | 0 );
5004 if (!SWIG_IsOK(res1
)) {
5005 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_AdjustScrollbars" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
5007 arg1
= reinterpret_cast< wxScrolledWindow
* >(argp1
);
5009 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5010 (arg1
)->AdjustScrollbars();
5011 wxPyEndAllowThreads(__tstate
);
5012 if (PyErr_Occurred()) SWIG_fail
;
5014 resultobj
= SWIG_Py_Void();
5021 SWIGINTERN PyObject
*_wrap_ScrolledWindow_CalcScrollInc(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5022 PyObject
*resultobj
= 0;
5023 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
5024 wxScrollWinEvent
*arg2
= 0 ;
5030 PyObject
* obj0
= 0 ;
5031 PyObject
* obj1
= 0 ;
5032 char * kwnames
[] = {
5033 (char *) "self",(char *) "event", NULL
5036 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScrolledWindow_CalcScrollInc",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5037 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 | 0 );
5038 if (!SWIG_IsOK(res1
)) {
5039 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_CalcScrollInc" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
5041 arg1
= reinterpret_cast< wxScrolledWindow
* >(argp1
);
5042 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxScrollWinEvent
, 0 );
5043 if (!SWIG_IsOK(res2
)) {
5044 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ScrolledWindow_CalcScrollInc" "', expected argument " "2"" of type '" "wxScrollWinEvent &""'");
5047 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ScrolledWindow_CalcScrollInc" "', expected argument " "2"" of type '" "wxScrollWinEvent &""'");
5049 arg2
= reinterpret_cast< wxScrollWinEvent
* >(argp2
);
5051 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5052 result
= (int)(arg1
)->CalcScrollInc(*arg2
);
5053 wxPyEndAllowThreads(__tstate
);
5054 if (PyErr_Occurred()) SWIG_fail
;
5056 resultobj
= SWIG_From_int(static_cast< int >(result
));
5063 SWIGINTERN PyObject
*_wrap_ScrolledWindow_SetTargetWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5064 PyObject
*resultobj
= 0;
5065 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
5066 wxWindow
*arg2
= (wxWindow
*) 0 ;
5071 PyObject
* obj0
= 0 ;
5072 PyObject
* obj1
= 0 ;
5073 char * kwnames
[] = {
5074 (char *) "self",(char *) "target", NULL
5077 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScrolledWindow_SetTargetWindow",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5078 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 | 0 );
5079 if (!SWIG_IsOK(res1
)) {
5080 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_SetTargetWindow" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
5082 arg1
= reinterpret_cast< wxScrolledWindow
* >(argp1
);
5083 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
5084 if (!SWIG_IsOK(res2
)) {
5085 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ScrolledWindow_SetTargetWindow" "', expected argument " "2"" of type '" "wxWindow *""'");
5087 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
5089 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5090 (arg1
)->SetTargetWindow(arg2
);
5091 wxPyEndAllowThreads(__tstate
);
5092 if (PyErr_Occurred()) SWIG_fail
;
5094 resultobj
= SWIG_Py_Void();
5101 SWIGINTERN PyObject
*_wrap_ScrolledWindow_GetTargetWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5102 PyObject
*resultobj
= 0;
5103 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
5104 wxWindow
*result
= 0 ;
5107 PyObject
*swig_obj
[1] ;
5109 if (!args
) SWIG_fail
;
5111 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 | 0 );
5112 if (!SWIG_IsOK(res1
)) {
5113 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_GetTargetWindow" "', expected argument " "1"" of type '" "wxScrolledWindow const *""'");
5115 arg1
= reinterpret_cast< wxScrolledWindow
* >(argp1
);
5117 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5118 result
= (wxWindow
*)((wxScrolledWindow
const *)arg1
)->GetTargetWindow();
5119 wxPyEndAllowThreads(__tstate
);
5120 if (PyErr_Occurred()) SWIG_fail
;
5123 resultobj
= wxPyMake_wxObject(result
, 0);
5131 SWIGINTERN PyObject
*_wrap_ScrolledWindow_SetTargetRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5132 PyObject
*resultobj
= 0;
5133 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
5138 PyObject
* obj0
= 0 ;
5139 PyObject
* obj1
= 0 ;
5140 char * kwnames
[] = {
5141 (char *) "self",(char *) "rect", NULL
5144 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScrolledWindow_SetTargetRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5145 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 | 0 );
5146 if (!SWIG_IsOK(res1
)) {
5147 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_SetTargetRect" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
5149 arg1
= reinterpret_cast< wxScrolledWindow
* >(argp1
);
5152 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
5155 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5156 (arg1
)->SetTargetRect((wxRect
const &)*arg2
);
5157 wxPyEndAllowThreads(__tstate
);
5158 if (PyErr_Occurred()) SWIG_fail
;
5160 resultobj
= SWIG_Py_Void();
5167 SWIGINTERN PyObject
*_wrap_ScrolledWindow_GetTargetRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5168 PyObject
*resultobj
= 0;
5169 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
5173 PyObject
*swig_obj
[1] ;
5175 if (!args
) SWIG_fail
;
5177 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 | 0 );
5178 if (!SWIG_IsOK(res1
)) {
5179 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_GetTargetRect" "', expected argument " "1"" of type '" "wxScrolledWindow const *""'");
5181 arg1
= reinterpret_cast< wxScrolledWindow
* >(argp1
);
5183 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5184 result
= ((wxScrolledWindow
const *)arg1
)->GetTargetRect();
5185 wxPyEndAllowThreads(__tstate
);
5186 if (PyErr_Occurred()) SWIG_fail
;
5188 resultobj
= SWIG_NewPointerObj((new wxRect(static_cast< const wxRect
& >(result
))), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN
| 0 );
5195 SWIGINTERN PyObject
*_wrap_ScrolledWindow_DoPrepareDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5196 PyObject
*resultobj
= 0;
5197 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
5203 PyObject
* obj0
= 0 ;
5204 PyObject
* obj1
= 0 ;
5205 char * kwnames
[] = {
5206 (char *) "self",(char *) "dc", NULL
5209 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScrolledWindow_DoPrepareDC",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5210 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 | 0 );
5211 if (!SWIG_IsOK(res1
)) {
5212 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_DoPrepareDC" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
5214 arg1
= reinterpret_cast< wxScrolledWindow
* >(argp1
);
5215 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDC
, 0 );
5216 if (!SWIG_IsOK(res2
)) {
5217 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ScrolledWindow_DoPrepareDC" "', expected argument " "2"" of type '" "wxDC &""'");
5220 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ScrolledWindow_DoPrepareDC" "', expected argument " "2"" of type '" "wxDC &""'");
5222 arg2
= reinterpret_cast< wxDC
* >(argp2
);
5224 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5225 (arg1
)->DoPrepareDC(*arg2
);
5226 wxPyEndAllowThreads(__tstate
);
5227 if (PyErr_Occurred()) SWIG_fail
;
5229 resultobj
= SWIG_Py_Void();
5236 SWIGINTERN PyObject
*_wrap_ScrolledWindow_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5237 PyObject
*resultobj
= 0;
5238 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
5239 SwigValueWrapper
<wxVisualAttributes
> result
;
5242 PyObject
* obj0
= 0 ;
5243 char * kwnames
[] = {
5244 (char *) "variant", NULL
5247 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:ScrolledWindow_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
5249 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
5250 if (!SWIG_IsOK(ecode1
)) {
5251 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "ScrolledWindow_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
5253 arg1
= static_cast< wxWindowVariant
>(val1
);
5256 if (!wxPyCheckForApp()) SWIG_fail
;
5257 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5258 result
= wxScrolledWindow::GetClassDefaultAttributes(arg1
);
5259 wxPyEndAllowThreads(__tstate
);
5260 if (PyErr_Occurred()) SWIG_fail
;
5262 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
5269 SWIGINTERN PyObject
*ScrolledWindow_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5271 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
5272 SWIG_TypeNewClientData(SWIGTYPE_p_wxScrolledWindow
, SWIG_NewClientData(obj
));
5273 return SWIG_Py_Void();
5276 SWIGINTERN PyObject
*ScrolledWindow_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5277 return SWIG_Python_InitShadowInstance(args
);
5280 SWIGINTERN
int FrameNameStr_set(PyObject
*) {
5281 SWIG_Error(SWIG_AttributeError
,"Variable FrameNameStr is read-only.");
5286 SWIGINTERN PyObject
*FrameNameStr_get(void) {
5287 PyObject
*pyobj
= 0;
5291 pyobj
= PyUnicode_FromWideChar((&wxPyFrameNameStr
)->c_str(), (&wxPyFrameNameStr
)->Len());
5293 pyobj
= PyString_FromStringAndSize((&wxPyFrameNameStr
)->c_str(), (&wxPyFrameNameStr
)->Len());
5300 SWIGINTERN
int DialogNameStr_set(PyObject
*) {
5301 SWIG_Error(SWIG_AttributeError
,"Variable DialogNameStr is read-only.");
5306 SWIGINTERN PyObject
*DialogNameStr_get(void) {
5307 PyObject
*pyobj
= 0;
5311 pyobj
= PyUnicode_FromWideChar((&wxPyDialogNameStr
)->c_str(), (&wxPyDialogNameStr
)->Len());
5313 pyobj
= PyString_FromStringAndSize((&wxPyDialogNameStr
)->c_str(), (&wxPyDialogNameStr
)->Len());
5320 SWIGINTERN
int StatusLineNameStr_set(PyObject
*) {
5321 SWIG_Error(SWIG_AttributeError
,"Variable StatusLineNameStr is read-only.");
5326 SWIGINTERN PyObject
*StatusLineNameStr_get(void) {
5327 PyObject
*pyobj
= 0;
5331 pyobj
= PyUnicode_FromWideChar((&wxPyStatusLineNameStr
)->c_str(), (&wxPyStatusLineNameStr
)->Len());
5333 pyobj
= PyString_FromStringAndSize((&wxPyStatusLineNameStr
)->c_str(), (&wxPyStatusLineNameStr
)->Len());
5340 SWIGINTERN
int ToolBarNameStr_set(PyObject
*) {
5341 SWIG_Error(SWIG_AttributeError
,"Variable ToolBarNameStr is read-only.");
5346 SWIGINTERN PyObject
*ToolBarNameStr_get(void) {
5347 PyObject
*pyobj
= 0;
5351 pyobj
= PyUnicode_FromWideChar((&wxPyToolBarNameStr
)->c_str(), (&wxPyToolBarNameStr
)->Len());
5353 pyobj
= PyString_FromStringAndSize((&wxPyToolBarNameStr
)->c_str(), (&wxPyToolBarNameStr
)->Len());
5360 SWIGINTERN PyObject
*_wrap_TopLevelWindow_Maximize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5361 PyObject
*resultobj
= 0;
5362 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
5363 bool arg2
= (bool) true ;
5368 PyObject
* obj0
= 0 ;
5369 PyObject
* obj1
= 0 ;
5370 char * kwnames
[] = {
5371 (char *) "self",(char *) "maximize", NULL
5374 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:TopLevelWindow_Maximize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5375 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 | 0 );
5376 if (!SWIG_IsOK(res1
)) {
5377 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_Maximize" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5379 arg1
= reinterpret_cast< wxTopLevelWindow
* >(argp1
);
5381 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
5382 if (!SWIG_IsOK(ecode2
)) {
5383 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TopLevelWindow_Maximize" "', expected argument " "2"" of type '" "bool""'");
5385 arg2
= static_cast< bool >(val2
);
5388 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5389 (arg1
)->Maximize(arg2
);
5390 wxPyEndAllowThreads(__tstate
);
5391 if (PyErr_Occurred()) SWIG_fail
;
5393 resultobj
= SWIG_Py_Void();
5400 SWIGINTERN PyObject
*_wrap_TopLevelWindow_Restore(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5401 PyObject
*resultobj
= 0;
5402 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
5405 PyObject
*swig_obj
[1] ;
5407 if (!args
) SWIG_fail
;
5409 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 | 0 );
5410 if (!SWIG_IsOK(res1
)) {
5411 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_Restore" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5413 arg1
= reinterpret_cast< wxTopLevelWindow
* >(argp1
);
5415 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5417 wxPyEndAllowThreads(__tstate
);
5418 if (PyErr_Occurred()) SWIG_fail
;
5420 resultobj
= SWIG_Py_Void();
5427 SWIGINTERN PyObject
*_wrap_TopLevelWindow_Iconize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5428 PyObject
*resultobj
= 0;
5429 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
5430 bool arg2
= (bool) true ;
5435 PyObject
* obj0
= 0 ;
5436 PyObject
* obj1
= 0 ;
5437 char * kwnames
[] = {
5438 (char *) "self",(char *) "iconize", NULL
5441 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:TopLevelWindow_Iconize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5442 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 | 0 );
5443 if (!SWIG_IsOK(res1
)) {
5444 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_Iconize" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5446 arg1
= reinterpret_cast< wxTopLevelWindow
* >(argp1
);
5448 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
5449 if (!SWIG_IsOK(ecode2
)) {
5450 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TopLevelWindow_Iconize" "', expected argument " "2"" of type '" "bool""'");
5452 arg2
= static_cast< bool >(val2
);
5455 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5456 (arg1
)->Iconize(arg2
);
5457 wxPyEndAllowThreads(__tstate
);
5458 if (PyErr_Occurred()) SWIG_fail
;
5460 resultobj
= SWIG_Py_Void();
5467 SWIGINTERN PyObject
*_wrap_TopLevelWindow_IsMaximized(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5468 PyObject
*resultobj
= 0;
5469 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
5473 PyObject
*swig_obj
[1] ;
5475 if (!args
) SWIG_fail
;
5477 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 | 0 );
5478 if (!SWIG_IsOK(res1
)) {
5479 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_IsMaximized" "', expected argument " "1"" of type '" "wxTopLevelWindow const *""'");
5481 arg1
= reinterpret_cast< wxTopLevelWindow
* >(argp1
);
5483 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5484 result
= (bool)((wxTopLevelWindow
const *)arg1
)->IsMaximized();
5485 wxPyEndAllowThreads(__tstate
);
5486 if (PyErr_Occurred()) SWIG_fail
;
5489 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5497 SWIGINTERN PyObject
*_wrap_TopLevelWindow_IsAlwaysMaximized(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5498 PyObject
*resultobj
= 0;
5499 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
5503 PyObject
*swig_obj
[1] ;
5505 if (!args
) SWIG_fail
;
5507 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 | 0 );
5508 if (!SWIG_IsOK(res1
)) {
5509 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_IsAlwaysMaximized" "', expected argument " "1"" of type '" "wxTopLevelWindow const *""'");
5511 arg1
= reinterpret_cast< wxTopLevelWindow
* >(argp1
);
5513 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5514 result
= (bool)((wxTopLevelWindow
const *)arg1
)->IsAlwaysMaximized();
5515 wxPyEndAllowThreads(__tstate
);
5516 if (PyErr_Occurred()) SWIG_fail
;
5519 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5527 SWIGINTERN PyObject
*_wrap_TopLevelWindow_IsIconized(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5528 PyObject
*resultobj
= 0;
5529 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
5533 PyObject
*swig_obj
[1] ;
5535 if (!args
) SWIG_fail
;
5537 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 | 0 );
5538 if (!SWIG_IsOK(res1
)) {
5539 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_IsIconized" "', expected argument " "1"" of type '" "wxTopLevelWindow const *""'");
5541 arg1
= reinterpret_cast< wxTopLevelWindow
* >(argp1
);
5543 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5544 result
= (bool)((wxTopLevelWindow
const *)arg1
)->IsIconized();
5545 wxPyEndAllowThreads(__tstate
);
5546 if (PyErr_Occurred()) SWIG_fail
;
5549 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5557 SWIGINTERN PyObject
*_wrap_TopLevelWindow_GetIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5558 PyObject
*resultobj
= 0;
5559 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
5563 PyObject
*swig_obj
[1] ;
5565 if (!args
) SWIG_fail
;
5567 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 | 0 );
5568 if (!SWIG_IsOK(res1
)) {
5569 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_GetIcon" "', expected argument " "1"" of type '" "wxTopLevelWindow const *""'");
5571 arg1
= reinterpret_cast< wxTopLevelWindow
* >(argp1
);
5573 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5574 result
= ((wxTopLevelWindow
const *)arg1
)->GetIcon();
5575 wxPyEndAllowThreads(__tstate
);
5576 if (PyErr_Occurred()) SWIG_fail
;
5578 resultobj
= SWIG_NewPointerObj((new wxIcon(static_cast< const wxIcon
& >(result
))), SWIGTYPE_p_wxIcon
, SWIG_POINTER_OWN
| 0 );
5585 SWIGINTERN PyObject
*_wrap_TopLevelWindow_SetIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5586 PyObject
*resultobj
= 0;
5587 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
5593 PyObject
* obj0
= 0 ;
5594 PyObject
* obj1
= 0 ;
5595 char * kwnames
[] = {
5596 (char *) "self",(char *) "icon", NULL
5599 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TopLevelWindow_SetIcon",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5600 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 | 0 );
5601 if (!SWIG_IsOK(res1
)) {
5602 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_SetIcon" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5604 arg1
= reinterpret_cast< wxTopLevelWindow
* >(argp1
);
5605 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxIcon
, 0 | 0);
5606 if (!SWIG_IsOK(res2
)) {
5607 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TopLevelWindow_SetIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
5610 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TopLevelWindow_SetIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
5612 arg2
= reinterpret_cast< wxIcon
* >(argp2
);
5614 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5615 (arg1
)->SetIcon((wxIcon
const &)*arg2
);
5616 wxPyEndAllowThreads(__tstate
);
5617 if (PyErr_Occurred()) SWIG_fail
;
5619 resultobj
= SWIG_Py_Void();
5626 SWIGINTERN PyObject
*_wrap_TopLevelWindow_SetIcons(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5627 PyObject
*resultobj
= 0;
5628 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
5629 wxIconBundle
*arg2
= 0 ;
5634 PyObject
* obj0
= 0 ;
5635 PyObject
* obj1
= 0 ;
5636 char * kwnames
[] = {
5637 (char *) "self",(char *) "icons", NULL
5640 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TopLevelWindow_SetIcons",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5641 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 | 0 );
5642 if (!SWIG_IsOK(res1
)) {
5643 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_SetIcons" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5645 arg1
= reinterpret_cast< wxTopLevelWindow
* >(argp1
);
5646 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxIconBundle
, 0 | 0);
5647 if (!SWIG_IsOK(res2
)) {
5648 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TopLevelWindow_SetIcons" "', expected argument " "2"" of type '" "wxIconBundle const &""'");
5651 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TopLevelWindow_SetIcons" "', expected argument " "2"" of type '" "wxIconBundle const &""'");
5653 arg2
= reinterpret_cast< wxIconBundle
* >(argp2
);
5655 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5656 (arg1
)->SetIcons((wxIconBundle
const &)*arg2
);
5657 wxPyEndAllowThreads(__tstate
);
5658 if (PyErr_Occurred()) SWIG_fail
;
5660 resultobj
= SWIG_Py_Void();
5667 SWIGINTERN PyObject
*_wrap_TopLevelWindow_ShowFullScreen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5668 PyObject
*resultobj
= 0;
5669 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
5671 long arg3
= (long) wxFULLSCREEN_ALL
;
5679 PyObject
* obj0
= 0 ;
5680 PyObject
* obj1
= 0 ;
5681 PyObject
* obj2
= 0 ;
5682 char * kwnames
[] = {
5683 (char *) "self",(char *) "show",(char *) "style", NULL
5686 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TopLevelWindow_ShowFullScreen",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
5687 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 | 0 );
5688 if (!SWIG_IsOK(res1
)) {
5689 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_ShowFullScreen" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5691 arg1
= reinterpret_cast< wxTopLevelWindow
* >(argp1
);
5692 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
5693 if (!SWIG_IsOK(ecode2
)) {
5694 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TopLevelWindow_ShowFullScreen" "', expected argument " "2"" of type '" "bool""'");
5696 arg2
= static_cast< bool >(val2
);
5698 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
5699 if (!SWIG_IsOK(ecode3
)) {
5700 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TopLevelWindow_ShowFullScreen" "', expected argument " "3"" of type '" "long""'");
5702 arg3
= static_cast< long >(val3
);
5705 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5706 result
= (bool)(arg1
)->ShowFullScreen(arg2
,arg3
);
5707 wxPyEndAllowThreads(__tstate
);
5708 if (PyErr_Occurred()) SWIG_fail
;
5711 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5719 SWIGINTERN PyObject
*_wrap_TopLevelWindow_IsFullScreen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5720 PyObject
*resultobj
= 0;
5721 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
5725 PyObject
*swig_obj
[1] ;
5727 if (!args
) SWIG_fail
;
5729 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 | 0 );
5730 if (!SWIG_IsOK(res1
)) {
5731 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_IsFullScreen" "', expected argument " "1"" of type '" "wxTopLevelWindow const *""'");
5733 arg1
= reinterpret_cast< wxTopLevelWindow
* >(argp1
);
5735 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5736 result
= (bool)((wxTopLevelWindow
const *)arg1
)->IsFullScreen();
5737 wxPyEndAllowThreads(__tstate
);
5738 if (PyErr_Occurred()) SWIG_fail
;
5741 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5749 SWIGINTERN PyObject
*_wrap_TopLevelWindow_SetTitle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5750 PyObject
*resultobj
= 0;
5751 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
5752 wxString
*arg2
= 0 ;
5755 bool temp2
= false ;
5756 PyObject
* obj0
= 0 ;
5757 PyObject
* obj1
= 0 ;
5758 char * kwnames
[] = {
5759 (char *) "self",(char *) "title", NULL
5762 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TopLevelWindow_SetTitle",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5763 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 | 0 );
5764 if (!SWIG_IsOK(res1
)) {
5765 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_SetTitle" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5767 arg1
= reinterpret_cast< wxTopLevelWindow
* >(argp1
);
5769 arg2
= wxString_in_helper(obj1
);
5770 if (arg2
== NULL
) SWIG_fail
;
5774 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5775 (arg1
)->SetTitle((wxString
const &)*arg2
);
5776 wxPyEndAllowThreads(__tstate
);
5777 if (PyErr_Occurred()) SWIG_fail
;
5779 resultobj
= SWIG_Py_Void();
5794 SWIGINTERN PyObject
*_wrap_TopLevelWindow_GetTitle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5795 PyObject
*resultobj
= 0;
5796 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
5800 PyObject
*swig_obj
[1] ;
5802 if (!args
) SWIG_fail
;
5804 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 | 0 );
5805 if (!SWIG_IsOK(res1
)) {
5806 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_GetTitle" "', expected argument " "1"" of type '" "wxTopLevelWindow const *""'");
5808 arg1
= reinterpret_cast< wxTopLevelWindow
* >(argp1
);
5810 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5811 result
= ((wxTopLevelWindow
const *)arg1
)->GetTitle();
5812 wxPyEndAllowThreads(__tstate
);
5813 if (PyErr_Occurred()) SWIG_fail
;
5817 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
5819 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
5828 SWIGINTERN PyObject
*_wrap_TopLevelWindow_EnableCloseButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5829 PyObject
*resultobj
= 0;
5830 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
5837 PyObject
* obj0
= 0 ;
5838 PyObject
* obj1
= 0 ;
5839 char * kwnames
[] = {
5840 (char *) "self",(char *) "enable", NULL
5843 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TopLevelWindow_EnableCloseButton",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5844 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 | 0 );
5845 if (!SWIG_IsOK(res1
)) {
5846 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_EnableCloseButton" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5848 arg1
= reinterpret_cast< wxTopLevelWindow
* >(argp1
);
5849 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
5850 if (!SWIG_IsOK(ecode2
)) {
5851 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TopLevelWindow_EnableCloseButton" "', expected argument " "2"" of type '" "bool""'");
5853 arg2
= static_cast< bool >(val2
);
5855 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5856 result
= (bool)(arg1
)->EnableCloseButton(arg2
);
5857 wxPyEndAllowThreads(__tstate
);
5858 if (PyErr_Occurred()) SWIG_fail
;
5861 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5869 SWIGINTERN PyObject
*_wrap_TopLevelWindow_SetShape(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5870 PyObject
*resultobj
= 0;
5871 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
5872 wxRegion
*arg2
= 0 ;
5878 PyObject
* obj0
= 0 ;
5879 PyObject
* obj1
= 0 ;
5880 char * kwnames
[] = {
5881 (char *) "self",(char *) "region", NULL
5884 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TopLevelWindow_SetShape",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5885 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 | 0 );
5886 if (!SWIG_IsOK(res1
)) {
5887 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_SetShape" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5889 arg1
= reinterpret_cast< wxTopLevelWindow
* >(argp1
);
5890 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxRegion
, 0 | 0);
5891 if (!SWIG_IsOK(res2
)) {
5892 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TopLevelWindow_SetShape" "', expected argument " "2"" of type '" "wxRegion const &""'");
5895 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TopLevelWindow_SetShape" "', expected argument " "2"" of type '" "wxRegion const &""'");
5897 arg2
= reinterpret_cast< wxRegion
* >(argp2
);
5899 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5900 result
= (bool)(arg1
)->SetShape((wxRegion
const &)*arg2
);
5901 wxPyEndAllowThreads(__tstate
);
5902 if (PyErr_Occurred()) SWIG_fail
;
5905 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5913 SWIGINTERN PyObject
*_wrap_TopLevelWindow_RequestUserAttention(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5914 PyObject
*resultobj
= 0;
5915 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
5916 int arg2
= (int) wxUSER_ATTENTION_INFO
;
5921 PyObject
* obj0
= 0 ;
5922 PyObject
* obj1
= 0 ;
5923 char * kwnames
[] = {
5924 (char *) "self",(char *) "flags", NULL
5927 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:TopLevelWindow_RequestUserAttention",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5928 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 | 0 );
5929 if (!SWIG_IsOK(res1
)) {
5930 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_RequestUserAttention" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5932 arg1
= reinterpret_cast< wxTopLevelWindow
* >(argp1
);
5934 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
5935 if (!SWIG_IsOK(ecode2
)) {
5936 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TopLevelWindow_RequestUserAttention" "', expected argument " "2"" of type '" "int""'");
5938 arg2
= static_cast< int >(val2
);
5941 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5942 (arg1
)->RequestUserAttention(arg2
);
5943 wxPyEndAllowThreads(__tstate
);
5944 if (PyErr_Occurred()) SWIG_fail
;
5946 resultobj
= SWIG_Py_Void();
5953 SWIGINTERN PyObject
*_wrap_TopLevelWindow_IsActive(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5954 PyObject
*resultobj
= 0;
5955 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
5959 PyObject
*swig_obj
[1] ;
5961 if (!args
) SWIG_fail
;
5963 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 | 0 );
5964 if (!SWIG_IsOK(res1
)) {
5965 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_IsActive" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5967 arg1
= reinterpret_cast< wxTopLevelWindow
* >(argp1
);
5969 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5970 result
= (bool)(arg1
)->IsActive();
5971 wxPyEndAllowThreads(__tstate
);
5972 if (PyErr_Occurred()) SWIG_fail
;
5975 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5983 SWIGINTERN PyObject
*_wrap_TopLevelWindow_MacSetMetalAppearance(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5984 PyObject
*resultobj
= 0;
5985 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
5991 PyObject
* obj0
= 0 ;
5992 PyObject
* obj1
= 0 ;
5993 char * kwnames
[] = {
5994 (char *) "self",(char *) "on", NULL
5997 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TopLevelWindow_MacSetMetalAppearance",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5998 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 | 0 );
5999 if (!SWIG_IsOK(res1
)) {
6000 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_MacSetMetalAppearance" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
6002 arg1
= reinterpret_cast< wxTopLevelWindow
* >(argp1
);
6003 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
6004 if (!SWIG_IsOK(ecode2
)) {
6005 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TopLevelWindow_MacSetMetalAppearance" "', expected argument " "2"" of type '" "bool""'");
6007 arg2
= static_cast< bool >(val2
);
6009 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6010 wxTopLevelWindow_MacSetMetalAppearance(arg1
,arg2
);
6011 wxPyEndAllowThreads(__tstate
);
6012 if (PyErr_Occurred()) SWIG_fail
;
6014 resultobj
= SWIG_Py_Void();
6021 SWIGINTERN PyObject
*_wrap_TopLevelWindow_MacGetMetalAppearance(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6022 PyObject
*resultobj
= 0;
6023 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
6027 PyObject
*swig_obj
[1] ;
6029 if (!args
) SWIG_fail
;
6031 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 | 0 );
6032 if (!SWIG_IsOK(res1
)) {
6033 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_MacGetMetalAppearance" "', expected argument " "1"" of type '" "wxTopLevelWindow const *""'");
6035 arg1
= reinterpret_cast< wxTopLevelWindow
* >(argp1
);
6037 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6038 result
= (bool)wxTopLevelWindow_MacGetMetalAppearance((wxTopLevelWindow
const *)arg1
);
6039 wxPyEndAllowThreads(__tstate
);
6040 if (PyErr_Occurred()) SWIG_fail
;
6043 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6051 SWIGINTERN PyObject
*_wrap_TopLevelWindow_CenterOnScreen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6052 PyObject
*resultobj
= 0;
6053 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
6054 int arg2
= (int) wxBOTH
;
6059 PyObject
* obj0
= 0 ;
6060 PyObject
* obj1
= 0 ;
6061 char * kwnames
[] = {
6062 (char *) "self",(char *) "dir", NULL
6065 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:TopLevelWindow_CenterOnScreen",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6066 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 | 0 );
6067 if (!SWIG_IsOK(res1
)) {
6068 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_CenterOnScreen" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
6070 arg1
= reinterpret_cast< wxTopLevelWindow
* >(argp1
);
6072 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
6073 if (!SWIG_IsOK(ecode2
)) {
6074 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TopLevelWindow_CenterOnScreen" "', expected argument " "2"" of type '" "int""'");
6076 arg2
= static_cast< int >(val2
);
6079 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6080 (arg1
)->CenterOnScreen(arg2
);
6081 wxPyEndAllowThreads(__tstate
);
6082 if (PyErr_Occurred()) SWIG_fail
;
6084 resultobj
= SWIG_Py_Void();
6091 SWIGINTERN PyObject
*_wrap_TopLevelWindow_GetDefaultItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6092 PyObject
*resultobj
= 0;
6093 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
6094 wxWindow
*result
= 0 ;
6097 PyObject
*swig_obj
[1] ;
6099 if (!args
) SWIG_fail
;
6101 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 | 0 );
6102 if (!SWIG_IsOK(res1
)) {
6103 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_GetDefaultItem" "', expected argument " "1"" of type '" "wxTopLevelWindow const *""'");
6105 arg1
= reinterpret_cast< wxTopLevelWindow
* >(argp1
);
6107 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6108 result
= (wxWindow
*)((wxTopLevelWindow
const *)arg1
)->GetDefaultItem();
6109 wxPyEndAllowThreads(__tstate
);
6110 if (PyErr_Occurred()) SWIG_fail
;
6113 resultobj
= wxPyMake_wxObject(result
, 0);
6121 SWIGINTERN PyObject
*_wrap_TopLevelWindow_SetDefaultItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6122 PyObject
*resultobj
= 0;
6123 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
6124 wxWindow
*arg2
= (wxWindow
*) 0 ;
6125 wxWindow
*result
= 0 ;
6130 PyObject
* obj0
= 0 ;
6131 PyObject
* obj1
= 0 ;
6132 char * kwnames
[] = {
6133 (char *) "self",(char *) "child", NULL
6136 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TopLevelWindow_SetDefaultItem",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6137 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 | 0 );
6138 if (!SWIG_IsOK(res1
)) {
6139 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_SetDefaultItem" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
6141 arg1
= reinterpret_cast< wxTopLevelWindow
* >(argp1
);
6142 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
6143 if (!SWIG_IsOK(res2
)) {
6144 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TopLevelWindow_SetDefaultItem" "', expected argument " "2"" of type '" "wxWindow *""'");
6146 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
6148 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6149 result
= (wxWindow
*)(arg1
)->SetDefaultItem(arg2
);
6150 wxPyEndAllowThreads(__tstate
);
6151 if (PyErr_Occurred()) SWIG_fail
;
6154 resultobj
= wxPyMake_wxObject(result
, 0);
6162 SWIGINTERN PyObject
*_wrap_TopLevelWindow_SetTmpDefaultItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6163 PyObject
*resultobj
= 0;
6164 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
6165 wxWindow
*arg2
= (wxWindow
*) 0 ;
6170 PyObject
* obj0
= 0 ;
6171 PyObject
* obj1
= 0 ;
6172 char * kwnames
[] = {
6173 (char *) "self",(char *) "win", NULL
6176 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TopLevelWindow_SetTmpDefaultItem",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6177 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 | 0 );
6178 if (!SWIG_IsOK(res1
)) {
6179 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_SetTmpDefaultItem" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
6181 arg1
= reinterpret_cast< wxTopLevelWindow
* >(argp1
);
6182 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
6183 if (!SWIG_IsOK(res2
)) {
6184 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TopLevelWindow_SetTmpDefaultItem" "', expected argument " "2"" of type '" "wxWindow *""'");
6186 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
6188 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6189 (arg1
)->SetTmpDefaultItem(arg2
);
6190 wxPyEndAllowThreads(__tstate
);
6191 if (PyErr_Occurred()) SWIG_fail
;
6193 resultobj
= SWIG_Py_Void();
6200 SWIGINTERN PyObject
*_wrap_TopLevelWindow_GetTmpDefaultItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6201 PyObject
*resultobj
= 0;
6202 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
6203 wxWindow
*result
= 0 ;
6206 PyObject
*swig_obj
[1] ;
6208 if (!args
) SWIG_fail
;
6210 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 | 0 );
6211 if (!SWIG_IsOK(res1
)) {
6212 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_GetTmpDefaultItem" "', expected argument " "1"" of type '" "wxTopLevelWindow const *""'");
6214 arg1
= reinterpret_cast< wxTopLevelWindow
* >(argp1
);
6216 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6217 result
= (wxWindow
*)((wxTopLevelWindow
const *)arg1
)->GetTmpDefaultItem();
6218 wxPyEndAllowThreads(__tstate
);
6219 if (PyErr_Occurred()) SWIG_fail
;
6222 resultobj
= wxPyMake_wxObject(result
, 0);
6230 SWIGINTERN PyObject
*TopLevelWindow_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6232 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
6233 SWIG_TypeNewClientData(SWIGTYPE_p_wxTopLevelWindow
, SWIG_NewClientData(obj
));
6234 return SWIG_Py_Void();
6237 SWIGINTERN PyObject
*_wrap_new_Frame(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6238 PyObject
*resultobj
= 0;
6239 wxWindow
*arg1
= (wxWindow
*) 0 ;
6240 int arg2
= (int) (int)-1 ;
6241 wxString
const &arg3_defvalue
= wxPyEmptyString
;
6242 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
6243 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
6244 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
6245 wxSize
const &arg5_defvalue
= wxDefaultSize
;
6246 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
6247 long arg6
= (long) wxDEFAULT_FRAME_STYLE
;
6248 wxString
const &arg7_defvalue
= wxPyFrameNameStr
;
6249 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
6250 wxFrame
*result
= 0 ;
6255 bool temp3
= false ;
6260 bool temp7
= false ;
6261 PyObject
* obj0
= 0 ;
6262 PyObject
* obj1
= 0 ;
6263 PyObject
* obj2
= 0 ;
6264 PyObject
* obj3
= 0 ;
6265 PyObject
* obj4
= 0 ;
6266 PyObject
* obj5
= 0 ;
6267 PyObject
* obj6
= 0 ;
6268 char * kwnames
[] = {
6269 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
6272 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_Frame",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
6273 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
6274 if (!SWIG_IsOK(res1
)) {
6275 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_Frame" "', expected argument " "1"" of type '" "wxWindow *""'");
6277 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
6279 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
6280 if (!SWIG_IsOK(ecode2
)) {
6281 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Frame" "', expected argument " "2"" of type '" "int""'");
6283 arg2
= static_cast< int >(val2
);
6287 arg3
= wxString_in_helper(obj2
);
6288 if (arg3
== NULL
) SWIG_fail
;
6295 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
6301 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
6305 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
6306 if (!SWIG_IsOK(ecode6
)) {
6307 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_Frame" "', expected argument " "6"" of type '" "long""'");
6309 arg6
= static_cast< long >(val6
);
6313 arg7
= wxString_in_helper(obj6
);
6314 if (arg7
== NULL
) SWIG_fail
;
6319 if (!wxPyCheckForApp()) SWIG_fail
;
6320 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6321 result
= (wxFrame
*)new wxFrame(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
6322 wxPyEndAllowThreads(__tstate
);
6323 if (PyErr_Occurred()) SWIG_fail
;
6325 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFrame
, SWIG_POINTER_NEW
| 0 );
6348 SWIGINTERN PyObject
*_wrap_new_PreFrame(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6349 PyObject
*resultobj
= 0;
6350 wxFrame
*result
= 0 ;
6352 if (!SWIG_Python_UnpackTuple(args
,"new_PreFrame",0,0,0)) SWIG_fail
;
6354 if (!wxPyCheckForApp()) SWIG_fail
;
6355 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6356 result
= (wxFrame
*)new wxFrame();
6357 wxPyEndAllowThreads(__tstate
);
6358 if (PyErr_Occurred()) SWIG_fail
;
6360 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFrame
, SWIG_POINTER_OWN
| 0 );
6367 SWIGINTERN PyObject
*_wrap_Frame_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6368 PyObject
*resultobj
= 0;
6369 wxFrame
*arg1
= (wxFrame
*) 0 ;
6370 wxWindow
*arg2
= (wxWindow
*) 0 ;
6371 int arg3
= (int) (int)-1 ;
6372 wxString
const &arg4_defvalue
= wxPyEmptyString
;
6373 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
6374 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
6375 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
6376 wxSize
const &arg6_defvalue
= wxDefaultSize
;
6377 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
6378 long arg7
= (long) wxDEFAULT_FRAME_STYLE
;
6379 wxString
const &arg8_defvalue
= wxPyFrameNameStr
;
6380 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
6388 bool temp4
= false ;
6393 bool temp8
= false ;
6394 PyObject
* obj0
= 0 ;
6395 PyObject
* obj1
= 0 ;
6396 PyObject
* obj2
= 0 ;
6397 PyObject
* obj3
= 0 ;
6398 PyObject
* obj4
= 0 ;
6399 PyObject
* obj5
= 0 ;
6400 PyObject
* obj6
= 0 ;
6401 PyObject
* obj7
= 0 ;
6402 char * kwnames
[] = {
6403 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
6406 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:Frame_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
6407 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFrame
, 0 | 0 );
6408 if (!SWIG_IsOK(res1
)) {
6409 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Frame_Create" "', expected argument " "1"" of type '" "wxFrame *""'");
6411 arg1
= reinterpret_cast< wxFrame
* >(argp1
);
6412 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
6413 if (!SWIG_IsOK(res2
)) {
6414 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Frame_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
6416 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
6418 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
6419 if (!SWIG_IsOK(ecode3
)) {
6420 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Frame_Create" "', expected argument " "3"" of type '" "int""'");
6422 arg3
= static_cast< int >(val3
);
6426 arg4
= wxString_in_helper(obj3
);
6427 if (arg4
== NULL
) SWIG_fail
;
6434 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
6440 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
6444 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
6445 if (!SWIG_IsOK(ecode7
)) {
6446 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "Frame_Create" "', expected argument " "7"" of type '" "long""'");
6448 arg7
= static_cast< long >(val7
);
6452 arg8
= wxString_in_helper(obj7
);
6453 if (arg8
== NULL
) SWIG_fail
;
6458 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6459 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
6460 wxPyEndAllowThreads(__tstate
);
6461 if (PyErr_Occurred()) SWIG_fail
;
6464 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6488 SWIGINTERN PyObject
*_wrap_Frame_SendSizeEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6489 PyObject
*resultobj
= 0;
6490 wxFrame
*arg1
= (wxFrame
*) 0 ;
6493 PyObject
*swig_obj
[1] ;
6495 if (!args
) SWIG_fail
;
6497 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFrame
, 0 | 0 );
6498 if (!SWIG_IsOK(res1
)) {
6499 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Frame_SendSizeEvent" "', expected argument " "1"" of type '" "wxFrame *""'");
6501 arg1
= reinterpret_cast< wxFrame
* >(argp1
);
6503 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6504 (arg1
)->SendSizeEvent();
6505 wxPyEndAllowThreads(__tstate
);
6506 if (PyErr_Occurred()) SWIG_fail
;
6508 resultobj
= SWIG_Py_Void();
6515 SWIGINTERN PyObject
*_wrap_Frame_SetMenuBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6516 PyObject
*resultobj
= 0;
6517 wxFrame
*arg1
= (wxFrame
*) 0 ;
6518 wxMenuBar
*arg2
= (wxMenuBar
*) 0 ;
6523 PyObject
* obj0
= 0 ;
6524 PyObject
* obj1
= 0 ;
6525 char * kwnames
[] = {
6526 (char *) "self",(char *) "menubar", NULL
6529 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Frame_SetMenuBar",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6530 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFrame
, 0 | 0 );
6531 if (!SWIG_IsOK(res1
)) {
6532 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Frame_SetMenuBar" "', expected argument " "1"" of type '" "wxFrame *""'");
6534 arg1
= reinterpret_cast< wxFrame
* >(argp1
);
6535 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxMenuBar
, 0 | 0 );
6536 if (!SWIG_IsOK(res2
)) {
6537 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Frame_SetMenuBar" "', expected argument " "2"" of type '" "wxMenuBar *""'");
6539 arg2
= reinterpret_cast< wxMenuBar
* >(argp2
);
6541 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6542 (arg1
)->SetMenuBar(arg2
);
6543 wxPyEndAllowThreads(__tstate
);
6544 if (PyErr_Occurred()) SWIG_fail
;
6546 resultobj
= SWIG_Py_Void();
6553 SWIGINTERN PyObject
*_wrap_Frame_GetMenuBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6554 PyObject
*resultobj
= 0;
6555 wxFrame
*arg1
= (wxFrame
*) 0 ;
6556 wxMenuBar
*result
= 0 ;
6559 PyObject
*swig_obj
[1] ;
6561 if (!args
) SWIG_fail
;
6563 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFrame
, 0 | 0 );
6564 if (!SWIG_IsOK(res1
)) {
6565 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Frame_GetMenuBar" "', expected argument " "1"" of type '" "wxFrame const *""'");
6567 arg1
= reinterpret_cast< wxFrame
* >(argp1
);
6569 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6570 result
= (wxMenuBar
*)((wxFrame
const *)arg1
)->GetMenuBar();
6571 wxPyEndAllowThreads(__tstate
);
6572 if (PyErr_Occurred()) SWIG_fail
;
6575 resultobj
= wxPyMake_wxObject(result
, 0);
6583 SWIGINTERN PyObject
*_wrap_Frame_ProcessCommand(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6584 PyObject
*resultobj
= 0;
6585 wxFrame
*arg1
= (wxFrame
*) 0 ;
6592 PyObject
* obj0
= 0 ;
6593 PyObject
* obj1
= 0 ;
6594 char * kwnames
[] = {
6595 (char *) "self",(char *) "winid", NULL
6598 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Frame_ProcessCommand",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6599 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFrame
, 0 | 0 );
6600 if (!SWIG_IsOK(res1
)) {
6601 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Frame_ProcessCommand" "', expected argument " "1"" of type '" "wxFrame *""'");
6603 arg1
= reinterpret_cast< wxFrame
* >(argp1
);
6604 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
6605 if (!SWIG_IsOK(ecode2
)) {
6606 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Frame_ProcessCommand" "', expected argument " "2"" of type '" "int""'");
6608 arg2
= static_cast< int >(val2
);
6610 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6611 result
= (bool)(arg1
)->ProcessCommand(arg2
);
6612 wxPyEndAllowThreads(__tstate
);
6613 if (PyErr_Occurred()) SWIG_fail
;
6616 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6624 SWIGINTERN PyObject
*_wrap_Frame_CreateStatusBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6625 PyObject
*resultobj
= 0;
6626 wxFrame
*arg1
= (wxFrame
*) 0 ;
6627 int arg2
= (int) 1 ;
6628 long arg3
= (long) wxDEFAULT_STATUSBAR_STYLE
;
6629 int arg4
= (int) 0 ;
6630 wxString
const &arg5_defvalue
= wxPyStatusLineNameStr
;
6631 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
6632 wxStatusBar
*result
= 0 ;
6641 bool temp5
= false ;
6642 PyObject
* obj0
= 0 ;
6643 PyObject
* obj1
= 0 ;
6644 PyObject
* obj2
= 0 ;
6645 PyObject
* obj3
= 0 ;
6646 PyObject
* obj4
= 0 ;
6647 char * kwnames
[] = {
6648 (char *) "self",(char *) "number",(char *) "style",(char *) "winid",(char *) "name", NULL
6651 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOO:Frame_CreateStatusBar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
6652 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFrame
, 0 | 0 );
6653 if (!SWIG_IsOK(res1
)) {
6654 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Frame_CreateStatusBar" "', expected argument " "1"" of type '" "wxFrame *""'");
6656 arg1
= reinterpret_cast< wxFrame
* >(argp1
);
6658 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
6659 if (!SWIG_IsOK(ecode2
)) {
6660 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Frame_CreateStatusBar" "', expected argument " "2"" of type '" "int""'");
6662 arg2
= static_cast< int >(val2
);
6665 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
6666 if (!SWIG_IsOK(ecode3
)) {
6667 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Frame_CreateStatusBar" "', expected argument " "3"" of type '" "long""'");
6669 arg3
= static_cast< long >(val3
);
6672 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
6673 if (!SWIG_IsOK(ecode4
)) {
6674 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Frame_CreateStatusBar" "', expected argument " "4"" of type '" "int""'");
6676 arg4
= static_cast< int >(val4
);
6680 arg5
= wxString_in_helper(obj4
);
6681 if (arg5
== NULL
) SWIG_fail
;
6686 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6687 result
= (wxStatusBar
*)(arg1
)->CreateStatusBar(arg2
,arg3
,arg4
,(wxString
const &)*arg5
);
6688 wxPyEndAllowThreads(__tstate
);
6689 if (PyErr_Occurred()) SWIG_fail
;
6692 resultobj
= wxPyMake_wxObject(result
, (bool)0);
6708 SWIGINTERN PyObject
*_wrap_Frame_GetStatusBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6709 PyObject
*resultobj
= 0;
6710 wxFrame
*arg1
= (wxFrame
*) 0 ;
6711 wxStatusBar
*result
= 0 ;
6714 PyObject
*swig_obj
[1] ;
6716 if (!args
) SWIG_fail
;
6718 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFrame
, 0 | 0 );
6719 if (!SWIG_IsOK(res1
)) {
6720 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Frame_GetStatusBar" "', expected argument " "1"" of type '" "wxFrame const *""'");
6722 arg1
= reinterpret_cast< wxFrame
* >(argp1
);
6724 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6725 result
= (wxStatusBar
*)((wxFrame
const *)arg1
)->GetStatusBar();
6726 wxPyEndAllowThreads(__tstate
);
6727 if (PyErr_Occurred()) SWIG_fail
;
6730 resultobj
= wxPyMake_wxObject(result
, (bool)0);
6738 SWIGINTERN PyObject
*_wrap_Frame_SetStatusBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6739 PyObject
*resultobj
= 0;
6740 wxFrame
*arg1
= (wxFrame
*) 0 ;
6741 wxStatusBar
*arg2
= (wxStatusBar
*) 0 ;
6746 PyObject
* obj0
= 0 ;
6747 PyObject
* obj1
= 0 ;
6748 char * kwnames
[] = {
6749 (char *) "self",(char *) "statBar", NULL
6752 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Frame_SetStatusBar",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6753 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFrame
, 0 | 0 );
6754 if (!SWIG_IsOK(res1
)) {
6755 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Frame_SetStatusBar" "', expected argument " "1"" of type '" "wxFrame *""'");
6757 arg1
= reinterpret_cast< wxFrame
* >(argp1
);
6758 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxStatusBar
, 0 | 0 );
6759 if (!SWIG_IsOK(res2
)) {
6760 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Frame_SetStatusBar" "', expected argument " "2"" of type '" "wxStatusBar *""'");
6762 arg2
= reinterpret_cast< wxStatusBar
* >(argp2
);
6764 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6765 (arg1
)->SetStatusBar(arg2
);
6766 wxPyEndAllowThreads(__tstate
);
6767 if (PyErr_Occurred()) SWIG_fail
;
6769 resultobj
= SWIG_Py_Void();
6776 SWIGINTERN PyObject
*_wrap_Frame_SetStatusText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6777 PyObject
*resultobj
= 0;
6778 wxFrame
*arg1
= (wxFrame
*) 0 ;
6779 wxString
*arg2
= 0 ;
6780 int arg3
= (int) 0 ;
6783 bool temp2
= false ;
6786 PyObject
* obj0
= 0 ;
6787 PyObject
* obj1
= 0 ;
6788 PyObject
* obj2
= 0 ;
6789 char * kwnames
[] = {
6790 (char *) "self",(char *) "text",(char *) "number", NULL
6793 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Frame_SetStatusText",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
6794 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFrame
, 0 | 0 );
6795 if (!SWIG_IsOK(res1
)) {
6796 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Frame_SetStatusText" "', expected argument " "1"" of type '" "wxFrame *""'");
6798 arg1
= reinterpret_cast< wxFrame
* >(argp1
);
6800 arg2
= wxString_in_helper(obj1
);
6801 if (arg2
== NULL
) SWIG_fail
;
6805 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
6806 if (!SWIG_IsOK(ecode3
)) {
6807 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Frame_SetStatusText" "', expected argument " "3"" of type '" "int""'");
6809 arg3
= static_cast< int >(val3
);
6812 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6813 (arg1
)->SetStatusText((wxString
const &)*arg2
,arg3
);
6814 wxPyEndAllowThreads(__tstate
);
6815 if (PyErr_Occurred()) SWIG_fail
;
6817 resultobj
= SWIG_Py_Void();
6832 SWIGINTERN PyObject
*_wrap_Frame_SetStatusWidths(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6833 PyObject
*resultobj
= 0;
6834 wxFrame
*arg1
= (wxFrame
*) 0 ;
6836 int *arg3
= (int *) 0 ;
6839 PyObject
* obj0
= 0 ;
6840 PyObject
* obj1
= 0 ;
6841 char * kwnames
[] = {
6842 (char *) "self",(char *) "widths", NULL
6845 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Frame_SetStatusWidths",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6846 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFrame
, 0 | 0 );
6847 if (!SWIG_IsOK(res1
)) {
6848 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Frame_SetStatusWidths" "', expected argument " "1"" of type '" "wxFrame *""'");
6850 arg1
= reinterpret_cast< wxFrame
* >(argp1
);
6852 arg2
= PyList_Size(obj1
);
6853 arg3
= int_LIST_helper(obj1
);
6854 if (arg3
== NULL
) SWIG_fail
;
6857 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6858 (arg1
)->SetStatusWidths(arg2
,(int const *)arg3
);
6859 wxPyEndAllowThreads(__tstate
);
6860 if (PyErr_Occurred()) SWIG_fail
;
6862 resultobj
= SWIG_Py_Void();
6864 if (arg3
) delete [] arg3
;
6869 if (arg3
) delete [] arg3
;
6875 SWIGINTERN PyObject
*_wrap_Frame_PushStatusText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6876 PyObject
*resultobj
= 0;
6877 wxFrame
*arg1
= (wxFrame
*) 0 ;
6878 wxString
*arg2
= 0 ;
6879 int arg3
= (int) 0 ;
6882 bool temp2
= false ;
6885 PyObject
* obj0
= 0 ;
6886 PyObject
* obj1
= 0 ;
6887 PyObject
* obj2
= 0 ;
6888 char * kwnames
[] = {
6889 (char *) "self",(char *) "text",(char *) "number", NULL
6892 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Frame_PushStatusText",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
6893 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFrame
, 0 | 0 );
6894 if (!SWIG_IsOK(res1
)) {
6895 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Frame_PushStatusText" "', expected argument " "1"" of type '" "wxFrame *""'");
6897 arg1
= reinterpret_cast< wxFrame
* >(argp1
);
6899 arg2
= wxString_in_helper(obj1
);
6900 if (arg2
== NULL
) SWIG_fail
;
6904 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
6905 if (!SWIG_IsOK(ecode3
)) {
6906 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Frame_PushStatusText" "', expected argument " "3"" of type '" "int""'");
6908 arg3
= static_cast< int >(val3
);
6911 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6912 (arg1
)->PushStatusText((wxString
const &)*arg2
,arg3
);
6913 wxPyEndAllowThreads(__tstate
);
6914 if (PyErr_Occurred()) SWIG_fail
;
6916 resultobj
= SWIG_Py_Void();
6931 SWIGINTERN PyObject
*_wrap_Frame_PopStatusText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6932 PyObject
*resultobj
= 0;
6933 wxFrame
*arg1
= (wxFrame
*) 0 ;
6934 int arg2
= (int) 0 ;
6939 PyObject
* obj0
= 0 ;
6940 PyObject
* obj1
= 0 ;
6941 char * kwnames
[] = {
6942 (char *) "self",(char *) "number", NULL
6945 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Frame_PopStatusText",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6946 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFrame
, 0 | 0 );
6947 if (!SWIG_IsOK(res1
)) {
6948 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Frame_PopStatusText" "', expected argument " "1"" of type '" "wxFrame *""'");
6950 arg1
= reinterpret_cast< wxFrame
* >(argp1
);
6952 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
6953 if (!SWIG_IsOK(ecode2
)) {
6954 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Frame_PopStatusText" "', expected argument " "2"" of type '" "int""'");
6956 arg2
= static_cast< int >(val2
);
6959 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6960 (arg1
)->PopStatusText(arg2
);
6961 wxPyEndAllowThreads(__tstate
);
6962 if (PyErr_Occurred()) SWIG_fail
;
6964 resultobj
= SWIG_Py_Void();
6971 SWIGINTERN PyObject
*_wrap_Frame_SetStatusBarPane(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6972 PyObject
*resultobj
= 0;
6973 wxFrame
*arg1
= (wxFrame
*) 0 ;
6979 PyObject
* obj0
= 0 ;
6980 PyObject
* obj1
= 0 ;
6981 char * kwnames
[] = {
6982 (char *) "self",(char *) "n", NULL
6985 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Frame_SetStatusBarPane",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6986 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFrame
, 0 | 0 );
6987 if (!SWIG_IsOK(res1
)) {
6988 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Frame_SetStatusBarPane" "', expected argument " "1"" of type '" "wxFrame *""'");
6990 arg1
= reinterpret_cast< wxFrame
* >(argp1
);
6991 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
6992 if (!SWIG_IsOK(ecode2
)) {
6993 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Frame_SetStatusBarPane" "', expected argument " "2"" of type '" "int""'");
6995 arg2
= static_cast< int >(val2
);
6997 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6998 (arg1
)->SetStatusBarPane(arg2
);
6999 wxPyEndAllowThreads(__tstate
);
7000 if (PyErr_Occurred()) SWIG_fail
;
7002 resultobj
= SWIG_Py_Void();
7009 SWIGINTERN PyObject
*_wrap_Frame_GetStatusBarPane(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7010 PyObject
*resultobj
= 0;
7011 wxFrame
*arg1
= (wxFrame
*) 0 ;
7015 PyObject
*swig_obj
[1] ;
7017 if (!args
) SWIG_fail
;
7019 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFrame
, 0 | 0 );
7020 if (!SWIG_IsOK(res1
)) {
7021 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Frame_GetStatusBarPane" "', expected argument " "1"" of type '" "wxFrame const *""'");
7023 arg1
= reinterpret_cast< wxFrame
* >(argp1
);
7025 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7026 result
= (int)((wxFrame
const *)arg1
)->GetStatusBarPane();
7027 wxPyEndAllowThreads(__tstate
);
7028 if (PyErr_Occurred()) SWIG_fail
;
7030 resultobj
= SWIG_From_int(static_cast< int >(result
));
7037 SWIGINTERN PyObject
*_wrap_Frame_CreateToolBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7038 PyObject
*resultobj
= 0;
7039 wxFrame
*arg1
= (wxFrame
*) 0 ;
7040 long arg2
= (long) -1 ;
7041 int arg3
= (int) -1 ;
7042 wxString
const &arg4_defvalue
= wxPyToolBarNameStr
;
7043 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
7044 wxToolBar
*result
= 0 ;
7051 bool temp4
= false ;
7052 PyObject
* obj0
= 0 ;
7053 PyObject
* obj1
= 0 ;
7054 PyObject
* obj2
= 0 ;
7055 PyObject
* obj3
= 0 ;
7056 char * kwnames
[] = {
7057 (char *) "self",(char *) "style",(char *) "winid",(char *) "name", NULL
7060 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOO:Frame_CreateToolBar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
7061 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFrame
, 0 | 0 );
7062 if (!SWIG_IsOK(res1
)) {
7063 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Frame_CreateToolBar" "', expected argument " "1"" of type '" "wxFrame *""'");
7065 arg1
= reinterpret_cast< wxFrame
* >(argp1
);
7067 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
7068 if (!SWIG_IsOK(ecode2
)) {
7069 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Frame_CreateToolBar" "', expected argument " "2"" of type '" "long""'");
7071 arg2
= static_cast< long >(val2
);
7074 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
7075 if (!SWIG_IsOK(ecode3
)) {
7076 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Frame_CreateToolBar" "', expected argument " "3"" of type '" "int""'");
7078 arg3
= static_cast< int >(val3
);
7082 arg4
= wxString_in_helper(obj3
);
7083 if (arg4
== NULL
) SWIG_fail
;
7088 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7089 result
= (wxToolBar
*)(arg1
)->CreateToolBar(arg2
,arg3
,(wxString
const &)*arg4
);
7090 wxPyEndAllowThreads(__tstate
);
7091 if (PyErr_Occurred()) SWIG_fail
;
7094 resultobj
= wxPyMake_wxObject(result
, (bool)0);
7110 SWIGINTERN PyObject
*_wrap_Frame_GetToolBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7111 PyObject
*resultobj
= 0;
7112 wxFrame
*arg1
= (wxFrame
*) 0 ;
7113 wxToolBar
*result
= 0 ;
7116 PyObject
*swig_obj
[1] ;
7118 if (!args
) SWIG_fail
;
7120 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFrame
, 0 | 0 );
7121 if (!SWIG_IsOK(res1
)) {
7122 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Frame_GetToolBar" "', expected argument " "1"" of type '" "wxFrame const *""'");
7124 arg1
= reinterpret_cast< wxFrame
* >(argp1
);
7126 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7127 result
= (wxToolBar
*)((wxFrame
const *)arg1
)->GetToolBar();
7128 wxPyEndAllowThreads(__tstate
);
7129 if (PyErr_Occurred()) SWIG_fail
;
7132 resultobj
= wxPyMake_wxObject(result
, (bool)0);
7140 SWIGINTERN PyObject
*_wrap_Frame_SetToolBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7141 PyObject
*resultobj
= 0;
7142 wxFrame
*arg1
= (wxFrame
*) 0 ;
7143 wxToolBar
*arg2
= (wxToolBar
*) 0 ;
7148 PyObject
* obj0
= 0 ;
7149 PyObject
* obj1
= 0 ;
7150 char * kwnames
[] = {
7151 (char *) "self",(char *) "toolbar", NULL
7154 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Frame_SetToolBar",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7155 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFrame
, 0 | 0 );
7156 if (!SWIG_IsOK(res1
)) {
7157 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Frame_SetToolBar" "', expected argument " "1"" of type '" "wxFrame *""'");
7159 arg1
= reinterpret_cast< wxFrame
* >(argp1
);
7160 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxToolBar
, 0 | 0 );
7161 if (!SWIG_IsOK(res2
)) {
7162 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Frame_SetToolBar" "', expected argument " "2"" of type '" "wxToolBar *""'");
7164 arg2
= reinterpret_cast< wxToolBar
* >(argp2
);
7166 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7167 (arg1
)->SetToolBar(arg2
);
7168 wxPyEndAllowThreads(__tstate
);
7169 if (PyErr_Occurred()) SWIG_fail
;
7171 resultobj
= SWIG_Py_Void();
7178 SWIGINTERN PyObject
*_wrap_Frame_DoGiveHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7179 PyObject
*resultobj
= 0;
7180 wxFrame
*arg1
= (wxFrame
*) 0 ;
7181 wxString
*arg2
= 0 ;
7185 bool temp2
= false ;
7188 PyObject
* obj0
= 0 ;
7189 PyObject
* obj1
= 0 ;
7190 PyObject
* obj2
= 0 ;
7191 char * kwnames
[] = {
7192 (char *) "self",(char *) "text",(char *) "show", NULL
7195 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Frame_DoGiveHelp",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
7196 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFrame
, 0 | 0 );
7197 if (!SWIG_IsOK(res1
)) {
7198 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Frame_DoGiveHelp" "', expected argument " "1"" of type '" "wxFrame *""'");
7200 arg1
= reinterpret_cast< wxFrame
* >(argp1
);
7202 arg2
= wxString_in_helper(obj1
);
7203 if (arg2
== NULL
) SWIG_fail
;
7206 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
7207 if (!SWIG_IsOK(ecode3
)) {
7208 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Frame_DoGiveHelp" "', expected argument " "3"" of type '" "bool""'");
7210 arg3
= static_cast< bool >(val3
);
7212 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7213 (arg1
)->DoGiveHelp((wxString
const &)*arg2
,arg3
);
7214 wxPyEndAllowThreads(__tstate
);
7215 if (PyErr_Occurred()) SWIG_fail
;
7217 resultobj
= SWIG_Py_Void();
7232 SWIGINTERN PyObject
*_wrap_Frame_DoMenuUpdates(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7233 PyObject
*resultobj
= 0;
7234 wxFrame
*arg1
= (wxFrame
*) 0 ;
7235 wxMenu
*arg2
= (wxMenu
*) NULL
;
7240 PyObject
* obj0
= 0 ;
7241 PyObject
* obj1
= 0 ;
7242 char * kwnames
[] = {
7243 (char *) "self",(char *) "menu", NULL
7246 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Frame_DoMenuUpdates",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7247 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFrame
, 0 | 0 );
7248 if (!SWIG_IsOK(res1
)) {
7249 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Frame_DoMenuUpdates" "', expected argument " "1"" of type '" "wxFrame *""'");
7251 arg1
= reinterpret_cast< wxFrame
* >(argp1
);
7253 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxMenu
, 0 | 0 );
7254 if (!SWIG_IsOK(res2
)) {
7255 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Frame_DoMenuUpdates" "', expected argument " "2"" of type '" "wxMenu *""'");
7257 arg2
= reinterpret_cast< wxMenu
* >(argp2
);
7260 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7261 (arg1
)->DoMenuUpdates(arg2
);
7262 wxPyEndAllowThreads(__tstate
);
7263 if (PyErr_Occurred()) SWIG_fail
;
7265 resultobj
= SWIG_Py_Void();
7272 SWIGINTERN PyObject
*_wrap_Frame_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7273 PyObject
*resultobj
= 0;
7274 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
7275 SwigValueWrapper
<wxVisualAttributes
> result
;
7278 PyObject
* obj0
= 0 ;
7279 char * kwnames
[] = {
7280 (char *) "variant", NULL
7283 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Frame_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
7285 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
7286 if (!SWIG_IsOK(ecode1
)) {
7287 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "Frame_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
7289 arg1
= static_cast< wxWindowVariant
>(val1
);
7292 if (!wxPyCheckForApp()) SWIG_fail
;
7293 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7294 result
= wxFrame::GetClassDefaultAttributes(arg1
);
7295 wxPyEndAllowThreads(__tstate
);
7296 if (PyErr_Occurred()) SWIG_fail
;
7298 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
7305 SWIGINTERN PyObject
*Frame_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7307 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
7308 SWIG_TypeNewClientData(SWIGTYPE_p_wxFrame
, SWIG_NewClientData(obj
));
7309 return SWIG_Py_Void();
7312 SWIGINTERN PyObject
*Frame_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7313 return SWIG_Python_InitShadowInstance(args
);
7316 SWIGINTERN PyObject
*_wrap_new_Dialog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7317 PyObject
*resultobj
= 0;
7318 wxWindow
*arg1
= (wxWindow
*) 0 ;
7319 int arg2
= (int) (int)-1 ;
7320 wxString
const &arg3_defvalue
= wxPyEmptyString
;
7321 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
7322 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
7323 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
7324 wxSize
const &arg5_defvalue
= wxDefaultSize
;
7325 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
7326 long arg6
= (long) wxDEFAULT_DIALOG_STYLE
;
7327 wxString
const &arg7_defvalue
= wxPyDialogNameStr
;
7328 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
7329 wxDialog
*result
= 0 ;
7334 bool temp3
= false ;
7339 bool temp7
= false ;
7340 PyObject
* obj0
= 0 ;
7341 PyObject
* obj1
= 0 ;
7342 PyObject
* obj2
= 0 ;
7343 PyObject
* obj3
= 0 ;
7344 PyObject
* obj4
= 0 ;
7345 PyObject
* obj5
= 0 ;
7346 PyObject
* obj6
= 0 ;
7347 char * kwnames
[] = {
7348 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
7351 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_Dialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
7352 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
7353 if (!SWIG_IsOK(res1
)) {
7354 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_Dialog" "', expected argument " "1"" of type '" "wxWindow *""'");
7356 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
7358 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
7359 if (!SWIG_IsOK(ecode2
)) {
7360 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Dialog" "', expected argument " "2"" of type '" "int""'");
7362 arg2
= static_cast< int >(val2
);
7366 arg3
= wxString_in_helper(obj2
);
7367 if (arg3
== NULL
) SWIG_fail
;
7374 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
7380 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
7384 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
7385 if (!SWIG_IsOK(ecode6
)) {
7386 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_Dialog" "', expected argument " "6"" of type '" "long""'");
7388 arg6
= static_cast< long >(val6
);
7392 arg7
= wxString_in_helper(obj6
);
7393 if (arg7
== NULL
) SWIG_fail
;
7398 if (!wxPyCheckForApp()) SWIG_fail
;
7399 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7400 result
= (wxDialog
*)new wxDialog(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
7401 wxPyEndAllowThreads(__tstate
);
7402 if (PyErr_Occurred()) SWIG_fail
;
7404 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDialog
, SWIG_POINTER_NEW
| 0 );
7427 SWIGINTERN PyObject
*_wrap_new_PreDialog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7428 PyObject
*resultobj
= 0;
7429 wxDialog
*result
= 0 ;
7431 if (!SWIG_Python_UnpackTuple(args
,"new_PreDialog",0,0,0)) SWIG_fail
;
7433 if (!wxPyCheckForApp()) SWIG_fail
;
7434 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7435 result
= (wxDialog
*)new wxDialog();
7436 wxPyEndAllowThreads(__tstate
);
7437 if (PyErr_Occurred()) SWIG_fail
;
7439 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDialog
, SWIG_POINTER_OWN
| 0 );
7446 SWIGINTERN PyObject
*_wrap_Dialog_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7447 PyObject
*resultobj
= 0;
7448 wxDialog
*arg1
= (wxDialog
*) 0 ;
7449 wxWindow
*arg2
= (wxWindow
*) 0 ;
7450 int arg3
= (int) (int)-1 ;
7451 wxString
const &arg4_defvalue
= wxPyEmptyString
;
7452 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
7453 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
7454 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
7455 wxSize
const &arg6_defvalue
= wxDefaultSize
;
7456 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
7457 long arg7
= (long) wxDEFAULT_DIALOG_STYLE
;
7458 wxString
const &arg8_defvalue
= wxPyDialogNameStr
;
7459 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
7467 bool temp4
= false ;
7472 bool temp8
= false ;
7473 PyObject
* obj0
= 0 ;
7474 PyObject
* obj1
= 0 ;
7475 PyObject
* obj2
= 0 ;
7476 PyObject
* obj3
= 0 ;
7477 PyObject
* obj4
= 0 ;
7478 PyObject
* obj5
= 0 ;
7479 PyObject
* obj6
= 0 ;
7480 PyObject
* obj7
= 0 ;
7481 char * kwnames
[] = {
7482 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
7485 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:Dialog_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
7486 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDialog
, 0 | 0 );
7487 if (!SWIG_IsOK(res1
)) {
7488 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Dialog_Create" "', expected argument " "1"" of type '" "wxDialog *""'");
7490 arg1
= reinterpret_cast< wxDialog
* >(argp1
);
7491 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
7492 if (!SWIG_IsOK(res2
)) {
7493 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Dialog_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
7495 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
7497 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
7498 if (!SWIG_IsOK(ecode3
)) {
7499 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Dialog_Create" "', expected argument " "3"" of type '" "int""'");
7501 arg3
= static_cast< int >(val3
);
7505 arg4
= wxString_in_helper(obj3
);
7506 if (arg4
== NULL
) SWIG_fail
;
7513 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
7519 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
7523 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
7524 if (!SWIG_IsOK(ecode7
)) {
7525 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "Dialog_Create" "', expected argument " "7"" of type '" "long""'");
7527 arg7
= static_cast< long >(val7
);
7531 arg8
= wxString_in_helper(obj7
);
7532 if (arg8
== NULL
) SWIG_fail
;
7537 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7538 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
7539 wxPyEndAllowThreads(__tstate
);
7540 if (PyErr_Occurred()) SWIG_fail
;
7543 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7567 SWIGINTERN PyObject
*_wrap_Dialog_SetReturnCode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7568 PyObject
*resultobj
= 0;
7569 wxDialog
*arg1
= (wxDialog
*) 0 ;
7575 PyObject
* obj0
= 0 ;
7576 PyObject
* obj1
= 0 ;
7577 char * kwnames
[] = {
7578 (char *) "self",(char *) "returnCode", NULL
7581 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Dialog_SetReturnCode",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7582 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDialog
, 0 | 0 );
7583 if (!SWIG_IsOK(res1
)) {
7584 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Dialog_SetReturnCode" "', expected argument " "1"" of type '" "wxDialog *""'");
7586 arg1
= reinterpret_cast< wxDialog
* >(argp1
);
7587 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
7588 if (!SWIG_IsOK(ecode2
)) {
7589 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Dialog_SetReturnCode" "', expected argument " "2"" of type '" "int""'");
7591 arg2
= static_cast< int >(val2
);
7593 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7594 (arg1
)->SetReturnCode(arg2
);
7595 wxPyEndAllowThreads(__tstate
);
7596 if (PyErr_Occurred()) SWIG_fail
;
7598 resultobj
= SWIG_Py_Void();
7605 SWIGINTERN PyObject
*_wrap_Dialog_GetReturnCode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7606 PyObject
*resultobj
= 0;
7607 wxDialog
*arg1
= (wxDialog
*) 0 ;
7611 PyObject
*swig_obj
[1] ;
7613 if (!args
) SWIG_fail
;
7615 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDialog
, 0 | 0 );
7616 if (!SWIG_IsOK(res1
)) {
7617 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Dialog_GetReturnCode" "', expected argument " "1"" of type '" "wxDialog const *""'");
7619 arg1
= reinterpret_cast< wxDialog
* >(argp1
);
7621 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7622 result
= (int)((wxDialog
const *)arg1
)->GetReturnCode();
7623 wxPyEndAllowThreads(__tstate
);
7624 if (PyErr_Occurred()) SWIG_fail
;
7626 resultobj
= SWIG_From_int(static_cast< int >(result
));
7633 SWIGINTERN PyObject
*_wrap_Dialog_SetAffirmativeId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7634 PyObject
*resultobj
= 0;
7635 wxDialog
*arg1
= (wxDialog
*) 0 ;
7641 PyObject
* obj0
= 0 ;
7642 PyObject
* obj1
= 0 ;
7643 char * kwnames
[] = {
7644 (char *) "self",(char *) "affirmativeId", NULL
7647 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Dialog_SetAffirmativeId",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7648 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDialog
, 0 | 0 );
7649 if (!SWIG_IsOK(res1
)) {
7650 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Dialog_SetAffirmativeId" "', expected argument " "1"" of type '" "wxDialog *""'");
7652 arg1
= reinterpret_cast< wxDialog
* >(argp1
);
7653 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
7654 if (!SWIG_IsOK(ecode2
)) {
7655 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Dialog_SetAffirmativeId" "', expected argument " "2"" of type '" "int""'");
7657 arg2
= static_cast< int >(val2
);
7659 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7660 (arg1
)->SetAffirmativeId(arg2
);
7661 wxPyEndAllowThreads(__tstate
);
7662 if (PyErr_Occurred()) SWIG_fail
;
7664 resultobj
= SWIG_Py_Void();
7671 SWIGINTERN PyObject
*_wrap_Dialog_GetAffirmativeId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7672 PyObject
*resultobj
= 0;
7673 wxDialog
*arg1
= (wxDialog
*) 0 ;
7677 PyObject
*swig_obj
[1] ;
7679 if (!args
) SWIG_fail
;
7681 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDialog
, 0 | 0 );
7682 if (!SWIG_IsOK(res1
)) {
7683 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Dialog_GetAffirmativeId" "', expected argument " "1"" of type '" "wxDialog const *""'");
7685 arg1
= reinterpret_cast< wxDialog
* >(argp1
);
7687 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7688 result
= (int)((wxDialog
const *)arg1
)->GetAffirmativeId();
7689 wxPyEndAllowThreads(__tstate
);
7690 if (PyErr_Occurred()) SWIG_fail
;
7692 resultobj
= SWIG_From_int(static_cast< int >(result
));
7699 SWIGINTERN PyObject
*_wrap_Dialog_SetEscapeId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7700 PyObject
*resultobj
= 0;
7701 wxDialog
*arg1
= (wxDialog
*) 0 ;
7707 PyObject
* obj0
= 0 ;
7708 PyObject
* obj1
= 0 ;
7709 char * kwnames
[] = {
7710 (char *) "self",(char *) "escapeId", NULL
7713 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Dialog_SetEscapeId",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7714 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDialog
, 0 | 0 );
7715 if (!SWIG_IsOK(res1
)) {
7716 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Dialog_SetEscapeId" "', expected argument " "1"" of type '" "wxDialog *""'");
7718 arg1
= reinterpret_cast< wxDialog
* >(argp1
);
7719 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
7720 if (!SWIG_IsOK(ecode2
)) {
7721 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Dialog_SetEscapeId" "', expected argument " "2"" of type '" "int""'");
7723 arg2
= static_cast< int >(val2
);
7725 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7726 (arg1
)->SetEscapeId(arg2
);
7727 wxPyEndAllowThreads(__tstate
);
7728 if (PyErr_Occurred()) SWIG_fail
;
7730 resultobj
= SWIG_Py_Void();
7737 SWIGINTERN PyObject
*_wrap_Dialog_GetEscapeId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7738 PyObject
*resultobj
= 0;
7739 wxDialog
*arg1
= (wxDialog
*) 0 ;
7743 PyObject
*swig_obj
[1] ;
7745 if (!args
) SWIG_fail
;
7747 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDialog
, 0 | 0 );
7748 if (!SWIG_IsOK(res1
)) {
7749 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Dialog_GetEscapeId" "', expected argument " "1"" of type '" "wxDialog const *""'");
7751 arg1
= reinterpret_cast< wxDialog
* >(argp1
);
7753 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7754 result
= (int)((wxDialog
const *)arg1
)->GetEscapeId();
7755 wxPyEndAllowThreads(__tstate
);
7756 if (PyErr_Occurred()) SWIG_fail
;
7758 resultobj
= SWIG_From_int(static_cast< int >(result
));
7765 SWIGINTERN PyObject
*_wrap_Dialog_CreateTextSizer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7766 PyObject
*resultobj
= 0;
7767 wxDialog
*arg1
= (wxDialog
*) 0 ;
7768 wxString
*arg2
= 0 ;
7769 wxSizer
*result
= 0 ;
7772 bool temp2
= false ;
7773 PyObject
* obj0
= 0 ;
7774 PyObject
* obj1
= 0 ;
7775 char * kwnames
[] = {
7776 (char *) "self",(char *) "message", NULL
7779 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Dialog_CreateTextSizer",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7780 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDialog
, 0 | 0 );
7781 if (!SWIG_IsOK(res1
)) {
7782 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Dialog_CreateTextSizer" "', expected argument " "1"" of type '" "wxDialog *""'");
7784 arg1
= reinterpret_cast< wxDialog
* >(argp1
);
7786 arg2
= wxString_in_helper(obj1
);
7787 if (arg2
== NULL
) SWIG_fail
;
7791 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7792 result
= (wxSizer
*)(arg1
)->CreateTextSizer((wxString
const &)*arg2
);
7793 wxPyEndAllowThreads(__tstate
);
7794 if (PyErr_Occurred()) SWIG_fail
;
7797 resultobj
= wxPyMake_wxObject(result
, (bool)0);
7813 SWIGINTERN PyObject
*_wrap_Dialog__CreateButtonSizer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7814 PyObject
*resultobj
= 0;
7815 wxDialog
*arg1
= (wxDialog
*) 0 ;
7817 wxSizer
*result
= 0 ;
7822 PyObject
* obj0
= 0 ;
7823 PyObject
* obj1
= 0 ;
7824 char * kwnames
[] = {
7825 (char *) "self",(char *) "flags", NULL
7828 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Dialog__CreateButtonSizer",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7829 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDialog
, 0 | 0 );
7830 if (!SWIG_IsOK(res1
)) {
7831 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Dialog__CreateButtonSizer" "', expected argument " "1"" of type '" "wxDialog *""'");
7833 arg1
= reinterpret_cast< wxDialog
* >(argp1
);
7834 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
7835 if (!SWIG_IsOK(ecode2
)) {
7836 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Dialog__CreateButtonSizer" "', expected argument " "2"" of type '" "long""'");
7838 arg2
= static_cast< long >(val2
);
7840 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7841 result
= (wxSizer
*)(arg1
)->CreateButtonSizer(arg2
);
7842 wxPyEndAllowThreads(__tstate
);
7843 if (PyErr_Occurred()) SWIG_fail
;
7846 resultobj
= wxPyMake_wxObject(result
, (bool)0);
7854 SWIGINTERN PyObject
*_wrap_Dialog_CreateSeparatedButtonSizer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7855 PyObject
*resultobj
= 0;
7856 wxDialog
*arg1
= (wxDialog
*) 0 ;
7858 wxSizer
*result
= 0 ;
7863 PyObject
* obj0
= 0 ;
7864 PyObject
* obj1
= 0 ;
7865 char * kwnames
[] = {
7866 (char *) "self",(char *) "flags", NULL
7869 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Dialog_CreateSeparatedButtonSizer",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7870 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDialog
, 0 | 0 );
7871 if (!SWIG_IsOK(res1
)) {
7872 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Dialog_CreateSeparatedButtonSizer" "', expected argument " "1"" of type '" "wxDialog *""'");
7874 arg1
= reinterpret_cast< wxDialog
* >(argp1
);
7875 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
7876 if (!SWIG_IsOK(ecode2
)) {
7877 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Dialog_CreateSeparatedButtonSizer" "', expected argument " "2"" of type '" "long""'");
7879 arg2
= static_cast< long >(val2
);
7881 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7882 result
= (wxSizer
*)(arg1
)->CreateSeparatedButtonSizer(arg2
);
7883 wxPyEndAllowThreads(__tstate
);
7884 if (PyErr_Occurred()) SWIG_fail
;
7887 resultobj
= wxPyMake_wxObject(result
, (bool)0);
7895 SWIGINTERN PyObject
*_wrap_Dialog_CreateStdDialogButtonSizer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7896 PyObject
*resultobj
= 0;
7897 wxDialog
*arg1
= (wxDialog
*) 0 ;
7899 wxStdDialogButtonSizer
*result
= 0 ;
7904 PyObject
* obj0
= 0 ;
7905 PyObject
* obj1
= 0 ;
7906 char * kwnames
[] = {
7907 (char *) "self",(char *) "flags", NULL
7910 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Dialog_CreateStdDialogButtonSizer",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7911 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDialog
, 0 | 0 );
7912 if (!SWIG_IsOK(res1
)) {
7913 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Dialog_CreateStdDialogButtonSizer" "', expected argument " "1"" of type '" "wxDialog *""'");
7915 arg1
= reinterpret_cast< wxDialog
* >(argp1
);
7916 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
7917 if (!SWIG_IsOK(ecode2
)) {
7918 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Dialog_CreateStdDialogButtonSizer" "', expected argument " "2"" of type '" "long""'");
7920 arg2
= static_cast< long >(val2
);
7922 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7923 result
= (wxStdDialogButtonSizer
*)(arg1
)->CreateStdDialogButtonSizer(arg2
);
7924 wxPyEndAllowThreads(__tstate
);
7925 if (PyErr_Occurred()) SWIG_fail
;
7927 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxStdDialogButtonSizer
, 0 | 0 );
7934 SWIGINTERN PyObject
*_wrap_Dialog_IsModal(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7935 PyObject
*resultobj
= 0;
7936 wxDialog
*arg1
= (wxDialog
*) 0 ;
7940 PyObject
*swig_obj
[1] ;
7942 if (!args
) SWIG_fail
;
7944 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDialog
, 0 | 0 );
7945 if (!SWIG_IsOK(res1
)) {
7946 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Dialog_IsModal" "', expected argument " "1"" of type '" "wxDialog const *""'");
7948 arg1
= reinterpret_cast< wxDialog
* >(argp1
);
7950 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7951 result
= (bool)((wxDialog
const *)arg1
)->IsModal();
7952 wxPyEndAllowThreads(__tstate
);
7953 if (PyErr_Occurred()) SWIG_fail
;
7956 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7964 SWIGINTERN PyObject
*_wrap_Dialog_ShowModal(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7965 PyObject
*resultobj
= 0;
7966 wxDialog
*arg1
= (wxDialog
*) 0 ;
7970 PyObject
*swig_obj
[1] ;
7972 if (!args
) SWIG_fail
;
7974 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDialog
, 0 | 0 );
7975 if (!SWIG_IsOK(res1
)) {
7976 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Dialog_ShowModal" "', expected argument " "1"" of type '" "wxDialog *""'");
7978 arg1
= reinterpret_cast< wxDialog
* >(argp1
);
7980 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7981 result
= (int)(arg1
)->ShowModal();
7982 wxPyEndAllowThreads(__tstate
);
7983 if (PyErr_Occurred()) SWIG_fail
;
7985 resultobj
= SWIG_From_int(static_cast< int >(result
));
7992 SWIGINTERN PyObject
*_wrap_Dialog_EndModal(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7993 PyObject
*resultobj
= 0;
7994 wxDialog
*arg1
= (wxDialog
*) 0 ;
8000 PyObject
* obj0
= 0 ;
8001 PyObject
* obj1
= 0 ;
8002 char * kwnames
[] = {
8003 (char *) "self",(char *) "retCode", NULL
8006 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Dialog_EndModal",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
8007 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDialog
, 0 | 0 );
8008 if (!SWIG_IsOK(res1
)) {
8009 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Dialog_EndModal" "', expected argument " "1"" of type '" "wxDialog *""'");
8011 arg1
= reinterpret_cast< wxDialog
* >(argp1
);
8012 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
8013 if (!SWIG_IsOK(ecode2
)) {
8014 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Dialog_EndModal" "', expected argument " "2"" of type '" "int""'");
8016 arg2
= static_cast< int >(val2
);
8018 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8019 (arg1
)->EndModal(arg2
);
8020 wxPyEndAllowThreads(__tstate
);
8021 if (PyErr_Occurred()) SWIG_fail
;
8023 resultobj
= SWIG_Py_Void();
8030 SWIGINTERN PyObject
*_wrap_Dialog_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8031 PyObject
*resultobj
= 0;
8032 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
8033 SwigValueWrapper
<wxVisualAttributes
> result
;
8036 PyObject
* obj0
= 0 ;
8037 char * kwnames
[] = {
8038 (char *) "variant", NULL
8041 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Dialog_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
8043 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
8044 if (!SWIG_IsOK(ecode1
)) {
8045 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "Dialog_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
8047 arg1
= static_cast< wxWindowVariant
>(val1
);
8050 if (!wxPyCheckForApp()) SWIG_fail
;
8051 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8052 result
= wxDialog::GetClassDefaultAttributes(arg1
);
8053 wxPyEndAllowThreads(__tstate
);
8054 if (PyErr_Occurred()) SWIG_fail
;
8056 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
8063 SWIGINTERN PyObject
*Dialog_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8065 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
8066 SWIG_TypeNewClientData(SWIGTYPE_p_wxDialog
, SWIG_NewClientData(obj
));
8067 return SWIG_Py_Void();
8070 SWIGINTERN PyObject
*Dialog_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8071 return SWIG_Python_InitShadowInstance(args
);
8074 SWIGINTERN PyObject
*_wrap_new_MiniFrame(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8075 PyObject
*resultobj
= 0;
8076 wxWindow
*arg1
= (wxWindow
*) 0 ;
8077 int arg2
= (int) (int)-1 ;
8078 wxString
const &arg3_defvalue
= wxPyEmptyString
;
8079 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
8080 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
8081 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
8082 wxSize
const &arg5_defvalue
= wxDefaultSize
;
8083 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
8084 long arg6
= (long) wxDEFAULT_MINIFRAME_STYLE
;
8085 wxString
const &arg7_defvalue
= wxPyFrameNameStr
;
8086 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
8087 wxMiniFrame
*result
= 0 ;
8092 bool temp3
= false ;
8097 bool temp7
= false ;
8098 PyObject
* obj0
= 0 ;
8099 PyObject
* obj1
= 0 ;
8100 PyObject
* obj2
= 0 ;
8101 PyObject
* obj3
= 0 ;
8102 PyObject
* obj4
= 0 ;
8103 PyObject
* obj5
= 0 ;
8104 PyObject
* obj6
= 0 ;
8105 char * kwnames
[] = {
8106 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
8109 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_MiniFrame",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
8110 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
8111 if (!SWIG_IsOK(res1
)) {
8112 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_MiniFrame" "', expected argument " "1"" of type '" "wxWindow *""'");
8114 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
8116 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
8117 if (!SWIG_IsOK(ecode2
)) {
8118 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_MiniFrame" "', expected argument " "2"" of type '" "int""'");
8120 arg2
= static_cast< int >(val2
);
8124 arg3
= wxString_in_helper(obj2
);
8125 if (arg3
== NULL
) SWIG_fail
;
8132 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
8138 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
8142 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
8143 if (!SWIG_IsOK(ecode6
)) {
8144 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_MiniFrame" "', expected argument " "6"" of type '" "long""'");
8146 arg6
= static_cast< long >(val6
);
8150 arg7
= wxString_in_helper(obj6
);
8151 if (arg7
== NULL
) SWIG_fail
;
8156 if (!wxPyCheckForApp()) SWIG_fail
;
8157 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8158 result
= (wxMiniFrame
*)new wxMiniFrame(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
8159 wxPyEndAllowThreads(__tstate
);
8160 if (PyErr_Occurred()) SWIG_fail
;
8162 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMiniFrame
, SWIG_POINTER_NEW
| 0 );
8185 SWIGINTERN PyObject
*_wrap_new_PreMiniFrame(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8186 PyObject
*resultobj
= 0;
8187 wxMiniFrame
*result
= 0 ;
8189 if (!SWIG_Python_UnpackTuple(args
,"new_PreMiniFrame",0,0,0)) SWIG_fail
;
8191 if (!wxPyCheckForApp()) SWIG_fail
;
8192 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8193 result
= (wxMiniFrame
*)new wxMiniFrame();
8194 wxPyEndAllowThreads(__tstate
);
8195 if (PyErr_Occurred()) SWIG_fail
;
8197 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMiniFrame
, SWIG_POINTER_OWN
| 0 );
8204 SWIGINTERN PyObject
*_wrap_MiniFrame_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8205 PyObject
*resultobj
= 0;
8206 wxMiniFrame
*arg1
= (wxMiniFrame
*) 0 ;
8207 wxWindow
*arg2
= (wxWindow
*) 0 ;
8208 int arg3
= (int) (int)-1 ;
8209 wxString
const &arg4_defvalue
= wxPyEmptyString
;
8210 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
8211 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
8212 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
8213 wxSize
const &arg6_defvalue
= wxDefaultSize
;
8214 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
8215 long arg7
= (long) wxDEFAULT_MINIFRAME_STYLE
;
8216 wxString
const &arg8_defvalue
= wxPyFrameNameStr
;
8217 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
8225 bool temp4
= false ;
8230 bool temp8
= false ;
8231 PyObject
* obj0
= 0 ;
8232 PyObject
* obj1
= 0 ;
8233 PyObject
* obj2
= 0 ;
8234 PyObject
* obj3
= 0 ;
8235 PyObject
* obj4
= 0 ;
8236 PyObject
* obj5
= 0 ;
8237 PyObject
* obj6
= 0 ;
8238 PyObject
* obj7
= 0 ;
8239 char * kwnames
[] = {
8240 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
8243 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:MiniFrame_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
8244 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMiniFrame
, 0 | 0 );
8245 if (!SWIG_IsOK(res1
)) {
8246 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MiniFrame_Create" "', expected argument " "1"" of type '" "wxMiniFrame *""'");
8248 arg1
= reinterpret_cast< wxMiniFrame
* >(argp1
);
8249 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
8250 if (!SWIG_IsOK(res2
)) {
8251 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "MiniFrame_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
8253 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
8255 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
8256 if (!SWIG_IsOK(ecode3
)) {
8257 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "MiniFrame_Create" "', expected argument " "3"" of type '" "int""'");
8259 arg3
= static_cast< int >(val3
);
8263 arg4
= wxString_in_helper(obj3
);
8264 if (arg4
== NULL
) SWIG_fail
;
8271 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
8277 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
8281 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
8282 if (!SWIG_IsOK(ecode7
)) {
8283 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "MiniFrame_Create" "', expected argument " "7"" of type '" "long""'");
8285 arg7
= static_cast< long >(val7
);
8289 arg8
= wxString_in_helper(obj7
);
8290 if (arg8
== NULL
) SWIG_fail
;
8295 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8296 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
8297 wxPyEndAllowThreads(__tstate
);
8298 if (PyErr_Occurred()) SWIG_fail
;
8301 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8325 SWIGINTERN PyObject
*MiniFrame_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8327 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
8328 SWIG_TypeNewClientData(SWIGTYPE_p_wxMiniFrame
, SWIG_NewClientData(obj
));
8329 return SWIG_Py_Void();
8332 SWIGINTERN PyObject
*MiniFrame_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8333 return SWIG_Python_InitShadowInstance(args
);
8336 SWIGINTERN PyObject
*_wrap_new_SplashScreenWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8337 PyObject
*resultobj
= 0;
8338 wxBitmap
*arg1
= 0 ;
8339 wxWindow
*arg2
= (wxWindow
*) 0 ;
8341 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
8342 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
8343 wxSize
const &arg5_defvalue
= wxDefaultSize
;
8344 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
8345 long arg6
= (long) wxNO_BORDER
;
8346 wxSplashScreenWindow
*result
= 0 ;
8357 PyObject
* obj0
= 0 ;
8358 PyObject
* obj1
= 0 ;
8359 PyObject
* obj2
= 0 ;
8360 PyObject
* obj3
= 0 ;
8361 PyObject
* obj4
= 0 ;
8362 PyObject
* obj5
= 0 ;
8363 char * kwnames
[] = {
8364 (char *) "bitmap",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
8367 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOO:new_SplashScreenWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
8368 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxBitmap
, 0 | 0);
8369 if (!SWIG_IsOK(res1
)) {
8370 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_SplashScreenWindow" "', expected argument " "1"" of type '" "wxBitmap const &""'");
8373 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_SplashScreenWindow" "', expected argument " "1"" of type '" "wxBitmap const &""'");
8375 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
8376 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
8377 if (!SWIG_IsOK(res2
)) {
8378 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_SplashScreenWindow" "', expected argument " "2"" of type '" "wxWindow *""'");
8380 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
8381 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
8382 if (!SWIG_IsOK(ecode3
)) {
8383 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_SplashScreenWindow" "', expected argument " "3"" of type '" "int""'");
8385 arg3
= static_cast< int >(val3
);
8389 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
8395 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
8399 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
8400 if (!SWIG_IsOK(ecode6
)) {
8401 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_SplashScreenWindow" "', expected argument " "6"" of type '" "long""'");
8403 arg6
= static_cast< long >(val6
);
8406 if (!wxPyCheckForApp()) SWIG_fail
;
8407 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8408 result
= (wxSplashScreenWindow
*)new wxSplashScreenWindow((wxBitmap
const &)*arg1
,arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
);
8409 wxPyEndAllowThreads(__tstate
);
8410 if (PyErr_Occurred()) SWIG_fail
;
8412 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSplashScreenWindow
, SWIG_POINTER_NEW
| 0 );
8419 SWIGINTERN PyObject
*_wrap_SplashScreenWindow_SetBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8420 PyObject
*resultobj
= 0;
8421 wxSplashScreenWindow
*arg1
= (wxSplashScreenWindow
*) 0 ;
8422 wxBitmap
*arg2
= 0 ;
8427 PyObject
* obj0
= 0 ;
8428 PyObject
* obj1
= 0 ;
8429 char * kwnames
[] = {
8430 (char *) "self",(char *) "bitmap", NULL
8433 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplashScreenWindow_SetBitmap",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
8434 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSplashScreenWindow
, 0 | 0 );
8435 if (!SWIG_IsOK(res1
)) {
8436 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplashScreenWindow_SetBitmap" "', expected argument " "1"" of type '" "wxSplashScreenWindow *""'");
8438 arg1
= reinterpret_cast< wxSplashScreenWindow
* >(argp1
);
8439 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
8440 if (!SWIG_IsOK(res2
)) {
8441 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "SplashScreenWindow_SetBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
8444 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "SplashScreenWindow_SetBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
8446 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
8448 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8449 (arg1
)->SetBitmap((wxBitmap
const &)*arg2
);
8450 wxPyEndAllowThreads(__tstate
);
8451 if (PyErr_Occurred()) SWIG_fail
;
8453 resultobj
= SWIG_Py_Void();
8460 SWIGINTERN PyObject
*_wrap_SplashScreenWindow_GetBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8461 PyObject
*resultobj
= 0;
8462 wxSplashScreenWindow
*arg1
= (wxSplashScreenWindow
*) 0 ;
8463 wxBitmap
*result
= 0 ;
8466 PyObject
*swig_obj
[1] ;
8468 if (!args
) SWIG_fail
;
8470 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplashScreenWindow
, 0 | 0 );
8471 if (!SWIG_IsOK(res1
)) {
8472 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplashScreenWindow_GetBitmap" "', expected argument " "1"" of type '" "wxSplashScreenWindow *""'");
8474 arg1
= reinterpret_cast< wxSplashScreenWindow
* >(argp1
);
8476 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8478 wxBitmap
&_result_ref
= (arg1
)->GetBitmap();
8479 result
= (wxBitmap
*) &_result_ref
;
8481 wxPyEndAllowThreads(__tstate
);
8482 if (PyErr_Occurred()) SWIG_fail
;
8485 wxBitmap
* resultptr
= new wxBitmap(*result
);
8486 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
8494 SWIGINTERN PyObject
*SplashScreenWindow_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8496 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
8497 SWIG_TypeNewClientData(SWIGTYPE_p_wxSplashScreenWindow
, SWIG_NewClientData(obj
));
8498 return SWIG_Py_Void();
8501 SWIGINTERN PyObject
*SplashScreenWindow_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8502 return SWIG_Python_InitShadowInstance(args
);
8505 SWIGINTERN PyObject
*_wrap_new_SplashScreen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8506 PyObject
*resultobj
= 0;
8507 wxBitmap
*arg1
= 0 ;
8510 wxWindow
*arg4
= (wxWindow
*) 0 ;
8511 int arg5
= (int) -1 ;
8512 wxPoint
const &arg6_defvalue
= wxDefaultPosition
;
8513 wxPoint
*arg6
= (wxPoint
*) &arg6_defvalue
;
8514 wxSize
const &arg7_defvalue
= wxDefaultSize
;
8515 wxSize
*arg7
= (wxSize
*) &arg7_defvalue
;
8516 long arg8
= (long) wxSIMPLE_BORDER
|wxFRAME_NO_TASKBAR
|wxSTAY_ON_TOP
;
8517 wxSplashScreen
*result
= 0 ;
8532 PyObject
* obj0
= 0 ;
8533 PyObject
* obj1
= 0 ;
8534 PyObject
* obj2
= 0 ;
8535 PyObject
* obj3
= 0 ;
8536 PyObject
* obj4
= 0 ;
8537 PyObject
* obj5
= 0 ;
8538 PyObject
* obj6
= 0 ;
8539 PyObject
* obj7
= 0 ;
8540 char * kwnames
[] = {
8541 (char *) "bitmap",(char *) "splashStyle",(char *) "milliseconds",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
8544 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOOO:new_SplashScreen",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
8545 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxBitmap
, 0 | 0);
8546 if (!SWIG_IsOK(res1
)) {
8547 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_SplashScreen" "', expected argument " "1"" of type '" "wxBitmap const &""'");
8550 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_SplashScreen" "', expected argument " "1"" of type '" "wxBitmap const &""'");
8552 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
8553 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
8554 if (!SWIG_IsOK(ecode2
)) {
8555 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_SplashScreen" "', expected argument " "2"" of type '" "long""'");
8557 arg2
= static_cast< long >(val2
);
8558 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
8559 if (!SWIG_IsOK(ecode3
)) {
8560 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_SplashScreen" "', expected argument " "3"" of type '" "int""'");
8562 arg3
= static_cast< int >(val3
);
8563 res4
= SWIG_ConvertPtr(obj3
, &argp4
,SWIGTYPE_p_wxWindow
, 0 | 0 );
8564 if (!SWIG_IsOK(res4
)) {
8565 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "new_SplashScreen" "', expected argument " "4"" of type '" "wxWindow *""'");
8567 arg4
= reinterpret_cast< wxWindow
* >(argp4
);
8569 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
8570 if (!SWIG_IsOK(ecode5
)) {
8571 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_SplashScreen" "', expected argument " "5"" of type '" "int""'");
8573 arg5
= static_cast< int >(val5
);
8578 if ( ! wxPoint_helper(obj5
, &arg6
)) SWIG_fail
;
8584 if ( ! wxSize_helper(obj6
, &arg7
)) SWIG_fail
;
8588 ecode8
= SWIG_AsVal_long(obj7
, &val8
);
8589 if (!SWIG_IsOK(ecode8
)) {
8590 SWIG_exception_fail(SWIG_ArgError(ecode8
), "in method '" "new_SplashScreen" "', expected argument " "8"" of type '" "long""'");
8592 arg8
= static_cast< long >(val8
);
8595 if (!wxPyCheckForApp()) SWIG_fail
;
8596 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8597 result
= (wxSplashScreen
*)new wxSplashScreen((wxBitmap
const &)*arg1
,arg2
,arg3
,arg4
,arg5
,(wxPoint
const &)*arg6
,(wxSize
const &)*arg7
,arg8
);
8598 wxPyEndAllowThreads(__tstate
);
8599 if (PyErr_Occurred()) SWIG_fail
;
8601 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSplashScreen
, SWIG_POINTER_NEW
| 0 );
8608 SWIGINTERN PyObject
*_wrap_SplashScreen_GetSplashStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8609 PyObject
*resultobj
= 0;
8610 wxSplashScreen
*arg1
= (wxSplashScreen
*) 0 ;
8614 PyObject
*swig_obj
[1] ;
8616 if (!args
) SWIG_fail
;
8618 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplashScreen
, 0 | 0 );
8619 if (!SWIG_IsOK(res1
)) {
8620 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplashScreen_GetSplashStyle" "', expected argument " "1"" of type '" "wxSplashScreen const *""'");
8622 arg1
= reinterpret_cast< wxSplashScreen
* >(argp1
);
8624 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8625 result
= (long)((wxSplashScreen
const *)arg1
)->GetSplashStyle();
8626 wxPyEndAllowThreads(__tstate
);
8627 if (PyErr_Occurred()) SWIG_fail
;
8629 resultobj
= SWIG_From_long(static_cast< long >(result
));
8636 SWIGINTERN PyObject
*_wrap_SplashScreen_GetSplashWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8637 PyObject
*resultobj
= 0;
8638 wxSplashScreen
*arg1
= (wxSplashScreen
*) 0 ;
8639 wxSplashScreenWindow
*result
= 0 ;
8642 PyObject
*swig_obj
[1] ;
8644 if (!args
) SWIG_fail
;
8646 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplashScreen
, 0 | 0 );
8647 if (!SWIG_IsOK(res1
)) {
8648 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplashScreen_GetSplashWindow" "', expected argument " "1"" of type '" "wxSplashScreen const *""'");
8650 arg1
= reinterpret_cast< wxSplashScreen
* >(argp1
);
8652 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8653 result
= (wxSplashScreenWindow
*)((wxSplashScreen
const *)arg1
)->GetSplashWindow();
8654 wxPyEndAllowThreads(__tstate
);
8655 if (PyErr_Occurred()) SWIG_fail
;
8657 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSplashScreenWindow
, 0 | 0 );
8664 SWIGINTERN PyObject
*_wrap_SplashScreen_GetTimeout(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8665 PyObject
*resultobj
= 0;
8666 wxSplashScreen
*arg1
= (wxSplashScreen
*) 0 ;
8670 PyObject
*swig_obj
[1] ;
8672 if (!args
) SWIG_fail
;
8674 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplashScreen
, 0 | 0 );
8675 if (!SWIG_IsOK(res1
)) {
8676 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplashScreen_GetTimeout" "', expected argument " "1"" of type '" "wxSplashScreen const *""'");
8678 arg1
= reinterpret_cast< wxSplashScreen
* >(argp1
);
8680 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8681 result
= (int)((wxSplashScreen
const *)arg1
)->GetTimeout();
8682 wxPyEndAllowThreads(__tstate
);
8683 if (PyErr_Occurred()) SWIG_fail
;
8685 resultobj
= SWIG_From_int(static_cast< int >(result
));
8692 SWIGINTERN PyObject
*SplashScreen_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8694 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
8695 SWIG_TypeNewClientData(SWIGTYPE_p_wxSplashScreen
, SWIG_NewClientData(obj
));
8696 return SWIG_Py_Void();
8699 SWIGINTERN PyObject
*SplashScreen_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8700 return SWIG_Python_InitShadowInstance(args
);
8703 SWIGINTERN PyObject
*_wrap_new_StatusBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8704 PyObject
*resultobj
= 0;
8705 wxWindow
*arg1
= (wxWindow
*) 0 ;
8706 int arg2
= (int) -1 ;
8707 long arg3
= (long) wxDEFAULT_STATUSBAR_STYLE
;
8708 wxString
const &arg4_defvalue
= wxPyStatusLineNameStr
;
8709 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
8710 wxStatusBar
*result
= 0 ;
8717 bool temp4
= false ;
8718 PyObject
* obj0
= 0 ;
8719 PyObject
* obj1
= 0 ;
8720 PyObject
* obj2
= 0 ;
8721 PyObject
* obj3
= 0 ;
8722 char * kwnames
[] = {
8723 (char *) "parent",(char *) "id",(char *) "style",(char *) "name", NULL
8726 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOO:new_StatusBar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
8727 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
8728 if (!SWIG_IsOK(res1
)) {
8729 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_StatusBar" "', expected argument " "1"" of type '" "wxWindow *""'");
8731 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
8733 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
8734 if (!SWIG_IsOK(ecode2
)) {
8735 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_StatusBar" "', expected argument " "2"" of type '" "int""'");
8737 arg2
= static_cast< int >(val2
);
8740 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
8741 if (!SWIG_IsOK(ecode3
)) {
8742 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_StatusBar" "', expected argument " "3"" of type '" "long""'");
8744 arg3
= static_cast< long >(val3
);
8748 arg4
= wxString_in_helper(obj3
);
8749 if (arg4
== NULL
) SWIG_fail
;
8754 if (!wxPyCheckForApp()) SWIG_fail
;
8755 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8756 result
= (wxStatusBar
*)new wxStatusBar(arg1
,arg2
,arg3
,(wxString
const &)*arg4
);
8757 wxPyEndAllowThreads(__tstate
);
8758 if (PyErr_Occurred()) SWIG_fail
;
8760 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxStatusBar
, SWIG_POINTER_NEW
| 0 );
8775 SWIGINTERN PyObject
*_wrap_new_PreStatusBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8776 PyObject
*resultobj
= 0;
8777 wxStatusBar
*result
= 0 ;
8779 if (!SWIG_Python_UnpackTuple(args
,"new_PreStatusBar",0,0,0)) SWIG_fail
;
8781 if (!wxPyCheckForApp()) SWIG_fail
;
8782 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8783 result
= (wxStatusBar
*)new wxStatusBar();
8784 wxPyEndAllowThreads(__tstate
);
8785 if (PyErr_Occurred()) SWIG_fail
;
8787 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxStatusBar
, SWIG_POINTER_OWN
| 0 );
8794 SWIGINTERN PyObject
*_wrap_StatusBar_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8795 PyObject
*resultobj
= 0;
8796 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
8797 wxWindow
*arg2
= (wxWindow
*) 0 ;
8798 int arg3
= (int) -1 ;
8799 long arg4
= (long) wxST_SIZEGRIP
;
8800 wxString
const &arg5_defvalue
= wxPyStatusLineNameStr
;
8801 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
8811 bool temp5
= false ;
8812 PyObject
* obj0
= 0 ;
8813 PyObject
* obj1
= 0 ;
8814 PyObject
* obj2
= 0 ;
8815 PyObject
* obj3
= 0 ;
8816 PyObject
* obj4
= 0 ;
8817 char * kwnames
[] = {
8818 (char *) "self",(char *) "parent",(char *) "id",(char *) "style",(char *) "name", NULL
8821 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:StatusBar_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
8822 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStatusBar
, 0 | 0 );
8823 if (!SWIG_IsOK(res1
)) {
8824 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StatusBar_Create" "', expected argument " "1"" of type '" "wxStatusBar *""'");
8826 arg1
= reinterpret_cast< wxStatusBar
* >(argp1
);
8827 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
8828 if (!SWIG_IsOK(res2
)) {
8829 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "StatusBar_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
8831 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
8833 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
8834 if (!SWIG_IsOK(ecode3
)) {
8835 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "StatusBar_Create" "', expected argument " "3"" of type '" "int""'");
8837 arg3
= static_cast< int >(val3
);
8840 ecode4
= SWIG_AsVal_long(obj3
, &val4
);
8841 if (!SWIG_IsOK(ecode4
)) {
8842 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "StatusBar_Create" "', expected argument " "4"" of type '" "long""'");
8844 arg4
= static_cast< long >(val4
);
8848 arg5
= wxString_in_helper(obj4
);
8849 if (arg5
== NULL
) SWIG_fail
;
8854 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8855 result
= (bool)(arg1
)->Create(arg2
,arg3
,arg4
,(wxString
const &)*arg5
);
8856 wxPyEndAllowThreads(__tstate
);
8857 if (PyErr_Occurred()) SWIG_fail
;
8860 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8876 SWIGINTERN PyObject
*_wrap_StatusBar_SetFieldsCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8877 PyObject
*resultobj
= 0;
8878 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
8879 int arg2
= (int) 1 ;
8884 PyObject
* obj0
= 0 ;
8885 PyObject
* obj1
= 0 ;
8886 char * kwnames
[] = {
8887 (char *) "self",(char *) "number", NULL
8890 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:StatusBar_SetFieldsCount",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
8891 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStatusBar
, 0 | 0 );
8892 if (!SWIG_IsOK(res1
)) {
8893 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StatusBar_SetFieldsCount" "', expected argument " "1"" of type '" "wxStatusBar *""'");
8895 arg1
= reinterpret_cast< wxStatusBar
* >(argp1
);
8897 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
8898 if (!SWIG_IsOK(ecode2
)) {
8899 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "StatusBar_SetFieldsCount" "', expected argument " "2"" of type '" "int""'");
8901 arg2
= static_cast< int >(val2
);
8904 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8905 (arg1
)->SetFieldsCount(arg2
);
8906 wxPyEndAllowThreads(__tstate
);
8907 if (PyErr_Occurred()) SWIG_fail
;
8909 resultobj
= SWIG_Py_Void();
8916 SWIGINTERN PyObject
*_wrap_StatusBar_GetFieldsCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8917 PyObject
*resultobj
= 0;
8918 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
8922 PyObject
*swig_obj
[1] ;
8924 if (!args
) SWIG_fail
;
8926 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxStatusBar
, 0 | 0 );
8927 if (!SWIG_IsOK(res1
)) {
8928 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StatusBar_GetFieldsCount" "', expected argument " "1"" of type '" "wxStatusBar const *""'");
8930 arg1
= reinterpret_cast< wxStatusBar
* >(argp1
);
8932 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8933 result
= (int)((wxStatusBar
const *)arg1
)->GetFieldsCount();
8934 wxPyEndAllowThreads(__tstate
);
8935 if (PyErr_Occurred()) SWIG_fail
;
8937 resultobj
= SWIG_From_int(static_cast< int >(result
));
8944 SWIGINTERN PyObject
*_wrap_StatusBar_SetStatusText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8945 PyObject
*resultobj
= 0;
8946 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
8947 wxString
*arg2
= 0 ;
8948 int arg3
= (int) 0 ;
8951 bool temp2
= false ;
8954 PyObject
* obj0
= 0 ;
8955 PyObject
* obj1
= 0 ;
8956 PyObject
* obj2
= 0 ;
8957 char * kwnames
[] = {
8958 (char *) "self",(char *) "text",(char *) "number", NULL
8961 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:StatusBar_SetStatusText",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
8962 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStatusBar
, 0 | 0 );
8963 if (!SWIG_IsOK(res1
)) {
8964 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StatusBar_SetStatusText" "', expected argument " "1"" of type '" "wxStatusBar *""'");
8966 arg1
= reinterpret_cast< wxStatusBar
* >(argp1
);
8968 arg2
= wxString_in_helper(obj1
);
8969 if (arg2
== NULL
) SWIG_fail
;
8973 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
8974 if (!SWIG_IsOK(ecode3
)) {
8975 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "StatusBar_SetStatusText" "', expected argument " "3"" of type '" "int""'");
8977 arg3
= static_cast< int >(val3
);
8980 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8981 (arg1
)->SetStatusText((wxString
const &)*arg2
,arg3
);
8982 wxPyEndAllowThreads(__tstate
);
8983 if (PyErr_Occurred()) SWIG_fail
;
8985 resultobj
= SWIG_Py_Void();
9000 SWIGINTERN PyObject
*_wrap_StatusBar_GetStatusText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9001 PyObject
*resultobj
= 0;
9002 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
9003 int arg2
= (int) 0 ;
9009 PyObject
* obj0
= 0 ;
9010 PyObject
* obj1
= 0 ;
9011 char * kwnames
[] = {
9012 (char *) "self",(char *) "number", NULL
9015 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:StatusBar_GetStatusText",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9016 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStatusBar
, 0 | 0 );
9017 if (!SWIG_IsOK(res1
)) {
9018 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StatusBar_GetStatusText" "', expected argument " "1"" of type '" "wxStatusBar const *""'");
9020 arg1
= reinterpret_cast< wxStatusBar
* >(argp1
);
9022 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9023 if (!SWIG_IsOK(ecode2
)) {
9024 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "StatusBar_GetStatusText" "', expected argument " "2"" of type '" "int""'");
9026 arg2
= static_cast< int >(val2
);
9029 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9030 result
= ((wxStatusBar
const *)arg1
)->GetStatusText(arg2
);
9031 wxPyEndAllowThreads(__tstate
);
9032 if (PyErr_Occurred()) SWIG_fail
;
9036 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
9038 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
9047 SWIGINTERN PyObject
*_wrap_StatusBar_PushStatusText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9048 PyObject
*resultobj
= 0;
9049 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
9050 wxString
*arg2
= 0 ;
9051 int arg3
= (int) 0 ;
9054 bool temp2
= false ;
9057 PyObject
* obj0
= 0 ;
9058 PyObject
* obj1
= 0 ;
9059 PyObject
* obj2
= 0 ;
9060 char * kwnames
[] = {
9061 (char *) "self",(char *) "text",(char *) "number", NULL
9064 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:StatusBar_PushStatusText",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
9065 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStatusBar
, 0 | 0 );
9066 if (!SWIG_IsOK(res1
)) {
9067 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StatusBar_PushStatusText" "', expected argument " "1"" of type '" "wxStatusBar *""'");
9069 arg1
= reinterpret_cast< wxStatusBar
* >(argp1
);
9071 arg2
= wxString_in_helper(obj1
);
9072 if (arg2
== NULL
) SWIG_fail
;
9076 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
9077 if (!SWIG_IsOK(ecode3
)) {
9078 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "StatusBar_PushStatusText" "', expected argument " "3"" of type '" "int""'");
9080 arg3
= static_cast< int >(val3
);
9083 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9084 (arg1
)->PushStatusText((wxString
const &)*arg2
,arg3
);
9085 wxPyEndAllowThreads(__tstate
);
9086 if (PyErr_Occurred()) SWIG_fail
;
9088 resultobj
= SWIG_Py_Void();
9103 SWIGINTERN PyObject
*_wrap_StatusBar_PopStatusText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9104 PyObject
*resultobj
= 0;
9105 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
9106 int arg2
= (int) 0 ;
9111 PyObject
* obj0
= 0 ;
9112 PyObject
* obj1
= 0 ;
9113 char * kwnames
[] = {
9114 (char *) "self",(char *) "number", NULL
9117 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:StatusBar_PopStatusText",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9118 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStatusBar
, 0 | 0 );
9119 if (!SWIG_IsOK(res1
)) {
9120 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StatusBar_PopStatusText" "', expected argument " "1"" of type '" "wxStatusBar *""'");
9122 arg1
= reinterpret_cast< wxStatusBar
* >(argp1
);
9124 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9125 if (!SWIG_IsOK(ecode2
)) {
9126 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "StatusBar_PopStatusText" "', expected argument " "2"" of type '" "int""'");
9128 arg2
= static_cast< int >(val2
);
9131 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9132 (arg1
)->PopStatusText(arg2
);
9133 wxPyEndAllowThreads(__tstate
);
9134 if (PyErr_Occurred()) SWIG_fail
;
9136 resultobj
= SWIG_Py_Void();
9143 SWIGINTERN PyObject
*_wrap_StatusBar_SetStatusWidths(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9144 PyObject
*resultobj
= 0;
9145 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
9147 int *arg3
= (int *) 0 ;
9150 PyObject
* obj0
= 0 ;
9151 PyObject
* obj1
= 0 ;
9152 char * kwnames
[] = {
9153 (char *) "self",(char *) "widths", NULL
9156 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StatusBar_SetStatusWidths",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9157 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStatusBar
, 0 | 0 );
9158 if (!SWIG_IsOK(res1
)) {
9159 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StatusBar_SetStatusWidths" "', expected argument " "1"" of type '" "wxStatusBar *""'");
9161 arg1
= reinterpret_cast< wxStatusBar
* >(argp1
);
9163 arg2
= PyList_Size(obj1
);
9164 arg3
= int_LIST_helper(obj1
);
9165 if (arg3
== NULL
) SWIG_fail
;
9168 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9169 (arg1
)->SetStatusWidths(arg2
,(int const *)arg3
);
9170 wxPyEndAllowThreads(__tstate
);
9171 if (PyErr_Occurred()) SWIG_fail
;
9173 resultobj
= SWIG_Py_Void();
9175 if (arg3
) delete [] arg3
;
9180 if (arg3
) delete [] arg3
;
9186 SWIGINTERN PyObject
*_wrap_StatusBar_SetStatusStyles(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9187 PyObject
*resultobj
= 0;
9188 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
9190 int *arg3
= (int *) 0 ;
9193 PyObject
* obj0
= 0 ;
9194 PyObject
* obj1
= 0 ;
9195 char * kwnames
[] = {
9196 (char *) "self",(char *) "styles", NULL
9199 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StatusBar_SetStatusStyles",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9200 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStatusBar
, 0 | 0 );
9201 if (!SWIG_IsOK(res1
)) {
9202 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StatusBar_SetStatusStyles" "', expected argument " "1"" of type '" "wxStatusBar *""'");
9204 arg1
= reinterpret_cast< wxStatusBar
* >(argp1
);
9206 arg2
= PyList_Size(obj1
);
9207 arg3
= int_LIST_helper(obj1
);
9208 if (arg3
== NULL
) SWIG_fail
;
9211 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9212 (arg1
)->SetStatusStyles(arg2
,(int const *)arg3
);
9213 wxPyEndAllowThreads(__tstate
);
9214 if (PyErr_Occurred()) SWIG_fail
;
9216 resultobj
= SWIG_Py_Void();
9218 if (arg3
) delete [] arg3
;
9223 if (arg3
) delete [] arg3
;
9229 SWIGINTERN PyObject
*_wrap_StatusBar_GetFieldRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9230 PyObject
*resultobj
= 0;
9231 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
9238 PyObject
* obj0
= 0 ;
9239 PyObject
* obj1
= 0 ;
9240 char * kwnames
[] = {
9241 (char *) "self",(char *) "i", NULL
9244 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StatusBar_GetFieldRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9245 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStatusBar
, 0 | 0 );
9246 if (!SWIG_IsOK(res1
)) {
9247 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StatusBar_GetFieldRect" "', expected argument " "1"" of type '" "wxStatusBar *""'");
9249 arg1
= reinterpret_cast< wxStatusBar
* >(argp1
);
9250 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9251 if (!SWIG_IsOK(ecode2
)) {
9252 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "StatusBar_GetFieldRect" "', expected argument " "2"" of type '" "int""'");
9254 arg2
= static_cast< int >(val2
);
9256 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9257 result
= wxStatusBar_GetFieldRect(arg1
,arg2
);
9258 wxPyEndAllowThreads(__tstate
);
9259 if (PyErr_Occurred()) SWIG_fail
;
9261 resultobj
= SWIG_NewPointerObj((new wxRect(static_cast< const wxRect
& >(result
))), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN
| 0 );
9268 SWIGINTERN PyObject
*_wrap_StatusBar_SetMinHeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9269 PyObject
*resultobj
= 0;
9270 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
9276 PyObject
* obj0
= 0 ;
9277 PyObject
* obj1
= 0 ;
9278 char * kwnames
[] = {
9279 (char *) "self",(char *) "height", NULL
9282 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StatusBar_SetMinHeight",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9283 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStatusBar
, 0 | 0 );
9284 if (!SWIG_IsOK(res1
)) {
9285 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StatusBar_SetMinHeight" "', expected argument " "1"" of type '" "wxStatusBar *""'");
9287 arg1
= reinterpret_cast< wxStatusBar
* >(argp1
);
9288 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9289 if (!SWIG_IsOK(ecode2
)) {
9290 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "StatusBar_SetMinHeight" "', expected argument " "2"" of type '" "int""'");
9292 arg2
= static_cast< int >(val2
);
9294 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9295 (arg1
)->SetMinHeight(arg2
);
9296 wxPyEndAllowThreads(__tstate
);
9297 if (PyErr_Occurred()) SWIG_fail
;
9299 resultobj
= SWIG_Py_Void();
9306 SWIGINTERN PyObject
*_wrap_StatusBar_GetBorderX(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9307 PyObject
*resultobj
= 0;
9308 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
9312 PyObject
*swig_obj
[1] ;
9314 if (!args
) SWIG_fail
;
9316 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxStatusBar
, 0 | 0 );
9317 if (!SWIG_IsOK(res1
)) {
9318 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StatusBar_GetBorderX" "', expected argument " "1"" of type '" "wxStatusBar const *""'");
9320 arg1
= reinterpret_cast< wxStatusBar
* >(argp1
);
9322 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9323 result
= (int)((wxStatusBar
const *)arg1
)->GetBorderX();
9324 wxPyEndAllowThreads(__tstate
);
9325 if (PyErr_Occurred()) SWIG_fail
;
9327 resultobj
= SWIG_From_int(static_cast< int >(result
));
9334 SWIGINTERN PyObject
*_wrap_StatusBar_GetBorderY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9335 PyObject
*resultobj
= 0;
9336 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
9340 PyObject
*swig_obj
[1] ;
9342 if (!args
) SWIG_fail
;
9344 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxStatusBar
, 0 | 0 );
9345 if (!SWIG_IsOK(res1
)) {
9346 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StatusBar_GetBorderY" "', expected argument " "1"" of type '" "wxStatusBar const *""'");
9348 arg1
= reinterpret_cast< wxStatusBar
* >(argp1
);
9350 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9351 result
= (int)((wxStatusBar
const *)arg1
)->GetBorderY();
9352 wxPyEndAllowThreads(__tstate
);
9353 if (PyErr_Occurred()) SWIG_fail
;
9355 resultobj
= SWIG_From_int(static_cast< int >(result
));
9362 SWIGINTERN PyObject
*_wrap_StatusBar_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9363 PyObject
*resultobj
= 0;
9364 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
9365 SwigValueWrapper
<wxVisualAttributes
> result
;
9368 PyObject
* obj0
= 0 ;
9369 char * kwnames
[] = {
9370 (char *) "variant", NULL
9373 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:StatusBar_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
9375 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
9376 if (!SWIG_IsOK(ecode1
)) {
9377 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "StatusBar_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
9379 arg1
= static_cast< wxWindowVariant
>(val1
);
9382 if (!wxPyCheckForApp()) SWIG_fail
;
9383 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9384 result
= wxStatusBar::GetClassDefaultAttributes(arg1
);
9385 wxPyEndAllowThreads(__tstate
);
9386 if (PyErr_Occurred()) SWIG_fail
;
9388 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
9395 SWIGINTERN PyObject
*StatusBar_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9397 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
9398 SWIG_TypeNewClientData(SWIGTYPE_p_wxStatusBar
, SWIG_NewClientData(obj
));
9399 return SWIG_Py_Void();
9402 SWIGINTERN PyObject
*StatusBar_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9403 return SWIG_Python_InitShadowInstance(args
);
9406 SWIGINTERN
int SplitterNameStr_set(PyObject
*) {
9407 SWIG_Error(SWIG_AttributeError
,"Variable SplitterNameStr is read-only.");
9412 SWIGINTERN PyObject
*SplitterNameStr_get(void) {
9413 PyObject
*pyobj
= 0;
9417 pyobj
= PyUnicode_FromWideChar((&wxPySplitterNameStr
)->c_str(), (&wxPySplitterNameStr
)->Len());
9419 pyobj
= PyString_FromStringAndSize((&wxPySplitterNameStr
)->c_str(), (&wxPySplitterNameStr
)->Len());
9426 SWIGINTERN PyObject
*_wrap_new_SplitterWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9427 PyObject
*resultobj
= 0;
9428 wxWindow
*arg1
= (wxWindow
*) 0 ;
9429 int arg2
= (int) -1 ;
9430 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
9431 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
9432 wxSize
const &arg4_defvalue
= wxDefaultSize
;
9433 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
9434 long arg5
= (long) wxSP_3D
;
9435 wxString
const &arg6_defvalue
= wxPySplitterNameStr
;
9436 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
9437 wxSplitterWindow
*result
= 0 ;
9446 bool temp6
= false ;
9447 PyObject
* obj0
= 0 ;
9448 PyObject
* obj1
= 0 ;
9449 PyObject
* obj2
= 0 ;
9450 PyObject
* obj3
= 0 ;
9451 PyObject
* obj4
= 0 ;
9452 PyObject
* obj5
= 0 ;
9453 char * kwnames
[] = {
9454 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
9457 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_SplitterWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
9458 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
9459 if (!SWIG_IsOK(res1
)) {
9460 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_SplitterWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
9462 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
9464 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9465 if (!SWIG_IsOK(ecode2
)) {
9466 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_SplitterWindow" "', expected argument " "2"" of type '" "int""'");
9468 arg2
= static_cast< int >(val2
);
9473 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
9479 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
9483 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
9484 if (!SWIG_IsOK(ecode5
)) {
9485 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_SplitterWindow" "', expected argument " "5"" of type '" "long""'");
9487 arg5
= static_cast< long >(val5
);
9491 arg6
= wxString_in_helper(obj5
);
9492 if (arg6
== NULL
) SWIG_fail
;
9497 if (!wxPyCheckForApp()) SWIG_fail
;
9498 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9499 result
= (wxSplitterWindow
*)new wxSplitterWindow(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
9500 wxPyEndAllowThreads(__tstate
);
9501 if (PyErr_Occurred()) SWIG_fail
;
9503 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSplitterWindow
, SWIG_POINTER_NEW
| 0 );
9518 SWIGINTERN PyObject
*_wrap_new_PreSplitterWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9519 PyObject
*resultobj
= 0;
9520 wxSplitterWindow
*result
= 0 ;
9522 if (!SWIG_Python_UnpackTuple(args
,"new_PreSplitterWindow",0,0,0)) SWIG_fail
;
9524 if (!wxPyCheckForApp()) SWIG_fail
;
9525 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9526 result
= (wxSplitterWindow
*)new wxSplitterWindow();
9527 wxPyEndAllowThreads(__tstate
);
9528 if (PyErr_Occurred()) SWIG_fail
;
9530 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSplitterWindow
, SWIG_POINTER_OWN
| 0 );
9537 SWIGINTERN PyObject
*_wrap_SplitterWindow_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9538 PyObject
*resultobj
= 0;
9539 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
9540 wxWindow
*arg2
= (wxWindow
*) 0 ;
9541 int arg3
= (int) -1 ;
9542 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
9543 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
9544 wxSize
const &arg5_defvalue
= wxDefaultSize
;
9545 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
9546 long arg6
= (long) wxSP_3D
;
9547 wxString
const &arg7_defvalue
= wxPySplitterNameStr
;
9548 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
9560 bool temp7
= false ;
9561 PyObject
* obj0
= 0 ;
9562 PyObject
* obj1
= 0 ;
9563 PyObject
* obj2
= 0 ;
9564 PyObject
* obj3
= 0 ;
9565 PyObject
* obj4
= 0 ;
9566 PyObject
* obj5
= 0 ;
9567 PyObject
* obj6
= 0 ;
9568 char * kwnames
[] = {
9569 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
9572 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:SplitterWindow_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
9573 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
9574 if (!SWIG_IsOK(res1
)) {
9575 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_Create" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
9577 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
9578 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
9579 if (!SWIG_IsOK(res2
)) {
9580 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "SplitterWindow_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
9582 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
9584 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
9585 if (!SWIG_IsOK(ecode3
)) {
9586 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "SplitterWindow_Create" "', expected argument " "3"" of type '" "int""'");
9588 arg3
= static_cast< int >(val3
);
9593 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
9599 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
9603 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
9604 if (!SWIG_IsOK(ecode6
)) {
9605 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "SplitterWindow_Create" "', expected argument " "6"" of type '" "long""'");
9607 arg6
= static_cast< long >(val6
);
9611 arg7
= wxString_in_helper(obj6
);
9612 if (arg7
== NULL
) SWIG_fail
;
9617 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9618 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
9619 wxPyEndAllowThreads(__tstate
);
9620 if (PyErr_Occurred()) SWIG_fail
;
9623 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9639 SWIGINTERN PyObject
*_wrap_SplitterWindow_GetWindow1(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9640 PyObject
*resultobj
= 0;
9641 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
9642 wxWindow
*result
= 0 ;
9645 PyObject
*swig_obj
[1] ;
9647 if (!args
) SWIG_fail
;
9649 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
9650 if (!SWIG_IsOK(res1
)) {
9651 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_GetWindow1" "', expected argument " "1"" of type '" "wxSplitterWindow const *""'");
9653 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
9655 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9656 result
= (wxWindow
*)((wxSplitterWindow
const *)arg1
)->GetWindow1();
9657 wxPyEndAllowThreads(__tstate
);
9658 if (PyErr_Occurred()) SWIG_fail
;
9661 resultobj
= wxPyMake_wxObject(result
, 0);
9669 SWIGINTERN PyObject
*_wrap_SplitterWindow_GetWindow2(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9670 PyObject
*resultobj
= 0;
9671 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
9672 wxWindow
*result
= 0 ;
9675 PyObject
*swig_obj
[1] ;
9677 if (!args
) SWIG_fail
;
9679 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
9680 if (!SWIG_IsOK(res1
)) {
9681 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_GetWindow2" "', expected argument " "1"" of type '" "wxSplitterWindow const *""'");
9683 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
9685 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9686 result
= (wxWindow
*)((wxSplitterWindow
const *)arg1
)->GetWindow2();
9687 wxPyEndAllowThreads(__tstate
);
9688 if (PyErr_Occurred()) SWIG_fail
;
9691 resultobj
= wxPyMake_wxObject(result
, 0);
9699 SWIGINTERN PyObject
*_wrap_SplitterWindow_SetSplitMode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9700 PyObject
*resultobj
= 0;
9701 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
9707 PyObject
* obj0
= 0 ;
9708 PyObject
* obj1
= 0 ;
9709 char * kwnames
[] = {
9710 (char *) "self",(char *) "mode", NULL
9713 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplitterWindow_SetSplitMode",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9714 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
9715 if (!SWIG_IsOK(res1
)) {
9716 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_SetSplitMode" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
9718 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
9719 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9720 if (!SWIG_IsOK(ecode2
)) {
9721 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SplitterWindow_SetSplitMode" "', expected argument " "2"" of type '" "int""'");
9723 arg2
= static_cast< int >(val2
);
9725 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9726 (arg1
)->SetSplitMode(arg2
);
9727 wxPyEndAllowThreads(__tstate
);
9728 if (PyErr_Occurred()) SWIG_fail
;
9730 resultobj
= SWIG_Py_Void();
9737 SWIGINTERN PyObject
*_wrap_SplitterWindow_GetSplitMode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9738 PyObject
*resultobj
= 0;
9739 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
9743 PyObject
*swig_obj
[1] ;
9745 if (!args
) SWIG_fail
;
9747 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
9748 if (!SWIG_IsOK(res1
)) {
9749 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_GetSplitMode" "', expected argument " "1"" of type '" "wxSplitterWindow const *""'");
9751 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
9753 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9754 result
= (wxSplitMode
)((wxSplitterWindow
const *)arg1
)->GetSplitMode();
9755 wxPyEndAllowThreads(__tstate
);
9756 if (PyErr_Occurred()) SWIG_fail
;
9758 resultobj
= SWIG_From_int(static_cast< int >(result
));
9765 SWIGINTERN PyObject
*_wrap_SplitterWindow_Initialize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9766 PyObject
*resultobj
= 0;
9767 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
9768 wxWindow
*arg2
= (wxWindow
*) 0 ;
9773 PyObject
* obj0
= 0 ;
9774 PyObject
* obj1
= 0 ;
9775 char * kwnames
[] = {
9776 (char *) "self",(char *) "window", NULL
9779 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplitterWindow_Initialize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9780 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
9781 if (!SWIG_IsOK(res1
)) {
9782 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_Initialize" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
9784 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
9785 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
9786 if (!SWIG_IsOK(res2
)) {
9787 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "SplitterWindow_Initialize" "', expected argument " "2"" of type '" "wxWindow *""'");
9789 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
9791 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9792 (arg1
)->Initialize(arg2
);
9793 wxPyEndAllowThreads(__tstate
);
9794 if (PyErr_Occurred()) SWIG_fail
;
9796 resultobj
= SWIG_Py_Void();
9803 SWIGINTERN PyObject
*_wrap_SplitterWindow_SplitVertically(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9804 PyObject
*resultobj
= 0;
9805 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
9806 wxWindow
*arg2
= (wxWindow
*) 0 ;
9807 wxWindow
*arg3
= (wxWindow
*) 0 ;
9808 int arg4
= (int) 0 ;
9818 PyObject
* obj0
= 0 ;
9819 PyObject
* obj1
= 0 ;
9820 PyObject
* obj2
= 0 ;
9821 PyObject
* obj3
= 0 ;
9822 char * kwnames
[] = {
9823 (char *) "self",(char *) "window1",(char *) "window2",(char *) "sashPosition", NULL
9826 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:SplitterWindow_SplitVertically",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
9827 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
9828 if (!SWIG_IsOK(res1
)) {
9829 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_SplitVertically" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
9831 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
9832 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
9833 if (!SWIG_IsOK(res2
)) {
9834 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "SplitterWindow_SplitVertically" "', expected argument " "2"" of type '" "wxWindow *""'");
9836 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
9837 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxWindow
, 0 | 0 );
9838 if (!SWIG_IsOK(res3
)) {
9839 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "SplitterWindow_SplitVertically" "', expected argument " "3"" of type '" "wxWindow *""'");
9841 arg3
= reinterpret_cast< wxWindow
* >(argp3
);
9843 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
9844 if (!SWIG_IsOK(ecode4
)) {
9845 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "SplitterWindow_SplitVertically" "', expected argument " "4"" of type '" "int""'");
9847 arg4
= static_cast< int >(val4
);
9850 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9851 result
= (bool)(arg1
)->SplitVertically(arg2
,arg3
,arg4
);
9852 wxPyEndAllowThreads(__tstate
);
9853 if (PyErr_Occurred()) SWIG_fail
;
9856 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9864 SWIGINTERN PyObject
*_wrap_SplitterWindow_SplitHorizontally(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9865 PyObject
*resultobj
= 0;
9866 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
9867 wxWindow
*arg2
= (wxWindow
*) 0 ;
9868 wxWindow
*arg3
= (wxWindow
*) 0 ;
9869 int arg4
= (int) 0 ;
9879 PyObject
* obj0
= 0 ;
9880 PyObject
* obj1
= 0 ;
9881 PyObject
* obj2
= 0 ;
9882 PyObject
* obj3
= 0 ;
9883 char * kwnames
[] = {
9884 (char *) "self",(char *) "window1",(char *) "window2",(char *) "sashPosition", NULL
9887 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:SplitterWindow_SplitHorizontally",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
9888 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
9889 if (!SWIG_IsOK(res1
)) {
9890 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_SplitHorizontally" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
9892 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
9893 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
9894 if (!SWIG_IsOK(res2
)) {
9895 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "SplitterWindow_SplitHorizontally" "', expected argument " "2"" of type '" "wxWindow *""'");
9897 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
9898 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxWindow
, 0 | 0 );
9899 if (!SWIG_IsOK(res3
)) {
9900 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "SplitterWindow_SplitHorizontally" "', expected argument " "3"" of type '" "wxWindow *""'");
9902 arg3
= reinterpret_cast< wxWindow
* >(argp3
);
9904 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
9905 if (!SWIG_IsOK(ecode4
)) {
9906 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "SplitterWindow_SplitHorizontally" "', expected argument " "4"" of type '" "int""'");
9908 arg4
= static_cast< int >(val4
);
9911 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9912 result
= (bool)(arg1
)->SplitHorizontally(arg2
,arg3
,arg4
);
9913 wxPyEndAllowThreads(__tstate
);
9914 if (PyErr_Occurred()) SWIG_fail
;
9917 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9925 SWIGINTERN PyObject
*_wrap_SplitterWindow_Unsplit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9926 PyObject
*resultobj
= 0;
9927 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
9928 wxWindow
*arg2
= (wxWindow
*) NULL
;
9934 PyObject
* obj0
= 0 ;
9935 PyObject
* obj1
= 0 ;
9936 char * kwnames
[] = {
9937 (char *) "self",(char *) "toRemove", NULL
9940 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:SplitterWindow_Unsplit",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9941 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
9942 if (!SWIG_IsOK(res1
)) {
9943 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_Unsplit" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
9945 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
9947 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
9948 if (!SWIG_IsOK(res2
)) {
9949 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "SplitterWindow_Unsplit" "', expected argument " "2"" of type '" "wxWindow *""'");
9951 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
9954 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9955 result
= (bool)(arg1
)->Unsplit(arg2
);
9956 wxPyEndAllowThreads(__tstate
);
9957 if (PyErr_Occurred()) SWIG_fail
;
9960 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9968 SWIGINTERN PyObject
*_wrap_SplitterWindow_ReplaceWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9969 PyObject
*resultobj
= 0;
9970 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
9971 wxWindow
*arg2
= (wxWindow
*) 0 ;
9972 wxWindow
*arg3
= (wxWindow
*) 0 ;
9980 PyObject
* obj0
= 0 ;
9981 PyObject
* obj1
= 0 ;
9982 PyObject
* obj2
= 0 ;
9983 char * kwnames
[] = {
9984 (char *) "self",(char *) "winOld",(char *) "winNew", NULL
9987 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SplitterWindow_ReplaceWindow",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
9988 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
9989 if (!SWIG_IsOK(res1
)) {
9990 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_ReplaceWindow" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
9992 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
9993 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
9994 if (!SWIG_IsOK(res2
)) {
9995 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "SplitterWindow_ReplaceWindow" "', expected argument " "2"" of type '" "wxWindow *""'");
9997 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
9998 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxWindow
, 0 | 0 );
9999 if (!SWIG_IsOK(res3
)) {
10000 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "SplitterWindow_ReplaceWindow" "', expected argument " "3"" of type '" "wxWindow *""'");
10002 arg3
= reinterpret_cast< wxWindow
* >(argp3
);
10004 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10005 result
= (bool)(arg1
)->ReplaceWindow(arg2
,arg3
);
10006 wxPyEndAllowThreads(__tstate
);
10007 if (PyErr_Occurred()) SWIG_fail
;
10010 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10018 SWIGINTERN PyObject
*_wrap_SplitterWindow_UpdateSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10019 PyObject
*resultobj
= 0;
10020 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
10023 PyObject
*swig_obj
[1] ;
10025 if (!args
) SWIG_fail
;
10026 swig_obj
[0] = args
;
10027 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
10028 if (!SWIG_IsOK(res1
)) {
10029 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_UpdateSize" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
10031 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
10033 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10034 (arg1
)->UpdateSize();
10035 wxPyEndAllowThreads(__tstate
);
10036 if (PyErr_Occurred()) SWIG_fail
;
10038 resultobj
= SWIG_Py_Void();
10045 SWIGINTERN PyObject
*_wrap_SplitterWindow_IsSplit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10046 PyObject
*resultobj
= 0;
10047 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
10051 PyObject
*swig_obj
[1] ;
10053 if (!args
) SWIG_fail
;
10054 swig_obj
[0] = args
;
10055 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
10056 if (!SWIG_IsOK(res1
)) {
10057 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_IsSplit" "', expected argument " "1"" of type '" "wxSplitterWindow const *""'");
10059 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
10061 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10062 result
= (bool)((wxSplitterWindow
const *)arg1
)->IsSplit();
10063 wxPyEndAllowThreads(__tstate
);
10064 if (PyErr_Occurred()) SWIG_fail
;
10067 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10075 SWIGINTERN PyObject
*_wrap_SplitterWindow_SetSashSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10076 PyObject
*resultobj
= 0;
10077 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
10083 PyObject
* obj0
= 0 ;
10084 PyObject
* obj1
= 0 ;
10085 char * kwnames
[] = {
10086 (char *) "self",(char *) "width", NULL
10089 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplitterWindow_SetSashSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10090 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
10091 if (!SWIG_IsOK(res1
)) {
10092 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_SetSashSize" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
10094 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
10095 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10096 if (!SWIG_IsOK(ecode2
)) {
10097 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SplitterWindow_SetSashSize" "', expected argument " "2"" of type '" "int""'");
10099 arg2
= static_cast< int >(val2
);
10101 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10102 (arg1
)->SetSashSize(arg2
);
10103 wxPyEndAllowThreads(__tstate
);
10104 if (PyErr_Occurred()) SWIG_fail
;
10106 resultobj
= SWIG_Py_Void();
10113 SWIGINTERN PyObject
*_wrap_SplitterWindow_SetBorderSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10114 PyObject
*resultobj
= 0;
10115 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
10121 PyObject
* obj0
= 0 ;
10122 PyObject
* obj1
= 0 ;
10123 char * kwnames
[] = {
10124 (char *) "self",(char *) "width", NULL
10127 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplitterWindow_SetBorderSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10128 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
10129 if (!SWIG_IsOK(res1
)) {
10130 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_SetBorderSize" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
10132 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
10133 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10134 if (!SWIG_IsOK(ecode2
)) {
10135 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SplitterWindow_SetBorderSize" "', expected argument " "2"" of type '" "int""'");
10137 arg2
= static_cast< int >(val2
);
10139 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10140 (arg1
)->SetBorderSize(arg2
);
10141 wxPyEndAllowThreads(__tstate
);
10142 if (PyErr_Occurred()) SWIG_fail
;
10144 resultobj
= SWIG_Py_Void();
10151 SWIGINTERN PyObject
*_wrap_SplitterWindow_GetSashSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10152 PyObject
*resultobj
= 0;
10153 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
10157 PyObject
*swig_obj
[1] ;
10159 if (!args
) SWIG_fail
;
10160 swig_obj
[0] = args
;
10161 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
10162 if (!SWIG_IsOK(res1
)) {
10163 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_GetSashSize" "', expected argument " "1"" of type '" "wxSplitterWindow const *""'");
10165 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
10167 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10168 result
= (int)((wxSplitterWindow
const *)arg1
)->GetSashSize();
10169 wxPyEndAllowThreads(__tstate
);
10170 if (PyErr_Occurred()) SWIG_fail
;
10172 resultobj
= SWIG_From_int(static_cast< int >(result
));
10179 SWIGINTERN PyObject
*_wrap_SplitterWindow_GetBorderSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10180 PyObject
*resultobj
= 0;
10181 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
10185 PyObject
*swig_obj
[1] ;
10187 if (!args
) SWIG_fail
;
10188 swig_obj
[0] = args
;
10189 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
10190 if (!SWIG_IsOK(res1
)) {
10191 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_GetBorderSize" "', expected argument " "1"" of type '" "wxSplitterWindow const *""'");
10193 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
10195 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10196 result
= (int)((wxSplitterWindow
const *)arg1
)->GetBorderSize();
10197 wxPyEndAllowThreads(__tstate
);
10198 if (PyErr_Occurred()) SWIG_fail
;
10200 resultobj
= SWIG_From_int(static_cast< int >(result
));
10207 SWIGINTERN PyObject
*_wrap_SplitterWindow_SetSashPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10208 PyObject
*resultobj
= 0;
10209 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
10211 bool arg3
= (bool) true ;
10218 PyObject
* obj0
= 0 ;
10219 PyObject
* obj1
= 0 ;
10220 PyObject
* obj2
= 0 ;
10221 char * kwnames
[] = {
10222 (char *) "self",(char *) "position",(char *) "redraw", NULL
10225 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:SplitterWindow_SetSashPosition",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
10226 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
10227 if (!SWIG_IsOK(res1
)) {
10228 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_SetSashPosition" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
10230 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
10231 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10232 if (!SWIG_IsOK(ecode2
)) {
10233 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SplitterWindow_SetSashPosition" "', expected argument " "2"" of type '" "int""'");
10235 arg2
= static_cast< int >(val2
);
10237 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
10238 if (!SWIG_IsOK(ecode3
)) {
10239 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "SplitterWindow_SetSashPosition" "', expected argument " "3"" of type '" "bool""'");
10241 arg3
= static_cast< bool >(val3
);
10244 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10245 (arg1
)->SetSashPosition(arg2
,arg3
);
10246 wxPyEndAllowThreads(__tstate
);
10247 if (PyErr_Occurred()) SWIG_fail
;
10249 resultobj
= SWIG_Py_Void();
10256 SWIGINTERN PyObject
*_wrap_SplitterWindow_GetSashPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10257 PyObject
*resultobj
= 0;
10258 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
10262 PyObject
*swig_obj
[1] ;
10264 if (!args
) SWIG_fail
;
10265 swig_obj
[0] = args
;
10266 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
10267 if (!SWIG_IsOK(res1
)) {
10268 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_GetSashPosition" "', expected argument " "1"" of type '" "wxSplitterWindow const *""'");
10270 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
10272 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10273 result
= (int)((wxSplitterWindow
const *)arg1
)->GetSashPosition();
10274 wxPyEndAllowThreads(__tstate
);
10275 if (PyErr_Occurred()) SWIG_fail
;
10277 resultobj
= SWIG_From_int(static_cast< int >(result
));
10284 SWIGINTERN PyObject
*_wrap_SplitterWindow_SetSashGravity(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10285 PyObject
*resultobj
= 0;
10286 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
10292 PyObject
* obj0
= 0 ;
10293 PyObject
* obj1
= 0 ;
10294 char * kwnames
[] = {
10295 (char *) "self",(char *) "gravity", NULL
10298 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplitterWindow_SetSashGravity",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10299 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
10300 if (!SWIG_IsOK(res1
)) {
10301 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_SetSashGravity" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
10303 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
10304 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
10305 if (!SWIG_IsOK(ecode2
)) {
10306 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SplitterWindow_SetSashGravity" "', expected argument " "2"" of type '" "double""'");
10308 arg2
= static_cast< double >(val2
);
10310 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10311 (arg1
)->SetSashGravity(arg2
);
10312 wxPyEndAllowThreads(__tstate
);
10313 if (PyErr_Occurred()) SWIG_fail
;
10315 resultobj
= SWIG_Py_Void();
10322 SWIGINTERN PyObject
*_wrap_SplitterWindow_GetSashGravity(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10323 PyObject
*resultobj
= 0;
10324 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
10328 PyObject
*swig_obj
[1] ;
10330 if (!args
) SWIG_fail
;
10331 swig_obj
[0] = args
;
10332 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
10333 if (!SWIG_IsOK(res1
)) {
10334 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_GetSashGravity" "', expected argument " "1"" of type '" "wxSplitterWindow const *""'");
10336 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
10338 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10339 result
= (double)((wxSplitterWindow
const *)arg1
)->GetSashGravity();
10340 wxPyEndAllowThreads(__tstate
);
10341 if (PyErr_Occurred()) SWIG_fail
;
10343 resultobj
= SWIG_From_double(static_cast< double >(result
));
10350 SWIGINTERN PyObject
*_wrap_SplitterWindow_SetMinimumPaneSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10351 PyObject
*resultobj
= 0;
10352 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
10358 PyObject
* obj0
= 0 ;
10359 PyObject
* obj1
= 0 ;
10360 char * kwnames
[] = {
10361 (char *) "self",(char *) "min", NULL
10364 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplitterWindow_SetMinimumPaneSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10365 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
10366 if (!SWIG_IsOK(res1
)) {
10367 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_SetMinimumPaneSize" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
10369 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
10370 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10371 if (!SWIG_IsOK(ecode2
)) {
10372 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SplitterWindow_SetMinimumPaneSize" "', expected argument " "2"" of type '" "int""'");
10374 arg2
= static_cast< int >(val2
);
10376 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10377 (arg1
)->SetMinimumPaneSize(arg2
);
10378 wxPyEndAllowThreads(__tstate
);
10379 if (PyErr_Occurred()) SWIG_fail
;
10381 resultobj
= SWIG_Py_Void();
10388 SWIGINTERN PyObject
*_wrap_SplitterWindow_GetMinimumPaneSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10389 PyObject
*resultobj
= 0;
10390 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
10394 PyObject
*swig_obj
[1] ;
10396 if (!args
) SWIG_fail
;
10397 swig_obj
[0] = args
;
10398 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
10399 if (!SWIG_IsOK(res1
)) {
10400 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_GetMinimumPaneSize" "', expected argument " "1"" of type '" "wxSplitterWindow const *""'");
10402 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
10404 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10405 result
= (int)((wxSplitterWindow
const *)arg1
)->GetMinimumPaneSize();
10406 wxPyEndAllowThreads(__tstate
);
10407 if (PyErr_Occurred()) SWIG_fail
;
10409 resultobj
= SWIG_From_int(static_cast< int >(result
));
10416 SWIGINTERN PyObject
*_wrap_SplitterWindow_SashHitTest(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10417 PyObject
*resultobj
= 0;
10418 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
10421 int arg4
= (int) 5 ;
10431 PyObject
* obj0
= 0 ;
10432 PyObject
* obj1
= 0 ;
10433 PyObject
* obj2
= 0 ;
10434 PyObject
* obj3
= 0 ;
10435 char * kwnames
[] = {
10436 (char *) "self",(char *) "x",(char *) "y",(char *) "tolerance", NULL
10439 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:SplitterWindow_SashHitTest",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
10440 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
10441 if (!SWIG_IsOK(res1
)) {
10442 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_SashHitTest" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
10444 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
10445 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10446 if (!SWIG_IsOK(ecode2
)) {
10447 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SplitterWindow_SashHitTest" "', expected argument " "2"" of type '" "int""'");
10449 arg2
= static_cast< int >(val2
);
10450 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
10451 if (!SWIG_IsOK(ecode3
)) {
10452 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "SplitterWindow_SashHitTest" "', expected argument " "3"" of type '" "int""'");
10454 arg3
= static_cast< int >(val3
);
10456 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
10457 if (!SWIG_IsOK(ecode4
)) {
10458 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "SplitterWindow_SashHitTest" "', expected argument " "4"" of type '" "int""'");
10460 arg4
= static_cast< int >(val4
);
10463 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10464 result
= (bool)(arg1
)->SashHitTest(arg2
,arg3
,arg4
);
10465 wxPyEndAllowThreads(__tstate
);
10466 if (PyErr_Occurred()) SWIG_fail
;
10469 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10477 SWIGINTERN PyObject
*_wrap_SplitterWindow_SizeWindows(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10478 PyObject
*resultobj
= 0;
10479 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
10482 PyObject
*swig_obj
[1] ;
10484 if (!args
) SWIG_fail
;
10485 swig_obj
[0] = args
;
10486 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
10487 if (!SWIG_IsOK(res1
)) {
10488 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_SizeWindows" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
10490 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
10492 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10493 (arg1
)->SizeWindows();
10494 wxPyEndAllowThreads(__tstate
);
10495 if (PyErr_Occurred()) SWIG_fail
;
10497 resultobj
= SWIG_Py_Void();
10504 SWIGINTERN PyObject
*_wrap_SplitterWindow_SetNeedUpdating(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10505 PyObject
*resultobj
= 0;
10506 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
10512 PyObject
* obj0
= 0 ;
10513 PyObject
* obj1
= 0 ;
10514 char * kwnames
[] = {
10515 (char *) "self",(char *) "needUpdating", NULL
10518 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplitterWindow_SetNeedUpdating",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10519 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
10520 if (!SWIG_IsOK(res1
)) {
10521 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_SetNeedUpdating" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
10523 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
10524 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
10525 if (!SWIG_IsOK(ecode2
)) {
10526 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SplitterWindow_SetNeedUpdating" "', expected argument " "2"" of type '" "bool""'");
10528 arg2
= static_cast< bool >(val2
);
10530 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10531 (arg1
)->SetNeedUpdating(arg2
);
10532 wxPyEndAllowThreads(__tstate
);
10533 if (PyErr_Occurred()) SWIG_fail
;
10535 resultobj
= SWIG_Py_Void();
10542 SWIGINTERN PyObject
*_wrap_SplitterWindow_GetNeedUpdating(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10543 PyObject
*resultobj
= 0;
10544 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
10548 PyObject
*swig_obj
[1] ;
10550 if (!args
) SWIG_fail
;
10551 swig_obj
[0] = args
;
10552 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
10553 if (!SWIG_IsOK(res1
)) {
10554 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_GetNeedUpdating" "', expected argument " "1"" of type '" "wxSplitterWindow const *""'");
10556 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
10558 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10559 result
= (bool)((wxSplitterWindow
const *)arg1
)->GetNeedUpdating();
10560 wxPyEndAllowThreads(__tstate
);
10561 if (PyErr_Occurred()) SWIG_fail
;
10564 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10572 SWIGINTERN PyObject
*_wrap_SplitterWindow_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10573 PyObject
*resultobj
= 0;
10574 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
10575 SwigValueWrapper
<wxVisualAttributes
> result
;
10578 PyObject
* obj0
= 0 ;
10579 char * kwnames
[] = {
10580 (char *) "variant", NULL
10583 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:SplitterWindow_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
10585 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
10586 if (!SWIG_IsOK(ecode1
)) {
10587 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "SplitterWindow_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
10589 arg1
= static_cast< wxWindowVariant
>(val1
);
10592 if (!wxPyCheckForApp()) SWIG_fail
;
10593 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10594 result
= wxSplitterWindow::GetClassDefaultAttributes(arg1
);
10595 wxPyEndAllowThreads(__tstate
);
10596 if (PyErr_Occurred()) SWIG_fail
;
10598 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
10605 SWIGINTERN PyObject
*SplitterWindow_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10607 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
10608 SWIG_TypeNewClientData(SWIGTYPE_p_wxSplitterWindow
, SWIG_NewClientData(obj
));
10609 return SWIG_Py_Void();
10612 SWIGINTERN PyObject
*SplitterWindow_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10613 return SWIG_Python_InitShadowInstance(args
);
10616 SWIGINTERN PyObject
*_wrap_new_SplitterEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10617 PyObject
*resultobj
= 0;
10618 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
10619 wxSplitterWindow
*arg2
= (wxSplitterWindow
*) (wxSplitterWindow
*) NULL
;
10620 wxSplitterEvent
*result
= 0 ;
10625 PyObject
* obj0
= 0 ;
10626 PyObject
* obj1
= 0 ;
10627 char * kwnames
[] = {
10628 (char *) "type",(char *) "splitter", NULL
10631 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_SplitterEvent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10633 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
10634 if (!SWIG_IsOK(ecode1
)) {
10635 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_SplitterEvent" "', expected argument " "1"" of type '" "wxEventType""'");
10637 arg1
= static_cast< wxEventType
>(val1
);
10640 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
10641 if (!SWIG_IsOK(res2
)) {
10642 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_SplitterEvent" "', expected argument " "2"" of type '" "wxSplitterWindow *""'");
10644 arg2
= reinterpret_cast< wxSplitterWindow
* >(argp2
);
10647 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10648 result
= (wxSplitterEvent
*)new wxSplitterEvent(arg1
,arg2
);
10649 wxPyEndAllowThreads(__tstate
);
10650 if (PyErr_Occurred()) SWIG_fail
;
10652 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSplitterEvent
, SWIG_POINTER_NEW
| 0 );
10659 SWIGINTERN PyObject
*_wrap_SplitterEvent_SetSashPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10660 PyObject
*resultobj
= 0;
10661 wxSplitterEvent
*arg1
= (wxSplitterEvent
*) 0 ;
10667 PyObject
* obj0
= 0 ;
10668 PyObject
* obj1
= 0 ;
10669 char * kwnames
[] = {
10670 (char *) "self",(char *) "pos", NULL
10673 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplitterEvent_SetSashPosition",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10674 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSplitterEvent
, 0 | 0 );
10675 if (!SWIG_IsOK(res1
)) {
10676 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterEvent_SetSashPosition" "', expected argument " "1"" of type '" "wxSplitterEvent *""'");
10678 arg1
= reinterpret_cast< wxSplitterEvent
* >(argp1
);
10679 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10680 if (!SWIG_IsOK(ecode2
)) {
10681 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SplitterEvent_SetSashPosition" "', expected argument " "2"" of type '" "int""'");
10683 arg2
= static_cast< int >(val2
);
10685 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10686 (arg1
)->SetSashPosition(arg2
);
10687 wxPyEndAllowThreads(__tstate
);
10688 if (PyErr_Occurred()) SWIG_fail
;
10690 resultobj
= SWIG_Py_Void();
10697 SWIGINTERN PyObject
*_wrap_SplitterEvent_GetSashPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10698 PyObject
*resultobj
= 0;
10699 wxSplitterEvent
*arg1
= (wxSplitterEvent
*) 0 ;
10703 PyObject
*swig_obj
[1] ;
10705 if (!args
) SWIG_fail
;
10706 swig_obj
[0] = args
;
10707 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterEvent
, 0 | 0 );
10708 if (!SWIG_IsOK(res1
)) {
10709 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterEvent_GetSashPosition" "', expected argument " "1"" of type '" "wxSplitterEvent const *""'");
10711 arg1
= reinterpret_cast< wxSplitterEvent
* >(argp1
);
10713 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10714 result
= (int)((wxSplitterEvent
const *)arg1
)->GetSashPosition();
10715 wxPyEndAllowThreads(__tstate
);
10716 if (PyErr_Occurred()) SWIG_fail
;
10718 resultobj
= SWIG_From_int(static_cast< int >(result
));
10725 SWIGINTERN PyObject
*_wrap_SplitterEvent_GetWindowBeingRemoved(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10726 PyObject
*resultobj
= 0;
10727 wxSplitterEvent
*arg1
= (wxSplitterEvent
*) 0 ;
10728 wxWindow
*result
= 0 ;
10731 PyObject
*swig_obj
[1] ;
10733 if (!args
) SWIG_fail
;
10734 swig_obj
[0] = args
;
10735 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterEvent
, 0 | 0 );
10736 if (!SWIG_IsOK(res1
)) {
10737 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterEvent_GetWindowBeingRemoved" "', expected argument " "1"" of type '" "wxSplitterEvent const *""'");
10739 arg1
= reinterpret_cast< wxSplitterEvent
* >(argp1
);
10741 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10742 result
= (wxWindow
*)((wxSplitterEvent
const *)arg1
)->GetWindowBeingRemoved();
10743 wxPyEndAllowThreads(__tstate
);
10744 if (PyErr_Occurred()) SWIG_fail
;
10747 resultobj
= wxPyMake_wxObject(result
, 0);
10755 SWIGINTERN PyObject
*_wrap_SplitterEvent_GetX(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10756 PyObject
*resultobj
= 0;
10757 wxSplitterEvent
*arg1
= (wxSplitterEvent
*) 0 ;
10761 PyObject
*swig_obj
[1] ;
10763 if (!args
) SWIG_fail
;
10764 swig_obj
[0] = args
;
10765 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterEvent
, 0 | 0 );
10766 if (!SWIG_IsOK(res1
)) {
10767 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterEvent_GetX" "', expected argument " "1"" of type '" "wxSplitterEvent const *""'");
10769 arg1
= reinterpret_cast< wxSplitterEvent
* >(argp1
);
10771 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10772 result
= (int)((wxSplitterEvent
const *)arg1
)->GetX();
10773 wxPyEndAllowThreads(__tstate
);
10774 if (PyErr_Occurred()) SWIG_fail
;
10776 resultobj
= SWIG_From_int(static_cast< int >(result
));
10783 SWIGINTERN PyObject
*_wrap_SplitterEvent_GetY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10784 PyObject
*resultobj
= 0;
10785 wxSplitterEvent
*arg1
= (wxSplitterEvent
*) 0 ;
10789 PyObject
*swig_obj
[1] ;
10791 if (!args
) SWIG_fail
;
10792 swig_obj
[0] = args
;
10793 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterEvent
, 0 | 0 );
10794 if (!SWIG_IsOK(res1
)) {
10795 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterEvent_GetY" "', expected argument " "1"" of type '" "wxSplitterEvent const *""'");
10797 arg1
= reinterpret_cast< wxSplitterEvent
* >(argp1
);
10799 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10800 result
= (int)((wxSplitterEvent
const *)arg1
)->GetY();
10801 wxPyEndAllowThreads(__tstate
);
10802 if (PyErr_Occurred()) SWIG_fail
;
10804 resultobj
= SWIG_From_int(static_cast< int >(result
));
10811 SWIGINTERN PyObject
*SplitterEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10813 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
10814 SWIG_TypeNewClientData(SWIGTYPE_p_wxSplitterEvent
, SWIG_NewClientData(obj
));
10815 return SWIG_Py_Void();
10818 SWIGINTERN PyObject
*SplitterEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10819 return SWIG_Python_InitShadowInstance(args
);
10822 SWIGINTERN
int SashNameStr_set(PyObject
*) {
10823 SWIG_Error(SWIG_AttributeError
,"Variable SashNameStr is read-only.");
10828 SWIGINTERN PyObject
*SashNameStr_get(void) {
10829 PyObject
*pyobj
= 0;
10833 pyobj
= PyUnicode_FromWideChar((&wxPySashNameStr
)->c_str(), (&wxPySashNameStr
)->Len());
10835 pyobj
= PyString_FromStringAndSize((&wxPySashNameStr
)->c_str(), (&wxPySashNameStr
)->Len());
10842 SWIGINTERN
int SashLayoutNameStr_set(PyObject
*) {
10843 SWIG_Error(SWIG_AttributeError
,"Variable SashLayoutNameStr is read-only.");
10848 SWIGINTERN PyObject
*SashLayoutNameStr_get(void) {
10849 PyObject
*pyobj
= 0;
10853 pyobj
= PyUnicode_FromWideChar((&wxPySashLayoutNameStr
)->c_str(), (&wxPySashLayoutNameStr
)->Len());
10855 pyobj
= PyString_FromStringAndSize((&wxPySashLayoutNameStr
)->c_str(), (&wxPySashLayoutNameStr
)->Len());
10862 SWIGINTERN PyObject
*_wrap_new_SashWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10863 PyObject
*resultobj
= 0;
10864 wxWindow
*arg1
= (wxWindow
*) 0 ;
10865 int arg2
= (int) -1 ;
10866 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
10867 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
10868 wxSize
const &arg4_defvalue
= wxDefaultSize
;
10869 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
10870 long arg5
= (long) wxCLIP_CHILDREN
|wxSW_3D
;
10871 wxString
const &arg6_defvalue
= wxPySashNameStr
;
10872 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
10873 wxSashWindow
*result
= 0 ;
10882 bool temp6
= false ;
10883 PyObject
* obj0
= 0 ;
10884 PyObject
* obj1
= 0 ;
10885 PyObject
* obj2
= 0 ;
10886 PyObject
* obj3
= 0 ;
10887 PyObject
* obj4
= 0 ;
10888 PyObject
* obj5
= 0 ;
10889 char * kwnames
[] = {
10890 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
10893 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_SashWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
10894 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
10895 if (!SWIG_IsOK(res1
)) {
10896 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_SashWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
10898 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
10900 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10901 if (!SWIG_IsOK(ecode2
)) {
10902 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_SashWindow" "', expected argument " "2"" of type '" "int""'");
10904 arg2
= static_cast< int >(val2
);
10909 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
10915 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
10919 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
10920 if (!SWIG_IsOK(ecode5
)) {
10921 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_SashWindow" "', expected argument " "5"" of type '" "long""'");
10923 arg5
= static_cast< long >(val5
);
10927 arg6
= wxString_in_helper(obj5
);
10928 if (arg6
== NULL
) SWIG_fail
;
10933 if (!wxPyCheckForApp()) SWIG_fail
;
10934 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10935 result
= (wxSashWindow
*)new wxSashWindow(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
10936 wxPyEndAllowThreads(__tstate
);
10937 if (PyErr_Occurred()) SWIG_fail
;
10939 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSashWindow
, SWIG_POINTER_NEW
| 0 );
10954 SWIGINTERN PyObject
*_wrap_new_PreSashWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10955 PyObject
*resultobj
= 0;
10956 wxSashWindow
*result
= 0 ;
10958 if (!SWIG_Python_UnpackTuple(args
,"new_PreSashWindow",0,0,0)) SWIG_fail
;
10960 if (!wxPyCheckForApp()) SWIG_fail
;
10961 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10962 result
= (wxSashWindow
*)new wxSashWindow();
10963 wxPyEndAllowThreads(__tstate
);
10964 if (PyErr_Occurred()) SWIG_fail
;
10966 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSashWindow
, SWIG_POINTER_OWN
| 0 );
10973 SWIGINTERN PyObject
*_wrap_SashWindow_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10974 PyObject
*resultobj
= 0;
10975 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
10976 wxWindow
*arg2
= (wxWindow
*) 0 ;
10977 int arg3
= (int) -1 ;
10978 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
10979 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
10980 wxSize
const &arg5_defvalue
= wxDefaultSize
;
10981 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
10982 long arg6
= (long) wxCLIP_CHILDREN
|wxSW_3D
;
10983 wxString
const &arg7_defvalue
= wxPySashNameStr
;
10984 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
10996 bool temp7
= false ;
10997 PyObject
* obj0
= 0 ;
10998 PyObject
* obj1
= 0 ;
10999 PyObject
* obj2
= 0 ;
11000 PyObject
* obj3
= 0 ;
11001 PyObject
* obj4
= 0 ;
11002 PyObject
* obj5
= 0 ;
11003 PyObject
* obj6
= 0 ;
11004 char * kwnames
[] = {
11005 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
11008 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:SashWindow_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
11009 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSashWindow
, 0 | 0 );
11010 if (!SWIG_IsOK(res1
)) {
11011 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashWindow_Create" "', expected argument " "1"" of type '" "wxSashWindow *""'");
11013 arg1
= reinterpret_cast< wxSashWindow
* >(argp1
);
11014 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
11015 if (!SWIG_IsOK(res2
)) {
11016 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "SashWindow_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
11018 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
11020 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
11021 if (!SWIG_IsOK(ecode3
)) {
11022 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "SashWindow_Create" "', expected argument " "3"" of type '" "int""'");
11024 arg3
= static_cast< int >(val3
);
11029 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
11035 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
11039 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
11040 if (!SWIG_IsOK(ecode6
)) {
11041 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "SashWindow_Create" "', expected argument " "6"" of type '" "long""'");
11043 arg6
= static_cast< long >(val6
);
11047 arg7
= wxString_in_helper(obj6
);
11048 if (arg7
== NULL
) SWIG_fail
;
11053 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11054 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
11055 wxPyEndAllowThreads(__tstate
);
11056 if (PyErr_Occurred()) SWIG_fail
;
11059 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11075 SWIGINTERN PyObject
*_wrap_SashWindow_SetSashVisible(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11076 PyObject
*resultobj
= 0;
11077 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
11078 wxSashEdgePosition arg2
;
11086 PyObject
* obj0
= 0 ;
11087 PyObject
* obj1
= 0 ;
11088 PyObject
* obj2
= 0 ;
11089 char * kwnames
[] = {
11090 (char *) "self",(char *) "edge",(char *) "sash", NULL
11093 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SashWindow_SetSashVisible",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
11094 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSashWindow
, 0 | 0 );
11095 if (!SWIG_IsOK(res1
)) {
11096 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashWindow_SetSashVisible" "', expected argument " "1"" of type '" "wxSashWindow *""'");
11098 arg1
= reinterpret_cast< wxSashWindow
* >(argp1
);
11099 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11100 if (!SWIG_IsOK(ecode2
)) {
11101 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SashWindow_SetSashVisible" "', expected argument " "2"" of type '" "wxSashEdgePosition""'");
11103 arg2
= static_cast< wxSashEdgePosition
>(val2
);
11104 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
11105 if (!SWIG_IsOK(ecode3
)) {
11106 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "SashWindow_SetSashVisible" "', expected argument " "3"" of type '" "bool""'");
11108 arg3
= static_cast< bool >(val3
);
11110 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11111 (arg1
)->SetSashVisible(arg2
,arg3
);
11112 wxPyEndAllowThreads(__tstate
);
11113 if (PyErr_Occurred()) SWIG_fail
;
11115 resultobj
= SWIG_Py_Void();
11122 SWIGINTERN PyObject
*_wrap_SashWindow_GetSashVisible(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11123 PyObject
*resultobj
= 0;
11124 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
11125 wxSashEdgePosition arg2
;
11131 PyObject
* obj0
= 0 ;
11132 PyObject
* obj1
= 0 ;
11133 char * kwnames
[] = {
11134 (char *) "self",(char *) "edge", NULL
11137 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_GetSashVisible",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11138 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSashWindow
, 0 | 0 );
11139 if (!SWIG_IsOK(res1
)) {
11140 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashWindow_GetSashVisible" "', expected argument " "1"" of type '" "wxSashWindow const *""'");
11142 arg1
= reinterpret_cast< wxSashWindow
* >(argp1
);
11143 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11144 if (!SWIG_IsOK(ecode2
)) {
11145 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SashWindow_GetSashVisible" "', expected argument " "2"" of type '" "wxSashEdgePosition""'");
11147 arg2
= static_cast< wxSashEdgePosition
>(val2
);
11149 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11150 result
= (bool)((wxSashWindow
const *)arg1
)->GetSashVisible(arg2
);
11151 wxPyEndAllowThreads(__tstate
);
11152 if (PyErr_Occurred()) SWIG_fail
;
11155 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11163 SWIGINTERN PyObject
*_wrap_SashWindow_SetSashBorder(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11164 PyObject
*resultobj
= 0;
11165 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
11166 wxSashEdgePosition arg2
;
11174 PyObject
* obj0
= 0 ;
11175 PyObject
* obj1
= 0 ;
11176 PyObject
* obj2
= 0 ;
11177 char * kwnames
[] = {
11178 (char *) "self",(char *) "edge",(char *) "border", NULL
11181 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SashWindow_SetSashBorder",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
11182 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSashWindow
, 0 | 0 );
11183 if (!SWIG_IsOK(res1
)) {
11184 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashWindow_SetSashBorder" "', expected argument " "1"" of type '" "wxSashWindow *""'");
11186 arg1
= reinterpret_cast< wxSashWindow
* >(argp1
);
11187 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11188 if (!SWIG_IsOK(ecode2
)) {
11189 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SashWindow_SetSashBorder" "', expected argument " "2"" of type '" "wxSashEdgePosition""'");
11191 arg2
= static_cast< wxSashEdgePosition
>(val2
);
11192 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
11193 if (!SWIG_IsOK(ecode3
)) {
11194 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "SashWindow_SetSashBorder" "', expected argument " "3"" of type '" "bool""'");
11196 arg3
= static_cast< bool >(val3
);
11198 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11199 (arg1
)->SetSashBorder(arg2
,arg3
);
11200 wxPyEndAllowThreads(__tstate
);
11201 if (PyErr_Occurred()) SWIG_fail
;
11203 resultobj
= SWIG_Py_Void();
11210 SWIGINTERN PyObject
*_wrap_SashWindow_HasBorder(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11211 PyObject
*resultobj
= 0;
11212 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
11213 wxSashEdgePosition arg2
;
11219 PyObject
* obj0
= 0 ;
11220 PyObject
* obj1
= 0 ;
11221 char * kwnames
[] = {
11222 (char *) "self",(char *) "edge", NULL
11225 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_HasBorder",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11226 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSashWindow
, 0 | 0 );
11227 if (!SWIG_IsOK(res1
)) {
11228 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashWindow_HasBorder" "', expected argument " "1"" of type '" "wxSashWindow const *""'");
11230 arg1
= reinterpret_cast< wxSashWindow
* >(argp1
);
11231 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11232 if (!SWIG_IsOK(ecode2
)) {
11233 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SashWindow_HasBorder" "', expected argument " "2"" of type '" "wxSashEdgePosition""'");
11235 arg2
= static_cast< wxSashEdgePosition
>(val2
);
11237 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11238 result
= (bool)((wxSashWindow
const *)arg1
)->HasBorder(arg2
);
11239 wxPyEndAllowThreads(__tstate
);
11240 if (PyErr_Occurred()) SWIG_fail
;
11243 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11251 SWIGINTERN PyObject
*_wrap_SashWindow_GetEdgeMargin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11252 PyObject
*resultobj
= 0;
11253 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
11254 wxSashEdgePosition arg2
;
11260 PyObject
* obj0
= 0 ;
11261 PyObject
* obj1
= 0 ;
11262 char * kwnames
[] = {
11263 (char *) "self",(char *) "edge", NULL
11266 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_GetEdgeMargin",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11267 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSashWindow
, 0 | 0 );
11268 if (!SWIG_IsOK(res1
)) {
11269 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashWindow_GetEdgeMargin" "', expected argument " "1"" of type '" "wxSashWindow const *""'");
11271 arg1
= reinterpret_cast< wxSashWindow
* >(argp1
);
11272 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11273 if (!SWIG_IsOK(ecode2
)) {
11274 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SashWindow_GetEdgeMargin" "', expected argument " "2"" of type '" "wxSashEdgePosition""'");
11276 arg2
= static_cast< wxSashEdgePosition
>(val2
);
11278 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11279 result
= (int)((wxSashWindow
const *)arg1
)->GetEdgeMargin(arg2
);
11280 wxPyEndAllowThreads(__tstate
);
11281 if (PyErr_Occurred()) SWIG_fail
;
11283 resultobj
= SWIG_From_int(static_cast< int >(result
));
11290 SWIGINTERN PyObject
*_wrap_SashWindow_SetDefaultBorderSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11291 PyObject
*resultobj
= 0;
11292 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
11298 PyObject
* obj0
= 0 ;
11299 PyObject
* obj1
= 0 ;
11300 char * kwnames
[] = {
11301 (char *) "self",(char *) "width", NULL
11304 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_SetDefaultBorderSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11305 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSashWindow
, 0 | 0 );
11306 if (!SWIG_IsOK(res1
)) {
11307 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashWindow_SetDefaultBorderSize" "', expected argument " "1"" of type '" "wxSashWindow *""'");
11309 arg1
= reinterpret_cast< wxSashWindow
* >(argp1
);
11310 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11311 if (!SWIG_IsOK(ecode2
)) {
11312 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SashWindow_SetDefaultBorderSize" "', expected argument " "2"" of type '" "int""'");
11314 arg2
= static_cast< int >(val2
);
11316 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11317 (arg1
)->SetDefaultBorderSize(arg2
);
11318 wxPyEndAllowThreads(__tstate
);
11319 if (PyErr_Occurred()) SWIG_fail
;
11321 resultobj
= SWIG_Py_Void();
11328 SWIGINTERN PyObject
*_wrap_SashWindow_GetDefaultBorderSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11329 PyObject
*resultobj
= 0;
11330 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
11334 PyObject
*swig_obj
[1] ;
11336 if (!args
) SWIG_fail
;
11337 swig_obj
[0] = args
;
11338 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSashWindow
, 0 | 0 );
11339 if (!SWIG_IsOK(res1
)) {
11340 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashWindow_GetDefaultBorderSize" "', expected argument " "1"" of type '" "wxSashWindow const *""'");
11342 arg1
= reinterpret_cast< wxSashWindow
* >(argp1
);
11344 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11345 result
= (int)((wxSashWindow
const *)arg1
)->GetDefaultBorderSize();
11346 wxPyEndAllowThreads(__tstate
);
11347 if (PyErr_Occurred()) SWIG_fail
;
11349 resultobj
= SWIG_From_int(static_cast< int >(result
));
11356 SWIGINTERN PyObject
*_wrap_SashWindow_SetExtraBorderSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11357 PyObject
*resultobj
= 0;
11358 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
11364 PyObject
* obj0
= 0 ;
11365 PyObject
* obj1
= 0 ;
11366 char * kwnames
[] = {
11367 (char *) "self",(char *) "width", NULL
11370 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_SetExtraBorderSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11371 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSashWindow
, 0 | 0 );
11372 if (!SWIG_IsOK(res1
)) {
11373 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashWindow_SetExtraBorderSize" "', expected argument " "1"" of type '" "wxSashWindow *""'");
11375 arg1
= reinterpret_cast< wxSashWindow
* >(argp1
);
11376 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11377 if (!SWIG_IsOK(ecode2
)) {
11378 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SashWindow_SetExtraBorderSize" "', expected argument " "2"" of type '" "int""'");
11380 arg2
= static_cast< int >(val2
);
11382 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11383 (arg1
)->SetExtraBorderSize(arg2
);
11384 wxPyEndAllowThreads(__tstate
);
11385 if (PyErr_Occurred()) SWIG_fail
;
11387 resultobj
= SWIG_Py_Void();
11394 SWIGINTERN PyObject
*_wrap_SashWindow_GetExtraBorderSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11395 PyObject
*resultobj
= 0;
11396 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
11400 PyObject
*swig_obj
[1] ;
11402 if (!args
) SWIG_fail
;
11403 swig_obj
[0] = args
;
11404 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSashWindow
, 0 | 0 );
11405 if (!SWIG_IsOK(res1
)) {
11406 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashWindow_GetExtraBorderSize" "', expected argument " "1"" of type '" "wxSashWindow const *""'");
11408 arg1
= reinterpret_cast< wxSashWindow
* >(argp1
);
11410 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11411 result
= (int)((wxSashWindow
const *)arg1
)->GetExtraBorderSize();
11412 wxPyEndAllowThreads(__tstate
);
11413 if (PyErr_Occurred()) SWIG_fail
;
11415 resultobj
= SWIG_From_int(static_cast< int >(result
));
11422 SWIGINTERN PyObject
*_wrap_SashWindow_SetMinimumSizeX(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11423 PyObject
*resultobj
= 0;
11424 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
11430 PyObject
* obj0
= 0 ;
11431 PyObject
* obj1
= 0 ;
11432 char * kwnames
[] = {
11433 (char *) "self",(char *) "min", NULL
11436 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_SetMinimumSizeX",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11437 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSashWindow
, 0 | 0 );
11438 if (!SWIG_IsOK(res1
)) {
11439 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashWindow_SetMinimumSizeX" "', expected argument " "1"" of type '" "wxSashWindow *""'");
11441 arg1
= reinterpret_cast< wxSashWindow
* >(argp1
);
11442 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11443 if (!SWIG_IsOK(ecode2
)) {
11444 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SashWindow_SetMinimumSizeX" "', expected argument " "2"" of type '" "int""'");
11446 arg2
= static_cast< int >(val2
);
11448 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11449 (arg1
)->SetMinimumSizeX(arg2
);
11450 wxPyEndAllowThreads(__tstate
);
11451 if (PyErr_Occurred()) SWIG_fail
;
11453 resultobj
= SWIG_Py_Void();
11460 SWIGINTERN PyObject
*_wrap_SashWindow_SetMinimumSizeY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11461 PyObject
*resultobj
= 0;
11462 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
11468 PyObject
* obj0
= 0 ;
11469 PyObject
* obj1
= 0 ;
11470 char * kwnames
[] = {
11471 (char *) "self",(char *) "min", NULL
11474 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_SetMinimumSizeY",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11475 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSashWindow
, 0 | 0 );
11476 if (!SWIG_IsOK(res1
)) {
11477 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashWindow_SetMinimumSizeY" "', expected argument " "1"" of type '" "wxSashWindow *""'");
11479 arg1
= reinterpret_cast< wxSashWindow
* >(argp1
);
11480 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11481 if (!SWIG_IsOK(ecode2
)) {
11482 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SashWindow_SetMinimumSizeY" "', expected argument " "2"" of type '" "int""'");
11484 arg2
= static_cast< int >(val2
);
11486 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11487 (arg1
)->SetMinimumSizeY(arg2
);
11488 wxPyEndAllowThreads(__tstate
);
11489 if (PyErr_Occurred()) SWIG_fail
;
11491 resultobj
= SWIG_Py_Void();
11498 SWIGINTERN PyObject
*_wrap_SashWindow_GetMinimumSizeX(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11499 PyObject
*resultobj
= 0;
11500 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
11504 PyObject
*swig_obj
[1] ;
11506 if (!args
) SWIG_fail
;
11507 swig_obj
[0] = args
;
11508 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSashWindow
, 0 | 0 );
11509 if (!SWIG_IsOK(res1
)) {
11510 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashWindow_GetMinimumSizeX" "', expected argument " "1"" of type '" "wxSashWindow const *""'");
11512 arg1
= reinterpret_cast< wxSashWindow
* >(argp1
);
11514 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11515 result
= (int)((wxSashWindow
const *)arg1
)->GetMinimumSizeX();
11516 wxPyEndAllowThreads(__tstate
);
11517 if (PyErr_Occurred()) SWIG_fail
;
11519 resultobj
= SWIG_From_int(static_cast< int >(result
));
11526 SWIGINTERN PyObject
*_wrap_SashWindow_GetMinimumSizeY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11527 PyObject
*resultobj
= 0;
11528 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
11532 PyObject
*swig_obj
[1] ;
11534 if (!args
) SWIG_fail
;
11535 swig_obj
[0] = args
;
11536 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSashWindow
, 0 | 0 );
11537 if (!SWIG_IsOK(res1
)) {
11538 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashWindow_GetMinimumSizeY" "', expected argument " "1"" of type '" "wxSashWindow const *""'");
11540 arg1
= reinterpret_cast< wxSashWindow
* >(argp1
);
11542 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11543 result
= (int)((wxSashWindow
const *)arg1
)->GetMinimumSizeY();
11544 wxPyEndAllowThreads(__tstate
);
11545 if (PyErr_Occurred()) SWIG_fail
;
11547 resultobj
= SWIG_From_int(static_cast< int >(result
));
11554 SWIGINTERN PyObject
*_wrap_SashWindow_SetMaximumSizeX(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11555 PyObject
*resultobj
= 0;
11556 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
11562 PyObject
* obj0
= 0 ;
11563 PyObject
* obj1
= 0 ;
11564 char * kwnames
[] = {
11565 (char *) "self",(char *) "max", NULL
11568 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_SetMaximumSizeX",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11569 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSashWindow
, 0 | 0 );
11570 if (!SWIG_IsOK(res1
)) {
11571 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashWindow_SetMaximumSizeX" "', expected argument " "1"" of type '" "wxSashWindow *""'");
11573 arg1
= reinterpret_cast< wxSashWindow
* >(argp1
);
11574 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11575 if (!SWIG_IsOK(ecode2
)) {
11576 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SashWindow_SetMaximumSizeX" "', expected argument " "2"" of type '" "int""'");
11578 arg2
= static_cast< int >(val2
);
11580 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11581 (arg1
)->SetMaximumSizeX(arg2
);
11582 wxPyEndAllowThreads(__tstate
);
11583 if (PyErr_Occurred()) SWIG_fail
;
11585 resultobj
= SWIG_Py_Void();
11592 SWIGINTERN PyObject
*_wrap_SashWindow_SetMaximumSizeY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11593 PyObject
*resultobj
= 0;
11594 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
11600 PyObject
* obj0
= 0 ;
11601 PyObject
* obj1
= 0 ;
11602 char * kwnames
[] = {
11603 (char *) "self",(char *) "max", NULL
11606 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_SetMaximumSizeY",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11607 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSashWindow
, 0 | 0 );
11608 if (!SWIG_IsOK(res1
)) {
11609 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashWindow_SetMaximumSizeY" "', expected argument " "1"" of type '" "wxSashWindow *""'");
11611 arg1
= reinterpret_cast< wxSashWindow
* >(argp1
);
11612 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11613 if (!SWIG_IsOK(ecode2
)) {
11614 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SashWindow_SetMaximumSizeY" "', expected argument " "2"" of type '" "int""'");
11616 arg2
= static_cast< int >(val2
);
11618 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11619 (arg1
)->SetMaximumSizeY(arg2
);
11620 wxPyEndAllowThreads(__tstate
);
11621 if (PyErr_Occurred()) SWIG_fail
;
11623 resultobj
= SWIG_Py_Void();
11630 SWIGINTERN PyObject
*_wrap_SashWindow_GetMaximumSizeX(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11631 PyObject
*resultobj
= 0;
11632 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
11636 PyObject
*swig_obj
[1] ;
11638 if (!args
) SWIG_fail
;
11639 swig_obj
[0] = args
;
11640 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSashWindow
, 0 | 0 );
11641 if (!SWIG_IsOK(res1
)) {
11642 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashWindow_GetMaximumSizeX" "', expected argument " "1"" of type '" "wxSashWindow const *""'");
11644 arg1
= reinterpret_cast< wxSashWindow
* >(argp1
);
11646 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11647 result
= (int)((wxSashWindow
const *)arg1
)->GetMaximumSizeX();
11648 wxPyEndAllowThreads(__tstate
);
11649 if (PyErr_Occurred()) SWIG_fail
;
11651 resultobj
= SWIG_From_int(static_cast< int >(result
));
11658 SWIGINTERN PyObject
*_wrap_SashWindow_GetMaximumSizeY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11659 PyObject
*resultobj
= 0;
11660 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
11664 PyObject
*swig_obj
[1] ;
11666 if (!args
) SWIG_fail
;
11667 swig_obj
[0] = args
;
11668 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSashWindow
, 0 | 0 );
11669 if (!SWIG_IsOK(res1
)) {
11670 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashWindow_GetMaximumSizeY" "', expected argument " "1"" of type '" "wxSashWindow const *""'");
11672 arg1
= reinterpret_cast< wxSashWindow
* >(argp1
);
11674 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11675 result
= (int)((wxSashWindow
const *)arg1
)->GetMaximumSizeY();
11676 wxPyEndAllowThreads(__tstate
);
11677 if (PyErr_Occurred()) SWIG_fail
;
11679 resultobj
= SWIG_From_int(static_cast< int >(result
));
11686 SWIGINTERN PyObject
*_wrap_SashWindow_SashHitTest(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11687 PyObject
*resultobj
= 0;
11688 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
11691 int arg4
= (int) 2 ;
11692 wxSashEdgePosition result
;
11701 PyObject
* obj0
= 0 ;
11702 PyObject
* obj1
= 0 ;
11703 PyObject
* obj2
= 0 ;
11704 PyObject
* obj3
= 0 ;
11705 char * kwnames
[] = {
11706 (char *) "self",(char *) "x",(char *) "y",(char *) "tolerance", NULL
11709 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:SashWindow_SashHitTest",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
11710 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSashWindow
, 0 | 0 );
11711 if (!SWIG_IsOK(res1
)) {
11712 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashWindow_SashHitTest" "', expected argument " "1"" of type '" "wxSashWindow *""'");
11714 arg1
= reinterpret_cast< wxSashWindow
* >(argp1
);
11715 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11716 if (!SWIG_IsOK(ecode2
)) {
11717 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SashWindow_SashHitTest" "', expected argument " "2"" of type '" "int""'");
11719 arg2
= static_cast< int >(val2
);
11720 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
11721 if (!SWIG_IsOK(ecode3
)) {
11722 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "SashWindow_SashHitTest" "', expected argument " "3"" of type '" "int""'");
11724 arg3
= static_cast< int >(val3
);
11726 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
11727 if (!SWIG_IsOK(ecode4
)) {
11728 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "SashWindow_SashHitTest" "', expected argument " "4"" of type '" "int""'");
11730 arg4
= static_cast< int >(val4
);
11733 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11734 result
= (wxSashEdgePosition
)(arg1
)->SashHitTest(arg2
,arg3
,arg4
);
11735 wxPyEndAllowThreads(__tstate
);
11736 if (PyErr_Occurred()) SWIG_fail
;
11738 resultobj
= SWIG_From_int(static_cast< int >(result
));
11745 SWIGINTERN PyObject
*_wrap_SashWindow_SizeWindows(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11746 PyObject
*resultobj
= 0;
11747 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
11750 PyObject
*swig_obj
[1] ;
11752 if (!args
) SWIG_fail
;
11753 swig_obj
[0] = args
;
11754 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSashWindow
, 0 | 0 );
11755 if (!SWIG_IsOK(res1
)) {
11756 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashWindow_SizeWindows" "', expected argument " "1"" of type '" "wxSashWindow *""'");
11758 arg1
= reinterpret_cast< wxSashWindow
* >(argp1
);
11760 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11761 (arg1
)->SizeWindows();
11762 wxPyEndAllowThreads(__tstate
);
11763 if (PyErr_Occurred()) SWIG_fail
;
11765 resultobj
= SWIG_Py_Void();
11772 SWIGINTERN PyObject
*SashWindow_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11774 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
11775 SWIG_TypeNewClientData(SWIGTYPE_p_wxSashWindow
, SWIG_NewClientData(obj
));
11776 return SWIG_Py_Void();
11779 SWIGINTERN PyObject
*SashWindow_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11780 return SWIG_Python_InitShadowInstance(args
);
11783 SWIGINTERN PyObject
*_wrap_new_SashEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11784 PyObject
*resultobj
= 0;
11785 int arg1
= (int) 0 ;
11786 wxSashEdgePosition arg2
= (wxSashEdgePosition
) wxSASH_NONE
;
11787 wxSashEvent
*result
= 0 ;
11792 PyObject
* obj0
= 0 ;
11793 PyObject
* obj1
= 0 ;
11794 char * kwnames
[] = {
11795 (char *) "id",(char *) "edge", NULL
11798 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_SashEvent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11800 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
11801 if (!SWIG_IsOK(ecode1
)) {
11802 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_SashEvent" "', expected argument " "1"" of type '" "int""'");
11804 arg1
= static_cast< int >(val1
);
11807 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11808 if (!SWIG_IsOK(ecode2
)) {
11809 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_SashEvent" "', expected argument " "2"" of type '" "wxSashEdgePosition""'");
11811 arg2
= static_cast< wxSashEdgePosition
>(val2
);
11814 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11815 result
= (wxSashEvent
*)new wxSashEvent(arg1
,arg2
);
11816 wxPyEndAllowThreads(__tstate
);
11817 if (PyErr_Occurred()) SWIG_fail
;
11819 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSashEvent
, SWIG_POINTER_NEW
| 0 );
11826 SWIGINTERN PyObject
*_wrap_SashEvent_SetEdge(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11827 PyObject
*resultobj
= 0;
11828 wxSashEvent
*arg1
= (wxSashEvent
*) 0 ;
11829 wxSashEdgePosition arg2
;
11834 PyObject
* obj0
= 0 ;
11835 PyObject
* obj1
= 0 ;
11836 char * kwnames
[] = {
11837 (char *) "self",(char *) "edge", NULL
11840 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashEvent_SetEdge",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11841 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSashEvent
, 0 | 0 );
11842 if (!SWIG_IsOK(res1
)) {
11843 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashEvent_SetEdge" "', expected argument " "1"" of type '" "wxSashEvent *""'");
11845 arg1
= reinterpret_cast< wxSashEvent
* >(argp1
);
11846 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11847 if (!SWIG_IsOK(ecode2
)) {
11848 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SashEvent_SetEdge" "', expected argument " "2"" of type '" "wxSashEdgePosition""'");
11850 arg2
= static_cast< wxSashEdgePosition
>(val2
);
11852 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11853 (arg1
)->SetEdge(arg2
);
11854 wxPyEndAllowThreads(__tstate
);
11855 if (PyErr_Occurred()) SWIG_fail
;
11857 resultobj
= SWIG_Py_Void();
11864 SWIGINTERN PyObject
*_wrap_SashEvent_GetEdge(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11865 PyObject
*resultobj
= 0;
11866 wxSashEvent
*arg1
= (wxSashEvent
*) 0 ;
11867 wxSashEdgePosition result
;
11870 PyObject
*swig_obj
[1] ;
11872 if (!args
) SWIG_fail
;
11873 swig_obj
[0] = args
;
11874 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSashEvent
, 0 | 0 );
11875 if (!SWIG_IsOK(res1
)) {
11876 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashEvent_GetEdge" "', expected argument " "1"" of type '" "wxSashEvent const *""'");
11878 arg1
= reinterpret_cast< wxSashEvent
* >(argp1
);
11880 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11881 result
= (wxSashEdgePosition
)((wxSashEvent
const *)arg1
)->GetEdge();
11882 wxPyEndAllowThreads(__tstate
);
11883 if (PyErr_Occurred()) SWIG_fail
;
11885 resultobj
= SWIG_From_int(static_cast< int >(result
));
11892 SWIGINTERN PyObject
*_wrap_SashEvent_SetDragRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11893 PyObject
*resultobj
= 0;
11894 wxSashEvent
*arg1
= (wxSashEvent
*) 0 ;
11899 PyObject
* obj0
= 0 ;
11900 PyObject
* obj1
= 0 ;
11901 char * kwnames
[] = {
11902 (char *) "self",(char *) "rect", NULL
11905 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashEvent_SetDragRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11906 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSashEvent
, 0 | 0 );
11907 if (!SWIG_IsOK(res1
)) {
11908 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashEvent_SetDragRect" "', expected argument " "1"" of type '" "wxSashEvent *""'");
11910 arg1
= reinterpret_cast< wxSashEvent
* >(argp1
);
11913 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
11916 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11917 (arg1
)->SetDragRect((wxRect
const &)*arg2
);
11918 wxPyEndAllowThreads(__tstate
);
11919 if (PyErr_Occurred()) SWIG_fail
;
11921 resultobj
= SWIG_Py_Void();
11928 SWIGINTERN PyObject
*_wrap_SashEvent_GetDragRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11929 PyObject
*resultobj
= 0;
11930 wxSashEvent
*arg1
= (wxSashEvent
*) 0 ;
11934 PyObject
*swig_obj
[1] ;
11936 if (!args
) SWIG_fail
;
11937 swig_obj
[0] = args
;
11938 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSashEvent
, 0 | 0 );
11939 if (!SWIG_IsOK(res1
)) {
11940 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashEvent_GetDragRect" "', expected argument " "1"" of type '" "wxSashEvent const *""'");
11942 arg1
= reinterpret_cast< wxSashEvent
* >(argp1
);
11944 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11945 result
= ((wxSashEvent
const *)arg1
)->GetDragRect();
11946 wxPyEndAllowThreads(__tstate
);
11947 if (PyErr_Occurred()) SWIG_fail
;
11949 resultobj
= SWIG_NewPointerObj((new wxRect(static_cast< const wxRect
& >(result
))), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN
| 0 );
11956 SWIGINTERN PyObject
*_wrap_SashEvent_SetDragStatus(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11957 PyObject
*resultobj
= 0;
11958 wxSashEvent
*arg1
= (wxSashEvent
*) 0 ;
11959 wxSashDragStatus arg2
;
11964 PyObject
* obj0
= 0 ;
11965 PyObject
* obj1
= 0 ;
11966 char * kwnames
[] = {
11967 (char *) "self",(char *) "status", NULL
11970 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashEvent_SetDragStatus",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11971 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSashEvent
, 0 | 0 );
11972 if (!SWIG_IsOK(res1
)) {
11973 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashEvent_SetDragStatus" "', expected argument " "1"" of type '" "wxSashEvent *""'");
11975 arg1
= reinterpret_cast< wxSashEvent
* >(argp1
);
11976 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11977 if (!SWIG_IsOK(ecode2
)) {
11978 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SashEvent_SetDragStatus" "', expected argument " "2"" of type '" "wxSashDragStatus""'");
11980 arg2
= static_cast< wxSashDragStatus
>(val2
);
11982 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11983 (arg1
)->SetDragStatus(arg2
);
11984 wxPyEndAllowThreads(__tstate
);
11985 if (PyErr_Occurred()) SWIG_fail
;
11987 resultobj
= SWIG_Py_Void();
11994 SWIGINTERN PyObject
*_wrap_SashEvent_GetDragStatus(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11995 PyObject
*resultobj
= 0;
11996 wxSashEvent
*arg1
= (wxSashEvent
*) 0 ;
11997 wxSashDragStatus result
;
12000 PyObject
*swig_obj
[1] ;
12002 if (!args
) SWIG_fail
;
12003 swig_obj
[0] = args
;
12004 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSashEvent
, 0 | 0 );
12005 if (!SWIG_IsOK(res1
)) {
12006 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashEvent_GetDragStatus" "', expected argument " "1"" of type '" "wxSashEvent const *""'");
12008 arg1
= reinterpret_cast< wxSashEvent
* >(argp1
);
12010 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12011 result
= (wxSashDragStatus
)((wxSashEvent
const *)arg1
)->GetDragStatus();
12012 wxPyEndAllowThreads(__tstate
);
12013 if (PyErr_Occurred()) SWIG_fail
;
12015 resultobj
= SWIG_From_int(static_cast< int >(result
));
12022 SWIGINTERN PyObject
*SashEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12024 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
12025 SWIG_TypeNewClientData(SWIGTYPE_p_wxSashEvent
, SWIG_NewClientData(obj
));
12026 return SWIG_Py_Void();
12029 SWIGINTERN PyObject
*SashEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12030 return SWIG_Python_InitShadowInstance(args
);
12033 SWIGINTERN PyObject
*_wrap_new_QueryLayoutInfoEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12034 PyObject
*resultobj
= 0;
12035 int arg1
= (int) 0 ;
12036 wxQueryLayoutInfoEvent
*result
= 0 ;
12039 PyObject
* obj0
= 0 ;
12040 char * kwnames
[] = {
12041 (char *) "id", NULL
12044 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_QueryLayoutInfoEvent",kwnames
,&obj0
)) SWIG_fail
;
12046 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
12047 if (!SWIG_IsOK(ecode1
)) {
12048 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_QueryLayoutInfoEvent" "', expected argument " "1"" of type '" "int""'");
12050 arg1
= static_cast< int >(val1
);
12053 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12054 result
= (wxQueryLayoutInfoEvent
*)new wxQueryLayoutInfoEvent(arg1
);
12055 wxPyEndAllowThreads(__tstate
);
12056 if (PyErr_Occurred()) SWIG_fail
;
12058 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxQueryLayoutInfoEvent
, SWIG_POINTER_NEW
| 0 );
12065 SWIGINTERN PyObject
*_wrap_QueryLayoutInfoEvent_SetRequestedLength(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12066 PyObject
*resultobj
= 0;
12067 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
12073 PyObject
* obj0
= 0 ;
12074 PyObject
* obj1
= 0 ;
12075 char * kwnames
[] = {
12076 (char *) "self",(char *) "length", NULL
12079 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:QueryLayoutInfoEvent_SetRequestedLength",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12080 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxQueryLayoutInfoEvent
, 0 | 0 );
12081 if (!SWIG_IsOK(res1
)) {
12082 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "QueryLayoutInfoEvent_SetRequestedLength" "', expected argument " "1"" of type '" "wxQueryLayoutInfoEvent *""'");
12084 arg1
= reinterpret_cast< wxQueryLayoutInfoEvent
* >(argp1
);
12085 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
12086 if (!SWIG_IsOK(ecode2
)) {
12087 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "QueryLayoutInfoEvent_SetRequestedLength" "', expected argument " "2"" of type '" "int""'");
12089 arg2
= static_cast< int >(val2
);
12091 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12092 (arg1
)->SetRequestedLength(arg2
);
12093 wxPyEndAllowThreads(__tstate
);
12094 if (PyErr_Occurred()) SWIG_fail
;
12096 resultobj
= SWIG_Py_Void();
12103 SWIGINTERN PyObject
*_wrap_QueryLayoutInfoEvent_GetRequestedLength(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12104 PyObject
*resultobj
= 0;
12105 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
12109 PyObject
*swig_obj
[1] ;
12111 if (!args
) SWIG_fail
;
12112 swig_obj
[0] = args
;
12113 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxQueryLayoutInfoEvent
, 0 | 0 );
12114 if (!SWIG_IsOK(res1
)) {
12115 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "QueryLayoutInfoEvent_GetRequestedLength" "', expected argument " "1"" of type '" "wxQueryLayoutInfoEvent const *""'");
12117 arg1
= reinterpret_cast< wxQueryLayoutInfoEvent
* >(argp1
);
12119 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12120 result
= (int)((wxQueryLayoutInfoEvent
const *)arg1
)->GetRequestedLength();
12121 wxPyEndAllowThreads(__tstate
);
12122 if (PyErr_Occurred()) SWIG_fail
;
12124 resultobj
= SWIG_From_int(static_cast< int >(result
));
12131 SWIGINTERN PyObject
*_wrap_QueryLayoutInfoEvent_SetFlags(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12132 PyObject
*resultobj
= 0;
12133 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
12139 PyObject
* obj0
= 0 ;
12140 PyObject
* obj1
= 0 ;
12141 char * kwnames
[] = {
12142 (char *) "self",(char *) "flags", NULL
12145 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:QueryLayoutInfoEvent_SetFlags",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12146 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxQueryLayoutInfoEvent
, 0 | 0 );
12147 if (!SWIG_IsOK(res1
)) {
12148 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "QueryLayoutInfoEvent_SetFlags" "', expected argument " "1"" of type '" "wxQueryLayoutInfoEvent *""'");
12150 arg1
= reinterpret_cast< wxQueryLayoutInfoEvent
* >(argp1
);
12151 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
12152 if (!SWIG_IsOK(ecode2
)) {
12153 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "QueryLayoutInfoEvent_SetFlags" "', expected argument " "2"" of type '" "int""'");
12155 arg2
= static_cast< int >(val2
);
12157 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12158 (arg1
)->SetFlags(arg2
);
12159 wxPyEndAllowThreads(__tstate
);
12160 if (PyErr_Occurred()) SWIG_fail
;
12162 resultobj
= SWIG_Py_Void();
12169 SWIGINTERN PyObject
*_wrap_QueryLayoutInfoEvent_GetFlags(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12170 PyObject
*resultobj
= 0;
12171 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
12175 PyObject
*swig_obj
[1] ;
12177 if (!args
) SWIG_fail
;
12178 swig_obj
[0] = args
;
12179 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxQueryLayoutInfoEvent
, 0 | 0 );
12180 if (!SWIG_IsOK(res1
)) {
12181 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "QueryLayoutInfoEvent_GetFlags" "', expected argument " "1"" of type '" "wxQueryLayoutInfoEvent const *""'");
12183 arg1
= reinterpret_cast< wxQueryLayoutInfoEvent
* >(argp1
);
12185 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12186 result
= (int)((wxQueryLayoutInfoEvent
const *)arg1
)->GetFlags();
12187 wxPyEndAllowThreads(__tstate
);
12188 if (PyErr_Occurred()) SWIG_fail
;
12190 resultobj
= SWIG_From_int(static_cast< int >(result
));
12197 SWIGINTERN PyObject
*_wrap_QueryLayoutInfoEvent_SetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12198 PyObject
*resultobj
= 0;
12199 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
12204 PyObject
* obj0
= 0 ;
12205 PyObject
* obj1
= 0 ;
12206 char * kwnames
[] = {
12207 (char *) "self",(char *) "size", NULL
12210 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:QueryLayoutInfoEvent_SetSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12211 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxQueryLayoutInfoEvent
, 0 | 0 );
12212 if (!SWIG_IsOK(res1
)) {
12213 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "QueryLayoutInfoEvent_SetSize" "', expected argument " "1"" of type '" "wxQueryLayoutInfoEvent *""'");
12215 arg1
= reinterpret_cast< wxQueryLayoutInfoEvent
* >(argp1
);
12218 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
12221 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12222 (arg1
)->SetSize((wxSize
const &)*arg2
);
12223 wxPyEndAllowThreads(__tstate
);
12224 if (PyErr_Occurred()) SWIG_fail
;
12226 resultobj
= SWIG_Py_Void();
12233 SWIGINTERN PyObject
*_wrap_QueryLayoutInfoEvent_GetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12234 PyObject
*resultobj
= 0;
12235 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
12239 PyObject
*swig_obj
[1] ;
12241 if (!args
) SWIG_fail
;
12242 swig_obj
[0] = args
;
12243 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxQueryLayoutInfoEvent
, 0 | 0 );
12244 if (!SWIG_IsOK(res1
)) {
12245 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "QueryLayoutInfoEvent_GetSize" "', expected argument " "1"" of type '" "wxQueryLayoutInfoEvent const *""'");
12247 arg1
= reinterpret_cast< wxQueryLayoutInfoEvent
* >(argp1
);
12249 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12250 result
= ((wxQueryLayoutInfoEvent
const *)arg1
)->GetSize();
12251 wxPyEndAllowThreads(__tstate
);
12252 if (PyErr_Occurred()) SWIG_fail
;
12254 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
12261 SWIGINTERN PyObject
*_wrap_QueryLayoutInfoEvent_SetOrientation(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12262 PyObject
*resultobj
= 0;
12263 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
12264 wxLayoutOrientation arg2
;
12269 PyObject
* obj0
= 0 ;
12270 PyObject
* obj1
= 0 ;
12271 char * kwnames
[] = {
12272 (char *) "self",(char *) "orient", NULL
12275 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:QueryLayoutInfoEvent_SetOrientation",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12276 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxQueryLayoutInfoEvent
, 0 | 0 );
12277 if (!SWIG_IsOK(res1
)) {
12278 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "QueryLayoutInfoEvent_SetOrientation" "', expected argument " "1"" of type '" "wxQueryLayoutInfoEvent *""'");
12280 arg1
= reinterpret_cast< wxQueryLayoutInfoEvent
* >(argp1
);
12281 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
12282 if (!SWIG_IsOK(ecode2
)) {
12283 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "QueryLayoutInfoEvent_SetOrientation" "', expected argument " "2"" of type '" "wxLayoutOrientation""'");
12285 arg2
= static_cast< wxLayoutOrientation
>(val2
);
12287 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12288 (arg1
)->SetOrientation(arg2
);
12289 wxPyEndAllowThreads(__tstate
);
12290 if (PyErr_Occurred()) SWIG_fail
;
12292 resultobj
= SWIG_Py_Void();
12299 SWIGINTERN PyObject
*_wrap_QueryLayoutInfoEvent_GetOrientation(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12300 PyObject
*resultobj
= 0;
12301 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
12302 wxLayoutOrientation result
;
12305 PyObject
*swig_obj
[1] ;
12307 if (!args
) SWIG_fail
;
12308 swig_obj
[0] = args
;
12309 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxQueryLayoutInfoEvent
, 0 | 0 );
12310 if (!SWIG_IsOK(res1
)) {
12311 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "QueryLayoutInfoEvent_GetOrientation" "', expected argument " "1"" of type '" "wxQueryLayoutInfoEvent const *""'");
12313 arg1
= reinterpret_cast< wxQueryLayoutInfoEvent
* >(argp1
);
12315 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12316 result
= (wxLayoutOrientation
)((wxQueryLayoutInfoEvent
const *)arg1
)->GetOrientation();
12317 wxPyEndAllowThreads(__tstate
);
12318 if (PyErr_Occurred()) SWIG_fail
;
12320 resultobj
= SWIG_From_int(static_cast< int >(result
));
12327 SWIGINTERN PyObject
*_wrap_QueryLayoutInfoEvent_SetAlignment(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12328 PyObject
*resultobj
= 0;
12329 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
12330 wxLayoutAlignment arg2
;
12335 PyObject
* obj0
= 0 ;
12336 PyObject
* obj1
= 0 ;
12337 char * kwnames
[] = {
12338 (char *) "self",(char *) "align", NULL
12341 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:QueryLayoutInfoEvent_SetAlignment",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12342 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxQueryLayoutInfoEvent
, 0 | 0 );
12343 if (!SWIG_IsOK(res1
)) {
12344 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "QueryLayoutInfoEvent_SetAlignment" "', expected argument " "1"" of type '" "wxQueryLayoutInfoEvent *""'");
12346 arg1
= reinterpret_cast< wxQueryLayoutInfoEvent
* >(argp1
);
12347 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
12348 if (!SWIG_IsOK(ecode2
)) {
12349 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "QueryLayoutInfoEvent_SetAlignment" "', expected argument " "2"" of type '" "wxLayoutAlignment""'");
12351 arg2
= static_cast< wxLayoutAlignment
>(val2
);
12353 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12354 (arg1
)->SetAlignment(arg2
);
12355 wxPyEndAllowThreads(__tstate
);
12356 if (PyErr_Occurred()) SWIG_fail
;
12358 resultobj
= SWIG_Py_Void();
12365 SWIGINTERN PyObject
*_wrap_QueryLayoutInfoEvent_GetAlignment(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12366 PyObject
*resultobj
= 0;
12367 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
12368 wxLayoutAlignment result
;
12371 PyObject
*swig_obj
[1] ;
12373 if (!args
) SWIG_fail
;
12374 swig_obj
[0] = args
;
12375 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxQueryLayoutInfoEvent
, 0 | 0 );
12376 if (!SWIG_IsOK(res1
)) {
12377 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "QueryLayoutInfoEvent_GetAlignment" "', expected argument " "1"" of type '" "wxQueryLayoutInfoEvent const *""'");
12379 arg1
= reinterpret_cast< wxQueryLayoutInfoEvent
* >(argp1
);
12381 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12382 result
= (wxLayoutAlignment
)((wxQueryLayoutInfoEvent
const *)arg1
)->GetAlignment();
12383 wxPyEndAllowThreads(__tstate
);
12384 if (PyErr_Occurred()) SWIG_fail
;
12386 resultobj
= SWIG_From_int(static_cast< int >(result
));
12393 SWIGINTERN PyObject
*QueryLayoutInfoEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12395 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
12396 SWIG_TypeNewClientData(SWIGTYPE_p_wxQueryLayoutInfoEvent
, SWIG_NewClientData(obj
));
12397 return SWIG_Py_Void();
12400 SWIGINTERN PyObject
*QueryLayoutInfoEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12401 return SWIG_Python_InitShadowInstance(args
);
12404 SWIGINTERN PyObject
*_wrap_new_CalculateLayoutEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12405 PyObject
*resultobj
= 0;
12406 int arg1
= (int) 0 ;
12407 wxCalculateLayoutEvent
*result
= 0 ;
12410 PyObject
* obj0
= 0 ;
12411 char * kwnames
[] = {
12412 (char *) "id", NULL
12415 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_CalculateLayoutEvent",kwnames
,&obj0
)) SWIG_fail
;
12417 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
12418 if (!SWIG_IsOK(ecode1
)) {
12419 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_CalculateLayoutEvent" "', expected argument " "1"" of type '" "int""'");
12421 arg1
= static_cast< int >(val1
);
12424 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12425 result
= (wxCalculateLayoutEvent
*)new wxCalculateLayoutEvent(arg1
);
12426 wxPyEndAllowThreads(__tstate
);
12427 if (PyErr_Occurred()) SWIG_fail
;
12429 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxCalculateLayoutEvent
, SWIG_POINTER_NEW
| 0 );
12436 SWIGINTERN PyObject
*_wrap_CalculateLayoutEvent_SetFlags(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12437 PyObject
*resultobj
= 0;
12438 wxCalculateLayoutEvent
*arg1
= (wxCalculateLayoutEvent
*) 0 ;
12444 PyObject
* obj0
= 0 ;
12445 PyObject
* obj1
= 0 ;
12446 char * kwnames
[] = {
12447 (char *) "self",(char *) "flags", NULL
12450 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CalculateLayoutEvent_SetFlags",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12451 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxCalculateLayoutEvent
, 0 | 0 );
12452 if (!SWIG_IsOK(res1
)) {
12453 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CalculateLayoutEvent_SetFlags" "', expected argument " "1"" of type '" "wxCalculateLayoutEvent *""'");
12455 arg1
= reinterpret_cast< wxCalculateLayoutEvent
* >(argp1
);
12456 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
12457 if (!SWIG_IsOK(ecode2
)) {
12458 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "CalculateLayoutEvent_SetFlags" "', expected argument " "2"" of type '" "int""'");
12460 arg2
= static_cast< int >(val2
);
12462 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12463 (arg1
)->SetFlags(arg2
);
12464 wxPyEndAllowThreads(__tstate
);
12465 if (PyErr_Occurred()) SWIG_fail
;
12467 resultobj
= SWIG_Py_Void();
12474 SWIGINTERN PyObject
*_wrap_CalculateLayoutEvent_GetFlags(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12475 PyObject
*resultobj
= 0;
12476 wxCalculateLayoutEvent
*arg1
= (wxCalculateLayoutEvent
*) 0 ;
12480 PyObject
*swig_obj
[1] ;
12482 if (!args
) SWIG_fail
;
12483 swig_obj
[0] = args
;
12484 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCalculateLayoutEvent
, 0 | 0 );
12485 if (!SWIG_IsOK(res1
)) {
12486 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CalculateLayoutEvent_GetFlags" "', expected argument " "1"" of type '" "wxCalculateLayoutEvent const *""'");
12488 arg1
= reinterpret_cast< wxCalculateLayoutEvent
* >(argp1
);
12490 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12491 result
= (int)((wxCalculateLayoutEvent
const *)arg1
)->GetFlags();
12492 wxPyEndAllowThreads(__tstate
);
12493 if (PyErr_Occurred()) SWIG_fail
;
12495 resultobj
= SWIG_From_int(static_cast< int >(result
));
12502 SWIGINTERN PyObject
*_wrap_CalculateLayoutEvent_SetRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12503 PyObject
*resultobj
= 0;
12504 wxCalculateLayoutEvent
*arg1
= (wxCalculateLayoutEvent
*) 0 ;
12509 PyObject
* obj0
= 0 ;
12510 PyObject
* obj1
= 0 ;
12511 char * kwnames
[] = {
12512 (char *) "self",(char *) "rect", NULL
12515 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CalculateLayoutEvent_SetRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12516 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxCalculateLayoutEvent
, 0 | 0 );
12517 if (!SWIG_IsOK(res1
)) {
12518 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CalculateLayoutEvent_SetRect" "', expected argument " "1"" of type '" "wxCalculateLayoutEvent *""'");
12520 arg1
= reinterpret_cast< wxCalculateLayoutEvent
* >(argp1
);
12523 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
12526 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12527 (arg1
)->SetRect((wxRect
const &)*arg2
);
12528 wxPyEndAllowThreads(__tstate
);
12529 if (PyErr_Occurred()) SWIG_fail
;
12531 resultobj
= SWIG_Py_Void();
12538 SWIGINTERN PyObject
*_wrap_CalculateLayoutEvent_GetRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12539 PyObject
*resultobj
= 0;
12540 wxCalculateLayoutEvent
*arg1
= (wxCalculateLayoutEvent
*) 0 ;
12544 PyObject
*swig_obj
[1] ;
12546 if (!args
) SWIG_fail
;
12547 swig_obj
[0] = args
;
12548 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCalculateLayoutEvent
, 0 | 0 );
12549 if (!SWIG_IsOK(res1
)) {
12550 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CalculateLayoutEvent_GetRect" "', expected argument " "1"" of type '" "wxCalculateLayoutEvent const *""'");
12552 arg1
= reinterpret_cast< wxCalculateLayoutEvent
* >(argp1
);
12554 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12555 result
= ((wxCalculateLayoutEvent
const *)arg1
)->GetRect();
12556 wxPyEndAllowThreads(__tstate
);
12557 if (PyErr_Occurred()) SWIG_fail
;
12559 resultobj
= SWIG_NewPointerObj((new wxRect(static_cast< const wxRect
& >(result
))), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN
| 0 );
12566 SWIGINTERN PyObject
*CalculateLayoutEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12568 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
12569 SWIG_TypeNewClientData(SWIGTYPE_p_wxCalculateLayoutEvent
, SWIG_NewClientData(obj
));
12570 return SWIG_Py_Void();
12573 SWIGINTERN PyObject
*CalculateLayoutEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12574 return SWIG_Python_InitShadowInstance(args
);
12577 SWIGINTERN PyObject
*_wrap_new_SashLayoutWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12578 PyObject
*resultobj
= 0;
12579 wxWindow
*arg1
= (wxWindow
*) 0 ;
12580 int arg2
= (int) -1 ;
12581 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
12582 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
12583 wxSize
const &arg4_defvalue
= wxDefaultSize
;
12584 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
12585 long arg5
= (long) wxCLIP_CHILDREN
|wxSW_3D
;
12586 wxString
const &arg6_defvalue
= wxPySashLayoutNameStr
;
12587 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
12588 wxSashLayoutWindow
*result
= 0 ;
12597 bool temp6
= false ;
12598 PyObject
* obj0
= 0 ;
12599 PyObject
* obj1
= 0 ;
12600 PyObject
* obj2
= 0 ;
12601 PyObject
* obj3
= 0 ;
12602 PyObject
* obj4
= 0 ;
12603 PyObject
* obj5
= 0 ;
12604 char * kwnames
[] = {
12605 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
12608 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_SashLayoutWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
12609 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
12610 if (!SWIG_IsOK(res1
)) {
12611 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_SashLayoutWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
12613 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
12615 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
12616 if (!SWIG_IsOK(ecode2
)) {
12617 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_SashLayoutWindow" "', expected argument " "2"" of type '" "int""'");
12619 arg2
= static_cast< int >(val2
);
12624 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
12630 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
12634 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
12635 if (!SWIG_IsOK(ecode5
)) {
12636 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_SashLayoutWindow" "', expected argument " "5"" of type '" "long""'");
12638 arg5
= static_cast< long >(val5
);
12642 arg6
= wxString_in_helper(obj5
);
12643 if (arg6
== NULL
) SWIG_fail
;
12648 if (!wxPyCheckForApp()) SWIG_fail
;
12649 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12650 result
= (wxSashLayoutWindow
*)new wxSashLayoutWindow(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
12651 wxPyEndAllowThreads(__tstate
);
12652 if (PyErr_Occurred()) SWIG_fail
;
12654 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSashLayoutWindow
, SWIG_POINTER_NEW
| 0 );
12669 SWIGINTERN PyObject
*_wrap_new_PreSashLayoutWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12670 PyObject
*resultobj
= 0;
12671 wxSashLayoutWindow
*result
= 0 ;
12673 if (!SWIG_Python_UnpackTuple(args
,"new_PreSashLayoutWindow",0,0,0)) SWIG_fail
;
12675 if (!wxPyCheckForApp()) SWIG_fail
;
12676 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12677 result
= (wxSashLayoutWindow
*)new wxSashLayoutWindow();
12678 wxPyEndAllowThreads(__tstate
);
12679 if (PyErr_Occurred()) SWIG_fail
;
12681 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSashLayoutWindow
, SWIG_POINTER_OWN
| 0 );
12688 SWIGINTERN PyObject
*_wrap_SashLayoutWindow_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12689 PyObject
*resultobj
= 0;
12690 wxSashLayoutWindow
*arg1
= (wxSashLayoutWindow
*) 0 ;
12691 wxWindow
*arg2
= (wxWindow
*) 0 ;
12692 int arg3
= (int) -1 ;
12693 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
12694 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
12695 wxSize
const &arg5_defvalue
= wxDefaultSize
;
12696 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
12697 long arg6
= (long) wxCLIP_CHILDREN
|wxSW_3D
;
12698 wxString
const &arg7_defvalue
= wxPySashLayoutNameStr
;
12699 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
12711 bool temp7
= false ;
12712 PyObject
* obj0
= 0 ;
12713 PyObject
* obj1
= 0 ;
12714 PyObject
* obj2
= 0 ;
12715 PyObject
* obj3
= 0 ;
12716 PyObject
* obj4
= 0 ;
12717 PyObject
* obj5
= 0 ;
12718 PyObject
* obj6
= 0 ;
12719 char * kwnames
[] = {
12720 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
12723 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:SashLayoutWindow_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
12724 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSashLayoutWindow
, 0 | 0 );
12725 if (!SWIG_IsOK(res1
)) {
12726 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashLayoutWindow_Create" "', expected argument " "1"" of type '" "wxSashLayoutWindow *""'");
12728 arg1
= reinterpret_cast< wxSashLayoutWindow
* >(argp1
);
12729 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
12730 if (!SWIG_IsOK(res2
)) {
12731 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "SashLayoutWindow_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
12733 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
12735 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
12736 if (!SWIG_IsOK(ecode3
)) {
12737 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "SashLayoutWindow_Create" "', expected argument " "3"" of type '" "int""'");
12739 arg3
= static_cast< int >(val3
);
12744 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
12750 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
12754 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
12755 if (!SWIG_IsOK(ecode6
)) {
12756 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "SashLayoutWindow_Create" "', expected argument " "6"" of type '" "long""'");
12758 arg6
= static_cast< long >(val6
);
12762 arg7
= wxString_in_helper(obj6
);
12763 if (arg7
== NULL
) SWIG_fail
;
12768 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12769 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
12770 wxPyEndAllowThreads(__tstate
);
12771 if (PyErr_Occurred()) SWIG_fail
;
12774 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12790 SWIGINTERN PyObject
*_wrap_SashLayoutWindow_GetAlignment(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12791 PyObject
*resultobj
= 0;
12792 wxSashLayoutWindow
*arg1
= (wxSashLayoutWindow
*) 0 ;
12793 wxLayoutAlignment result
;
12796 PyObject
*swig_obj
[1] ;
12798 if (!args
) SWIG_fail
;
12799 swig_obj
[0] = args
;
12800 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSashLayoutWindow
, 0 | 0 );
12801 if (!SWIG_IsOK(res1
)) {
12802 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashLayoutWindow_GetAlignment" "', expected argument " "1"" of type '" "wxSashLayoutWindow *""'");
12804 arg1
= reinterpret_cast< wxSashLayoutWindow
* >(argp1
);
12806 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12807 result
= (wxLayoutAlignment
)(arg1
)->GetAlignment();
12808 wxPyEndAllowThreads(__tstate
);
12809 if (PyErr_Occurred()) SWIG_fail
;
12811 resultobj
= SWIG_From_int(static_cast< int >(result
));
12818 SWIGINTERN PyObject
*_wrap_SashLayoutWindow_GetOrientation(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12819 PyObject
*resultobj
= 0;
12820 wxSashLayoutWindow
*arg1
= (wxSashLayoutWindow
*) 0 ;
12821 wxLayoutOrientation result
;
12824 PyObject
*swig_obj
[1] ;
12826 if (!args
) SWIG_fail
;
12827 swig_obj
[0] = args
;
12828 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSashLayoutWindow
, 0 | 0 );
12829 if (!SWIG_IsOK(res1
)) {
12830 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashLayoutWindow_GetOrientation" "', expected argument " "1"" of type '" "wxSashLayoutWindow *""'");
12832 arg1
= reinterpret_cast< wxSashLayoutWindow
* >(argp1
);
12834 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12835 result
= (wxLayoutOrientation
)(arg1
)->GetOrientation();
12836 wxPyEndAllowThreads(__tstate
);
12837 if (PyErr_Occurred()) SWIG_fail
;
12839 resultobj
= SWIG_From_int(static_cast< int >(result
));
12846 SWIGINTERN PyObject
*_wrap_SashLayoutWindow_SetAlignment(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12847 PyObject
*resultobj
= 0;
12848 wxSashLayoutWindow
*arg1
= (wxSashLayoutWindow
*) 0 ;
12849 wxLayoutAlignment arg2
;
12854 PyObject
* obj0
= 0 ;
12855 PyObject
* obj1
= 0 ;
12856 char * kwnames
[] = {
12857 (char *) "self",(char *) "alignment", NULL
12860 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashLayoutWindow_SetAlignment",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12861 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSashLayoutWindow
, 0 | 0 );
12862 if (!SWIG_IsOK(res1
)) {
12863 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashLayoutWindow_SetAlignment" "', expected argument " "1"" of type '" "wxSashLayoutWindow *""'");
12865 arg1
= reinterpret_cast< wxSashLayoutWindow
* >(argp1
);
12866 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
12867 if (!SWIG_IsOK(ecode2
)) {
12868 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SashLayoutWindow_SetAlignment" "', expected argument " "2"" of type '" "wxLayoutAlignment""'");
12870 arg2
= static_cast< wxLayoutAlignment
>(val2
);
12872 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12873 (arg1
)->SetAlignment(arg2
);
12874 wxPyEndAllowThreads(__tstate
);
12875 if (PyErr_Occurred()) SWIG_fail
;
12877 resultobj
= SWIG_Py_Void();
12884 SWIGINTERN PyObject
*_wrap_SashLayoutWindow_SetDefaultSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12885 PyObject
*resultobj
= 0;
12886 wxSashLayoutWindow
*arg1
= (wxSashLayoutWindow
*) 0 ;
12891 PyObject
* obj0
= 0 ;
12892 PyObject
* obj1
= 0 ;
12893 char * kwnames
[] = {
12894 (char *) "self",(char *) "size", NULL
12897 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashLayoutWindow_SetDefaultSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12898 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSashLayoutWindow
, 0 | 0 );
12899 if (!SWIG_IsOK(res1
)) {
12900 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashLayoutWindow_SetDefaultSize" "', expected argument " "1"" of type '" "wxSashLayoutWindow *""'");
12902 arg1
= reinterpret_cast< wxSashLayoutWindow
* >(argp1
);
12905 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
12908 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12909 (arg1
)->SetDefaultSize((wxSize
const &)*arg2
);
12910 wxPyEndAllowThreads(__tstate
);
12911 if (PyErr_Occurred()) SWIG_fail
;
12913 resultobj
= SWIG_Py_Void();
12920 SWIGINTERN PyObject
*_wrap_SashLayoutWindow_SetOrientation(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12921 PyObject
*resultobj
= 0;
12922 wxSashLayoutWindow
*arg1
= (wxSashLayoutWindow
*) 0 ;
12923 wxLayoutOrientation arg2
;
12928 PyObject
* obj0
= 0 ;
12929 PyObject
* obj1
= 0 ;
12930 char * kwnames
[] = {
12931 (char *) "self",(char *) "orientation", NULL
12934 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashLayoutWindow_SetOrientation",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12935 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSashLayoutWindow
, 0 | 0 );
12936 if (!SWIG_IsOK(res1
)) {
12937 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashLayoutWindow_SetOrientation" "', expected argument " "1"" of type '" "wxSashLayoutWindow *""'");
12939 arg1
= reinterpret_cast< wxSashLayoutWindow
* >(argp1
);
12940 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
12941 if (!SWIG_IsOK(ecode2
)) {
12942 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SashLayoutWindow_SetOrientation" "', expected argument " "2"" of type '" "wxLayoutOrientation""'");
12944 arg2
= static_cast< wxLayoutOrientation
>(val2
);
12946 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12947 (arg1
)->SetOrientation(arg2
);
12948 wxPyEndAllowThreads(__tstate
);
12949 if (PyErr_Occurred()) SWIG_fail
;
12951 resultobj
= SWIG_Py_Void();
12958 SWIGINTERN PyObject
*SashLayoutWindow_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12960 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
12961 SWIG_TypeNewClientData(SWIGTYPE_p_wxSashLayoutWindow
, SWIG_NewClientData(obj
));
12962 return SWIG_Py_Void();
12965 SWIGINTERN PyObject
*SashLayoutWindow_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12966 return SWIG_Python_InitShadowInstance(args
);
12969 SWIGINTERN PyObject
*_wrap_new_LayoutAlgorithm(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12970 PyObject
*resultobj
= 0;
12971 wxLayoutAlgorithm
*result
= 0 ;
12973 if (!SWIG_Python_UnpackTuple(args
,"new_LayoutAlgorithm",0,0,0)) SWIG_fail
;
12975 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12976 result
= (wxLayoutAlgorithm
*)new wxLayoutAlgorithm();
12977 wxPyEndAllowThreads(__tstate
);
12978 if (PyErr_Occurred()) SWIG_fail
;
12980 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxLayoutAlgorithm
, SWIG_POINTER_NEW
| 0 );
12987 SWIGINTERN PyObject
*_wrap_delete_LayoutAlgorithm(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12988 PyObject
*resultobj
= 0;
12989 wxLayoutAlgorithm
*arg1
= (wxLayoutAlgorithm
*) 0 ;
12992 PyObject
*swig_obj
[1] ;
12994 if (!args
) SWIG_fail
;
12995 swig_obj
[0] = args
;
12996 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLayoutAlgorithm
, SWIG_POINTER_DISOWN
| 0 );
12997 if (!SWIG_IsOK(res1
)) {
12998 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_LayoutAlgorithm" "', expected argument " "1"" of type '" "wxLayoutAlgorithm *""'");
13000 arg1
= reinterpret_cast< wxLayoutAlgorithm
* >(argp1
);
13002 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13005 wxPyEndAllowThreads(__tstate
);
13006 if (PyErr_Occurred()) SWIG_fail
;
13008 resultobj
= SWIG_Py_Void();
13015 SWIGINTERN PyObject
*_wrap_LayoutAlgorithm_LayoutMDIFrame(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13016 PyObject
*resultobj
= 0;
13017 wxLayoutAlgorithm
*arg1
= (wxLayoutAlgorithm
*) 0 ;
13018 wxMDIParentFrame
*arg2
= (wxMDIParentFrame
*) 0 ;
13019 wxRect
*arg3
= (wxRect
*) NULL
;
13027 PyObject
* obj0
= 0 ;
13028 PyObject
* obj1
= 0 ;
13029 PyObject
* obj2
= 0 ;
13030 char * kwnames
[] = {
13031 (char *) "self",(char *) "frame",(char *) "rect", NULL
13034 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:LayoutAlgorithm_LayoutMDIFrame",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
13035 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxLayoutAlgorithm
, 0 | 0 );
13036 if (!SWIG_IsOK(res1
)) {
13037 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "LayoutAlgorithm_LayoutMDIFrame" "', expected argument " "1"" of type '" "wxLayoutAlgorithm *""'");
13039 arg1
= reinterpret_cast< wxLayoutAlgorithm
* >(argp1
);
13040 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxMDIParentFrame
, 0 | 0 );
13041 if (!SWIG_IsOK(res2
)) {
13042 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "LayoutAlgorithm_LayoutMDIFrame" "', expected argument " "2"" of type '" "wxMDIParentFrame *""'");
13044 arg2
= reinterpret_cast< wxMDIParentFrame
* >(argp2
);
13046 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxRect
, 0 | 0 );
13047 if (!SWIG_IsOK(res3
)) {
13048 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "LayoutAlgorithm_LayoutMDIFrame" "', expected argument " "3"" of type '" "wxRect *""'");
13050 arg3
= reinterpret_cast< wxRect
* >(argp3
);
13053 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13054 result
= (bool)(arg1
)->LayoutMDIFrame(arg2
,arg3
);
13055 wxPyEndAllowThreads(__tstate
);
13056 if (PyErr_Occurred()) SWIG_fail
;
13059 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13067 SWIGINTERN PyObject
*_wrap_LayoutAlgorithm_LayoutFrame(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13068 PyObject
*resultobj
= 0;
13069 wxLayoutAlgorithm
*arg1
= (wxLayoutAlgorithm
*) 0 ;
13070 wxFrame
*arg2
= (wxFrame
*) 0 ;
13071 wxWindow
*arg3
= (wxWindow
*) NULL
;
13079 PyObject
* obj0
= 0 ;
13080 PyObject
* obj1
= 0 ;
13081 PyObject
* obj2
= 0 ;
13082 char * kwnames
[] = {
13083 (char *) "self",(char *) "frame",(char *) "mainWindow", NULL
13086 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:LayoutAlgorithm_LayoutFrame",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
13087 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxLayoutAlgorithm
, 0 | 0 );
13088 if (!SWIG_IsOK(res1
)) {
13089 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "LayoutAlgorithm_LayoutFrame" "', expected argument " "1"" of type '" "wxLayoutAlgorithm *""'");
13091 arg1
= reinterpret_cast< wxLayoutAlgorithm
* >(argp1
);
13092 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxFrame
, 0 | 0 );
13093 if (!SWIG_IsOK(res2
)) {
13094 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "LayoutAlgorithm_LayoutFrame" "', expected argument " "2"" of type '" "wxFrame *""'");
13096 arg2
= reinterpret_cast< wxFrame
* >(argp2
);
13098 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxWindow
, 0 | 0 );
13099 if (!SWIG_IsOK(res3
)) {
13100 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "LayoutAlgorithm_LayoutFrame" "', expected argument " "3"" of type '" "wxWindow *""'");
13102 arg3
= reinterpret_cast< wxWindow
* >(argp3
);
13105 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13106 result
= (bool)(arg1
)->LayoutFrame(arg2
,arg3
);
13107 wxPyEndAllowThreads(__tstate
);
13108 if (PyErr_Occurred()) SWIG_fail
;
13111 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13119 SWIGINTERN PyObject
*_wrap_LayoutAlgorithm_LayoutWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13120 PyObject
*resultobj
= 0;
13121 wxLayoutAlgorithm
*arg1
= (wxLayoutAlgorithm
*) 0 ;
13122 wxWindow
*arg2
= (wxWindow
*) 0 ;
13123 wxWindow
*arg3
= (wxWindow
*) NULL
;
13131 PyObject
* obj0
= 0 ;
13132 PyObject
* obj1
= 0 ;
13133 PyObject
* obj2
= 0 ;
13134 char * kwnames
[] = {
13135 (char *) "self",(char *) "parent",(char *) "mainWindow", NULL
13138 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:LayoutAlgorithm_LayoutWindow",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
13139 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxLayoutAlgorithm
, 0 | 0 );
13140 if (!SWIG_IsOK(res1
)) {
13141 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "LayoutAlgorithm_LayoutWindow" "', expected argument " "1"" of type '" "wxLayoutAlgorithm *""'");
13143 arg1
= reinterpret_cast< wxLayoutAlgorithm
* >(argp1
);
13144 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
13145 if (!SWIG_IsOK(res2
)) {
13146 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "LayoutAlgorithm_LayoutWindow" "', expected argument " "2"" of type '" "wxWindow *""'");
13148 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
13150 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxWindow
, 0 | 0 );
13151 if (!SWIG_IsOK(res3
)) {
13152 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "LayoutAlgorithm_LayoutWindow" "', expected argument " "3"" of type '" "wxWindow *""'");
13154 arg3
= reinterpret_cast< wxWindow
* >(argp3
);
13157 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13158 result
= (bool)(arg1
)->LayoutWindow(arg2
,arg3
);
13159 wxPyEndAllowThreads(__tstate
);
13160 if (PyErr_Occurred()) SWIG_fail
;
13163 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13171 SWIGINTERN PyObject
*LayoutAlgorithm_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13173 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
13174 SWIG_TypeNewClientData(SWIGTYPE_p_wxLayoutAlgorithm
, SWIG_NewClientData(obj
));
13175 return SWIG_Py_Void();
13178 SWIGINTERN PyObject
*LayoutAlgorithm_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13179 return SWIG_Python_InitShadowInstance(args
);
13182 SWIGINTERN PyObject
*_wrap_new_PopupWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13183 PyObject
*resultobj
= 0;
13184 wxWindow
*arg1
= (wxWindow
*) 0 ;
13185 int arg2
= (int) wxBORDER_NONE
;
13186 wxPopupWindow
*result
= 0 ;
13191 PyObject
* obj0
= 0 ;
13192 PyObject
* obj1
= 0 ;
13193 char * kwnames
[] = {
13194 (char *) "parent",(char *) "flags", NULL
13197 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_PopupWindow",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13198 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
13199 if (!SWIG_IsOK(res1
)) {
13200 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PopupWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
13202 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
13204 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
13205 if (!SWIG_IsOK(ecode2
)) {
13206 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_PopupWindow" "', expected argument " "2"" of type '" "int""'");
13208 arg2
= static_cast< int >(val2
);
13211 if (!wxPyCheckForApp()) SWIG_fail
;
13212 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13213 result
= (wxPopupWindow
*)new wxPopupWindow(arg1
,arg2
);
13214 wxPyEndAllowThreads(__tstate
);
13215 if (PyErr_Occurred()) SWIG_fail
;
13217 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPopupWindow
, SWIG_POINTER_NEW
| 0 );
13224 SWIGINTERN PyObject
*_wrap_new_PrePopupWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13225 PyObject
*resultobj
= 0;
13226 wxPopupWindow
*result
= 0 ;
13228 if (!SWIG_Python_UnpackTuple(args
,"new_PrePopupWindow",0,0,0)) SWIG_fail
;
13230 if (!wxPyCheckForApp()) SWIG_fail
;
13231 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13232 result
= (wxPopupWindow
*)new wxPopupWindow();
13233 wxPyEndAllowThreads(__tstate
);
13234 if (PyErr_Occurred()) SWIG_fail
;
13236 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPopupWindow
, SWIG_POINTER_OWN
| 0 );
13243 SWIGINTERN PyObject
*_wrap_PopupWindow_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13244 PyObject
*resultobj
= 0;
13245 wxPopupWindow
*arg1
= (wxPopupWindow
*) 0 ;
13246 wxWindow
*arg2
= (wxWindow
*) 0 ;
13247 int arg3
= (int) wxBORDER_NONE
;
13255 PyObject
* obj0
= 0 ;
13256 PyObject
* obj1
= 0 ;
13257 PyObject
* obj2
= 0 ;
13258 char * kwnames
[] = {
13259 (char *) "self",(char *) "parent",(char *) "flags", NULL
13262 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:PopupWindow_Create",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
13263 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPopupWindow
, 0 | 0 );
13264 if (!SWIG_IsOK(res1
)) {
13265 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PopupWindow_Create" "', expected argument " "1"" of type '" "wxPopupWindow *""'");
13267 arg1
= reinterpret_cast< wxPopupWindow
* >(argp1
);
13268 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
13269 if (!SWIG_IsOK(res2
)) {
13270 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PopupWindow_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
13272 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
13274 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
13275 if (!SWIG_IsOK(ecode3
)) {
13276 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PopupWindow_Create" "', expected argument " "3"" of type '" "int""'");
13278 arg3
= static_cast< int >(val3
);
13281 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13282 result
= (bool)(arg1
)->Create(arg2
,arg3
);
13283 wxPyEndAllowThreads(__tstate
);
13284 if (PyErr_Occurred()) SWIG_fail
;
13287 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13295 SWIGINTERN PyObject
*_wrap_PopupWindow_Position(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13296 PyObject
*resultobj
= 0;
13297 wxPopupWindow
*arg1
= (wxPopupWindow
*) 0 ;
13298 wxPoint
*arg2
= 0 ;
13304 PyObject
* obj0
= 0 ;
13305 PyObject
* obj1
= 0 ;
13306 PyObject
* obj2
= 0 ;
13307 char * kwnames
[] = {
13308 (char *) "self",(char *) "ptOrigin",(char *) "size", NULL
13311 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PopupWindow_Position",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
13312 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPopupWindow
, 0 | 0 );
13313 if (!SWIG_IsOK(res1
)) {
13314 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PopupWindow_Position" "', expected argument " "1"" of type '" "wxPopupWindow *""'");
13316 arg1
= reinterpret_cast< wxPopupWindow
* >(argp1
);
13319 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
13323 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
13326 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13327 (arg1
)->Position((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
);
13328 wxPyEndAllowThreads(__tstate
);
13329 if (PyErr_Occurred()) SWIG_fail
;
13331 resultobj
= SWIG_Py_Void();
13338 SWIGINTERN PyObject
*PopupWindow_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13340 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
13341 SWIG_TypeNewClientData(SWIGTYPE_p_wxPopupWindow
, SWIG_NewClientData(obj
));
13342 return SWIG_Py_Void();
13345 SWIGINTERN PyObject
*PopupWindow_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13346 return SWIG_Python_InitShadowInstance(args
);
13349 SWIGINTERN PyObject
*_wrap_new_PopupTransientWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13350 PyObject
*resultobj
= 0;
13351 wxWindow
*arg1
= (wxWindow
*) 0 ;
13352 int arg2
= (int) wxBORDER_NONE
;
13353 wxPyPopupTransientWindow
*result
= 0 ;
13358 PyObject
* obj0
= 0 ;
13359 PyObject
* obj1
= 0 ;
13360 char * kwnames
[] = {
13361 (char *) "parent",(char *) "style", NULL
13364 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_PopupTransientWindow",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13365 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
13366 if (!SWIG_IsOK(res1
)) {
13367 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PopupTransientWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
13369 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
13371 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
13372 if (!SWIG_IsOK(ecode2
)) {
13373 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_PopupTransientWindow" "', expected argument " "2"" of type '" "int""'");
13375 arg2
= static_cast< int >(val2
);
13378 if (!wxPyCheckForApp()) SWIG_fail
;
13379 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13380 result
= (wxPyPopupTransientWindow
*)new wxPyPopupTransientWindow(arg1
,arg2
);
13381 wxPyEndAllowThreads(__tstate
);
13382 if (PyErr_Occurred()) SWIG_fail
;
13384 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyPopupTransientWindow
, SWIG_POINTER_NEW
| 0 );
13391 SWIGINTERN PyObject
*_wrap_new_PrePopupTransientWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13392 PyObject
*resultobj
= 0;
13393 wxPyPopupTransientWindow
*result
= 0 ;
13395 if (!SWIG_Python_UnpackTuple(args
,"new_PrePopupTransientWindow",0,0,0)) SWIG_fail
;
13397 if (!wxPyCheckForApp()) SWIG_fail
;
13398 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13399 result
= (wxPyPopupTransientWindow
*)new wxPyPopupTransientWindow();
13400 wxPyEndAllowThreads(__tstate
);
13401 if (PyErr_Occurred()) SWIG_fail
;
13403 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyPopupTransientWindow
, SWIG_POINTER_OWN
| 0 );
13410 SWIGINTERN PyObject
*_wrap_PopupTransientWindow__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13411 PyObject
*resultobj
= 0;
13412 wxPyPopupTransientWindow
*arg1
= (wxPyPopupTransientWindow
*) 0 ;
13413 PyObject
*arg2
= (PyObject
*) 0 ;
13414 PyObject
*arg3
= (PyObject
*) 0 ;
13417 PyObject
* obj0
= 0 ;
13418 PyObject
* obj1
= 0 ;
13419 PyObject
* obj2
= 0 ;
13420 char * kwnames
[] = {
13421 (char *) "self",(char *) "self",(char *) "_class", NULL
13424 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PopupTransientWindow__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
13425 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPopupTransientWindow
, 0 | 0 );
13426 if (!SWIG_IsOK(res1
)) {
13427 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PopupTransientWindow__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyPopupTransientWindow *""'");
13429 arg1
= reinterpret_cast< wxPyPopupTransientWindow
* >(argp1
);
13433 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13434 (arg1
)->_setCallbackInfo(arg2
,arg3
);
13435 wxPyEndAllowThreads(__tstate
);
13436 if (PyErr_Occurred()) SWIG_fail
;
13438 resultobj
= SWIG_Py_Void();
13445 SWIGINTERN PyObject
*_wrap_PopupTransientWindow_Popup(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13446 PyObject
*resultobj
= 0;
13447 wxPyPopupTransientWindow
*arg1
= (wxPyPopupTransientWindow
*) 0 ;
13448 wxWindow
*arg2
= (wxWindow
*) NULL
;
13453 PyObject
* obj0
= 0 ;
13454 PyObject
* obj1
= 0 ;
13455 char * kwnames
[] = {
13456 (char *) "self",(char *) "focus", NULL
13459 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:PopupTransientWindow_Popup",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13460 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPopupTransientWindow
, 0 | 0 );
13461 if (!SWIG_IsOK(res1
)) {
13462 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PopupTransientWindow_Popup" "', expected argument " "1"" of type '" "wxPyPopupTransientWindow *""'");
13464 arg1
= reinterpret_cast< wxPyPopupTransientWindow
* >(argp1
);
13466 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
13467 if (!SWIG_IsOK(res2
)) {
13468 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PopupTransientWindow_Popup" "', expected argument " "2"" of type '" "wxWindow *""'");
13470 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
13473 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13474 (arg1
)->Popup(arg2
);
13475 wxPyEndAllowThreads(__tstate
);
13476 if (PyErr_Occurred()) SWIG_fail
;
13478 resultobj
= SWIG_Py_Void();
13485 SWIGINTERN PyObject
*_wrap_PopupTransientWindow_Dismiss(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13486 PyObject
*resultobj
= 0;
13487 wxPyPopupTransientWindow
*arg1
= (wxPyPopupTransientWindow
*) 0 ;
13490 PyObject
*swig_obj
[1] ;
13492 if (!args
) SWIG_fail
;
13493 swig_obj
[0] = args
;
13494 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPopupTransientWindow
, 0 | 0 );
13495 if (!SWIG_IsOK(res1
)) {
13496 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PopupTransientWindow_Dismiss" "', expected argument " "1"" of type '" "wxPyPopupTransientWindow *""'");
13498 arg1
= reinterpret_cast< wxPyPopupTransientWindow
* >(argp1
);
13500 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13502 wxPyEndAllowThreads(__tstate
);
13503 if (PyErr_Occurred()) SWIG_fail
;
13505 resultobj
= SWIG_Py_Void();
13512 SWIGINTERN PyObject
*PopupTransientWindow_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13514 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
13515 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyPopupTransientWindow
, SWIG_NewClientData(obj
));
13516 return SWIG_Py_Void();
13519 SWIGINTERN PyObject
*PopupTransientWindow_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13520 return SWIG_Python_InitShadowInstance(args
);
13523 SWIGINTERN PyObject
*_wrap_new_TipWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13524 PyObject
*resultobj
= 0;
13525 wxWindow
*arg1
= (wxWindow
*) 0 ;
13526 wxString
*arg2
= 0 ;
13527 int arg3
= (int) 100 ;
13528 wxRect
*arg4
= (wxRect
*) NULL
;
13529 wxTipWindow
*result
= 0 ;
13532 bool temp2
= false ;
13537 PyObject
* obj0
= 0 ;
13538 PyObject
* obj1
= 0 ;
13539 PyObject
* obj2
= 0 ;
13540 PyObject
* obj3
= 0 ;
13541 char * kwnames
[] = {
13542 (char *) "parent",(char *) "text",(char *) "maxLength",(char *) "rectBound", NULL
13545 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:new_TipWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
13546 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
13547 if (!SWIG_IsOK(res1
)) {
13548 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_TipWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
13550 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
13552 arg2
= wxString_in_helper(obj1
);
13553 if (arg2
== NULL
) SWIG_fail
;
13557 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
13558 if (!SWIG_IsOK(ecode3
)) {
13559 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_TipWindow" "', expected argument " "3"" of type '" "int""'");
13561 arg3
= static_cast< int >(val3
);
13564 res4
= SWIG_ConvertPtr(obj3
, &argp4
,SWIGTYPE_p_wxRect
, 0 | 0 );
13565 if (!SWIG_IsOK(res4
)) {
13566 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "new_TipWindow" "', expected argument " "4"" of type '" "wxRect *""'");
13568 arg4
= reinterpret_cast< wxRect
* >(argp4
);
13571 if (!wxPyCheckForApp()) SWIG_fail
;
13572 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13573 result
= (wxTipWindow
*)new_wxTipWindow(arg1
,(wxString
const &)*arg2
,arg3
,arg4
);
13574 wxPyEndAllowThreads(__tstate
);
13575 if (PyErr_Occurred()) SWIG_fail
;
13577 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTipWindow
, SWIG_POINTER_NEW
| 0 );
13592 SWIGINTERN PyObject
*_wrap_TipWindow_SetBoundingRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13593 PyObject
*resultobj
= 0;
13594 wxTipWindow
*arg1
= (wxTipWindow
*) 0 ;
13599 PyObject
* obj0
= 0 ;
13600 PyObject
* obj1
= 0 ;
13601 char * kwnames
[] = {
13602 (char *) "self",(char *) "rectBound", NULL
13605 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TipWindow_SetBoundingRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13606 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTipWindow
, 0 | 0 );
13607 if (!SWIG_IsOK(res1
)) {
13608 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TipWindow_SetBoundingRect" "', expected argument " "1"" of type '" "wxTipWindow *""'");
13610 arg1
= reinterpret_cast< wxTipWindow
* >(argp1
);
13613 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
13616 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13617 (arg1
)->SetBoundingRect((wxRect
const &)*arg2
);
13618 wxPyEndAllowThreads(__tstate
);
13619 if (PyErr_Occurred()) SWIG_fail
;
13621 resultobj
= SWIG_Py_Void();
13628 SWIGINTERN PyObject
*_wrap_TipWindow_Close(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13629 PyObject
*resultobj
= 0;
13630 wxTipWindow
*arg1
= (wxTipWindow
*) 0 ;
13633 PyObject
*swig_obj
[1] ;
13635 if (!args
) SWIG_fail
;
13636 swig_obj
[0] = args
;
13637 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTipWindow
, 0 | 0 );
13638 if (!SWIG_IsOK(res1
)) {
13639 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TipWindow_Close" "', expected argument " "1"" of type '" "wxTipWindow *""'");
13641 arg1
= reinterpret_cast< wxTipWindow
* >(argp1
);
13643 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13645 wxPyEndAllowThreads(__tstate
);
13646 if (PyErr_Occurred()) SWIG_fail
;
13648 resultobj
= SWIG_Py_Void();
13655 SWIGINTERN PyObject
*TipWindow_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13657 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
13658 SWIG_TypeNewClientData(SWIGTYPE_p_wxTipWindow
, SWIG_NewClientData(obj
));
13659 return SWIG_Py_Void();
13662 SWIGINTERN PyObject
*TipWindow_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13663 return SWIG_Python_InitShadowInstance(args
);
13666 SWIGINTERN PyObject
*_wrap_new_VScrolledWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13667 PyObject
*resultobj
= 0;
13668 wxWindow
*arg1
= (wxWindow
*) 0 ;
13669 int arg2
= (int) wxID_ANY
;
13670 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
13671 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
13672 wxSize
const &arg4_defvalue
= wxDefaultSize
;
13673 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
13674 long arg5
= (long) 0 ;
13675 wxString
const &arg6_defvalue
= wxPyPanelNameStr
;
13676 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
13677 wxPyVScrolledWindow
*result
= 0 ;
13686 bool temp6
= false ;
13687 PyObject
* obj0
= 0 ;
13688 PyObject
* obj1
= 0 ;
13689 PyObject
* obj2
= 0 ;
13690 PyObject
* obj3
= 0 ;
13691 PyObject
* obj4
= 0 ;
13692 PyObject
* obj5
= 0 ;
13693 char * kwnames
[] = {
13694 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
13697 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_VScrolledWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
13698 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
13699 if (!SWIG_IsOK(res1
)) {
13700 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_VScrolledWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
13702 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
13704 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
13705 if (!SWIG_IsOK(ecode2
)) {
13706 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_VScrolledWindow" "', expected argument " "2"" of type '" "int""'");
13708 arg2
= static_cast< int >(val2
);
13713 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
13719 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
13723 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
13724 if (!SWIG_IsOK(ecode5
)) {
13725 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_VScrolledWindow" "', expected argument " "5"" of type '" "long""'");
13727 arg5
= static_cast< long >(val5
);
13731 arg6
= wxString_in_helper(obj5
);
13732 if (arg6
== NULL
) SWIG_fail
;
13737 if (!wxPyCheckForApp()) SWIG_fail
;
13738 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13739 result
= (wxPyVScrolledWindow
*)new wxPyVScrolledWindow(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
13740 wxPyEndAllowThreads(__tstate
);
13741 if (PyErr_Occurred()) SWIG_fail
;
13743 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyVScrolledWindow
, SWIG_POINTER_NEW
| 0 );
13758 SWIGINTERN PyObject
*_wrap_new_PreVScrolledWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13759 PyObject
*resultobj
= 0;
13760 wxPyVScrolledWindow
*result
= 0 ;
13762 if (!SWIG_Python_UnpackTuple(args
,"new_PreVScrolledWindow",0,0,0)) SWIG_fail
;
13764 if (!wxPyCheckForApp()) SWIG_fail
;
13765 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13766 result
= (wxPyVScrolledWindow
*)new wxPyVScrolledWindow();
13767 wxPyEndAllowThreads(__tstate
);
13768 if (PyErr_Occurred()) SWIG_fail
;
13770 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyVScrolledWindow
, SWIG_POINTER_OWN
| 0 );
13777 SWIGINTERN PyObject
*_wrap_VScrolledWindow__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13778 PyObject
*resultobj
= 0;
13779 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
13780 PyObject
*arg2
= (PyObject
*) 0 ;
13781 PyObject
*arg3
= (PyObject
*) 0 ;
13784 PyObject
* obj0
= 0 ;
13785 PyObject
* obj1
= 0 ;
13786 PyObject
* obj2
= 0 ;
13787 char * kwnames
[] = {
13788 (char *) "self",(char *) "self",(char *) "_class", NULL
13791 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:VScrolledWindow__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
13792 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVScrolledWindow
, 0 | 0 );
13793 if (!SWIG_IsOK(res1
)) {
13794 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VScrolledWindow__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyVScrolledWindow *""'");
13796 arg1
= reinterpret_cast< wxPyVScrolledWindow
* >(argp1
);
13800 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13801 (arg1
)->_setCallbackInfo(arg2
,arg3
);
13802 wxPyEndAllowThreads(__tstate
);
13803 if (PyErr_Occurred()) SWIG_fail
;
13805 resultobj
= SWIG_Py_Void();
13812 SWIGINTERN PyObject
*_wrap_VScrolledWindow_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13813 PyObject
*resultobj
= 0;
13814 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
13815 wxWindow
*arg2
= (wxWindow
*) 0 ;
13816 int arg3
= (int) wxID_ANY
;
13817 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
13818 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
13819 wxSize
const &arg5_defvalue
= wxDefaultSize
;
13820 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
13821 long arg6
= (long) 0 ;
13822 wxString
const &arg7_defvalue
= wxPyPanelNameStr
;
13823 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
13835 bool temp7
= false ;
13836 PyObject
* obj0
= 0 ;
13837 PyObject
* obj1
= 0 ;
13838 PyObject
* obj2
= 0 ;
13839 PyObject
* obj3
= 0 ;
13840 PyObject
* obj4
= 0 ;
13841 PyObject
* obj5
= 0 ;
13842 PyObject
* obj6
= 0 ;
13843 char * kwnames
[] = {
13844 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
13847 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:VScrolledWindow_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
13848 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVScrolledWindow
, 0 | 0 );
13849 if (!SWIG_IsOK(res1
)) {
13850 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VScrolledWindow_Create" "', expected argument " "1"" of type '" "wxPyVScrolledWindow *""'");
13852 arg1
= reinterpret_cast< wxPyVScrolledWindow
* >(argp1
);
13853 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
13854 if (!SWIG_IsOK(res2
)) {
13855 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "VScrolledWindow_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
13857 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
13859 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
13860 if (!SWIG_IsOK(ecode3
)) {
13861 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "VScrolledWindow_Create" "', expected argument " "3"" of type '" "int""'");
13863 arg3
= static_cast< int >(val3
);
13868 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
13874 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
13878 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
13879 if (!SWIG_IsOK(ecode6
)) {
13880 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "VScrolledWindow_Create" "', expected argument " "6"" of type '" "long""'");
13882 arg6
= static_cast< long >(val6
);
13886 arg7
= wxString_in_helper(obj6
);
13887 if (arg7
== NULL
) SWIG_fail
;
13892 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13893 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
13894 wxPyEndAllowThreads(__tstate
);
13895 if (PyErr_Occurred()) SWIG_fail
;
13898 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13914 SWIGINTERN PyObject
*_wrap_VScrolledWindow_SetLineCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13915 PyObject
*resultobj
= 0;
13916 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
13922 PyObject
* obj0
= 0 ;
13923 PyObject
* obj1
= 0 ;
13924 char * kwnames
[] = {
13925 (char *) "self",(char *) "count", NULL
13928 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VScrolledWindow_SetLineCount",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13929 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVScrolledWindow
, 0 | 0 );
13930 if (!SWIG_IsOK(res1
)) {
13931 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VScrolledWindow_SetLineCount" "', expected argument " "1"" of type '" "wxPyVScrolledWindow *""'");
13933 arg1
= reinterpret_cast< wxPyVScrolledWindow
* >(argp1
);
13934 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
13935 if (!SWIG_IsOK(ecode2
)) {
13936 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "VScrolledWindow_SetLineCount" "', expected argument " "2"" of type '" "size_t""'");
13938 arg2
= static_cast< size_t >(val2
);
13940 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13941 (arg1
)->SetLineCount(arg2
);
13942 wxPyEndAllowThreads(__tstate
);
13943 if (PyErr_Occurred()) SWIG_fail
;
13945 resultobj
= SWIG_Py_Void();
13952 SWIGINTERN PyObject
*_wrap_VScrolledWindow_ScrollToLine(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13953 PyObject
*resultobj
= 0;
13954 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
13961 PyObject
* obj0
= 0 ;
13962 PyObject
* obj1
= 0 ;
13963 char * kwnames
[] = {
13964 (char *) "self",(char *) "line", NULL
13967 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VScrolledWindow_ScrollToLine",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13968 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVScrolledWindow
, 0 | 0 );
13969 if (!SWIG_IsOK(res1
)) {
13970 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VScrolledWindow_ScrollToLine" "', expected argument " "1"" of type '" "wxPyVScrolledWindow *""'");
13972 arg1
= reinterpret_cast< wxPyVScrolledWindow
* >(argp1
);
13973 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
13974 if (!SWIG_IsOK(ecode2
)) {
13975 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "VScrolledWindow_ScrollToLine" "', expected argument " "2"" of type '" "size_t""'");
13977 arg2
= static_cast< size_t >(val2
);
13979 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13980 result
= (bool)(arg1
)->ScrollToLine(arg2
);
13981 wxPyEndAllowThreads(__tstate
);
13982 if (PyErr_Occurred()) SWIG_fail
;
13985 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13993 SWIGINTERN PyObject
*_wrap_VScrolledWindow_RefreshLine(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13994 PyObject
*resultobj
= 0;
13995 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
14001 PyObject
* obj0
= 0 ;
14002 PyObject
* obj1
= 0 ;
14003 char * kwnames
[] = {
14004 (char *) "self",(char *) "line", NULL
14007 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VScrolledWindow_RefreshLine",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14008 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVScrolledWindow
, 0 | 0 );
14009 if (!SWIG_IsOK(res1
)) {
14010 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VScrolledWindow_RefreshLine" "', expected argument " "1"" of type '" "wxPyVScrolledWindow *""'");
14012 arg1
= reinterpret_cast< wxPyVScrolledWindow
* >(argp1
);
14013 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
14014 if (!SWIG_IsOK(ecode2
)) {
14015 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "VScrolledWindow_RefreshLine" "', expected argument " "2"" of type '" "size_t""'");
14017 arg2
= static_cast< size_t >(val2
);
14019 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14020 (arg1
)->RefreshLine(arg2
);
14021 wxPyEndAllowThreads(__tstate
);
14022 if (PyErr_Occurred()) SWIG_fail
;
14024 resultobj
= SWIG_Py_Void();
14031 SWIGINTERN PyObject
*_wrap_VScrolledWindow_RefreshLines(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14032 PyObject
*resultobj
= 0;
14033 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
14042 PyObject
* obj0
= 0 ;
14043 PyObject
* obj1
= 0 ;
14044 PyObject
* obj2
= 0 ;
14045 char * kwnames
[] = {
14046 (char *) "self",(char *) "from",(char *) "to", NULL
14049 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:VScrolledWindow_RefreshLines",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
14050 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVScrolledWindow
, 0 | 0 );
14051 if (!SWIG_IsOK(res1
)) {
14052 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VScrolledWindow_RefreshLines" "', expected argument " "1"" of type '" "wxPyVScrolledWindow *""'");
14054 arg1
= reinterpret_cast< wxPyVScrolledWindow
* >(argp1
);
14055 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
14056 if (!SWIG_IsOK(ecode2
)) {
14057 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "VScrolledWindow_RefreshLines" "', expected argument " "2"" of type '" "size_t""'");
14059 arg2
= static_cast< size_t >(val2
);
14060 ecode3
= SWIG_AsVal_size_t(obj2
, &val3
);
14061 if (!SWIG_IsOK(ecode3
)) {
14062 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "VScrolledWindow_RefreshLines" "', expected argument " "3"" of type '" "size_t""'");
14064 arg3
= static_cast< size_t >(val3
);
14066 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14067 (arg1
)->RefreshLines(arg2
,arg3
);
14068 wxPyEndAllowThreads(__tstate
);
14069 if (PyErr_Occurred()) SWIG_fail
;
14071 resultobj
= SWIG_Py_Void();
14078 SWIGINTERN PyObject
*_wrap_VScrolledWindow_HitTestXY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14079 PyObject
*resultobj
= 0;
14080 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
14090 PyObject
* obj0
= 0 ;
14091 PyObject
* obj1
= 0 ;
14092 PyObject
* obj2
= 0 ;
14093 char * kwnames
[] = {
14094 (char *) "self",(char *) "x",(char *) "y", NULL
14097 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:VScrolledWindow_HitTestXY",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
14098 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVScrolledWindow
, 0 | 0 );
14099 if (!SWIG_IsOK(res1
)) {
14100 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VScrolledWindow_HitTestXY" "', expected argument " "1"" of type '" "wxPyVScrolledWindow const *""'");
14102 arg1
= reinterpret_cast< wxPyVScrolledWindow
* >(argp1
);
14103 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
14104 if (!SWIG_IsOK(ecode2
)) {
14105 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "VScrolledWindow_HitTestXY" "', expected argument " "2"" of type '" "int""'");
14107 arg2
= static_cast< int >(val2
);
14108 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
14109 if (!SWIG_IsOK(ecode3
)) {
14110 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "VScrolledWindow_HitTestXY" "', expected argument " "3"" of type '" "int""'");
14112 arg3
= static_cast< int >(val3
);
14114 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14115 result
= (int)((wxPyVScrolledWindow
const *)arg1
)->HitTest(arg2
,arg3
);
14116 wxPyEndAllowThreads(__tstate
);
14117 if (PyErr_Occurred()) SWIG_fail
;
14119 resultobj
= SWIG_From_int(static_cast< int >(result
));
14126 SWIGINTERN PyObject
*_wrap_VScrolledWindow_HitTest(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14127 PyObject
*resultobj
= 0;
14128 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
14129 wxPoint
*arg2
= 0 ;
14134 PyObject
* obj0
= 0 ;
14135 PyObject
* obj1
= 0 ;
14136 char * kwnames
[] = {
14137 (char *) "self",(char *) "pt", NULL
14140 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VScrolledWindow_HitTest",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14141 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVScrolledWindow
, 0 | 0 );
14142 if (!SWIG_IsOK(res1
)) {
14143 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VScrolledWindow_HitTest" "', expected argument " "1"" of type '" "wxPyVScrolledWindow const *""'");
14145 arg1
= reinterpret_cast< wxPyVScrolledWindow
* >(argp1
);
14148 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
14151 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14152 result
= (int)((wxPyVScrolledWindow
const *)arg1
)->HitTest((wxPoint
const &)*arg2
);
14153 wxPyEndAllowThreads(__tstate
);
14154 if (PyErr_Occurred()) SWIG_fail
;
14156 resultobj
= SWIG_From_int(static_cast< int >(result
));
14163 SWIGINTERN PyObject
*_wrap_VScrolledWindow_RefreshAll(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14164 PyObject
*resultobj
= 0;
14165 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
14168 PyObject
*swig_obj
[1] ;
14170 if (!args
) SWIG_fail
;
14171 swig_obj
[0] = args
;
14172 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyVScrolledWindow
, 0 | 0 );
14173 if (!SWIG_IsOK(res1
)) {
14174 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VScrolledWindow_RefreshAll" "', expected argument " "1"" of type '" "wxPyVScrolledWindow *""'");
14176 arg1
= reinterpret_cast< wxPyVScrolledWindow
* >(argp1
);
14178 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14179 (arg1
)->RefreshAll();
14180 wxPyEndAllowThreads(__tstate
);
14181 if (PyErr_Occurred()) SWIG_fail
;
14183 resultobj
= SWIG_Py_Void();
14190 SWIGINTERN PyObject
*_wrap_VScrolledWindow_GetLineCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14191 PyObject
*resultobj
= 0;
14192 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
14196 PyObject
*swig_obj
[1] ;
14198 if (!args
) SWIG_fail
;
14199 swig_obj
[0] = args
;
14200 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyVScrolledWindow
, 0 | 0 );
14201 if (!SWIG_IsOK(res1
)) {
14202 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VScrolledWindow_GetLineCount" "', expected argument " "1"" of type '" "wxPyVScrolledWindow const *""'");
14204 arg1
= reinterpret_cast< wxPyVScrolledWindow
* >(argp1
);
14206 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14207 result
= (size_t)((wxPyVScrolledWindow
const *)arg1
)->GetLineCount();
14208 wxPyEndAllowThreads(__tstate
);
14209 if (PyErr_Occurred()) SWIG_fail
;
14211 resultobj
= SWIG_From_size_t(static_cast< size_t >(result
));
14218 SWIGINTERN PyObject
*_wrap_VScrolledWindow_GetVisibleBegin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14219 PyObject
*resultobj
= 0;
14220 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
14224 PyObject
*swig_obj
[1] ;
14226 if (!args
) SWIG_fail
;
14227 swig_obj
[0] = args
;
14228 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyVScrolledWindow
, 0 | 0 );
14229 if (!SWIG_IsOK(res1
)) {
14230 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VScrolledWindow_GetVisibleBegin" "', expected argument " "1"" of type '" "wxPyVScrolledWindow const *""'");
14232 arg1
= reinterpret_cast< wxPyVScrolledWindow
* >(argp1
);
14234 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14235 result
= (size_t)((wxPyVScrolledWindow
const *)arg1
)->GetVisibleBegin();
14236 wxPyEndAllowThreads(__tstate
);
14237 if (PyErr_Occurred()) SWIG_fail
;
14239 resultobj
= SWIG_From_size_t(static_cast< size_t >(result
));
14246 SWIGINTERN PyObject
*_wrap_VScrolledWindow_GetVisibleEnd(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14247 PyObject
*resultobj
= 0;
14248 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
14252 PyObject
*swig_obj
[1] ;
14254 if (!args
) SWIG_fail
;
14255 swig_obj
[0] = args
;
14256 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyVScrolledWindow
, 0 | 0 );
14257 if (!SWIG_IsOK(res1
)) {
14258 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VScrolledWindow_GetVisibleEnd" "', expected argument " "1"" of type '" "wxPyVScrolledWindow const *""'");
14260 arg1
= reinterpret_cast< wxPyVScrolledWindow
* >(argp1
);
14262 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14263 result
= (size_t)((wxPyVScrolledWindow
const *)arg1
)->GetVisibleEnd();
14264 wxPyEndAllowThreads(__tstate
);
14265 if (PyErr_Occurred()) SWIG_fail
;
14267 resultobj
= SWIG_From_size_t(static_cast< size_t >(result
));
14274 SWIGINTERN PyObject
*_wrap_VScrolledWindow_IsVisible(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14275 PyObject
*resultobj
= 0;
14276 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
14283 PyObject
* obj0
= 0 ;
14284 PyObject
* obj1
= 0 ;
14285 char * kwnames
[] = {
14286 (char *) "self",(char *) "line", NULL
14289 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VScrolledWindow_IsVisible",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14290 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVScrolledWindow
, 0 | 0 );
14291 if (!SWIG_IsOK(res1
)) {
14292 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VScrolledWindow_IsVisible" "', expected argument " "1"" of type '" "wxPyVScrolledWindow const *""'");
14294 arg1
= reinterpret_cast< wxPyVScrolledWindow
* >(argp1
);
14295 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
14296 if (!SWIG_IsOK(ecode2
)) {
14297 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "VScrolledWindow_IsVisible" "', expected argument " "2"" of type '" "size_t""'");
14299 arg2
= static_cast< size_t >(val2
);
14301 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14302 result
= (bool)((wxPyVScrolledWindow
const *)arg1
)->IsVisible(arg2
);
14303 wxPyEndAllowThreads(__tstate
);
14304 if (PyErr_Occurred()) SWIG_fail
;
14307 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14315 SWIGINTERN PyObject
*_wrap_VScrolledWindow_GetFirstVisibleLine(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14316 PyObject
*resultobj
= 0;
14317 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
14321 PyObject
*swig_obj
[1] ;
14323 if (!args
) SWIG_fail
;
14324 swig_obj
[0] = args
;
14325 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyVScrolledWindow
, 0 | 0 );
14326 if (!SWIG_IsOK(res1
)) {
14327 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VScrolledWindow_GetFirstVisibleLine" "', expected argument " "1"" of type '" "wxPyVScrolledWindow const *""'");
14329 arg1
= reinterpret_cast< wxPyVScrolledWindow
* >(argp1
);
14331 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14332 result
= (size_t)((wxPyVScrolledWindow
const *)arg1
)->GetFirstVisibleLine();
14333 wxPyEndAllowThreads(__tstate
);
14334 if (PyErr_Occurred()) SWIG_fail
;
14336 resultobj
= SWIG_From_size_t(static_cast< size_t >(result
));
14343 SWIGINTERN PyObject
*_wrap_VScrolledWindow_GetLastVisibleLine(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14344 PyObject
*resultobj
= 0;
14345 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
14349 PyObject
*swig_obj
[1] ;
14351 if (!args
) SWIG_fail
;
14352 swig_obj
[0] = args
;
14353 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyVScrolledWindow
, 0 | 0 );
14354 if (!SWIG_IsOK(res1
)) {
14355 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VScrolledWindow_GetLastVisibleLine" "', expected argument " "1"" of type '" "wxPyVScrolledWindow const *""'");
14357 arg1
= reinterpret_cast< wxPyVScrolledWindow
* >(argp1
);
14359 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14360 result
= (size_t)((wxPyVScrolledWindow
const *)arg1
)->GetLastVisibleLine();
14361 wxPyEndAllowThreads(__tstate
);
14362 if (PyErr_Occurred()) SWIG_fail
;
14364 resultobj
= SWIG_From_size_t(static_cast< size_t >(result
));
14371 SWIGINTERN PyObject
*_wrap_VScrolledWindow_FindFirstFromBottom(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14372 PyObject
*resultobj
= 0;
14373 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
14375 bool arg3
= (bool) false ;
14383 PyObject
* obj0
= 0 ;
14384 PyObject
* obj1
= 0 ;
14385 PyObject
* obj2
= 0 ;
14386 char * kwnames
[] = {
14387 (char *) "self",(char *) "lineLast",(char *) "fullyVisible", NULL
14390 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:VScrolledWindow_FindFirstFromBottom",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
14391 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVScrolledWindow
, 0 | 0 );
14392 if (!SWIG_IsOK(res1
)) {
14393 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VScrolledWindow_FindFirstFromBottom" "', expected argument " "1"" of type '" "wxPyVScrolledWindow *""'");
14395 arg1
= reinterpret_cast< wxPyVScrolledWindow
* >(argp1
);
14396 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
14397 if (!SWIG_IsOK(ecode2
)) {
14398 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "VScrolledWindow_FindFirstFromBottom" "', expected argument " "2"" of type '" "size_t""'");
14400 arg2
= static_cast< size_t >(val2
);
14402 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
14403 if (!SWIG_IsOK(ecode3
)) {
14404 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "VScrolledWindow_FindFirstFromBottom" "', expected argument " "3"" of type '" "bool""'");
14406 arg3
= static_cast< bool >(val3
);
14409 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14410 result
= (size_t)(arg1
)->FindFirstFromBottom(arg2
,arg3
);
14411 wxPyEndAllowThreads(__tstate
);
14412 if (PyErr_Occurred()) SWIG_fail
;
14414 resultobj
= SWIG_From_size_t(static_cast< size_t >(result
));
14421 SWIGINTERN PyObject
*_wrap_VScrolledWindow_GetLinesHeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14422 PyObject
*resultobj
= 0;
14423 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
14433 PyObject
* obj0
= 0 ;
14434 PyObject
* obj1
= 0 ;
14435 PyObject
* obj2
= 0 ;
14436 char * kwnames
[] = {
14437 (char *) "self",(char *) "lineMin",(char *) "lineMax", NULL
14440 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:VScrolledWindow_GetLinesHeight",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
14441 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVScrolledWindow
, 0 | 0 );
14442 if (!SWIG_IsOK(res1
)) {
14443 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VScrolledWindow_GetLinesHeight" "', expected argument " "1"" of type '" "wxPyVScrolledWindow const *""'");
14445 arg1
= reinterpret_cast< wxPyVScrolledWindow
* >(argp1
);
14446 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
14447 if (!SWIG_IsOK(ecode2
)) {
14448 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "VScrolledWindow_GetLinesHeight" "', expected argument " "2"" of type '" "size_t""'");
14450 arg2
= static_cast< size_t >(val2
);
14451 ecode3
= SWIG_AsVal_size_t(obj2
, &val3
);
14452 if (!SWIG_IsOK(ecode3
)) {
14453 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "VScrolledWindow_GetLinesHeight" "', expected argument " "3"" of type '" "size_t""'");
14455 arg3
= static_cast< size_t >(val3
);
14457 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14458 result
= (int)((wxPyVScrolledWindow
const *)arg1
)->GetLinesHeight(arg2
,arg3
);
14459 wxPyEndAllowThreads(__tstate
);
14460 if (PyErr_Occurred()) SWIG_fail
;
14462 resultobj
= SWIG_From_int(static_cast< int >(result
));
14469 SWIGINTERN PyObject
*VScrolledWindow_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14471 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
14472 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyVScrolledWindow
, SWIG_NewClientData(obj
));
14473 return SWIG_Py_Void();
14476 SWIGINTERN PyObject
*VScrolledWindow_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14477 return SWIG_Python_InitShadowInstance(args
);
14480 SWIGINTERN
int VListBoxNameStr_set(PyObject
*) {
14481 SWIG_Error(SWIG_AttributeError
,"Variable VListBoxNameStr is read-only.");
14486 SWIGINTERN PyObject
*VListBoxNameStr_get(void) {
14487 PyObject
*pyobj
= 0;
14491 pyobj
= PyUnicode_FromWideChar((&wxPyVListBoxNameStr
)->c_str(), (&wxPyVListBoxNameStr
)->Len());
14493 pyobj
= PyString_FromStringAndSize((&wxPyVListBoxNameStr
)->c_str(), (&wxPyVListBoxNameStr
)->Len());
14500 SWIGINTERN PyObject
*_wrap_new_VListBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14501 PyObject
*resultobj
= 0;
14502 wxWindow
*arg1
= (wxWindow
*) 0 ;
14503 int arg2
= (int) wxID_ANY
;
14504 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
14505 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
14506 wxSize
const &arg4_defvalue
= wxDefaultSize
;
14507 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
14508 long arg5
= (long) 0 ;
14509 wxString
const &arg6_defvalue
= wxPyVListBoxNameStr
;
14510 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
14511 wxPyVListBox
*result
= 0 ;
14520 bool temp6
= false ;
14521 PyObject
* obj0
= 0 ;
14522 PyObject
* obj1
= 0 ;
14523 PyObject
* obj2
= 0 ;
14524 PyObject
* obj3
= 0 ;
14525 PyObject
* obj4
= 0 ;
14526 PyObject
* obj5
= 0 ;
14527 char * kwnames
[] = {
14528 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
14531 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_VListBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
14532 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
14533 if (!SWIG_IsOK(res1
)) {
14534 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_VListBox" "', expected argument " "1"" of type '" "wxWindow *""'");
14536 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
14538 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
14539 if (!SWIG_IsOK(ecode2
)) {
14540 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_VListBox" "', expected argument " "2"" of type '" "int""'");
14542 arg2
= static_cast< int >(val2
);
14547 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
14553 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
14557 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
14558 if (!SWIG_IsOK(ecode5
)) {
14559 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_VListBox" "', expected argument " "5"" of type '" "long""'");
14561 arg5
= static_cast< long >(val5
);
14565 arg6
= wxString_in_helper(obj5
);
14566 if (arg6
== NULL
) SWIG_fail
;
14571 if (!wxPyCheckForApp()) SWIG_fail
;
14572 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14573 result
= (wxPyVListBox
*)new wxPyVListBox(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
14574 wxPyEndAllowThreads(__tstate
);
14575 if (PyErr_Occurred()) SWIG_fail
;
14577 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyVListBox
, SWIG_POINTER_NEW
| 0 );
14592 SWIGINTERN PyObject
*_wrap_new_PreVListBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14593 PyObject
*resultobj
= 0;
14594 wxPyVListBox
*result
= 0 ;
14596 if (!SWIG_Python_UnpackTuple(args
,"new_PreVListBox",0,0,0)) SWIG_fail
;
14598 if (!wxPyCheckForApp()) SWIG_fail
;
14599 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14600 result
= (wxPyVListBox
*)new wxPyVListBox();
14601 wxPyEndAllowThreads(__tstate
);
14602 if (PyErr_Occurred()) SWIG_fail
;
14604 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyVListBox
, SWIG_POINTER_OWN
| 0 );
14611 SWIGINTERN PyObject
*_wrap_VListBox__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14612 PyObject
*resultobj
= 0;
14613 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
14614 PyObject
*arg2
= (PyObject
*) 0 ;
14615 PyObject
*arg3
= (PyObject
*) 0 ;
14618 PyObject
* obj0
= 0 ;
14619 PyObject
* obj1
= 0 ;
14620 PyObject
* obj2
= 0 ;
14621 char * kwnames
[] = {
14622 (char *) "self",(char *) "self",(char *) "_class", NULL
14625 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:VListBox__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
14626 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
14627 if (!SWIG_IsOK(res1
)) {
14628 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
14630 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
14634 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14635 (arg1
)->_setCallbackInfo(arg2
,arg3
);
14636 wxPyEndAllowThreads(__tstate
);
14637 if (PyErr_Occurred()) SWIG_fail
;
14639 resultobj
= SWIG_Py_Void();
14646 SWIGINTERN PyObject
*_wrap_VListBox_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14647 PyObject
*resultobj
= 0;
14648 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
14649 wxWindow
*arg2
= (wxWindow
*) 0 ;
14650 int arg3
= (int) wxID_ANY
;
14651 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
14652 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
14653 wxSize
const &arg5_defvalue
= wxDefaultSize
;
14654 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
14655 long arg6
= (long) 0 ;
14656 wxString
const &arg7_defvalue
= wxPyVListBoxNameStr
;
14657 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
14669 bool temp7
= false ;
14670 PyObject
* obj0
= 0 ;
14671 PyObject
* obj1
= 0 ;
14672 PyObject
* obj2
= 0 ;
14673 PyObject
* obj3
= 0 ;
14674 PyObject
* obj4
= 0 ;
14675 PyObject
* obj5
= 0 ;
14676 PyObject
* obj6
= 0 ;
14677 char * kwnames
[] = {
14678 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
14681 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:VListBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
14682 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
14683 if (!SWIG_IsOK(res1
)) {
14684 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_Create" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
14686 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
14687 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
14688 if (!SWIG_IsOK(res2
)) {
14689 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "VListBox_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
14691 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
14693 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
14694 if (!SWIG_IsOK(ecode3
)) {
14695 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "VListBox_Create" "', expected argument " "3"" of type '" "int""'");
14697 arg3
= static_cast< int >(val3
);
14702 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
14708 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
14712 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
14713 if (!SWIG_IsOK(ecode6
)) {
14714 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "VListBox_Create" "', expected argument " "6"" of type '" "long""'");
14716 arg6
= static_cast< long >(val6
);
14720 arg7
= wxString_in_helper(obj6
);
14721 if (arg7
== NULL
) SWIG_fail
;
14726 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14727 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
14728 wxPyEndAllowThreads(__tstate
);
14729 if (PyErr_Occurred()) SWIG_fail
;
14732 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14748 SWIGINTERN PyObject
*_wrap_VListBox_GetItemCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14749 PyObject
*resultobj
= 0;
14750 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
14754 PyObject
*swig_obj
[1] ;
14756 if (!args
) SWIG_fail
;
14757 swig_obj
[0] = args
;
14758 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
14759 if (!SWIG_IsOK(res1
)) {
14760 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_GetItemCount" "', expected argument " "1"" of type '" "wxPyVListBox const *""'");
14762 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
14764 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14765 result
= (size_t)((wxPyVListBox
const *)arg1
)->GetItemCount();
14766 wxPyEndAllowThreads(__tstate
);
14767 if (PyErr_Occurred()) SWIG_fail
;
14769 resultobj
= SWIG_From_size_t(static_cast< size_t >(result
));
14776 SWIGINTERN PyObject
*_wrap_VListBox_HasMultipleSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14777 PyObject
*resultobj
= 0;
14778 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
14782 PyObject
*swig_obj
[1] ;
14784 if (!args
) SWIG_fail
;
14785 swig_obj
[0] = args
;
14786 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
14787 if (!SWIG_IsOK(res1
)) {
14788 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_HasMultipleSelection" "', expected argument " "1"" of type '" "wxPyVListBox const *""'");
14790 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
14792 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14793 result
= (bool)((wxPyVListBox
const *)arg1
)->HasMultipleSelection();
14794 wxPyEndAllowThreads(__tstate
);
14795 if (PyErr_Occurred()) SWIG_fail
;
14798 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14806 SWIGINTERN PyObject
*_wrap_VListBox_GetSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14807 PyObject
*resultobj
= 0;
14808 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
14812 PyObject
*swig_obj
[1] ;
14814 if (!args
) SWIG_fail
;
14815 swig_obj
[0] = args
;
14816 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
14817 if (!SWIG_IsOK(res1
)) {
14818 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_GetSelection" "', expected argument " "1"" of type '" "wxPyVListBox const *""'");
14820 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
14822 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14823 result
= (int)((wxPyVListBox
const *)arg1
)->GetSelection();
14824 wxPyEndAllowThreads(__tstate
);
14825 if (PyErr_Occurred()) SWIG_fail
;
14827 resultobj
= SWIG_From_int(static_cast< int >(result
));
14834 SWIGINTERN PyObject
*_wrap_VListBox_IsCurrent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14835 PyObject
*resultobj
= 0;
14836 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
14843 PyObject
* obj0
= 0 ;
14844 PyObject
* obj1
= 0 ;
14845 char * kwnames
[] = {
14846 (char *) "self",(char *) "item", NULL
14849 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_IsCurrent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14850 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
14851 if (!SWIG_IsOK(res1
)) {
14852 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_IsCurrent" "', expected argument " "1"" of type '" "wxPyVListBox const *""'");
14854 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
14855 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
14856 if (!SWIG_IsOK(ecode2
)) {
14857 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "VListBox_IsCurrent" "', expected argument " "2"" of type '" "size_t""'");
14859 arg2
= static_cast< size_t >(val2
);
14861 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14862 result
= (bool)((wxPyVListBox
const *)arg1
)->IsCurrent(arg2
);
14863 wxPyEndAllowThreads(__tstate
);
14864 if (PyErr_Occurred()) SWIG_fail
;
14867 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14875 SWIGINTERN PyObject
*_wrap_VListBox_IsSelected(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14876 PyObject
*resultobj
= 0;
14877 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
14884 PyObject
* obj0
= 0 ;
14885 PyObject
* obj1
= 0 ;
14886 char * kwnames
[] = {
14887 (char *) "self",(char *) "item", NULL
14890 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_IsSelected",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14891 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
14892 if (!SWIG_IsOK(res1
)) {
14893 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_IsSelected" "', expected argument " "1"" of type '" "wxPyVListBox const *""'");
14895 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
14896 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
14897 if (!SWIG_IsOK(ecode2
)) {
14898 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "VListBox_IsSelected" "', expected argument " "2"" of type '" "size_t""'");
14900 arg2
= static_cast< size_t >(val2
);
14902 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14903 result
= (bool)((wxPyVListBox
const *)arg1
)->IsSelected(arg2
);
14904 wxPyEndAllowThreads(__tstate
);
14905 if (PyErr_Occurred()) SWIG_fail
;
14908 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14916 SWIGINTERN PyObject
*_wrap_VListBox_GetSelectedCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14917 PyObject
*resultobj
= 0;
14918 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
14922 PyObject
*swig_obj
[1] ;
14924 if (!args
) SWIG_fail
;
14925 swig_obj
[0] = args
;
14926 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
14927 if (!SWIG_IsOK(res1
)) {
14928 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_GetSelectedCount" "', expected argument " "1"" of type '" "wxPyVListBox const *""'");
14930 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
14932 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14933 result
= (size_t)((wxPyVListBox
const *)arg1
)->GetSelectedCount();
14934 wxPyEndAllowThreads(__tstate
);
14935 if (PyErr_Occurred()) SWIG_fail
;
14937 resultobj
= SWIG_From_size_t(static_cast< size_t >(result
));
14944 SWIGINTERN PyObject
*_wrap_VListBox_GetFirstSelected(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14945 PyObject
*resultobj
= 0;
14946 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
14947 PyObject
*result
= 0 ;
14950 PyObject
*swig_obj
[1] ;
14952 if (!args
) SWIG_fail
;
14953 swig_obj
[0] = args
;
14954 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
14955 if (!SWIG_IsOK(res1
)) {
14956 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_GetFirstSelected" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
14958 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
14960 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14961 result
= (PyObject
*)wxPyVListBox_GetFirstSelected(arg1
);
14962 wxPyEndAllowThreads(__tstate
);
14963 if (PyErr_Occurred()) SWIG_fail
;
14965 resultobj
= result
;
14972 SWIGINTERN PyObject
*_wrap_VListBox_GetNextSelected(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14973 PyObject
*resultobj
= 0;
14974 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
14975 unsigned long arg2
;
14976 PyObject
*result
= 0 ;
14979 unsigned long val2
;
14981 PyObject
* obj0
= 0 ;
14982 PyObject
* obj1
= 0 ;
14983 char * kwnames
[] = {
14984 (char *) "self",(char *) "cookie", NULL
14987 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_GetNextSelected",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14988 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
14989 if (!SWIG_IsOK(res1
)) {
14990 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_GetNextSelected" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
14992 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
14993 ecode2
= SWIG_AsVal_unsigned_SS_long(obj1
, &val2
);
14994 if (!SWIG_IsOK(ecode2
)) {
14995 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "VListBox_GetNextSelected" "', expected argument " "2"" of type '" "unsigned long""'");
14997 arg2
= static_cast< unsigned long >(val2
);
14999 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15000 result
= (PyObject
*)wxPyVListBox_GetNextSelected(arg1
,arg2
);
15001 wxPyEndAllowThreads(__tstate
);
15002 if (PyErr_Occurred()) SWIG_fail
;
15004 resultobj
= result
;
15011 SWIGINTERN PyObject
*_wrap_VListBox_GetMargins(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15012 PyObject
*resultobj
= 0;
15013 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
15017 PyObject
*swig_obj
[1] ;
15019 if (!args
) SWIG_fail
;
15020 swig_obj
[0] = args
;
15021 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
15022 if (!SWIG_IsOK(res1
)) {
15023 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_GetMargins" "', expected argument " "1"" of type '" "wxPyVListBox const *""'");
15025 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
15027 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15028 result
= ((wxPyVListBox
const *)arg1
)->GetMargins();
15029 wxPyEndAllowThreads(__tstate
);
15030 if (PyErr_Occurred()) SWIG_fail
;
15032 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
15039 SWIGINTERN PyObject
*_wrap_VListBox_GetSelectionBackground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15040 PyObject
*resultobj
= 0;
15041 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
15042 wxColour
*result
= 0 ;
15045 PyObject
*swig_obj
[1] ;
15047 if (!args
) SWIG_fail
;
15048 swig_obj
[0] = args
;
15049 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
15050 if (!SWIG_IsOK(res1
)) {
15051 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_GetSelectionBackground" "', expected argument " "1"" of type '" "wxPyVListBox const *""'");
15053 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
15055 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15057 wxColour
const &_result_ref
= ((wxPyVListBox
const *)arg1
)->GetSelectionBackground();
15058 result
= (wxColour
*) &_result_ref
;
15060 wxPyEndAllowThreads(__tstate
);
15061 if (PyErr_Occurred()) SWIG_fail
;
15063 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColour
, 0 | 0 );
15070 SWIGINTERN PyObject
*_wrap_VListBox_SetItemCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15071 PyObject
*resultobj
= 0;
15072 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
15078 PyObject
* obj0
= 0 ;
15079 PyObject
* obj1
= 0 ;
15080 char * kwnames
[] = {
15081 (char *) "self",(char *) "count", NULL
15084 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_SetItemCount",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15085 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
15086 if (!SWIG_IsOK(res1
)) {
15087 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_SetItemCount" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
15089 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
15090 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
15091 if (!SWIG_IsOK(ecode2
)) {
15092 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "VListBox_SetItemCount" "', expected argument " "2"" of type '" "size_t""'");
15094 arg2
= static_cast< size_t >(val2
);
15096 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15097 (arg1
)->SetItemCount(arg2
);
15098 wxPyEndAllowThreads(__tstate
);
15099 if (PyErr_Occurred()) SWIG_fail
;
15101 resultobj
= SWIG_Py_Void();
15108 SWIGINTERN PyObject
*_wrap_VListBox_Clear(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15109 PyObject
*resultobj
= 0;
15110 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
15113 PyObject
*swig_obj
[1] ;
15115 if (!args
) SWIG_fail
;
15116 swig_obj
[0] = args
;
15117 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
15118 if (!SWIG_IsOK(res1
)) {
15119 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_Clear" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
15121 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
15123 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15125 wxPyEndAllowThreads(__tstate
);
15126 if (PyErr_Occurred()) SWIG_fail
;
15128 resultobj
= SWIG_Py_Void();
15135 SWIGINTERN PyObject
*_wrap_VListBox_SetSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15136 PyObject
*resultobj
= 0;
15137 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
15143 PyObject
* obj0
= 0 ;
15144 PyObject
* obj1
= 0 ;
15145 char * kwnames
[] = {
15146 (char *) "self",(char *) "selection", NULL
15149 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_SetSelection",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15150 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
15151 if (!SWIG_IsOK(res1
)) {
15152 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_SetSelection" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
15154 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
15155 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15156 if (!SWIG_IsOK(ecode2
)) {
15157 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "VListBox_SetSelection" "', expected argument " "2"" of type '" "int""'");
15159 arg2
= static_cast< int >(val2
);
15161 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15162 (arg1
)->SetSelection(arg2
);
15163 wxPyEndAllowThreads(__tstate
);
15164 if (PyErr_Occurred()) SWIG_fail
;
15166 resultobj
= SWIG_Py_Void();
15173 SWIGINTERN PyObject
*_wrap_VListBox_Select(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15174 PyObject
*resultobj
= 0;
15175 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
15177 bool arg3
= (bool) true ;
15185 PyObject
* obj0
= 0 ;
15186 PyObject
* obj1
= 0 ;
15187 PyObject
* obj2
= 0 ;
15188 char * kwnames
[] = {
15189 (char *) "self",(char *) "item",(char *) "select", NULL
15192 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:VListBox_Select",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
15193 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
15194 if (!SWIG_IsOK(res1
)) {
15195 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_Select" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
15197 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
15198 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
15199 if (!SWIG_IsOK(ecode2
)) {
15200 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "VListBox_Select" "', expected argument " "2"" of type '" "size_t""'");
15202 arg2
= static_cast< size_t >(val2
);
15204 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
15205 if (!SWIG_IsOK(ecode3
)) {
15206 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "VListBox_Select" "', expected argument " "3"" of type '" "bool""'");
15208 arg3
= static_cast< bool >(val3
);
15211 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15212 result
= (bool)(arg1
)->Select(arg2
,arg3
);
15213 wxPyEndAllowThreads(__tstate
);
15214 if (PyErr_Occurred()) SWIG_fail
;
15217 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15225 SWIGINTERN PyObject
*_wrap_VListBox_SelectRange(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15226 PyObject
*resultobj
= 0;
15227 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
15237 PyObject
* obj0
= 0 ;
15238 PyObject
* obj1
= 0 ;
15239 PyObject
* obj2
= 0 ;
15240 char * kwnames
[] = {
15241 (char *) "self",(char *) "from",(char *) "to", NULL
15244 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:VListBox_SelectRange",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
15245 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
15246 if (!SWIG_IsOK(res1
)) {
15247 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_SelectRange" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
15249 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
15250 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
15251 if (!SWIG_IsOK(ecode2
)) {
15252 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "VListBox_SelectRange" "', expected argument " "2"" of type '" "size_t""'");
15254 arg2
= static_cast< size_t >(val2
);
15255 ecode3
= SWIG_AsVal_size_t(obj2
, &val3
);
15256 if (!SWIG_IsOK(ecode3
)) {
15257 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "VListBox_SelectRange" "', expected argument " "3"" of type '" "size_t""'");
15259 arg3
= static_cast< size_t >(val3
);
15261 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15262 result
= (bool)(arg1
)->SelectRange(arg2
,arg3
);
15263 wxPyEndAllowThreads(__tstate
);
15264 if (PyErr_Occurred()) SWIG_fail
;
15267 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15275 SWIGINTERN PyObject
*_wrap_VListBox_Toggle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15276 PyObject
*resultobj
= 0;
15277 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
15283 PyObject
* obj0
= 0 ;
15284 PyObject
* obj1
= 0 ;
15285 char * kwnames
[] = {
15286 (char *) "self",(char *) "item", NULL
15289 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_Toggle",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15290 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
15291 if (!SWIG_IsOK(res1
)) {
15292 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_Toggle" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
15294 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
15295 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
15296 if (!SWIG_IsOK(ecode2
)) {
15297 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "VListBox_Toggle" "', expected argument " "2"" of type '" "size_t""'");
15299 arg2
= static_cast< size_t >(val2
);
15301 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15302 (arg1
)->Toggle(arg2
);
15303 wxPyEndAllowThreads(__tstate
);
15304 if (PyErr_Occurred()) SWIG_fail
;
15306 resultobj
= SWIG_Py_Void();
15313 SWIGINTERN PyObject
*_wrap_VListBox_SelectAll(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15314 PyObject
*resultobj
= 0;
15315 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
15319 PyObject
*swig_obj
[1] ;
15321 if (!args
) SWIG_fail
;
15322 swig_obj
[0] = args
;
15323 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
15324 if (!SWIG_IsOK(res1
)) {
15325 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_SelectAll" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
15327 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
15329 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15330 result
= (bool)(arg1
)->SelectAll();
15331 wxPyEndAllowThreads(__tstate
);
15332 if (PyErr_Occurred()) SWIG_fail
;
15335 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15343 SWIGINTERN PyObject
*_wrap_VListBox_DeselectAll(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15344 PyObject
*resultobj
= 0;
15345 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
15349 PyObject
*swig_obj
[1] ;
15351 if (!args
) SWIG_fail
;
15352 swig_obj
[0] = args
;
15353 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
15354 if (!SWIG_IsOK(res1
)) {
15355 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_DeselectAll" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
15357 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
15359 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15360 result
= (bool)(arg1
)->DeselectAll();
15361 wxPyEndAllowThreads(__tstate
);
15362 if (PyErr_Occurred()) SWIG_fail
;
15365 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15373 SWIGINTERN PyObject
*_wrap_VListBox_SetMargins(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15374 PyObject
*resultobj
= 0;
15375 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
15376 wxPoint
*arg2
= 0 ;
15380 PyObject
* obj0
= 0 ;
15381 PyObject
* obj1
= 0 ;
15382 char * kwnames
[] = {
15383 (char *) "self",(char *) "pt", NULL
15386 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_SetMargins",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15387 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
15388 if (!SWIG_IsOK(res1
)) {
15389 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_SetMargins" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
15391 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
15394 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
15397 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15398 (arg1
)->SetMargins((wxPoint
const &)*arg2
);
15399 wxPyEndAllowThreads(__tstate
);
15400 if (PyErr_Occurred()) SWIG_fail
;
15402 resultobj
= SWIG_Py_Void();
15409 SWIGINTERN PyObject
*_wrap_VListBox_SetMarginsXY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15410 PyObject
*resultobj
= 0;
15411 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
15420 PyObject
* obj0
= 0 ;
15421 PyObject
* obj1
= 0 ;
15422 PyObject
* obj2
= 0 ;
15423 char * kwnames
[] = {
15424 (char *) "self",(char *) "x",(char *) "y", NULL
15427 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:VListBox_SetMarginsXY",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
15428 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
15429 if (!SWIG_IsOK(res1
)) {
15430 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_SetMarginsXY" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
15432 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
15433 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15434 if (!SWIG_IsOK(ecode2
)) {
15435 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "VListBox_SetMarginsXY" "', expected argument " "2"" of type '" "int""'");
15437 arg2
= static_cast< int >(val2
);
15438 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
15439 if (!SWIG_IsOK(ecode3
)) {
15440 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "VListBox_SetMarginsXY" "', expected argument " "3"" of type '" "int""'");
15442 arg3
= static_cast< int >(val3
);
15444 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15445 (arg1
)->SetMargins(arg2
,arg3
);
15446 wxPyEndAllowThreads(__tstate
);
15447 if (PyErr_Occurred()) SWIG_fail
;
15449 resultobj
= SWIG_Py_Void();
15456 SWIGINTERN PyObject
*_wrap_VListBox_SetSelectionBackground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15457 PyObject
*resultobj
= 0;
15458 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
15459 wxColour
*arg2
= 0 ;
15463 PyObject
* obj0
= 0 ;
15464 PyObject
* obj1
= 0 ;
15465 char * kwnames
[] = {
15466 (char *) "self",(char *) "col", NULL
15469 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_SetSelectionBackground",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15470 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
15471 if (!SWIG_IsOK(res1
)) {
15472 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_SetSelectionBackground" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
15474 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
15477 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
15480 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15481 (arg1
)->SetSelectionBackground((wxColour
const &)*arg2
);
15482 wxPyEndAllowThreads(__tstate
);
15483 if (PyErr_Occurred()) SWIG_fail
;
15485 resultobj
= SWIG_Py_Void();
15492 SWIGINTERN PyObject
*_wrap_VListBox_OnDrawSeparator(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15493 PyObject
*resultobj
= 0;
15494 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
15505 PyObject
* obj0
= 0 ;
15506 PyObject
* obj1
= 0 ;
15507 PyObject
* obj2
= 0 ;
15508 PyObject
* obj3
= 0 ;
15509 char * kwnames
[] = {
15510 (char *) "self",(char *) "dc",(char *) "rect",(char *) "n", NULL
15513 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:VListBox_OnDrawSeparator",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
15514 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
15515 if (!SWIG_IsOK(res1
)) {
15516 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_OnDrawSeparator" "', expected argument " "1"" of type '" "wxPyVListBox const *""'");
15518 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
15519 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDC
, 0 );
15520 if (!SWIG_IsOK(res2
)) {
15521 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "VListBox_OnDrawSeparator" "', expected argument " "2"" of type '" "wxDC &""'");
15524 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "VListBox_OnDrawSeparator" "', expected argument " "2"" of type '" "wxDC &""'");
15526 arg2
= reinterpret_cast< wxDC
* >(argp2
);
15529 if ( ! wxRect_helper(obj2
, &arg3
)) SWIG_fail
;
15531 ecode4
= SWIG_AsVal_size_t(obj3
, &val4
);
15532 if (!SWIG_IsOK(ecode4
)) {
15533 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "VListBox_OnDrawSeparator" "', expected argument " "4"" of type '" "size_t""'");
15535 arg4
= static_cast< size_t >(val4
);
15537 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15538 ((wxPyVListBox
const *)arg1
)->OnDrawSeparator(*arg2
,*arg3
,arg4
);
15539 wxPyEndAllowThreads(__tstate
);
15540 if (PyErr_Occurred()) SWIG_fail
;
15542 resultobj
= SWIG_Py_Void();
15549 SWIGINTERN PyObject
*_wrap_VListBox_OnDrawBackground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15550 PyObject
*resultobj
= 0;
15551 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
15562 PyObject
* obj0
= 0 ;
15563 PyObject
* obj1
= 0 ;
15564 PyObject
* obj2
= 0 ;
15565 PyObject
* obj3
= 0 ;
15566 char * kwnames
[] = {
15567 (char *) "self",(char *) "dc",(char *) "rect",(char *) "n", NULL
15570 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:VListBox_OnDrawBackground",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
15571 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
15572 if (!SWIG_IsOK(res1
)) {
15573 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_OnDrawBackground" "', expected argument " "1"" of type '" "wxPyVListBox const *""'");
15575 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
15576 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDC
, 0 );
15577 if (!SWIG_IsOK(res2
)) {
15578 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "VListBox_OnDrawBackground" "', expected argument " "2"" of type '" "wxDC &""'");
15581 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "VListBox_OnDrawBackground" "', expected argument " "2"" of type '" "wxDC &""'");
15583 arg2
= reinterpret_cast< wxDC
* >(argp2
);
15586 if ( ! wxRect_helper(obj2
, &arg3
)) SWIG_fail
;
15588 ecode4
= SWIG_AsVal_size_t(obj3
, &val4
);
15589 if (!SWIG_IsOK(ecode4
)) {
15590 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "VListBox_OnDrawBackground" "', expected argument " "4"" of type '" "size_t""'");
15592 arg4
= static_cast< size_t >(val4
);
15594 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15595 ((wxPyVListBox
const *)arg1
)->OnDrawBackground(*arg2
,(wxRect
const &)*arg3
,arg4
);
15596 wxPyEndAllowThreads(__tstate
);
15597 if (PyErr_Occurred()) SWIG_fail
;
15599 resultobj
= SWIG_Py_Void();
15606 SWIGINTERN PyObject
*VListBox_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15608 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
15609 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyVListBox
, SWIG_NewClientData(obj
));
15610 return SWIG_Py_Void();
15613 SWIGINTERN PyObject
*VListBox_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15614 return SWIG_Python_InitShadowInstance(args
);
15617 SWIGINTERN PyObject
*_wrap_new_HtmlListBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15618 PyObject
*resultobj
= 0;
15619 wxWindow
*arg1
= (wxWindow
*) 0 ;
15620 int arg2
= (int) wxID_ANY
;
15621 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
15622 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
15623 wxSize
const &arg4_defvalue
= wxDefaultSize
;
15624 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
15625 long arg5
= (long) 0 ;
15626 wxString
const &arg6_defvalue
= wxPyVListBoxNameStr
;
15627 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
15628 wxPyHtmlListBox
*result
= 0 ;
15637 bool temp6
= false ;
15638 PyObject
* obj0
= 0 ;
15639 PyObject
* obj1
= 0 ;
15640 PyObject
* obj2
= 0 ;
15641 PyObject
* obj3
= 0 ;
15642 PyObject
* obj4
= 0 ;
15643 PyObject
* obj5
= 0 ;
15644 char * kwnames
[] = {
15645 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
15648 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_HtmlListBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
15649 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
15650 if (!SWIG_IsOK(res1
)) {
15651 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_HtmlListBox" "', expected argument " "1"" of type '" "wxWindow *""'");
15653 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
15655 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15656 if (!SWIG_IsOK(ecode2
)) {
15657 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_HtmlListBox" "', expected argument " "2"" of type '" "int""'");
15659 arg2
= static_cast< int >(val2
);
15664 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
15670 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
15674 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
15675 if (!SWIG_IsOK(ecode5
)) {
15676 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_HtmlListBox" "', expected argument " "5"" of type '" "long""'");
15678 arg5
= static_cast< long >(val5
);
15682 arg6
= wxString_in_helper(obj5
);
15683 if (arg6
== NULL
) SWIG_fail
;
15688 if (!wxPyCheckForApp()) SWIG_fail
;
15689 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15690 result
= (wxPyHtmlListBox
*)new wxPyHtmlListBox(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
15691 wxPyEndAllowThreads(__tstate
);
15692 if (PyErr_Occurred()) SWIG_fail
;
15694 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyHtmlListBox
, SWIG_POINTER_NEW
| 0 );
15709 SWIGINTERN PyObject
*_wrap_new_PreHtmlListBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15710 PyObject
*resultobj
= 0;
15711 wxPyHtmlListBox
*result
= 0 ;
15713 if (!SWIG_Python_UnpackTuple(args
,"new_PreHtmlListBox",0,0,0)) SWIG_fail
;
15715 if (!wxPyCheckForApp()) SWIG_fail
;
15716 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15717 result
= (wxPyHtmlListBox
*)new wxPyHtmlListBox();
15718 wxPyEndAllowThreads(__tstate
);
15719 if (PyErr_Occurred()) SWIG_fail
;
15721 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyHtmlListBox
, SWIG_POINTER_OWN
| 0 );
15728 SWIGINTERN PyObject
*_wrap_HtmlListBox__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15729 PyObject
*resultobj
= 0;
15730 wxPyHtmlListBox
*arg1
= (wxPyHtmlListBox
*) 0 ;
15731 PyObject
*arg2
= (PyObject
*) 0 ;
15732 PyObject
*arg3
= (PyObject
*) 0 ;
15735 PyObject
* obj0
= 0 ;
15736 PyObject
* obj1
= 0 ;
15737 PyObject
* obj2
= 0 ;
15738 char * kwnames
[] = {
15739 (char *) "self",(char *) "self",(char *) "_class", NULL
15742 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:HtmlListBox__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
15743 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyHtmlListBox
, 0 | 0 );
15744 if (!SWIG_IsOK(res1
)) {
15745 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlListBox__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyHtmlListBox *""'");
15747 arg1
= reinterpret_cast< wxPyHtmlListBox
* >(argp1
);
15751 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15752 (arg1
)->_setCallbackInfo(arg2
,arg3
);
15753 wxPyEndAllowThreads(__tstate
);
15754 if (PyErr_Occurred()) SWIG_fail
;
15756 resultobj
= SWIG_Py_Void();
15763 SWIGINTERN PyObject
*_wrap_HtmlListBox_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15764 PyObject
*resultobj
= 0;
15765 wxPyHtmlListBox
*arg1
= (wxPyHtmlListBox
*) 0 ;
15766 wxWindow
*arg2
= (wxWindow
*) 0 ;
15767 int arg3
= (int) wxID_ANY
;
15768 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
15769 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
15770 wxSize
const &arg5_defvalue
= wxDefaultSize
;
15771 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
15772 long arg6
= (long) 0 ;
15773 wxString
const &arg7_defvalue
= wxPyVListBoxNameStr
;
15774 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
15786 bool temp7
= false ;
15787 PyObject
* obj0
= 0 ;
15788 PyObject
* obj1
= 0 ;
15789 PyObject
* obj2
= 0 ;
15790 PyObject
* obj3
= 0 ;
15791 PyObject
* obj4
= 0 ;
15792 PyObject
* obj5
= 0 ;
15793 PyObject
* obj6
= 0 ;
15794 char * kwnames
[] = {
15795 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
15798 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:HtmlListBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
15799 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyHtmlListBox
, 0 | 0 );
15800 if (!SWIG_IsOK(res1
)) {
15801 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlListBox_Create" "', expected argument " "1"" of type '" "wxPyHtmlListBox *""'");
15803 arg1
= reinterpret_cast< wxPyHtmlListBox
* >(argp1
);
15804 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
15805 if (!SWIG_IsOK(res2
)) {
15806 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "HtmlListBox_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
15808 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
15810 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
15811 if (!SWIG_IsOK(ecode3
)) {
15812 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "HtmlListBox_Create" "', expected argument " "3"" of type '" "int""'");
15814 arg3
= static_cast< int >(val3
);
15819 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
15825 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
15829 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
15830 if (!SWIG_IsOK(ecode6
)) {
15831 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "HtmlListBox_Create" "', expected argument " "6"" of type '" "long""'");
15833 arg6
= static_cast< long >(val6
);
15837 arg7
= wxString_in_helper(obj6
);
15838 if (arg7
== NULL
) SWIG_fail
;
15843 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15844 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
15845 wxPyEndAllowThreads(__tstate
);
15846 if (PyErr_Occurred()) SWIG_fail
;
15849 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15865 SWIGINTERN PyObject
*_wrap_HtmlListBox_SetItemCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15866 PyObject
*resultobj
= 0;
15867 wxPyHtmlListBox
*arg1
= (wxPyHtmlListBox
*) 0 ;
15873 PyObject
* obj0
= 0 ;
15874 PyObject
* obj1
= 0 ;
15875 char * kwnames
[] = {
15876 (char *) "self",(char *) "count", NULL
15879 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlListBox_SetItemCount",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15880 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyHtmlListBox
, 0 | 0 );
15881 if (!SWIG_IsOK(res1
)) {
15882 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlListBox_SetItemCount" "', expected argument " "1"" of type '" "wxPyHtmlListBox *""'");
15884 arg1
= reinterpret_cast< wxPyHtmlListBox
* >(argp1
);
15885 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
15886 if (!SWIG_IsOK(ecode2
)) {
15887 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "HtmlListBox_SetItemCount" "', expected argument " "2"" of type '" "size_t""'");
15889 arg2
= static_cast< size_t >(val2
);
15891 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15892 (arg1
)->SetItemCount(arg2
);
15893 wxPyEndAllowThreads(__tstate
);
15894 if (PyErr_Occurred()) SWIG_fail
;
15896 resultobj
= SWIG_Py_Void();
15903 SWIGINTERN PyObject
*_wrap_HtmlListBox_GetFileSystem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15904 PyObject
*resultobj
= 0;
15905 wxPyHtmlListBox
*arg1
= (wxPyHtmlListBox
*) 0 ;
15906 wxFileSystem
*result
= 0 ;
15909 PyObject
*swig_obj
[1] ;
15911 if (!args
) SWIG_fail
;
15912 swig_obj
[0] = args
;
15913 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyHtmlListBox
, 0 | 0 );
15914 if (!SWIG_IsOK(res1
)) {
15915 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlListBox_GetFileSystem" "', expected argument " "1"" of type '" "wxPyHtmlListBox *""'");
15917 arg1
= reinterpret_cast< wxPyHtmlListBox
* >(argp1
);
15919 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15921 wxFileSystem
&_result_ref
= (arg1
)->GetFileSystem();
15922 result
= (wxFileSystem
*) &_result_ref
;
15924 wxPyEndAllowThreads(__tstate
);
15925 if (PyErr_Occurred()) SWIG_fail
;
15927 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFileSystem
, 0 | 0 );
15934 SWIGINTERN PyObject
*_wrap_HtmlListBox_OnLinkClicked(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15935 PyObject
*resultobj
= 0;
15936 wxPyHtmlListBox
*arg1
= (wxPyHtmlListBox
*) 0 ;
15938 wxHtmlLinkInfo
*arg3
= 0 ;
15945 PyObject
* obj0
= 0 ;
15946 PyObject
* obj1
= 0 ;
15947 PyObject
* obj2
= 0 ;
15948 char * kwnames
[] = {
15949 (char *) "self",(char *) "n",(char *) "link", NULL
15952 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:HtmlListBox_OnLinkClicked",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
15953 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyHtmlListBox
, 0 | 0 );
15954 if (!SWIG_IsOK(res1
)) {
15955 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlListBox_OnLinkClicked" "', expected argument " "1"" of type '" "wxPyHtmlListBox *""'");
15957 arg1
= reinterpret_cast< wxPyHtmlListBox
* >(argp1
);
15958 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
15959 if (!SWIG_IsOK(ecode2
)) {
15960 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "HtmlListBox_OnLinkClicked" "', expected argument " "2"" of type '" "size_t""'");
15962 arg2
= static_cast< size_t >(val2
);
15963 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxHtmlLinkInfo
, 0 | 0);
15964 if (!SWIG_IsOK(res3
)) {
15965 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "HtmlListBox_OnLinkClicked" "', expected argument " "3"" of type '" "wxHtmlLinkInfo const &""'");
15968 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "HtmlListBox_OnLinkClicked" "', expected argument " "3"" of type '" "wxHtmlLinkInfo const &""'");
15970 arg3
= reinterpret_cast< wxHtmlLinkInfo
* >(argp3
);
15972 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15973 (arg1
)->OnLinkClicked(arg2
,(wxHtmlLinkInfo
const &)*arg3
);
15974 wxPyEndAllowThreads(__tstate
);
15975 if (PyErr_Occurred()) SWIG_fail
;
15977 resultobj
= SWIG_Py_Void();
15984 SWIGINTERN PyObject
*HtmlListBox_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15986 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
15987 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyHtmlListBox
, SWIG_NewClientData(obj
));
15988 return SWIG_Py_Void();
15991 SWIGINTERN PyObject
*HtmlListBox_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15992 return SWIG_Python_InitShadowInstance(args
);
15995 SWIGINTERN PyObject
*_wrap_new_TaskBarIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15996 PyObject
*resultobj
= 0;
15997 wxPyTaskBarIcon
*result
= 0 ;
15999 if (!SWIG_Python_UnpackTuple(args
,"new_TaskBarIcon",0,0,0)) SWIG_fail
;
16001 if (!wxPyCheckForApp()) SWIG_fail
;
16002 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16003 result
= (wxPyTaskBarIcon
*)new wxPyTaskBarIcon();
16004 wxPyEndAllowThreads(__tstate
);
16005 if (PyErr_Occurred()) SWIG_fail
;
16007 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyTaskBarIcon
, SWIG_POINTER_NEW
| 0 );
16014 SWIGINTERN PyObject
*_wrap_delete_TaskBarIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16015 PyObject
*resultobj
= 0;
16016 wxPyTaskBarIcon
*arg1
= (wxPyTaskBarIcon
*) 0 ;
16019 PyObject
*swig_obj
[1] ;
16021 if (!args
) SWIG_fail
;
16022 swig_obj
[0] = args
;
16023 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTaskBarIcon
, SWIG_POINTER_DISOWN
| 0 );
16024 if (!SWIG_IsOK(res1
)) {
16025 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_TaskBarIcon" "', expected argument " "1"" of type '" "wxPyTaskBarIcon *""'");
16027 arg1
= reinterpret_cast< wxPyTaskBarIcon
* >(argp1
);
16029 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16032 wxPyEndAllowThreads(__tstate
);
16033 if (PyErr_Occurred()) SWIG_fail
;
16035 resultobj
= SWIG_Py_Void();
16042 SWIGINTERN PyObject
*_wrap_TaskBarIcon__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16043 PyObject
*resultobj
= 0;
16044 wxPyTaskBarIcon
*arg1
= (wxPyTaskBarIcon
*) 0 ;
16045 PyObject
*arg2
= (PyObject
*) 0 ;
16046 PyObject
*arg3
= (PyObject
*) 0 ;
16052 PyObject
* obj0
= 0 ;
16053 PyObject
* obj1
= 0 ;
16054 PyObject
* obj2
= 0 ;
16055 PyObject
* obj3
= 0 ;
16056 char * kwnames
[] = {
16057 (char *) "self",(char *) "self",(char *) "_class",(char *) "incref", NULL
16060 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:TaskBarIcon__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
16061 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTaskBarIcon
, 0 | 0 );
16062 if (!SWIG_IsOK(res1
)) {
16063 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TaskBarIcon__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyTaskBarIcon *""'");
16065 arg1
= reinterpret_cast< wxPyTaskBarIcon
* >(argp1
);
16068 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
16069 if (!SWIG_IsOK(ecode4
)) {
16070 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "TaskBarIcon__setCallbackInfo" "', expected argument " "4"" of type '" "int""'");
16072 arg4
= static_cast< int >(val4
);
16074 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16075 (arg1
)->_setCallbackInfo(arg2
,arg3
,arg4
);
16076 wxPyEndAllowThreads(__tstate
);
16077 if (PyErr_Occurred()) SWIG_fail
;
16079 resultobj
= SWIG_Py_Void();
16086 SWIGINTERN PyObject
*_wrap_TaskBarIcon_Destroy(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16087 PyObject
*resultobj
= 0;
16088 wxPyTaskBarIcon
*arg1
= (wxPyTaskBarIcon
*) 0 ;
16091 PyObject
*swig_obj
[1] ;
16093 if (!args
) SWIG_fail
;
16094 swig_obj
[0] = args
;
16095 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTaskBarIcon
, 0 | 0 );
16096 if (!SWIG_IsOK(res1
)) {
16097 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TaskBarIcon_Destroy" "', expected argument " "1"" of type '" "wxPyTaskBarIcon *""'");
16099 arg1
= reinterpret_cast< wxPyTaskBarIcon
* >(argp1
);
16101 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16102 wxPyTaskBarIcon_Destroy(arg1
);
16103 wxPyEndAllowThreads(__tstate
);
16104 if (PyErr_Occurred()) SWIG_fail
;
16106 resultobj
= SWIG_Py_Void();
16113 SWIGINTERN PyObject
*_wrap_TaskBarIcon_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16114 PyObject
*resultobj
= 0;
16115 wxPyTaskBarIcon
*arg1
= (wxPyTaskBarIcon
*) 0 ;
16119 PyObject
*swig_obj
[1] ;
16121 if (!args
) SWIG_fail
;
16122 swig_obj
[0] = args
;
16123 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTaskBarIcon
, 0 | 0 );
16124 if (!SWIG_IsOK(res1
)) {
16125 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TaskBarIcon_IsOk" "', expected argument " "1"" of type '" "wxPyTaskBarIcon const *""'");
16127 arg1
= reinterpret_cast< wxPyTaskBarIcon
* >(argp1
);
16129 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16130 result
= (bool)((wxPyTaskBarIcon
const *)arg1
)->IsOk();
16131 wxPyEndAllowThreads(__tstate
);
16132 if (PyErr_Occurred()) SWIG_fail
;
16135 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16143 SWIGINTERN PyObject
*_wrap_TaskBarIcon_IsIconInstalled(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16144 PyObject
*resultobj
= 0;
16145 wxPyTaskBarIcon
*arg1
= (wxPyTaskBarIcon
*) 0 ;
16149 PyObject
*swig_obj
[1] ;
16151 if (!args
) SWIG_fail
;
16152 swig_obj
[0] = args
;
16153 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTaskBarIcon
, 0 | 0 );
16154 if (!SWIG_IsOK(res1
)) {
16155 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TaskBarIcon_IsIconInstalled" "', expected argument " "1"" of type '" "wxPyTaskBarIcon const *""'");
16157 arg1
= reinterpret_cast< wxPyTaskBarIcon
* >(argp1
);
16159 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16160 result
= (bool)((wxPyTaskBarIcon
const *)arg1
)->IsIconInstalled();
16161 wxPyEndAllowThreads(__tstate
);
16162 if (PyErr_Occurred()) SWIG_fail
;
16165 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16173 SWIGINTERN PyObject
*_wrap_TaskBarIcon_SetIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16174 PyObject
*resultobj
= 0;
16175 wxPyTaskBarIcon
*arg1
= (wxPyTaskBarIcon
*) 0 ;
16177 wxString
const &arg3_defvalue
= wxPyEmptyString
;
16178 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
16184 bool temp3
= false ;
16185 PyObject
* obj0
= 0 ;
16186 PyObject
* obj1
= 0 ;
16187 PyObject
* obj2
= 0 ;
16188 char * kwnames
[] = {
16189 (char *) "self",(char *) "icon",(char *) "tooltip", NULL
16192 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TaskBarIcon_SetIcon",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
16193 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTaskBarIcon
, 0 | 0 );
16194 if (!SWIG_IsOK(res1
)) {
16195 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TaskBarIcon_SetIcon" "', expected argument " "1"" of type '" "wxPyTaskBarIcon *""'");
16197 arg1
= reinterpret_cast< wxPyTaskBarIcon
* >(argp1
);
16198 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxIcon
, 0 | 0);
16199 if (!SWIG_IsOK(res2
)) {
16200 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TaskBarIcon_SetIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
16203 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TaskBarIcon_SetIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
16205 arg2
= reinterpret_cast< wxIcon
* >(argp2
);
16208 arg3
= wxString_in_helper(obj2
);
16209 if (arg3
== NULL
) SWIG_fail
;
16214 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16215 result
= (bool)(arg1
)->SetIcon((wxIcon
const &)*arg2
,(wxString
const &)*arg3
);
16216 wxPyEndAllowThreads(__tstate
);
16217 if (PyErr_Occurred()) SWIG_fail
;
16220 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16236 SWIGINTERN PyObject
*_wrap_TaskBarIcon_RemoveIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16237 PyObject
*resultobj
= 0;
16238 wxPyTaskBarIcon
*arg1
= (wxPyTaskBarIcon
*) 0 ;
16242 PyObject
*swig_obj
[1] ;
16244 if (!args
) SWIG_fail
;
16245 swig_obj
[0] = args
;
16246 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTaskBarIcon
, 0 | 0 );
16247 if (!SWIG_IsOK(res1
)) {
16248 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TaskBarIcon_RemoveIcon" "', expected argument " "1"" of type '" "wxPyTaskBarIcon *""'");
16250 arg1
= reinterpret_cast< wxPyTaskBarIcon
* >(argp1
);
16252 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16253 result
= (bool)(arg1
)->RemoveIcon();
16254 wxPyEndAllowThreads(__tstate
);
16255 if (PyErr_Occurred()) SWIG_fail
;
16258 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16266 SWIGINTERN PyObject
*_wrap_TaskBarIcon_PopupMenu(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16267 PyObject
*resultobj
= 0;
16268 wxPyTaskBarIcon
*arg1
= (wxPyTaskBarIcon
*) 0 ;
16269 wxMenu
*arg2
= (wxMenu
*) 0 ;
16275 PyObject
* obj0
= 0 ;
16276 PyObject
* obj1
= 0 ;
16277 char * kwnames
[] = {
16278 (char *) "self",(char *) "menu", NULL
16281 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TaskBarIcon_PopupMenu",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16282 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTaskBarIcon
, 0 | 0 );
16283 if (!SWIG_IsOK(res1
)) {
16284 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TaskBarIcon_PopupMenu" "', expected argument " "1"" of type '" "wxPyTaskBarIcon *""'");
16286 arg1
= reinterpret_cast< wxPyTaskBarIcon
* >(argp1
);
16287 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxMenu
, 0 | 0 );
16288 if (!SWIG_IsOK(res2
)) {
16289 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TaskBarIcon_PopupMenu" "', expected argument " "2"" of type '" "wxMenu *""'");
16291 arg2
= reinterpret_cast< wxMenu
* >(argp2
);
16293 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16294 result
= (bool)(arg1
)->PopupMenu(arg2
);
16295 wxPyEndAllowThreads(__tstate
);
16296 if (PyErr_Occurred()) SWIG_fail
;
16299 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16307 SWIGINTERN PyObject
*TaskBarIcon_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16309 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
16310 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyTaskBarIcon
, SWIG_NewClientData(obj
));
16311 return SWIG_Py_Void();
16314 SWIGINTERN PyObject
*TaskBarIcon_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16315 return SWIG_Python_InitShadowInstance(args
);
16318 SWIGINTERN PyObject
*_wrap_new_TaskBarIconEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16319 PyObject
*resultobj
= 0;
16321 wxTaskBarIcon
*arg2
= (wxTaskBarIcon
*) 0 ;
16322 wxTaskBarIconEvent
*result
= 0 ;
16327 PyObject
* obj0
= 0 ;
16328 PyObject
* obj1
= 0 ;
16329 char * kwnames
[] = {
16330 (char *) "evtType",(char *) "tbIcon", NULL
16333 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_TaskBarIconEvent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16334 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
16335 if (!SWIG_IsOK(ecode1
)) {
16336 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_TaskBarIconEvent" "', expected argument " "1"" of type '" "wxEventType""'");
16338 arg1
= static_cast< wxEventType
>(val1
);
16339 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxTaskBarIcon
, 0 | 0 );
16340 if (!SWIG_IsOK(res2
)) {
16341 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_TaskBarIconEvent" "', expected argument " "2"" of type '" "wxTaskBarIcon *""'");
16343 arg2
= reinterpret_cast< wxTaskBarIcon
* >(argp2
);
16345 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16346 result
= (wxTaskBarIconEvent
*)new wxTaskBarIconEvent(arg1
,arg2
);
16347 wxPyEndAllowThreads(__tstate
);
16348 if (PyErr_Occurred()) SWIG_fail
;
16350 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTaskBarIconEvent
, SWIG_POINTER_NEW
| 0 );
16357 SWIGINTERN PyObject
*TaskBarIconEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16359 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
16360 SWIG_TypeNewClientData(SWIGTYPE_p_wxTaskBarIconEvent
, SWIG_NewClientData(obj
));
16361 return SWIG_Py_Void();
16364 SWIGINTERN PyObject
*TaskBarIconEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16365 return SWIG_Python_InitShadowInstance(args
);
16368 SWIGINTERN
int FileSelectorPromptStr_set(PyObject
*) {
16369 SWIG_Error(SWIG_AttributeError
,"Variable FileSelectorPromptStr is read-only.");
16374 SWIGINTERN PyObject
*FileSelectorPromptStr_get(void) {
16375 PyObject
*pyobj
= 0;
16379 pyobj
= PyUnicode_FromWideChar((&wxPyFileSelectorPromptStr
)->c_str(), (&wxPyFileSelectorPromptStr
)->Len());
16381 pyobj
= PyString_FromStringAndSize((&wxPyFileSelectorPromptStr
)->c_str(), (&wxPyFileSelectorPromptStr
)->Len());
16388 SWIGINTERN
int DirSelectorPromptStr_set(PyObject
*) {
16389 SWIG_Error(SWIG_AttributeError
,"Variable DirSelectorPromptStr is read-only.");
16394 SWIGINTERN PyObject
*DirSelectorPromptStr_get(void) {
16395 PyObject
*pyobj
= 0;
16399 pyobj
= PyUnicode_FromWideChar((&wxPyDirSelectorPromptStr
)->c_str(), (&wxPyDirSelectorPromptStr
)->Len());
16401 pyobj
= PyString_FromStringAndSize((&wxPyDirSelectorPromptStr
)->c_str(), (&wxPyDirSelectorPromptStr
)->Len());
16408 SWIGINTERN
int DirDialogNameStr_set(PyObject
*) {
16409 SWIG_Error(SWIG_AttributeError
,"Variable DirDialogNameStr is read-only.");
16414 SWIGINTERN PyObject
*DirDialogNameStr_get(void) {
16415 PyObject
*pyobj
= 0;
16419 pyobj
= PyUnicode_FromWideChar((&wxPyDirDialogNameStr
)->c_str(), (&wxPyDirDialogNameStr
)->Len());
16421 pyobj
= PyString_FromStringAndSize((&wxPyDirDialogNameStr
)->c_str(), (&wxPyDirDialogNameStr
)->Len());
16428 SWIGINTERN
int FileSelectorDefaultWildcardStr_set(PyObject
*) {
16429 SWIG_Error(SWIG_AttributeError
,"Variable FileSelectorDefaultWildcardStr is read-only.");
16434 SWIGINTERN PyObject
*FileSelectorDefaultWildcardStr_get(void) {
16435 PyObject
*pyobj
= 0;
16439 pyobj
= PyUnicode_FromWideChar((&wxPyFileSelectorDefaultWildcardStr
)->c_str(), (&wxPyFileSelectorDefaultWildcardStr
)->Len());
16441 pyobj
= PyString_FromStringAndSize((&wxPyFileSelectorDefaultWildcardStr
)->c_str(), (&wxPyFileSelectorDefaultWildcardStr
)->Len());
16448 SWIGINTERN
int GetTextFromUserPromptStr_set(PyObject
*) {
16449 SWIG_Error(SWIG_AttributeError
,"Variable GetTextFromUserPromptStr is read-only.");
16454 SWIGINTERN PyObject
*GetTextFromUserPromptStr_get(void) {
16455 PyObject
*pyobj
= 0;
16459 pyobj
= PyUnicode_FromWideChar((&wxPyGetTextFromUserPromptStr
)->c_str(), (&wxPyGetTextFromUserPromptStr
)->Len());
16461 pyobj
= PyString_FromStringAndSize((&wxPyGetTextFromUserPromptStr
)->c_str(), (&wxPyGetTextFromUserPromptStr
)->Len());
16468 SWIGINTERN
int MessageBoxCaptionStr_set(PyObject
*) {
16469 SWIG_Error(SWIG_AttributeError
,"Variable MessageBoxCaptionStr is read-only.");
16474 SWIGINTERN PyObject
*MessageBoxCaptionStr_get(void) {
16475 PyObject
*pyobj
= 0;
16479 pyobj
= PyUnicode_FromWideChar((&wxPyMessageBoxCaptionStr
)->c_str(), (&wxPyMessageBoxCaptionStr
)->Len());
16481 pyobj
= PyString_FromStringAndSize((&wxPyMessageBoxCaptionStr
)->c_str(), (&wxPyMessageBoxCaptionStr
)->Len());
16488 SWIGINTERN PyObject
*_wrap_new_ColourData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16489 PyObject
*resultobj
= 0;
16490 wxColourData
*result
= 0 ;
16492 if (!SWIG_Python_UnpackTuple(args
,"new_ColourData",0,0,0)) SWIG_fail
;
16494 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16495 result
= (wxColourData
*)new wxColourData();
16496 wxPyEndAllowThreads(__tstate
);
16497 if (PyErr_Occurred()) SWIG_fail
;
16499 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColourData
, SWIG_POINTER_NEW
| 0 );
16506 SWIGINTERN PyObject
*_wrap_delete_ColourData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16507 PyObject
*resultobj
= 0;
16508 wxColourData
*arg1
= (wxColourData
*) 0 ;
16511 PyObject
*swig_obj
[1] ;
16513 if (!args
) SWIG_fail
;
16514 swig_obj
[0] = args
;
16515 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxColourData
, SWIG_POINTER_DISOWN
| 0 );
16516 if (!SWIG_IsOK(res1
)) {
16517 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_ColourData" "', expected argument " "1"" of type '" "wxColourData *""'");
16519 arg1
= reinterpret_cast< wxColourData
* >(argp1
);
16521 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16524 wxPyEndAllowThreads(__tstate
);
16525 if (PyErr_Occurred()) SWIG_fail
;
16527 resultobj
= SWIG_Py_Void();
16534 SWIGINTERN PyObject
*_wrap_ColourData_GetChooseFull(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16535 PyObject
*resultobj
= 0;
16536 wxColourData
*arg1
= (wxColourData
*) 0 ;
16540 PyObject
*swig_obj
[1] ;
16542 if (!args
) SWIG_fail
;
16543 swig_obj
[0] = args
;
16544 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxColourData
, 0 | 0 );
16545 if (!SWIG_IsOK(res1
)) {
16546 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ColourData_GetChooseFull" "', expected argument " "1"" of type '" "wxColourData *""'");
16548 arg1
= reinterpret_cast< wxColourData
* >(argp1
);
16550 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16551 result
= (bool)(arg1
)->GetChooseFull();
16552 wxPyEndAllowThreads(__tstate
);
16553 if (PyErr_Occurred()) SWIG_fail
;
16556 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16564 SWIGINTERN PyObject
*_wrap_ColourData_GetColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16565 PyObject
*resultobj
= 0;
16566 wxColourData
*arg1
= (wxColourData
*) 0 ;
16570 PyObject
*swig_obj
[1] ;
16572 if (!args
) SWIG_fail
;
16573 swig_obj
[0] = args
;
16574 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxColourData
, 0 | 0 );
16575 if (!SWIG_IsOK(res1
)) {
16576 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ColourData_GetColour" "', expected argument " "1"" of type '" "wxColourData *""'");
16578 arg1
= reinterpret_cast< wxColourData
* >(argp1
);
16580 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16581 result
= (arg1
)->GetColour();
16582 wxPyEndAllowThreads(__tstate
);
16583 if (PyErr_Occurred()) SWIG_fail
;
16585 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
16592 SWIGINTERN PyObject
*_wrap_ColourData_GetCustomColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16593 PyObject
*resultobj
= 0;
16594 wxColourData
*arg1
= (wxColourData
*) 0 ;
16601 PyObject
* obj0
= 0 ;
16602 PyObject
* obj1
= 0 ;
16603 char * kwnames
[] = {
16604 (char *) "self",(char *) "i", NULL
16607 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ColourData_GetCustomColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16608 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColourData
, 0 | 0 );
16609 if (!SWIG_IsOK(res1
)) {
16610 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ColourData_GetCustomColour" "', expected argument " "1"" of type '" "wxColourData *""'");
16612 arg1
= reinterpret_cast< wxColourData
* >(argp1
);
16613 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
16614 if (!SWIG_IsOK(ecode2
)) {
16615 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ColourData_GetCustomColour" "', expected argument " "2"" of type '" "int""'");
16617 arg2
= static_cast< int >(val2
);
16619 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16620 result
= (arg1
)->GetCustomColour(arg2
);
16621 wxPyEndAllowThreads(__tstate
);
16622 if (PyErr_Occurred()) SWIG_fail
;
16624 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
16631 SWIGINTERN PyObject
*_wrap_ColourData_SetChooseFull(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16632 PyObject
*resultobj
= 0;
16633 wxColourData
*arg1
= (wxColourData
*) 0 ;
16639 PyObject
* obj0
= 0 ;
16640 PyObject
* obj1
= 0 ;
16641 char * kwnames
[] = {
16642 (char *) "self",(char *) "flag", NULL
16645 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ColourData_SetChooseFull",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16646 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColourData
, 0 | 0 );
16647 if (!SWIG_IsOK(res1
)) {
16648 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ColourData_SetChooseFull" "', expected argument " "1"" of type '" "wxColourData *""'");
16650 arg1
= reinterpret_cast< wxColourData
* >(argp1
);
16651 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
16652 if (!SWIG_IsOK(ecode2
)) {
16653 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ColourData_SetChooseFull" "', expected argument " "2"" of type '" "int""'");
16655 arg2
= static_cast< int >(val2
);
16657 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16658 (arg1
)->SetChooseFull(arg2
);
16659 wxPyEndAllowThreads(__tstate
);
16660 if (PyErr_Occurred()) SWIG_fail
;
16662 resultobj
= SWIG_Py_Void();
16669 SWIGINTERN PyObject
*_wrap_ColourData_SetColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16670 PyObject
*resultobj
= 0;
16671 wxColourData
*arg1
= (wxColourData
*) 0 ;
16672 wxColour
*arg2
= 0 ;
16676 PyObject
* obj0
= 0 ;
16677 PyObject
* obj1
= 0 ;
16678 char * kwnames
[] = {
16679 (char *) "self",(char *) "colour", NULL
16682 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ColourData_SetColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16683 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColourData
, 0 | 0 );
16684 if (!SWIG_IsOK(res1
)) {
16685 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ColourData_SetColour" "', expected argument " "1"" of type '" "wxColourData *""'");
16687 arg1
= reinterpret_cast< wxColourData
* >(argp1
);
16690 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
16693 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16694 (arg1
)->SetColour((wxColour
const &)*arg2
);
16695 wxPyEndAllowThreads(__tstate
);
16696 if (PyErr_Occurred()) SWIG_fail
;
16698 resultobj
= SWIG_Py_Void();
16705 SWIGINTERN PyObject
*_wrap_ColourData_SetCustomColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16706 PyObject
*resultobj
= 0;
16707 wxColourData
*arg1
= (wxColourData
*) 0 ;
16709 wxColour
*arg3
= 0 ;
16715 PyObject
* obj0
= 0 ;
16716 PyObject
* obj1
= 0 ;
16717 PyObject
* obj2
= 0 ;
16718 char * kwnames
[] = {
16719 (char *) "self",(char *) "i",(char *) "colour", NULL
16722 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ColourData_SetCustomColour",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
16723 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColourData
, 0 | 0 );
16724 if (!SWIG_IsOK(res1
)) {
16725 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ColourData_SetCustomColour" "', expected argument " "1"" of type '" "wxColourData *""'");
16727 arg1
= reinterpret_cast< wxColourData
* >(argp1
);
16728 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
16729 if (!SWIG_IsOK(ecode2
)) {
16730 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ColourData_SetCustomColour" "', expected argument " "2"" of type '" "int""'");
16732 arg2
= static_cast< int >(val2
);
16735 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
16738 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16739 (arg1
)->SetCustomColour(arg2
,(wxColour
const &)*arg3
);
16740 wxPyEndAllowThreads(__tstate
);
16741 if (PyErr_Occurred()) SWIG_fail
;
16743 resultobj
= SWIG_Py_Void();
16750 SWIGINTERN PyObject
*ColourData_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16752 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
16753 SWIG_TypeNewClientData(SWIGTYPE_p_wxColourData
, SWIG_NewClientData(obj
));
16754 return SWIG_Py_Void();
16757 SWIGINTERN PyObject
*ColourData_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16758 return SWIG_Python_InitShadowInstance(args
);
16761 SWIGINTERN PyObject
*_wrap_new_ColourDialog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16762 PyObject
*resultobj
= 0;
16763 wxWindow
*arg1
= (wxWindow
*) 0 ;
16764 wxColourData
*arg2
= (wxColourData
*) NULL
;
16765 wxColourDialog
*result
= 0 ;
16770 PyObject
* obj0
= 0 ;
16771 PyObject
* obj1
= 0 ;
16772 char * kwnames
[] = {
16773 (char *) "parent",(char *) "data", NULL
16776 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_ColourDialog",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16777 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
16778 if (!SWIG_IsOK(res1
)) {
16779 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_ColourDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
16781 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
16783 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxColourData
, 0 | 0 );
16784 if (!SWIG_IsOK(res2
)) {
16785 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_ColourDialog" "', expected argument " "2"" of type '" "wxColourData *""'");
16787 arg2
= reinterpret_cast< wxColourData
* >(argp2
);
16790 if (!wxPyCheckForApp()) SWIG_fail
;
16791 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16792 result
= (wxColourDialog
*)new wxColourDialog(arg1
,arg2
);
16793 wxPyEndAllowThreads(__tstate
);
16794 if (PyErr_Occurred()) SWIG_fail
;
16796 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColourDialog
, SWIG_POINTER_NEW
| 0 );
16803 SWIGINTERN PyObject
*_wrap_ColourDialog_GetColourData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16804 PyObject
*resultobj
= 0;
16805 wxColourDialog
*arg1
= (wxColourDialog
*) 0 ;
16806 wxColourData
*result
= 0 ;
16809 PyObject
*swig_obj
[1] ;
16811 if (!args
) SWIG_fail
;
16812 swig_obj
[0] = args
;
16813 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxColourDialog
, 0 | 0 );
16814 if (!SWIG_IsOK(res1
)) {
16815 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ColourDialog_GetColourData" "', expected argument " "1"" of type '" "wxColourDialog *""'");
16817 arg1
= reinterpret_cast< wxColourDialog
* >(argp1
);
16819 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16821 wxColourData
&_result_ref
= (arg1
)->GetColourData();
16822 result
= (wxColourData
*) &_result_ref
;
16824 wxPyEndAllowThreads(__tstate
);
16825 if (PyErr_Occurred()) SWIG_fail
;
16827 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColourData
, 0 | 0 );
16834 SWIGINTERN PyObject
*ColourDialog_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16836 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
16837 SWIG_TypeNewClientData(SWIGTYPE_p_wxColourDialog
, SWIG_NewClientData(obj
));
16838 return SWIG_Py_Void();
16841 SWIGINTERN PyObject
*ColourDialog_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16842 return SWIG_Python_InitShadowInstance(args
);
16845 SWIGINTERN PyObject
*_wrap_GetColourFromUser(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16846 PyObject
*resultobj
= 0;
16847 wxWindow
*arg1
= (wxWindow
*) (wxWindow
*) NULL
;
16848 wxColour
const &arg2_defvalue
= wxNullColour
;
16849 wxColour
*arg2
= (wxColour
*) &arg2_defvalue
;
16850 wxString
const &arg3_defvalue
= wxPyEmptyString
;
16851 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
16856 bool temp3
= false ;
16857 PyObject
* obj0
= 0 ;
16858 PyObject
* obj1
= 0 ;
16859 PyObject
* obj2
= 0 ;
16860 char * kwnames
[] = {
16861 (char *) "parent",(char *) "colInit",(char *) "caption", NULL
16864 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:GetColourFromUser",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
16866 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
16867 if (!SWIG_IsOK(res1
)) {
16868 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GetColourFromUser" "', expected argument " "1"" of type '" "wxWindow *""'");
16870 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
16875 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
16880 arg3
= wxString_in_helper(obj2
);
16881 if (arg3
== NULL
) SWIG_fail
;
16886 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16887 result
= wxGetColourFromUser(arg1
,(wxColour
const &)*arg2
,(wxString
const &)*arg3
);
16888 wxPyEndAllowThreads(__tstate
);
16889 if (PyErr_Occurred()) SWIG_fail
;
16891 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
16906 SWIGINTERN PyObject
*_wrap_new_DirDialog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16907 PyObject
*resultobj
= 0;
16908 wxWindow
*arg1
= (wxWindow
*) 0 ;
16909 wxString
const &arg2_defvalue
= wxPyDirSelectorPromptStr
;
16910 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
16911 wxString
const &arg3_defvalue
= wxPyEmptyString
;
16912 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
16913 long arg4
= (long) wxDD_DEFAULT_STYLE
;
16914 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
16915 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
16916 wxSize
const &arg6_defvalue
= wxDefaultSize
;
16917 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
16918 wxString
const &arg7_defvalue
= wxPyDirDialogNameStr
;
16919 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
16920 wxDirDialog
*result
= 0 ;
16923 bool temp2
= false ;
16924 bool temp3
= false ;
16929 bool temp7
= false ;
16930 PyObject
* obj0
= 0 ;
16931 PyObject
* obj1
= 0 ;
16932 PyObject
* obj2
= 0 ;
16933 PyObject
* obj3
= 0 ;
16934 PyObject
* obj4
= 0 ;
16935 PyObject
* obj5
= 0 ;
16936 PyObject
* obj6
= 0 ;
16937 char * kwnames
[] = {
16938 (char *) "parent",(char *) "message",(char *) "defaultPath",(char *) "style",(char *) "pos",(char *) "size",(char *) "name", NULL
16941 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_DirDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
16942 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
16943 if (!SWIG_IsOK(res1
)) {
16944 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_DirDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
16946 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
16949 arg2
= wxString_in_helper(obj1
);
16950 if (arg2
== NULL
) SWIG_fail
;
16956 arg3
= wxString_in_helper(obj2
);
16957 if (arg3
== NULL
) SWIG_fail
;
16962 ecode4
= SWIG_AsVal_long(obj3
, &val4
);
16963 if (!SWIG_IsOK(ecode4
)) {
16964 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_DirDialog" "', expected argument " "4"" of type '" "long""'");
16966 arg4
= static_cast< long >(val4
);
16971 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
16977 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
16982 arg7
= wxString_in_helper(obj6
);
16983 if (arg7
== NULL
) SWIG_fail
;
16988 if (!wxPyCheckForApp()) SWIG_fail
;
16989 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16990 result
= (wxDirDialog
*)new wxDirDialog(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,(wxString
const &)*arg7
);
16991 wxPyEndAllowThreads(__tstate
);
16992 if (PyErr_Occurred()) SWIG_fail
;
16994 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDirDialog
, SWIG_POINTER_NEW
| 0 );
17025 SWIGINTERN PyObject
*_wrap_DirDialog_GetPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17026 PyObject
*resultobj
= 0;
17027 wxDirDialog
*arg1
= (wxDirDialog
*) 0 ;
17031 PyObject
*swig_obj
[1] ;
17033 if (!args
) SWIG_fail
;
17034 swig_obj
[0] = args
;
17035 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDirDialog
, 0 | 0 );
17036 if (!SWIG_IsOK(res1
)) {
17037 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DirDialog_GetPath" "', expected argument " "1"" of type '" "wxDirDialog *""'");
17039 arg1
= reinterpret_cast< wxDirDialog
* >(argp1
);
17041 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17042 result
= (arg1
)->GetPath();
17043 wxPyEndAllowThreads(__tstate
);
17044 if (PyErr_Occurred()) SWIG_fail
;
17048 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
17050 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
17059 SWIGINTERN PyObject
*_wrap_DirDialog_GetMessage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17060 PyObject
*resultobj
= 0;
17061 wxDirDialog
*arg1
= (wxDirDialog
*) 0 ;
17065 PyObject
*swig_obj
[1] ;
17067 if (!args
) SWIG_fail
;
17068 swig_obj
[0] = args
;
17069 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDirDialog
, 0 | 0 );
17070 if (!SWIG_IsOK(res1
)) {
17071 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DirDialog_GetMessage" "', expected argument " "1"" of type '" "wxDirDialog *""'");
17073 arg1
= reinterpret_cast< wxDirDialog
* >(argp1
);
17075 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17076 result
= (arg1
)->GetMessage();
17077 wxPyEndAllowThreads(__tstate
);
17078 if (PyErr_Occurred()) SWIG_fail
;
17082 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
17084 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
17093 SWIGINTERN PyObject
*_wrap_DirDialog_SetMessage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17094 PyObject
*resultobj
= 0;
17095 wxDirDialog
*arg1
= (wxDirDialog
*) 0 ;
17096 wxString
*arg2
= 0 ;
17099 bool temp2
= false ;
17100 PyObject
* obj0
= 0 ;
17101 PyObject
* obj1
= 0 ;
17102 char * kwnames
[] = {
17103 (char *) "self",(char *) "message", NULL
17106 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DirDialog_SetMessage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17107 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDirDialog
, 0 | 0 );
17108 if (!SWIG_IsOK(res1
)) {
17109 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DirDialog_SetMessage" "', expected argument " "1"" of type '" "wxDirDialog *""'");
17111 arg1
= reinterpret_cast< wxDirDialog
* >(argp1
);
17113 arg2
= wxString_in_helper(obj1
);
17114 if (arg2
== NULL
) SWIG_fail
;
17118 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17119 (arg1
)->SetMessage((wxString
const &)*arg2
);
17120 wxPyEndAllowThreads(__tstate
);
17121 if (PyErr_Occurred()) SWIG_fail
;
17123 resultobj
= SWIG_Py_Void();
17138 SWIGINTERN PyObject
*_wrap_DirDialog_SetPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17139 PyObject
*resultobj
= 0;
17140 wxDirDialog
*arg1
= (wxDirDialog
*) 0 ;
17141 wxString
*arg2
= 0 ;
17144 bool temp2
= false ;
17145 PyObject
* obj0
= 0 ;
17146 PyObject
* obj1
= 0 ;
17147 char * kwnames
[] = {
17148 (char *) "self",(char *) "path", NULL
17151 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DirDialog_SetPath",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17152 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDirDialog
, 0 | 0 );
17153 if (!SWIG_IsOK(res1
)) {
17154 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DirDialog_SetPath" "', expected argument " "1"" of type '" "wxDirDialog *""'");
17156 arg1
= reinterpret_cast< wxDirDialog
* >(argp1
);
17158 arg2
= wxString_in_helper(obj1
);
17159 if (arg2
== NULL
) SWIG_fail
;
17163 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17164 (arg1
)->SetPath((wxString
const &)*arg2
);
17165 wxPyEndAllowThreads(__tstate
);
17166 if (PyErr_Occurred()) SWIG_fail
;
17168 resultobj
= SWIG_Py_Void();
17183 SWIGINTERN PyObject
*DirDialog_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17185 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
17186 SWIG_TypeNewClientData(SWIGTYPE_p_wxDirDialog
, SWIG_NewClientData(obj
));
17187 return SWIG_Py_Void();
17190 SWIGINTERN PyObject
*DirDialog_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17191 return SWIG_Python_InitShadowInstance(args
);
17194 SWIGINTERN PyObject
*_wrap_new_FileDialog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17195 PyObject
*resultobj
= 0;
17196 wxWindow
*arg1
= (wxWindow
*) 0 ;
17197 wxString
const &arg2_defvalue
= wxPyFileSelectorPromptStr
;
17198 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
17199 wxString
const &arg3_defvalue
= wxPyEmptyString
;
17200 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
17201 wxString
const &arg4_defvalue
= wxPyEmptyString
;
17202 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
17203 wxString
const &arg5_defvalue
= wxPyFileSelectorDefaultWildcardStr
;
17204 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
17205 long arg6
= (long) wxFD_DEFAULT_STYLE
;
17206 wxPoint
const &arg7_defvalue
= wxDefaultPosition
;
17207 wxPoint
*arg7
= (wxPoint
*) &arg7_defvalue
;
17208 wxFileDialog
*result
= 0 ;
17211 bool temp2
= false ;
17212 bool temp3
= false ;
17213 bool temp4
= false ;
17214 bool temp5
= false ;
17218 PyObject
* obj0
= 0 ;
17219 PyObject
* obj1
= 0 ;
17220 PyObject
* obj2
= 0 ;
17221 PyObject
* obj3
= 0 ;
17222 PyObject
* obj4
= 0 ;
17223 PyObject
* obj5
= 0 ;
17224 PyObject
* obj6
= 0 ;
17225 char * kwnames
[] = {
17226 (char *) "parent",(char *) "message",(char *) "defaultDir",(char *) "defaultFile",(char *) "wildcard",(char *) "style",(char *) "pos", NULL
17229 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_FileDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
17230 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
17231 if (!SWIG_IsOK(res1
)) {
17232 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_FileDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
17234 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
17237 arg2
= wxString_in_helper(obj1
);
17238 if (arg2
== NULL
) SWIG_fail
;
17244 arg3
= wxString_in_helper(obj2
);
17245 if (arg3
== NULL
) SWIG_fail
;
17251 arg4
= wxString_in_helper(obj3
);
17252 if (arg4
== NULL
) SWIG_fail
;
17258 arg5
= wxString_in_helper(obj4
);
17259 if (arg5
== NULL
) SWIG_fail
;
17264 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
17265 if (!SWIG_IsOK(ecode6
)) {
17266 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_FileDialog" "', expected argument " "6"" of type '" "long""'");
17268 arg6
= static_cast< long >(val6
);
17273 if ( ! wxPoint_helper(obj6
, &arg7
)) SWIG_fail
;
17277 if (!wxPyCheckForApp()) SWIG_fail
;
17278 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17279 result
= (wxFileDialog
*)new wxFileDialog(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,(wxString
const &)*arg5
,arg6
,(wxPoint
const &)*arg7
);
17280 wxPyEndAllowThreads(__tstate
);
17281 if (PyErr_Occurred()) SWIG_fail
;
17283 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFileDialog
, SWIG_POINTER_NEW
| 0 );
17322 SWIGINTERN PyObject
*_wrap_FileDialog_SetMessage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17323 PyObject
*resultobj
= 0;
17324 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
17325 wxString
*arg2
= 0 ;
17328 bool temp2
= false ;
17329 PyObject
* obj0
= 0 ;
17330 PyObject
* obj1
= 0 ;
17331 char * kwnames
[] = {
17332 (char *) "self",(char *) "message", NULL
17335 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileDialog_SetMessage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17336 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFileDialog
, 0 | 0 );
17337 if (!SWIG_IsOK(res1
)) {
17338 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileDialog_SetMessage" "', expected argument " "1"" of type '" "wxFileDialog *""'");
17340 arg1
= reinterpret_cast< wxFileDialog
* >(argp1
);
17342 arg2
= wxString_in_helper(obj1
);
17343 if (arg2
== NULL
) SWIG_fail
;
17347 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17348 (arg1
)->SetMessage((wxString
const &)*arg2
);
17349 wxPyEndAllowThreads(__tstate
);
17350 if (PyErr_Occurred()) SWIG_fail
;
17352 resultobj
= SWIG_Py_Void();
17367 SWIGINTERN PyObject
*_wrap_FileDialog_SetPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17368 PyObject
*resultobj
= 0;
17369 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
17370 wxString
*arg2
= 0 ;
17373 bool temp2
= false ;
17374 PyObject
* obj0
= 0 ;
17375 PyObject
* obj1
= 0 ;
17376 char * kwnames
[] = {
17377 (char *) "self",(char *) "path", NULL
17380 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileDialog_SetPath",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17381 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFileDialog
, 0 | 0 );
17382 if (!SWIG_IsOK(res1
)) {
17383 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileDialog_SetPath" "', expected argument " "1"" of type '" "wxFileDialog *""'");
17385 arg1
= reinterpret_cast< wxFileDialog
* >(argp1
);
17387 arg2
= wxString_in_helper(obj1
);
17388 if (arg2
== NULL
) SWIG_fail
;
17392 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17393 (arg1
)->SetPath((wxString
const &)*arg2
);
17394 wxPyEndAllowThreads(__tstate
);
17395 if (PyErr_Occurred()) SWIG_fail
;
17397 resultobj
= SWIG_Py_Void();
17412 SWIGINTERN PyObject
*_wrap_FileDialog_SetDirectory(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17413 PyObject
*resultobj
= 0;
17414 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
17415 wxString
*arg2
= 0 ;
17418 bool temp2
= false ;
17419 PyObject
* obj0
= 0 ;
17420 PyObject
* obj1
= 0 ;
17421 char * kwnames
[] = {
17422 (char *) "self",(char *) "dir", NULL
17425 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileDialog_SetDirectory",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17426 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFileDialog
, 0 | 0 );
17427 if (!SWIG_IsOK(res1
)) {
17428 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileDialog_SetDirectory" "', expected argument " "1"" of type '" "wxFileDialog *""'");
17430 arg1
= reinterpret_cast< wxFileDialog
* >(argp1
);
17432 arg2
= wxString_in_helper(obj1
);
17433 if (arg2
== NULL
) SWIG_fail
;
17437 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17438 (arg1
)->SetDirectory((wxString
const &)*arg2
);
17439 wxPyEndAllowThreads(__tstate
);
17440 if (PyErr_Occurred()) SWIG_fail
;
17442 resultobj
= SWIG_Py_Void();
17457 SWIGINTERN PyObject
*_wrap_FileDialog_SetFilename(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17458 PyObject
*resultobj
= 0;
17459 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
17460 wxString
*arg2
= 0 ;
17463 bool temp2
= false ;
17464 PyObject
* obj0
= 0 ;
17465 PyObject
* obj1
= 0 ;
17466 char * kwnames
[] = {
17467 (char *) "self",(char *) "name", NULL
17470 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileDialog_SetFilename",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17471 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFileDialog
, 0 | 0 );
17472 if (!SWIG_IsOK(res1
)) {
17473 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileDialog_SetFilename" "', expected argument " "1"" of type '" "wxFileDialog *""'");
17475 arg1
= reinterpret_cast< wxFileDialog
* >(argp1
);
17477 arg2
= wxString_in_helper(obj1
);
17478 if (arg2
== NULL
) SWIG_fail
;
17482 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17483 (arg1
)->SetFilename((wxString
const &)*arg2
);
17484 wxPyEndAllowThreads(__tstate
);
17485 if (PyErr_Occurred()) SWIG_fail
;
17487 resultobj
= SWIG_Py_Void();
17502 SWIGINTERN PyObject
*_wrap_FileDialog_SetWildcard(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17503 PyObject
*resultobj
= 0;
17504 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
17505 wxString
*arg2
= 0 ;
17508 bool temp2
= false ;
17509 PyObject
* obj0
= 0 ;
17510 PyObject
* obj1
= 0 ;
17511 char * kwnames
[] = {
17512 (char *) "self",(char *) "wildCard", NULL
17515 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileDialog_SetWildcard",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17516 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFileDialog
, 0 | 0 );
17517 if (!SWIG_IsOK(res1
)) {
17518 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileDialog_SetWildcard" "', expected argument " "1"" of type '" "wxFileDialog *""'");
17520 arg1
= reinterpret_cast< wxFileDialog
* >(argp1
);
17522 arg2
= wxString_in_helper(obj1
);
17523 if (arg2
== NULL
) SWIG_fail
;
17527 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17528 (arg1
)->SetWildcard((wxString
const &)*arg2
);
17529 wxPyEndAllowThreads(__tstate
);
17530 if (PyErr_Occurred()) SWIG_fail
;
17532 resultobj
= SWIG_Py_Void();
17547 SWIGINTERN PyObject
*_wrap_FileDialog_SetFilterIndex(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17548 PyObject
*resultobj
= 0;
17549 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
17555 PyObject
* obj0
= 0 ;
17556 PyObject
* obj1
= 0 ;
17557 char * kwnames
[] = {
17558 (char *) "self",(char *) "filterIndex", NULL
17561 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileDialog_SetFilterIndex",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17562 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFileDialog
, 0 | 0 );
17563 if (!SWIG_IsOK(res1
)) {
17564 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileDialog_SetFilterIndex" "', expected argument " "1"" of type '" "wxFileDialog *""'");
17566 arg1
= reinterpret_cast< wxFileDialog
* >(argp1
);
17567 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
17568 if (!SWIG_IsOK(ecode2
)) {
17569 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "FileDialog_SetFilterIndex" "', expected argument " "2"" of type '" "int""'");
17571 arg2
= static_cast< int >(val2
);
17573 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17574 (arg1
)->SetFilterIndex(arg2
);
17575 wxPyEndAllowThreads(__tstate
);
17576 if (PyErr_Occurred()) SWIG_fail
;
17578 resultobj
= SWIG_Py_Void();
17585 SWIGINTERN PyObject
*_wrap_FileDialog_GetMessage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17586 PyObject
*resultobj
= 0;
17587 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
17591 PyObject
*swig_obj
[1] ;
17593 if (!args
) SWIG_fail
;
17594 swig_obj
[0] = args
;
17595 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFileDialog
, 0 | 0 );
17596 if (!SWIG_IsOK(res1
)) {
17597 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileDialog_GetMessage" "', expected argument " "1"" of type '" "wxFileDialog const *""'");
17599 arg1
= reinterpret_cast< wxFileDialog
* >(argp1
);
17601 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17602 result
= ((wxFileDialog
const *)arg1
)->GetMessage();
17603 wxPyEndAllowThreads(__tstate
);
17604 if (PyErr_Occurred()) SWIG_fail
;
17608 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
17610 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
17619 SWIGINTERN PyObject
*_wrap_FileDialog_GetPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17620 PyObject
*resultobj
= 0;
17621 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
17625 PyObject
*swig_obj
[1] ;
17627 if (!args
) SWIG_fail
;
17628 swig_obj
[0] = args
;
17629 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFileDialog
, 0 | 0 );
17630 if (!SWIG_IsOK(res1
)) {
17631 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileDialog_GetPath" "', expected argument " "1"" of type '" "wxFileDialog const *""'");
17633 arg1
= reinterpret_cast< wxFileDialog
* >(argp1
);
17635 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17636 result
= ((wxFileDialog
const *)arg1
)->GetPath();
17637 wxPyEndAllowThreads(__tstate
);
17638 if (PyErr_Occurred()) SWIG_fail
;
17642 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
17644 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
17653 SWIGINTERN PyObject
*_wrap_FileDialog_GetDirectory(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17654 PyObject
*resultobj
= 0;
17655 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
17659 PyObject
*swig_obj
[1] ;
17661 if (!args
) SWIG_fail
;
17662 swig_obj
[0] = args
;
17663 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFileDialog
, 0 | 0 );
17664 if (!SWIG_IsOK(res1
)) {
17665 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileDialog_GetDirectory" "', expected argument " "1"" of type '" "wxFileDialog const *""'");
17667 arg1
= reinterpret_cast< wxFileDialog
* >(argp1
);
17669 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17670 result
= ((wxFileDialog
const *)arg1
)->GetDirectory();
17671 wxPyEndAllowThreads(__tstate
);
17672 if (PyErr_Occurred()) SWIG_fail
;
17676 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
17678 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
17687 SWIGINTERN PyObject
*_wrap_FileDialog_GetFilename(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17688 PyObject
*resultobj
= 0;
17689 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
17693 PyObject
*swig_obj
[1] ;
17695 if (!args
) SWIG_fail
;
17696 swig_obj
[0] = args
;
17697 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFileDialog
, 0 | 0 );
17698 if (!SWIG_IsOK(res1
)) {
17699 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileDialog_GetFilename" "', expected argument " "1"" of type '" "wxFileDialog const *""'");
17701 arg1
= reinterpret_cast< wxFileDialog
* >(argp1
);
17703 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17704 result
= ((wxFileDialog
const *)arg1
)->GetFilename();
17705 wxPyEndAllowThreads(__tstate
);
17706 if (PyErr_Occurred()) SWIG_fail
;
17710 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
17712 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
17721 SWIGINTERN PyObject
*_wrap_FileDialog_GetWildcard(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17722 PyObject
*resultobj
= 0;
17723 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
17727 PyObject
*swig_obj
[1] ;
17729 if (!args
) SWIG_fail
;
17730 swig_obj
[0] = args
;
17731 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFileDialog
, 0 | 0 );
17732 if (!SWIG_IsOK(res1
)) {
17733 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileDialog_GetWildcard" "', expected argument " "1"" of type '" "wxFileDialog const *""'");
17735 arg1
= reinterpret_cast< wxFileDialog
* >(argp1
);
17737 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17738 result
= ((wxFileDialog
const *)arg1
)->GetWildcard();
17739 wxPyEndAllowThreads(__tstate
);
17740 if (PyErr_Occurred()) SWIG_fail
;
17744 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
17746 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
17755 SWIGINTERN PyObject
*_wrap_FileDialog_GetFilterIndex(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17756 PyObject
*resultobj
= 0;
17757 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
17761 PyObject
*swig_obj
[1] ;
17763 if (!args
) SWIG_fail
;
17764 swig_obj
[0] = args
;
17765 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFileDialog
, 0 | 0 );
17766 if (!SWIG_IsOK(res1
)) {
17767 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileDialog_GetFilterIndex" "', expected argument " "1"" of type '" "wxFileDialog const *""'");
17769 arg1
= reinterpret_cast< wxFileDialog
* >(argp1
);
17771 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17772 result
= (int)((wxFileDialog
const *)arg1
)->GetFilterIndex();
17773 wxPyEndAllowThreads(__tstate
);
17774 if (PyErr_Occurred()) SWIG_fail
;
17776 resultobj
= SWIG_From_int(static_cast< int >(result
));
17783 SWIGINTERN PyObject
*_wrap_FileDialog_GetFilenames(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17784 PyObject
*resultobj
= 0;
17785 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
17786 PyObject
*result
= 0 ;
17789 PyObject
*swig_obj
[1] ;
17791 if (!args
) SWIG_fail
;
17792 swig_obj
[0] = args
;
17793 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFileDialog
, 0 | 0 );
17794 if (!SWIG_IsOK(res1
)) {
17795 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileDialog_GetFilenames" "', expected argument " "1"" of type '" "wxFileDialog *""'");
17797 arg1
= reinterpret_cast< wxFileDialog
* >(argp1
);
17799 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17800 result
= (PyObject
*)wxFileDialog_GetFilenames(arg1
);
17801 wxPyEndAllowThreads(__tstate
);
17802 if (PyErr_Occurred()) SWIG_fail
;
17804 resultobj
= result
;
17811 SWIGINTERN PyObject
*_wrap_FileDialog_GetPaths(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17812 PyObject
*resultobj
= 0;
17813 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
17814 PyObject
*result
= 0 ;
17817 PyObject
*swig_obj
[1] ;
17819 if (!args
) SWIG_fail
;
17820 swig_obj
[0] = args
;
17821 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFileDialog
, 0 | 0 );
17822 if (!SWIG_IsOK(res1
)) {
17823 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileDialog_GetPaths" "', expected argument " "1"" of type '" "wxFileDialog *""'");
17825 arg1
= reinterpret_cast< wxFileDialog
* >(argp1
);
17827 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17828 result
= (PyObject
*)wxFileDialog_GetPaths(arg1
);
17829 wxPyEndAllowThreads(__tstate
);
17830 if (PyErr_Occurred()) SWIG_fail
;
17832 resultobj
= result
;
17839 SWIGINTERN PyObject
*FileDialog_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17841 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
17842 SWIG_TypeNewClientData(SWIGTYPE_p_wxFileDialog
, SWIG_NewClientData(obj
));
17843 return SWIG_Py_Void();
17846 SWIGINTERN PyObject
*FileDialog_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17847 return SWIG_Python_InitShadowInstance(args
);
17850 SWIGINTERN PyObject
*_wrap_new_MultiChoiceDialog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17851 PyObject
*resultobj
= 0;
17852 wxWindow
*arg1
= (wxWindow
*) 0 ;
17853 wxString
*arg2
= 0 ;
17854 wxString
*arg3
= 0 ;
17855 int arg4
= (int) 0 ;
17856 wxString
*arg5
= (wxString
*) NULL
;
17857 long arg6
= (long) wxCHOICEDLG_STYLE
;
17858 wxPoint
const &arg7_defvalue
= wxDefaultPosition
;
17859 wxPoint
*arg7
= (wxPoint
*) &arg7_defvalue
;
17860 wxMultiChoiceDialog
*result
= 0 ;
17863 bool temp2
= false ;
17864 bool temp3
= false ;
17868 PyObject
* obj0
= 0 ;
17869 PyObject
* obj1
= 0 ;
17870 PyObject
* obj2
= 0 ;
17871 PyObject
* obj3
= 0 ;
17872 PyObject
* obj4
= 0 ;
17873 PyObject
* obj5
= 0 ;
17874 char * kwnames
[] = {
17875 (char *) "parent",(char *) "message",(char *) "caption",(char *) "choices",(char *) "style",(char *) "pos", NULL
17878 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOO:new_MultiChoiceDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
17879 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
17880 if (!SWIG_IsOK(res1
)) {
17881 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_MultiChoiceDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
17883 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
17885 arg2
= wxString_in_helper(obj1
);
17886 if (arg2
== NULL
) SWIG_fail
;
17890 arg3
= wxString_in_helper(obj2
);
17891 if (arg3
== NULL
) SWIG_fail
;
17896 arg4
= PyList_Size(obj3
);
17897 arg5
= wxString_LIST_helper(obj3
);
17898 if (arg5
== NULL
) SWIG_fail
;
17902 ecode6
= SWIG_AsVal_long(obj4
, &val6
);
17903 if (!SWIG_IsOK(ecode6
)) {
17904 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_MultiChoiceDialog" "', expected argument " "6"" of type '" "long""'");
17906 arg6
= static_cast< long >(val6
);
17911 if ( ! wxPoint_helper(obj5
, &arg7
)) SWIG_fail
;
17915 if (!wxPyCheckForApp()) SWIG_fail
;
17916 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17917 result
= (wxMultiChoiceDialog
*)new wxMultiChoiceDialog(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
,arg5
,arg6
,(wxPoint
const &)*arg7
);
17918 wxPyEndAllowThreads(__tstate
);
17919 if (PyErr_Occurred()) SWIG_fail
;
17921 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMultiChoiceDialog
, SWIG_POINTER_NEW
| 0 );
17931 if (arg5
) delete [] arg5
;
17944 if (arg5
) delete [] arg5
;
17950 SWIGINTERN PyObject
*_wrap_MultiChoiceDialog_SetSelections(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17951 PyObject
*resultobj
= 0;
17952 wxMultiChoiceDialog
*arg1
= (wxMultiChoiceDialog
*) 0 ;
17953 wxArrayInt
*arg2
= 0 ;
17956 bool temp2
= false ;
17957 PyObject
* obj0
= 0 ;
17958 PyObject
* obj1
= 0 ;
17959 char * kwnames
[] = {
17960 (char *) "self",(char *) "selections", NULL
17963 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MultiChoiceDialog_SetSelections",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17964 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMultiChoiceDialog
, 0 | 0 );
17965 if (!SWIG_IsOK(res1
)) {
17966 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MultiChoiceDialog_SetSelections" "', expected argument " "1"" of type '" "wxMultiChoiceDialog *""'");
17968 arg1
= reinterpret_cast< wxMultiChoiceDialog
* >(argp1
);
17970 if (! PySequence_Check(obj1
)) {
17971 PyErr_SetString(PyExc_TypeError
, "Sequence of integers expected.");
17974 arg2
= new wxArrayInt
;
17976 int i
, len
=PySequence_Length(obj1
);
17977 for (i
=0; i
<len
; i
++) {
17978 PyObject
* item
= PySequence_GetItem(obj1
, i
);
17979 PyObject
* number
= PyNumber_Int(item
);
17981 PyErr_SetString(PyExc_TypeError
, "Sequence of integers expected.");
17984 arg2
->Add(PyInt_AS_LONG(number
));
17990 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17991 (arg1
)->SetSelections((wxArrayInt
const &)*arg2
);
17992 wxPyEndAllowThreads(__tstate
);
17993 if (PyErr_Occurred()) SWIG_fail
;
17995 resultobj
= SWIG_Py_Void();
17997 if (temp2
) delete arg2
;
18002 if (temp2
) delete arg2
;
18008 SWIGINTERN PyObject
*_wrap_MultiChoiceDialog_GetSelections(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18009 PyObject
*resultobj
= 0;
18010 wxMultiChoiceDialog
*arg1
= (wxMultiChoiceDialog
*) 0 ;
18011 PyObject
*result
= 0 ;
18014 PyObject
*swig_obj
[1] ;
18016 if (!args
) SWIG_fail
;
18017 swig_obj
[0] = args
;
18018 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMultiChoiceDialog
, 0 | 0 );
18019 if (!SWIG_IsOK(res1
)) {
18020 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MultiChoiceDialog_GetSelections" "', expected argument " "1"" of type '" "wxMultiChoiceDialog *""'");
18022 arg1
= reinterpret_cast< wxMultiChoiceDialog
* >(argp1
);
18024 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18025 result
= (PyObject
*)wxMultiChoiceDialog_GetSelections(arg1
);
18026 wxPyEndAllowThreads(__tstate
);
18027 if (PyErr_Occurred()) SWIG_fail
;
18029 resultobj
= result
;
18036 SWIGINTERN PyObject
*MultiChoiceDialog_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18038 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
18039 SWIG_TypeNewClientData(SWIGTYPE_p_wxMultiChoiceDialog
, SWIG_NewClientData(obj
));
18040 return SWIG_Py_Void();
18043 SWIGINTERN PyObject
*MultiChoiceDialog_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18044 return SWIG_Python_InitShadowInstance(args
);
18047 SWIGINTERN PyObject
*_wrap_new_SingleChoiceDialog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18048 PyObject
*resultobj
= 0;
18049 wxWindow
*arg1
= (wxWindow
*) 0 ;
18050 wxString
*arg2
= 0 ;
18051 wxString
*arg3
= 0 ;
18053 wxString
*arg5
= (wxString
*) 0 ;
18054 long arg6
= (long) wxCHOICEDLG_STYLE
;
18055 wxPoint
const &arg7_defvalue
= wxDefaultPosition
;
18056 wxPoint
*arg7
= (wxPoint
*) &arg7_defvalue
;
18057 wxSingleChoiceDialog
*result
= 0 ;
18060 bool temp2
= false ;
18061 bool temp3
= false ;
18065 PyObject
* obj0
= 0 ;
18066 PyObject
* obj1
= 0 ;
18067 PyObject
* obj2
= 0 ;
18068 PyObject
* obj3
= 0 ;
18069 PyObject
* obj4
= 0 ;
18070 PyObject
* obj5
= 0 ;
18071 char * kwnames
[] = {
18072 (char *) "parent",(char *) "message",(char *) "caption",(char *) "choices",(char *) "style",(char *) "pos", NULL
18075 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:new_SingleChoiceDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
18076 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
18077 if (!SWIG_IsOK(res1
)) {
18078 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_SingleChoiceDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
18080 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
18082 arg2
= wxString_in_helper(obj1
);
18083 if (arg2
== NULL
) SWIG_fail
;
18087 arg3
= wxString_in_helper(obj2
);
18088 if (arg3
== NULL
) SWIG_fail
;
18092 arg4
= PyList_Size(obj3
);
18093 arg5
= wxString_LIST_helper(obj3
);
18094 if (arg5
== NULL
) SWIG_fail
;
18097 ecode6
= SWIG_AsVal_long(obj4
, &val6
);
18098 if (!SWIG_IsOK(ecode6
)) {
18099 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_SingleChoiceDialog" "', expected argument " "6"" of type '" "long""'");
18101 arg6
= static_cast< long >(val6
);
18106 if ( ! wxPoint_helper(obj5
, &arg7
)) SWIG_fail
;
18110 if (!wxPyCheckForApp()) SWIG_fail
;
18111 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18112 result
= (wxSingleChoiceDialog
*)new_wxSingleChoiceDialog(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
,arg5
,arg6
,(wxPoint
const &)*arg7
);
18113 wxPyEndAllowThreads(__tstate
);
18114 if (PyErr_Occurred()) SWIG_fail
;
18116 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSingleChoiceDialog
, SWIG_POINTER_NEW
| 0 );
18126 if (arg5
) delete [] arg5
;
18139 if (arg5
) delete [] arg5
;
18145 SWIGINTERN PyObject
*_wrap_SingleChoiceDialog_GetSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18146 PyObject
*resultobj
= 0;
18147 wxSingleChoiceDialog
*arg1
= (wxSingleChoiceDialog
*) 0 ;
18151 PyObject
*swig_obj
[1] ;
18153 if (!args
) SWIG_fail
;
18154 swig_obj
[0] = args
;
18155 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSingleChoiceDialog
, 0 | 0 );
18156 if (!SWIG_IsOK(res1
)) {
18157 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SingleChoiceDialog_GetSelection" "', expected argument " "1"" of type '" "wxSingleChoiceDialog *""'");
18159 arg1
= reinterpret_cast< wxSingleChoiceDialog
* >(argp1
);
18161 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18162 result
= (int)(arg1
)->GetSelection();
18163 wxPyEndAllowThreads(__tstate
);
18164 if (PyErr_Occurred()) SWIG_fail
;
18166 resultobj
= SWIG_From_int(static_cast< int >(result
));
18173 SWIGINTERN PyObject
*_wrap_SingleChoiceDialog_GetStringSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18174 PyObject
*resultobj
= 0;
18175 wxSingleChoiceDialog
*arg1
= (wxSingleChoiceDialog
*) 0 ;
18179 PyObject
*swig_obj
[1] ;
18181 if (!args
) SWIG_fail
;
18182 swig_obj
[0] = args
;
18183 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSingleChoiceDialog
, 0 | 0 );
18184 if (!SWIG_IsOK(res1
)) {
18185 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SingleChoiceDialog_GetStringSelection" "', expected argument " "1"" of type '" "wxSingleChoiceDialog *""'");
18187 arg1
= reinterpret_cast< wxSingleChoiceDialog
* >(argp1
);
18189 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18190 result
= (arg1
)->GetStringSelection();
18191 wxPyEndAllowThreads(__tstate
);
18192 if (PyErr_Occurred()) SWIG_fail
;
18196 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
18198 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
18207 SWIGINTERN PyObject
*_wrap_SingleChoiceDialog_SetSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18208 PyObject
*resultobj
= 0;
18209 wxSingleChoiceDialog
*arg1
= (wxSingleChoiceDialog
*) 0 ;
18215 PyObject
* obj0
= 0 ;
18216 PyObject
* obj1
= 0 ;
18217 char * kwnames
[] = {
18218 (char *) "self",(char *) "sel", NULL
18221 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SingleChoiceDialog_SetSelection",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18222 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSingleChoiceDialog
, 0 | 0 );
18223 if (!SWIG_IsOK(res1
)) {
18224 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SingleChoiceDialog_SetSelection" "', expected argument " "1"" of type '" "wxSingleChoiceDialog *""'");
18226 arg1
= reinterpret_cast< wxSingleChoiceDialog
* >(argp1
);
18227 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18228 if (!SWIG_IsOK(ecode2
)) {
18229 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SingleChoiceDialog_SetSelection" "', expected argument " "2"" of type '" "int""'");
18231 arg2
= static_cast< int >(val2
);
18233 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18234 (arg1
)->SetSelection(arg2
);
18235 wxPyEndAllowThreads(__tstate
);
18236 if (PyErr_Occurred()) SWIG_fail
;
18238 resultobj
= SWIG_Py_Void();
18245 SWIGINTERN PyObject
*SingleChoiceDialog_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18247 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
18248 SWIG_TypeNewClientData(SWIGTYPE_p_wxSingleChoiceDialog
, SWIG_NewClientData(obj
));
18249 return SWIG_Py_Void();
18252 SWIGINTERN PyObject
*SingleChoiceDialog_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18253 return SWIG_Python_InitShadowInstance(args
);
18256 SWIGINTERN PyObject
*_wrap_new_TextEntryDialog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18257 PyObject
*resultobj
= 0;
18258 wxWindow
*arg1
= (wxWindow
*) 0 ;
18259 wxString
*arg2
= 0 ;
18260 wxString
const &arg3_defvalue
= wxPyGetTextFromUserPromptStr
;
18261 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
18262 wxString
const &arg4_defvalue
= wxPyEmptyString
;
18263 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
18264 long arg5
= (long) wxTextEntryDialogStyle
;
18265 wxPoint
const &arg6_defvalue
= wxDefaultPosition
;
18266 wxPoint
*arg6
= (wxPoint
*) &arg6_defvalue
;
18267 wxTextEntryDialog
*result
= 0 ;
18270 bool temp2
= false ;
18271 bool temp3
= false ;
18272 bool temp4
= false ;
18276 PyObject
* obj0
= 0 ;
18277 PyObject
* obj1
= 0 ;
18278 PyObject
* obj2
= 0 ;
18279 PyObject
* obj3
= 0 ;
18280 PyObject
* obj4
= 0 ;
18281 PyObject
* obj5
= 0 ;
18282 char * kwnames
[] = {
18283 (char *) "parent",(char *) "message",(char *) "caption",(char *) "defaultValue",(char *) "style",(char *) "pos", NULL
18286 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:new_TextEntryDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
18287 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
18288 if (!SWIG_IsOK(res1
)) {
18289 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_TextEntryDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
18291 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
18293 arg2
= wxString_in_helper(obj1
);
18294 if (arg2
== NULL
) SWIG_fail
;
18299 arg3
= wxString_in_helper(obj2
);
18300 if (arg3
== NULL
) SWIG_fail
;
18306 arg4
= wxString_in_helper(obj3
);
18307 if (arg4
== NULL
) SWIG_fail
;
18312 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
18313 if (!SWIG_IsOK(ecode5
)) {
18314 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_TextEntryDialog" "', expected argument " "5"" of type '" "long""'");
18316 arg5
= static_cast< long >(val5
);
18321 if ( ! wxPoint_helper(obj5
, &arg6
)) SWIG_fail
;
18325 if (!wxPyCheckForApp()) SWIG_fail
;
18326 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18327 result
= (wxTextEntryDialog
*)new wxTextEntryDialog(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,arg5
,(wxPoint
const &)*arg6
);
18328 wxPyEndAllowThreads(__tstate
);
18329 if (PyErr_Occurred()) SWIG_fail
;
18331 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTextEntryDialog
, SWIG_POINTER_NEW
| 0 );
18362 SWIGINTERN PyObject
*_wrap_TextEntryDialog_GetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18363 PyObject
*resultobj
= 0;
18364 wxTextEntryDialog
*arg1
= (wxTextEntryDialog
*) 0 ;
18368 PyObject
*swig_obj
[1] ;
18370 if (!args
) SWIG_fail
;
18371 swig_obj
[0] = args
;
18372 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextEntryDialog
, 0 | 0 );
18373 if (!SWIG_IsOK(res1
)) {
18374 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextEntryDialog_GetValue" "', expected argument " "1"" of type '" "wxTextEntryDialog *""'");
18376 arg1
= reinterpret_cast< wxTextEntryDialog
* >(argp1
);
18378 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18379 result
= (arg1
)->GetValue();
18380 wxPyEndAllowThreads(__tstate
);
18381 if (PyErr_Occurred()) SWIG_fail
;
18385 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
18387 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
18396 SWIGINTERN PyObject
*_wrap_TextEntryDialog_SetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18397 PyObject
*resultobj
= 0;
18398 wxTextEntryDialog
*arg1
= (wxTextEntryDialog
*) 0 ;
18399 wxString
*arg2
= 0 ;
18402 bool temp2
= false ;
18403 PyObject
* obj0
= 0 ;
18404 PyObject
* obj1
= 0 ;
18405 char * kwnames
[] = {
18406 (char *) "self",(char *) "value", NULL
18409 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextEntryDialog_SetValue",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18410 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextEntryDialog
, 0 | 0 );
18411 if (!SWIG_IsOK(res1
)) {
18412 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextEntryDialog_SetValue" "', expected argument " "1"" of type '" "wxTextEntryDialog *""'");
18414 arg1
= reinterpret_cast< wxTextEntryDialog
* >(argp1
);
18416 arg2
= wxString_in_helper(obj1
);
18417 if (arg2
== NULL
) SWIG_fail
;
18421 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18422 (arg1
)->SetValue((wxString
const &)*arg2
);
18423 wxPyEndAllowThreads(__tstate
);
18424 if (PyErr_Occurred()) SWIG_fail
;
18426 resultobj
= SWIG_Py_Void();
18441 SWIGINTERN PyObject
*TextEntryDialog_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18443 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
18444 SWIG_TypeNewClientData(SWIGTYPE_p_wxTextEntryDialog
, SWIG_NewClientData(obj
));
18445 return SWIG_Py_Void();
18448 SWIGINTERN PyObject
*TextEntryDialog_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18449 return SWIG_Python_InitShadowInstance(args
);
18452 SWIGINTERN
int GetPasswordFromUserPromptStr_set(PyObject
*) {
18453 SWIG_Error(SWIG_AttributeError
,"Variable GetPasswordFromUserPromptStr is read-only.");
18458 SWIGINTERN PyObject
*GetPasswordFromUserPromptStr_get(void) {
18459 PyObject
*pyobj
= 0;
18463 pyobj
= PyUnicode_FromWideChar((&wxPyGetPasswordFromUserPromptStr
)->c_str(), (&wxPyGetPasswordFromUserPromptStr
)->Len());
18465 pyobj
= PyString_FromStringAndSize((&wxPyGetPasswordFromUserPromptStr
)->c_str(), (&wxPyGetPasswordFromUserPromptStr
)->Len());
18472 SWIGINTERN PyObject
*_wrap_new_PasswordEntryDialog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18473 PyObject
*resultobj
= 0;
18474 wxWindow
*arg1
= (wxWindow
*) 0 ;
18475 wxString
*arg2
= 0 ;
18476 wxString
const &arg3_defvalue
= wxPyGetPasswordFromUserPromptStr
;
18477 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
18478 wxString
const &arg4_defvalue
= wxPyEmptyString
;
18479 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
18480 long arg5
= (long) wxTextEntryDialogStyle
;
18481 wxPoint
const &arg6_defvalue
= wxDefaultPosition
;
18482 wxPoint
*arg6
= (wxPoint
*) &arg6_defvalue
;
18483 wxPasswordEntryDialog
*result
= 0 ;
18486 bool temp2
= false ;
18487 bool temp3
= false ;
18488 bool temp4
= false ;
18492 PyObject
* obj0
= 0 ;
18493 PyObject
* obj1
= 0 ;
18494 PyObject
* obj2
= 0 ;
18495 PyObject
* obj3
= 0 ;
18496 PyObject
* obj4
= 0 ;
18497 PyObject
* obj5
= 0 ;
18498 char * kwnames
[] = {
18499 (char *) "parent",(char *) "message",(char *) "caption",(char *) "value",(char *) "style",(char *) "pos", NULL
18502 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:new_PasswordEntryDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
18503 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
18504 if (!SWIG_IsOK(res1
)) {
18505 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PasswordEntryDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
18507 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
18509 arg2
= wxString_in_helper(obj1
);
18510 if (arg2
== NULL
) SWIG_fail
;
18515 arg3
= wxString_in_helper(obj2
);
18516 if (arg3
== NULL
) SWIG_fail
;
18522 arg4
= wxString_in_helper(obj3
);
18523 if (arg4
== NULL
) SWIG_fail
;
18528 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
18529 if (!SWIG_IsOK(ecode5
)) {
18530 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_PasswordEntryDialog" "', expected argument " "5"" of type '" "long""'");
18532 arg5
= static_cast< long >(val5
);
18537 if ( ! wxPoint_helper(obj5
, &arg6
)) SWIG_fail
;
18541 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18542 result
= (wxPasswordEntryDialog
*)new wxPasswordEntryDialog(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,arg5
,(wxPoint
const &)*arg6
);
18543 wxPyEndAllowThreads(__tstate
);
18544 if (PyErr_Occurred()) SWIG_fail
;
18546 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPasswordEntryDialog
, SWIG_POINTER_NEW
| 0 );
18577 SWIGINTERN PyObject
*PasswordEntryDialog_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18579 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
18580 SWIG_TypeNewClientData(SWIGTYPE_p_wxPasswordEntryDialog
, SWIG_NewClientData(obj
));
18581 return SWIG_Py_Void();
18584 SWIGINTERN PyObject
*PasswordEntryDialog_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18585 return SWIG_Python_InitShadowInstance(args
);
18588 SWIGINTERN PyObject
*_wrap_new_NumberEntryDialog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18589 PyObject
*resultobj
= 0;
18590 wxWindow
*arg1
= (wxWindow
*) 0 ;
18591 wxString
*arg2
= 0 ;
18592 wxString
*arg3
= 0 ;
18593 wxString
*arg4
= 0 ;
18597 wxPoint
const &arg8_defvalue
= wxDefaultPosition
;
18598 wxPoint
*arg8
= (wxPoint
*) &arg8_defvalue
;
18599 wxNumberEntryDialog
*result
= 0 ;
18602 bool temp2
= false ;
18603 bool temp3
= false ;
18604 bool temp4
= false ;
18612 PyObject
* obj0
= 0 ;
18613 PyObject
* obj1
= 0 ;
18614 PyObject
* obj2
= 0 ;
18615 PyObject
* obj3
= 0 ;
18616 PyObject
* obj4
= 0 ;
18617 PyObject
* obj5
= 0 ;
18618 PyObject
* obj6
= 0 ;
18619 PyObject
* obj7
= 0 ;
18620 char * kwnames
[] = {
18621 (char *) "parent",(char *) "message",(char *) "prompt",(char *) "caption",(char *) "value",(char *) "min",(char *) "max",(char *) "pos", NULL
18624 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOOO|O:new_NumberEntryDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
18625 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
18626 if (!SWIG_IsOK(res1
)) {
18627 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_NumberEntryDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
18629 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
18631 arg2
= wxString_in_helper(obj1
);
18632 if (arg2
== NULL
) SWIG_fail
;
18636 arg3
= wxString_in_helper(obj2
);
18637 if (arg3
== NULL
) SWIG_fail
;
18641 arg4
= wxString_in_helper(obj3
);
18642 if (arg4
== NULL
) SWIG_fail
;
18645 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
18646 if (!SWIG_IsOK(ecode5
)) {
18647 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_NumberEntryDialog" "', expected argument " "5"" of type '" "long""'");
18649 arg5
= static_cast< long >(val5
);
18650 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
18651 if (!SWIG_IsOK(ecode6
)) {
18652 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_NumberEntryDialog" "', expected argument " "6"" of type '" "long""'");
18654 arg6
= static_cast< long >(val6
);
18655 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
18656 if (!SWIG_IsOK(ecode7
)) {
18657 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "new_NumberEntryDialog" "', expected argument " "7"" of type '" "long""'");
18659 arg7
= static_cast< long >(val7
);
18663 if ( ! wxPoint_helper(obj7
, &arg8
)) SWIG_fail
;
18667 if (!wxPyCheckForApp()) SWIG_fail
;
18668 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18669 result
= (wxNumberEntryDialog
*)new wxNumberEntryDialog(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,arg5
,arg6
,arg7
,(wxPoint
const &)*arg8
);
18670 wxPyEndAllowThreads(__tstate
);
18671 if (PyErr_Occurred()) SWIG_fail
;
18673 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxNumberEntryDialog
, SWIG_POINTER_NEW
| 0 );
18704 SWIGINTERN PyObject
*_wrap_NumberEntryDialog_GetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18705 PyObject
*resultobj
= 0;
18706 wxNumberEntryDialog
*arg1
= (wxNumberEntryDialog
*) 0 ;
18710 PyObject
*swig_obj
[1] ;
18712 if (!args
) SWIG_fail
;
18713 swig_obj
[0] = args
;
18714 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNumberEntryDialog
, 0 | 0 );
18715 if (!SWIG_IsOK(res1
)) {
18716 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NumberEntryDialog_GetValue" "', expected argument " "1"" of type '" "wxNumberEntryDialog *""'");
18718 arg1
= reinterpret_cast< wxNumberEntryDialog
* >(argp1
);
18720 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18721 result
= (long)(arg1
)->GetValue();
18722 wxPyEndAllowThreads(__tstate
);
18723 if (PyErr_Occurred()) SWIG_fail
;
18725 resultobj
= SWIG_From_long(static_cast< long >(result
));
18732 SWIGINTERN PyObject
*NumberEntryDialog_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18734 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
18735 SWIG_TypeNewClientData(SWIGTYPE_p_wxNumberEntryDialog
, SWIG_NewClientData(obj
));
18736 return SWIG_Py_Void();
18739 SWIGINTERN PyObject
*NumberEntryDialog_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18740 return SWIG_Python_InitShadowInstance(args
);
18743 SWIGINTERN PyObject
*_wrap_new_FontData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18744 PyObject
*resultobj
= 0;
18745 wxFontData
*result
= 0 ;
18747 if (!SWIG_Python_UnpackTuple(args
,"new_FontData",0,0,0)) SWIG_fail
;
18749 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18750 result
= (wxFontData
*)new wxFontData();
18751 wxPyEndAllowThreads(__tstate
);
18752 if (PyErr_Occurred()) SWIG_fail
;
18754 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFontData
, SWIG_POINTER_NEW
| 0 );
18761 SWIGINTERN PyObject
*_wrap_delete_FontData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18762 PyObject
*resultobj
= 0;
18763 wxFontData
*arg1
= (wxFontData
*) 0 ;
18766 PyObject
*swig_obj
[1] ;
18768 if (!args
) SWIG_fail
;
18769 swig_obj
[0] = args
;
18770 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFontData
, SWIG_POINTER_DISOWN
| 0 );
18771 if (!SWIG_IsOK(res1
)) {
18772 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_FontData" "', expected argument " "1"" of type '" "wxFontData *""'");
18774 arg1
= reinterpret_cast< wxFontData
* >(argp1
);
18776 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18779 wxPyEndAllowThreads(__tstate
);
18780 if (PyErr_Occurred()) SWIG_fail
;
18782 resultobj
= SWIG_Py_Void();
18789 SWIGINTERN PyObject
*_wrap_FontData_EnableEffects(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18790 PyObject
*resultobj
= 0;
18791 wxFontData
*arg1
= (wxFontData
*) 0 ;
18797 PyObject
* obj0
= 0 ;
18798 PyObject
* obj1
= 0 ;
18799 char * kwnames
[] = {
18800 (char *) "self",(char *) "enable", NULL
18803 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontData_EnableEffects",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18804 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontData
, 0 | 0 );
18805 if (!SWIG_IsOK(res1
)) {
18806 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontData_EnableEffects" "', expected argument " "1"" of type '" "wxFontData *""'");
18808 arg1
= reinterpret_cast< wxFontData
* >(argp1
);
18809 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
18810 if (!SWIG_IsOK(ecode2
)) {
18811 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "FontData_EnableEffects" "', expected argument " "2"" of type '" "bool""'");
18813 arg2
= static_cast< bool >(val2
);
18815 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18816 (arg1
)->EnableEffects(arg2
);
18817 wxPyEndAllowThreads(__tstate
);
18818 if (PyErr_Occurred()) SWIG_fail
;
18820 resultobj
= SWIG_Py_Void();
18827 SWIGINTERN PyObject
*_wrap_FontData_GetAllowSymbols(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18828 PyObject
*resultobj
= 0;
18829 wxFontData
*arg1
= (wxFontData
*) 0 ;
18833 PyObject
*swig_obj
[1] ;
18835 if (!args
) SWIG_fail
;
18836 swig_obj
[0] = args
;
18837 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFontData
, 0 | 0 );
18838 if (!SWIG_IsOK(res1
)) {
18839 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontData_GetAllowSymbols" "', expected argument " "1"" of type '" "wxFontData *""'");
18841 arg1
= reinterpret_cast< wxFontData
* >(argp1
);
18843 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18844 result
= (bool)(arg1
)->GetAllowSymbols();
18845 wxPyEndAllowThreads(__tstate
);
18846 if (PyErr_Occurred()) SWIG_fail
;
18849 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18857 SWIGINTERN PyObject
*_wrap_FontData_GetColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18858 PyObject
*resultobj
= 0;
18859 wxFontData
*arg1
= (wxFontData
*) 0 ;
18863 PyObject
*swig_obj
[1] ;
18865 if (!args
) SWIG_fail
;
18866 swig_obj
[0] = args
;
18867 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFontData
, 0 | 0 );
18868 if (!SWIG_IsOK(res1
)) {
18869 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontData_GetColour" "', expected argument " "1"" of type '" "wxFontData *""'");
18871 arg1
= reinterpret_cast< wxFontData
* >(argp1
);
18873 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18874 result
= (arg1
)->GetColour();
18875 wxPyEndAllowThreads(__tstate
);
18876 if (PyErr_Occurred()) SWIG_fail
;
18878 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
18885 SWIGINTERN PyObject
*_wrap_FontData_GetChosenFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18886 PyObject
*resultobj
= 0;
18887 wxFontData
*arg1
= (wxFontData
*) 0 ;
18891 PyObject
*swig_obj
[1] ;
18893 if (!args
) SWIG_fail
;
18894 swig_obj
[0] = args
;
18895 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFontData
, 0 | 0 );
18896 if (!SWIG_IsOK(res1
)) {
18897 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontData_GetChosenFont" "', expected argument " "1"" of type '" "wxFontData *""'");
18899 arg1
= reinterpret_cast< wxFontData
* >(argp1
);
18901 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18902 result
= (arg1
)->GetChosenFont();
18903 wxPyEndAllowThreads(__tstate
);
18904 if (PyErr_Occurred()) SWIG_fail
;
18906 resultobj
= SWIG_NewPointerObj((new wxFont(static_cast< const wxFont
& >(result
))), SWIGTYPE_p_wxFont
, SWIG_POINTER_OWN
| 0 );
18913 SWIGINTERN PyObject
*_wrap_FontData_GetEnableEffects(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18914 PyObject
*resultobj
= 0;
18915 wxFontData
*arg1
= (wxFontData
*) 0 ;
18919 PyObject
*swig_obj
[1] ;
18921 if (!args
) SWIG_fail
;
18922 swig_obj
[0] = args
;
18923 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFontData
, 0 | 0 );
18924 if (!SWIG_IsOK(res1
)) {
18925 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontData_GetEnableEffects" "', expected argument " "1"" of type '" "wxFontData *""'");
18927 arg1
= reinterpret_cast< wxFontData
* >(argp1
);
18929 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18930 result
= (bool)(arg1
)->GetEnableEffects();
18931 wxPyEndAllowThreads(__tstate
);
18932 if (PyErr_Occurred()) SWIG_fail
;
18935 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18943 SWIGINTERN PyObject
*_wrap_FontData_GetInitialFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18944 PyObject
*resultobj
= 0;
18945 wxFontData
*arg1
= (wxFontData
*) 0 ;
18949 PyObject
*swig_obj
[1] ;
18951 if (!args
) SWIG_fail
;
18952 swig_obj
[0] = args
;
18953 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFontData
, 0 | 0 );
18954 if (!SWIG_IsOK(res1
)) {
18955 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontData_GetInitialFont" "', expected argument " "1"" of type '" "wxFontData *""'");
18957 arg1
= reinterpret_cast< wxFontData
* >(argp1
);
18959 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18960 result
= (arg1
)->GetInitialFont();
18961 wxPyEndAllowThreads(__tstate
);
18962 if (PyErr_Occurred()) SWIG_fail
;
18964 resultobj
= SWIG_NewPointerObj((new wxFont(static_cast< const wxFont
& >(result
))), SWIGTYPE_p_wxFont
, SWIG_POINTER_OWN
| 0 );
18971 SWIGINTERN PyObject
*_wrap_FontData_GetShowHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18972 PyObject
*resultobj
= 0;
18973 wxFontData
*arg1
= (wxFontData
*) 0 ;
18977 PyObject
*swig_obj
[1] ;
18979 if (!args
) SWIG_fail
;
18980 swig_obj
[0] = args
;
18981 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFontData
, 0 | 0 );
18982 if (!SWIG_IsOK(res1
)) {
18983 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontData_GetShowHelp" "', expected argument " "1"" of type '" "wxFontData *""'");
18985 arg1
= reinterpret_cast< wxFontData
* >(argp1
);
18987 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18988 result
= (bool)(arg1
)->GetShowHelp();
18989 wxPyEndAllowThreads(__tstate
);
18990 if (PyErr_Occurred()) SWIG_fail
;
18993 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19001 SWIGINTERN PyObject
*_wrap_FontData_SetAllowSymbols(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19002 PyObject
*resultobj
= 0;
19003 wxFontData
*arg1
= (wxFontData
*) 0 ;
19009 PyObject
* obj0
= 0 ;
19010 PyObject
* obj1
= 0 ;
19011 char * kwnames
[] = {
19012 (char *) "self",(char *) "allowSymbols", NULL
19015 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontData_SetAllowSymbols",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19016 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontData
, 0 | 0 );
19017 if (!SWIG_IsOK(res1
)) {
19018 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontData_SetAllowSymbols" "', expected argument " "1"" of type '" "wxFontData *""'");
19020 arg1
= reinterpret_cast< wxFontData
* >(argp1
);
19021 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
19022 if (!SWIG_IsOK(ecode2
)) {
19023 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "FontData_SetAllowSymbols" "', expected argument " "2"" of type '" "bool""'");
19025 arg2
= static_cast< bool >(val2
);
19027 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19028 (arg1
)->SetAllowSymbols(arg2
);
19029 wxPyEndAllowThreads(__tstate
);
19030 if (PyErr_Occurred()) SWIG_fail
;
19032 resultobj
= SWIG_Py_Void();
19039 SWIGINTERN PyObject
*_wrap_FontData_SetChosenFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19040 PyObject
*resultobj
= 0;
19041 wxFontData
*arg1
= (wxFontData
*) 0 ;
19047 PyObject
* obj0
= 0 ;
19048 PyObject
* obj1
= 0 ;
19049 char * kwnames
[] = {
19050 (char *) "self",(char *) "font", NULL
19053 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontData_SetChosenFont",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19054 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontData
, 0 | 0 );
19055 if (!SWIG_IsOK(res1
)) {
19056 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontData_SetChosenFont" "', expected argument " "1"" of type '" "wxFontData *""'");
19058 arg1
= reinterpret_cast< wxFontData
* >(argp1
);
19059 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxFont
, 0 | 0);
19060 if (!SWIG_IsOK(res2
)) {
19061 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "FontData_SetChosenFont" "', expected argument " "2"" of type '" "wxFont const &""'");
19064 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "FontData_SetChosenFont" "', expected argument " "2"" of type '" "wxFont const &""'");
19066 arg2
= reinterpret_cast< wxFont
* >(argp2
);
19068 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19069 (arg1
)->SetChosenFont((wxFont
const &)*arg2
);
19070 wxPyEndAllowThreads(__tstate
);
19071 if (PyErr_Occurred()) SWIG_fail
;
19073 resultobj
= SWIG_Py_Void();
19080 SWIGINTERN PyObject
*_wrap_FontData_SetColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19081 PyObject
*resultobj
= 0;
19082 wxFontData
*arg1
= (wxFontData
*) 0 ;
19083 wxColour
*arg2
= 0 ;
19087 PyObject
* obj0
= 0 ;
19088 PyObject
* obj1
= 0 ;
19089 char * kwnames
[] = {
19090 (char *) "self",(char *) "colour", NULL
19093 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontData_SetColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19094 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontData
, 0 | 0 );
19095 if (!SWIG_IsOK(res1
)) {
19096 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontData_SetColour" "', expected argument " "1"" of type '" "wxFontData *""'");
19098 arg1
= reinterpret_cast< wxFontData
* >(argp1
);
19101 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
19104 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19105 (arg1
)->SetColour((wxColour
const &)*arg2
);
19106 wxPyEndAllowThreads(__tstate
);
19107 if (PyErr_Occurred()) SWIG_fail
;
19109 resultobj
= SWIG_Py_Void();
19116 SWIGINTERN PyObject
*_wrap_FontData_SetInitialFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19117 PyObject
*resultobj
= 0;
19118 wxFontData
*arg1
= (wxFontData
*) 0 ;
19124 PyObject
* obj0
= 0 ;
19125 PyObject
* obj1
= 0 ;
19126 char * kwnames
[] = {
19127 (char *) "self",(char *) "font", NULL
19130 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontData_SetInitialFont",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19131 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontData
, 0 | 0 );
19132 if (!SWIG_IsOK(res1
)) {
19133 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontData_SetInitialFont" "', expected argument " "1"" of type '" "wxFontData *""'");
19135 arg1
= reinterpret_cast< wxFontData
* >(argp1
);
19136 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxFont
, 0 | 0);
19137 if (!SWIG_IsOK(res2
)) {
19138 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "FontData_SetInitialFont" "', expected argument " "2"" of type '" "wxFont const &""'");
19141 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "FontData_SetInitialFont" "', expected argument " "2"" of type '" "wxFont const &""'");
19143 arg2
= reinterpret_cast< wxFont
* >(argp2
);
19145 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19146 (arg1
)->SetInitialFont((wxFont
const &)*arg2
);
19147 wxPyEndAllowThreads(__tstate
);
19148 if (PyErr_Occurred()) SWIG_fail
;
19150 resultobj
= SWIG_Py_Void();
19157 SWIGINTERN PyObject
*_wrap_FontData_SetRange(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19158 PyObject
*resultobj
= 0;
19159 wxFontData
*arg1
= (wxFontData
*) 0 ;
19168 PyObject
* obj0
= 0 ;
19169 PyObject
* obj1
= 0 ;
19170 PyObject
* obj2
= 0 ;
19171 char * kwnames
[] = {
19172 (char *) "self",(char *) "min",(char *) "max", NULL
19175 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:FontData_SetRange",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
19176 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontData
, 0 | 0 );
19177 if (!SWIG_IsOK(res1
)) {
19178 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontData_SetRange" "', expected argument " "1"" of type '" "wxFontData *""'");
19180 arg1
= reinterpret_cast< wxFontData
* >(argp1
);
19181 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
19182 if (!SWIG_IsOK(ecode2
)) {
19183 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "FontData_SetRange" "', expected argument " "2"" of type '" "int""'");
19185 arg2
= static_cast< int >(val2
);
19186 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
19187 if (!SWIG_IsOK(ecode3
)) {
19188 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "FontData_SetRange" "', expected argument " "3"" of type '" "int""'");
19190 arg3
= static_cast< int >(val3
);
19192 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19193 (arg1
)->SetRange(arg2
,arg3
);
19194 wxPyEndAllowThreads(__tstate
);
19195 if (PyErr_Occurred()) SWIG_fail
;
19197 resultobj
= SWIG_Py_Void();
19204 SWIGINTERN PyObject
*_wrap_FontData_SetShowHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19205 PyObject
*resultobj
= 0;
19206 wxFontData
*arg1
= (wxFontData
*) 0 ;
19212 PyObject
* obj0
= 0 ;
19213 PyObject
* obj1
= 0 ;
19214 char * kwnames
[] = {
19215 (char *) "self",(char *) "showHelp", NULL
19218 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontData_SetShowHelp",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19219 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontData
, 0 | 0 );
19220 if (!SWIG_IsOK(res1
)) {
19221 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontData_SetShowHelp" "', expected argument " "1"" of type '" "wxFontData *""'");
19223 arg1
= reinterpret_cast< wxFontData
* >(argp1
);
19224 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
19225 if (!SWIG_IsOK(ecode2
)) {
19226 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "FontData_SetShowHelp" "', expected argument " "2"" of type '" "bool""'");
19228 arg2
= static_cast< bool >(val2
);
19230 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19231 (arg1
)->SetShowHelp(arg2
);
19232 wxPyEndAllowThreads(__tstate
);
19233 if (PyErr_Occurred()) SWIG_fail
;
19235 resultobj
= SWIG_Py_Void();
19242 SWIGINTERN PyObject
*FontData_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19244 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
19245 SWIG_TypeNewClientData(SWIGTYPE_p_wxFontData
, SWIG_NewClientData(obj
));
19246 return SWIG_Py_Void();
19249 SWIGINTERN PyObject
*FontData_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19250 return SWIG_Python_InitShadowInstance(args
);
19253 SWIGINTERN PyObject
*_wrap_new_FontDialog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19254 PyObject
*resultobj
= 0;
19255 wxWindow
*arg1
= (wxWindow
*) 0 ;
19256 wxFontData
*arg2
= 0 ;
19257 wxFontDialog
*result
= 0 ;
19262 PyObject
* obj0
= 0 ;
19263 PyObject
* obj1
= 0 ;
19264 char * kwnames
[] = {
19265 (char *) "parent",(char *) "data", NULL
19268 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_FontDialog",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19269 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
19270 if (!SWIG_IsOK(res1
)) {
19271 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_FontDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
19273 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
19274 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxFontData
, 0 | 0);
19275 if (!SWIG_IsOK(res2
)) {
19276 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_FontDialog" "', expected argument " "2"" of type '" "wxFontData const &""'");
19279 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_FontDialog" "', expected argument " "2"" of type '" "wxFontData const &""'");
19281 arg2
= reinterpret_cast< wxFontData
* >(argp2
);
19283 if (!wxPyCheckForApp()) SWIG_fail
;
19284 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19285 result
= (wxFontDialog
*)new wxFontDialog(arg1
,(wxFontData
const &)*arg2
);
19286 wxPyEndAllowThreads(__tstate
);
19287 if (PyErr_Occurred()) SWIG_fail
;
19289 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFontDialog
, SWIG_POINTER_NEW
| 0 );
19296 SWIGINTERN PyObject
*_wrap_FontDialog_GetFontData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19297 PyObject
*resultobj
= 0;
19298 wxFontDialog
*arg1
= (wxFontDialog
*) 0 ;
19299 wxFontData
*result
= 0 ;
19302 PyObject
*swig_obj
[1] ;
19304 if (!args
) SWIG_fail
;
19305 swig_obj
[0] = args
;
19306 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFontDialog
, 0 | 0 );
19307 if (!SWIG_IsOK(res1
)) {
19308 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontDialog_GetFontData" "', expected argument " "1"" of type '" "wxFontDialog *""'");
19310 arg1
= reinterpret_cast< wxFontDialog
* >(argp1
);
19312 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19314 wxFontData
&_result_ref
= (arg1
)->GetFontData();
19315 result
= (wxFontData
*) &_result_ref
;
19317 wxPyEndAllowThreads(__tstate
);
19318 if (PyErr_Occurred()) SWIG_fail
;
19320 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFontData
, 0 | 0 );
19327 SWIGINTERN PyObject
*FontDialog_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19329 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
19330 SWIG_TypeNewClientData(SWIGTYPE_p_wxFontDialog
, SWIG_NewClientData(obj
));
19331 return SWIG_Py_Void();
19334 SWIGINTERN PyObject
*FontDialog_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19335 return SWIG_Python_InitShadowInstance(args
);
19338 SWIGINTERN PyObject
*_wrap_GetFontFromUser(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19339 PyObject
*resultobj
= 0;
19340 wxWindow
*arg1
= (wxWindow
*) NULL
;
19341 wxFont
const &arg2_defvalue
= wxNullFont
;
19342 wxFont
*arg2
= (wxFont
*) &arg2_defvalue
;
19343 wxString
const &arg3_defvalue
= wxPyEmptyString
;
19344 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
19350 bool temp3
= false ;
19351 PyObject
* obj0
= 0 ;
19352 PyObject
* obj1
= 0 ;
19353 PyObject
* obj2
= 0 ;
19354 char * kwnames
[] = {
19355 (char *) "parent",(char *) "fontInit",(char *) "caption", NULL
19358 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:GetFontFromUser",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
19360 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
19361 if (!SWIG_IsOK(res1
)) {
19362 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GetFontFromUser" "', expected argument " "1"" of type '" "wxWindow *""'");
19364 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
19367 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxFont
, 0 | 0);
19368 if (!SWIG_IsOK(res2
)) {
19369 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GetFontFromUser" "', expected argument " "2"" of type '" "wxFont const &""'");
19372 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GetFontFromUser" "', expected argument " "2"" of type '" "wxFont const &""'");
19374 arg2
= reinterpret_cast< wxFont
* >(argp2
);
19378 arg3
= wxString_in_helper(obj2
);
19379 if (arg3
== NULL
) SWIG_fail
;
19384 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19385 result
= wxGetFontFromUser(arg1
,(wxFont
const &)*arg2
,(wxString
const &)*arg3
);
19386 wxPyEndAllowThreads(__tstate
);
19387 if (PyErr_Occurred()) SWIG_fail
;
19389 resultobj
= SWIG_NewPointerObj((new wxFont(static_cast< const wxFont
& >(result
))), SWIGTYPE_p_wxFont
, SWIG_POINTER_OWN
| 0 );
19404 SWIGINTERN PyObject
*_wrap_new_MessageDialog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19405 PyObject
*resultobj
= 0;
19406 wxWindow
*arg1
= (wxWindow
*) 0 ;
19407 wxString
*arg2
= 0 ;
19408 wxString
const &arg3_defvalue
= wxPyMessageBoxCaptionStr
;
19409 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
19410 long arg4
= (long) wxOK
|wxCANCEL
|wxCENTRE
;
19411 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
19412 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
19413 wxMessageDialog
*result
= 0 ;
19416 bool temp2
= false ;
19417 bool temp3
= false ;
19421 PyObject
* obj0
= 0 ;
19422 PyObject
* obj1
= 0 ;
19423 PyObject
* obj2
= 0 ;
19424 PyObject
* obj3
= 0 ;
19425 PyObject
* obj4
= 0 ;
19426 char * kwnames
[] = {
19427 (char *) "parent",(char *) "message",(char *) "caption",(char *) "style",(char *) "pos", NULL
19430 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:new_MessageDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
19431 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
19432 if (!SWIG_IsOK(res1
)) {
19433 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_MessageDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
19435 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
19437 arg2
= wxString_in_helper(obj1
);
19438 if (arg2
== NULL
) SWIG_fail
;
19443 arg3
= wxString_in_helper(obj2
);
19444 if (arg3
== NULL
) SWIG_fail
;
19449 ecode4
= SWIG_AsVal_long(obj3
, &val4
);
19450 if (!SWIG_IsOK(ecode4
)) {
19451 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_MessageDialog" "', expected argument " "4"" of type '" "long""'");
19453 arg4
= static_cast< long >(val4
);
19458 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
19462 if (!wxPyCheckForApp()) SWIG_fail
;
19463 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19464 result
= (wxMessageDialog
*)new wxMessageDialog(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
,(wxPoint
const &)*arg5
);
19465 wxPyEndAllowThreads(__tstate
);
19466 if (PyErr_Occurred()) SWIG_fail
;
19468 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMessageDialog
, SWIG_POINTER_NEW
| 0 );
19491 SWIGINTERN PyObject
*MessageDialog_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19493 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
19494 SWIG_TypeNewClientData(SWIGTYPE_p_wxMessageDialog
, SWIG_NewClientData(obj
));
19495 return SWIG_Py_Void();
19498 SWIGINTERN PyObject
*MessageDialog_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19499 return SWIG_Python_InitShadowInstance(args
);
19502 SWIGINTERN PyObject
*_wrap_new_ProgressDialog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19503 PyObject
*resultobj
= 0;
19504 wxString
*arg1
= 0 ;
19505 wxString
*arg2
= 0 ;
19506 int arg3
= (int) 100 ;
19507 wxWindow
*arg4
= (wxWindow
*) NULL
;
19508 int arg5
= (int) wxPD_AUTO_HIDE
|wxPD_APP_MODAL
;
19509 wxProgressDialog
*result
= 0 ;
19510 bool temp1
= false ;
19511 bool temp2
= false ;
19518 PyObject
* obj0
= 0 ;
19519 PyObject
* obj1
= 0 ;
19520 PyObject
* obj2
= 0 ;
19521 PyObject
* obj3
= 0 ;
19522 PyObject
* obj4
= 0 ;
19523 char * kwnames
[] = {
19524 (char *) "title",(char *) "message",(char *) "maximum",(char *) "parent",(char *) "style", NULL
19527 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:new_ProgressDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
19529 arg1
= wxString_in_helper(obj0
);
19530 if (arg1
== NULL
) SWIG_fail
;
19534 arg2
= wxString_in_helper(obj1
);
19535 if (arg2
== NULL
) SWIG_fail
;
19539 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
19540 if (!SWIG_IsOK(ecode3
)) {
19541 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_ProgressDialog" "', expected argument " "3"" of type '" "int""'");
19543 arg3
= static_cast< int >(val3
);
19546 res4
= SWIG_ConvertPtr(obj3
, &argp4
,SWIGTYPE_p_wxWindow
, 0 | 0 );
19547 if (!SWIG_IsOK(res4
)) {
19548 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "new_ProgressDialog" "', expected argument " "4"" of type '" "wxWindow *""'");
19550 arg4
= reinterpret_cast< wxWindow
* >(argp4
);
19553 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
19554 if (!SWIG_IsOK(ecode5
)) {
19555 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_ProgressDialog" "', expected argument " "5"" of type '" "int""'");
19557 arg5
= static_cast< int >(val5
);
19560 if (!wxPyCheckForApp()) SWIG_fail
;
19561 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19562 result
= (wxProgressDialog
*)new wxProgressDialog((wxString
const &)*arg1
,(wxString
const &)*arg2
,arg3
,arg4
,arg5
);
19563 wxPyEndAllowThreads(__tstate
);
19564 if (PyErr_Occurred()) SWIG_fail
;
19566 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxProgressDialog
, SWIG_POINTER_NEW
| 0 );
19589 SWIGINTERN PyObject
*_wrap_ProgressDialog_Update(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19590 PyObject
*resultobj
= 0;
19591 wxProgressDialog
*arg1
= (wxProgressDialog
*) 0 ;
19593 wxString
const &arg3_defvalue
= wxPyEmptyString
;
19594 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
19595 bool *arg4
= (bool *) 0 ;
19601 bool temp3
= false ;
19603 int res4
= SWIG_TMPOBJ
;
19604 PyObject
* obj0
= 0 ;
19605 PyObject
* obj1
= 0 ;
19606 PyObject
* obj2
= 0 ;
19607 char * kwnames
[] = {
19608 (char *) "self",(char *) "value",(char *) "newmsg", NULL
19612 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ProgressDialog_Update",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
19613 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxProgressDialog
, 0 | 0 );
19614 if (!SWIG_IsOK(res1
)) {
19615 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ProgressDialog_Update" "', expected argument " "1"" of type '" "wxProgressDialog *""'");
19617 arg1
= reinterpret_cast< wxProgressDialog
* >(argp1
);
19618 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
19619 if (!SWIG_IsOK(ecode2
)) {
19620 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ProgressDialog_Update" "', expected argument " "2"" of type '" "int""'");
19622 arg2
= static_cast< int >(val2
);
19625 arg3
= wxString_in_helper(obj2
);
19626 if (arg3
== NULL
) SWIG_fail
;
19631 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19632 result
= (bool)(arg1
)->Update(arg2
,(wxString
const &)*arg3
,arg4
);
19633 wxPyEndAllowThreads(__tstate
);
19634 if (PyErr_Occurred()) SWIG_fail
;
19637 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19639 if (SWIG_IsTmpObj(res4
)) {
19640 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_bool((*arg4
)));
19642 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
19643 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_bool
, new_flags
));
19659 SWIGINTERN PyObject
*_wrap_ProgressDialog_Pulse(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19660 PyObject
*resultobj
= 0;
19661 wxProgressDialog
*arg1
= (wxProgressDialog
*) 0 ;
19662 wxString
const &arg2_defvalue
= wxPyEmptyString
;
19663 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
19664 bool *arg3
= (bool *) 0 ;
19668 bool temp2
= false ;
19670 int res3
= SWIG_TMPOBJ
;
19671 PyObject
* obj0
= 0 ;
19672 PyObject
* obj1
= 0 ;
19673 char * kwnames
[] = {
19674 (char *) "self",(char *) "newmsg", NULL
19678 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ProgressDialog_Pulse",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19679 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxProgressDialog
, 0 | 0 );
19680 if (!SWIG_IsOK(res1
)) {
19681 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ProgressDialog_Pulse" "', expected argument " "1"" of type '" "wxProgressDialog *""'");
19683 arg1
= reinterpret_cast< wxProgressDialog
* >(argp1
);
19686 arg2
= wxString_in_helper(obj1
);
19687 if (arg2
== NULL
) SWIG_fail
;
19692 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19693 result
= (bool)(arg1
)->Pulse((wxString
const &)*arg2
,arg3
);
19694 wxPyEndAllowThreads(__tstate
);
19695 if (PyErr_Occurred()) SWIG_fail
;
19698 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19700 if (SWIG_IsTmpObj(res3
)) {
19701 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_bool((*arg3
)));
19703 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
19704 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_bool
, new_flags
));
19720 SWIGINTERN PyObject
*_wrap_ProgressDialog_Resume(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19721 PyObject
*resultobj
= 0;
19722 wxProgressDialog
*arg1
= (wxProgressDialog
*) 0 ;
19725 PyObject
*swig_obj
[1] ;
19727 if (!args
) SWIG_fail
;
19728 swig_obj
[0] = args
;
19729 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxProgressDialog
, 0 | 0 );
19730 if (!SWIG_IsOK(res1
)) {
19731 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ProgressDialog_Resume" "', expected argument " "1"" of type '" "wxProgressDialog *""'");
19733 arg1
= reinterpret_cast< wxProgressDialog
* >(argp1
);
19735 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19737 wxPyEndAllowThreads(__tstate
);
19738 if (PyErr_Occurred()) SWIG_fail
;
19740 resultobj
= SWIG_Py_Void();
19747 SWIGINTERN PyObject
*ProgressDialog_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19749 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
19750 SWIG_TypeNewClientData(SWIGTYPE_p_wxProgressDialog
, SWIG_NewClientData(obj
));
19751 return SWIG_Py_Void();
19754 SWIGINTERN PyObject
*ProgressDialog_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19755 return SWIG_Python_InitShadowInstance(args
);
19758 SWIGINTERN PyObject
*_wrap_new_FindDialogEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19759 PyObject
*resultobj
= 0;
19760 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
19761 int arg2
= (int) 0 ;
19762 wxFindDialogEvent
*result
= 0 ;
19767 PyObject
* obj0
= 0 ;
19768 PyObject
* obj1
= 0 ;
19769 char * kwnames
[] = {
19770 (char *) "commandType",(char *) "id", NULL
19773 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_FindDialogEvent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19775 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
19776 if (!SWIG_IsOK(ecode1
)) {
19777 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_FindDialogEvent" "', expected argument " "1"" of type '" "wxEventType""'");
19779 arg1
= static_cast< wxEventType
>(val1
);
19782 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
19783 if (!SWIG_IsOK(ecode2
)) {
19784 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_FindDialogEvent" "', expected argument " "2"" of type '" "int""'");
19786 arg2
= static_cast< int >(val2
);
19789 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19790 result
= (wxFindDialogEvent
*)new wxFindDialogEvent(arg1
,arg2
);
19791 wxPyEndAllowThreads(__tstate
);
19792 if (PyErr_Occurred()) SWIG_fail
;
19794 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFindDialogEvent
, SWIG_POINTER_NEW
| 0 );
19801 SWIGINTERN PyObject
*_wrap_FindDialogEvent_GetFlags(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19802 PyObject
*resultobj
= 0;
19803 wxFindDialogEvent
*arg1
= (wxFindDialogEvent
*) 0 ;
19807 PyObject
*swig_obj
[1] ;
19809 if (!args
) SWIG_fail
;
19810 swig_obj
[0] = args
;
19811 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFindDialogEvent
, 0 | 0 );
19812 if (!SWIG_IsOK(res1
)) {
19813 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FindDialogEvent_GetFlags" "', expected argument " "1"" of type '" "wxFindDialogEvent *""'");
19815 arg1
= reinterpret_cast< wxFindDialogEvent
* >(argp1
);
19817 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19818 result
= (int)(arg1
)->GetFlags();
19819 wxPyEndAllowThreads(__tstate
);
19820 if (PyErr_Occurred()) SWIG_fail
;
19822 resultobj
= SWIG_From_int(static_cast< int >(result
));
19829 SWIGINTERN PyObject
*_wrap_FindDialogEvent_GetFindString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19830 PyObject
*resultobj
= 0;
19831 wxFindDialogEvent
*arg1
= (wxFindDialogEvent
*) 0 ;
19832 wxString
*result
= 0 ;
19835 PyObject
*swig_obj
[1] ;
19837 if (!args
) SWIG_fail
;
19838 swig_obj
[0] = args
;
19839 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFindDialogEvent
, 0 | 0 );
19840 if (!SWIG_IsOK(res1
)) {
19841 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FindDialogEvent_GetFindString" "', expected argument " "1"" of type '" "wxFindDialogEvent *""'");
19843 arg1
= reinterpret_cast< wxFindDialogEvent
* >(argp1
);
19845 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19847 wxString
const &_result_ref
= (arg1
)->GetFindString();
19848 result
= (wxString
*) &_result_ref
;
19850 wxPyEndAllowThreads(__tstate
);
19851 if (PyErr_Occurred()) SWIG_fail
;
19855 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
19857 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
19866 SWIGINTERN PyObject
*_wrap_FindDialogEvent_GetReplaceString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19867 PyObject
*resultobj
= 0;
19868 wxFindDialogEvent
*arg1
= (wxFindDialogEvent
*) 0 ;
19869 wxString
*result
= 0 ;
19872 PyObject
*swig_obj
[1] ;
19874 if (!args
) SWIG_fail
;
19875 swig_obj
[0] = args
;
19876 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFindDialogEvent
, 0 | 0 );
19877 if (!SWIG_IsOK(res1
)) {
19878 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FindDialogEvent_GetReplaceString" "', expected argument " "1"" of type '" "wxFindDialogEvent *""'");
19880 arg1
= reinterpret_cast< wxFindDialogEvent
* >(argp1
);
19882 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19884 wxString
const &_result_ref
= (arg1
)->GetReplaceString();
19885 result
= (wxString
*) &_result_ref
;
19887 wxPyEndAllowThreads(__tstate
);
19888 if (PyErr_Occurred()) SWIG_fail
;
19892 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
19894 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
19903 SWIGINTERN PyObject
*_wrap_FindDialogEvent_GetDialog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19904 PyObject
*resultobj
= 0;
19905 wxFindDialogEvent
*arg1
= (wxFindDialogEvent
*) 0 ;
19906 wxFindReplaceDialog
*result
= 0 ;
19909 PyObject
*swig_obj
[1] ;
19911 if (!args
) SWIG_fail
;
19912 swig_obj
[0] = args
;
19913 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFindDialogEvent
, 0 | 0 );
19914 if (!SWIG_IsOK(res1
)) {
19915 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FindDialogEvent_GetDialog" "', expected argument " "1"" of type '" "wxFindDialogEvent *""'");
19917 arg1
= reinterpret_cast< wxFindDialogEvent
* >(argp1
);
19919 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19920 result
= (wxFindReplaceDialog
*)(arg1
)->GetDialog();
19921 wxPyEndAllowThreads(__tstate
);
19922 if (PyErr_Occurred()) SWIG_fail
;
19924 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFindReplaceDialog
, 0 | 0 );
19931 SWIGINTERN PyObject
*_wrap_FindDialogEvent_SetFlags(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19932 PyObject
*resultobj
= 0;
19933 wxFindDialogEvent
*arg1
= (wxFindDialogEvent
*) 0 ;
19939 PyObject
* obj0
= 0 ;
19940 PyObject
* obj1
= 0 ;
19941 char * kwnames
[] = {
19942 (char *) "self",(char *) "flags", NULL
19945 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FindDialogEvent_SetFlags",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19946 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFindDialogEvent
, 0 | 0 );
19947 if (!SWIG_IsOK(res1
)) {
19948 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FindDialogEvent_SetFlags" "', expected argument " "1"" of type '" "wxFindDialogEvent *""'");
19950 arg1
= reinterpret_cast< wxFindDialogEvent
* >(argp1
);
19951 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
19952 if (!SWIG_IsOK(ecode2
)) {
19953 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "FindDialogEvent_SetFlags" "', expected argument " "2"" of type '" "int""'");
19955 arg2
= static_cast< int >(val2
);
19957 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19958 (arg1
)->SetFlags(arg2
);
19959 wxPyEndAllowThreads(__tstate
);
19960 if (PyErr_Occurred()) SWIG_fail
;
19962 resultobj
= SWIG_Py_Void();
19969 SWIGINTERN PyObject
*_wrap_FindDialogEvent_SetFindString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19970 PyObject
*resultobj
= 0;
19971 wxFindDialogEvent
*arg1
= (wxFindDialogEvent
*) 0 ;
19972 wxString
*arg2
= 0 ;
19975 bool temp2
= false ;
19976 PyObject
* obj0
= 0 ;
19977 PyObject
* obj1
= 0 ;
19978 char * kwnames
[] = {
19979 (char *) "self",(char *) "str", NULL
19982 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FindDialogEvent_SetFindString",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19983 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFindDialogEvent
, 0 | 0 );
19984 if (!SWIG_IsOK(res1
)) {
19985 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FindDialogEvent_SetFindString" "', expected argument " "1"" of type '" "wxFindDialogEvent *""'");
19987 arg1
= reinterpret_cast< wxFindDialogEvent
* >(argp1
);
19989 arg2
= wxString_in_helper(obj1
);
19990 if (arg2
== NULL
) SWIG_fail
;
19994 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19995 (arg1
)->SetFindString((wxString
const &)*arg2
);
19996 wxPyEndAllowThreads(__tstate
);
19997 if (PyErr_Occurred()) SWIG_fail
;
19999 resultobj
= SWIG_Py_Void();
20014 SWIGINTERN PyObject
*_wrap_FindDialogEvent_SetReplaceString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20015 PyObject
*resultobj
= 0;
20016 wxFindDialogEvent
*arg1
= (wxFindDialogEvent
*) 0 ;
20017 wxString
*arg2
= 0 ;
20020 bool temp2
= false ;
20021 PyObject
* obj0
= 0 ;
20022 PyObject
* obj1
= 0 ;
20023 char * kwnames
[] = {
20024 (char *) "self",(char *) "str", NULL
20027 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FindDialogEvent_SetReplaceString",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20028 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFindDialogEvent
, 0 | 0 );
20029 if (!SWIG_IsOK(res1
)) {
20030 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FindDialogEvent_SetReplaceString" "', expected argument " "1"" of type '" "wxFindDialogEvent *""'");
20032 arg1
= reinterpret_cast< wxFindDialogEvent
* >(argp1
);
20034 arg2
= wxString_in_helper(obj1
);
20035 if (arg2
== NULL
) SWIG_fail
;
20039 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20040 (arg1
)->SetReplaceString((wxString
const &)*arg2
);
20041 wxPyEndAllowThreads(__tstate
);
20042 if (PyErr_Occurred()) SWIG_fail
;
20044 resultobj
= SWIG_Py_Void();
20059 SWIGINTERN PyObject
*FindDialogEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20061 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
20062 SWIG_TypeNewClientData(SWIGTYPE_p_wxFindDialogEvent
, SWIG_NewClientData(obj
));
20063 return SWIG_Py_Void();
20066 SWIGINTERN PyObject
*FindDialogEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20067 return SWIG_Python_InitShadowInstance(args
);
20070 SWIGINTERN PyObject
*_wrap_new_FindReplaceData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20071 PyObject
*resultobj
= 0;
20072 int arg1
= (int) 0 ;
20073 wxFindReplaceData
*result
= 0 ;
20076 PyObject
* obj0
= 0 ;
20077 char * kwnames
[] = {
20078 (char *) "flags", NULL
20081 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_FindReplaceData",kwnames
,&obj0
)) SWIG_fail
;
20083 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
20084 if (!SWIG_IsOK(ecode1
)) {
20085 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_FindReplaceData" "', expected argument " "1"" of type '" "int""'");
20087 arg1
= static_cast< int >(val1
);
20090 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20091 result
= (wxFindReplaceData
*)new wxFindReplaceData(arg1
);
20092 wxPyEndAllowThreads(__tstate
);
20093 if (PyErr_Occurred()) SWIG_fail
;
20095 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFindReplaceData
, SWIG_POINTER_NEW
| 0 );
20102 SWIGINTERN PyObject
*_wrap_delete_FindReplaceData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20103 PyObject
*resultobj
= 0;
20104 wxFindReplaceData
*arg1
= (wxFindReplaceData
*) 0 ;
20107 PyObject
*swig_obj
[1] ;
20109 if (!args
) SWIG_fail
;
20110 swig_obj
[0] = args
;
20111 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFindReplaceData
, SWIG_POINTER_DISOWN
| 0 );
20112 if (!SWIG_IsOK(res1
)) {
20113 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_FindReplaceData" "', expected argument " "1"" of type '" "wxFindReplaceData *""'");
20115 arg1
= reinterpret_cast< wxFindReplaceData
* >(argp1
);
20117 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20120 wxPyEndAllowThreads(__tstate
);
20121 if (PyErr_Occurred()) SWIG_fail
;
20123 resultobj
= SWIG_Py_Void();
20130 SWIGINTERN PyObject
*_wrap_FindReplaceData_GetFindString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20131 PyObject
*resultobj
= 0;
20132 wxFindReplaceData
*arg1
= (wxFindReplaceData
*) 0 ;
20133 wxString
*result
= 0 ;
20136 PyObject
*swig_obj
[1] ;
20138 if (!args
) SWIG_fail
;
20139 swig_obj
[0] = args
;
20140 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFindReplaceData
, 0 | 0 );
20141 if (!SWIG_IsOK(res1
)) {
20142 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FindReplaceData_GetFindString" "', expected argument " "1"" of type '" "wxFindReplaceData *""'");
20144 arg1
= reinterpret_cast< wxFindReplaceData
* >(argp1
);
20146 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20148 wxString
const &_result_ref
= (arg1
)->GetFindString();
20149 result
= (wxString
*) &_result_ref
;
20151 wxPyEndAllowThreads(__tstate
);
20152 if (PyErr_Occurred()) SWIG_fail
;
20156 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
20158 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
20167 SWIGINTERN PyObject
*_wrap_FindReplaceData_GetReplaceString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20168 PyObject
*resultobj
= 0;
20169 wxFindReplaceData
*arg1
= (wxFindReplaceData
*) 0 ;
20170 wxString
*result
= 0 ;
20173 PyObject
*swig_obj
[1] ;
20175 if (!args
) SWIG_fail
;
20176 swig_obj
[0] = args
;
20177 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFindReplaceData
, 0 | 0 );
20178 if (!SWIG_IsOK(res1
)) {
20179 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FindReplaceData_GetReplaceString" "', expected argument " "1"" of type '" "wxFindReplaceData *""'");
20181 arg1
= reinterpret_cast< wxFindReplaceData
* >(argp1
);
20183 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20185 wxString
const &_result_ref
= (arg1
)->GetReplaceString();
20186 result
= (wxString
*) &_result_ref
;
20188 wxPyEndAllowThreads(__tstate
);
20189 if (PyErr_Occurred()) SWIG_fail
;
20193 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
20195 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
20204 SWIGINTERN PyObject
*_wrap_FindReplaceData_GetFlags(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20205 PyObject
*resultobj
= 0;
20206 wxFindReplaceData
*arg1
= (wxFindReplaceData
*) 0 ;
20210 PyObject
*swig_obj
[1] ;
20212 if (!args
) SWIG_fail
;
20213 swig_obj
[0] = args
;
20214 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFindReplaceData
, 0 | 0 );
20215 if (!SWIG_IsOK(res1
)) {
20216 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FindReplaceData_GetFlags" "', expected argument " "1"" of type '" "wxFindReplaceData *""'");
20218 arg1
= reinterpret_cast< wxFindReplaceData
* >(argp1
);
20220 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20221 result
= (int)(arg1
)->GetFlags();
20222 wxPyEndAllowThreads(__tstate
);
20223 if (PyErr_Occurred()) SWIG_fail
;
20225 resultobj
= SWIG_From_int(static_cast< int >(result
));
20232 SWIGINTERN PyObject
*_wrap_FindReplaceData_SetFlags(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20233 PyObject
*resultobj
= 0;
20234 wxFindReplaceData
*arg1
= (wxFindReplaceData
*) 0 ;
20240 PyObject
* obj0
= 0 ;
20241 PyObject
* obj1
= 0 ;
20242 char * kwnames
[] = {
20243 (char *) "self",(char *) "flags", NULL
20246 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FindReplaceData_SetFlags",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20247 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFindReplaceData
, 0 | 0 );
20248 if (!SWIG_IsOK(res1
)) {
20249 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FindReplaceData_SetFlags" "', expected argument " "1"" of type '" "wxFindReplaceData *""'");
20251 arg1
= reinterpret_cast< wxFindReplaceData
* >(argp1
);
20252 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
20253 if (!SWIG_IsOK(ecode2
)) {
20254 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "FindReplaceData_SetFlags" "', expected argument " "2"" of type '" "int""'");
20256 arg2
= static_cast< int >(val2
);
20258 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20259 (arg1
)->SetFlags(arg2
);
20260 wxPyEndAllowThreads(__tstate
);
20261 if (PyErr_Occurred()) SWIG_fail
;
20263 resultobj
= SWIG_Py_Void();
20270 SWIGINTERN PyObject
*_wrap_FindReplaceData_SetFindString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20271 PyObject
*resultobj
= 0;
20272 wxFindReplaceData
*arg1
= (wxFindReplaceData
*) 0 ;
20273 wxString
*arg2
= 0 ;
20276 bool temp2
= false ;
20277 PyObject
* obj0
= 0 ;
20278 PyObject
* obj1
= 0 ;
20279 char * kwnames
[] = {
20280 (char *) "self",(char *) "str", NULL
20283 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FindReplaceData_SetFindString",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20284 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFindReplaceData
, 0 | 0 );
20285 if (!SWIG_IsOK(res1
)) {
20286 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FindReplaceData_SetFindString" "', expected argument " "1"" of type '" "wxFindReplaceData *""'");
20288 arg1
= reinterpret_cast< wxFindReplaceData
* >(argp1
);
20290 arg2
= wxString_in_helper(obj1
);
20291 if (arg2
== NULL
) SWIG_fail
;
20295 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20296 (arg1
)->SetFindString((wxString
const &)*arg2
);
20297 wxPyEndAllowThreads(__tstate
);
20298 if (PyErr_Occurred()) SWIG_fail
;
20300 resultobj
= SWIG_Py_Void();
20315 SWIGINTERN PyObject
*_wrap_FindReplaceData_SetReplaceString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20316 PyObject
*resultobj
= 0;
20317 wxFindReplaceData
*arg1
= (wxFindReplaceData
*) 0 ;
20318 wxString
*arg2
= 0 ;
20321 bool temp2
= false ;
20322 PyObject
* obj0
= 0 ;
20323 PyObject
* obj1
= 0 ;
20324 char * kwnames
[] = {
20325 (char *) "self",(char *) "str", NULL
20328 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FindReplaceData_SetReplaceString",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20329 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFindReplaceData
, 0 | 0 );
20330 if (!SWIG_IsOK(res1
)) {
20331 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FindReplaceData_SetReplaceString" "', expected argument " "1"" of type '" "wxFindReplaceData *""'");
20333 arg1
= reinterpret_cast< wxFindReplaceData
* >(argp1
);
20335 arg2
= wxString_in_helper(obj1
);
20336 if (arg2
== NULL
) SWIG_fail
;
20340 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20341 (arg1
)->SetReplaceString((wxString
const &)*arg2
);
20342 wxPyEndAllowThreads(__tstate
);
20343 if (PyErr_Occurred()) SWIG_fail
;
20345 resultobj
= SWIG_Py_Void();
20360 SWIGINTERN PyObject
*FindReplaceData_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20362 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
20363 SWIG_TypeNewClientData(SWIGTYPE_p_wxFindReplaceData
, SWIG_NewClientData(obj
));
20364 return SWIG_Py_Void();
20367 SWIGINTERN PyObject
*FindReplaceData_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20368 return SWIG_Python_InitShadowInstance(args
);
20371 SWIGINTERN PyObject
*_wrap_new_FindReplaceDialog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20372 PyObject
*resultobj
= 0;
20373 wxWindow
*arg1
= (wxWindow
*) 0 ;
20374 wxFindReplaceData
*arg2
= (wxFindReplaceData
*) 0 ;
20375 wxString
*arg3
= 0 ;
20376 int arg4
= (int) 0 ;
20377 wxFindReplaceDialog
*result
= 0 ;
20382 bool temp3
= false ;
20385 PyObject
* obj0
= 0 ;
20386 PyObject
* obj1
= 0 ;
20387 PyObject
* obj2
= 0 ;
20388 PyObject
* obj3
= 0 ;
20389 char * kwnames
[] = {
20390 (char *) "parent",(char *) "data",(char *) "title",(char *) "style", NULL
20393 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:new_FindReplaceDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
20394 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
20395 if (!SWIG_IsOK(res1
)) {
20396 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_FindReplaceDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
20398 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
20399 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxFindReplaceData
, 0 | 0 );
20400 if (!SWIG_IsOK(res2
)) {
20401 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_FindReplaceDialog" "', expected argument " "2"" of type '" "wxFindReplaceData *""'");
20403 arg2
= reinterpret_cast< wxFindReplaceData
* >(argp2
);
20405 arg3
= wxString_in_helper(obj2
);
20406 if (arg3
== NULL
) SWIG_fail
;
20410 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
20411 if (!SWIG_IsOK(ecode4
)) {
20412 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_FindReplaceDialog" "', expected argument " "4"" of type '" "int""'");
20414 arg4
= static_cast< int >(val4
);
20417 if (!wxPyCheckForApp()) SWIG_fail
;
20418 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20419 result
= (wxFindReplaceDialog
*)new wxFindReplaceDialog(arg1
,arg2
,(wxString
const &)*arg3
,arg4
);
20420 wxPyEndAllowThreads(__tstate
);
20421 if (PyErr_Occurred()) SWIG_fail
;
20423 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFindReplaceDialog
, SWIG_POINTER_NEW
| 0 );
20438 SWIGINTERN PyObject
*_wrap_new_PreFindReplaceDialog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20439 PyObject
*resultobj
= 0;
20440 wxFindReplaceDialog
*result
= 0 ;
20442 if (!SWIG_Python_UnpackTuple(args
,"new_PreFindReplaceDialog",0,0,0)) SWIG_fail
;
20444 if (!wxPyCheckForApp()) SWIG_fail
;
20445 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20446 result
= (wxFindReplaceDialog
*)new wxFindReplaceDialog();
20447 wxPyEndAllowThreads(__tstate
);
20448 if (PyErr_Occurred()) SWIG_fail
;
20450 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFindReplaceDialog
, SWIG_POINTER_OWN
| 0 );
20457 SWIGINTERN PyObject
*_wrap_FindReplaceDialog_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20458 PyObject
*resultobj
= 0;
20459 wxFindReplaceDialog
*arg1
= (wxFindReplaceDialog
*) 0 ;
20460 wxWindow
*arg2
= (wxWindow
*) 0 ;
20461 wxFindReplaceData
*arg3
= (wxFindReplaceData
*) 0 ;
20462 wxString
*arg4
= 0 ;
20463 int arg5
= (int) 0 ;
20471 bool temp4
= false ;
20474 PyObject
* obj0
= 0 ;
20475 PyObject
* obj1
= 0 ;
20476 PyObject
* obj2
= 0 ;
20477 PyObject
* obj3
= 0 ;
20478 PyObject
* obj4
= 0 ;
20479 char * kwnames
[] = {
20480 (char *) "self",(char *) "parent",(char *) "data",(char *) "title",(char *) "style", NULL
20483 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:FindReplaceDialog_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
20484 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFindReplaceDialog
, 0 | 0 );
20485 if (!SWIG_IsOK(res1
)) {
20486 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FindReplaceDialog_Create" "', expected argument " "1"" of type '" "wxFindReplaceDialog *""'");
20488 arg1
= reinterpret_cast< wxFindReplaceDialog
* >(argp1
);
20489 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
20490 if (!SWIG_IsOK(res2
)) {
20491 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "FindReplaceDialog_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
20493 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
20494 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxFindReplaceData
, 0 | 0 );
20495 if (!SWIG_IsOK(res3
)) {
20496 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "FindReplaceDialog_Create" "', expected argument " "3"" of type '" "wxFindReplaceData *""'");
20498 arg3
= reinterpret_cast< wxFindReplaceData
* >(argp3
);
20500 arg4
= wxString_in_helper(obj3
);
20501 if (arg4
== NULL
) SWIG_fail
;
20505 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
20506 if (!SWIG_IsOK(ecode5
)) {
20507 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "FindReplaceDialog_Create" "', expected argument " "5"" of type '" "int""'");
20509 arg5
= static_cast< int >(val5
);
20512 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20513 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,arg5
);
20514 wxPyEndAllowThreads(__tstate
);
20515 if (PyErr_Occurred()) SWIG_fail
;
20518 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20534 SWIGINTERN PyObject
*_wrap_FindReplaceDialog_GetData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20535 PyObject
*resultobj
= 0;
20536 wxFindReplaceDialog
*arg1
= (wxFindReplaceDialog
*) 0 ;
20537 wxFindReplaceData
*result
= 0 ;
20540 PyObject
*swig_obj
[1] ;
20542 if (!args
) SWIG_fail
;
20543 swig_obj
[0] = args
;
20544 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFindReplaceDialog
, 0 | 0 );
20545 if (!SWIG_IsOK(res1
)) {
20546 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FindReplaceDialog_GetData" "', expected argument " "1"" of type '" "wxFindReplaceDialog *""'");
20548 arg1
= reinterpret_cast< wxFindReplaceDialog
* >(argp1
);
20550 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20551 result
= (wxFindReplaceData
*)(arg1
)->GetData();
20552 wxPyEndAllowThreads(__tstate
);
20553 if (PyErr_Occurred()) SWIG_fail
;
20555 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFindReplaceData
, 0 | 0 );
20562 SWIGINTERN PyObject
*_wrap_FindReplaceDialog_SetData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20563 PyObject
*resultobj
= 0;
20564 wxFindReplaceDialog
*arg1
= (wxFindReplaceDialog
*) 0 ;
20565 wxFindReplaceData
*arg2
= (wxFindReplaceData
*) 0 ;
20570 PyObject
* obj0
= 0 ;
20571 PyObject
* obj1
= 0 ;
20572 char * kwnames
[] = {
20573 (char *) "self",(char *) "data", NULL
20576 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FindReplaceDialog_SetData",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20577 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFindReplaceDialog
, 0 | 0 );
20578 if (!SWIG_IsOK(res1
)) {
20579 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FindReplaceDialog_SetData" "', expected argument " "1"" of type '" "wxFindReplaceDialog *""'");
20581 arg1
= reinterpret_cast< wxFindReplaceDialog
* >(argp1
);
20582 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxFindReplaceData
, 0 | 0 );
20583 if (!SWIG_IsOK(res2
)) {
20584 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "FindReplaceDialog_SetData" "', expected argument " "2"" of type '" "wxFindReplaceData *""'");
20586 arg2
= reinterpret_cast< wxFindReplaceData
* >(argp2
);
20588 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20589 (arg1
)->SetData(arg2
);
20590 wxPyEndAllowThreads(__tstate
);
20591 if (PyErr_Occurred()) SWIG_fail
;
20593 resultobj
= SWIG_Py_Void();
20600 SWIGINTERN PyObject
*FindReplaceDialog_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20602 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
20603 SWIG_TypeNewClientData(SWIGTYPE_p_wxFindReplaceDialog
, SWIG_NewClientData(obj
));
20604 return SWIG_Py_Void();
20607 SWIGINTERN PyObject
*FindReplaceDialog_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20608 return SWIG_Python_InitShadowInstance(args
);
20611 SWIGINTERN PyObject
*_wrap_new_MDIParentFrame(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20612 PyObject
*resultobj
= 0;
20613 wxWindow
*arg1
= (wxWindow
*) 0 ;
20614 int arg2
= (int) (int)-1 ;
20615 wxString
const &arg3_defvalue
= wxPyEmptyString
;
20616 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
20617 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
20618 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
20619 wxSize
const &arg5_defvalue
= wxDefaultSize
;
20620 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
20621 long arg6
= (long) wxDEFAULT_FRAME_STYLE
|wxVSCROLL
|wxHSCROLL
;
20622 wxString
const &arg7_defvalue
= wxPyFrameNameStr
;
20623 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
20624 wxMDIParentFrame
*result
= 0 ;
20629 bool temp3
= false ;
20634 bool temp7
= false ;
20635 PyObject
* obj0
= 0 ;
20636 PyObject
* obj1
= 0 ;
20637 PyObject
* obj2
= 0 ;
20638 PyObject
* obj3
= 0 ;
20639 PyObject
* obj4
= 0 ;
20640 PyObject
* obj5
= 0 ;
20641 PyObject
* obj6
= 0 ;
20642 char * kwnames
[] = {
20643 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
20646 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_MDIParentFrame",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
20647 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
20648 if (!SWIG_IsOK(res1
)) {
20649 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_MDIParentFrame" "', expected argument " "1"" of type '" "wxWindow *""'");
20651 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
20653 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
20654 if (!SWIG_IsOK(ecode2
)) {
20655 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_MDIParentFrame" "', expected argument " "2"" of type '" "int""'");
20657 arg2
= static_cast< int >(val2
);
20661 arg3
= wxString_in_helper(obj2
);
20662 if (arg3
== NULL
) SWIG_fail
;
20669 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
20675 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
20679 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
20680 if (!SWIG_IsOK(ecode6
)) {
20681 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_MDIParentFrame" "', expected argument " "6"" of type '" "long""'");
20683 arg6
= static_cast< long >(val6
);
20687 arg7
= wxString_in_helper(obj6
);
20688 if (arg7
== NULL
) SWIG_fail
;
20693 if (!wxPyCheckForApp()) SWIG_fail
;
20694 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20695 result
= (wxMDIParentFrame
*)new wxMDIParentFrame(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
20696 wxPyEndAllowThreads(__tstate
);
20697 if (PyErr_Occurred()) SWIG_fail
;
20699 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMDIParentFrame
, SWIG_POINTER_NEW
| 0 );
20722 SWIGINTERN PyObject
*_wrap_new_PreMDIParentFrame(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20723 PyObject
*resultobj
= 0;
20724 wxMDIParentFrame
*result
= 0 ;
20726 if (!SWIG_Python_UnpackTuple(args
,"new_PreMDIParentFrame",0,0,0)) SWIG_fail
;
20728 if (!wxPyCheckForApp()) SWIG_fail
;
20729 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20730 result
= (wxMDIParentFrame
*)new wxMDIParentFrame();
20731 wxPyEndAllowThreads(__tstate
);
20732 if (PyErr_Occurred()) SWIG_fail
;
20734 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMDIParentFrame
, SWIG_POINTER_OWN
| 0 );
20741 SWIGINTERN PyObject
*_wrap_MDIParentFrame_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20742 PyObject
*resultobj
= 0;
20743 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
20744 wxWindow
*arg2
= (wxWindow
*) 0 ;
20745 int arg3
= (int) (int)-1 ;
20746 wxString
const &arg4_defvalue
= wxPyEmptyString
;
20747 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
20748 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
20749 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
20750 wxSize
const &arg6_defvalue
= wxDefaultSize
;
20751 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
20752 long arg7
= (long) wxDEFAULT_FRAME_STYLE
|wxVSCROLL
|wxHSCROLL
;
20753 wxString
const &arg8_defvalue
= wxPyFrameNameStr
;
20754 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
20762 bool temp4
= false ;
20767 bool temp8
= false ;
20768 PyObject
* obj0
= 0 ;
20769 PyObject
* obj1
= 0 ;
20770 PyObject
* obj2
= 0 ;
20771 PyObject
* obj3
= 0 ;
20772 PyObject
* obj4
= 0 ;
20773 PyObject
* obj5
= 0 ;
20774 PyObject
* obj6
= 0 ;
20775 PyObject
* obj7
= 0 ;
20776 char * kwnames
[] = {
20777 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
20780 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:MDIParentFrame_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
20781 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMDIParentFrame
, 0 | 0 );
20782 if (!SWIG_IsOK(res1
)) {
20783 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MDIParentFrame_Create" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
20785 arg1
= reinterpret_cast< wxMDIParentFrame
* >(argp1
);
20786 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
20787 if (!SWIG_IsOK(res2
)) {
20788 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "MDIParentFrame_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
20790 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
20792 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
20793 if (!SWIG_IsOK(ecode3
)) {
20794 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "MDIParentFrame_Create" "', expected argument " "3"" of type '" "int""'");
20796 arg3
= static_cast< int >(val3
);
20800 arg4
= wxString_in_helper(obj3
);
20801 if (arg4
== NULL
) SWIG_fail
;
20808 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
20814 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
20818 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
20819 if (!SWIG_IsOK(ecode7
)) {
20820 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "MDIParentFrame_Create" "', expected argument " "7"" of type '" "long""'");
20822 arg7
= static_cast< long >(val7
);
20826 arg8
= wxString_in_helper(obj7
);
20827 if (arg8
== NULL
) SWIG_fail
;
20832 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20833 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
20834 wxPyEndAllowThreads(__tstate
);
20835 if (PyErr_Occurred()) SWIG_fail
;
20838 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20862 SWIGINTERN PyObject
*_wrap_MDIParentFrame_ActivateNext(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20863 PyObject
*resultobj
= 0;
20864 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
20867 PyObject
*swig_obj
[1] ;
20869 if (!args
) SWIG_fail
;
20870 swig_obj
[0] = args
;
20871 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMDIParentFrame
, 0 | 0 );
20872 if (!SWIG_IsOK(res1
)) {
20873 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MDIParentFrame_ActivateNext" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
20875 arg1
= reinterpret_cast< wxMDIParentFrame
* >(argp1
);
20877 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20878 (arg1
)->ActivateNext();
20879 wxPyEndAllowThreads(__tstate
);
20880 if (PyErr_Occurred()) SWIG_fail
;
20882 resultobj
= SWIG_Py_Void();
20889 SWIGINTERN PyObject
*_wrap_MDIParentFrame_ActivatePrevious(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20890 PyObject
*resultobj
= 0;
20891 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
20894 PyObject
*swig_obj
[1] ;
20896 if (!args
) SWIG_fail
;
20897 swig_obj
[0] = args
;
20898 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMDIParentFrame
, 0 | 0 );
20899 if (!SWIG_IsOK(res1
)) {
20900 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MDIParentFrame_ActivatePrevious" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
20902 arg1
= reinterpret_cast< wxMDIParentFrame
* >(argp1
);
20904 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20905 (arg1
)->ActivatePrevious();
20906 wxPyEndAllowThreads(__tstate
);
20907 if (PyErr_Occurred()) SWIG_fail
;
20909 resultobj
= SWIG_Py_Void();
20916 SWIGINTERN PyObject
*_wrap_MDIParentFrame_ArrangeIcons(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20917 PyObject
*resultobj
= 0;
20918 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
20921 PyObject
*swig_obj
[1] ;
20923 if (!args
) SWIG_fail
;
20924 swig_obj
[0] = args
;
20925 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMDIParentFrame
, 0 | 0 );
20926 if (!SWIG_IsOK(res1
)) {
20927 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MDIParentFrame_ArrangeIcons" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
20929 arg1
= reinterpret_cast< wxMDIParentFrame
* >(argp1
);
20931 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20932 (arg1
)->ArrangeIcons();
20933 wxPyEndAllowThreads(__tstate
);
20934 if (PyErr_Occurred()) SWIG_fail
;
20936 resultobj
= SWIG_Py_Void();
20943 SWIGINTERN PyObject
*_wrap_MDIParentFrame_Cascade(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20944 PyObject
*resultobj
= 0;
20945 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
20948 PyObject
*swig_obj
[1] ;
20950 if (!args
) SWIG_fail
;
20951 swig_obj
[0] = args
;
20952 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMDIParentFrame
, 0 | 0 );
20953 if (!SWIG_IsOK(res1
)) {
20954 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MDIParentFrame_Cascade" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
20956 arg1
= reinterpret_cast< wxMDIParentFrame
* >(argp1
);
20958 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20960 wxPyEndAllowThreads(__tstate
);
20961 if (PyErr_Occurred()) SWIG_fail
;
20963 resultobj
= SWIG_Py_Void();
20970 SWIGINTERN PyObject
*_wrap_MDIParentFrame_GetActiveChild(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20971 PyObject
*resultobj
= 0;
20972 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
20973 wxMDIChildFrame
*result
= 0 ;
20976 PyObject
*swig_obj
[1] ;
20978 if (!args
) SWIG_fail
;
20979 swig_obj
[0] = args
;
20980 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMDIParentFrame
, 0 | 0 );
20981 if (!SWIG_IsOK(res1
)) {
20982 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MDIParentFrame_GetActiveChild" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
20984 arg1
= reinterpret_cast< wxMDIParentFrame
* >(argp1
);
20986 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20987 result
= (wxMDIChildFrame
*)(arg1
)->GetActiveChild();
20988 wxPyEndAllowThreads(__tstate
);
20989 if (PyErr_Occurred()) SWIG_fail
;
20992 resultobj
= wxPyMake_wxObject(result
, (bool)0);
21000 SWIGINTERN PyObject
*_wrap_MDIParentFrame_GetClientWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21001 PyObject
*resultobj
= 0;
21002 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
21003 wxMDIClientWindow
*result
= 0 ;
21006 PyObject
*swig_obj
[1] ;
21008 if (!args
) SWIG_fail
;
21009 swig_obj
[0] = args
;
21010 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMDIParentFrame
, 0 | 0 );
21011 if (!SWIG_IsOK(res1
)) {
21012 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MDIParentFrame_GetClientWindow" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
21014 arg1
= reinterpret_cast< wxMDIParentFrame
* >(argp1
);
21016 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21017 result
= (wxMDIClientWindow
*)(arg1
)->GetClientWindow();
21018 wxPyEndAllowThreads(__tstate
);
21019 if (PyErr_Occurred()) SWIG_fail
;
21022 resultobj
= wxPyMake_wxObject(result
, (bool)0);
21030 SWIGINTERN PyObject
*_wrap_MDIParentFrame_GetWindowMenu(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21031 PyObject
*resultobj
= 0;
21032 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
21033 wxMenu
*result
= 0 ;
21036 PyObject
*swig_obj
[1] ;
21038 if (!args
) SWIG_fail
;
21039 swig_obj
[0] = args
;
21040 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMDIParentFrame
, 0 | 0 );
21041 if (!SWIG_IsOK(res1
)) {
21042 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MDIParentFrame_GetWindowMenu" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
21044 arg1
= reinterpret_cast< wxMDIParentFrame
* >(argp1
);
21046 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21047 result
= (wxMenu
*)(arg1
)->GetWindowMenu();
21048 wxPyEndAllowThreads(__tstate
);
21049 if (PyErr_Occurred()) SWIG_fail
;
21052 resultobj
= wxPyMake_wxObject(result
, 0);
21060 SWIGINTERN PyObject
*_wrap_MDIParentFrame_SetWindowMenu(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21061 PyObject
*resultobj
= 0;
21062 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
21063 wxMenu
*arg2
= (wxMenu
*) 0 ;
21068 PyObject
* obj0
= 0 ;
21069 PyObject
* obj1
= 0 ;
21070 char * kwnames
[] = {
21071 (char *) "self",(char *) "menu", NULL
21074 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MDIParentFrame_SetWindowMenu",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21075 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMDIParentFrame
, 0 | 0 );
21076 if (!SWIG_IsOK(res1
)) {
21077 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MDIParentFrame_SetWindowMenu" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
21079 arg1
= reinterpret_cast< wxMDIParentFrame
* >(argp1
);
21080 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxMenu
, 0 | 0 );
21081 if (!SWIG_IsOK(res2
)) {
21082 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "MDIParentFrame_SetWindowMenu" "', expected argument " "2"" of type '" "wxMenu *""'");
21084 arg2
= reinterpret_cast< wxMenu
* >(argp2
);
21086 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21087 (arg1
)->SetWindowMenu(arg2
);
21088 wxPyEndAllowThreads(__tstate
);
21089 if (PyErr_Occurred()) SWIG_fail
;
21091 resultobj
= SWIG_Py_Void();
21098 SWIGINTERN PyObject
*_wrap_MDIParentFrame_Tile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21099 PyObject
*resultobj
= 0;
21100 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
21101 wxOrientation arg2
= (wxOrientation
) wxHORIZONTAL
;
21106 PyObject
* obj0
= 0 ;
21107 PyObject
* obj1
= 0 ;
21108 char * kwnames
[] = {
21109 (char *) "self",(char *) "orient", NULL
21112 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:MDIParentFrame_Tile",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21113 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMDIParentFrame
, 0 | 0 );
21114 if (!SWIG_IsOK(res1
)) {
21115 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MDIParentFrame_Tile" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
21117 arg1
= reinterpret_cast< wxMDIParentFrame
* >(argp1
);
21119 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21120 if (!SWIG_IsOK(ecode2
)) {
21121 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "MDIParentFrame_Tile" "', expected argument " "2"" of type '" "wxOrientation""'");
21123 arg2
= static_cast< wxOrientation
>(val2
);
21126 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21127 (arg1
)->Tile(arg2
);
21128 wxPyEndAllowThreads(__tstate
);
21129 if (PyErr_Occurred()) SWIG_fail
;
21131 resultobj
= SWIG_Py_Void();
21138 SWIGINTERN PyObject
*MDIParentFrame_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21140 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
21141 SWIG_TypeNewClientData(SWIGTYPE_p_wxMDIParentFrame
, SWIG_NewClientData(obj
));
21142 return SWIG_Py_Void();
21145 SWIGINTERN PyObject
*MDIParentFrame_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21146 return SWIG_Python_InitShadowInstance(args
);
21149 SWIGINTERN PyObject
*_wrap_new_MDIChildFrame(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21150 PyObject
*resultobj
= 0;
21151 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
21152 int arg2
= (int) (int)-1 ;
21153 wxString
const &arg3_defvalue
= wxPyEmptyString
;
21154 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
21155 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
21156 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
21157 wxSize
const &arg5_defvalue
= wxDefaultSize
;
21158 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
21159 long arg6
= (long) wxDEFAULT_FRAME_STYLE
;
21160 wxString
const &arg7_defvalue
= wxPyFrameNameStr
;
21161 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
21162 wxMDIChildFrame
*result
= 0 ;
21167 bool temp3
= false ;
21172 bool temp7
= false ;
21173 PyObject
* obj0
= 0 ;
21174 PyObject
* obj1
= 0 ;
21175 PyObject
* obj2
= 0 ;
21176 PyObject
* obj3
= 0 ;
21177 PyObject
* obj4
= 0 ;
21178 PyObject
* obj5
= 0 ;
21179 PyObject
* obj6
= 0 ;
21180 char * kwnames
[] = {
21181 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
21184 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_MDIChildFrame",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
21185 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMDIParentFrame
, 0 | 0 );
21186 if (!SWIG_IsOK(res1
)) {
21187 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_MDIChildFrame" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
21189 arg1
= reinterpret_cast< wxMDIParentFrame
* >(argp1
);
21191 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21192 if (!SWIG_IsOK(ecode2
)) {
21193 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_MDIChildFrame" "', expected argument " "2"" of type '" "int""'");
21195 arg2
= static_cast< int >(val2
);
21199 arg3
= wxString_in_helper(obj2
);
21200 if (arg3
== NULL
) SWIG_fail
;
21207 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
21213 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
21217 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
21218 if (!SWIG_IsOK(ecode6
)) {
21219 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_MDIChildFrame" "', expected argument " "6"" of type '" "long""'");
21221 arg6
= static_cast< long >(val6
);
21225 arg7
= wxString_in_helper(obj6
);
21226 if (arg7
== NULL
) SWIG_fail
;
21231 if (!wxPyCheckForApp()) SWIG_fail
;
21232 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21233 result
= (wxMDIChildFrame
*)new wxMDIChildFrame(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
21234 wxPyEndAllowThreads(__tstate
);
21235 if (PyErr_Occurred()) SWIG_fail
;
21237 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMDIChildFrame
, SWIG_POINTER_NEW
| 0 );
21260 SWIGINTERN PyObject
*_wrap_new_PreMDIChildFrame(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21261 PyObject
*resultobj
= 0;
21262 wxMDIChildFrame
*result
= 0 ;
21264 if (!SWIG_Python_UnpackTuple(args
,"new_PreMDIChildFrame",0,0,0)) SWIG_fail
;
21266 if (!wxPyCheckForApp()) SWIG_fail
;
21267 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21268 result
= (wxMDIChildFrame
*)new wxMDIChildFrame();
21269 wxPyEndAllowThreads(__tstate
);
21270 if (PyErr_Occurred()) SWIG_fail
;
21272 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMDIChildFrame
, SWIG_POINTER_OWN
| 0 );
21279 SWIGINTERN PyObject
*_wrap_MDIChildFrame_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21280 PyObject
*resultobj
= 0;
21281 wxMDIChildFrame
*arg1
= (wxMDIChildFrame
*) 0 ;
21282 wxMDIParentFrame
*arg2
= (wxMDIParentFrame
*) 0 ;
21283 int arg3
= (int) (int)-1 ;
21284 wxString
const &arg4_defvalue
= wxPyEmptyString
;
21285 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
21286 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
21287 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
21288 wxSize
const &arg6_defvalue
= wxDefaultSize
;
21289 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
21290 long arg7
= (long) wxDEFAULT_FRAME_STYLE
;
21291 wxString
const &arg8_defvalue
= wxPyFrameNameStr
;
21292 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
21300 bool temp4
= false ;
21305 bool temp8
= false ;
21306 PyObject
* obj0
= 0 ;
21307 PyObject
* obj1
= 0 ;
21308 PyObject
* obj2
= 0 ;
21309 PyObject
* obj3
= 0 ;
21310 PyObject
* obj4
= 0 ;
21311 PyObject
* obj5
= 0 ;
21312 PyObject
* obj6
= 0 ;
21313 PyObject
* obj7
= 0 ;
21314 char * kwnames
[] = {
21315 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
21318 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:MDIChildFrame_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
21319 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMDIChildFrame
, 0 | 0 );
21320 if (!SWIG_IsOK(res1
)) {
21321 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MDIChildFrame_Create" "', expected argument " "1"" of type '" "wxMDIChildFrame *""'");
21323 arg1
= reinterpret_cast< wxMDIChildFrame
* >(argp1
);
21324 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxMDIParentFrame
, 0 | 0 );
21325 if (!SWIG_IsOK(res2
)) {
21326 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "MDIChildFrame_Create" "', expected argument " "2"" of type '" "wxMDIParentFrame *""'");
21328 arg2
= reinterpret_cast< wxMDIParentFrame
* >(argp2
);
21330 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
21331 if (!SWIG_IsOK(ecode3
)) {
21332 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "MDIChildFrame_Create" "', expected argument " "3"" of type '" "int""'");
21334 arg3
= static_cast< int >(val3
);
21338 arg4
= wxString_in_helper(obj3
);
21339 if (arg4
== NULL
) SWIG_fail
;
21346 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
21352 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
21356 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
21357 if (!SWIG_IsOK(ecode7
)) {
21358 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "MDIChildFrame_Create" "', expected argument " "7"" of type '" "long""'");
21360 arg7
= static_cast< long >(val7
);
21364 arg8
= wxString_in_helper(obj7
);
21365 if (arg8
== NULL
) SWIG_fail
;
21370 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21371 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
21372 wxPyEndAllowThreads(__tstate
);
21373 if (PyErr_Occurred()) SWIG_fail
;
21376 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21400 SWIGINTERN PyObject
*_wrap_MDIChildFrame_Activate(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21401 PyObject
*resultobj
= 0;
21402 wxMDIChildFrame
*arg1
= (wxMDIChildFrame
*) 0 ;
21405 PyObject
*swig_obj
[1] ;
21407 if (!args
) SWIG_fail
;
21408 swig_obj
[0] = args
;
21409 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMDIChildFrame
, 0 | 0 );
21410 if (!SWIG_IsOK(res1
)) {
21411 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MDIChildFrame_Activate" "', expected argument " "1"" of type '" "wxMDIChildFrame *""'");
21413 arg1
= reinterpret_cast< wxMDIChildFrame
* >(argp1
);
21415 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21416 (arg1
)->Activate();
21417 wxPyEndAllowThreads(__tstate
);
21418 if (PyErr_Occurred()) SWIG_fail
;
21420 resultobj
= SWIG_Py_Void();
21427 SWIGINTERN PyObject
*MDIChildFrame_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21429 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
21430 SWIG_TypeNewClientData(SWIGTYPE_p_wxMDIChildFrame
, SWIG_NewClientData(obj
));
21431 return SWIG_Py_Void();
21434 SWIGINTERN PyObject
*MDIChildFrame_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21435 return SWIG_Python_InitShadowInstance(args
);
21438 SWIGINTERN PyObject
*_wrap_new_MDIClientWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21439 PyObject
*resultobj
= 0;
21440 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
21441 long arg2
= (long) 0 ;
21442 wxMDIClientWindow
*result
= 0 ;
21447 PyObject
* obj0
= 0 ;
21448 PyObject
* obj1
= 0 ;
21449 char * kwnames
[] = {
21450 (char *) "parent",(char *) "style", NULL
21453 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_MDIClientWindow",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21454 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMDIParentFrame
, 0 | 0 );
21455 if (!SWIG_IsOK(res1
)) {
21456 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_MDIClientWindow" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
21458 arg1
= reinterpret_cast< wxMDIParentFrame
* >(argp1
);
21460 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
21461 if (!SWIG_IsOK(ecode2
)) {
21462 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_MDIClientWindow" "', expected argument " "2"" of type '" "long""'");
21464 arg2
= static_cast< long >(val2
);
21467 if (!wxPyCheckForApp()) SWIG_fail
;
21468 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21469 result
= (wxMDIClientWindow
*)new wxMDIClientWindow(arg1
,arg2
);
21470 wxPyEndAllowThreads(__tstate
);
21471 if (PyErr_Occurred()) SWIG_fail
;
21473 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMDIClientWindow
, SWIG_POINTER_NEW
| 0 );
21480 SWIGINTERN PyObject
*_wrap_new_PreMDIClientWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21481 PyObject
*resultobj
= 0;
21482 wxMDIClientWindow
*result
= 0 ;
21484 if (!SWIG_Python_UnpackTuple(args
,"new_PreMDIClientWindow",0,0,0)) SWIG_fail
;
21486 if (!wxPyCheckForApp()) SWIG_fail
;
21487 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21488 result
= (wxMDIClientWindow
*)new wxMDIClientWindow();
21489 wxPyEndAllowThreads(__tstate
);
21490 if (PyErr_Occurred()) SWIG_fail
;
21492 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMDIClientWindow
, SWIG_POINTER_OWN
| 0 );
21499 SWIGINTERN PyObject
*_wrap_MDIClientWindow_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21500 PyObject
*resultobj
= 0;
21501 wxMDIClientWindow
*arg1
= (wxMDIClientWindow
*) 0 ;
21502 wxMDIParentFrame
*arg2
= (wxMDIParentFrame
*) 0 ;
21503 long arg3
= (long) 0 ;
21511 PyObject
* obj0
= 0 ;
21512 PyObject
* obj1
= 0 ;
21513 PyObject
* obj2
= 0 ;
21514 char * kwnames
[] = {
21515 (char *) "self",(char *) "parent",(char *) "style", NULL
21518 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:MDIClientWindow_Create",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
21519 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMDIClientWindow
, 0 | 0 );
21520 if (!SWIG_IsOK(res1
)) {
21521 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MDIClientWindow_Create" "', expected argument " "1"" of type '" "wxMDIClientWindow *""'");
21523 arg1
= reinterpret_cast< wxMDIClientWindow
* >(argp1
);
21524 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxMDIParentFrame
, 0 | 0 );
21525 if (!SWIG_IsOK(res2
)) {
21526 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "MDIClientWindow_Create" "', expected argument " "2"" of type '" "wxMDIParentFrame *""'");
21528 arg2
= reinterpret_cast< wxMDIParentFrame
* >(argp2
);
21530 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
21531 if (!SWIG_IsOK(ecode3
)) {
21532 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "MDIClientWindow_Create" "', expected argument " "3"" of type '" "long""'");
21534 arg3
= static_cast< long >(val3
);
21537 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21538 result
= (bool)(arg1
)->Create(arg2
,arg3
);
21539 wxPyEndAllowThreads(__tstate
);
21540 if (PyErr_Occurred()) SWIG_fail
;
21543 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21551 SWIGINTERN PyObject
*MDIClientWindow_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21553 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
21554 SWIG_TypeNewClientData(SWIGTYPE_p_wxMDIClientWindow
, SWIG_NewClientData(obj
));
21555 return SWIG_Py_Void();
21558 SWIGINTERN PyObject
*MDIClientWindow_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21559 return SWIG_Python_InitShadowInstance(args
);
21562 SWIGINTERN PyObject
*_wrap_new_PyWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21563 PyObject
*resultobj
= 0;
21564 wxWindow
*arg1
= (wxWindow
*) 0 ;
21565 int arg2
= (int) (int)-1 ;
21566 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
21567 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
21568 wxSize
const &arg4_defvalue
= wxDefaultSize
;
21569 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
21570 long arg5
= (long) 0 ;
21571 wxString
const &arg6_defvalue
= wxPyPanelNameStr
;
21572 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
21573 wxPyWindow
*result
= 0 ;
21582 bool temp6
= false ;
21583 PyObject
* obj0
= 0 ;
21584 PyObject
* obj1
= 0 ;
21585 PyObject
* obj2
= 0 ;
21586 PyObject
* obj3
= 0 ;
21587 PyObject
* obj4
= 0 ;
21588 PyObject
* obj5
= 0 ;
21589 char * kwnames
[] = {
21590 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
21593 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_PyWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
21594 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
21595 if (!SWIG_IsOK(res1
)) {
21596 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PyWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
21598 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
21600 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21601 if (!SWIG_IsOK(ecode2
)) {
21602 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_PyWindow" "', expected argument " "2"" of type '" "int""'");
21604 arg2
= static_cast< int >(val2
);
21609 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
21615 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
21619 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
21620 if (!SWIG_IsOK(ecode5
)) {
21621 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_PyWindow" "', expected argument " "5"" of type '" "long""'");
21623 arg5
= static_cast< long >(val5
);
21627 arg6
= wxString_in_helper(obj5
);
21628 if (arg6
== NULL
) SWIG_fail
;
21633 if (!wxPyCheckForApp()) SWIG_fail
;
21634 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21635 result
= (wxPyWindow
*)new wxPyWindow(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
21636 wxPyEndAllowThreads(__tstate
);
21637 if (PyErr_Occurred()) SWIG_fail
;
21639 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyWindow
, SWIG_POINTER_NEW
| 0 );
21654 SWIGINTERN PyObject
*_wrap_new_PrePyWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21655 PyObject
*resultobj
= 0;
21656 wxPyWindow
*result
= 0 ;
21658 if (!SWIG_Python_UnpackTuple(args
,"new_PrePyWindow",0,0,0)) SWIG_fail
;
21660 if (!wxPyCheckForApp()) SWIG_fail
;
21661 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21662 result
= (wxPyWindow
*)new wxPyWindow();
21663 wxPyEndAllowThreads(__tstate
);
21664 if (PyErr_Occurred()) SWIG_fail
;
21666 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyWindow
, SWIG_POINTER_OWN
| 0 );
21673 SWIGINTERN PyObject
*_wrap_PyWindow__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21674 PyObject
*resultobj
= 0;
21675 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
21676 PyObject
*arg2
= (PyObject
*) 0 ;
21677 PyObject
*arg3
= (PyObject
*) 0 ;
21680 PyObject
* obj0
= 0 ;
21681 PyObject
* obj1
= 0 ;
21682 PyObject
* obj2
= 0 ;
21683 char * kwnames
[] = {
21684 (char *) "self",(char *) "self",(char *) "_class", NULL
21687 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyWindow__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
21688 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyWindow
, 0 | 0 );
21689 if (!SWIG_IsOK(res1
)) {
21690 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyWindow__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyWindow *""'");
21692 arg1
= reinterpret_cast< wxPyWindow
* >(argp1
);
21696 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21697 (arg1
)->_setCallbackInfo(arg2
,arg3
);
21698 wxPyEndAllowThreads(__tstate
);
21699 if (PyErr_Occurred()) SWIG_fail
;
21701 resultobj
= SWIG_Py_Void();
21708 SWIGINTERN PyObject
*_wrap_PyWindow_DoEraseBackground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21709 PyObject
*resultobj
= 0;
21710 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
21711 wxDC
*arg2
= (wxDC
*) 0 ;
21717 PyObject
* obj0
= 0 ;
21718 PyObject
* obj1
= 0 ;
21719 char * kwnames
[] = {
21720 (char *) "self",(char *) "dc", NULL
21723 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyWindow_DoEraseBackground",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21724 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyWindow
, 0 | 0 );
21725 if (!SWIG_IsOK(res1
)) {
21726 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyWindow_DoEraseBackground" "', expected argument " "1"" of type '" "wxPyWindow *""'");
21728 arg1
= reinterpret_cast< wxPyWindow
* >(argp1
);
21729 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxDC
, 0 | 0 );
21730 if (!SWIG_IsOK(res2
)) {
21731 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PyWindow_DoEraseBackground" "', expected argument " "2"" of type '" "wxDC *""'");
21733 arg2
= reinterpret_cast< wxDC
* >(argp2
);
21735 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21736 result
= (bool)(arg1
)->DoEraseBackground(arg2
);
21737 wxPyEndAllowThreads(__tstate
);
21738 if (PyErr_Occurred()) SWIG_fail
;
21741 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21749 SWIGINTERN PyObject
*_wrap_PyWindow_DoMoveWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21750 PyObject
*resultobj
= 0;
21751 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
21766 PyObject
* obj0
= 0 ;
21767 PyObject
* obj1
= 0 ;
21768 PyObject
* obj2
= 0 ;
21769 PyObject
* obj3
= 0 ;
21770 PyObject
* obj4
= 0 ;
21771 char * kwnames
[] = {
21772 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
21775 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:PyWindow_DoMoveWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
21776 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyWindow
, 0 | 0 );
21777 if (!SWIG_IsOK(res1
)) {
21778 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyWindow_DoMoveWindow" "', expected argument " "1"" of type '" "wxPyWindow *""'");
21780 arg1
= reinterpret_cast< wxPyWindow
* >(argp1
);
21781 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21782 if (!SWIG_IsOK(ecode2
)) {
21783 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PyWindow_DoMoveWindow" "', expected argument " "2"" of type '" "int""'");
21785 arg2
= static_cast< int >(val2
);
21786 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
21787 if (!SWIG_IsOK(ecode3
)) {
21788 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PyWindow_DoMoveWindow" "', expected argument " "3"" of type '" "int""'");
21790 arg3
= static_cast< int >(val3
);
21791 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
21792 if (!SWIG_IsOK(ecode4
)) {
21793 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PyWindow_DoMoveWindow" "', expected argument " "4"" of type '" "int""'");
21795 arg4
= static_cast< int >(val4
);
21796 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
21797 if (!SWIG_IsOK(ecode5
)) {
21798 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PyWindow_DoMoveWindow" "', expected argument " "5"" of type '" "int""'");
21800 arg5
= static_cast< int >(val5
);
21802 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21803 (arg1
)->DoMoveWindow(arg2
,arg3
,arg4
,arg5
);
21804 wxPyEndAllowThreads(__tstate
);
21805 if (PyErr_Occurred()) SWIG_fail
;
21807 resultobj
= SWIG_Py_Void();
21814 SWIGINTERN PyObject
*_wrap_PyWindow_DoSetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21815 PyObject
*resultobj
= 0;
21816 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
21821 int arg6
= (int) wxSIZE_AUTO
;
21834 PyObject
* obj0
= 0 ;
21835 PyObject
* obj1
= 0 ;
21836 PyObject
* obj2
= 0 ;
21837 PyObject
* obj3
= 0 ;
21838 PyObject
* obj4
= 0 ;
21839 PyObject
* obj5
= 0 ;
21840 char * kwnames
[] = {
21841 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
21844 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:PyWindow_DoSetSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
21845 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyWindow
, 0 | 0 );
21846 if (!SWIG_IsOK(res1
)) {
21847 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyWindow_DoSetSize" "', expected argument " "1"" of type '" "wxPyWindow *""'");
21849 arg1
= reinterpret_cast< wxPyWindow
* >(argp1
);
21850 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21851 if (!SWIG_IsOK(ecode2
)) {
21852 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PyWindow_DoSetSize" "', expected argument " "2"" of type '" "int""'");
21854 arg2
= static_cast< int >(val2
);
21855 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
21856 if (!SWIG_IsOK(ecode3
)) {
21857 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PyWindow_DoSetSize" "', expected argument " "3"" of type '" "int""'");
21859 arg3
= static_cast< int >(val3
);
21860 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
21861 if (!SWIG_IsOK(ecode4
)) {
21862 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PyWindow_DoSetSize" "', expected argument " "4"" of type '" "int""'");
21864 arg4
= static_cast< int >(val4
);
21865 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
21866 if (!SWIG_IsOK(ecode5
)) {
21867 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PyWindow_DoSetSize" "', expected argument " "5"" of type '" "int""'");
21869 arg5
= static_cast< int >(val5
);
21871 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
21872 if (!SWIG_IsOK(ecode6
)) {
21873 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "PyWindow_DoSetSize" "', expected argument " "6"" of type '" "int""'");
21875 arg6
= static_cast< int >(val6
);
21878 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21879 (arg1
)->DoSetSize(arg2
,arg3
,arg4
,arg5
,arg6
);
21880 wxPyEndAllowThreads(__tstate
);
21881 if (PyErr_Occurred()) SWIG_fail
;
21883 resultobj
= SWIG_Py_Void();
21890 SWIGINTERN PyObject
*_wrap_PyWindow_DoSetClientSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21891 PyObject
*resultobj
= 0;
21892 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
21901 PyObject
* obj0
= 0 ;
21902 PyObject
* obj1
= 0 ;
21903 PyObject
* obj2
= 0 ;
21904 char * kwnames
[] = {
21905 (char *) "self",(char *) "width",(char *) "height", NULL
21908 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyWindow_DoSetClientSize",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
21909 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyWindow
, 0 | 0 );
21910 if (!SWIG_IsOK(res1
)) {
21911 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyWindow_DoSetClientSize" "', expected argument " "1"" of type '" "wxPyWindow *""'");
21913 arg1
= reinterpret_cast< wxPyWindow
* >(argp1
);
21914 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21915 if (!SWIG_IsOK(ecode2
)) {
21916 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PyWindow_DoSetClientSize" "', expected argument " "2"" of type '" "int""'");
21918 arg2
= static_cast< int >(val2
);
21919 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
21920 if (!SWIG_IsOK(ecode3
)) {
21921 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PyWindow_DoSetClientSize" "', expected argument " "3"" of type '" "int""'");
21923 arg3
= static_cast< int >(val3
);
21925 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21926 (arg1
)->DoSetClientSize(arg2
,arg3
);
21927 wxPyEndAllowThreads(__tstate
);
21928 if (PyErr_Occurred()) SWIG_fail
;
21930 resultobj
= SWIG_Py_Void();
21937 SWIGINTERN PyObject
*_wrap_PyWindow_DoSetVirtualSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21938 PyObject
*resultobj
= 0;
21939 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
21948 PyObject
* obj0
= 0 ;
21949 PyObject
* obj1
= 0 ;
21950 PyObject
* obj2
= 0 ;
21951 char * kwnames
[] = {
21952 (char *) "self",(char *) "x",(char *) "y", NULL
21955 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyWindow_DoSetVirtualSize",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
21956 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyWindow
, 0 | 0 );
21957 if (!SWIG_IsOK(res1
)) {
21958 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyWindow_DoSetVirtualSize" "', expected argument " "1"" of type '" "wxPyWindow *""'");
21960 arg1
= reinterpret_cast< wxPyWindow
* >(argp1
);
21961 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21962 if (!SWIG_IsOK(ecode2
)) {
21963 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PyWindow_DoSetVirtualSize" "', expected argument " "2"" of type '" "int""'");
21965 arg2
= static_cast< int >(val2
);
21966 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
21967 if (!SWIG_IsOK(ecode3
)) {
21968 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PyWindow_DoSetVirtualSize" "', expected argument " "3"" of type '" "int""'");
21970 arg3
= static_cast< int >(val3
);
21972 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21973 (arg1
)->DoSetVirtualSize(arg2
,arg3
);
21974 wxPyEndAllowThreads(__tstate
);
21975 if (PyErr_Occurred()) SWIG_fail
;
21977 resultobj
= SWIG_Py_Void();
21984 SWIGINTERN PyObject
*_wrap_PyWindow_DoGetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21985 PyObject
*resultobj
= 0;
21986 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
21987 int *arg2
= (int *) 0 ;
21988 int *arg3
= (int *) 0 ;
21992 int res2
= SWIG_TMPOBJ
;
21994 int res3
= SWIG_TMPOBJ
;
21995 PyObject
*swig_obj
[1] ;
21999 if (!args
) SWIG_fail
;
22000 swig_obj
[0] = args
;
22001 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyWindow
, 0 | 0 );
22002 if (!SWIG_IsOK(res1
)) {
22003 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyWindow_DoGetSize" "', expected argument " "1"" of type '" "wxPyWindow const *""'");
22005 arg1
= reinterpret_cast< wxPyWindow
* >(argp1
);
22007 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22008 ((wxPyWindow
const *)arg1
)->DoGetSize(arg2
,arg3
);
22009 wxPyEndAllowThreads(__tstate
);
22010 if (PyErr_Occurred()) SWIG_fail
;
22012 resultobj
= SWIG_Py_Void();
22013 if (SWIG_IsTmpObj(res2
)) {
22014 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
22016 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
22017 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
22019 if (SWIG_IsTmpObj(res3
)) {
22020 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
22022 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
22023 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
22031 SWIGINTERN PyObject
*_wrap_PyWindow_DoGetClientSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22032 PyObject
*resultobj
= 0;
22033 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
22034 int *arg2
= (int *) 0 ;
22035 int *arg3
= (int *) 0 ;
22039 int res2
= SWIG_TMPOBJ
;
22041 int res3
= SWIG_TMPOBJ
;
22042 PyObject
*swig_obj
[1] ;
22046 if (!args
) SWIG_fail
;
22047 swig_obj
[0] = args
;
22048 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyWindow
, 0 | 0 );
22049 if (!SWIG_IsOK(res1
)) {
22050 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyWindow_DoGetClientSize" "', expected argument " "1"" of type '" "wxPyWindow const *""'");
22052 arg1
= reinterpret_cast< wxPyWindow
* >(argp1
);
22054 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22055 ((wxPyWindow
const *)arg1
)->DoGetClientSize(arg2
,arg3
);
22056 wxPyEndAllowThreads(__tstate
);
22057 if (PyErr_Occurred()) SWIG_fail
;
22059 resultobj
= SWIG_Py_Void();
22060 if (SWIG_IsTmpObj(res2
)) {
22061 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
22063 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
22064 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
22066 if (SWIG_IsTmpObj(res3
)) {
22067 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
22069 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
22070 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
22078 SWIGINTERN PyObject
*_wrap_PyWindow_DoGetPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22079 PyObject
*resultobj
= 0;
22080 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
22081 int *arg2
= (int *) 0 ;
22082 int *arg3
= (int *) 0 ;
22086 int res2
= SWIG_TMPOBJ
;
22088 int res3
= SWIG_TMPOBJ
;
22089 PyObject
*swig_obj
[1] ;
22093 if (!args
) SWIG_fail
;
22094 swig_obj
[0] = args
;
22095 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyWindow
, 0 | 0 );
22096 if (!SWIG_IsOK(res1
)) {
22097 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyWindow_DoGetPosition" "', expected argument " "1"" of type '" "wxPyWindow const *""'");
22099 arg1
= reinterpret_cast< wxPyWindow
* >(argp1
);
22101 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22102 ((wxPyWindow
const *)arg1
)->DoGetPosition(arg2
,arg3
);
22103 wxPyEndAllowThreads(__tstate
);
22104 if (PyErr_Occurred()) SWIG_fail
;
22106 resultobj
= SWIG_Py_Void();
22107 if (SWIG_IsTmpObj(res2
)) {
22108 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
22110 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
22111 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
22113 if (SWIG_IsTmpObj(res3
)) {
22114 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
22116 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
22117 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
22125 SWIGINTERN PyObject
*_wrap_PyWindow_DoGetVirtualSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22126 PyObject
*resultobj
= 0;
22127 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
22131 PyObject
*swig_obj
[1] ;
22133 if (!args
) SWIG_fail
;
22134 swig_obj
[0] = args
;
22135 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyWindow
, 0 | 0 );
22136 if (!SWIG_IsOK(res1
)) {
22137 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyWindow_DoGetVirtualSize" "', expected argument " "1"" of type '" "wxPyWindow const *""'");
22139 arg1
= reinterpret_cast< wxPyWindow
* >(argp1
);
22141 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22142 result
= ((wxPyWindow
const *)arg1
)->DoGetVirtualSize();
22143 wxPyEndAllowThreads(__tstate
);
22144 if (PyErr_Occurred()) SWIG_fail
;
22146 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
22153 SWIGINTERN PyObject
*_wrap_PyWindow_DoGetBestSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22154 PyObject
*resultobj
= 0;
22155 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
22159 PyObject
*swig_obj
[1] ;
22161 if (!args
) SWIG_fail
;
22162 swig_obj
[0] = args
;
22163 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyWindow
, 0 | 0 );
22164 if (!SWIG_IsOK(res1
)) {
22165 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyWindow_DoGetBestSize" "', expected argument " "1"" of type '" "wxPyWindow const *""'");
22167 arg1
= reinterpret_cast< wxPyWindow
* >(argp1
);
22169 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22170 result
= ((wxPyWindow
const *)arg1
)->DoGetBestSize();
22171 wxPyEndAllowThreads(__tstate
);
22172 if (PyErr_Occurred()) SWIG_fail
;
22174 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
22181 SWIGINTERN PyObject
*_wrap_PyWindow_GetDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22182 PyObject
*resultobj
= 0;
22183 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
22184 SwigValueWrapper
<wxVisualAttributes
> result
;
22187 PyObject
*swig_obj
[1] ;
22189 if (!args
) SWIG_fail
;
22190 swig_obj
[0] = args
;
22191 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyWindow
, 0 | 0 );
22192 if (!SWIG_IsOK(res1
)) {
22193 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyWindow_GetDefaultAttributes" "', expected argument " "1"" of type '" "wxPyWindow *""'");
22195 arg1
= reinterpret_cast< wxPyWindow
* >(argp1
);
22197 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22198 result
= (arg1
)->GetDefaultAttributes();
22199 wxPyEndAllowThreads(__tstate
);
22200 if (PyErr_Occurred()) SWIG_fail
;
22202 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
22209 SWIGINTERN PyObject
*_wrap_PyWindow_OnInternalIdle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22210 PyObject
*resultobj
= 0;
22211 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
22214 PyObject
*swig_obj
[1] ;
22216 if (!args
) SWIG_fail
;
22217 swig_obj
[0] = args
;
22218 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyWindow
, 0 | 0 );
22219 if (!SWIG_IsOK(res1
)) {
22220 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyWindow_OnInternalIdle" "', expected argument " "1"" of type '" "wxPyWindow *""'");
22222 arg1
= reinterpret_cast< wxPyWindow
* >(argp1
);
22224 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22225 (arg1
)->OnInternalIdle();
22226 wxPyEndAllowThreads(__tstate
);
22227 if (PyErr_Occurred()) SWIG_fail
;
22229 resultobj
= SWIG_Py_Void();
22236 SWIGINTERN PyObject
*PyWindow_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22238 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
22239 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyWindow
, SWIG_NewClientData(obj
));
22240 return SWIG_Py_Void();
22243 SWIGINTERN PyObject
*PyWindow_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22244 return SWIG_Python_InitShadowInstance(args
);
22247 SWIGINTERN PyObject
*_wrap_new_PyPanel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22248 PyObject
*resultobj
= 0;
22249 wxWindow
*arg1
= (wxWindow
*) 0 ;
22250 int arg2
= (int) (int)-1 ;
22251 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
22252 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
22253 wxSize
const &arg4_defvalue
= wxDefaultSize
;
22254 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
22255 long arg5
= (long) 0 ;
22256 wxString
const &arg6_defvalue
= wxPyPanelNameStr
;
22257 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
22258 wxPyPanel
*result
= 0 ;
22267 bool temp6
= false ;
22268 PyObject
* obj0
= 0 ;
22269 PyObject
* obj1
= 0 ;
22270 PyObject
* obj2
= 0 ;
22271 PyObject
* obj3
= 0 ;
22272 PyObject
* obj4
= 0 ;
22273 PyObject
* obj5
= 0 ;
22274 char * kwnames
[] = {
22275 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
22278 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_PyPanel",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
22279 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
22280 if (!SWIG_IsOK(res1
)) {
22281 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PyPanel" "', expected argument " "1"" of type '" "wxWindow *""'");
22283 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
22285 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22286 if (!SWIG_IsOK(ecode2
)) {
22287 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_PyPanel" "', expected argument " "2"" of type '" "int""'");
22289 arg2
= static_cast< int >(val2
);
22294 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
22300 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
22304 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
22305 if (!SWIG_IsOK(ecode5
)) {
22306 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_PyPanel" "', expected argument " "5"" of type '" "long""'");
22308 arg5
= static_cast< long >(val5
);
22312 arg6
= wxString_in_helper(obj5
);
22313 if (arg6
== NULL
) SWIG_fail
;
22318 if (!wxPyCheckForApp()) SWIG_fail
;
22319 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22320 result
= (wxPyPanel
*)new wxPyPanel(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
22321 wxPyEndAllowThreads(__tstate
);
22322 if (PyErr_Occurred()) SWIG_fail
;
22324 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyPanel
, SWIG_POINTER_NEW
| 0 );
22339 SWIGINTERN PyObject
*_wrap_new_PrePyPanel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22340 PyObject
*resultobj
= 0;
22341 wxPyPanel
*result
= 0 ;
22343 if (!SWIG_Python_UnpackTuple(args
,"new_PrePyPanel",0,0,0)) SWIG_fail
;
22345 if (!wxPyCheckForApp()) SWIG_fail
;
22346 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22347 result
= (wxPyPanel
*)new wxPyPanel();
22348 wxPyEndAllowThreads(__tstate
);
22349 if (PyErr_Occurred()) SWIG_fail
;
22351 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyPanel
, SWIG_POINTER_OWN
| 0 );
22358 SWIGINTERN PyObject
*_wrap_PyPanel__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22359 PyObject
*resultobj
= 0;
22360 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
22361 PyObject
*arg2
= (PyObject
*) 0 ;
22362 PyObject
*arg3
= (PyObject
*) 0 ;
22365 PyObject
* obj0
= 0 ;
22366 PyObject
* obj1
= 0 ;
22367 PyObject
* obj2
= 0 ;
22368 char * kwnames
[] = {
22369 (char *) "self",(char *) "self",(char *) "_class", NULL
22372 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyPanel__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
22373 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPanel
, 0 | 0 );
22374 if (!SWIG_IsOK(res1
)) {
22375 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPanel__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyPanel *""'");
22377 arg1
= reinterpret_cast< wxPyPanel
* >(argp1
);
22381 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22382 (arg1
)->_setCallbackInfo(arg2
,arg3
);
22383 wxPyEndAllowThreads(__tstate
);
22384 if (PyErr_Occurred()) SWIG_fail
;
22386 resultobj
= SWIG_Py_Void();
22393 SWIGINTERN PyObject
*_wrap_PyPanel_DoEraseBackground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22394 PyObject
*resultobj
= 0;
22395 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
22396 wxDC
*arg2
= (wxDC
*) 0 ;
22402 PyObject
* obj0
= 0 ;
22403 PyObject
* obj1
= 0 ;
22404 char * kwnames
[] = {
22405 (char *) "self",(char *) "dc", NULL
22408 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPanel_DoEraseBackground",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22409 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPanel
, 0 | 0 );
22410 if (!SWIG_IsOK(res1
)) {
22411 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPanel_DoEraseBackground" "', expected argument " "1"" of type '" "wxPyPanel *""'");
22413 arg1
= reinterpret_cast< wxPyPanel
* >(argp1
);
22414 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxDC
, 0 | 0 );
22415 if (!SWIG_IsOK(res2
)) {
22416 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PyPanel_DoEraseBackground" "', expected argument " "2"" of type '" "wxDC *""'");
22418 arg2
= reinterpret_cast< wxDC
* >(argp2
);
22420 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22421 result
= (bool)(arg1
)->DoEraseBackground(arg2
);
22422 wxPyEndAllowThreads(__tstate
);
22423 if (PyErr_Occurred()) SWIG_fail
;
22426 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22434 SWIGINTERN PyObject
*_wrap_PyPanel_DoMoveWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22435 PyObject
*resultobj
= 0;
22436 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
22451 PyObject
* obj0
= 0 ;
22452 PyObject
* obj1
= 0 ;
22453 PyObject
* obj2
= 0 ;
22454 PyObject
* obj3
= 0 ;
22455 PyObject
* obj4
= 0 ;
22456 char * kwnames
[] = {
22457 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
22460 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:PyPanel_DoMoveWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
22461 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPanel
, 0 | 0 );
22462 if (!SWIG_IsOK(res1
)) {
22463 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPanel_DoMoveWindow" "', expected argument " "1"" of type '" "wxPyPanel *""'");
22465 arg1
= reinterpret_cast< wxPyPanel
* >(argp1
);
22466 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22467 if (!SWIG_IsOK(ecode2
)) {
22468 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PyPanel_DoMoveWindow" "', expected argument " "2"" of type '" "int""'");
22470 arg2
= static_cast< int >(val2
);
22471 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
22472 if (!SWIG_IsOK(ecode3
)) {
22473 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PyPanel_DoMoveWindow" "', expected argument " "3"" of type '" "int""'");
22475 arg3
= static_cast< int >(val3
);
22476 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
22477 if (!SWIG_IsOK(ecode4
)) {
22478 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PyPanel_DoMoveWindow" "', expected argument " "4"" of type '" "int""'");
22480 arg4
= static_cast< int >(val4
);
22481 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
22482 if (!SWIG_IsOK(ecode5
)) {
22483 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PyPanel_DoMoveWindow" "', expected argument " "5"" of type '" "int""'");
22485 arg5
= static_cast< int >(val5
);
22487 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22488 (arg1
)->DoMoveWindow(arg2
,arg3
,arg4
,arg5
);
22489 wxPyEndAllowThreads(__tstate
);
22490 if (PyErr_Occurred()) SWIG_fail
;
22492 resultobj
= SWIG_Py_Void();
22499 SWIGINTERN PyObject
*_wrap_PyPanel_DoSetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22500 PyObject
*resultobj
= 0;
22501 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
22506 int arg6
= (int) wxSIZE_AUTO
;
22519 PyObject
* obj0
= 0 ;
22520 PyObject
* obj1
= 0 ;
22521 PyObject
* obj2
= 0 ;
22522 PyObject
* obj3
= 0 ;
22523 PyObject
* obj4
= 0 ;
22524 PyObject
* obj5
= 0 ;
22525 char * kwnames
[] = {
22526 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
22529 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:PyPanel_DoSetSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
22530 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPanel
, 0 | 0 );
22531 if (!SWIG_IsOK(res1
)) {
22532 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPanel_DoSetSize" "', expected argument " "1"" of type '" "wxPyPanel *""'");
22534 arg1
= reinterpret_cast< wxPyPanel
* >(argp1
);
22535 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22536 if (!SWIG_IsOK(ecode2
)) {
22537 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PyPanel_DoSetSize" "', expected argument " "2"" of type '" "int""'");
22539 arg2
= static_cast< int >(val2
);
22540 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
22541 if (!SWIG_IsOK(ecode3
)) {
22542 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PyPanel_DoSetSize" "', expected argument " "3"" of type '" "int""'");
22544 arg3
= static_cast< int >(val3
);
22545 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
22546 if (!SWIG_IsOK(ecode4
)) {
22547 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PyPanel_DoSetSize" "', expected argument " "4"" of type '" "int""'");
22549 arg4
= static_cast< int >(val4
);
22550 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
22551 if (!SWIG_IsOK(ecode5
)) {
22552 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PyPanel_DoSetSize" "', expected argument " "5"" of type '" "int""'");
22554 arg5
= static_cast< int >(val5
);
22556 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
22557 if (!SWIG_IsOK(ecode6
)) {
22558 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "PyPanel_DoSetSize" "', expected argument " "6"" of type '" "int""'");
22560 arg6
= static_cast< int >(val6
);
22563 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22564 (arg1
)->DoSetSize(arg2
,arg3
,arg4
,arg5
,arg6
);
22565 wxPyEndAllowThreads(__tstate
);
22566 if (PyErr_Occurred()) SWIG_fail
;
22568 resultobj
= SWIG_Py_Void();
22575 SWIGINTERN PyObject
*_wrap_PyPanel_DoSetClientSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22576 PyObject
*resultobj
= 0;
22577 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
22586 PyObject
* obj0
= 0 ;
22587 PyObject
* obj1
= 0 ;
22588 PyObject
* obj2
= 0 ;
22589 char * kwnames
[] = {
22590 (char *) "self",(char *) "width",(char *) "height", NULL
22593 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyPanel_DoSetClientSize",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
22594 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPanel
, 0 | 0 );
22595 if (!SWIG_IsOK(res1
)) {
22596 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPanel_DoSetClientSize" "', expected argument " "1"" of type '" "wxPyPanel *""'");
22598 arg1
= reinterpret_cast< wxPyPanel
* >(argp1
);
22599 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22600 if (!SWIG_IsOK(ecode2
)) {
22601 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PyPanel_DoSetClientSize" "', expected argument " "2"" of type '" "int""'");
22603 arg2
= static_cast< int >(val2
);
22604 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
22605 if (!SWIG_IsOK(ecode3
)) {
22606 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PyPanel_DoSetClientSize" "', expected argument " "3"" of type '" "int""'");
22608 arg3
= static_cast< int >(val3
);
22610 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22611 (arg1
)->DoSetClientSize(arg2
,arg3
);
22612 wxPyEndAllowThreads(__tstate
);
22613 if (PyErr_Occurred()) SWIG_fail
;
22615 resultobj
= SWIG_Py_Void();
22622 SWIGINTERN PyObject
*_wrap_PyPanel_DoSetVirtualSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22623 PyObject
*resultobj
= 0;
22624 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
22633 PyObject
* obj0
= 0 ;
22634 PyObject
* obj1
= 0 ;
22635 PyObject
* obj2
= 0 ;
22636 char * kwnames
[] = {
22637 (char *) "self",(char *) "x",(char *) "y", NULL
22640 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyPanel_DoSetVirtualSize",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
22641 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPanel
, 0 | 0 );
22642 if (!SWIG_IsOK(res1
)) {
22643 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPanel_DoSetVirtualSize" "', expected argument " "1"" of type '" "wxPyPanel *""'");
22645 arg1
= reinterpret_cast< wxPyPanel
* >(argp1
);
22646 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22647 if (!SWIG_IsOK(ecode2
)) {
22648 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PyPanel_DoSetVirtualSize" "', expected argument " "2"" of type '" "int""'");
22650 arg2
= static_cast< int >(val2
);
22651 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
22652 if (!SWIG_IsOK(ecode3
)) {
22653 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PyPanel_DoSetVirtualSize" "', expected argument " "3"" of type '" "int""'");
22655 arg3
= static_cast< int >(val3
);
22657 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22658 (arg1
)->DoSetVirtualSize(arg2
,arg3
);
22659 wxPyEndAllowThreads(__tstate
);
22660 if (PyErr_Occurred()) SWIG_fail
;
22662 resultobj
= SWIG_Py_Void();
22669 SWIGINTERN PyObject
*_wrap_PyPanel_DoGetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22670 PyObject
*resultobj
= 0;
22671 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
22672 int *arg2
= (int *) 0 ;
22673 int *arg3
= (int *) 0 ;
22677 int res2
= SWIG_TMPOBJ
;
22679 int res3
= SWIG_TMPOBJ
;
22680 PyObject
*swig_obj
[1] ;
22684 if (!args
) SWIG_fail
;
22685 swig_obj
[0] = args
;
22686 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPanel
, 0 | 0 );
22687 if (!SWIG_IsOK(res1
)) {
22688 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPanel_DoGetSize" "', expected argument " "1"" of type '" "wxPyPanel const *""'");
22690 arg1
= reinterpret_cast< wxPyPanel
* >(argp1
);
22692 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22693 ((wxPyPanel
const *)arg1
)->DoGetSize(arg2
,arg3
);
22694 wxPyEndAllowThreads(__tstate
);
22695 if (PyErr_Occurred()) SWIG_fail
;
22697 resultobj
= SWIG_Py_Void();
22698 if (SWIG_IsTmpObj(res2
)) {
22699 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
22701 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
22702 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
22704 if (SWIG_IsTmpObj(res3
)) {
22705 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
22707 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
22708 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
22716 SWIGINTERN PyObject
*_wrap_PyPanel_DoGetClientSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22717 PyObject
*resultobj
= 0;
22718 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
22719 int *arg2
= (int *) 0 ;
22720 int *arg3
= (int *) 0 ;
22724 int res2
= SWIG_TMPOBJ
;
22726 int res3
= SWIG_TMPOBJ
;
22727 PyObject
*swig_obj
[1] ;
22731 if (!args
) SWIG_fail
;
22732 swig_obj
[0] = args
;
22733 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPanel
, 0 | 0 );
22734 if (!SWIG_IsOK(res1
)) {
22735 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPanel_DoGetClientSize" "', expected argument " "1"" of type '" "wxPyPanel const *""'");
22737 arg1
= reinterpret_cast< wxPyPanel
* >(argp1
);
22739 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22740 ((wxPyPanel
const *)arg1
)->DoGetClientSize(arg2
,arg3
);
22741 wxPyEndAllowThreads(__tstate
);
22742 if (PyErr_Occurred()) SWIG_fail
;
22744 resultobj
= SWIG_Py_Void();
22745 if (SWIG_IsTmpObj(res2
)) {
22746 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
22748 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
22749 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
22751 if (SWIG_IsTmpObj(res3
)) {
22752 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
22754 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
22755 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
22763 SWIGINTERN PyObject
*_wrap_PyPanel_DoGetPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22764 PyObject
*resultobj
= 0;
22765 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
22766 int *arg2
= (int *) 0 ;
22767 int *arg3
= (int *) 0 ;
22771 int res2
= SWIG_TMPOBJ
;
22773 int res3
= SWIG_TMPOBJ
;
22774 PyObject
*swig_obj
[1] ;
22778 if (!args
) SWIG_fail
;
22779 swig_obj
[0] = args
;
22780 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPanel
, 0 | 0 );
22781 if (!SWIG_IsOK(res1
)) {
22782 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPanel_DoGetPosition" "', expected argument " "1"" of type '" "wxPyPanel const *""'");
22784 arg1
= reinterpret_cast< wxPyPanel
* >(argp1
);
22786 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22787 ((wxPyPanel
const *)arg1
)->DoGetPosition(arg2
,arg3
);
22788 wxPyEndAllowThreads(__tstate
);
22789 if (PyErr_Occurred()) SWIG_fail
;
22791 resultobj
= SWIG_Py_Void();
22792 if (SWIG_IsTmpObj(res2
)) {
22793 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
22795 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
22796 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
22798 if (SWIG_IsTmpObj(res3
)) {
22799 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
22801 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
22802 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
22810 SWIGINTERN PyObject
*_wrap_PyPanel_DoGetVirtualSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22811 PyObject
*resultobj
= 0;
22812 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
22816 PyObject
*swig_obj
[1] ;
22818 if (!args
) SWIG_fail
;
22819 swig_obj
[0] = args
;
22820 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPanel
, 0 | 0 );
22821 if (!SWIG_IsOK(res1
)) {
22822 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPanel_DoGetVirtualSize" "', expected argument " "1"" of type '" "wxPyPanel const *""'");
22824 arg1
= reinterpret_cast< wxPyPanel
* >(argp1
);
22826 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22827 result
= ((wxPyPanel
const *)arg1
)->DoGetVirtualSize();
22828 wxPyEndAllowThreads(__tstate
);
22829 if (PyErr_Occurred()) SWIG_fail
;
22831 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
22838 SWIGINTERN PyObject
*_wrap_PyPanel_DoGetBestSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22839 PyObject
*resultobj
= 0;
22840 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
22844 PyObject
*swig_obj
[1] ;
22846 if (!args
) SWIG_fail
;
22847 swig_obj
[0] = args
;
22848 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPanel
, 0 | 0 );
22849 if (!SWIG_IsOK(res1
)) {
22850 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPanel_DoGetBestSize" "', expected argument " "1"" of type '" "wxPyPanel const *""'");
22852 arg1
= reinterpret_cast< wxPyPanel
* >(argp1
);
22854 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22855 result
= ((wxPyPanel
const *)arg1
)->DoGetBestSize();
22856 wxPyEndAllowThreads(__tstate
);
22857 if (PyErr_Occurred()) SWIG_fail
;
22859 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
22866 SWIGINTERN PyObject
*_wrap_PyPanel_GetDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22867 PyObject
*resultobj
= 0;
22868 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
22869 SwigValueWrapper
<wxVisualAttributes
> result
;
22872 PyObject
*swig_obj
[1] ;
22874 if (!args
) SWIG_fail
;
22875 swig_obj
[0] = args
;
22876 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPanel
, 0 | 0 );
22877 if (!SWIG_IsOK(res1
)) {
22878 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPanel_GetDefaultAttributes" "', expected argument " "1"" of type '" "wxPyPanel *""'");
22880 arg1
= reinterpret_cast< wxPyPanel
* >(argp1
);
22882 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22883 result
= (arg1
)->GetDefaultAttributes();
22884 wxPyEndAllowThreads(__tstate
);
22885 if (PyErr_Occurred()) SWIG_fail
;
22887 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
22894 SWIGINTERN PyObject
*_wrap_PyPanel_OnInternalIdle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22895 PyObject
*resultobj
= 0;
22896 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
22899 PyObject
*swig_obj
[1] ;
22901 if (!args
) SWIG_fail
;
22902 swig_obj
[0] = args
;
22903 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPanel
, 0 | 0 );
22904 if (!SWIG_IsOK(res1
)) {
22905 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPanel_OnInternalIdle" "', expected argument " "1"" of type '" "wxPyPanel *""'");
22907 arg1
= reinterpret_cast< wxPyPanel
* >(argp1
);
22909 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22910 (arg1
)->OnInternalIdle();
22911 wxPyEndAllowThreads(__tstate
);
22912 if (PyErr_Occurred()) SWIG_fail
;
22914 resultobj
= SWIG_Py_Void();
22921 SWIGINTERN PyObject
*PyPanel_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22923 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
22924 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyPanel
, SWIG_NewClientData(obj
));
22925 return SWIG_Py_Void();
22928 SWIGINTERN PyObject
*PyPanel_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22929 return SWIG_Python_InitShadowInstance(args
);
22932 SWIGINTERN PyObject
*_wrap_new_PyScrolledWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22933 PyObject
*resultobj
= 0;
22934 wxWindow
*arg1
= (wxWindow
*) 0 ;
22935 int arg2
= (int) (int)-1 ;
22936 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
22937 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
22938 wxSize
const &arg4_defvalue
= wxDefaultSize
;
22939 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
22940 long arg5
= (long) 0 ;
22941 wxString
const &arg6_defvalue
= wxPyPanelNameStr
;
22942 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
22943 wxPyScrolledWindow
*result
= 0 ;
22952 bool temp6
= false ;
22953 PyObject
* obj0
= 0 ;
22954 PyObject
* obj1
= 0 ;
22955 PyObject
* obj2
= 0 ;
22956 PyObject
* obj3
= 0 ;
22957 PyObject
* obj4
= 0 ;
22958 PyObject
* obj5
= 0 ;
22959 char * kwnames
[] = {
22960 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
22963 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_PyScrolledWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
22964 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
22965 if (!SWIG_IsOK(res1
)) {
22966 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PyScrolledWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
22968 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
22970 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22971 if (!SWIG_IsOK(ecode2
)) {
22972 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_PyScrolledWindow" "', expected argument " "2"" of type '" "int""'");
22974 arg2
= static_cast< int >(val2
);
22979 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
22985 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
22989 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
22990 if (!SWIG_IsOK(ecode5
)) {
22991 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_PyScrolledWindow" "', expected argument " "5"" of type '" "long""'");
22993 arg5
= static_cast< long >(val5
);
22997 arg6
= wxString_in_helper(obj5
);
22998 if (arg6
== NULL
) SWIG_fail
;
23003 if (!wxPyCheckForApp()) SWIG_fail
;
23004 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23005 result
= (wxPyScrolledWindow
*)new wxPyScrolledWindow(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
23006 wxPyEndAllowThreads(__tstate
);
23007 if (PyErr_Occurred()) SWIG_fail
;
23009 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyScrolledWindow
, SWIG_POINTER_NEW
| 0 );
23024 SWIGINTERN PyObject
*_wrap_new_PrePyScrolledWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23025 PyObject
*resultobj
= 0;
23026 wxPyScrolledWindow
*result
= 0 ;
23028 if (!SWIG_Python_UnpackTuple(args
,"new_PrePyScrolledWindow",0,0,0)) SWIG_fail
;
23030 if (!wxPyCheckForApp()) SWIG_fail
;
23031 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23032 result
= (wxPyScrolledWindow
*)new wxPyScrolledWindow();
23033 wxPyEndAllowThreads(__tstate
);
23034 if (PyErr_Occurred()) SWIG_fail
;
23036 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyScrolledWindow
, SWIG_POINTER_OWN
| 0 );
23043 SWIGINTERN PyObject
*_wrap_PyScrolledWindow__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23044 PyObject
*resultobj
= 0;
23045 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
23046 PyObject
*arg2
= (PyObject
*) 0 ;
23047 PyObject
*arg3
= (PyObject
*) 0 ;
23050 PyObject
* obj0
= 0 ;
23051 PyObject
* obj1
= 0 ;
23052 PyObject
* obj2
= 0 ;
23053 char * kwnames
[] = {
23054 (char *) "self",(char *) "self",(char *) "_class", NULL
23057 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyScrolledWindow__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
23058 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyScrolledWindow
, 0 | 0 );
23059 if (!SWIG_IsOK(res1
)) {
23060 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyScrolledWindow__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyScrolledWindow *""'");
23062 arg1
= reinterpret_cast< wxPyScrolledWindow
* >(argp1
);
23066 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23067 (arg1
)->_setCallbackInfo(arg2
,arg3
);
23068 wxPyEndAllowThreads(__tstate
);
23069 if (PyErr_Occurred()) SWIG_fail
;
23071 resultobj
= SWIG_Py_Void();
23078 SWIGINTERN PyObject
*_wrap_PyScrolledWindow_DoEraseBackground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23079 PyObject
*resultobj
= 0;
23080 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
23081 wxDC
*arg2
= (wxDC
*) 0 ;
23087 PyObject
* obj0
= 0 ;
23088 PyObject
* obj1
= 0 ;
23089 char * kwnames
[] = {
23090 (char *) "self",(char *) "dc", NULL
23093 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyScrolledWindow_DoEraseBackground",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23094 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyScrolledWindow
, 0 | 0 );
23095 if (!SWIG_IsOK(res1
)) {
23096 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyScrolledWindow_DoEraseBackground" "', expected argument " "1"" of type '" "wxPyScrolledWindow *""'");
23098 arg1
= reinterpret_cast< wxPyScrolledWindow
* >(argp1
);
23099 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxDC
, 0 | 0 );
23100 if (!SWIG_IsOK(res2
)) {
23101 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PyScrolledWindow_DoEraseBackground" "', expected argument " "2"" of type '" "wxDC *""'");
23103 arg2
= reinterpret_cast< wxDC
* >(argp2
);
23105 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23106 result
= (bool)(arg1
)->DoEraseBackground(arg2
);
23107 wxPyEndAllowThreads(__tstate
);
23108 if (PyErr_Occurred()) SWIG_fail
;
23111 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23119 SWIGINTERN PyObject
*_wrap_PyScrolledWindow_DoMoveWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23120 PyObject
*resultobj
= 0;
23121 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
23136 PyObject
* obj0
= 0 ;
23137 PyObject
* obj1
= 0 ;
23138 PyObject
* obj2
= 0 ;
23139 PyObject
* obj3
= 0 ;
23140 PyObject
* obj4
= 0 ;
23141 char * kwnames
[] = {
23142 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
23145 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:PyScrolledWindow_DoMoveWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
23146 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyScrolledWindow
, 0 | 0 );
23147 if (!SWIG_IsOK(res1
)) {
23148 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyScrolledWindow_DoMoveWindow" "', expected argument " "1"" of type '" "wxPyScrolledWindow *""'");
23150 arg1
= reinterpret_cast< wxPyScrolledWindow
* >(argp1
);
23151 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
23152 if (!SWIG_IsOK(ecode2
)) {
23153 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PyScrolledWindow_DoMoveWindow" "', expected argument " "2"" of type '" "int""'");
23155 arg2
= static_cast< int >(val2
);
23156 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
23157 if (!SWIG_IsOK(ecode3
)) {
23158 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PyScrolledWindow_DoMoveWindow" "', expected argument " "3"" of type '" "int""'");
23160 arg3
= static_cast< int >(val3
);
23161 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
23162 if (!SWIG_IsOK(ecode4
)) {
23163 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PyScrolledWindow_DoMoveWindow" "', expected argument " "4"" of type '" "int""'");
23165 arg4
= static_cast< int >(val4
);
23166 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
23167 if (!SWIG_IsOK(ecode5
)) {
23168 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PyScrolledWindow_DoMoveWindow" "', expected argument " "5"" of type '" "int""'");
23170 arg5
= static_cast< int >(val5
);
23172 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23173 (arg1
)->DoMoveWindow(arg2
,arg3
,arg4
,arg5
);
23174 wxPyEndAllowThreads(__tstate
);
23175 if (PyErr_Occurred()) SWIG_fail
;
23177 resultobj
= SWIG_Py_Void();
23184 SWIGINTERN PyObject
*_wrap_PyScrolledWindow_DoSetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23185 PyObject
*resultobj
= 0;
23186 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
23191 int arg6
= (int) wxSIZE_AUTO
;
23204 PyObject
* obj0
= 0 ;
23205 PyObject
* obj1
= 0 ;
23206 PyObject
* obj2
= 0 ;
23207 PyObject
* obj3
= 0 ;
23208 PyObject
* obj4
= 0 ;
23209 PyObject
* obj5
= 0 ;
23210 char * kwnames
[] = {
23211 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
23214 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:PyScrolledWindow_DoSetSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
23215 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyScrolledWindow
, 0 | 0 );
23216 if (!SWIG_IsOK(res1
)) {
23217 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyScrolledWindow_DoSetSize" "', expected argument " "1"" of type '" "wxPyScrolledWindow *""'");
23219 arg1
= reinterpret_cast< wxPyScrolledWindow
* >(argp1
);
23220 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
23221 if (!SWIG_IsOK(ecode2
)) {
23222 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PyScrolledWindow_DoSetSize" "', expected argument " "2"" of type '" "int""'");
23224 arg2
= static_cast< int >(val2
);
23225 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
23226 if (!SWIG_IsOK(ecode3
)) {
23227 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PyScrolledWindow_DoSetSize" "', expected argument " "3"" of type '" "int""'");
23229 arg3
= static_cast< int >(val3
);
23230 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
23231 if (!SWIG_IsOK(ecode4
)) {
23232 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PyScrolledWindow_DoSetSize" "', expected argument " "4"" of type '" "int""'");
23234 arg4
= static_cast< int >(val4
);
23235 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
23236 if (!SWIG_IsOK(ecode5
)) {
23237 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PyScrolledWindow_DoSetSize" "', expected argument " "5"" of type '" "int""'");
23239 arg5
= static_cast< int >(val5
);
23241 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
23242 if (!SWIG_IsOK(ecode6
)) {
23243 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "PyScrolledWindow_DoSetSize" "', expected argument " "6"" of type '" "int""'");
23245 arg6
= static_cast< int >(val6
);
23248 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23249 (arg1
)->DoSetSize(arg2
,arg3
,arg4
,arg5
,arg6
);
23250 wxPyEndAllowThreads(__tstate
);
23251 if (PyErr_Occurred()) SWIG_fail
;
23253 resultobj
= SWIG_Py_Void();
23260 SWIGINTERN PyObject
*_wrap_PyScrolledWindow_DoSetClientSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23261 PyObject
*resultobj
= 0;
23262 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
23271 PyObject
* obj0
= 0 ;
23272 PyObject
* obj1
= 0 ;
23273 PyObject
* obj2
= 0 ;
23274 char * kwnames
[] = {
23275 (char *) "self",(char *) "width",(char *) "height", NULL
23278 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyScrolledWindow_DoSetClientSize",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
23279 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyScrolledWindow
, 0 | 0 );
23280 if (!SWIG_IsOK(res1
)) {
23281 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyScrolledWindow_DoSetClientSize" "', expected argument " "1"" of type '" "wxPyScrolledWindow *""'");
23283 arg1
= reinterpret_cast< wxPyScrolledWindow
* >(argp1
);
23284 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
23285 if (!SWIG_IsOK(ecode2
)) {
23286 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PyScrolledWindow_DoSetClientSize" "', expected argument " "2"" of type '" "int""'");
23288 arg2
= static_cast< int >(val2
);
23289 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
23290 if (!SWIG_IsOK(ecode3
)) {
23291 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PyScrolledWindow_DoSetClientSize" "', expected argument " "3"" of type '" "int""'");
23293 arg3
= static_cast< int >(val3
);
23295 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23296 (arg1
)->DoSetClientSize(arg2
,arg3
);
23297 wxPyEndAllowThreads(__tstate
);
23298 if (PyErr_Occurred()) SWIG_fail
;
23300 resultobj
= SWIG_Py_Void();
23307 SWIGINTERN PyObject
*_wrap_PyScrolledWindow_DoSetVirtualSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23308 PyObject
*resultobj
= 0;
23309 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
23318 PyObject
* obj0
= 0 ;
23319 PyObject
* obj1
= 0 ;
23320 PyObject
* obj2
= 0 ;
23321 char * kwnames
[] = {
23322 (char *) "self",(char *) "x",(char *) "y", NULL
23325 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyScrolledWindow_DoSetVirtualSize",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
23326 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyScrolledWindow
, 0 | 0 );
23327 if (!SWIG_IsOK(res1
)) {
23328 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyScrolledWindow_DoSetVirtualSize" "', expected argument " "1"" of type '" "wxPyScrolledWindow *""'");
23330 arg1
= reinterpret_cast< wxPyScrolledWindow
* >(argp1
);
23331 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
23332 if (!SWIG_IsOK(ecode2
)) {
23333 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PyScrolledWindow_DoSetVirtualSize" "', expected argument " "2"" of type '" "int""'");
23335 arg2
= static_cast< int >(val2
);
23336 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
23337 if (!SWIG_IsOK(ecode3
)) {
23338 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PyScrolledWindow_DoSetVirtualSize" "', expected argument " "3"" of type '" "int""'");
23340 arg3
= static_cast< int >(val3
);
23342 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23343 (arg1
)->DoSetVirtualSize(arg2
,arg3
);
23344 wxPyEndAllowThreads(__tstate
);
23345 if (PyErr_Occurred()) SWIG_fail
;
23347 resultobj
= SWIG_Py_Void();
23354 SWIGINTERN PyObject
*_wrap_PyScrolledWindow_DoGetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23355 PyObject
*resultobj
= 0;
23356 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
23357 int *arg2
= (int *) 0 ;
23358 int *arg3
= (int *) 0 ;
23362 int res2
= SWIG_TMPOBJ
;
23364 int res3
= SWIG_TMPOBJ
;
23365 PyObject
*swig_obj
[1] ;
23369 if (!args
) SWIG_fail
;
23370 swig_obj
[0] = args
;
23371 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyScrolledWindow
, 0 | 0 );
23372 if (!SWIG_IsOK(res1
)) {
23373 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyScrolledWindow_DoGetSize" "', expected argument " "1"" of type '" "wxPyScrolledWindow const *""'");
23375 arg1
= reinterpret_cast< wxPyScrolledWindow
* >(argp1
);
23377 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23378 ((wxPyScrolledWindow
const *)arg1
)->DoGetSize(arg2
,arg3
);
23379 wxPyEndAllowThreads(__tstate
);
23380 if (PyErr_Occurred()) SWIG_fail
;
23382 resultobj
= SWIG_Py_Void();
23383 if (SWIG_IsTmpObj(res2
)) {
23384 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
23386 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
23387 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
23389 if (SWIG_IsTmpObj(res3
)) {
23390 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
23392 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
23393 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
23401 SWIGINTERN PyObject
*_wrap_PyScrolledWindow_DoGetClientSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23402 PyObject
*resultobj
= 0;
23403 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
23404 int *arg2
= (int *) 0 ;
23405 int *arg3
= (int *) 0 ;
23409 int res2
= SWIG_TMPOBJ
;
23411 int res3
= SWIG_TMPOBJ
;
23412 PyObject
*swig_obj
[1] ;
23416 if (!args
) SWIG_fail
;
23417 swig_obj
[0] = args
;
23418 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyScrolledWindow
, 0 | 0 );
23419 if (!SWIG_IsOK(res1
)) {
23420 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyScrolledWindow_DoGetClientSize" "', expected argument " "1"" of type '" "wxPyScrolledWindow const *""'");
23422 arg1
= reinterpret_cast< wxPyScrolledWindow
* >(argp1
);
23424 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23425 ((wxPyScrolledWindow
const *)arg1
)->DoGetClientSize(arg2
,arg3
);
23426 wxPyEndAllowThreads(__tstate
);
23427 if (PyErr_Occurred()) SWIG_fail
;
23429 resultobj
= SWIG_Py_Void();
23430 if (SWIG_IsTmpObj(res2
)) {
23431 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
23433 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
23434 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
23436 if (SWIG_IsTmpObj(res3
)) {
23437 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
23439 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
23440 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
23448 SWIGINTERN PyObject
*_wrap_PyScrolledWindow_DoGetPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23449 PyObject
*resultobj
= 0;
23450 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
23451 int *arg2
= (int *) 0 ;
23452 int *arg3
= (int *) 0 ;
23456 int res2
= SWIG_TMPOBJ
;
23458 int res3
= SWIG_TMPOBJ
;
23459 PyObject
*swig_obj
[1] ;
23463 if (!args
) SWIG_fail
;
23464 swig_obj
[0] = args
;
23465 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyScrolledWindow
, 0 | 0 );
23466 if (!SWIG_IsOK(res1
)) {
23467 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyScrolledWindow_DoGetPosition" "', expected argument " "1"" of type '" "wxPyScrolledWindow const *""'");
23469 arg1
= reinterpret_cast< wxPyScrolledWindow
* >(argp1
);
23471 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23472 ((wxPyScrolledWindow
const *)arg1
)->DoGetPosition(arg2
,arg3
);
23473 wxPyEndAllowThreads(__tstate
);
23474 if (PyErr_Occurred()) SWIG_fail
;
23476 resultobj
= SWIG_Py_Void();
23477 if (SWIG_IsTmpObj(res2
)) {
23478 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
23480 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
23481 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
23483 if (SWIG_IsTmpObj(res3
)) {
23484 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
23486 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
23487 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
23495 SWIGINTERN PyObject
*_wrap_PyScrolledWindow_DoGetVirtualSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23496 PyObject
*resultobj
= 0;
23497 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
23501 PyObject
*swig_obj
[1] ;
23503 if (!args
) SWIG_fail
;
23504 swig_obj
[0] = args
;
23505 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyScrolledWindow
, 0 | 0 );
23506 if (!SWIG_IsOK(res1
)) {
23507 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyScrolledWindow_DoGetVirtualSize" "', expected argument " "1"" of type '" "wxPyScrolledWindow const *""'");
23509 arg1
= reinterpret_cast< wxPyScrolledWindow
* >(argp1
);
23511 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23512 result
= ((wxPyScrolledWindow
const *)arg1
)->DoGetVirtualSize();
23513 wxPyEndAllowThreads(__tstate
);
23514 if (PyErr_Occurred()) SWIG_fail
;
23516 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
23523 SWIGINTERN PyObject
*_wrap_PyScrolledWindow_DoGetBestSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23524 PyObject
*resultobj
= 0;
23525 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
23529 PyObject
*swig_obj
[1] ;
23531 if (!args
) SWIG_fail
;
23532 swig_obj
[0] = args
;
23533 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyScrolledWindow
, 0 | 0 );
23534 if (!SWIG_IsOK(res1
)) {
23535 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyScrolledWindow_DoGetBestSize" "', expected argument " "1"" of type '" "wxPyScrolledWindow const *""'");
23537 arg1
= reinterpret_cast< wxPyScrolledWindow
* >(argp1
);
23539 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23540 result
= ((wxPyScrolledWindow
const *)arg1
)->DoGetBestSize();
23541 wxPyEndAllowThreads(__tstate
);
23542 if (PyErr_Occurred()) SWIG_fail
;
23544 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
23551 SWIGINTERN PyObject
*_wrap_PyScrolledWindow_GetDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23552 PyObject
*resultobj
= 0;
23553 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
23554 SwigValueWrapper
<wxVisualAttributes
> result
;
23557 PyObject
*swig_obj
[1] ;
23559 if (!args
) SWIG_fail
;
23560 swig_obj
[0] = args
;
23561 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyScrolledWindow
, 0 | 0 );
23562 if (!SWIG_IsOK(res1
)) {
23563 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyScrolledWindow_GetDefaultAttributes" "', expected argument " "1"" of type '" "wxPyScrolledWindow *""'");
23565 arg1
= reinterpret_cast< wxPyScrolledWindow
* >(argp1
);
23567 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23568 result
= (arg1
)->GetDefaultAttributes();
23569 wxPyEndAllowThreads(__tstate
);
23570 if (PyErr_Occurred()) SWIG_fail
;
23572 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
23579 SWIGINTERN PyObject
*_wrap_PyScrolledWindow_OnInternalIdle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23580 PyObject
*resultobj
= 0;
23581 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
23584 PyObject
*swig_obj
[1] ;
23586 if (!args
) SWIG_fail
;
23587 swig_obj
[0] = args
;
23588 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyScrolledWindow
, 0 | 0 );
23589 if (!SWIG_IsOK(res1
)) {
23590 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyScrolledWindow_OnInternalIdle" "', expected argument " "1"" of type '" "wxPyScrolledWindow *""'");
23592 arg1
= reinterpret_cast< wxPyScrolledWindow
* >(argp1
);
23594 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23595 (arg1
)->OnInternalIdle();
23596 wxPyEndAllowThreads(__tstate
);
23597 if (PyErr_Occurred()) SWIG_fail
;
23599 resultobj
= SWIG_Py_Void();
23606 SWIGINTERN PyObject
*PyScrolledWindow_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23608 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
23609 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyScrolledWindow
, SWIG_NewClientData(obj
));
23610 return SWIG_Py_Void();
23613 SWIGINTERN PyObject
*PyScrolledWindow_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23614 return SWIG_Python_InitShadowInstance(args
);
23617 SWIGINTERN
int PrintoutTitleStr_set(PyObject
*) {
23618 SWIG_Error(SWIG_AttributeError
,"Variable PrintoutTitleStr is read-only.");
23623 SWIGINTERN PyObject
*PrintoutTitleStr_get(void) {
23624 PyObject
*pyobj
= 0;
23628 pyobj
= PyUnicode_FromWideChar((&wxPyPrintoutTitleStr
)->c_str(), (&wxPyPrintoutTitleStr
)->Len());
23630 pyobj
= PyString_FromStringAndSize((&wxPyPrintoutTitleStr
)->c_str(), (&wxPyPrintoutTitleStr
)->Len());
23637 SWIGINTERN
int PreviewCanvasNameStr_set(PyObject
*) {
23638 SWIG_Error(SWIG_AttributeError
,"Variable PreviewCanvasNameStr is read-only.");
23643 SWIGINTERN PyObject
*PreviewCanvasNameStr_get(void) {
23644 PyObject
*pyobj
= 0;
23648 pyobj
= PyUnicode_FromWideChar((&wxPyPreviewCanvasNameStr
)->c_str(), (&wxPyPreviewCanvasNameStr
)->Len());
23650 pyobj
= PyString_FromStringAndSize((&wxPyPreviewCanvasNameStr
)->c_str(), (&wxPyPreviewCanvasNameStr
)->Len());
23657 SWIGINTERN PyObject
*_wrap_new_PrintData__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**SWIGUNUSEDPARM(swig_obj
)) {
23658 PyObject
*resultobj
= 0;
23659 wxPrintData
*result
= 0 ;
23661 if ((nobjs
< 0) || (nobjs
> 0)) SWIG_fail
;
23663 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23664 result
= (wxPrintData
*)new wxPrintData();
23665 wxPyEndAllowThreads(__tstate
);
23666 if (PyErr_Occurred()) SWIG_fail
;
23668 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPrintData
, SWIG_POINTER_NEW
| 0 );
23675 SWIGINTERN PyObject
*_wrap_new_PrintData__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
23676 PyObject
*resultobj
= 0;
23677 wxPrintData
*arg1
= 0 ;
23678 wxPrintData
*result
= 0 ;
23682 if ((nobjs
< 1) || (nobjs
> 1)) SWIG_fail
;
23683 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxPrintData
, 0 | 0);
23684 if (!SWIG_IsOK(res1
)) {
23685 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PrintData" "', expected argument " "1"" of type '" "wxPrintData const &""'");
23688 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_PrintData" "', expected argument " "1"" of type '" "wxPrintData const &""'");
23690 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
23692 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23693 result
= (wxPrintData
*)new wxPrintData((wxPrintData
const &)*arg1
);
23694 wxPyEndAllowThreads(__tstate
);
23695 if (PyErr_Occurred()) SWIG_fail
;
23697 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPrintData
, SWIG_POINTER_NEW
| 0 );
23704 SWIGINTERN PyObject
*_wrap_new_PrintData(PyObject
*self
, PyObject
*args
) {
23708 if (!(argc
= SWIG_Python_UnpackTuple(args
,"new_PrintData",0,1,argv
))) SWIG_fail
;
23711 return _wrap_new_PrintData__SWIG_0(self
, argc
, argv
);
23714 return _wrap_new_PrintData__SWIG_1(self
, argc
, argv
);
23718 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'new_PrintData'");
23723 SWIGINTERN PyObject
*_wrap_delete_PrintData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23724 PyObject
*resultobj
= 0;
23725 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
23728 PyObject
*swig_obj
[1] ;
23730 if (!args
) SWIG_fail
;
23731 swig_obj
[0] = args
;
23732 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintData
, SWIG_POINTER_DISOWN
| 0 );
23733 if (!SWIG_IsOK(res1
)) {
23734 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_PrintData" "', expected argument " "1"" of type '" "wxPrintData *""'");
23736 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
23738 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23741 wxPyEndAllowThreads(__tstate
);
23742 if (PyErr_Occurred()) SWIG_fail
;
23744 resultobj
= SWIG_Py_Void();
23751 SWIGINTERN PyObject
*_wrap_PrintData_GetNoCopies(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23752 PyObject
*resultobj
= 0;
23753 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
23757 PyObject
*swig_obj
[1] ;
23759 if (!args
) SWIG_fail
;
23760 swig_obj
[0] = args
;
23761 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
23762 if (!SWIG_IsOK(res1
)) {
23763 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_GetNoCopies" "', expected argument " "1"" of type '" "wxPrintData *""'");
23765 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
23767 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23768 result
= (int)(arg1
)->GetNoCopies();
23769 wxPyEndAllowThreads(__tstate
);
23770 if (PyErr_Occurred()) SWIG_fail
;
23772 resultobj
= SWIG_From_int(static_cast< int >(result
));
23779 SWIGINTERN PyObject
*_wrap_PrintData_GetCollate(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23780 PyObject
*resultobj
= 0;
23781 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
23785 PyObject
*swig_obj
[1] ;
23787 if (!args
) SWIG_fail
;
23788 swig_obj
[0] = args
;
23789 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
23790 if (!SWIG_IsOK(res1
)) {
23791 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_GetCollate" "', expected argument " "1"" of type '" "wxPrintData *""'");
23793 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
23795 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23796 result
= (bool)(arg1
)->GetCollate();
23797 wxPyEndAllowThreads(__tstate
);
23798 if (PyErr_Occurred()) SWIG_fail
;
23801 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23809 SWIGINTERN PyObject
*_wrap_PrintData_GetOrientation(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23810 PyObject
*resultobj
= 0;
23811 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
23815 PyObject
*swig_obj
[1] ;
23817 if (!args
) SWIG_fail
;
23818 swig_obj
[0] = args
;
23819 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
23820 if (!SWIG_IsOK(res1
)) {
23821 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_GetOrientation" "', expected argument " "1"" of type '" "wxPrintData *""'");
23823 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
23825 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23826 result
= (int)(arg1
)->GetOrientation();
23827 wxPyEndAllowThreads(__tstate
);
23828 if (PyErr_Occurred()) SWIG_fail
;
23830 resultobj
= SWIG_From_int(static_cast< int >(result
));
23837 SWIGINTERN PyObject
*_wrap_PrintData_IsOrientationReversed(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23838 PyObject
*resultobj
= 0;
23839 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
23843 PyObject
*swig_obj
[1] ;
23845 if (!args
) SWIG_fail
;
23846 swig_obj
[0] = args
;
23847 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
23848 if (!SWIG_IsOK(res1
)) {
23849 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_IsOrientationReversed" "', expected argument " "1"" of type '" "wxPrintData const *""'");
23851 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
23853 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23854 result
= (bool)((wxPrintData
const *)arg1
)->IsOrientationReversed();
23855 wxPyEndAllowThreads(__tstate
);
23856 if (PyErr_Occurred()) SWIG_fail
;
23859 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23867 SWIGINTERN PyObject
*_wrap_PrintData_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23868 PyObject
*resultobj
= 0;
23869 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
23873 PyObject
*swig_obj
[1] ;
23875 if (!args
) SWIG_fail
;
23876 swig_obj
[0] = args
;
23877 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
23878 if (!SWIG_IsOK(res1
)) {
23879 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_IsOk" "', expected argument " "1"" of type '" "wxPrintData *""'");
23881 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
23883 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23884 result
= (bool)(arg1
)->IsOk();
23885 wxPyEndAllowThreads(__tstate
);
23886 if (PyErr_Occurred()) SWIG_fail
;
23889 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23897 SWIGINTERN PyObject
*_wrap_PrintData_GetPrinterName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23898 PyObject
*resultobj
= 0;
23899 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
23900 wxString
*result
= 0 ;
23903 PyObject
*swig_obj
[1] ;
23905 if (!args
) SWIG_fail
;
23906 swig_obj
[0] = args
;
23907 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
23908 if (!SWIG_IsOK(res1
)) {
23909 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_GetPrinterName" "', expected argument " "1"" of type '" "wxPrintData *""'");
23911 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
23913 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23915 wxString
const &_result_ref
= (arg1
)->GetPrinterName();
23916 result
= (wxString
*) &_result_ref
;
23918 wxPyEndAllowThreads(__tstate
);
23919 if (PyErr_Occurred()) SWIG_fail
;
23923 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
23925 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
23934 SWIGINTERN PyObject
*_wrap_PrintData_GetColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23935 PyObject
*resultobj
= 0;
23936 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
23940 PyObject
*swig_obj
[1] ;
23942 if (!args
) SWIG_fail
;
23943 swig_obj
[0] = args
;
23944 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
23945 if (!SWIG_IsOK(res1
)) {
23946 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_GetColour" "', expected argument " "1"" of type '" "wxPrintData *""'");
23948 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
23950 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23951 result
= (bool)(arg1
)->GetColour();
23952 wxPyEndAllowThreads(__tstate
);
23953 if (PyErr_Occurred()) SWIG_fail
;
23956 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23964 SWIGINTERN PyObject
*_wrap_PrintData_GetDuplex(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23965 PyObject
*resultobj
= 0;
23966 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
23967 wxDuplexMode result
;
23970 PyObject
*swig_obj
[1] ;
23972 if (!args
) SWIG_fail
;
23973 swig_obj
[0] = args
;
23974 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
23975 if (!SWIG_IsOK(res1
)) {
23976 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_GetDuplex" "', expected argument " "1"" of type '" "wxPrintData *""'");
23978 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
23980 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23981 result
= (wxDuplexMode
)(arg1
)->GetDuplex();
23982 wxPyEndAllowThreads(__tstate
);
23983 if (PyErr_Occurred()) SWIG_fail
;
23985 resultobj
= SWIG_From_int(static_cast< int >(result
));
23992 SWIGINTERN PyObject
*_wrap_PrintData_GetPaperId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23993 PyObject
*resultobj
= 0;
23994 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
23995 wxPaperSize result
;
23998 PyObject
*swig_obj
[1] ;
24000 if (!args
) SWIG_fail
;
24001 swig_obj
[0] = args
;
24002 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
24003 if (!SWIG_IsOK(res1
)) {
24004 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_GetPaperId" "', expected argument " "1"" of type '" "wxPrintData *""'");
24006 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
24008 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24009 result
= (wxPaperSize
)(arg1
)->GetPaperId();
24010 wxPyEndAllowThreads(__tstate
);
24011 if (PyErr_Occurred()) SWIG_fail
;
24013 resultobj
= SWIG_From_int(static_cast< int >(result
));
24020 SWIGINTERN PyObject
*_wrap_PrintData_GetPaperSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24021 PyObject
*resultobj
= 0;
24022 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
24023 wxSize
*result
= 0 ;
24026 PyObject
*swig_obj
[1] ;
24028 if (!args
) SWIG_fail
;
24029 swig_obj
[0] = args
;
24030 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
24031 if (!SWIG_IsOK(res1
)) {
24032 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_GetPaperSize" "', expected argument " "1"" of type '" "wxPrintData *""'");
24034 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
24036 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24038 wxSize
const &_result_ref
= (arg1
)->GetPaperSize();
24039 result
= (wxSize
*) &_result_ref
;
24041 wxPyEndAllowThreads(__tstate
);
24042 if (PyErr_Occurred()) SWIG_fail
;
24044 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSize
, 0 | 0 );
24051 SWIGINTERN PyObject
*_wrap_PrintData_GetQuality(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24052 PyObject
*resultobj
= 0;
24053 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
24057 PyObject
*swig_obj
[1] ;
24059 if (!args
) SWIG_fail
;
24060 swig_obj
[0] = args
;
24061 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
24062 if (!SWIG_IsOK(res1
)) {
24063 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_GetQuality" "', expected argument " "1"" of type '" "wxPrintData *""'");
24065 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
24067 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24068 result
= (int)(arg1
)->GetQuality();
24069 wxPyEndAllowThreads(__tstate
);
24070 if (PyErr_Occurred()) SWIG_fail
;
24072 resultobj
= SWIG_From_int(static_cast< int >(result
));
24079 SWIGINTERN PyObject
*_wrap_PrintData_GetBin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24080 PyObject
*resultobj
= 0;
24081 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
24085 PyObject
*swig_obj
[1] ;
24087 if (!args
) SWIG_fail
;
24088 swig_obj
[0] = args
;
24089 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
24090 if (!SWIG_IsOK(res1
)) {
24091 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_GetBin" "', expected argument " "1"" of type '" "wxPrintData *""'");
24093 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
24095 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24096 result
= (wxPrintBin
)(arg1
)->GetBin();
24097 wxPyEndAllowThreads(__tstate
);
24098 if (PyErr_Occurred()) SWIG_fail
;
24100 resultobj
= SWIG_From_int(static_cast< int >(result
));
24107 SWIGINTERN PyObject
*_wrap_PrintData_GetPrintMode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24108 PyObject
*resultobj
= 0;
24109 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
24110 wxPrintMode result
;
24113 PyObject
*swig_obj
[1] ;
24115 if (!args
) SWIG_fail
;
24116 swig_obj
[0] = args
;
24117 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
24118 if (!SWIG_IsOK(res1
)) {
24119 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_GetPrintMode" "', expected argument " "1"" of type '" "wxPrintData const *""'");
24121 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
24123 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24124 result
= (wxPrintMode
)((wxPrintData
const *)arg1
)->GetPrintMode();
24125 wxPyEndAllowThreads(__tstate
);
24126 if (PyErr_Occurred()) SWIG_fail
;
24128 resultobj
= SWIG_From_int(static_cast< int >(result
));
24135 SWIGINTERN PyObject
*_wrap_PrintData_GetMedia(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24136 PyObject
*resultobj
= 0;
24137 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
24141 PyObject
*swig_obj
[1] ;
24143 if (!args
) SWIG_fail
;
24144 swig_obj
[0] = args
;
24145 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
24146 if (!SWIG_IsOK(res1
)) {
24147 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_GetMedia" "', expected argument " "1"" of type '" "wxPrintData const *""'");
24149 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
24151 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24152 result
= (int)((wxPrintData
const *)arg1
)->GetMedia();
24153 wxPyEndAllowThreads(__tstate
);
24154 if (PyErr_Occurred()) SWIG_fail
;
24156 resultobj
= SWIG_From_int(static_cast< int >(result
));
24163 SWIGINTERN PyObject
*_wrap_PrintData_SetNoCopies(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24164 PyObject
*resultobj
= 0;
24165 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
24171 PyObject
* obj0
= 0 ;
24172 PyObject
* obj1
= 0 ;
24173 char * kwnames
[] = {
24174 (char *) "self",(char *) "v", NULL
24177 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetNoCopies",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24178 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
24179 if (!SWIG_IsOK(res1
)) {
24180 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_SetNoCopies" "', expected argument " "1"" of type '" "wxPrintData *""'");
24182 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
24183 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24184 if (!SWIG_IsOK(ecode2
)) {
24185 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintData_SetNoCopies" "', expected argument " "2"" of type '" "int""'");
24187 arg2
= static_cast< int >(val2
);
24189 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24190 (arg1
)->SetNoCopies(arg2
);
24191 wxPyEndAllowThreads(__tstate
);
24192 if (PyErr_Occurred()) SWIG_fail
;
24194 resultobj
= SWIG_Py_Void();
24201 SWIGINTERN PyObject
*_wrap_PrintData_SetCollate(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24202 PyObject
*resultobj
= 0;
24203 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
24209 PyObject
* obj0
= 0 ;
24210 PyObject
* obj1
= 0 ;
24211 char * kwnames
[] = {
24212 (char *) "self",(char *) "flag", NULL
24215 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetCollate",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24216 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
24217 if (!SWIG_IsOK(res1
)) {
24218 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_SetCollate" "', expected argument " "1"" of type '" "wxPrintData *""'");
24220 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
24221 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
24222 if (!SWIG_IsOK(ecode2
)) {
24223 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintData_SetCollate" "', expected argument " "2"" of type '" "bool""'");
24225 arg2
= static_cast< bool >(val2
);
24227 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24228 (arg1
)->SetCollate(arg2
);
24229 wxPyEndAllowThreads(__tstate
);
24230 if (PyErr_Occurred()) SWIG_fail
;
24232 resultobj
= SWIG_Py_Void();
24239 SWIGINTERN PyObject
*_wrap_PrintData_SetOrientation(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24240 PyObject
*resultobj
= 0;
24241 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
24247 PyObject
* obj0
= 0 ;
24248 PyObject
* obj1
= 0 ;
24249 char * kwnames
[] = {
24250 (char *) "self",(char *) "orient", NULL
24253 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetOrientation",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24254 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
24255 if (!SWIG_IsOK(res1
)) {
24256 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_SetOrientation" "', expected argument " "1"" of type '" "wxPrintData *""'");
24258 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
24259 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24260 if (!SWIG_IsOK(ecode2
)) {
24261 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintData_SetOrientation" "', expected argument " "2"" of type '" "int""'");
24263 arg2
= static_cast< int >(val2
);
24265 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24266 (arg1
)->SetOrientation(arg2
);
24267 wxPyEndAllowThreads(__tstate
);
24268 if (PyErr_Occurred()) SWIG_fail
;
24270 resultobj
= SWIG_Py_Void();
24277 SWIGINTERN PyObject
*_wrap_PrintData_SetOrientationReversed(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24278 PyObject
*resultobj
= 0;
24279 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
24285 PyObject
* obj0
= 0 ;
24286 PyObject
* obj1
= 0 ;
24287 char * kwnames
[] = {
24288 (char *) "self",(char *) "reversed", NULL
24291 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetOrientationReversed",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24292 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
24293 if (!SWIG_IsOK(res1
)) {
24294 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_SetOrientationReversed" "', expected argument " "1"" of type '" "wxPrintData *""'");
24296 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
24297 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
24298 if (!SWIG_IsOK(ecode2
)) {
24299 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintData_SetOrientationReversed" "', expected argument " "2"" of type '" "bool""'");
24301 arg2
= static_cast< bool >(val2
);
24303 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24304 (arg1
)->SetOrientationReversed(arg2
);
24305 wxPyEndAllowThreads(__tstate
);
24306 if (PyErr_Occurred()) SWIG_fail
;
24308 resultobj
= SWIG_Py_Void();
24315 SWIGINTERN PyObject
*_wrap_PrintData_SetPrinterName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24316 PyObject
*resultobj
= 0;
24317 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
24318 wxString
*arg2
= 0 ;
24321 bool temp2
= false ;
24322 PyObject
* obj0
= 0 ;
24323 PyObject
* obj1
= 0 ;
24324 char * kwnames
[] = {
24325 (char *) "self",(char *) "name", NULL
24328 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPrinterName",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24329 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
24330 if (!SWIG_IsOK(res1
)) {
24331 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_SetPrinterName" "', expected argument " "1"" of type '" "wxPrintData *""'");
24333 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
24335 arg2
= wxString_in_helper(obj1
);
24336 if (arg2
== NULL
) SWIG_fail
;
24340 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24341 (arg1
)->SetPrinterName((wxString
const &)*arg2
);
24342 wxPyEndAllowThreads(__tstate
);
24343 if (PyErr_Occurred()) SWIG_fail
;
24345 resultobj
= SWIG_Py_Void();
24360 SWIGINTERN PyObject
*_wrap_PrintData_SetColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24361 PyObject
*resultobj
= 0;
24362 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
24368 PyObject
* obj0
= 0 ;
24369 PyObject
* obj1
= 0 ;
24370 char * kwnames
[] = {
24371 (char *) "self",(char *) "colour", NULL
24374 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24375 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
24376 if (!SWIG_IsOK(res1
)) {
24377 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_SetColour" "', expected argument " "1"" of type '" "wxPrintData *""'");
24379 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
24380 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
24381 if (!SWIG_IsOK(ecode2
)) {
24382 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintData_SetColour" "', expected argument " "2"" of type '" "bool""'");
24384 arg2
= static_cast< bool >(val2
);
24386 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24387 (arg1
)->SetColour(arg2
);
24388 wxPyEndAllowThreads(__tstate
);
24389 if (PyErr_Occurred()) SWIG_fail
;
24391 resultobj
= SWIG_Py_Void();
24398 SWIGINTERN PyObject
*_wrap_PrintData_SetDuplex(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24399 PyObject
*resultobj
= 0;
24400 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
24401 wxDuplexMode arg2
;
24406 PyObject
* obj0
= 0 ;
24407 PyObject
* obj1
= 0 ;
24408 char * kwnames
[] = {
24409 (char *) "self",(char *) "duplex", NULL
24412 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetDuplex",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24413 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
24414 if (!SWIG_IsOK(res1
)) {
24415 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_SetDuplex" "', expected argument " "1"" of type '" "wxPrintData *""'");
24417 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
24418 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24419 if (!SWIG_IsOK(ecode2
)) {
24420 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintData_SetDuplex" "', expected argument " "2"" of type '" "wxDuplexMode""'");
24422 arg2
= static_cast< wxDuplexMode
>(val2
);
24424 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24425 (arg1
)->SetDuplex(arg2
);
24426 wxPyEndAllowThreads(__tstate
);
24427 if (PyErr_Occurred()) SWIG_fail
;
24429 resultobj
= SWIG_Py_Void();
24436 SWIGINTERN PyObject
*_wrap_PrintData_SetPaperId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24437 PyObject
*resultobj
= 0;
24438 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
24444 PyObject
* obj0
= 0 ;
24445 PyObject
* obj1
= 0 ;
24446 char * kwnames
[] = {
24447 (char *) "self",(char *) "sizeId", NULL
24450 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPaperId",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24451 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
24452 if (!SWIG_IsOK(res1
)) {
24453 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_SetPaperId" "', expected argument " "1"" of type '" "wxPrintData *""'");
24455 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
24456 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24457 if (!SWIG_IsOK(ecode2
)) {
24458 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintData_SetPaperId" "', expected argument " "2"" of type '" "wxPaperSize""'");
24460 arg2
= static_cast< wxPaperSize
>(val2
);
24462 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24463 (arg1
)->SetPaperId(arg2
);
24464 wxPyEndAllowThreads(__tstate
);
24465 if (PyErr_Occurred()) SWIG_fail
;
24467 resultobj
= SWIG_Py_Void();
24474 SWIGINTERN PyObject
*_wrap_PrintData_SetPaperSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24475 PyObject
*resultobj
= 0;
24476 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
24481 PyObject
* obj0
= 0 ;
24482 PyObject
* obj1
= 0 ;
24483 char * kwnames
[] = {
24484 (char *) "self",(char *) "sz", NULL
24487 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPaperSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24488 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
24489 if (!SWIG_IsOK(res1
)) {
24490 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_SetPaperSize" "', expected argument " "1"" of type '" "wxPrintData *""'");
24492 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
24495 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
24498 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24499 (arg1
)->SetPaperSize((wxSize
const &)*arg2
);
24500 wxPyEndAllowThreads(__tstate
);
24501 if (PyErr_Occurred()) SWIG_fail
;
24503 resultobj
= SWIG_Py_Void();
24510 SWIGINTERN PyObject
*_wrap_PrintData_SetQuality(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24511 PyObject
*resultobj
= 0;
24512 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
24518 PyObject
* obj0
= 0 ;
24519 PyObject
* obj1
= 0 ;
24520 char * kwnames
[] = {
24521 (char *) "self",(char *) "quality", NULL
24524 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetQuality",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24525 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
24526 if (!SWIG_IsOK(res1
)) {
24527 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_SetQuality" "', expected argument " "1"" of type '" "wxPrintData *""'");
24529 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
24530 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24531 if (!SWIG_IsOK(ecode2
)) {
24532 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintData_SetQuality" "', expected argument " "2"" of type '" "int""'");
24534 arg2
= static_cast< int >(val2
);
24536 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24537 (arg1
)->SetQuality(arg2
);
24538 wxPyEndAllowThreads(__tstate
);
24539 if (PyErr_Occurred()) SWIG_fail
;
24541 resultobj
= SWIG_Py_Void();
24548 SWIGINTERN PyObject
*_wrap_PrintData_SetBin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24549 PyObject
*resultobj
= 0;
24550 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
24556 PyObject
* obj0
= 0 ;
24557 PyObject
* obj1
= 0 ;
24558 char * kwnames
[] = {
24559 (char *) "self",(char *) "bin", NULL
24562 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetBin",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24563 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
24564 if (!SWIG_IsOK(res1
)) {
24565 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_SetBin" "', expected argument " "1"" of type '" "wxPrintData *""'");
24567 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
24568 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24569 if (!SWIG_IsOK(ecode2
)) {
24570 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintData_SetBin" "', expected argument " "2"" of type '" "wxPrintBin""'");
24572 arg2
= static_cast< wxPrintBin
>(val2
);
24574 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24575 (arg1
)->SetBin(arg2
);
24576 wxPyEndAllowThreads(__tstate
);
24577 if (PyErr_Occurred()) SWIG_fail
;
24579 resultobj
= SWIG_Py_Void();
24586 SWIGINTERN PyObject
*_wrap_PrintData_SetPrintMode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24587 PyObject
*resultobj
= 0;
24588 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
24594 PyObject
* obj0
= 0 ;
24595 PyObject
* obj1
= 0 ;
24596 char * kwnames
[] = {
24597 (char *) "self",(char *) "printMode", NULL
24600 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPrintMode",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24601 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
24602 if (!SWIG_IsOK(res1
)) {
24603 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_SetPrintMode" "', expected argument " "1"" of type '" "wxPrintData *""'");
24605 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
24606 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24607 if (!SWIG_IsOK(ecode2
)) {
24608 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintData_SetPrintMode" "', expected argument " "2"" of type '" "wxPrintMode""'");
24610 arg2
= static_cast< wxPrintMode
>(val2
);
24612 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24613 (arg1
)->SetPrintMode(arg2
);
24614 wxPyEndAllowThreads(__tstate
);
24615 if (PyErr_Occurred()) SWIG_fail
;
24617 resultobj
= SWIG_Py_Void();
24624 SWIGINTERN PyObject
*_wrap_PrintData_SetMedia(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24625 PyObject
*resultobj
= 0;
24626 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
24632 PyObject
* obj0
= 0 ;
24633 PyObject
* obj1
= 0 ;
24634 char * kwnames
[] = {
24635 (char *) "self",(char *) "media", NULL
24638 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetMedia",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24639 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
24640 if (!SWIG_IsOK(res1
)) {
24641 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_SetMedia" "', expected argument " "1"" of type '" "wxPrintData *""'");
24643 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
24644 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24645 if (!SWIG_IsOK(ecode2
)) {
24646 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintData_SetMedia" "', expected argument " "2"" of type '" "int""'");
24648 arg2
= static_cast< int >(val2
);
24650 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24651 (arg1
)->SetMedia(arg2
);
24652 wxPyEndAllowThreads(__tstate
);
24653 if (PyErr_Occurred()) SWIG_fail
;
24655 resultobj
= SWIG_Py_Void();
24662 SWIGINTERN PyObject
*_wrap_PrintData_GetFilename(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24663 PyObject
*resultobj
= 0;
24664 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
24668 PyObject
*swig_obj
[1] ;
24670 if (!args
) SWIG_fail
;
24671 swig_obj
[0] = args
;
24672 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
24673 if (!SWIG_IsOK(res1
)) {
24674 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_GetFilename" "', expected argument " "1"" of type '" "wxPrintData const *""'");
24676 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
24678 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24679 result
= ((wxPrintData
const *)arg1
)->GetFilename();
24680 wxPyEndAllowThreads(__tstate
);
24681 if (PyErr_Occurred()) SWIG_fail
;
24685 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
24687 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
24696 SWIGINTERN PyObject
*_wrap_PrintData_SetFilename(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24697 PyObject
*resultobj
= 0;
24698 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
24699 wxString
*arg2
= 0 ;
24702 bool temp2
= false ;
24703 PyObject
* obj0
= 0 ;
24704 PyObject
* obj1
= 0 ;
24705 char * kwnames
[] = {
24706 (char *) "self",(char *) "filename", NULL
24709 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetFilename",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24710 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
24711 if (!SWIG_IsOK(res1
)) {
24712 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_SetFilename" "', expected argument " "1"" of type '" "wxPrintData *""'");
24714 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
24716 arg2
= wxString_in_helper(obj1
);
24717 if (arg2
== NULL
) SWIG_fail
;
24721 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24722 (arg1
)->SetFilename((wxString
const &)*arg2
);
24723 wxPyEndAllowThreads(__tstate
);
24724 if (PyErr_Occurred()) SWIG_fail
;
24726 resultobj
= SWIG_Py_Void();
24741 SWIGINTERN PyObject
*_wrap_PrintData_GetPrivData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24742 PyObject
*resultobj
= 0;
24743 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
24744 PyObject
*result
= 0 ;
24747 PyObject
*swig_obj
[1] ;
24749 if (!args
) SWIG_fail
;
24750 swig_obj
[0] = args
;
24751 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
24752 if (!SWIG_IsOK(res1
)) {
24753 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_GetPrivData" "', expected argument " "1"" of type '" "wxPrintData *""'");
24755 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
24757 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24758 result
= (PyObject
*)wxPrintData_GetPrivData(arg1
);
24759 wxPyEndAllowThreads(__tstate
);
24760 if (PyErr_Occurred()) SWIG_fail
;
24762 resultobj
= result
;
24769 SWIGINTERN PyObject
*_wrap_PrintData_SetPrivData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24770 PyObject
*resultobj
= 0;
24771 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
24772 PyObject
*arg2
= (PyObject
*) 0 ;
24775 PyObject
* obj0
= 0 ;
24776 PyObject
* obj1
= 0 ;
24777 char * kwnames
[] = {
24778 (char *) "self",(char *) "data", NULL
24781 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPrivData",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24782 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
24783 if (!SWIG_IsOK(res1
)) {
24784 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_SetPrivData" "', expected argument " "1"" of type '" "wxPrintData *""'");
24786 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
24789 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24790 wxPrintData_SetPrivData(arg1
,arg2
);
24791 wxPyEndAllowThreads(__tstate
);
24792 if (PyErr_Occurred()) SWIG_fail
;
24794 resultobj
= SWIG_Py_Void();
24801 SWIGINTERN PyObject
*PrintData_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24803 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
24804 SWIG_TypeNewClientData(SWIGTYPE_p_wxPrintData
, SWIG_NewClientData(obj
));
24805 return SWIG_Py_Void();
24808 SWIGINTERN PyObject
*PrintData_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24809 return SWIG_Python_InitShadowInstance(args
);
24812 SWIGINTERN PyObject
*_wrap_new_PageSetupDialogData__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**SWIGUNUSEDPARM(swig_obj
)) {
24813 PyObject
*resultobj
= 0;
24814 wxPageSetupDialogData
*result
= 0 ;
24816 if ((nobjs
< 0) || (nobjs
> 0)) SWIG_fail
;
24818 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24819 result
= (wxPageSetupDialogData
*)new wxPageSetupDialogData();
24820 wxPyEndAllowThreads(__tstate
);
24821 if (PyErr_Occurred()) SWIG_fail
;
24823 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPageSetupDialogData
, SWIG_POINTER_NEW
| 0 );
24830 SWIGINTERN PyObject
*_wrap_new_PageSetupDialogData__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
24831 PyObject
*resultobj
= 0;
24832 wxPageSetupDialogData
*arg1
= 0 ;
24833 wxPageSetupDialogData
*result
= 0 ;
24837 if ((nobjs
< 1) || (nobjs
> 1)) SWIG_fail
;
24838 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0);
24839 if (!SWIG_IsOK(res1
)) {
24840 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PageSetupDialogData" "', expected argument " "1"" of type '" "wxPageSetupDialogData const &""'");
24843 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_PageSetupDialogData" "', expected argument " "1"" of type '" "wxPageSetupDialogData const &""'");
24845 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
24847 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24848 result
= (wxPageSetupDialogData
*)new wxPageSetupDialogData((wxPageSetupDialogData
const &)*arg1
);
24849 wxPyEndAllowThreads(__tstate
);
24850 if (PyErr_Occurred()) SWIG_fail
;
24852 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPageSetupDialogData
, SWIG_POINTER_NEW
| 0 );
24859 SWIGINTERN PyObject
*_wrap_new_PageSetupDialogData__SWIG_2(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
24860 PyObject
*resultobj
= 0;
24861 wxPrintData
*arg1
= 0 ;
24862 wxPageSetupDialogData
*result
= 0 ;
24866 if ((nobjs
< 1) || (nobjs
> 1)) SWIG_fail
;
24867 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxPrintData
, 0 | 0);
24868 if (!SWIG_IsOK(res1
)) {
24869 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PageSetupDialogData" "', expected argument " "1"" of type '" "wxPrintData const &""'");
24872 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_PageSetupDialogData" "', expected argument " "1"" of type '" "wxPrintData const &""'");
24874 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
24876 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24877 result
= (wxPageSetupDialogData
*)new wxPageSetupDialogData((wxPrintData
const &)*arg1
);
24878 wxPyEndAllowThreads(__tstate
);
24879 if (PyErr_Occurred()) SWIG_fail
;
24881 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPageSetupDialogData
, SWIG_POINTER_NEW
| 0 );
24888 SWIGINTERN PyObject
*_wrap_new_PageSetupDialogData(PyObject
*self
, PyObject
*args
) {
24892 if (!(argc
= SWIG_Python_UnpackTuple(args
,"new_PageSetupDialogData",0,1,argv
))) SWIG_fail
;
24895 return _wrap_new_PageSetupDialogData__SWIG_0(self
, argc
, argv
);
24900 int res
= SWIG_ConvertPtr(argv
[0], 0, SWIGTYPE_p_wxPageSetupDialogData
, 0);
24901 _v
= SWIG_CheckState(res
);
24903 if (!_v
) goto check_2
;
24904 return _wrap_new_PageSetupDialogData__SWIG_1(self
, argc
, argv
);
24909 return _wrap_new_PageSetupDialogData__SWIG_2(self
, argc
, argv
);
24913 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'new_PageSetupDialogData'");
24918 SWIGINTERN PyObject
*_wrap_delete_PageSetupDialogData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24919 PyObject
*resultobj
= 0;
24920 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
24923 PyObject
*swig_obj
[1] ;
24925 if (!args
) SWIG_fail
;
24926 swig_obj
[0] = args
;
24927 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, SWIG_POINTER_DISOWN
| 0 );
24928 if (!SWIG_IsOK(res1
)) {
24929 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_PageSetupDialogData" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
24931 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
24933 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24936 wxPyEndAllowThreads(__tstate
);
24937 if (PyErr_Occurred()) SWIG_fail
;
24939 resultobj
= SWIG_Py_Void();
24946 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_EnableHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24947 PyObject
*resultobj
= 0;
24948 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
24954 PyObject
* obj0
= 0 ;
24955 PyObject
* obj1
= 0 ;
24956 char * kwnames
[] = {
24957 (char *) "self",(char *) "flag", NULL
24960 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_EnableHelp",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24961 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
24962 if (!SWIG_IsOK(res1
)) {
24963 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_EnableHelp" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
24965 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
24966 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
24967 if (!SWIG_IsOK(ecode2
)) {
24968 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PageSetupDialogData_EnableHelp" "', expected argument " "2"" of type '" "bool""'");
24970 arg2
= static_cast< bool >(val2
);
24972 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24973 (arg1
)->EnableHelp(arg2
);
24974 wxPyEndAllowThreads(__tstate
);
24975 if (PyErr_Occurred()) SWIG_fail
;
24977 resultobj
= SWIG_Py_Void();
24984 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_EnableMargins(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24985 PyObject
*resultobj
= 0;
24986 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
24992 PyObject
* obj0
= 0 ;
24993 PyObject
* obj1
= 0 ;
24994 char * kwnames
[] = {
24995 (char *) "self",(char *) "flag", NULL
24998 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_EnableMargins",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24999 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
25000 if (!SWIG_IsOK(res1
)) {
25001 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_EnableMargins" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25003 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
25004 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
25005 if (!SWIG_IsOK(ecode2
)) {
25006 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PageSetupDialogData_EnableMargins" "', expected argument " "2"" of type '" "bool""'");
25008 arg2
= static_cast< bool >(val2
);
25010 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25011 (arg1
)->EnableMargins(arg2
);
25012 wxPyEndAllowThreads(__tstate
);
25013 if (PyErr_Occurred()) SWIG_fail
;
25015 resultobj
= SWIG_Py_Void();
25022 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_EnableOrientation(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25023 PyObject
*resultobj
= 0;
25024 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
25030 PyObject
* obj0
= 0 ;
25031 PyObject
* obj1
= 0 ;
25032 char * kwnames
[] = {
25033 (char *) "self",(char *) "flag", NULL
25036 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_EnableOrientation",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25037 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
25038 if (!SWIG_IsOK(res1
)) {
25039 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_EnableOrientation" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25041 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
25042 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
25043 if (!SWIG_IsOK(ecode2
)) {
25044 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PageSetupDialogData_EnableOrientation" "', expected argument " "2"" of type '" "bool""'");
25046 arg2
= static_cast< bool >(val2
);
25048 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25049 (arg1
)->EnableOrientation(arg2
);
25050 wxPyEndAllowThreads(__tstate
);
25051 if (PyErr_Occurred()) SWIG_fail
;
25053 resultobj
= SWIG_Py_Void();
25060 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_EnablePaper(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25061 PyObject
*resultobj
= 0;
25062 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
25068 PyObject
* obj0
= 0 ;
25069 PyObject
* obj1
= 0 ;
25070 char * kwnames
[] = {
25071 (char *) "self",(char *) "flag", NULL
25074 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_EnablePaper",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25075 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
25076 if (!SWIG_IsOK(res1
)) {
25077 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_EnablePaper" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25079 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
25080 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
25081 if (!SWIG_IsOK(ecode2
)) {
25082 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PageSetupDialogData_EnablePaper" "', expected argument " "2"" of type '" "bool""'");
25084 arg2
= static_cast< bool >(val2
);
25086 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25087 (arg1
)->EnablePaper(arg2
);
25088 wxPyEndAllowThreads(__tstate
);
25089 if (PyErr_Occurred()) SWIG_fail
;
25091 resultobj
= SWIG_Py_Void();
25098 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_EnablePrinter(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25099 PyObject
*resultobj
= 0;
25100 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
25106 PyObject
* obj0
= 0 ;
25107 PyObject
* obj1
= 0 ;
25108 char * kwnames
[] = {
25109 (char *) "self",(char *) "flag", NULL
25112 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_EnablePrinter",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25113 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
25114 if (!SWIG_IsOK(res1
)) {
25115 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_EnablePrinter" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25117 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
25118 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
25119 if (!SWIG_IsOK(ecode2
)) {
25120 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PageSetupDialogData_EnablePrinter" "', expected argument " "2"" of type '" "bool""'");
25122 arg2
= static_cast< bool >(val2
);
25124 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25125 (arg1
)->EnablePrinter(arg2
);
25126 wxPyEndAllowThreads(__tstate
);
25127 if (PyErr_Occurred()) SWIG_fail
;
25129 resultobj
= SWIG_Py_Void();
25136 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_GetDefaultMinMargins(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25137 PyObject
*resultobj
= 0;
25138 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
25142 PyObject
*swig_obj
[1] ;
25144 if (!args
) SWIG_fail
;
25145 swig_obj
[0] = args
;
25146 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
25147 if (!SWIG_IsOK(res1
)) {
25148 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_GetDefaultMinMargins" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25150 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
25152 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25153 result
= (bool)(arg1
)->GetDefaultMinMargins();
25154 wxPyEndAllowThreads(__tstate
);
25155 if (PyErr_Occurred()) SWIG_fail
;
25158 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25166 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_GetEnableMargins(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25167 PyObject
*resultobj
= 0;
25168 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
25172 PyObject
*swig_obj
[1] ;
25174 if (!args
) SWIG_fail
;
25175 swig_obj
[0] = args
;
25176 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
25177 if (!SWIG_IsOK(res1
)) {
25178 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_GetEnableMargins" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25180 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
25182 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25183 result
= (bool)(arg1
)->GetEnableMargins();
25184 wxPyEndAllowThreads(__tstate
);
25185 if (PyErr_Occurred()) SWIG_fail
;
25188 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25196 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_GetEnableOrientation(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25197 PyObject
*resultobj
= 0;
25198 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
25202 PyObject
*swig_obj
[1] ;
25204 if (!args
) SWIG_fail
;
25205 swig_obj
[0] = args
;
25206 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
25207 if (!SWIG_IsOK(res1
)) {
25208 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_GetEnableOrientation" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25210 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
25212 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25213 result
= (bool)(arg1
)->GetEnableOrientation();
25214 wxPyEndAllowThreads(__tstate
);
25215 if (PyErr_Occurred()) SWIG_fail
;
25218 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25226 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_GetEnablePaper(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25227 PyObject
*resultobj
= 0;
25228 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
25232 PyObject
*swig_obj
[1] ;
25234 if (!args
) SWIG_fail
;
25235 swig_obj
[0] = args
;
25236 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
25237 if (!SWIG_IsOK(res1
)) {
25238 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_GetEnablePaper" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25240 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
25242 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25243 result
= (bool)(arg1
)->GetEnablePaper();
25244 wxPyEndAllowThreads(__tstate
);
25245 if (PyErr_Occurred()) SWIG_fail
;
25248 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25256 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_GetEnablePrinter(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25257 PyObject
*resultobj
= 0;
25258 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
25262 PyObject
*swig_obj
[1] ;
25264 if (!args
) SWIG_fail
;
25265 swig_obj
[0] = args
;
25266 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
25267 if (!SWIG_IsOK(res1
)) {
25268 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_GetEnablePrinter" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25270 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
25272 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25273 result
= (bool)(arg1
)->GetEnablePrinter();
25274 wxPyEndAllowThreads(__tstate
);
25275 if (PyErr_Occurred()) SWIG_fail
;
25278 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25286 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_GetEnableHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25287 PyObject
*resultobj
= 0;
25288 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
25292 PyObject
*swig_obj
[1] ;
25294 if (!args
) SWIG_fail
;
25295 swig_obj
[0] = args
;
25296 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
25297 if (!SWIG_IsOK(res1
)) {
25298 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_GetEnableHelp" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25300 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
25302 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25303 result
= (bool)(arg1
)->GetEnableHelp();
25304 wxPyEndAllowThreads(__tstate
);
25305 if (PyErr_Occurred()) SWIG_fail
;
25308 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25316 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_GetDefaultInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25317 PyObject
*resultobj
= 0;
25318 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
25322 PyObject
*swig_obj
[1] ;
25324 if (!args
) SWIG_fail
;
25325 swig_obj
[0] = args
;
25326 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
25327 if (!SWIG_IsOK(res1
)) {
25328 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_GetDefaultInfo" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25330 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
25332 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25333 result
= (bool)(arg1
)->GetDefaultInfo();
25334 wxPyEndAllowThreads(__tstate
);
25335 if (PyErr_Occurred()) SWIG_fail
;
25338 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25346 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_GetMarginTopLeft(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25347 PyObject
*resultobj
= 0;
25348 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
25352 PyObject
*swig_obj
[1] ;
25354 if (!args
) SWIG_fail
;
25355 swig_obj
[0] = args
;
25356 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
25357 if (!SWIG_IsOK(res1
)) {
25358 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_GetMarginTopLeft" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25360 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
25362 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25363 result
= (arg1
)->GetMarginTopLeft();
25364 wxPyEndAllowThreads(__tstate
);
25365 if (PyErr_Occurred()) SWIG_fail
;
25367 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
25374 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_GetMarginBottomRight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25375 PyObject
*resultobj
= 0;
25376 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
25380 PyObject
*swig_obj
[1] ;
25382 if (!args
) SWIG_fail
;
25383 swig_obj
[0] = args
;
25384 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
25385 if (!SWIG_IsOK(res1
)) {
25386 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_GetMarginBottomRight" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25388 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
25390 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25391 result
= (arg1
)->GetMarginBottomRight();
25392 wxPyEndAllowThreads(__tstate
);
25393 if (PyErr_Occurred()) SWIG_fail
;
25395 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
25402 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_GetMinMarginTopLeft(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25403 PyObject
*resultobj
= 0;
25404 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
25408 PyObject
*swig_obj
[1] ;
25410 if (!args
) SWIG_fail
;
25411 swig_obj
[0] = args
;
25412 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
25413 if (!SWIG_IsOK(res1
)) {
25414 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_GetMinMarginTopLeft" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25416 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
25418 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25419 result
= (arg1
)->GetMinMarginTopLeft();
25420 wxPyEndAllowThreads(__tstate
);
25421 if (PyErr_Occurred()) SWIG_fail
;
25423 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
25430 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_GetMinMarginBottomRight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25431 PyObject
*resultobj
= 0;
25432 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
25436 PyObject
*swig_obj
[1] ;
25438 if (!args
) SWIG_fail
;
25439 swig_obj
[0] = args
;
25440 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
25441 if (!SWIG_IsOK(res1
)) {
25442 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_GetMinMarginBottomRight" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25444 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
25446 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25447 result
= (arg1
)->GetMinMarginBottomRight();
25448 wxPyEndAllowThreads(__tstate
);
25449 if (PyErr_Occurred()) SWIG_fail
;
25451 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
25458 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_GetPaperId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25459 PyObject
*resultobj
= 0;
25460 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
25461 wxPaperSize result
;
25464 PyObject
*swig_obj
[1] ;
25466 if (!args
) SWIG_fail
;
25467 swig_obj
[0] = args
;
25468 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
25469 if (!SWIG_IsOK(res1
)) {
25470 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_GetPaperId" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25472 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
25474 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25475 result
= (wxPaperSize
)(arg1
)->GetPaperId();
25476 wxPyEndAllowThreads(__tstate
);
25477 if (PyErr_Occurred()) SWIG_fail
;
25479 resultobj
= SWIG_From_int(static_cast< int >(result
));
25486 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_GetPaperSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25487 PyObject
*resultobj
= 0;
25488 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
25492 PyObject
*swig_obj
[1] ;
25494 if (!args
) SWIG_fail
;
25495 swig_obj
[0] = args
;
25496 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
25497 if (!SWIG_IsOK(res1
)) {
25498 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_GetPaperSize" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25500 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
25502 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25503 result
= (arg1
)->GetPaperSize();
25504 wxPyEndAllowThreads(__tstate
);
25505 if (PyErr_Occurred()) SWIG_fail
;
25507 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
25514 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_GetPrintData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25515 PyObject
*resultobj
= 0;
25516 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
25517 wxPrintData
*result
= 0 ;
25520 PyObject
*swig_obj
[1] ;
25522 if (!args
) SWIG_fail
;
25523 swig_obj
[0] = args
;
25524 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
25525 if (!SWIG_IsOK(res1
)) {
25526 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_GetPrintData" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25528 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
25530 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25532 wxPrintData
&_result_ref
= (arg1
)->GetPrintData();
25533 result
= (wxPrintData
*) &_result_ref
;
25535 wxPyEndAllowThreads(__tstate
);
25536 if (PyErr_Occurred()) SWIG_fail
;
25538 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPrintData
, 0 | 0 );
25545 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25546 PyObject
*resultobj
= 0;
25547 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
25551 PyObject
*swig_obj
[1] ;
25553 if (!args
) SWIG_fail
;
25554 swig_obj
[0] = args
;
25555 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
25556 if (!SWIG_IsOK(res1
)) {
25557 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_IsOk" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25559 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
25561 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25562 result
= (bool)(arg1
)->IsOk();
25563 wxPyEndAllowThreads(__tstate
);
25564 if (PyErr_Occurred()) SWIG_fail
;
25567 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25575 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_SetDefaultInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25576 PyObject
*resultobj
= 0;
25577 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
25583 PyObject
* obj0
= 0 ;
25584 PyObject
* obj1
= 0 ;
25585 char * kwnames
[] = {
25586 (char *) "self",(char *) "flag", NULL
25589 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetDefaultInfo",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25590 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
25591 if (!SWIG_IsOK(res1
)) {
25592 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_SetDefaultInfo" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25594 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
25595 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
25596 if (!SWIG_IsOK(ecode2
)) {
25597 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PageSetupDialogData_SetDefaultInfo" "', expected argument " "2"" of type '" "bool""'");
25599 arg2
= static_cast< bool >(val2
);
25601 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25602 (arg1
)->SetDefaultInfo(arg2
);
25603 wxPyEndAllowThreads(__tstate
);
25604 if (PyErr_Occurred()) SWIG_fail
;
25606 resultobj
= SWIG_Py_Void();
25613 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_SetDefaultMinMargins(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25614 PyObject
*resultobj
= 0;
25615 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
25621 PyObject
* obj0
= 0 ;
25622 PyObject
* obj1
= 0 ;
25623 char * kwnames
[] = {
25624 (char *) "self",(char *) "flag", NULL
25627 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetDefaultMinMargins",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25628 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
25629 if (!SWIG_IsOK(res1
)) {
25630 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_SetDefaultMinMargins" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25632 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
25633 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
25634 if (!SWIG_IsOK(ecode2
)) {
25635 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PageSetupDialogData_SetDefaultMinMargins" "', expected argument " "2"" of type '" "bool""'");
25637 arg2
= static_cast< bool >(val2
);
25639 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25640 (arg1
)->SetDefaultMinMargins(arg2
);
25641 wxPyEndAllowThreads(__tstate
);
25642 if (PyErr_Occurred()) SWIG_fail
;
25644 resultobj
= SWIG_Py_Void();
25651 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_SetMarginTopLeft(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25652 PyObject
*resultobj
= 0;
25653 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
25654 wxPoint
*arg2
= 0 ;
25658 PyObject
* obj0
= 0 ;
25659 PyObject
* obj1
= 0 ;
25660 char * kwnames
[] = {
25661 (char *) "self",(char *) "pt", NULL
25664 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetMarginTopLeft",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25665 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
25666 if (!SWIG_IsOK(res1
)) {
25667 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_SetMarginTopLeft" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25669 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
25672 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
25675 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25676 (arg1
)->SetMarginTopLeft((wxPoint
const &)*arg2
);
25677 wxPyEndAllowThreads(__tstate
);
25678 if (PyErr_Occurred()) SWIG_fail
;
25680 resultobj
= SWIG_Py_Void();
25687 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_SetMarginBottomRight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25688 PyObject
*resultobj
= 0;
25689 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
25690 wxPoint
*arg2
= 0 ;
25694 PyObject
* obj0
= 0 ;
25695 PyObject
* obj1
= 0 ;
25696 char * kwnames
[] = {
25697 (char *) "self",(char *) "pt", NULL
25700 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetMarginBottomRight",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25701 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
25702 if (!SWIG_IsOK(res1
)) {
25703 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_SetMarginBottomRight" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25705 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
25708 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
25711 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25712 (arg1
)->SetMarginBottomRight((wxPoint
const &)*arg2
);
25713 wxPyEndAllowThreads(__tstate
);
25714 if (PyErr_Occurred()) SWIG_fail
;
25716 resultobj
= SWIG_Py_Void();
25723 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_SetMinMarginTopLeft(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25724 PyObject
*resultobj
= 0;
25725 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
25726 wxPoint
*arg2
= 0 ;
25730 PyObject
* obj0
= 0 ;
25731 PyObject
* obj1
= 0 ;
25732 char * kwnames
[] = {
25733 (char *) "self",(char *) "pt", NULL
25736 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetMinMarginTopLeft",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25737 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
25738 if (!SWIG_IsOK(res1
)) {
25739 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_SetMinMarginTopLeft" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25741 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
25744 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
25747 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25748 (arg1
)->SetMinMarginTopLeft((wxPoint
const &)*arg2
);
25749 wxPyEndAllowThreads(__tstate
);
25750 if (PyErr_Occurred()) SWIG_fail
;
25752 resultobj
= SWIG_Py_Void();
25759 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_SetMinMarginBottomRight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25760 PyObject
*resultobj
= 0;
25761 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
25762 wxPoint
*arg2
= 0 ;
25766 PyObject
* obj0
= 0 ;
25767 PyObject
* obj1
= 0 ;
25768 char * kwnames
[] = {
25769 (char *) "self",(char *) "pt", NULL
25772 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetMinMarginBottomRight",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25773 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
25774 if (!SWIG_IsOK(res1
)) {
25775 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_SetMinMarginBottomRight" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25777 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
25780 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
25783 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25784 (arg1
)->SetMinMarginBottomRight((wxPoint
const &)*arg2
);
25785 wxPyEndAllowThreads(__tstate
);
25786 if (PyErr_Occurred()) SWIG_fail
;
25788 resultobj
= SWIG_Py_Void();
25795 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_SetPaperId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25796 PyObject
*resultobj
= 0;
25797 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
25803 PyObject
* obj0
= 0 ;
25804 PyObject
* obj1
= 0 ;
25805 char * kwnames
[] = {
25806 (char *) "self",(char *) "id", NULL
25809 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetPaperId",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25810 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
25811 if (!SWIG_IsOK(res1
)) {
25812 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_SetPaperId" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25814 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
25815 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
25816 if (!SWIG_IsOK(ecode2
)) {
25817 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PageSetupDialogData_SetPaperId" "', expected argument " "2"" of type '" "wxPaperSize""'");
25819 arg2
= static_cast< wxPaperSize
>(val2
);
25821 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25822 (arg1
)->SetPaperId(arg2
);
25823 wxPyEndAllowThreads(__tstate
);
25824 if (PyErr_Occurred()) SWIG_fail
;
25826 resultobj
= SWIG_Py_Void();
25833 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_SetPaperSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25834 PyObject
*resultobj
= 0;
25835 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
25840 PyObject
* obj0
= 0 ;
25841 PyObject
* obj1
= 0 ;
25842 char * kwnames
[] = {
25843 (char *) "self",(char *) "size", NULL
25846 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetPaperSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25847 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
25848 if (!SWIG_IsOK(res1
)) {
25849 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_SetPaperSize" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25851 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
25854 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
25857 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25858 (arg1
)->SetPaperSize((wxSize
const &)*arg2
);
25859 wxPyEndAllowThreads(__tstate
);
25860 if (PyErr_Occurred()) SWIG_fail
;
25862 resultobj
= SWIG_Py_Void();
25869 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_SetPrintData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25870 PyObject
*resultobj
= 0;
25871 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
25872 wxPrintData
*arg2
= 0 ;
25877 PyObject
* obj0
= 0 ;
25878 PyObject
* obj1
= 0 ;
25879 char * kwnames
[] = {
25880 (char *) "self",(char *) "printData", NULL
25883 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetPrintData",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25884 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
25885 if (!SWIG_IsOK(res1
)) {
25886 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_SetPrintData" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25888 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
25889 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxPrintData
, 0 | 0);
25890 if (!SWIG_IsOK(res2
)) {
25891 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PageSetupDialogData_SetPrintData" "', expected argument " "2"" of type '" "wxPrintData const &""'");
25894 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PageSetupDialogData_SetPrintData" "', expected argument " "2"" of type '" "wxPrintData const &""'");
25896 arg2
= reinterpret_cast< wxPrintData
* >(argp2
);
25898 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25899 (arg1
)->SetPrintData((wxPrintData
const &)*arg2
);
25900 wxPyEndAllowThreads(__tstate
);
25901 if (PyErr_Occurred()) SWIG_fail
;
25903 resultobj
= SWIG_Py_Void();
25910 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_CalculateIdFromPaperSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25911 PyObject
*resultobj
= 0;
25912 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
25915 PyObject
*swig_obj
[1] ;
25917 if (!args
) SWIG_fail
;
25918 swig_obj
[0] = args
;
25919 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
25920 if (!SWIG_IsOK(res1
)) {
25921 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_CalculateIdFromPaperSize" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25923 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
25925 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25926 (arg1
)->CalculateIdFromPaperSize();
25927 wxPyEndAllowThreads(__tstate
);
25928 if (PyErr_Occurred()) SWIG_fail
;
25930 resultobj
= SWIG_Py_Void();
25937 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_CalculatePaperSizeFromId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25938 PyObject
*resultobj
= 0;
25939 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
25942 PyObject
*swig_obj
[1] ;
25944 if (!args
) SWIG_fail
;
25945 swig_obj
[0] = args
;
25946 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
25947 if (!SWIG_IsOK(res1
)) {
25948 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_CalculatePaperSizeFromId" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25950 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
25952 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25953 (arg1
)->CalculatePaperSizeFromId();
25954 wxPyEndAllowThreads(__tstate
);
25955 if (PyErr_Occurred()) SWIG_fail
;
25957 resultobj
= SWIG_Py_Void();
25964 SWIGINTERN PyObject
*PageSetupDialogData_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25966 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
25967 SWIG_TypeNewClientData(SWIGTYPE_p_wxPageSetupDialogData
, SWIG_NewClientData(obj
));
25968 return SWIG_Py_Void();
25971 SWIGINTERN PyObject
*PageSetupDialogData_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25972 return SWIG_Python_InitShadowInstance(args
);
25975 SWIGINTERN PyObject
*_wrap_new_PageSetupDialog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25976 PyObject
*resultobj
= 0;
25977 wxWindow
*arg1
= (wxWindow
*) 0 ;
25978 wxPageSetupDialogData
*arg2
= (wxPageSetupDialogData
*) NULL
;
25979 wxPageSetupDialog
*result
= 0 ;
25984 PyObject
* obj0
= 0 ;
25985 PyObject
* obj1
= 0 ;
25986 char * kwnames
[] = {
25987 (char *) "parent",(char *) "data", NULL
25990 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_PageSetupDialog",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25991 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
25992 if (!SWIG_IsOK(res1
)) {
25993 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PageSetupDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
25995 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
25997 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
25998 if (!SWIG_IsOK(res2
)) {
25999 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_PageSetupDialog" "', expected argument " "2"" of type '" "wxPageSetupDialogData *""'");
26001 arg2
= reinterpret_cast< wxPageSetupDialogData
* >(argp2
);
26004 if (!wxPyCheckForApp()) SWIG_fail
;
26005 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26006 result
= (wxPageSetupDialog
*)new wxPageSetupDialog(arg1
,arg2
);
26007 wxPyEndAllowThreads(__tstate
);
26008 if (PyErr_Occurred()) SWIG_fail
;
26010 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPageSetupDialog
, SWIG_POINTER_NEW
| 0 );
26017 SWIGINTERN PyObject
*_wrap_delete_PageSetupDialog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26018 PyObject
*resultobj
= 0;
26019 wxPageSetupDialog
*arg1
= (wxPageSetupDialog
*) 0 ;
26022 PyObject
*swig_obj
[1] ;
26024 if (!args
) SWIG_fail
;
26025 swig_obj
[0] = args
;
26026 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialog
, SWIG_POINTER_DISOWN
| 0 );
26027 if (!SWIG_IsOK(res1
)) {
26028 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_PageSetupDialog" "', expected argument " "1"" of type '" "wxPageSetupDialog *""'");
26030 arg1
= reinterpret_cast< wxPageSetupDialog
* >(argp1
);
26032 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26035 wxPyEndAllowThreads(__tstate
);
26036 if (PyErr_Occurred()) SWIG_fail
;
26038 resultobj
= SWIG_Py_Void();
26045 SWIGINTERN PyObject
*_wrap_PageSetupDialog_GetPageSetupData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26046 PyObject
*resultobj
= 0;
26047 wxPageSetupDialog
*arg1
= (wxPageSetupDialog
*) 0 ;
26048 wxPageSetupDialogData
*result
= 0 ;
26051 PyObject
*swig_obj
[1] ;
26053 if (!args
) SWIG_fail
;
26054 swig_obj
[0] = args
;
26055 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialog
, 0 | 0 );
26056 if (!SWIG_IsOK(res1
)) {
26057 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialog_GetPageSetupData" "', expected argument " "1"" of type '" "wxPageSetupDialog *""'");
26059 arg1
= reinterpret_cast< wxPageSetupDialog
* >(argp1
);
26061 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26063 wxPageSetupDialogData
&_result_ref
= (arg1
)->GetPageSetupData();
26064 result
= (wxPageSetupDialogData
*) &_result_ref
;
26066 wxPyEndAllowThreads(__tstate
);
26067 if (PyErr_Occurred()) SWIG_fail
;
26069 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
26076 SWIGINTERN PyObject
*_wrap_PageSetupDialog_GetPageSetupDialogData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26077 PyObject
*resultobj
= 0;
26078 wxPageSetupDialog
*arg1
= (wxPageSetupDialog
*) 0 ;
26079 wxPageSetupDialogData
*result
= 0 ;
26082 PyObject
*swig_obj
[1] ;
26084 if (!args
) SWIG_fail
;
26085 swig_obj
[0] = args
;
26086 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialog
, 0 | 0 );
26087 if (!SWIG_IsOK(res1
)) {
26088 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialog_GetPageSetupDialogData" "', expected argument " "1"" of type '" "wxPageSetupDialog *""'");
26090 arg1
= reinterpret_cast< wxPageSetupDialog
* >(argp1
);
26092 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26094 wxPageSetupDialogData
&_result_ref
= (arg1
)->GetPageSetupDialogData();
26095 result
= (wxPageSetupDialogData
*) &_result_ref
;
26097 wxPyEndAllowThreads(__tstate
);
26098 if (PyErr_Occurred()) SWIG_fail
;
26100 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
26107 SWIGINTERN PyObject
*_wrap_PageSetupDialog_ShowModal(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26108 PyObject
*resultobj
= 0;
26109 wxPageSetupDialog
*arg1
= (wxPageSetupDialog
*) 0 ;
26113 PyObject
*swig_obj
[1] ;
26115 if (!args
) SWIG_fail
;
26116 swig_obj
[0] = args
;
26117 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialog
, 0 | 0 );
26118 if (!SWIG_IsOK(res1
)) {
26119 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialog_ShowModal" "', expected argument " "1"" of type '" "wxPageSetupDialog *""'");
26121 arg1
= reinterpret_cast< wxPageSetupDialog
* >(argp1
);
26123 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26124 result
= (int)(arg1
)->ShowModal();
26125 wxPyEndAllowThreads(__tstate
);
26126 if (PyErr_Occurred()) SWIG_fail
;
26128 resultobj
= SWIG_From_int(static_cast< int >(result
));
26135 SWIGINTERN PyObject
*PageSetupDialog_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26137 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
26138 SWIG_TypeNewClientData(SWIGTYPE_p_wxPageSetupDialog
, SWIG_NewClientData(obj
));
26139 return SWIG_Py_Void();
26142 SWIGINTERN PyObject
*PageSetupDialog_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26143 return SWIG_Python_InitShadowInstance(args
);
26146 SWIGINTERN PyObject
*_wrap_new_PrintDialogData__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**SWIGUNUSEDPARM(swig_obj
)) {
26147 PyObject
*resultobj
= 0;
26148 wxPrintDialogData
*result
= 0 ;
26150 if ((nobjs
< 0) || (nobjs
> 0)) SWIG_fail
;
26152 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26153 result
= (wxPrintDialogData
*)new wxPrintDialogData();
26154 wxPyEndAllowThreads(__tstate
);
26155 if (PyErr_Occurred()) SWIG_fail
;
26157 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPrintDialogData
, SWIG_POINTER_NEW
| 0 );
26164 SWIGINTERN PyObject
*_wrap_new_PrintDialogData__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
26165 PyObject
*resultobj
= 0;
26166 wxPrintData
*arg1
= 0 ;
26167 wxPrintDialogData
*result
= 0 ;
26171 if ((nobjs
< 1) || (nobjs
> 1)) SWIG_fail
;
26172 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxPrintData
, 0 | 0);
26173 if (!SWIG_IsOK(res1
)) {
26174 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PrintDialogData" "', expected argument " "1"" of type '" "wxPrintData const &""'");
26177 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_PrintDialogData" "', expected argument " "1"" of type '" "wxPrintData const &""'");
26179 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
26181 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26182 result
= (wxPrintDialogData
*)new wxPrintDialogData((wxPrintData
const &)*arg1
);
26183 wxPyEndAllowThreads(__tstate
);
26184 if (PyErr_Occurred()) SWIG_fail
;
26186 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPrintDialogData
, SWIG_POINTER_NEW
| 0 );
26193 SWIGINTERN PyObject
*_wrap_new_PrintDialogData__SWIG_2(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
26194 PyObject
*resultobj
= 0;
26195 wxPrintDialogData
*arg1
= 0 ;
26196 wxPrintDialogData
*result
= 0 ;
26200 if ((nobjs
< 1) || (nobjs
> 1)) SWIG_fail
;
26201 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxPrintDialogData
, 0 | 0);
26202 if (!SWIG_IsOK(res1
)) {
26203 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PrintDialogData" "', expected argument " "1"" of type '" "wxPrintDialogData const &""'");
26206 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_PrintDialogData" "', expected argument " "1"" of type '" "wxPrintDialogData const &""'");
26208 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
26210 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26211 result
= (wxPrintDialogData
*)new wxPrintDialogData((wxPrintDialogData
const &)*arg1
);
26212 wxPyEndAllowThreads(__tstate
);
26213 if (PyErr_Occurred()) SWIG_fail
;
26215 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPrintDialogData
, SWIG_POINTER_NEW
| 0 );
26222 SWIGINTERN PyObject
*_wrap_new_PrintDialogData(PyObject
*self
, PyObject
*args
) {
26226 if (!(argc
= SWIG_Python_UnpackTuple(args
,"new_PrintDialogData",0,1,argv
))) SWIG_fail
;
26229 return _wrap_new_PrintDialogData__SWIG_0(self
, argc
, argv
);
26234 int res
= SWIG_ConvertPtr(argv
[0], 0, SWIGTYPE_p_wxPrintData
, 0);
26235 _v
= SWIG_CheckState(res
);
26237 if (!_v
) goto check_2
;
26238 return _wrap_new_PrintDialogData__SWIG_1(self
, argc
, argv
);
26243 return _wrap_new_PrintDialogData__SWIG_2(self
, argc
, argv
);
26247 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'new_PrintDialogData'");
26252 SWIGINTERN PyObject
*_wrap_delete_PrintDialogData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26253 PyObject
*resultobj
= 0;
26254 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
26257 PyObject
*swig_obj
[1] ;
26259 if (!args
) SWIG_fail
;
26260 swig_obj
[0] = args
;
26261 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialogData
, SWIG_POINTER_DISOWN
| 0 );
26262 if (!SWIG_IsOK(res1
)) {
26263 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_PrintDialogData" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26265 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
26267 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26270 wxPyEndAllowThreads(__tstate
);
26271 if (PyErr_Occurred()) SWIG_fail
;
26273 resultobj
= SWIG_Py_Void();
26280 SWIGINTERN PyObject
*_wrap_PrintDialogData_GetFromPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26281 PyObject
*resultobj
= 0;
26282 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
26286 PyObject
*swig_obj
[1] ;
26288 if (!args
) SWIG_fail
;
26289 swig_obj
[0] = args
;
26290 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
26291 if (!SWIG_IsOK(res1
)) {
26292 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_GetFromPage" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
26294 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
26296 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26297 result
= (int)((wxPrintDialogData
const *)arg1
)->GetFromPage();
26298 wxPyEndAllowThreads(__tstate
);
26299 if (PyErr_Occurred()) SWIG_fail
;
26301 resultobj
= SWIG_From_int(static_cast< int >(result
));
26308 SWIGINTERN PyObject
*_wrap_PrintDialogData_GetToPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26309 PyObject
*resultobj
= 0;
26310 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
26314 PyObject
*swig_obj
[1] ;
26316 if (!args
) SWIG_fail
;
26317 swig_obj
[0] = args
;
26318 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
26319 if (!SWIG_IsOK(res1
)) {
26320 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_GetToPage" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
26322 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
26324 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26325 result
= (int)((wxPrintDialogData
const *)arg1
)->GetToPage();
26326 wxPyEndAllowThreads(__tstate
);
26327 if (PyErr_Occurred()) SWIG_fail
;
26329 resultobj
= SWIG_From_int(static_cast< int >(result
));
26336 SWIGINTERN PyObject
*_wrap_PrintDialogData_GetMinPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26337 PyObject
*resultobj
= 0;
26338 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
26342 PyObject
*swig_obj
[1] ;
26344 if (!args
) SWIG_fail
;
26345 swig_obj
[0] = args
;
26346 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
26347 if (!SWIG_IsOK(res1
)) {
26348 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_GetMinPage" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
26350 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
26352 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26353 result
= (int)((wxPrintDialogData
const *)arg1
)->GetMinPage();
26354 wxPyEndAllowThreads(__tstate
);
26355 if (PyErr_Occurred()) SWIG_fail
;
26357 resultobj
= SWIG_From_int(static_cast< int >(result
));
26364 SWIGINTERN PyObject
*_wrap_PrintDialogData_GetMaxPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26365 PyObject
*resultobj
= 0;
26366 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
26370 PyObject
*swig_obj
[1] ;
26372 if (!args
) SWIG_fail
;
26373 swig_obj
[0] = args
;
26374 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
26375 if (!SWIG_IsOK(res1
)) {
26376 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_GetMaxPage" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
26378 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
26380 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26381 result
= (int)((wxPrintDialogData
const *)arg1
)->GetMaxPage();
26382 wxPyEndAllowThreads(__tstate
);
26383 if (PyErr_Occurred()) SWIG_fail
;
26385 resultobj
= SWIG_From_int(static_cast< int >(result
));
26392 SWIGINTERN PyObject
*_wrap_PrintDialogData_GetNoCopies(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26393 PyObject
*resultobj
= 0;
26394 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
26398 PyObject
*swig_obj
[1] ;
26400 if (!args
) SWIG_fail
;
26401 swig_obj
[0] = args
;
26402 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
26403 if (!SWIG_IsOK(res1
)) {
26404 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_GetNoCopies" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
26406 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
26408 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26409 result
= (int)((wxPrintDialogData
const *)arg1
)->GetNoCopies();
26410 wxPyEndAllowThreads(__tstate
);
26411 if (PyErr_Occurred()) SWIG_fail
;
26413 resultobj
= SWIG_From_int(static_cast< int >(result
));
26420 SWIGINTERN PyObject
*_wrap_PrintDialogData_GetAllPages(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26421 PyObject
*resultobj
= 0;
26422 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
26426 PyObject
*swig_obj
[1] ;
26428 if (!args
) SWIG_fail
;
26429 swig_obj
[0] = args
;
26430 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
26431 if (!SWIG_IsOK(res1
)) {
26432 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_GetAllPages" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
26434 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
26436 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26437 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetAllPages();
26438 wxPyEndAllowThreads(__tstate
);
26439 if (PyErr_Occurred()) SWIG_fail
;
26442 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26450 SWIGINTERN PyObject
*_wrap_PrintDialogData_GetSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26451 PyObject
*resultobj
= 0;
26452 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
26456 PyObject
*swig_obj
[1] ;
26458 if (!args
) SWIG_fail
;
26459 swig_obj
[0] = args
;
26460 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
26461 if (!SWIG_IsOK(res1
)) {
26462 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_GetSelection" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
26464 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
26466 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26467 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetSelection();
26468 wxPyEndAllowThreads(__tstate
);
26469 if (PyErr_Occurred()) SWIG_fail
;
26472 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26480 SWIGINTERN PyObject
*_wrap_PrintDialogData_GetCollate(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26481 PyObject
*resultobj
= 0;
26482 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
26486 PyObject
*swig_obj
[1] ;
26488 if (!args
) SWIG_fail
;
26489 swig_obj
[0] = args
;
26490 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
26491 if (!SWIG_IsOK(res1
)) {
26492 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_GetCollate" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
26494 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
26496 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26497 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetCollate();
26498 wxPyEndAllowThreads(__tstate
);
26499 if (PyErr_Occurred()) SWIG_fail
;
26502 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26510 SWIGINTERN PyObject
*_wrap_PrintDialogData_GetPrintToFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26511 PyObject
*resultobj
= 0;
26512 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
26516 PyObject
*swig_obj
[1] ;
26518 if (!args
) SWIG_fail
;
26519 swig_obj
[0] = args
;
26520 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
26521 if (!SWIG_IsOK(res1
)) {
26522 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_GetPrintToFile" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
26524 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
26526 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26527 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetPrintToFile();
26528 wxPyEndAllowThreads(__tstate
);
26529 if (PyErr_Occurred()) SWIG_fail
;
26532 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26540 SWIGINTERN PyObject
*_wrap_PrintDialogData_SetFromPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26541 PyObject
*resultobj
= 0;
26542 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
26548 PyObject
* obj0
= 0 ;
26549 PyObject
* obj1
= 0 ;
26550 char * kwnames
[] = {
26551 (char *) "self",(char *) "v", NULL
26554 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetFromPage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26555 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
26556 if (!SWIG_IsOK(res1
)) {
26557 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_SetFromPage" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26559 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
26560 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
26561 if (!SWIG_IsOK(ecode2
)) {
26562 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintDialogData_SetFromPage" "', expected argument " "2"" of type '" "int""'");
26564 arg2
= static_cast< int >(val2
);
26566 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26567 (arg1
)->SetFromPage(arg2
);
26568 wxPyEndAllowThreads(__tstate
);
26569 if (PyErr_Occurred()) SWIG_fail
;
26571 resultobj
= SWIG_Py_Void();
26578 SWIGINTERN PyObject
*_wrap_PrintDialogData_SetToPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26579 PyObject
*resultobj
= 0;
26580 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
26586 PyObject
* obj0
= 0 ;
26587 PyObject
* obj1
= 0 ;
26588 char * kwnames
[] = {
26589 (char *) "self",(char *) "v", NULL
26592 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetToPage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26593 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
26594 if (!SWIG_IsOK(res1
)) {
26595 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_SetToPage" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26597 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
26598 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
26599 if (!SWIG_IsOK(ecode2
)) {
26600 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintDialogData_SetToPage" "', expected argument " "2"" of type '" "int""'");
26602 arg2
= static_cast< int >(val2
);
26604 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26605 (arg1
)->SetToPage(arg2
);
26606 wxPyEndAllowThreads(__tstate
);
26607 if (PyErr_Occurred()) SWIG_fail
;
26609 resultobj
= SWIG_Py_Void();
26616 SWIGINTERN PyObject
*_wrap_PrintDialogData_SetMinPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26617 PyObject
*resultobj
= 0;
26618 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
26624 PyObject
* obj0
= 0 ;
26625 PyObject
* obj1
= 0 ;
26626 char * kwnames
[] = {
26627 (char *) "self",(char *) "v", NULL
26630 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetMinPage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26631 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
26632 if (!SWIG_IsOK(res1
)) {
26633 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_SetMinPage" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26635 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
26636 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
26637 if (!SWIG_IsOK(ecode2
)) {
26638 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintDialogData_SetMinPage" "', expected argument " "2"" of type '" "int""'");
26640 arg2
= static_cast< int >(val2
);
26642 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26643 (arg1
)->SetMinPage(arg2
);
26644 wxPyEndAllowThreads(__tstate
);
26645 if (PyErr_Occurred()) SWIG_fail
;
26647 resultobj
= SWIG_Py_Void();
26654 SWIGINTERN PyObject
*_wrap_PrintDialogData_SetMaxPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26655 PyObject
*resultobj
= 0;
26656 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
26662 PyObject
* obj0
= 0 ;
26663 PyObject
* obj1
= 0 ;
26664 char * kwnames
[] = {
26665 (char *) "self",(char *) "v", NULL
26668 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetMaxPage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26669 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
26670 if (!SWIG_IsOK(res1
)) {
26671 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_SetMaxPage" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26673 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
26674 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
26675 if (!SWIG_IsOK(ecode2
)) {
26676 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintDialogData_SetMaxPage" "', expected argument " "2"" of type '" "int""'");
26678 arg2
= static_cast< int >(val2
);
26680 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26681 (arg1
)->SetMaxPage(arg2
);
26682 wxPyEndAllowThreads(__tstate
);
26683 if (PyErr_Occurred()) SWIG_fail
;
26685 resultobj
= SWIG_Py_Void();
26692 SWIGINTERN PyObject
*_wrap_PrintDialogData_SetNoCopies(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26693 PyObject
*resultobj
= 0;
26694 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
26700 PyObject
* obj0
= 0 ;
26701 PyObject
* obj1
= 0 ;
26702 char * kwnames
[] = {
26703 (char *) "self",(char *) "v", NULL
26706 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetNoCopies",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26707 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
26708 if (!SWIG_IsOK(res1
)) {
26709 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_SetNoCopies" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26711 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
26712 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
26713 if (!SWIG_IsOK(ecode2
)) {
26714 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintDialogData_SetNoCopies" "', expected argument " "2"" of type '" "int""'");
26716 arg2
= static_cast< int >(val2
);
26718 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26719 (arg1
)->SetNoCopies(arg2
);
26720 wxPyEndAllowThreads(__tstate
);
26721 if (PyErr_Occurred()) SWIG_fail
;
26723 resultobj
= SWIG_Py_Void();
26730 SWIGINTERN PyObject
*_wrap_PrintDialogData_SetAllPages(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26731 PyObject
*resultobj
= 0;
26732 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
26738 PyObject
* obj0
= 0 ;
26739 PyObject
* obj1
= 0 ;
26740 char * kwnames
[] = {
26741 (char *) "self",(char *) "flag", NULL
26744 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetAllPages",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26745 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
26746 if (!SWIG_IsOK(res1
)) {
26747 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_SetAllPages" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26749 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
26750 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
26751 if (!SWIG_IsOK(ecode2
)) {
26752 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintDialogData_SetAllPages" "', expected argument " "2"" of type '" "bool""'");
26754 arg2
= static_cast< bool >(val2
);
26756 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26757 (arg1
)->SetAllPages(arg2
);
26758 wxPyEndAllowThreads(__tstate
);
26759 if (PyErr_Occurred()) SWIG_fail
;
26761 resultobj
= SWIG_Py_Void();
26768 SWIGINTERN PyObject
*_wrap_PrintDialogData_SetSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26769 PyObject
*resultobj
= 0;
26770 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
26776 PyObject
* obj0
= 0 ;
26777 PyObject
* obj1
= 0 ;
26778 char * kwnames
[] = {
26779 (char *) "self",(char *) "flag", NULL
26782 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetSelection",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26783 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
26784 if (!SWIG_IsOK(res1
)) {
26785 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_SetSelection" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26787 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
26788 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
26789 if (!SWIG_IsOK(ecode2
)) {
26790 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintDialogData_SetSelection" "', expected argument " "2"" of type '" "bool""'");
26792 arg2
= static_cast< bool >(val2
);
26794 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26795 (arg1
)->SetSelection(arg2
);
26796 wxPyEndAllowThreads(__tstate
);
26797 if (PyErr_Occurred()) SWIG_fail
;
26799 resultobj
= SWIG_Py_Void();
26806 SWIGINTERN PyObject
*_wrap_PrintDialogData_SetCollate(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26807 PyObject
*resultobj
= 0;
26808 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
26814 PyObject
* obj0
= 0 ;
26815 PyObject
* obj1
= 0 ;
26816 char * kwnames
[] = {
26817 (char *) "self",(char *) "flag", NULL
26820 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetCollate",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26821 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
26822 if (!SWIG_IsOK(res1
)) {
26823 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_SetCollate" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26825 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
26826 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
26827 if (!SWIG_IsOK(ecode2
)) {
26828 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintDialogData_SetCollate" "', expected argument " "2"" of type '" "bool""'");
26830 arg2
= static_cast< bool >(val2
);
26832 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26833 (arg1
)->SetCollate(arg2
);
26834 wxPyEndAllowThreads(__tstate
);
26835 if (PyErr_Occurred()) SWIG_fail
;
26837 resultobj
= SWIG_Py_Void();
26844 SWIGINTERN PyObject
*_wrap_PrintDialogData_SetPrintToFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26845 PyObject
*resultobj
= 0;
26846 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
26852 PyObject
* obj0
= 0 ;
26853 PyObject
* obj1
= 0 ;
26854 char * kwnames
[] = {
26855 (char *) "self",(char *) "flag", NULL
26858 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetPrintToFile",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26859 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
26860 if (!SWIG_IsOK(res1
)) {
26861 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_SetPrintToFile" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26863 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
26864 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
26865 if (!SWIG_IsOK(ecode2
)) {
26866 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintDialogData_SetPrintToFile" "', expected argument " "2"" of type '" "bool""'");
26868 arg2
= static_cast< bool >(val2
);
26870 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26871 (arg1
)->SetPrintToFile(arg2
);
26872 wxPyEndAllowThreads(__tstate
);
26873 if (PyErr_Occurred()) SWIG_fail
;
26875 resultobj
= SWIG_Py_Void();
26882 SWIGINTERN PyObject
*_wrap_PrintDialogData_EnablePrintToFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26883 PyObject
*resultobj
= 0;
26884 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
26890 PyObject
* obj0
= 0 ;
26891 PyObject
* obj1
= 0 ;
26892 char * kwnames
[] = {
26893 (char *) "self",(char *) "flag", NULL
26896 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_EnablePrintToFile",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26897 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
26898 if (!SWIG_IsOK(res1
)) {
26899 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_EnablePrintToFile" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26901 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
26902 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
26903 if (!SWIG_IsOK(ecode2
)) {
26904 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintDialogData_EnablePrintToFile" "', expected argument " "2"" of type '" "bool""'");
26906 arg2
= static_cast< bool >(val2
);
26908 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26909 (arg1
)->EnablePrintToFile(arg2
);
26910 wxPyEndAllowThreads(__tstate
);
26911 if (PyErr_Occurred()) SWIG_fail
;
26913 resultobj
= SWIG_Py_Void();
26920 SWIGINTERN PyObject
*_wrap_PrintDialogData_EnableSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26921 PyObject
*resultobj
= 0;
26922 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
26928 PyObject
* obj0
= 0 ;
26929 PyObject
* obj1
= 0 ;
26930 char * kwnames
[] = {
26931 (char *) "self",(char *) "flag", NULL
26934 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_EnableSelection",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26935 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
26936 if (!SWIG_IsOK(res1
)) {
26937 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_EnableSelection" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26939 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
26940 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
26941 if (!SWIG_IsOK(ecode2
)) {
26942 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintDialogData_EnableSelection" "', expected argument " "2"" of type '" "bool""'");
26944 arg2
= static_cast< bool >(val2
);
26946 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26947 (arg1
)->EnableSelection(arg2
);
26948 wxPyEndAllowThreads(__tstate
);
26949 if (PyErr_Occurred()) SWIG_fail
;
26951 resultobj
= SWIG_Py_Void();
26958 SWIGINTERN PyObject
*_wrap_PrintDialogData_EnablePageNumbers(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26959 PyObject
*resultobj
= 0;
26960 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
26966 PyObject
* obj0
= 0 ;
26967 PyObject
* obj1
= 0 ;
26968 char * kwnames
[] = {
26969 (char *) "self",(char *) "flag", NULL
26972 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_EnablePageNumbers",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26973 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
26974 if (!SWIG_IsOK(res1
)) {
26975 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_EnablePageNumbers" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26977 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
26978 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
26979 if (!SWIG_IsOK(ecode2
)) {
26980 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintDialogData_EnablePageNumbers" "', expected argument " "2"" of type '" "bool""'");
26982 arg2
= static_cast< bool >(val2
);
26984 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26985 (arg1
)->EnablePageNumbers(arg2
);
26986 wxPyEndAllowThreads(__tstate
);
26987 if (PyErr_Occurred()) SWIG_fail
;
26989 resultobj
= SWIG_Py_Void();
26996 SWIGINTERN PyObject
*_wrap_PrintDialogData_EnableHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26997 PyObject
*resultobj
= 0;
26998 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
27004 PyObject
* obj0
= 0 ;
27005 PyObject
* obj1
= 0 ;
27006 char * kwnames
[] = {
27007 (char *) "self",(char *) "flag", NULL
27010 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_EnableHelp",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
27011 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
27012 if (!SWIG_IsOK(res1
)) {
27013 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_EnableHelp" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
27015 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
27016 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
27017 if (!SWIG_IsOK(ecode2
)) {
27018 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintDialogData_EnableHelp" "', expected argument " "2"" of type '" "bool""'");
27020 arg2
= static_cast< bool >(val2
);
27022 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27023 (arg1
)->EnableHelp(arg2
);
27024 wxPyEndAllowThreads(__tstate
);
27025 if (PyErr_Occurred()) SWIG_fail
;
27027 resultobj
= SWIG_Py_Void();
27034 SWIGINTERN PyObject
*_wrap_PrintDialogData_GetEnablePrintToFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27035 PyObject
*resultobj
= 0;
27036 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
27040 PyObject
*swig_obj
[1] ;
27042 if (!args
) SWIG_fail
;
27043 swig_obj
[0] = args
;
27044 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
27045 if (!SWIG_IsOK(res1
)) {
27046 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_GetEnablePrintToFile" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
27048 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
27050 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27051 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetEnablePrintToFile();
27052 wxPyEndAllowThreads(__tstate
);
27053 if (PyErr_Occurred()) SWIG_fail
;
27056 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27064 SWIGINTERN PyObject
*_wrap_PrintDialogData_GetEnableSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27065 PyObject
*resultobj
= 0;
27066 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
27070 PyObject
*swig_obj
[1] ;
27072 if (!args
) SWIG_fail
;
27073 swig_obj
[0] = args
;
27074 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
27075 if (!SWIG_IsOK(res1
)) {
27076 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_GetEnableSelection" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
27078 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
27080 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27081 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetEnableSelection();
27082 wxPyEndAllowThreads(__tstate
);
27083 if (PyErr_Occurred()) SWIG_fail
;
27086 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27094 SWIGINTERN PyObject
*_wrap_PrintDialogData_GetEnablePageNumbers(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27095 PyObject
*resultobj
= 0;
27096 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
27100 PyObject
*swig_obj
[1] ;
27102 if (!args
) SWIG_fail
;
27103 swig_obj
[0] = args
;
27104 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
27105 if (!SWIG_IsOK(res1
)) {
27106 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_GetEnablePageNumbers" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
27108 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
27110 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27111 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetEnablePageNumbers();
27112 wxPyEndAllowThreads(__tstate
);
27113 if (PyErr_Occurred()) SWIG_fail
;
27116 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27124 SWIGINTERN PyObject
*_wrap_PrintDialogData_GetEnableHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27125 PyObject
*resultobj
= 0;
27126 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
27130 PyObject
*swig_obj
[1] ;
27132 if (!args
) SWIG_fail
;
27133 swig_obj
[0] = args
;
27134 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
27135 if (!SWIG_IsOK(res1
)) {
27136 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_GetEnableHelp" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
27138 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
27140 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27141 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetEnableHelp();
27142 wxPyEndAllowThreads(__tstate
);
27143 if (PyErr_Occurred()) SWIG_fail
;
27146 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27154 SWIGINTERN PyObject
*_wrap_PrintDialogData_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27155 PyObject
*resultobj
= 0;
27156 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
27160 PyObject
*swig_obj
[1] ;
27162 if (!args
) SWIG_fail
;
27163 swig_obj
[0] = args
;
27164 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
27165 if (!SWIG_IsOK(res1
)) {
27166 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_IsOk" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
27168 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
27170 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27171 result
= (bool)((wxPrintDialogData
const *)arg1
)->IsOk();
27172 wxPyEndAllowThreads(__tstate
);
27173 if (PyErr_Occurred()) SWIG_fail
;
27176 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27184 SWIGINTERN PyObject
*_wrap_PrintDialogData_GetPrintData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27185 PyObject
*resultobj
= 0;
27186 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
27187 wxPrintData
*result
= 0 ;
27190 PyObject
*swig_obj
[1] ;
27192 if (!args
) SWIG_fail
;
27193 swig_obj
[0] = args
;
27194 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
27195 if (!SWIG_IsOK(res1
)) {
27196 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_GetPrintData" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
27198 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
27200 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27202 wxPrintData
&_result_ref
= (arg1
)->GetPrintData();
27203 result
= (wxPrintData
*) &_result_ref
;
27205 wxPyEndAllowThreads(__tstate
);
27206 if (PyErr_Occurred()) SWIG_fail
;
27208 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPrintData
, 0 | 0 );
27215 SWIGINTERN PyObject
*_wrap_PrintDialogData_SetPrintData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27216 PyObject
*resultobj
= 0;
27217 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
27218 wxPrintData
*arg2
= 0 ;
27223 PyObject
* obj0
= 0 ;
27224 PyObject
* obj1
= 0 ;
27225 char * kwnames
[] = {
27226 (char *) "self",(char *) "printData", NULL
27229 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetPrintData",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
27230 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
27231 if (!SWIG_IsOK(res1
)) {
27232 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_SetPrintData" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
27234 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
27235 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxPrintData
, 0 | 0);
27236 if (!SWIG_IsOK(res2
)) {
27237 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PrintDialogData_SetPrintData" "', expected argument " "2"" of type '" "wxPrintData const &""'");
27240 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PrintDialogData_SetPrintData" "', expected argument " "2"" of type '" "wxPrintData const &""'");
27242 arg2
= reinterpret_cast< wxPrintData
* >(argp2
);
27244 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27245 (arg1
)->SetPrintData((wxPrintData
const &)*arg2
);
27246 wxPyEndAllowThreads(__tstate
);
27247 if (PyErr_Occurred()) SWIG_fail
;
27249 resultobj
= SWIG_Py_Void();
27256 SWIGINTERN PyObject
*PrintDialogData_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27258 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
27259 SWIG_TypeNewClientData(SWIGTYPE_p_wxPrintDialogData
, SWIG_NewClientData(obj
));
27260 return SWIG_Py_Void();
27263 SWIGINTERN PyObject
*PrintDialogData_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27264 return SWIG_Python_InitShadowInstance(args
);
27267 SWIGINTERN PyObject
*_wrap_new_PrintDialog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27268 PyObject
*resultobj
= 0;
27269 wxWindow
*arg1
= (wxWindow
*) 0 ;
27270 wxPrintDialogData
*arg2
= (wxPrintDialogData
*) NULL
;
27271 wxPrintDialog
*result
= 0 ;
27276 PyObject
* obj0
= 0 ;
27277 PyObject
* obj1
= 0 ;
27278 char * kwnames
[] = {
27279 (char *) "parent",(char *) "data", NULL
27282 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_PrintDialog",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
27283 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
27284 if (!SWIG_IsOK(res1
)) {
27285 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PrintDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
27287 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
27289 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
27290 if (!SWIG_IsOK(res2
)) {
27291 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_PrintDialog" "', expected argument " "2"" of type '" "wxPrintDialogData *""'");
27293 arg2
= reinterpret_cast< wxPrintDialogData
* >(argp2
);
27296 if (!wxPyCheckForApp()) SWIG_fail
;
27297 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27298 result
= (wxPrintDialog
*)new wxPrintDialog(arg1
,arg2
);
27299 wxPyEndAllowThreads(__tstate
);
27300 if (PyErr_Occurred()) SWIG_fail
;
27302 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPrintDialog
, SWIG_POINTER_NEW
| 0 );
27309 SWIGINTERN PyObject
*_wrap_delete_PrintDialog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27310 PyObject
*resultobj
= 0;
27311 wxPrintDialog
*arg1
= (wxPrintDialog
*) 0 ;
27314 PyObject
*swig_obj
[1] ;
27316 if (!args
) SWIG_fail
;
27317 swig_obj
[0] = args
;
27318 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialog
, SWIG_POINTER_DISOWN
| 0 );
27319 if (!SWIG_IsOK(res1
)) {
27320 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_PrintDialog" "', expected argument " "1"" of type '" "wxPrintDialog *""'");
27322 arg1
= reinterpret_cast< wxPrintDialog
* >(argp1
);
27324 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27327 wxPyEndAllowThreads(__tstate
);
27328 if (PyErr_Occurred()) SWIG_fail
;
27330 resultobj
= SWIG_Py_Void();
27337 SWIGINTERN PyObject
*_wrap_PrintDialog_ShowModal(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27338 PyObject
*resultobj
= 0;
27339 wxPrintDialog
*arg1
= (wxPrintDialog
*) 0 ;
27343 PyObject
*swig_obj
[1] ;
27345 if (!args
) SWIG_fail
;
27346 swig_obj
[0] = args
;
27347 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialog
, 0 | 0 );
27348 if (!SWIG_IsOK(res1
)) {
27349 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialog_ShowModal" "', expected argument " "1"" of type '" "wxPrintDialog *""'");
27351 arg1
= reinterpret_cast< wxPrintDialog
* >(argp1
);
27353 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27354 result
= (int)(arg1
)->ShowModal();
27355 wxPyEndAllowThreads(__tstate
);
27356 if (PyErr_Occurred()) SWIG_fail
;
27358 resultobj
= SWIG_From_int(static_cast< int >(result
));
27365 SWIGINTERN PyObject
*_wrap_PrintDialog_GetPrintDialogData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27366 PyObject
*resultobj
= 0;
27367 wxPrintDialog
*arg1
= (wxPrintDialog
*) 0 ;
27368 wxPrintDialogData
*result
= 0 ;
27371 PyObject
*swig_obj
[1] ;
27373 if (!args
) SWIG_fail
;
27374 swig_obj
[0] = args
;
27375 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialog
, 0 | 0 );
27376 if (!SWIG_IsOK(res1
)) {
27377 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialog_GetPrintDialogData" "', expected argument " "1"" of type '" "wxPrintDialog *""'");
27379 arg1
= reinterpret_cast< wxPrintDialog
* >(argp1
);
27381 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27383 wxPrintDialogData
&_result_ref
= (arg1
)->GetPrintDialogData();
27384 result
= (wxPrintDialogData
*) &_result_ref
;
27386 wxPyEndAllowThreads(__tstate
);
27387 if (PyErr_Occurred()) SWIG_fail
;
27389 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
27396 SWIGINTERN PyObject
*_wrap_PrintDialog_GetPrintData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27397 PyObject
*resultobj
= 0;
27398 wxPrintDialog
*arg1
= (wxPrintDialog
*) 0 ;
27399 wxPrintData
*result
= 0 ;
27402 PyObject
*swig_obj
[1] ;
27404 if (!args
) SWIG_fail
;
27405 swig_obj
[0] = args
;
27406 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialog
, 0 | 0 );
27407 if (!SWIG_IsOK(res1
)) {
27408 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialog_GetPrintData" "', expected argument " "1"" of type '" "wxPrintDialog *""'");
27410 arg1
= reinterpret_cast< wxPrintDialog
* >(argp1
);
27412 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27414 wxPrintData
&_result_ref
= (arg1
)->GetPrintData();
27415 result
= (wxPrintData
*) &_result_ref
;
27417 wxPyEndAllowThreads(__tstate
);
27418 if (PyErr_Occurred()) SWIG_fail
;
27420 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPrintData
, 0 | 0 );
27427 SWIGINTERN PyObject
*_wrap_PrintDialog_GetPrintDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27428 PyObject
*resultobj
= 0;
27429 wxPrintDialog
*arg1
= (wxPrintDialog
*) 0 ;
27433 PyObject
*swig_obj
[1] ;
27435 if (!args
) SWIG_fail
;
27436 swig_obj
[0] = args
;
27437 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialog
, 0 | 0 );
27438 if (!SWIG_IsOK(res1
)) {
27439 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialog_GetPrintDC" "', expected argument " "1"" of type '" "wxPrintDialog *""'");
27441 arg1
= reinterpret_cast< wxPrintDialog
* >(argp1
);
27443 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27444 result
= (wxDC
*)(arg1
)->GetPrintDC();
27445 wxPyEndAllowThreads(__tstate
);
27446 if (PyErr_Occurred()) SWIG_fail
;
27449 resultobj
= wxPyMake_wxObject(result
, (bool)SWIG_POINTER_OWN
);
27457 SWIGINTERN PyObject
*PrintDialog_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27459 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
27460 SWIG_TypeNewClientData(SWIGTYPE_p_wxPrintDialog
, SWIG_NewClientData(obj
));
27461 return SWIG_Py_Void();
27464 SWIGINTERN PyObject
*PrintDialog_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27465 return SWIG_Python_InitShadowInstance(args
);
27468 SWIGINTERN PyObject
*_wrap_new_Printer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27469 PyObject
*resultobj
= 0;
27470 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) NULL
;
27471 wxPrinter
*result
= 0 ;
27474 PyObject
* obj0
= 0 ;
27475 char * kwnames
[] = {
27476 (char *) "data", NULL
27479 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_Printer",kwnames
,&obj0
)) SWIG_fail
;
27481 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
27482 if (!SWIG_IsOK(res1
)) {
27483 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_Printer" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
27485 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
27488 if (!wxPyCheckForApp()) SWIG_fail
;
27489 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27490 result
= (wxPrinter
*)new wxPrinter(arg1
);
27491 wxPyEndAllowThreads(__tstate
);
27492 if (PyErr_Occurred()) SWIG_fail
;
27494 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPrinter
, SWIG_POINTER_NEW
| 0 );
27501 SWIGINTERN PyObject
*_wrap_delete_Printer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27502 PyObject
*resultobj
= 0;
27503 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
27506 PyObject
*swig_obj
[1] ;
27508 if (!args
) SWIG_fail
;
27509 swig_obj
[0] = args
;
27510 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrinter
, SWIG_POINTER_DISOWN
| 0 );
27511 if (!SWIG_IsOK(res1
)) {
27512 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Printer" "', expected argument " "1"" of type '" "wxPrinter *""'");
27514 arg1
= reinterpret_cast< wxPrinter
* >(argp1
);
27516 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27519 wxPyEndAllowThreads(__tstate
);
27520 if (PyErr_Occurred()) SWIG_fail
;
27522 resultobj
= SWIG_Py_Void();
27529 SWIGINTERN PyObject
*_wrap_Printer_CreateAbortWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27530 PyObject
*resultobj
= 0;
27531 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
27532 wxWindow
*arg2
= (wxWindow
*) 0 ;
27533 wxPyPrintout
*arg3
= (wxPyPrintout
*) 0 ;
27534 wxWindow
*result
= 0 ;
27541 PyObject
* obj0
= 0 ;
27542 PyObject
* obj1
= 0 ;
27543 PyObject
* obj2
= 0 ;
27544 char * kwnames
[] = {
27545 (char *) "self",(char *) "parent",(char *) "printout", NULL
27548 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Printer_CreateAbortWindow",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
27549 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrinter
, 0 | 0 );
27550 if (!SWIG_IsOK(res1
)) {
27551 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printer_CreateAbortWindow" "', expected argument " "1"" of type '" "wxPrinter *""'");
27553 arg1
= reinterpret_cast< wxPrinter
* >(argp1
);
27554 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
27555 if (!SWIG_IsOK(res2
)) {
27556 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Printer_CreateAbortWindow" "', expected argument " "2"" of type '" "wxWindow *""'");
27558 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
27559 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
27560 if (!SWIG_IsOK(res3
)) {
27561 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "Printer_CreateAbortWindow" "', expected argument " "3"" of type '" "wxPyPrintout *""'");
27563 arg3
= reinterpret_cast< wxPyPrintout
* >(argp3
);
27565 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27566 result
= (wxWindow
*)(arg1
)->CreateAbortWindow(arg2
,arg3
);
27567 wxPyEndAllowThreads(__tstate
);
27568 if (PyErr_Occurred()) SWIG_fail
;
27571 resultobj
= wxPyMake_wxObject(result
, 0);
27579 SWIGINTERN PyObject
*_wrap_Printer_ReportError(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27580 PyObject
*resultobj
= 0;
27581 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
27582 wxWindow
*arg2
= (wxWindow
*) 0 ;
27583 wxPyPrintout
*arg3
= (wxPyPrintout
*) 0 ;
27584 wxString
*arg4
= 0 ;
27591 bool temp4
= false ;
27592 PyObject
* obj0
= 0 ;
27593 PyObject
* obj1
= 0 ;
27594 PyObject
* obj2
= 0 ;
27595 PyObject
* obj3
= 0 ;
27596 char * kwnames
[] = {
27597 (char *) "self",(char *) "parent",(char *) "printout",(char *) "message", NULL
27600 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Printer_ReportError",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
27601 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrinter
, 0 | 0 );
27602 if (!SWIG_IsOK(res1
)) {
27603 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printer_ReportError" "', expected argument " "1"" of type '" "wxPrinter *""'");
27605 arg1
= reinterpret_cast< wxPrinter
* >(argp1
);
27606 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
27607 if (!SWIG_IsOK(res2
)) {
27608 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Printer_ReportError" "', expected argument " "2"" of type '" "wxWindow *""'");
27610 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
27611 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
27612 if (!SWIG_IsOK(res3
)) {
27613 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "Printer_ReportError" "', expected argument " "3"" of type '" "wxPyPrintout *""'");
27615 arg3
= reinterpret_cast< wxPyPrintout
* >(argp3
);
27617 arg4
= wxString_in_helper(obj3
);
27618 if (arg4
== NULL
) SWIG_fail
;
27622 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27623 (arg1
)->ReportError(arg2
,arg3
,(wxString
const &)*arg4
);
27624 wxPyEndAllowThreads(__tstate
);
27625 if (PyErr_Occurred()) SWIG_fail
;
27627 resultobj
= SWIG_Py_Void();
27642 SWIGINTERN PyObject
*_wrap_Printer_Setup(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27643 PyObject
*resultobj
= 0;
27644 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
27645 wxWindow
*arg2
= (wxWindow
*) 0 ;
27651 PyObject
* obj0
= 0 ;
27652 PyObject
* obj1
= 0 ;
27653 char * kwnames
[] = {
27654 (char *) "self",(char *) "parent", NULL
27657 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Printer_Setup",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
27658 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrinter
, 0 | 0 );
27659 if (!SWIG_IsOK(res1
)) {
27660 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printer_Setup" "', expected argument " "1"" of type '" "wxPrinter *""'");
27662 arg1
= reinterpret_cast< wxPrinter
* >(argp1
);
27663 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
27664 if (!SWIG_IsOK(res2
)) {
27665 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Printer_Setup" "', expected argument " "2"" of type '" "wxWindow *""'");
27667 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
27669 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27670 result
= (bool)(arg1
)->Setup(arg2
);
27671 wxPyEndAllowThreads(__tstate
);
27672 if (PyErr_Occurred()) SWIG_fail
;
27675 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27683 SWIGINTERN PyObject
*_wrap_Printer_Print(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27684 PyObject
*resultobj
= 0;
27685 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
27686 wxWindow
*arg2
= (wxWindow
*) 0 ;
27687 wxPyPrintout
*arg3
= (wxPyPrintout
*) 0 ;
27688 bool arg4
= (bool) true ;
27698 PyObject
* obj0
= 0 ;
27699 PyObject
* obj1
= 0 ;
27700 PyObject
* obj2
= 0 ;
27701 PyObject
* obj3
= 0 ;
27702 char * kwnames
[] = {
27703 (char *) "self",(char *) "parent",(char *) "printout",(char *) "prompt", NULL
27706 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Printer_Print",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
27707 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrinter
, 0 | 0 );
27708 if (!SWIG_IsOK(res1
)) {
27709 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printer_Print" "', expected argument " "1"" of type '" "wxPrinter *""'");
27711 arg1
= reinterpret_cast< wxPrinter
* >(argp1
);
27712 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
27713 if (!SWIG_IsOK(res2
)) {
27714 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Printer_Print" "', expected argument " "2"" of type '" "wxWindow *""'");
27716 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
27717 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
27718 if (!SWIG_IsOK(res3
)) {
27719 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "Printer_Print" "', expected argument " "3"" of type '" "wxPyPrintout *""'");
27721 arg3
= reinterpret_cast< wxPyPrintout
* >(argp3
);
27723 ecode4
= SWIG_AsVal_bool(obj3
, &val4
);
27724 if (!SWIG_IsOK(ecode4
)) {
27725 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Printer_Print" "', expected argument " "4"" of type '" "bool""'");
27727 arg4
= static_cast< bool >(val4
);
27730 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27731 result
= (bool)(arg1
)->Print(arg2
,arg3
,arg4
);
27732 wxPyEndAllowThreads(__tstate
);
27733 if (PyErr_Occurred()) SWIG_fail
;
27736 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27744 SWIGINTERN PyObject
*_wrap_Printer_PrintDialog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27745 PyObject
*resultobj
= 0;
27746 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
27747 wxWindow
*arg2
= (wxWindow
*) 0 ;
27753 PyObject
* obj0
= 0 ;
27754 PyObject
* obj1
= 0 ;
27755 char * kwnames
[] = {
27756 (char *) "self",(char *) "parent", NULL
27759 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Printer_PrintDialog",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
27760 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrinter
, 0 | 0 );
27761 if (!SWIG_IsOK(res1
)) {
27762 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printer_PrintDialog" "', expected argument " "1"" of type '" "wxPrinter *""'");
27764 arg1
= reinterpret_cast< wxPrinter
* >(argp1
);
27765 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
27766 if (!SWIG_IsOK(res2
)) {
27767 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Printer_PrintDialog" "', expected argument " "2"" of type '" "wxWindow *""'");
27769 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
27771 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27772 result
= (wxDC
*)(arg1
)->PrintDialog(arg2
);
27773 wxPyEndAllowThreads(__tstate
);
27774 if (PyErr_Occurred()) SWIG_fail
;
27777 resultobj
= wxPyMake_wxObject(result
, (bool)0);
27785 SWIGINTERN PyObject
*_wrap_Printer_GetPrintDialogData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27786 PyObject
*resultobj
= 0;
27787 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
27788 wxPrintDialogData
*result
= 0 ;
27791 PyObject
*swig_obj
[1] ;
27793 if (!args
) SWIG_fail
;
27794 swig_obj
[0] = args
;
27795 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrinter
, 0 | 0 );
27796 if (!SWIG_IsOK(res1
)) {
27797 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printer_GetPrintDialogData" "', expected argument " "1"" of type '" "wxPrinter const *""'");
27799 arg1
= reinterpret_cast< wxPrinter
* >(argp1
);
27801 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27803 wxPrintDialogData
&_result_ref
= ((wxPrinter
const *)arg1
)->GetPrintDialogData();
27804 result
= (wxPrintDialogData
*) &_result_ref
;
27806 wxPyEndAllowThreads(__tstate
);
27807 if (PyErr_Occurred()) SWIG_fail
;
27809 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
27816 SWIGINTERN PyObject
*_wrap_Printer_GetAbort(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27817 PyObject
*resultobj
= 0;
27818 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
27822 PyObject
*swig_obj
[1] ;
27824 if (!args
) SWIG_fail
;
27825 swig_obj
[0] = args
;
27826 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrinter
, 0 | 0 );
27827 if (!SWIG_IsOK(res1
)) {
27828 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printer_GetAbort" "', expected argument " "1"" of type '" "wxPrinter *""'");
27830 arg1
= reinterpret_cast< wxPrinter
* >(argp1
);
27832 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27833 result
= (bool)(arg1
)->GetAbort();
27834 wxPyEndAllowThreads(__tstate
);
27835 if (PyErr_Occurred()) SWIG_fail
;
27838 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27846 SWIGINTERN PyObject
*_wrap_Printer_GetLastError(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27847 PyObject
*resultobj
= 0;
27848 wxPrinterError result
;
27850 if (!SWIG_Python_UnpackTuple(args
,"Printer_GetLastError",0,0,0)) SWIG_fail
;
27852 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27853 result
= (wxPrinterError
)wxPrinter::GetLastError();
27854 wxPyEndAllowThreads(__tstate
);
27855 if (PyErr_Occurred()) SWIG_fail
;
27857 resultobj
= SWIG_From_int(static_cast< int >(result
));
27864 SWIGINTERN PyObject
*Printer_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27866 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
27867 SWIG_TypeNewClientData(SWIGTYPE_p_wxPrinter
, SWIG_NewClientData(obj
));
27868 return SWIG_Py_Void();
27871 SWIGINTERN PyObject
*Printer_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27872 return SWIG_Python_InitShadowInstance(args
);
27875 SWIGINTERN PyObject
*_wrap_new_Printout(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27876 PyObject
*resultobj
= 0;
27877 wxString
const &arg1_defvalue
= wxPyPrintoutTitleStr
;
27878 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
27879 wxPyPrintout
*result
= 0 ;
27880 bool temp1
= false ;
27881 PyObject
* obj0
= 0 ;
27882 char * kwnames
[] = {
27883 (char *) "title", NULL
27886 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_Printout",kwnames
,&obj0
)) SWIG_fail
;
27889 arg1
= wxString_in_helper(obj0
);
27890 if (arg1
== NULL
) SWIG_fail
;
27895 if (!wxPyCheckForApp()) SWIG_fail
;
27896 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27897 result
= (wxPyPrintout
*)new wxPyPrintout((wxString
const &)*arg1
);
27898 wxPyEndAllowThreads(__tstate
);
27899 if (PyErr_Occurred()) SWIG_fail
;
27901 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_NEW
| 0 );
27916 SWIGINTERN PyObject
*_wrap_delete_Printout(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27917 PyObject
*resultobj
= 0;
27918 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
27921 PyObject
*swig_obj
[1] ;
27923 if (!args
) SWIG_fail
;
27924 swig_obj
[0] = args
;
27925 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_DISOWN
| 0 );
27926 if (!SWIG_IsOK(res1
)) {
27927 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Printout" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
27929 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
27931 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27934 wxPyEndAllowThreads(__tstate
);
27935 if (PyErr_Occurred()) SWIG_fail
;
27937 resultobj
= SWIG_Py_Void();
27944 SWIGINTERN PyObject
*_wrap_Printout__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27945 PyObject
*resultobj
= 0;
27946 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
27947 PyObject
*arg2
= (PyObject
*) 0 ;
27948 PyObject
*arg3
= (PyObject
*) 0 ;
27951 PyObject
* obj0
= 0 ;
27952 PyObject
* obj1
= 0 ;
27953 PyObject
* obj2
= 0 ;
27954 char * kwnames
[] = {
27955 (char *) "self",(char *) "self",(char *) "_class", NULL
27958 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Printout__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
27959 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
27960 if (!SWIG_IsOK(res1
)) {
27961 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
27963 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
27967 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27968 (arg1
)->_setCallbackInfo(arg2
,arg3
);
27969 wxPyEndAllowThreads(__tstate
);
27970 if (PyErr_Occurred()) SWIG_fail
;
27972 resultobj
= SWIG_Py_Void();
27979 SWIGINTERN PyObject
*_wrap_Printout_GetTitle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27980 PyObject
*resultobj
= 0;
27981 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
27985 PyObject
*swig_obj
[1] ;
27987 if (!args
) SWIG_fail
;
27988 swig_obj
[0] = args
;
27989 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
27990 if (!SWIG_IsOK(res1
)) {
27991 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_GetTitle" "', expected argument " "1"" of type '" "wxPyPrintout const *""'");
27993 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
27995 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27996 result
= ((wxPyPrintout
const *)arg1
)->GetTitle();
27997 wxPyEndAllowThreads(__tstate
);
27998 if (PyErr_Occurred()) SWIG_fail
;
28002 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
28004 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
28013 SWIGINTERN PyObject
*_wrap_Printout_GetDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28014 PyObject
*resultobj
= 0;
28015 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
28019 PyObject
*swig_obj
[1] ;
28021 if (!args
) SWIG_fail
;
28022 swig_obj
[0] = args
;
28023 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
28024 if (!SWIG_IsOK(res1
)) {
28025 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_GetDC" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28027 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
28029 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28030 result
= (wxDC
*)(arg1
)->GetDC();
28031 wxPyEndAllowThreads(__tstate
);
28032 if (PyErr_Occurred()) SWIG_fail
;
28035 resultobj
= wxPyMake_wxObject(result
, (bool)0);
28043 SWIGINTERN PyObject
*_wrap_Printout_SetDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28044 PyObject
*resultobj
= 0;
28045 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
28046 wxDC
*arg2
= (wxDC
*) 0 ;
28051 PyObject
* obj0
= 0 ;
28052 PyObject
* obj1
= 0 ;
28053 char * kwnames
[] = {
28054 (char *) "self",(char *) "dc", NULL
28057 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Printout_SetDC",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28058 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
28059 if (!SWIG_IsOK(res1
)) {
28060 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_SetDC" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28062 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
28063 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxDC
, 0 | 0 );
28064 if (!SWIG_IsOK(res2
)) {
28065 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Printout_SetDC" "', expected argument " "2"" of type '" "wxDC *""'");
28067 arg2
= reinterpret_cast< wxDC
* >(argp2
);
28069 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28070 (arg1
)->SetDC(arg2
);
28071 wxPyEndAllowThreads(__tstate
);
28072 if (PyErr_Occurred()) SWIG_fail
;
28074 resultobj
= SWIG_Py_Void();
28081 SWIGINTERN PyObject
*_wrap_Printout_FitThisSizeToPaper(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28082 PyObject
*resultobj
= 0;
28083 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
28088 PyObject
* obj0
= 0 ;
28089 PyObject
* obj1
= 0 ;
28090 char * kwnames
[] = {
28091 (char *) "self",(char *) "imageSize", NULL
28094 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Printout_FitThisSizeToPaper",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28095 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
28096 if (!SWIG_IsOK(res1
)) {
28097 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_FitThisSizeToPaper" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28099 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
28102 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
28105 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28106 (arg1
)->FitThisSizeToPaper((wxSize
const &)*arg2
);
28107 wxPyEndAllowThreads(__tstate
);
28108 if (PyErr_Occurred()) SWIG_fail
;
28110 resultobj
= SWIG_Py_Void();
28117 SWIGINTERN PyObject
*_wrap_Printout_FitThisSizeToPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28118 PyObject
*resultobj
= 0;
28119 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
28124 PyObject
* obj0
= 0 ;
28125 PyObject
* obj1
= 0 ;
28126 char * kwnames
[] = {
28127 (char *) "self",(char *) "imageSize", NULL
28130 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Printout_FitThisSizeToPage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28131 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
28132 if (!SWIG_IsOK(res1
)) {
28133 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_FitThisSizeToPage" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28135 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
28138 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
28141 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28142 (arg1
)->FitThisSizeToPage((wxSize
const &)*arg2
);
28143 wxPyEndAllowThreads(__tstate
);
28144 if (PyErr_Occurred()) SWIG_fail
;
28146 resultobj
= SWIG_Py_Void();
28153 SWIGINTERN PyObject
*_wrap_Printout_FitThisSizeToPageMargins(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28154 PyObject
*resultobj
= 0;
28155 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
28157 wxPageSetupDialogData
*arg3
= 0 ;
28163 PyObject
* obj0
= 0 ;
28164 PyObject
* obj1
= 0 ;
28165 PyObject
* obj2
= 0 ;
28166 char * kwnames
[] = {
28167 (char *) "self",(char *) "imageSize",(char *) "pageSetupData", NULL
28170 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Printout_FitThisSizeToPageMargins",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
28171 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
28172 if (!SWIG_IsOK(res1
)) {
28173 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_FitThisSizeToPageMargins" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28175 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
28178 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
28180 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0);
28181 if (!SWIG_IsOK(res3
)) {
28182 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "Printout_FitThisSizeToPageMargins" "', expected argument " "3"" of type '" "wxPageSetupDialogData const &""'");
28185 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Printout_FitThisSizeToPageMargins" "', expected argument " "3"" of type '" "wxPageSetupDialogData const &""'");
28187 arg3
= reinterpret_cast< wxPageSetupDialogData
* >(argp3
);
28189 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28190 (arg1
)->FitThisSizeToPageMargins((wxSize
const &)*arg2
,(wxPageSetupDialogData
const &)*arg3
);
28191 wxPyEndAllowThreads(__tstate
);
28192 if (PyErr_Occurred()) SWIG_fail
;
28194 resultobj
= SWIG_Py_Void();
28201 SWIGINTERN PyObject
*_wrap_Printout_MapScreenSizeToPaper(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28202 PyObject
*resultobj
= 0;
28203 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
28206 PyObject
*swig_obj
[1] ;
28208 if (!args
) SWIG_fail
;
28209 swig_obj
[0] = args
;
28210 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
28211 if (!SWIG_IsOK(res1
)) {
28212 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_MapScreenSizeToPaper" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28214 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
28216 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28217 (arg1
)->MapScreenSizeToPaper();
28218 wxPyEndAllowThreads(__tstate
);
28219 if (PyErr_Occurred()) SWIG_fail
;
28221 resultobj
= SWIG_Py_Void();
28228 SWIGINTERN PyObject
*_wrap_Printout_MapScreenSizeToPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28229 PyObject
*resultobj
= 0;
28230 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
28233 PyObject
*swig_obj
[1] ;
28235 if (!args
) SWIG_fail
;
28236 swig_obj
[0] = args
;
28237 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
28238 if (!SWIG_IsOK(res1
)) {
28239 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_MapScreenSizeToPage" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28241 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
28243 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28244 (arg1
)->MapScreenSizeToPage();
28245 wxPyEndAllowThreads(__tstate
);
28246 if (PyErr_Occurred()) SWIG_fail
;
28248 resultobj
= SWIG_Py_Void();
28255 SWIGINTERN PyObject
*_wrap_Printout_MapScreenSizeToPageMargins(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28256 PyObject
*resultobj
= 0;
28257 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
28258 wxPageSetupDialogData
*arg2
= 0 ;
28263 PyObject
* obj0
= 0 ;
28264 PyObject
* obj1
= 0 ;
28265 char * kwnames
[] = {
28266 (char *) "self",(char *) "pageSetupData", NULL
28269 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Printout_MapScreenSizeToPageMargins",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28270 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
28271 if (!SWIG_IsOK(res1
)) {
28272 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_MapScreenSizeToPageMargins" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28274 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
28275 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0);
28276 if (!SWIG_IsOK(res2
)) {
28277 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Printout_MapScreenSizeToPageMargins" "', expected argument " "2"" of type '" "wxPageSetupDialogData const &""'");
28280 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Printout_MapScreenSizeToPageMargins" "', expected argument " "2"" of type '" "wxPageSetupDialogData const &""'");
28282 arg2
= reinterpret_cast< wxPageSetupDialogData
* >(argp2
);
28284 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28285 (arg1
)->MapScreenSizeToPageMargins((wxPageSetupDialogData
const &)*arg2
);
28286 wxPyEndAllowThreads(__tstate
);
28287 if (PyErr_Occurred()) SWIG_fail
;
28289 resultobj
= SWIG_Py_Void();
28296 SWIGINTERN PyObject
*_wrap_Printout_MapScreenSizeToDevice(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28297 PyObject
*resultobj
= 0;
28298 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
28301 PyObject
*swig_obj
[1] ;
28303 if (!args
) SWIG_fail
;
28304 swig_obj
[0] = args
;
28305 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
28306 if (!SWIG_IsOK(res1
)) {
28307 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_MapScreenSizeToDevice" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28309 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
28311 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28312 (arg1
)->MapScreenSizeToDevice();
28313 wxPyEndAllowThreads(__tstate
);
28314 if (PyErr_Occurred()) SWIG_fail
;
28316 resultobj
= SWIG_Py_Void();
28323 SWIGINTERN PyObject
*_wrap_Printout_GetLogicalPaperRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28324 PyObject
*resultobj
= 0;
28325 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
28329 PyObject
*swig_obj
[1] ;
28331 if (!args
) SWIG_fail
;
28332 swig_obj
[0] = args
;
28333 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
28334 if (!SWIG_IsOK(res1
)) {
28335 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_GetLogicalPaperRect" "', expected argument " "1"" of type '" "wxPyPrintout const *""'");
28337 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
28339 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28340 result
= ((wxPyPrintout
const *)arg1
)->GetLogicalPaperRect();
28341 wxPyEndAllowThreads(__tstate
);
28342 if (PyErr_Occurred()) SWIG_fail
;
28344 resultobj
= SWIG_NewPointerObj((new wxRect(static_cast< const wxRect
& >(result
))), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN
| 0 );
28351 SWIGINTERN PyObject
*_wrap_Printout_GetLogicalPageRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28352 PyObject
*resultobj
= 0;
28353 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
28357 PyObject
*swig_obj
[1] ;
28359 if (!args
) SWIG_fail
;
28360 swig_obj
[0] = args
;
28361 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
28362 if (!SWIG_IsOK(res1
)) {
28363 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_GetLogicalPageRect" "', expected argument " "1"" of type '" "wxPyPrintout const *""'");
28365 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
28367 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28368 result
= ((wxPyPrintout
const *)arg1
)->GetLogicalPageRect();
28369 wxPyEndAllowThreads(__tstate
);
28370 if (PyErr_Occurred()) SWIG_fail
;
28372 resultobj
= SWIG_NewPointerObj((new wxRect(static_cast< const wxRect
& >(result
))), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN
| 0 );
28379 SWIGINTERN PyObject
*_wrap_Printout_GetLogicalPageMarginsRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28380 PyObject
*resultobj
= 0;
28381 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
28382 wxPageSetupDialogData
*arg2
= 0 ;
28388 PyObject
* obj0
= 0 ;
28389 PyObject
* obj1
= 0 ;
28390 char * kwnames
[] = {
28391 (char *) "self",(char *) "pageSetupData", NULL
28394 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Printout_GetLogicalPageMarginsRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28395 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
28396 if (!SWIG_IsOK(res1
)) {
28397 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_GetLogicalPageMarginsRect" "', expected argument " "1"" of type '" "wxPyPrintout const *""'");
28399 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
28400 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0);
28401 if (!SWIG_IsOK(res2
)) {
28402 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Printout_GetLogicalPageMarginsRect" "', expected argument " "2"" of type '" "wxPageSetupDialogData const &""'");
28405 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Printout_GetLogicalPageMarginsRect" "', expected argument " "2"" of type '" "wxPageSetupDialogData const &""'");
28407 arg2
= reinterpret_cast< wxPageSetupDialogData
* >(argp2
);
28409 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28410 result
= ((wxPyPrintout
const *)arg1
)->GetLogicalPageMarginsRect((wxPageSetupDialogData
const &)*arg2
);
28411 wxPyEndAllowThreads(__tstate
);
28412 if (PyErr_Occurred()) SWIG_fail
;
28414 resultobj
= SWIG_NewPointerObj((new wxRect(static_cast< const wxRect
& >(result
))), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN
| 0 );
28421 SWIGINTERN PyObject
*_wrap_Printout_SetLogicalOrigin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28422 PyObject
*resultobj
= 0;
28423 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
28432 PyObject
* obj0
= 0 ;
28433 PyObject
* obj1
= 0 ;
28434 PyObject
* obj2
= 0 ;
28435 char * kwnames
[] = {
28436 (char *) "self",(char *) "x",(char *) "y", NULL
28439 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Printout_SetLogicalOrigin",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
28440 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
28441 if (!SWIG_IsOK(res1
)) {
28442 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_SetLogicalOrigin" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28444 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
28445 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
28446 if (!SWIG_IsOK(ecode2
)) {
28447 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Printout_SetLogicalOrigin" "', expected argument " "2"" of type '" "int""'");
28449 arg2
= static_cast< int >(val2
);
28450 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
28451 if (!SWIG_IsOK(ecode3
)) {
28452 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Printout_SetLogicalOrigin" "', expected argument " "3"" of type '" "int""'");
28454 arg3
= static_cast< int >(val3
);
28456 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28457 (arg1
)->SetLogicalOrigin(arg2
,arg3
);
28458 wxPyEndAllowThreads(__tstate
);
28459 if (PyErr_Occurred()) SWIG_fail
;
28461 resultobj
= SWIG_Py_Void();
28468 SWIGINTERN PyObject
*_wrap_Printout_OffsetLogicalOrigin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28469 PyObject
*resultobj
= 0;
28470 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
28479 PyObject
* obj0
= 0 ;
28480 PyObject
* obj1
= 0 ;
28481 PyObject
* obj2
= 0 ;
28482 char * kwnames
[] = {
28483 (char *) "self",(char *) "xoff",(char *) "yoff", NULL
28486 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Printout_OffsetLogicalOrigin",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
28487 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
28488 if (!SWIG_IsOK(res1
)) {
28489 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_OffsetLogicalOrigin" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28491 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
28492 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
28493 if (!SWIG_IsOK(ecode2
)) {
28494 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Printout_OffsetLogicalOrigin" "', expected argument " "2"" of type '" "int""'");
28496 arg2
= static_cast< int >(val2
);
28497 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
28498 if (!SWIG_IsOK(ecode3
)) {
28499 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Printout_OffsetLogicalOrigin" "', expected argument " "3"" of type '" "int""'");
28501 arg3
= static_cast< int >(val3
);
28503 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28504 (arg1
)->OffsetLogicalOrigin(arg2
,arg3
);
28505 wxPyEndAllowThreads(__tstate
);
28506 if (PyErr_Occurred()) SWIG_fail
;
28508 resultobj
= SWIG_Py_Void();
28515 SWIGINTERN PyObject
*_wrap_Printout_SetPageSizePixels(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28516 PyObject
*resultobj
= 0;
28517 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
28526 PyObject
* obj0
= 0 ;
28527 PyObject
* obj1
= 0 ;
28528 PyObject
* obj2
= 0 ;
28529 char * kwnames
[] = {
28530 (char *) "self",(char *) "w",(char *) "h", NULL
28533 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Printout_SetPageSizePixels",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
28534 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
28535 if (!SWIG_IsOK(res1
)) {
28536 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_SetPageSizePixels" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28538 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
28539 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
28540 if (!SWIG_IsOK(ecode2
)) {
28541 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Printout_SetPageSizePixels" "', expected argument " "2"" of type '" "int""'");
28543 arg2
= static_cast< int >(val2
);
28544 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
28545 if (!SWIG_IsOK(ecode3
)) {
28546 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Printout_SetPageSizePixels" "', expected argument " "3"" of type '" "int""'");
28548 arg3
= static_cast< int >(val3
);
28550 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28551 (arg1
)->SetPageSizePixels(arg2
,arg3
);
28552 wxPyEndAllowThreads(__tstate
);
28553 if (PyErr_Occurred()) SWIG_fail
;
28555 resultobj
= SWIG_Py_Void();
28562 SWIGINTERN PyObject
*_wrap_Printout_GetPageSizePixels(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28563 PyObject
*resultobj
= 0;
28564 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
28565 int *arg2
= (int *) 0 ;
28566 int *arg3
= (int *) 0 ;
28570 int res2
= SWIG_TMPOBJ
;
28572 int res3
= SWIG_TMPOBJ
;
28573 PyObject
*swig_obj
[1] ;
28577 if (!args
) SWIG_fail
;
28578 swig_obj
[0] = args
;
28579 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
28580 if (!SWIG_IsOK(res1
)) {
28581 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_GetPageSizePixels" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28583 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
28585 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28586 (arg1
)->GetPageSizePixels(arg2
,arg3
);
28587 wxPyEndAllowThreads(__tstate
);
28588 if (PyErr_Occurred()) SWIG_fail
;
28590 resultobj
= SWIG_Py_Void();
28591 if (SWIG_IsTmpObj(res2
)) {
28592 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
28594 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
28595 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
28597 if (SWIG_IsTmpObj(res3
)) {
28598 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
28600 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
28601 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
28609 SWIGINTERN PyObject
*_wrap_Printout_SetPageSizeMM(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28610 PyObject
*resultobj
= 0;
28611 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
28620 PyObject
* obj0
= 0 ;
28621 PyObject
* obj1
= 0 ;
28622 PyObject
* obj2
= 0 ;
28623 char * kwnames
[] = {
28624 (char *) "self",(char *) "w",(char *) "h", NULL
28627 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Printout_SetPageSizeMM",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
28628 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
28629 if (!SWIG_IsOK(res1
)) {
28630 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_SetPageSizeMM" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28632 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
28633 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
28634 if (!SWIG_IsOK(ecode2
)) {
28635 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Printout_SetPageSizeMM" "', expected argument " "2"" of type '" "int""'");
28637 arg2
= static_cast< int >(val2
);
28638 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
28639 if (!SWIG_IsOK(ecode3
)) {
28640 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Printout_SetPageSizeMM" "', expected argument " "3"" of type '" "int""'");
28642 arg3
= static_cast< int >(val3
);
28644 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28645 (arg1
)->SetPageSizeMM(arg2
,arg3
);
28646 wxPyEndAllowThreads(__tstate
);
28647 if (PyErr_Occurred()) SWIG_fail
;
28649 resultobj
= SWIG_Py_Void();
28656 SWIGINTERN PyObject
*_wrap_Printout_GetPageSizeMM(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28657 PyObject
*resultobj
= 0;
28658 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
28659 int *arg2
= (int *) 0 ;
28660 int *arg3
= (int *) 0 ;
28664 int res2
= SWIG_TMPOBJ
;
28666 int res3
= SWIG_TMPOBJ
;
28667 PyObject
*swig_obj
[1] ;
28671 if (!args
) SWIG_fail
;
28672 swig_obj
[0] = args
;
28673 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
28674 if (!SWIG_IsOK(res1
)) {
28675 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_GetPageSizeMM" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28677 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
28679 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28680 (arg1
)->GetPageSizeMM(arg2
,arg3
);
28681 wxPyEndAllowThreads(__tstate
);
28682 if (PyErr_Occurred()) SWIG_fail
;
28684 resultobj
= SWIG_Py_Void();
28685 if (SWIG_IsTmpObj(res2
)) {
28686 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
28688 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
28689 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
28691 if (SWIG_IsTmpObj(res3
)) {
28692 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
28694 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
28695 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
28703 SWIGINTERN PyObject
*_wrap_Printout_SetPPIScreen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28704 PyObject
*resultobj
= 0;
28705 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
28714 PyObject
* obj0
= 0 ;
28715 PyObject
* obj1
= 0 ;
28716 PyObject
* obj2
= 0 ;
28717 char * kwnames
[] = {
28718 (char *) "self",(char *) "x",(char *) "y", NULL
28721 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Printout_SetPPIScreen",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
28722 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
28723 if (!SWIG_IsOK(res1
)) {
28724 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_SetPPIScreen" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28726 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
28727 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
28728 if (!SWIG_IsOK(ecode2
)) {
28729 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Printout_SetPPIScreen" "', expected argument " "2"" of type '" "int""'");
28731 arg2
= static_cast< int >(val2
);
28732 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
28733 if (!SWIG_IsOK(ecode3
)) {
28734 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Printout_SetPPIScreen" "', expected argument " "3"" of type '" "int""'");
28736 arg3
= static_cast< int >(val3
);
28738 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28739 (arg1
)->SetPPIScreen(arg2
,arg3
);
28740 wxPyEndAllowThreads(__tstate
);
28741 if (PyErr_Occurred()) SWIG_fail
;
28743 resultobj
= SWIG_Py_Void();
28750 SWIGINTERN PyObject
*_wrap_Printout_GetPPIScreen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28751 PyObject
*resultobj
= 0;
28752 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
28753 int *arg2
= (int *) 0 ;
28754 int *arg3
= (int *) 0 ;
28758 int res2
= SWIG_TMPOBJ
;
28760 int res3
= SWIG_TMPOBJ
;
28761 PyObject
*swig_obj
[1] ;
28765 if (!args
) SWIG_fail
;
28766 swig_obj
[0] = args
;
28767 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
28768 if (!SWIG_IsOK(res1
)) {
28769 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_GetPPIScreen" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28771 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
28773 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28774 (arg1
)->GetPPIScreen(arg2
,arg3
);
28775 wxPyEndAllowThreads(__tstate
);
28776 if (PyErr_Occurred()) SWIG_fail
;
28778 resultobj
= SWIG_Py_Void();
28779 if (SWIG_IsTmpObj(res2
)) {
28780 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
28782 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
28783 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
28785 if (SWIG_IsTmpObj(res3
)) {
28786 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
28788 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
28789 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
28797 SWIGINTERN PyObject
*_wrap_Printout_SetPPIPrinter(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28798 PyObject
*resultobj
= 0;
28799 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
28808 PyObject
* obj0
= 0 ;
28809 PyObject
* obj1
= 0 ;
28810 PyObject
* obj2
= 0 ;
28811 char * kwnames
[] = {
28812 (char *) "self",(char *) "x",(char *) "y", NULL
28815 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Printout_SetPPIPrinter",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
28816 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
28817 if (!SWIG_IsOK(res1
)) {
28818 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_SetPPIPrinter" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28820 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
28821 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
28822 if (!SWIG_IsOK(ecode2
)) {
28823 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Printout_SetPPIPrinter" "', expected argument " "2"" of type '" "int""'");
28825 arg2
= static_cast< int >(val2
);
28826 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
28827 if (!SWIG_IsOK(ecode3
)) {
28828 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Printout_SetPPIPrinter" "', expected argument " "3"" of type '" "int""'");
28830 arg3
= static_cast< int >(val3
);
28832 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28833 (arg1
)->SetPPIPrinter(arg2
,arg3
);
28834 wxPyEndAllowThreads(__tstate
);
28835 if (PyErr_Occurred()) SWIG_fail
;
28837 resultobj
= SWIG_Py_Void();
28844 SWIGINTERN PyObject
*_wrap_Printout_GetPPIPrinter(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28845 PyObject
*resultobj
= 0;
28846 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
28847 int *arg2
= (int *) 0 ;
28848 int *arg3
= (int *) 0 ;
28852 int res2
= SWIG_TMPOBJ
;
28854 int res3
= SWIG_TMPOBJ
;
28855 PyObject
*swig_obj
[1] ;
28859 if (!args
) SWIG_fail
;
28860 swig_obj
[0] = args
;
28861 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
28862 if (!SWIG_IsOK(res1
)) {
28863 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_GetPPIPrinter" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28865 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
28867 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28868 (arg1
)->GetPPIPrinter(arg2
,arg3
);
28869 wxPyEndAllowThreads(__tstate
);
28870 if (PyErr_Occurred()) SWIG_fail
;
28872 resultobj
= SWIG_Py_Void();
28873 if (SWIG_IsTmpObj(res2
)) {
28874 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
28876 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
28877 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
28879 if (SWIG_IsTmpObj(res3
)) {
28880 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
28882 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
28883 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
28891 SWIGINTERN PyObject
*_wrap_Printout_SetPaperRectPixels(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28892 PyObject
*resultobj
= 0;
28893 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
28898 PyObject
* obj0
= 0 ;
28899 PyObject
* obj1
= 0 ;
28900 char * kwnames
[] = {
28901 (char *) "self",(char *) "paperRectPixels", NULL
28904 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Printout_SetPaperRectPixels",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28905 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
28906 if (!SWIG_IsOK(res1
)) {
28907 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_SetPaperRectPixels" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28909 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
28912 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
28915 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28916 (arg1
)->SetPaperRectPixels((wxRect
const &)*arg2
);
28917 wxPyEndAllowThreads(__tstate
);
28918 if (PyErr_Occurred()) SWIG_fail
;
28920 resultobj
= SWIG_Py_Void();
28927 SWIGINTERN PyObject
*_wrap_Printout_GetPaperRectPixels(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28928 PyObject
*resultobj
= 0;
28929 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
28933 PyObject
*swig_obj
[1] ;
28935 if (!args
) SWIG_fail
;
28936 swig_obj
[0] = args
;
28937 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
28938 if (!SWIG_IsOK(res1
)) {
28939 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_GetPaperRectPixels" "', expected argument " "1"" of type '" "wxPyPrintout const *""'");
28941 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
28943 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28944 result
= ((wxPyPrintout
const *)arg1
)->GetPaperRectPixels();
28945 wxPyEndAllowThreads(__tstate
);
28946 if (PyErr_Occurred()) SWIG_fail
;
28948 resultobj
= SWIG_NewPointerObj((new wxRect(static_cast< const wxRect
& >(result
))), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN
| 0 );
28955 SWIGINTERN PyObject
*_wrap_Printout_IsPreview(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28956 PyObject
*resultobj
= 0;
28957 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
28961 PyObject
*swig_obj
[1] ;
28963 if (!args
) SWIG_fail
;
28964 swig_obj
[0] = args
;
28965 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
28966 if (!SWIG_IsOK(res1
)) {
28967 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_IsPreview" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28969 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
28971 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28972 result
= (bool)(arg1
)->IsPreview();
28973 wxPyEndAllowThreads(__tstate
);
28974 if (PyErr_Occurred()) SWIG_fail
;
28977 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28985 SWIGINTERN PyObject
*_wrap_Printout_SetIsPreview(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28986 PyObject
*resultobj
= 0;
28987 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
28993 PyObject
* obj0
= 0 ;
28994 PyObject
* obj1
= 0 ;
28995 char * kwnames
[] = {
28996 (char *) "self",(char *) "p", NULL
28999 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Printout_SetIsPreview",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29000 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
29001 if (!SWIG_IsOK(res1
)) {
29002 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_SetIsPreview" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
29004 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
29005 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
29006 if (!SWIG_IsOK(ecode2
)) {
29007 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Printout_SetIsPreview" "', expected argument " "2"" of type '" "bool""'");
29009 arg2
= static_cast< bool >(val2
);
29011 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29012 (arg1
)->SetIsPreview(arg2
);
29013 wxPyEndAllowThreads(__tstate
);
29014 if (PyErr_Occurred()) SWIG_fail
;
29016 resultobj
= SWIG_Py_Void();
29023 SWIGINTERN PyObject
*_wrap_Printout_OnBeginDocument(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29024 PyObject
*resultobj
= 0;
29025 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
29035 PyObject
* obj0
= 0 ;
29036 PyObject
* obj1
= 0 ;
29037 PyObject
* obj2
= 0 ;
29038 char * kwnames
[] = {
29039 (char *) "self",(char *) "startPage",(char *) "endPage", NULL
29042 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Printout_OnBeginDocument",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
29043 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
29044 if (!SWIG_IsOK(res1
)) {
29045 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_OnBeginDocument" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
29047 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
29048 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
29049 if (!SWIG_IsOK(ecode2
)) {
29050 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Printout_OnBeginDocument" "', expected argument " "2"" of type '" "int""'");
29052 arg2
= static_cast< int >(val2
);
29053 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
29054 if (!SWIG_IsOK(ecode3
)) {
29055 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Printout_OnBeginDocument" "', expected argument " "3"" of type '" "int""'");
29057 arg3
= static_cast< int >(val3
);
29059 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29060 result
= (bool)(arg1
)->OnBeginDocument(arg2
,arg3
);
29061 wxPyEndAllowThreads(__tstate
);
29062 if (PyErr_Occurred()) SWIG_fail
;
29065 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29073 SWIGINTERN PyObject
*_wrap_Printout_OnEndDocument(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29074 PyObject
*resultobj
= 0;
29075 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
29078 PyObject
*swig_obj
[1] ;
29080 if (!args
) SWIG_fail
;
29081 swig_obj
[0] = args
;
29082 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
29083 if (!SWIG_IsOK(res1
)) {
29084 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_OnEndDocument" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
29086 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
29088 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29089 (arg1
)->OnEndDocument();
29090 wxPyEndAllowThreads(__tstate
);
29091 if (PyErr_Occurred()) SWIG_fail
;
29093 resultobj
= SWIG_Py_Void();
29100 SWIGINTERN PyObject
*_wrap_Printout_OnBeginPrinting(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29101 PyObject
*resultobj
= 0;
29102 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
29105 PyObject
*swig_obj
[1] ;
29107 if (!args
) SWIG_fail
;
29108 swig_obj
[0] = args
;
29109 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
29110 if (!SWIG_IsOK(res1
)) {
29111 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_OnBeginPrinting" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
29113 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
29115 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29116 (arg1
)->OnBeginPrinting();
29117 wxPyEndAllowThreads(__tstate
);
29118 if (PyErr_Occurred()) SWIG_fail
;
29120 resultobj
= SWIG_Py_Void();
29127 SWIGINTERN PyObject
*_wrap_Printout_OnEndPrinting(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29128 PyObject
*resultobj
= 0;
29129 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
29132 PyObject
*swig_obj
[1] ;
29134 if (!args
) SWIG_fail
;
29135 swig_obj
[0] = args
;
29136 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
29137 if (!SWIG_IsOK(res1
)) {
29138 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_OnEndPrinting" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
29140 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
29142 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29143 (arg1
)->OnEndPrinting();
29144 wxPyEndAllowThreads(__tstate
);
29145 if (PyErr_Occurred()) SWIG_fail
;
29147 resultobj
= SWIG_Py_Void();
29154 SWIGINTERN PyObject
*_wrap_Printout_OnPreparePrinting(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29155 PyObject
*resultobj
= 0;
29156 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
29159 PyObject
*swig_obj
[1] ;
29161 if (!args
) SWIG_fail
;
29162 swig_obj
[0] = args
;
29163 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
29164 if (!SWIG_IsOK(res1
)) {
29165 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_OnPreparePrinting" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
29167 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
29169 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29170 (arg1
)->OnPreparePrinting();
29171 wxPyEndAllowThreads(__tstate
);
29172 if (PyErr_Occurred()) SWIG_fail
;
29174 resultobj
= SWIG_Py_Void();
29181 SWIGINTERN PyObject
*_wrap_Printout_HasPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29182 PyObject
*resultobj
= 0;
29183 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
29190 PyObject
* obj0
= 0 ;
29191 PyObject
* obj1
= 0 ;
29192 char * kwnames
[] = {
29193 (char *) "self",(char *) "page", NULL
29196 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Printout_HasPage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29197 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
29198 if (!SWIG_IsOK(res1
)) {
29199 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_HasPage" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
29201 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
29202 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
29203 if (!SWIG_IsOK(ecode2
)) {
29204 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Printout_HasPage" "', expected argument " "2"" of type '" "int""'");
29206 arg2
= static_cast< int >(val2
);
29208 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29209 result
= (bool)(arg1
)->HasPage(arg2
);
29210 wxPyEndAllowThreads(__tstate
);
29211 if (PyErr_Occurred()) SWIG_fail
;
29214 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29222 SWIGINTERN PyObject
*_wrap_Printout_GetPageInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29223 PyObject
*resultobj
= 0;
29224 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
29225 int *arg2
= (int *) 0 ;
29226 int *arg3
= (int *) 0 ;
29227 int *arg4
= (int *) 0 ;
29228 int *arg5
= (int *) 0 ;
29232 int res2
= SWIG_TMPOBJ
;
29234 int res3
= SWIG_TMPOBJ
;
29236 int res4
= SWIG_TMPOBJ
;
29238 int res5
= SWIG_TMPOBJ
;
29239 PyObject
*swig_obj
[1] ;
29245 if (!args
) SWIG_fail
;
29246 swig_obj
[0] = args
;
29247 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
29248 if (!SWIG_IsOK(res1
)) {
29249 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_GetPageInfo" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
29251 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
29253 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29254 (arg1
)->GetPageInfo(arg2
,arg3
,arg4
,arg5
);
29255 wxPyEndAllowThreads(__tstate
);
29256 if (PyErr_Occurred()) SWIG_fail
;
29258 resultobj
= SWIG_Py_Void();
29259 if (SWIG_IsTmpObj(res2
)) {
29260 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
29262 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
29263 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
29265 if (SWIG_IsTmpObj(res3
)) {
29266 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
29268 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
29269 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
29271 if (SWIG_IsTmpObj(res4
)) {
29272 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg4
)));
29274 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
29275 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, new_flags
));
29277 if (SWIG_IsTmpObj(res5
)) {
29278 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg5
)));
29280 int new_flags
= SWIG_IsNewObj(res5
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
29281 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg5
), SWIGTYPE_p_int
, new_flags
));
29289 SWIGINTERN PyObject
*Printout_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29291 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
29292 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyPrintout
, SWIG_NewClientData(obj
));
29293 return SWIG_Py_Void();
29296 SWIGINTERN PyObject
*Printout_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29297 return SWIG_Python_InitShadowInstance(args
);
29300 SWIGINTERN PyObject
*_wrap_new_PreviewCanvas(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29301 PyObject
*resultobj
= 0;
29302 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
29303 wxWindow
*arg2
= (wxWindow
*) 0 ;
29304 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
29305 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
29306 wxSize
const &arg4_defvalue
= wxDefaultSize
;
29307 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
29308 long arg5
= (long) 0 ;
29309 wxString
const &arg6_defvalue
= wxPyPreviewCanvasNameStr
;
29310 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
29311 wxPreviewCanvas
*result
= 0 ;
29320 bool temp6
= false ;
29321 PyObject
* obj0
= 0 ;
29322 PyObject
* obj1
= 0 ;
29323 PyObject
* obj2
= 0 ;
29324 PyObject
* obj3
= 0 ;
29325 PyObject
* obj4
= 0 ;
29326 PyObject
* obj5
= 0 ;
29327 char * kwnames
[] = {
29328 (char *) "preview",(char *) "parent",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
29331 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:new_PreviewCanvas",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
29332 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
29333 if (!SWIG_IsOK(res1
)) {
29334 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PreviewCanvas" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29336 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
29337 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
29338 if (!SWIG_IsOK(res2
)) {
29339 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_PreviewCanvas" "', expected argument " "2"" of type '" "wxWindow *""'");
29341 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
29345 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
29351 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
29355 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
29356 if (!SWIG_IsOK(ecode5
)) {
29357 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_PreviewCanvas" "', expected argument " "5"" of type '" "long""'");
29359 arg5
= static_cast< long >(val5
);
29363 arg6
= wxString_in_helper(obj5
);
29364 if (arg6
== NULL
) SWIG_fail
;
29369 if (!wxPyCheckForApp()) SWIG_fail
;
29370 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29371 result
= (wxPreviewCanvas
*)new wxPreviewCanvas(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
29372 wxPyEndAllowThreads(__tstate
);
29373 if (PyErr_Occurred()) SWIG_fail
;
29375 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPreviewCanvas
, SWIG_POINTER_NEW
| 0 );
29390 SWIGINTERN PyObject
*PreviewCanvas_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29392 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
29393 SWIG_TypeNewClientData(SWIGTYPE_p_wxPreviewCanvas
, SWIG_NewClientData(obj
));
29394 return SWIG_Py_Void();
29397 SWIGINTERN PyObject
*PreviewCanvas_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29398 return SWIG_Python_InitShadowInstance(args
);
29401 SWIGINTERN PyObject
*_wrap_new_PreviewFrame(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29402 PyObject
*resultobj
= 0;
29403 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
29404 wxFrame
*arg2
= (wxFrame
*) 0 ;
29405 wxString
*arg3
= 0 ;
29406 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
29407 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
29408 wxSize
const &arg5_defvalue
= wxDefaultSize
;
29409 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
29410 long arg6
= (long) wxDEFAULT_FRAME_STYLE
;
29411 wxString
const &arg7_defvalue
= wxPyFrameNameStr
;
29412 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
29413 wxPreviewFrame
*result
= 0 ;
29417 bool temp3
= false ;
29422 bool temp7
= false ;
29423 PyObject
* obj0
= 0 ;
29424 PyObject
* obj1
= 0 ;
29425 PyObject
* obj2
= 0 ;
29426 PyObject
* obj3
= 0 ;
29427 PyObject
* obj4
= 0 ;
29428 PyObject
* obj5
= 0 ;
29429 PyObject
* obj6
= 0 ;
29430 char * kwnames
[] = {
29431 (char *) "preview",(char *) "parent",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
29434 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:new_PreviewFrame",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
29435 res1
= SWIG_ConvertPtr(obj0
, SWIG_as_voidptrptr(&arg1
), SWIGTYPE_p_wxPrintPreview
, SWIG_POINTER_DISOWN
| 0 );
29436 if (!SWIG_IsOK(res1
)) {
29437 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PreviewFrame" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29439 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxFrame
, 0 | 0 );
29440 if (!SWIG_IsOK(res2
)) {
29441 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_PreviewFrame" "', expected argument " "2"" of type '" "wxFrame *""'");
29443 arg2
= reinterpret_cast< wxFrame
* >(argp2
);
29445 arg3
= wxString_in_helper(obj2
);
29446 if (arg3
== NULL
) SWIG_fail
;
29452 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
29458 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
29462 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
29463 if (!SWIG_IsOK(ecode6
)) {
29464 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_PreviewFrame" "', expected argument " "6"" of type '" "long""'");
29466 arg6
= static_cast< long >(val6
);
29470 arg7
= wxString_in_helper(obj6
);
29471 if (arg7
== NULL
) SWIG_fail
;
29476 if (!wxPyCheckForApp()) SWIG_fail
;
29477 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29478 result
= (wxPreviewFrame
*)new wxPreviewFrame(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
29479 wxPyEndAllowThreads(__tstate
);
29480 if (PyErr_Occurred()) SWIG_fail
;
29482 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPreviewFrame
, SWIG_POINTER_NEW
| 0 );
29505 SWIGINTERN PyObject
*_wrap_PreviewFrame_Initialize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29506 PyObject
*resultobj
= 0;
29507 wxPreviewFrame
*arg1
= (wxPreviewFrame
*) 0 ;
29510 PyObject
*swig_obj
[1] ;
29512 if (!args
) SWIG_fail
;
29513 swig_obj
[0] = args
;
29514 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPreviewFrame
, 0 | 0 );
29515 if (!SWIG_IsOK(res1
)) {
29516 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PreviewFrame_Initialize" "', expected argument " "1"" of type '" "wxPreviewFrame *""'");
29518 arg1
= reinterpret_cast< wxPreviewFrame
* >(argp1
);
29520 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29521 (arg1
)->Initialize();
29522 wxPyEndAllowThreads(__tstate
);
29523 if (PyErr_Occurred()) SWIG_fail
;
29525 resultobj
= SWIG_Py_Void();
29532 SWIGINTERN PyObject
*_wrap_PreviewFrame_CreateControlBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29533 PyObject
*resultobj
= 0;
29534 wxPreviewFrame
*arg1
= (wxPreviewFrame
*) 0 ;
29537 PyObject
*swig_obj
[1] ;
29539 if (!args
) SWIG_fail
;
29540 swig_obj
[0] = args
;
29541 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPreviewFrame
, 0 | 0 );
29542 if (!SWIG_IsOK(res1
)) {
29543 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PreviewFrame_CreateControlBar" "', expected argument " "1"" of type '" "wxPreviewFrame *""'");
29545 arg1
= reinterpret_cast< wxPreviewFrame
* >(argp1
);
29547 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29548 (arg1
)->CreateControlBar();
29549 wxPyEndAllowThreads(__tstate
);
29550 if (PyErr_Occurred()) SWIG_fail
;
29552 resultobj
= SWIG_Py_Void();
29559 SWIGINTERN PyObject
*_wrap_PreviewFrame_CreateCanvas(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29560 PyObject
*resultobj
= 0;
29561 wxPreviewFrame
*arg1
= (wxPreviewFrame
*) 0 ;
29564 PyObject
*swig_obj
[1] ;
29566 if (!args
) SWIG_fail
;
29567 swig_obj
[0] = args
;
29568 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPreviewFrame
, 0 | 0 );
29569 if (!SWIG_IsOK(res1
)) {
29570 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PreviewFrame_CreateCanvas" "', expected argument " "1"" of type '" "wxPreviewFrame *""'");
29572 arg1
= reinterpret_cast< wxPreviewFrame
* >(argp1
);
29574 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29575 (arg1
)->CreateCanvas();
29576 wxPyEndAllowThreads(__tstate
);
29577 if (PyErr_Occurred()) SWIG_fail
;
29579 resultobj
= SWIG_Py_Void();
29586 SWIGINTERN PyObject
*_wrap_PreviewFrame_GetControlBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29587 PyObject
*resultobj
= 0;
29588 wxPreviewFrame
*arg1
= (wxPreviewFrame
*) 0 ;
29589 wxPreviewControlBar
*result
= 0 ;
29592 PyObject
*swig_obj
[1] ;
29594 if (!args
) SWIG_fail
;
29595 swig_obj
[0] = args
;
29596 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPreviewFrame
, 0 | 0 );
29597 if (!SWIG_IsOK(res1
)) {
29598 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PreviewFrame_GetControlBar" "', expected argument " "1"" of type '" "wxPreviewFrame const *""'");
29600 arg1
= reinterpret_cast< wxPreviewFrame
* >(argp1
);
29602 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29603 result
= (wxPreviewControlBar
*)((wxPreviewFrame
const *)arg1
)->GetControlBar();
29604 wxPyEndAllowThreads(__tstate
);
29605 if (PyErr_Occurred()) SWIG_fail
;
29607 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPreviewControlBar
, 0 | 0 );
29614 SWIGINTERN PyObject
*PreviewFrame_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29616 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
29617 SWIG_TypeNewClientData(SWIGTYPE_p_wxPreviewFrame
, SWIG_NewClientData(obj
));
29618 return SWIG_Py_Void();
29621 SWIGINTERN PyObject
*PreviewFrame_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29622 return SWIG_Python_InitShadowInstance(args
);
29625 SWIGINTERN PyObject
*_wrap_new_PreviewControlBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29626 PyObject
*resultobj
= 0;
29627 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
29629 wxWindow
*arg3
= (wxWindow
*) 0 ;
29630 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
29631 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
29632 wxSize
const &arg5_defvalue
= wxDefaultSize
;
29633 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
29634 long arg6
= (long) wxTAB_TRAVERSAL
;
29635 wxString
const &arg7_defvalue
= wxPyPanelNameStr
;
29636 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
29637 wxPreviewControlBar
*result
= 0 ;
29648 bool temp7
= false ;
29649 PyObject
* obj0
= 0 ;
29650 PyObject
* obj1
= 0 ;
29651 PyObject
* obj2
= 0 ;
29652 PyObject
* obj3
= 0 ;
29653 PyObject
* obj4
= 0 ;
29654 PyObject
* obj5
= 0 ;
29655 PyObject
* obj6
= 0 ;
29656 char * kwnames
[] = {
29657 (char *) "preview",(char *) "buttons",(char *) "parent",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
29660 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:new_PreviewControlBar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
29661 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
29662 if (!SWIG_IsOK(res1
)) {
29663 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PreviewControlBar" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29665 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
29666 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
29667 if (!SWIG_IsOK(ecode2
)) {
29668 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_PreviewControlBar" "', expected argument " "2"" of type '" "long""'");
29670 arg2
= static_cast< long >(val2
);
29671 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxWindow
, 0 | 0 );
29672 if (!SWIG_IsOK(res3
)) {
29673 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "new_PreviewControlBar" "', expected argument " "3"" of type '" "wxWindow *""'");
29675 arg3
= reinterpret_cast< wxWindow
* >(argp3
);
29679 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
29685 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
29689 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
29690 if (!SWIG_IsOK(ecode6
)) {
29691 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_PreviewControlBar" "', expected argument " "6"" of type '" "long""'");
29693 arg6
= static_cast< long >(val6
);
29697 arg7
= wxString_in_helper(obj6
);
29698 if (arg7
== NULL
) SWIG_fail
;
29703 if (!wxPyCheckForApp()) SWIG_fail
;
29704 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29705 result
= (wxPreviewControlBar
*)new wxPreviewControlBar(arg1
,arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
29706 wxPyEndAllowThreads(__tstate
);
29707 if (PyErr_Occurred()) SWIG_fail
;
29709 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPreviewControlBar
, SWIG_POINTER_NEW
| 0 );
29724 SWIGINTERN PyObject
*_wrap_PreviewControlBar_GetZoomControl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29725 PyObject
*resultobj
= 0;
29726 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 0 ;
29730 PyObject
*swig_obj
[1] ;
29732 if (!args
) SWIG_fail
;
29733 swig_obj
[0] = args
;
29734 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPreviewControlBar
, 0 | 0 );
29735 if (!SWIG_IsOK(res1
)) {
29736 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PreviewControlBar_GetZoomControl" "', expected argument " "1"" of type '" "wxPreviewControlBar *""'");
29738 arg1
= reinterpret_cast< wxPreviewControlBar
* >(argp1
);
29740 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29741 result
= (int)(arg1
)->GetZoomControl();
29742 wxPyEndAllowThreads(__tstate
);
29743 if (PyErr_Occurred()) SWIG_fail
;
29745 resultobj
= SWIG_From_int(static_cast< int >(result
));
29752 SWIGINTERN PyObject
*_wrap_PreviewControlBar_SetZoomControl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29753 PyObject
*resultobj
= 0;
29754 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 0 ;
29760 PyObject
* obj0
= 0 ;
29761 PyObject
* obj1
= 0 ;
29762 char * kwnames
[] = {
29763 (char *) "self",(char *) "zoom", NULL
29766 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PreviewControlBar_SetZoomControl",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29767 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPreviewControlBar
, 0 | 0 );
29768 if (!SWIG_IsOK(res1
)) {
29769 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PreviewControlBar_SetZoomControl" "', expected argument " "1"" of type '" "wxPreviewControlBar *""'");
29771 arg1
= reinterpret_cast< wxPreviewControlBar
* >(argp1
);
29772 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
29773 if (!SWIG_IsOK(ecode2
)) {
29774 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PreviewControlBar_SetZoomControl" "', expected argument " "2"" of type '" "int""'");
29776 arg2
= static_cast< int >(val2
);
29778 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29779 (arg1
)->SetZoomControl(arg2
);
29780 wxPyEndAllowThreads(__tstate
);
29781 if (PyErr_Occurred()) SWIG_fail
;
29783 resultobj
= SWIG_Py_Void();
29790 SWIGINTERN PyObject
*_wrap_PreviewControlBar_GetPrintPreview(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29791 PyObject
*resultobj
= 0;
29792 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 0 ;
29793 wxPrintPreview
*result
= 0 ;
29796 PyObject
*swig_obj
[1] ;
29798 if (!args
) SWIG_fail
;
29799 swig_obj
[0] = args
;
29800 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPreviewControlBar
, 0 | 0 );
29801 if (!SWIG_IsOK(res1
)) {
29802 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PreviewControlBar_GetPrintPreview" "', expected argument " "1"" of type '" "wxPreviewControlBar *""'");
29804 arg1
= reinterpret_cast< wxPreviewControlBar
* >(argp1
);
29806 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29807 result
= (wxPrintPreview
*)(arg1
)->GetPrintPreview();
29808 wxPyEndAllowThreads(__tstate
);
29809 if (PyErr_Occurred()) SWIG_fail
;
29811 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
29818 SWIGINTERN PyObject
*_wrap_PreviewControlBar_OnNext(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29819 PyObject
*resultobj
= 0;
29820 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 0 ;
29823 PyObject
*swig_obj
[1] ;
29825 if (!args
) SWIG_fail
;
29826 swig_obj
[0] = args
;
29827 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPreviewControlBar
, 0 | 0 );
29828 if (!SWIG_IsOK(res1
)) {
29829 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PreviewControlBar_OnNext" "', expected argument " "1"" of type '" "wxPreviewControlBar *""'");
29831 arg1
= reinterpret_cast< wxPreviewControlBar
* >(argp1
);
29833 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29835 wxPyEndAllowThreads(__tstate
);
29836 if (PyErr_Occurred()) SWIG_fail
;
29838 resultobj
= SWIG_Py_Void();
29845 SWIGINTERN PyObject
*_wrap_PreviewControlBar_OnPrevious(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29846 PyObject
*resultobj
= 0;
29847 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 0 ;
29850 PyObject
*swig_obj
[1] ;
29852 if (!args
) SWIG_fail
;
29853 swig_obj
[0] = args
;
29854 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPreviewControlBar
, 0 | 0 );
29855 if (!SWIG_IsOK(res1
)) {
29856 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PreviewControlBar_OnPrevious" "', expected argument " "1"" of type '" "wxPreviewControlBar *""'");
29858 arg1
= reinterpret_cast< wxPreviewControlBar
* >(argp1
);
29860 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29861 (arg1
)->OnPrevious();
29862 wxPyEndAllowThreads(__tstate
);
29863 if (PyErr_Occurred()) SWIG_fail
;
29865 resultobj
= SWIG_Py_Void();
29872 SWIGINTERN PyObject
*_wrap_PreviewControlBar_OnFirst(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29873 PyObject
*resultobj
= 0;
29874 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 0 ;
29877 PyObject
*swig_obj
[1] ;
29879 if (!args
) SWIG_fail
;
29880 swig_obj
[0] = args
;
29881 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPreviewControlBar
, 0 | 0 );
29882 if (!SWIG_IsOK(res1
)) {
29883 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PreviewControlBar_OnFirst" "', expected argument " "1"" of type '" "wxPreviewControlBar *""'");
29885 arg1
= reinterpret_cast< wxPreviewControlBar
* >(argp1
);
29887 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29889 wxPyEndAllowThreads(__tstate
);
29890 if (PyErr_Occurred()) SWIG_fail
;
29892 resultobj
= SWIG_Py_Void();
29899 SWIGINTERN PyObject
*_wrap_PreviewControlBar_OnLast(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29900 PyObject
*resultobj
= 0;
29901 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 0 ;
29904 PyObject
*swig_obj
[1] ;
29906 if (!args
) SWIG_fail
;
29907 swig_obj
[0] = args
;
29908 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPreviewControlBar
, 0 | 0 );
29909 if (!SWIG_IsOK(res1
)) {
29910 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PreviewControlBar_OnLast" "', expected argument " "1"" of type '" "wxPreviewControlBar *""'");
29912 arg1
= reinterpret_cast< wxPreviewControlBar
* >(argp1
);
29914 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29916 wxPyEndAllowThreads(__tstate
);
29917 if (PyErr_Occurred()) SWIG_fail
;
29919 resultobj
= SWIG_Py_Void();
29926 SWIGINTERN PyObject
*_wrap_PreviewControlBar_OnGoto(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29927 PyObject
*resultobj
= 0;
29928 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 0 ;
29931 PyObject
*swig_obj
[1] ;
29933 if (!args
) SWIG_fail
;
29934 swig_obj
[0] = args
;
29935 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPreviewControlBar
, 0 | 0 );
29936 if (!SWIG_IsOK(res1
)) {
29937 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PreviewControlBar_OnGoto" "', expected argument " "1"" of type '" "wxPreviewControlBar *""'");
29939 arg1
= reinterpret_cast< wxPreviewControlBar
* >(argp1
);
29941 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29943 wxPyEndAllowThreads(__tstate
);
29944 if (PyErr_Occurred()) SWIG_fail
;
29946 resultobj
= SWIG_Py_Void();
29953 SWIGINTERN PyObject
*PreviewControlBar_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29955 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
29956 SWIG_TypeNewClientData(SWIGTYPE_p_wxPreviewControlBar
, SWIG_NewClientData(obj
));
29957 return SWIG_Py_Void();
29960 SWIGINTERN PyObject
*PreviewControlBar_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29961 return SWIG_Python_InitShadowInstance(args
);
29964 SWIGINTERN PyObject
*_wrap_new_PrintPreview__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
29965 PyObject
*resultobj
= 0;
29966 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
29967 wxPyPrintout
*arg2
= (wxPyPrintout
*) 0 ;
29968 wxPrintDialogData
*arg3
= (wxPrintDialogData
*) NULL
;
29969 wxPrintPreview
*result
= 0 ;
29975 if ((nobjs
< 2) || (nobjs
> 3)) SWIG_fail
;
29976 res1
= SWIG_ConvertPtr(swig_obj
[0], SWIG_as_voidptrptr(&arg1
), SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_DISOWN
| 0 );
29977 if (!SWIG_IsOK(res1
)) {
29978 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PrintPreview" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
29980 res2
= SWIG_ConvertPtr(swig_obj
[1], SWIG_as_voidptrptr(&arg2
), SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_DISOWN
| 0 );
29981 if (!SWIG_IsOK(res2
)) {
29982 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_PrintPreview" "', expected argument " "2"" of type '" "wxPyPrintout *""'");
29985 res3
= SWIG_ConvertPtr(swig_obj
[2], &argp3
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
29986 if (!SWIG_IsOK(res3
)) {
29987 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "new_PrintPreview" "', expected argument " "3"" of type '" "wxPrintDialogData *""'");
29989 arg3
= reinterpret_cast< wxPrintDialogData
* >(argp3
);
29992 if (!wxPyCheckForApp()) SWIG_fail
;
29993 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29994 result
= (wxPrintPreview
*)new wxPrintPreview(arg1
,arg2
,arg3
);
29995 wxPyEndAllowThreads(__tstate
);
29996 if (PyErr_Occurred()) SWIG_fail
;
29998 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPrintPreview
, SWIG_POINTER_NEW
| 0 );
30005 SWIGINTERN PyObject
*_wrap_new_PrintPreview__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
30006 PyObject
*resultobj
= 0;
30007 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
30008 wxPyPrintout
*arg2
= (wxPyPrintout
*) 0 ;
30009 wxPrintData
*arg3
= (wxPrintData
*) 0 ;
30010 wxPrintPreview
*result
= 0 ;
30016 if ((nobjs
< 3) || (nobjs
> 3)) SWIG_fail
;
30017 res1
= SWIG_ConvertPtr(swig_obj
[0], SWIG_as_voidptrptr(&arg1
), SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_DISOWN
| 0 );
30018 if (!SWIG_IsOK(res1
)) {
30019 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PrintPreview" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
30021 res2
= SWIG_ConvertPtr(swig_obj
[1], SWIG_as_voidptrptr(&arg2
), SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_DISOWN
| 0 );
30022 if (!SWIG_IsOK(res2
)) {
30023 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_PrintPreview" "', expected argument " "2"" of type '" "wxPyPrintout *""'");
30025 res3
= SWIG_ConvertPtr(swig_obj
[2], &argp3
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
30026 if (!SWIG_IsOK(res3
)) {
30027 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "new_PrintPreview" "', expected argument " "3"" of type '" "wxPrintData *""'");
30029 arg3
= reinterpret_cast< wxPrintData
* >(argp3
);
30031 if (!wxPyCheckForApp()) SWIG_fail
;
30032 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30033 result
= (wxPrintPreview
*)new wxPrintPreview(arg1
,arg2
,arg3
);
30034 wxPyEndAllowThreads(__tstate
);
30035 if (PyErr_Occurred()) SWIG_fail
;
30037 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPrintPreview
, SWIG_POINTER_NEW
| 0 );
30044 SWIGINTERN PyObject
*_wrap_new_PrintPreview(PyObject
*self
, PyObject
*args
) {
30048 if (!(argc
= SWIG_Python_UnpackTuple(args
,"new_PrintPreview",0,3,argv
))) SWIG_fail
;
30050 if ((argc
>= 2) && (argc
<= 3)) {
30055 int res
= SWIG_ConvertPtr(argv
[2], &vptr
, SWIGTYPE_p_wxPrintDialogData
, 0);
30056 _v
= SWIG_CheckState(res
);
30058 if (!_v
) goto check_1
;
30060 return _wrap_new_PrintPreview__SWIG_0(self
, argc
, argv
);
30065 return _wrap_new_PrintPreview__SWIG_1(self
, argc
, argv
);
30069 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'new_PrintPreview'");
30074 SWIGINTERN PyObject
*_wrap_delete_PrintPreview(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30075 PyObject
*resultobj
= 0;
30076 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
30079 PyObject
*swig_obj
[1] ;
30081 if (!args
) SWIG_fail
;
30082 swig_obj
[0] = args
;
30083 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintPreview
, SWIG_POINTER_DISOWN
| 0 );
30084 if (!SWIG_IsOK(res1
)) {
30085 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_PrintPreview" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
30087 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
30089 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30092 wxPyEndAllowThreads(__tstate
);
30093 if (PyErr_Occurred()) SWIG_fail
;
30095 resultobj
= SWIG_Py_Void();
30102 SWIGINTERN PyObject
*_wrap_PrintPreview_SetCurrentPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30103 PyObject
*resultobj
= 0;
30104 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
30111 PyObject
* obj0
= 0 ;
30112 PyObject
* obj1
= 0 ;
30113 char * kwnames
[] = {
30114 (char *) "self",(char *) "pageNum", NULL
30117 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_SetCurrentPage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30118 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
30119 if (!SWIG_IsOK(res1
)) {
30120 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_SetCurrentPage" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
30122 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
30123 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
30124 if (!SWIG_IsOK(ecode2
)) {
30125 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintPreview_SetCurrentPage" "', expected argument " "2"" of type '" "int""'");
30127 arg2
= static_cast< int >(val2
);
30129 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30130 result
= (bool)(arg1
)->SetCurrentPage(arg2
);
30131 wxPyEndAllowThreads(__tstate
);
30132 if (PyErr_Occurred()) SWIG_fail
;
30135 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30143 SWIGINTERN PyObject
*_wrap_PrintPreview_GetCurrentPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30144 PyObject
*resultobj
= 0;
30145 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
30149 PyObject
*swig_obj
[1] ;
30151 if (!args
) SWIG_fail
;
30152 swig_obj
[0] = args
;
30153 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
30154 if (!SWIG_IsOK(res1
)) {
30155 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_GetCurrentPage" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
30157 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
30159 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30160 result
= (int)(arg1
)->GetCurrentPage();
30161 wxPyEndAllowThreads(__tstate
);
30162 if (PyErr_Occurred()) SWIG_fail
;
30164 resultobj
= SWIG_From_int(static_cast< int >(result
));
30171 SWIGINTERN PyObject
*_wrap_PrintPreview_SetPrintout(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30172 PyObject
*resultobj
= 0;
30173 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
30174 wxPyPrintout
*arg2
= (wxPyPrintout
*) 0 ;
30178 PyObject
* obj0
= 0 ;
30179 PyObject
* obj1
= 0 ;
30180 char * kwnames
[] = {
30181 (char *) "self",(char *) "printout", NULL
30184 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_SetPrintout",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30185 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
30186 if (!SWIG_IsOK(res1
)) {
30187 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_SetPrintout" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
30189 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
30190 res2
= SWIG_ConvertPtr(obj1
, SWIG_as_voidptrptr(&arg2
), SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_DISOWN
| 0 );
30191 if (!SWIG_IsOK(res2
)) {
30192 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PrintPreview_SetPrintout" "', expected argument " "2"" of type '" "wxPyPrintout *""'");
30195 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30196 (arg1
)->SetPrintout(arg2
);
30197 wxPyEndAllowThreads(__tstate
);
30198 if (PyErr_Occurred()) SWIG_fail
;
30200 resultobj
= SWIG_Py_Void();
30207 SWIGINTERN PyObject
*_wrap_PrintPreview_GetPrintout(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30208 PyObject
*resultobj
= 0;
30209 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
30210 wxPyPrintout
*result
= 0 ;
30213 PyObject
*swig_obj
[1] ;
30215 if (!args
) SWIG_fail
;
30216 swig_obj
[0] = args
;
30217 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
30218 if (!SWIG_IsOK(res1
)) {
30219 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_GetPrintout" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
30221 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
30223 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30224 result
= (wxPyPrintout
*)(arg1
)->GetPrintout();
30225 wxPyEndAllowThreads(__tstate
);
30226 if (PyErr_Occurred()) SWIG_fail
;
30229 resultobj
= wxPyMake_wxObject(result
, 0);
30237 SWIGINTERN PyObject
*_wrap_PrintPreview_GetPrintoutForPrinting(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30238 PyObject
*resultobj
= 0;
30239 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
30240 wxPyPrintout
*result
= 0 ;
30243 PyObject
*swig_obj
[1] ;
30245 if (!args
) SWIG_fail
;
30246 swig_obj
[0] = args
;
30247 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
30248 if (!SWIG_IsOK(res1
)) {
30249 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_GetPrintoutForPrinting" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
30251 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
30253 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30254 result
= (wxPyPrintout
*)(arg1
)->GetPrintoutForPrinting();
30255 wxPyEndAllowThreads(__tstate
);
30256 if (PyErr_Occurred()) SWIG_fail
;
30259 resultobj
= wxPyMake_wxObject(result
, 0);
30267 SWIGINTERN PyObject
*_wrap_PrintPreview_SetFrame(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30268 PyObject
*resultobj
= 0;
30269 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
30270 wxFrame
*arg2
= (wxFrame
*) 0 ;
30275 PyObject
* obj0
= 0 ;
30276 PyObject
* obj1
= 0 ;
30277 char * kwnames
[] = {
30278 (char *) "self",(char *) "frame", NULL
30281 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_SetFrame",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30282 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
30283 if (!SWIG_IsOK(res1
)) {
30284 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_SetFrame" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
30286 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
30287 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxFrame
, 0 | 0 );
30288 if (!SWIG_IsOK(res2
)) {
30289 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PrintPreview_SetFrame" "', expected argument " "2"" of type '" "wxFrame *""'");
30291 arg2
= reinterpret_cast< wxFrame
* >(argp2
);
30293 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30294 (arg1
)->SetFrame(arg2
);
30295 wxPyEndAllowThreads(__tstate
);
30296 if (PyErr_Occurred()) SWIG_fail
;
30298 resultobj
= SWIG_Py_Void();
30305 SWIGINTERN PyObject
*_wrap_PrintPreview_SetCanvas(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30306 PyObject
*resultobj
= 0;
30307 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
30308 wxPreviewCanvas
*arg2
= (wxPreviewCanvas
*) 0 ;
30313 PyObject
* obj0
= 0 ;
30314 PyObject
* obj1
= 0 ;
30315 char * kwnames
[] = {
30316 (char *) "self",(char *) "canvas", NULL
30319 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_SetCanvas",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30320 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
30321 if (!SWIG_IsOK(res1
)) {
30322 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_SetCanvas" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
30324 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
30325 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxPreviewCanvas
, 0 | 0 );
30326 if (!SWIG_IsOK(res2
)) {
30327 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PrintPreview_SetCanvas" "', expected argument " "2"" of type '" "wxPreviewCanvas *""'");
30329 arg2
= reinterpret_cast< wxPreviewCanvas
* >(argp2
);
30331 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30332 (arg1
)->SetCanvas(arg2
);
30333 wxPyEndAllowThreads(__tstate
);
30334 if (PyErr_Occurred()) SWIG_fail
;
30336 resultobj
= SWIG_Py_Void();
30343 SWIGINTERN PyObject
*_wrap_PrintPreview_GetFrame(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30344 PyObject
*resultobj
= 0;
30345 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
30346 wxFrame
*result
= 0 ;
30349 PyObject
*swig_obj
[1] ;
30351 if (!args
) SWIG_fail
;
30352 swig_obj
[0] = args
;
30353 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
30354 if (!SWIG_IsOK(res1
)) {
30355 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_GetFrame" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
30357 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
30359 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30360 result
= (wxFrame
*)(arg1
)->GetFrame();
30361 wxPyEndAllowThreads(__tstate
);
30362 if (PyErr_Occurred()) SWIG_fail
;
30365 resultobj
= wxPyMake_wxObject(result
, 0);
30373 SWIGINTERN PyObject
*_wrap_PrintPreview_GetCanvas(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30374 PyObject
*resultobj
= 0;
30375 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
30376 wxPreviewCanvas
*result
= 0 ;
30379 PyObject
*swig_obj
[1] ;
30381 if (!args
) SWIG_fail
;
30382 swig_obj
[0] = args
;
30383 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
30384 if (!SWIG_IsOK(res1
)) {
30385 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_GetCanvas" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
30387 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
30389 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30390 result
= (wxPreviewCanvas
*)(arg1
)->GetCanvas();
30391 wxPyEndAllowThreads(__tstate
);
30392 if (PyErr_Occurred()) SWIG_fail
;
30394 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPreviewCanvas
, 0 | 0 );
30401 SWIGINTERN PyObject
*_wrap_PrintPreview_PaintPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30402 PyObject
*resultobj
= 0;
30403 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
30404 wxPreviewCanvas
*arg2
= (wxPreviewCanvas
*) 0 ;
30413 PyObject
* obj0
= 0 ;
30414 PyObject
* obj1
= 0 ;
30415 PyObject
* obj2
= 0 ;
30416 char * kwnames
[] = {
30417 (char *) "self",(char *) "canvas",(char *) "dc", NULL
30420 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PrintPreview_PaintPage",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
30421 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
30422 if (!SWIG_IsOK(res1
)) {
30423 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_PaintPage" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
30425 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
30426 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxPreviewCanvas
, 0 | 0 );
30427 if (!SWIG_IsOK(res2
)) {
30428 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PrintPreview_PaintPage" "', expected argument " "2"" of type '" "wxPreviewCanvas *""'");
30430 arg2
= reinterpret_cast< wxPreviewCanvas
* >(argp2
);
30431 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
30432 if (!SWIG_IsOK(res3
)) {
30433 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "PrintPreview_PaintPage" "', expected argument " "3"" of type '" "wxDC &""'");
30436 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PrintPreview_PaintPage" "', expected argument " "3"" of type '" "wxDC &""'");
30438 arg3
= reinterpret_cast< wxDC
* >(argp3
);
30440 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30441 result
= (bool)(arg1
)->PaintPage(arg2
,*arg3
);
30442 wxPyEndAllowThreads(__tstate
);
30443 if (PyErr_Occurred()) SWIG_fail
;
30446 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30454 SWIGINTERN PyObject
*_wrap_PrintPreview_DrawBlankPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30455 PyObject
*resultobj
= 0;
30456 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
30457 wxPreviewCanvas
*arg2
= (wxPreviewCanvas
*) 0 ;
30466 PyObject
* obj0
= 0 ;
30467 PyObject
* obj1
= 0 ;
30468 PyObject
* obj2
= 0 ;
30469 char * kwnames
[] = {
30470 (char *) "self",(char *) "canvas",(char *) "dc", NULL
30473 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PrintPreview_DrawBlankPage",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
30474 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
30475 if (!SWIG_IsOK(res1
)) {
30476 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_DrawBlankPage" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
30478 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
30479 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxPreviewCanvas
, 0 | 0 );
30480 if (!SWIG_IsOK(res2
)) {
30481 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PrintPreview_DrawBlankPage" "', expected argument " "2"" of type '" "wxPreviewCanvas *""'");
30483 arg2
= reinterpret_cast< wxPreviewCanvas
* >(argp2
);
30484 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
30485 if (!SWIG_IsOK(res3
)) {
30486 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "PrintPreview_DrawBlankPage" "', expected argument " "3"" of type '" "wxDC &""'");
30489 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PrintPreview_DrawBlankPage" "', expected argument " "3"" of type '" "wxDC &""'");
30491 arg3
= reinterpret_cast< wxDC
* >(argp3
);
30493 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30494 result
= (bool)(arg1
)->DrawBlankPage(arg2
,*arg3
);
30495 wxPyEndAllowThreads(__tstate
);
30496 if (PyErr_Occurred()) SWIG_fail
;
30499 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30507 SWIGINTERN PyObject
*_wrap_PrintPreview_RenderPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30508 PyObject
*resultobj
= 0;
30509 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
30516 PyObject
* obj0
= 0 ;
30517 PyObject
* obj1
= 0 ;
30518 char * kwnames
[] = {
30519 (char *) "self",(char *) "pageNum", NULL
30522 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_RenderPage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30523 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
30524 if (!SWIG_IsOK(res1
)) {
30525 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_RenderPage" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
30527 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
30528 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
30529 if (!SWIG_IsOK(ecode2
)) {
30530 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintPreview_RenderPage" "', expected argument " "2"" of type '" "int""'");
30532 arg2
= static_cast< int >(val2
);
30534 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30535 result
= (bool)(arg1
)->RenderPage(arg2
);
30536 wxPyEndAllowThreads(__tstate
);
30537 if (PyErr_Occurred()) SWIG_fail
;
30540 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30548 SWIGINTERN PyObject
*_wrap_PrintPreview_AdjustScrollbars(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30549 PyObject
*resultobj
= 0;
30550 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
30551 wxPreviewCanvas
*arg2
= (wxPreviewCanvas
*) 0 ;
30556 PyObject
* obj0
= 0 ;
30557 PyObject
* obj1
= 0 ;
30558 char * kwnames
[] = {
30559 (char *) "self",(char *) "canvas", NULL
30562 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_AdjustScrollbars",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30563 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
30564 if (!SWIG_IsOK(res1
)) {
30565 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_AdjustScrollbars" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
30567 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
30568 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxPreviewCanvas
, 0 | 0 );
30569 if (!SWIG_IsOK(res2
)) {
30570 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PrintPreview_AdjustScrollbars" "', expected argument " "2"" of type '" "wxPreviewCanvas *""'");
30572 arg2
= reinterpret_cast< wxPreviewCanvas
* >(argp2
);
30574 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30575 (arg1
)->AdjustScrollbars(arg2
);
30576 wxPyEndAllowThreads(__tstate
);
30577 if (PyErr_Occurred()) SWIG_fail
;
30579 resultobj
= SWIG_Py_Void();
30586 SWIGINTERN PyObject
*_wrap_PrintPreview_GetPrintDialogData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30587 PyObject
*resultobj
= 0;
30588 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
30589 wxPrintDialogData
*result
= 0 ;
30592 PyObject
*swig_obj
[1] ;
30594 if (!args
) SWIG_fail
;
30595 swig_obj
[0] = args
;
30596 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
30597 if (!SWIG_IsOK(res1
)) {
30598 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_GetPrintDialogData" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
30600 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
30602 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30604 wxPrintDialogData
&_result_ref
= (arg1
)->GetPrintDialogData();
30605 result
= (wxPrintDialogData
*) &_result_ref
;
30607 wxPyEndAllowThreads(__tstate
);
30608 if (PyErr_Occurred()) SWIG_fail
;
30610 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
30617 SWIGINTERN PyObject
*_wrap_PrintPreview_SetZoom(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30618 PyObject
*resultobj
= 0;
30619 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
30625 PyObject
* obj0
= 0 ;
30626 PyObject
* obj1
= 0 ;
30627 char * kwnames
[] = {
30628 (char *) "self",(char *) "percent", NULL
30631 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_SetZoom",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30632 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
30633 if (!SWIG_IsOK(res1
)) {
30634 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_SetZoom" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
30636 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
30637 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
30638 if (!SWIG_IsOK(ecode2
)) {
30639 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintPreview_SetZoom" "', expected argument " "2"" of type '" "int""'");
30641 arg2
= static_cast< int >(val2
);
30643 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30644 (arg1
)->SetZoom(arg2
);
30645 wxPyEndAllowThreads(__tstate
);
30646 if (PyErr_Occurred()) SWIG_fail
;
30648 resultobj
= SWIG_Py_Void();
30655 SWIGINTERN PyObject
*_wrap_PrintPreview_GetZoom(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30656 PyObject
*resultobj
= 0;
30657 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
30661 PyObject
*swig_obj
[1] ;
30663 if (!args
) SWIG_fail
;
30664 swig_obj
[0] = args
;
30665 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
30666 if (!SWIG_IsOK(res1
)) {
30667 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_GetZoom" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
30669 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
30671 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30672 result
= (int)(arg1
)->GetZoom();
30673 wxPyEndAllowThreads(__tstate
);
30674 if (PyErr_Occurred()) SWIG_fail
;
30676 resultobj
= SWIG_From_int(static_cast< int >(result
));
30683 SWIGINTERN PyObject
*_wrap_PrintPreview_GetMaxPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30684 PyObject
*resultobj
= 0;
30685 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
30689 PyObject
*swig_obj
[1] ;
30691 if (!args
) SWIG_fail
;
30692 swig_obj
[0] = args
;
30693 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
30694 if (!SWIG_IsOK(res1
)) {
30695 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_GetMaxPage" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
30697 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
30699 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30700 result
= (int)(arg1
)->GetMaxPage();
30701 wxPyEndAllowThreads(__tstate
);
30702 if (PyErr_Occurred()) SWIG_fail
;
30704 resultobj
= SWIG_From_int(static_cast< int >(result
));
30711 SWIGINTERN PyObject
*_wrap_PrintPreview_GetMinPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30712 PyObject
*resultobj
= 0;
30713 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
30717 PyObject
*swig_obj
[1] ;
30719 if (!args
) SWIG_fail
;
30720 swig_obj
[0] = args
;
30721 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
30722 if (!SWIG_IsOK(res1
)) {
30723 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_GetMinPage" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
30725 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
30727 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30728 result
= (int)(arg1
)->GetMinPage();
30729 wxPyEndAllowThreads(__tstate
);
30730 if (PyErr_Occurred()) SWIG_fail
;
30732 resultobj
= SWIG_From_int(static_cast< int >(result
));
30739 SWIGINTERN PyObject
*_wrap_PrintPreview_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30740 PyObject
*resultobj
= 0;
30741 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
30745 PyObject
*swig_obj
[1] ;
30747 if (!args
) SWIG_fail
;
30748 swig_obj
[0] = args
;
30749 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
30750 if (!SWIG_IsOK(res1
)) {
30751 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_IsOk" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
30753 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
30755 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30756 result
= (bool)(arg1
)->IsOk();
30757 wxPyEndAllowThreads(__tstate
);
30758 if (PyErr_Occurred()) SWIG_fail
;
30761 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30769 SWIGINTERN PyObject
*_wrap_PrintPreview_SetOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30770 PyObject
*resultobj
= 0;
30771 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
30777 PyObject
* obj0
= 0 ;
30778 PyObject
* obj1
= 0 ;
30779 char * kwnames
[] = {
30780 (char *) "self",(char *) "ok", NULL
30783 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_SetOk",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30784 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
30785 if (!SWIG_IsOK(res1
)) {
30786 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_SetOk" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
30788 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
30789 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
30790 if (!SWIG_IsOK(ecode2
)) {
30791 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintPreview_SetOk" "', expected argument " "2"" of type '" "bool""'");
30793 arg2
= static_cast< bool >(val2
);
30795 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30796 (arg1
)->SetOk(arg2
);
30797 wxPyEndAllowThreads(__tstate
);
30798 if (PyErr_Occurred()) SWIG_fail
;
30800 resultobj
= SWIG_Py_Void();
30807 SWIGINTERN PyObject
*_wrap_PrintPreview_Print(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30808 PyObject
*resultobj
= 0;
30809 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
30816 PyObject
* obj0
= 0 ;
30817 PyObject
* obj1
= 0 ;
30818 char * kwnames
[] = {
30819 (char *) "self",(char *) "interactive", NULL
30822 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_Print",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30823 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
30824 if (!SWIG_IsOK(res1
)) {
30825 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_Print" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
30827 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
30828 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
30829 if (!SWIG_IsOK(ecode2
)) {
30830 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintPreview_Print" "', expected argument " "2"" of type '" "bool""'");
30832 arg2
= static_cast< bool >(val2
);
30834 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30835 result
= (bool)(arg1
)->Print(arg2
);
30836 wxPyEndAllowThreads(__tstate
);
30837 if (PyErr_Occurred()) SWIG_fail
;
30840 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30848 SWIGINTERN PyObject
*_wrap_PrintPreview_DetermineScaling(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30849 PyObject
*resultobj
= 0;
30850 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
30853 PyObject
*swig_obj
[1] ;
30855 if (!args
) SWIG_fail
;
30856 swig_obj
[0] = args
;
30857 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
30858 if (!SWIG_IsOK(res1
)) {
30859 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_DetermineScaling" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
30861 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
30863 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30864 (arg1
)->DetermineScaling();
30865 wxPyEndAllowThreads(__tstate
);
30866 if (PyErr_Occurred()) SWIG_fail
;
30868 resultobj
= SWIG_Py_Void();
30875 SWIGINTERN PyObject
*PrintPreview_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30877 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
30878 SWIG_TypeNewClientData(SWIGTYPE_p_wxPrintPreview
, SWIG_NewClientData(obj
));
30879 return SWIG_Py_Void();
30882 SWIGINTERN PyObject
*PrintPreview_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30883 return SWIG_Python_InitShadowInstance(args
);
30886 SWIGINTERN PyObject
*_wrap_new_PyPrintPreview__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
30887 PyObject
*resultobj
= 0;
30888 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
30889 wxPyPrintout
*arg2
= (wxPyPrintout
*) 0 ;
30890 wxPrintDialogData
*arg3
= (wxPrintDialogData
*) NULL
;
30891 wxPyPrintPreview
*result
= 0 ;
30897 if ((nobjs
< 2) || (nobjs
> 3)) SWIG_fail
;
30898 res1
= SWIG_ConvertPtr(swig_obj
[0], SWIG_as_voidptrptr(&arg1
), SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_DISOWN
| 0 );
30899 if (!SWIG_IsOK(res1
)) {
30900 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PyPrintPreview" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
30902 res2
= SWIG_ConvertPtr(swig_obj
[1], SWIG_as_voidptrptr(&arg2
), SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_DISOWN
| 0 );
30903 if (!SWIG_IsOK(res2
)) {
30904 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_PyPrintPreview" "', expected argument " "2"" of type '" "wxPyPrintout *""'");
30907 res3
= SWIG_ConvertPtr(swig_obj
[2], &argp3
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
30908 if (!SWIG_IsOK(res3
)) {
30909 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "new_PyPrintPreview" "', expected argument " "3"" of type '" "wxPrintDialogData *""'");
30911 arg3
= reinterpret_cast< wxPrintDialogData
* >(argp3
);
30914 if (!wxPyCheckForApp()) SWIG_fail
;
30915 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30916 result
= (wxPyPrintPreview
*)new wxPyPrintPreview(arg1
,arg2
,arg3
);
30917 wxPyEndAllowThreads(__tstate
);
30918 if (PyErr_Occurred()) SWIG_fail
;
30920 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyPrintPreview
, SWIG_POINTER_NEW
| 0 );
30927 SWIGINTERN PyObject
*_wrap_new_PyPrintPreview__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
30928 PyObject
*resultobj
= 0;
30929 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
30930 wxPyPrintout
*arg2
= (wxPyPrintout
*) 0 ;
30931 wxPrintData
*arg3
= (wxPrintData
*) 0 ;
30932 wxPyPrintPreview
*result
= 0 ;
30938 if ((nobjs
< 3) || (nobjs
> 3)) SWIG_fail
;
30939 res1
= SWIG_ConvertPtr(swig_obj
[0], SWIG_as_voidptrptr(&arg1
), SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_DISOWN
| 0 );
30940 if (!SWIG_IsOK(res1
)) {
30941 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PyPrintPreview" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
30943 res2
= SWIG_ConvertPtr(swig_obj
[1], SWIG_as_voidptrptr(&arg2
), SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_DISOWN
| 0 );
30944 if (!SWIG_IsOK(res2
)) {
30945 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_PyPrintPreview" "', expected argument " "2"" of type '" "wxPyPrintout *""'");
30947 res3
= SWIG_ConvertPtr(swig_obj
[2], &argp3
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
30948 if (!SWIG_IsOK(res3
)) {
30949 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "new_PyPrintPreview" "', expected argument " "3"" of type '" "wxPrintData *""'");
30951 arg3
= reinterpret_cast< wxPrintData
* >(argp3
);
30953 if (!wxPyCheckForApp()) SWIG_fail
;
30954 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30955 result
= (wxPyPrintPreview
*)new wxPyPrintPreview(arg1
,arg2
,arg3
);
30956 wxPyEndAllowThreads(__tstate
);
30957 if (PyErr_Occurred()) SWIG_fail
;
30959 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyPrintPreview
, SWIG_POINTER_NEW
| 0 );
30966 SWIGINTERN PyObject
*_wrap_new_PyPrintPreview(PyObject
*self
, PyObject
*args
) {
30970 if (!(argc
= SWIG_Python_UnpackTuple(args
,"new_PyPrintPreview",0,3,argv
))) SWIG_fail
;
30972 if ((argc
>= 2) && (argc
<= 3)) {
30977 int res
= SWIG_ConvertPtr(argv
[2], &vptr
, SWIGTYPE_p_wxPrintDialogData
, 0);
30978 _v
= SWIG_CheckState(res
);
30980 if (!_v
) goto check_1
;
30982 return _wrap_new_PyPrintPreview__SWIG_0(self
, argc
, argv
);
30987 return _wrap_new_PyPrintPreview__SWIG_1(self
, argc
, argv
);
30991 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'new_PyPrintPreview'");
30996 SWIGINTERN PyObject
*_wrap_PyPrintPreview__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30997 PyObject
*resultobj
= 0;
30998 wxPyPrintPreview
*arg1
= (wxPyPrintPreview
*) 0 ;
30999 PyObject
*arg2
= (PyObject
*) 0 ;
31000 PyObject
*arg3
= (PyObject
*) 0 ;
31003 PyObject
* obj0
= 0 ;
31004 PyObject
* obj1
= 0 ;
31005 PyObject
* obj2
= 0 ;
31006 char * kwnames
[] = {
31007 (char *) "self",(char *) "self",(char *) "_class", NULL
31010 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyPrintPreview__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
31011 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPrintPreview
, 0 | 0 );
31012 if (!SWIG_IsOK(res1
)) {
31013 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPrintPreview__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyPrintPreview *""'");
31015 arg1
= reinterpret_cast< wxPyPrintPreview
* >(argp1
);
31019 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31020 (arg1
)->_setCallbackInfo(arg2
,arg3
);
31021 wxPyEndAllowThreads(__tstate
);
31022 if (PyErr_Occurred()) SWIG_fail
;
31024 resultobj
= SWIG_Py_Void();
31031 SWIGINTERN PyObject
*PyPrintPreview_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31033 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
31034 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyPrintPreview
, SWIG_NewClientData(obj
));
31035 return SWIG_Py_Void();
31038 SWIGINTERN PyObject
*PyPrintPreview_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31039 return SWIG_Python_InitShadowInstance(args
);
31042 SWIGINTERN PyObject
*_wrap_new_PyPreviewFrame(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31043 PyObject
*resultobj
= 0;
31044 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
31045 wxFrame
*arg2
= (wxFrame
*) 0 ;
31046 wxString
*arg3
= 0 ;
31047 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
31048 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
31049 wxSize
const &arg5_defvalue
= wxDefaultSize
;
31050 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
31051 long arg6
= (long) wxDEFAULT_FRAME_STYLE
;
31052 wxString
const &arg7_defvalue
= wxPyFrameNameStr
;
31053 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
31054 wxPyPreviewFrame
*result
= 0 ;
31058 bool temp3
= false ;
31063 bool temp7
= false ;
31064 PyObject
* obj0
= 0 ;
31065 PyObject
* obj1
= 0 ;
31066 PyObject
* obj2
= 0 ;
31067 PyObject
* obj3
= 0 ;
31068 PyObject
* obj4
= 0 ;
31069 PyObject
* obj5
= 0 ;
31070 PyObject
* obj6
= 0 ;
31071 char * kwnames
[] = {
31072 (char *) "preview",(char *) "parent",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
31075 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:new_PyPreviewFrame",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
31076 res1
= SWIG_ConvertPtr(obj0
, SWIG_as_voidptrptr(&arg1
), SWIGTYPE_p_wxPrintPreview
, SWIG_POINTER_DISOWN
| 0 );
31077 if (!SWIG_IsOK(res1
)) {
31078 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PyPreviewFrame" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
31080 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxFrame
, 0 | 0 );
31081 if (!SWIG_IsOK(res2
)) {
31082 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_PyPreviewFrame" "', expected argument " "2"" of type '" "wxFrame *""'");
31084 arg2
= reinterpret_cast< wxFrame
* >(argp2
);
31086 arg3
= wxString_in_helper(obj2
);
31087 if (arg3
== NULL
) SWIG_fail
;
31093 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
31099 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
31103 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
31104 if (!SWIG_IsOK(ecode6
)) {
31105 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_PyPreviewFrame" "', expected argument " "6"" of type '" "long""'");
31107 arg6
= static_cast< long >(val6
);
31111 arg7
= wxString_in_helper(obj6
);
31112 if (arg7
== NULL
) SWIG_fail
;
31117 if (!wxPyCheckForApp()) SWIG_fail
;
31118 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31119 result
= (wxPyPreviewFrame
*)new wxPyPreviewFrame(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
31120 wxPyEndAllowThreads(__tstate
);
31121 if (PyErr_Occurred()) SWIG_fail
;
31123 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyPreviewFrame
, SWIG_POINTER_NEW
| 0 );
31146 SWIGINTERN PyObject
*_wrap_PyPreviewFrame__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31147 PyObject
*resultobj
= 0;
31148 wxPyPreviewFrame
*arg1
= (wxPyPreviewFrame
*) 0 ;
31149 PyObject
*arg2
= (PyObject
*) 0 ;
31150 PyObject
*arg3
= (PyObject
*) 0 ;
31153 PyObject
* obj0
= 0 ;
31154 PyObject
* obj1
= 0 ;
31155 PyObject
* obj2
= 0 ;
31156 char * kwnames
[] = {
31157 (char *) "self",(char *) "self",(char *) "_class", NULL
31160 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyPreviewFrame__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
31161 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPreviewFrame
, 0 | 0 );
31162 if (!SWIG_IsOK(res1
)) {
31163 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPreviewFrame__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyPreviewFrame *""'");
31165 arg1
= reinterpret_cast< wxPyPreviewFrame
* >(argp1
);
31169 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31170 (arg1
)->_setCallbackInfo(arg2
,arg3
);
31171 wxPyEndAllowThreads(__tstate
);
31172 if (PyErr_Occurred()) SWIG_fail
;
31174 resultobj
= SWIG_Py_Void();
31181 SWIGINTERN PyObject
*_wrap_PyPreviewFrame_SetPreviewCanvas(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31182 PyObject
*resultobj
= 0;
31183 wxPyPreviewFrame
*arg1
= (wxPyPreviewFrame
*) 0 ;
31184 wxPreviewCanvas
*arg2
= (wxPreviewCanvas
*) 0 ;
31189 PyObject
* obj0
= 0 ;
31190 PyObject
* obj1
= 0 ;
31191 char * kwnames
[] = {
31192 (char *) "self",(char *) "canvas", NULL
31195 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPreviewFrame_SetPreviewCanvas",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31196 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPreviewFrame
, 0 | 0 );
31197 if (!SWIG_IsOK(res1
)) {
31198 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPreviewFrame_SetPreviewCanvas" "', expected argument " "1"" of type '" "wxPyPreviewFrame *""'");
31200 arg1
= reinterpret_cast< wxPyPreviewFrame
* >(argp1
);
31201 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxPreviewCanvas
, 0 | 0 );
31202 if (!SWIG_IsOK(res2
)) {
31203 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PyPreviewFrame_SetPreviewCanvas" "', expected argument " "2"" of type '" "wxPreviewCanvas *""'");
31205 arg2
= reinterpret_cast< wxPreviewCanvas
* >(argp2
);
31207 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31208 (arg1
)->SetPreviewCanvas(arg2
);
31209 wxPyEndAllowThreads(__tstate
);
31210 if (PyErr_Occurred()) SWIG_fail
;
31212 resultobj
= SWIG_Py_Void();
31219 SWIGINTERN PyObject
*_wrap_PyPreviewFrame_SetControlBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31220 PyObject
*resultobj
= 0;
31221 wxPyPreviewFrame
*arg1
= (wxPyPreviewFrame
*) 0 ;
31222 wxPreviewControlBar
*arg2
= (wxPreviewControlBar
*) 0 ;
31227 PyObject
* obj0
= 0 ;
31228 PyObject
* obj1
= 0 ;
31229 char * kwnames
[] = {
31230 (char *) "self",(char *) "bar", NULL
31233 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPreviewFrame_SetControlBar",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31234 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPreviewFrame
, 0 | 0 );
31235 if (!SWIG_IsOK(res1
)) {
31236 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPreviewFrame_SetControlBar" "', expected argument " "1"" of type '" "wxPyPreviewFrame *""'");
31238 arg1
= reinterpret_cast< wxPyPreviewFrame
* >(argp1
);
31239 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxPreviewControlBar
, 0 | 0 );
31240 if (!SWIG_IsOK(res2
)) {
31241 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PyPreviewFrame_SetControlBar" "', expected argument " "2"" of type '" "wxPreviewControlBar *""'");
31243 arg2
= reinterpret_cast< wxPreviewControlBar
* >(argp2
);
31245 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31246 (arg1
)->SetControlBar(arg2
);
31247 wxPyEndAllowThreads(__tstate
);
31248 if (PyErr_Occurred()) SWIG_fail
;
31250 resultobj
= SWIG_Py_Void();
31257 SWIGINTERN PyObject
*_wrap_PyPreviewFrame_Initialize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31258 PyObject
*resultobj
= 0;
31259 wxPyPreviewFrame
*arg1
= (wxPyPreviewFrame
*) 0 ;
31262 PyObject
*swig_obj
[1] ;
31264 if (!args
) SWIG_fail
;
31265 swig_obj
[0] = args
;
31266 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPreviewFrame
, 0 | 0 );
31267 if (!SWIG_IsOK(res1
)) {
31268 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPreviewFrame_Initialize" "', expected argument " "1"" of type '" "wxPyPreviewFrame *""'");
31270 arg1
= reinterpret_cast< wxPyPreviewFrame
* >(argp1
);
31272 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31273 (arg1
)->Initialize();
31274 wxPyEndAllowThreads(__tstate
);
31275 if (PyErr_Occurred()) SWIG_fail
;
31277 resultobj
= SWIG_Py_Void();
31284 SWIGINTERN PyObject
*_wrap_PyPreviewFrame_CreateCanvas(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31285 PyObject
*resultobj
= 0;
31286 wxPyPreviewFrame
*arg1
= (wxPyPreviewFrame
*) 0 ;
31289 PyObject
*swig_obj
[1] ;
31291 if (!args
) SWIG_fail
;
31292 swig_obj
[0] = args
;
31293 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPreviewFrame
, 0 | 0 );
31294 if (!SWIG_IsOK(res1
)) {
31295 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPreviewFrame_CreateCanvas" "', expected argument " "1"" of type '" "wxPyPreviewFrame *""'");
31297 arg1
= reinterpret_cast< wxPyPreviewFrame
* >(argp1
);
31299 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31300 (arg1
)->CreateCanvas();
31301 wxPyEndAllowThreads(__tstate
);
31302 if (PyErr_Occurred()) SWIG_fail
;
31304 resultobj
= SWIG_Py_Void();
31311 SWIGINTERN PyObject
*_wrap_PyPreviewFrame_CreateControlBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31312 PyObject
*resultobj
= 0;
31313 wxPyPreviewFrame
*arg1
= (wxPyPreviewFrame
*) 0 ;
31316 PyObject
*swig_obj
[1] ;
31318 if (!args
) SWIG_fail
;
31319 swig_obj
[0] = args
;
31320 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPreviewFrame
, 0 | 0 );
31321 if (!SWIG_IsOK(res1
)) {
31322 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPreviewFrame_CreateControlBar" "', expected argument " "1"" of type '" "wxPyPreviewFrame *""'");
31324 arg1
= reinterpret_cast< wxPyPreviewFrame
* >(argp1
);
31326 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31327 (arg1
)->CreateControlBar();
31328 wxPyEndAllowThreads(__tstate
);
31329 if (PyErr_Occurred()) SWIG_fail
;
31331 resultobj
= SWIG_Py_Void();
31338 SWIGINTERN PyObject
*PyPreviewFrame_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31340 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
31341 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyPreviewFrame
, SWIG_NewClientData(obj
));
31342 return SWIG_Py_Void();
31345 SWIGINTERN PyObject
*PyPreviewFrame_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31346 return SWIG_Python_InitShadowInstance(args
);
31349 SWIGINTERN PyObject
*_wrap_new_PyPreviewControlBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31350 PyObject
*resultobj
= 0;
31351 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
31353 wxWindow
*arg3
= (wxWindow
*) 0 ;
31354 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
31355 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
31356 wxSize
const &arg5_defvalue
= wxDefaultSize
;
31357 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
31358 long arg6
= (long) 0 ;
31359 wxString
const &arg7_defvalue
= wxPyPanelNameStr
;
31360 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
31361 wxPyPreviewControlBar
*result
= 0 ;
31371 bool temp7
= false ;
31372 PyObject
* obj0
= 0 ;
31373 PyObject
* obj1
= 0 ;
31374 PyObject
* obj2
= 0 ;
31375 PyObject
* obj3
= 0 ;
31376 PyObject
* obj4
= 0 ;
31377 PyObject
* obj5
= 0 ;
31378 PyObject
* obj6
= 0 ;
31379 char * kwnames
[] = {
31380 (char *) "preview",(char *) "buttons",(char *) "parent",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
31383 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:new_PyPreviewControlBar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
31384 res1
= SWIG_ConvertPtr(obj0
, SWIG_as_voidptrptr(&arg1
), SWIGTYPE_p_wxPrintPreview
, SWIG_POINTER_DISOWN
| 0 );
31385 if (!SWIG_IsOK(res1
)) {
31386 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PyPreviewControlBar" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
31388 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
31389 if (!SWIG_IsOK(ecode2
)) {
31390 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_PyPreviewControlBar" "', expected argument " "2"" of type '" "long""'");
31392 arg2
= static_cast< long >(val2
);
31393 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxWindow
, 0 | 0 );
31394 if (!SWIG_IsOK(res3
)) {
31395 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "new_PyPreviewControlBar" "', expected argument " "3"" of type '" "wxWindow *""'");
31397 arg3
= reinterpret_cast< wxWindow
* >(argp3
);
31401 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
31407 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
31411 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
31412 if (!SWIG_IsOK(ecode6
)) {
31413 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_PyPreviewControlBar" "', expected argument " "6"" of type '" "long""'");
31415 arg6
= static_cast< long >(val6
);
31419 arg7
= wxString_in_helper(obj6
);
31420 if (arg7
== NULL
) SWIG_fail
;
31425 if (!wxPyCheckForApp()) SWIG_fail
;
31426 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31427 result
= (wxPyPreviewControlBar
*)new wxPyPreviewControlBar(arg1
,arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
31428 wxPyEndAllowThreads(__tstate
);
31429 if (PyErr_Occurred()) SWIG_fail
;
31431 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyPreviewControlBar
, SWIG_POINTER_NEW
| 0 );
31446 SWIGINTERN PyObject
*_wrap_PyPreviewControlBar__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31447 PyObject
*resultobj
= 0;
31448 wxPyPreviewControlBar
*arg1
= (wxPyPreviewControlBar
*) 0 ;
31449 PyObject
*arg2
= (PyObject
*) 0 ;
31450 PyObject
*arg3
= (PyObject
*) 0 ;
31453 PyObject
* obj0
= 0 ;
31454 PyObject
* obj1
= 0 ;
31455 PyObject
* obj2
= 0 ;
31456 char * kwnames
[] = {
31457 (char *) "self",(char *) "self",(char *) "_class", NULL
31460 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyPreviewControlBar__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
31461 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPreviewControlBar
, 0 | 0 );
31462 if (!SWIG_IsOK(res1
)) {
31463 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPreviewControlBar__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyPreviewControlBar *""'");
31465 arg1
= reinterpret_cast< wxPyPreviewControlBar
* >(argp1
);
31469 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31470 (arg1
)->_setCallbackInfo(arg2
,arg3
);
31471 wxPyEndAllowThreads(__tstate
);
31472 if (PyErr_Occurred()) SWIG_fail
;
31474 resultobj
= SWIG_Py_Void();
31481 SWIGINTERN PyObject
*_wrap_PyPreviewControlBar_SetPrintPreview(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31482 PyObject
*resultobj
= 0;
31483 wxPyPreviewControlBar
*arg1
= (wxPyPreviewControlBar
*) 0 ;
31484 wxPrintPreview
*arg2
= (wxPrintPreview
*) 0 ;
31488 PyObject
* obj0
= 0 ;
31489 PyObject
* obj1
= 0 ;
31490 char * kwnames
[] = {
31491 (char *) "self",(char *) "preview", NULL
31494 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPreviewControlBar_SetPrintPreview",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31495 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPreviewControlBar
, 0 | 0 );
31496 if (!SWIG_IsOK(res1
)) {
31497 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPreviewControlBar_SetPrintPreview" "', expected argument " "1"" of type '" "wxPyPreviewControlBar *""'");
31499 arg1
= reinterpret_cast< wxPyPreviewControlBar
* >(argp1
);
31500 res2
= SWIG_ConvertPtr(obj1
, SWIG_as_voidptrptr(&arg2
), SWIGTYPE_p_wxPrintPreview
, SWIG_POINTER_DISOWN
| 0 );
31501 if (!SWIG_IsOK(res2
)) {
31502 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PyPreviewControlBar_SetPrintPreview" "', expected argument " "2"" of type '" "wxPrintPreview *""'");
31505 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31506 (arg1
)->SetPrintPreview(arg2
);
31507 wxPyEndAllowThreads(__tstate
);
31508 if (PyErr_Occurred()) SWIG_fail
;
31510 resultobj
= SWIG_Py_Void();
31517 SWIGINTERN PyObject
*_wrap_PyPreviewControlBar_CreateButtons(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31518 PyObject
*resultobj
= 0;
31519 wxPyPreviewControlBar
*arg1
= (wxPyPreviewControlBar
*) 0 ;
31522 PyObject
*swig_obj
[1] ;
31524 if (!args
) SWIG_fail
;
31525 swig_obj
[0] = args
;
31526 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPreviewControlBar
, 0 | 0 );
31527 if (!SWIG_IsOK(res1
)) {
31528 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPreviewControlBar_CreateButtons" "', expected argument " "1"" of type '" "wxPyPreviewControlBar *""'");
31530 arg1
= reinterpret_cast< wxPyPreviewControlBar
* >(argp1
);
31532 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31533 (arg1
)->CreateButtons();
31534 wxPyEndAllowThreads(__tstate
);
31535 if (PyErr_Occurred()) SWIG_fail
;
31537 resultobj
= SWIG_Py_Void();
31544 SWIGINTERN PyObject
*_wrap_PyPreviewControlBar_SetZoomControl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31545 PyObject
*resultobj
= 0;
31546 wxPyPreviewControlBar
*arg1
= (wxPyPreviewControlBar
*) 0 ;
31552 PyObject
* obj0
= 0 ;
31553 PyObject
* obj1
= 0 ;
31554 char * kwnames
[] = {
31555 (char *) "self",(char *) "zoom", NULL
31558 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPreviewControlBar_SetZoomControl",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31559 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPreviewControlBar
, 0 | 0 );
31560 if (!SWIG_IsOK(res1
)) {
31561 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPreviewControlBar_SetZoomControl" "', expected argument " "1"" of type '" "wxPyPreviewControlBar *""'");
31563 arg1
= reinterpret_cast< wxPyPreviewControlBar
* >(argp1
);
31564 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
31565 if (!SWIG_IsOK(ecode2
)) {
31566 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PyPreviewControlBar_SetZoomControl" "', expected argument " "2"" of type '" "int""'");
31568 arg2
= static_cast< int >(val2
);
31570 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31571 (arg1
)->SetZoomControl(arg2
);
31572 wxPyEndAllowThreads(__tstate
);
31573 if (PyErr_Occurred()) SWIG_fail
;
31575 resultobj
= SWIG_Py_Void();
31582 SWIGINTERN PyObject
*PyPreviewControlBar_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31584 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
31585 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyPreviewControlBar
, SWIG_NewClientData(obj
));
31586 return SWIG_Py_Void();
31589 SWIGINTERN PyObject
*PyPreviewControlBar_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31590 return SWIG_Python_InitShadowInstance(args
);
31593 static PyMethodDef SwigMethods
[] = {
31594 { (char *)"new_Panel", (PyCFunction
) _wrap_new_Panel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31595 { (char *)"new_PrePanel", (PyCFunction
)_wrap_new_PrePanel
, METH_NOARGS
, NULL
},
31596 { (char *)"Panel_Create", (PyCFunction
) _wrap_Panel_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31597 { (char *)"Panel_SetFocusIgnoringChildren", (PyCFunction
)_wrap_Panel_SetFocusIgnoringChildren
, METH_O
, NULL
},
31598 { (char *)"Panel_GetClassDefaultAttributes", (PyCFunction
) _wrap_Panel_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31599 { (char *)"Panel_swigregister", Panel_swigregister
, METH_VARARGS
, NULL
},
31600 { (char *)"Panel_swiginit", Panel_swiginit
, METH_VARARGS
, NULL
},
31601 { (char *)"new_ScrolledWindow", (PyCFunction
) _wrap_new_ScrolledWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31602 { (char *)"new_PreScrolledWindow", (PyCFunction
)_wrap_new_PreScrolledWindow
, METH_NOARGS
, NULL
},
31603 { (char *)"ScrolledWindow_Create", (PyCFunction
) _wrap_ScrolledWindow_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31604 { (char *)"ScrolledWindow_SetScrollbars", (PyCFunction
) _wrap_ScrolledWindow_SetScrollbars
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31605 { (char *)"ScrolledWindow_Scroll", (PyCFunction
) _wrap_ScrolledWindow_Scroll
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31606 { (char *)"ScrolledWindow_GetScrollPageSize", (PyCFunction
) _wrap_ScrolledWindow_GetScrollPageSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31607 { (char *)"ScrolledWindow_SetScrollPageSize", (PyCFunction
) _wrap_ScrolledWindow_SetScrollPageSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31608 { (char *)"ScrolledWindow_SetScrollRate", (PyCFunction
) _wrap_ScrolledWindow_SetScrollRate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31609 { (char *)"ScrolledWindow_GetScrollPixelsPerUnit", (PyCFunction
)_wrap_ScrolledWindow_GetScrollPixelsPerUnit
, METH_O
, NULL
},
31610 { (char *)"ScrolledWindow_EnableScrolling", (PyCFunction
) _wrap_ScrolledWindow_EnableScrolling
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31611 { (char *)"ScrolledWindow_GetViewStart", (PyCFunction
)_wrap_ScrolledWindow_GetViewStart
, METH_O
, NULL
},
31612 { (char *)"ScrolledWindow_SetScale", (PyCFunction
) _wrap_ScrolledWindow_SetScale
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31613 { (char *)"ScrolledWindow_GetScaleX", (PyCFunction
)_wrap_ScrolledWindow_GetScaleX
, METH_O
, NULL
},
31614 { (char *)"ScrolledWindow_GetScaleY", (PyCFunction
)_wrap_ScrolledWindow_GetScaleY
, METH_O
, NULL
},
31615 { (char *)"ScrolledWindow_CalcScrolledPosition", _wrap_ScrolledWindow_CalcScrolledPosition
, METH_VARARGS
, NULL
},
31616 { (char *)"ScrolledWindow_CalcUnscrolledPosition", _wrap_ScrolledWindow_CalcUnscrolledPosition
, METH_VARARGS
, NULL
},
31617 { (char *)"ScrolledWindow_AdjustScrollbars", (PyCFunction
)_wrap_ScrolledWindow_AdjustScrollbars
, METH_O
, NULL
},
31618 { (char *)"ScrolledWindow_CalcScrollInc", (PyCFunction
) _wrap_ScrolledWindow_CalcScrollInc
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31619 { (char *)"ScrolledWindow_SetTargetWindow", (PyCFunction
) _wrap_ScrolledWindow_SetTargetWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31620 { (char *)"ScrolledWindow_GetTargetWindow", (PyCFunction
)_wrap_ScrolledWindow_GetTargetWindow
, METH_O
, NULL
},
31621 { (char *)"ScrolledWindow_SetTargetRect", (PyCFunction
) _wrap_ScrolledWindow_SetTargetRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31622 { (char *)"ScrolledWindow_GetTargetRect", (PyCFunction
)_wrap_ScrolledWindow_GetTargetRect
, METH_O
, NULL
},
31623 { (char *)"ScrolledWindow_DoPrepareDC", (PyCFunction
) _wrap_ScrolledWindow_DoPrepareDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31624 { (char *)"ScrolledWindow_GetClassDefaultAttributes", (PyCFunction
) _wrap_ScrolledWindow_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31625 { (char *)"ScrolledWindow_swigregister", ScrolledWindow_swigregister
, METH_VARARGS
, NULL
},
31626 { (char *)"ScrolledWindow_swiginit", ScrolledWindow_swiginit
, METH_VARARGS
, NULL
},
31627 { (char *)"TopLevelWindow_Maximize", (PyCFunction
) _wrap_TopLevelWindow_Maximize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31628 { (char *)"TopLevelWindow_Restore", (PyCFunction
)_wrap_TopLevelWindow_Restore
, METH_O
, NULL
},
31629 { (char *)"TopLevelWindow_Iconize", (PyCFunction
) _wrap_TopLevelWindow_Iconize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31630 { (char *)"TopLevelWindow_IsMaximized", (PyCFunction
)_wrap_TopLevelWindow_IsMaximized
, METH_O
, NULL
},
31631 { (char *)"TopLevelWindow_IsAlwaysMaximized", (PyCFunction
)_wrap_TopLevelWindow_IsAlwaysMaximized
, METH_O
, NULL
},
31632 { (char *)"TopLevelWindow_IsIconized", (PyCFunction
)_wrap_TopLevelWindow_IsIconized
, METH_O
, NULL
},
31633 { (char *)"TopLevelWindow_GetIcon", (PyCFunction
)_wrap_TopLevelWindow_GetIcon
, METH_O
, NULL
},
31634 { (char *)"TopLevelWindow_SetIcon", (PyCFunction
) _wrap_TopLevelWindow_SetIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31635 { (char *)"TopLevelWindow_SetIcons", (PyCFunction
) _wrap_TopLevelWindow_SetIcons
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31636 { (char *)"TopLevelWindow_ShowFullScreen", (PyCFunction
) _wrap_TopLevelWindow_ShowFullScreen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31637 { (char *)"TopLevelWindow_IsFullScreen", (PyCFunction
)_wrap_TopLevelWindow_IsFullScreen
, METH_O
, NULL
},
31638 { (char *)"TopLevelWindow_SetTitle", (PyCFunction
) _wrap_TopLevelWindow_SetTitle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31639 { (char *)"TopLevelWindow_GetTitle", (PyCFunction
)_wrap_TopLevelWindow_GetTitle
, METH_O
, NULL
},
31640 { (char *)"TopLevelWindow_EnableCloseButton", (PyCFunction
) _wrap_TopLevelWindow_EnableCloseButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31641 { (char *)"TopLevelWindow_SetShape", (PyCFunction
) _wrap_TopLevelWindow_SetShape
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31642 { (char *)"TopLevelWindow_RequestUserAttention", (PyCFunction
) _wrap_TopLevelWindow_RequestUserAttention
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31643 { (char *)"TopLevelWindow_IsActive", (PyCFunction
)_wrap_TopLevelWindow_IsActive
, METH_O
, NULL
},
31644 { (char *)"TopLevelWindow_MacSetMetalAppearance", (PyCFunction
) _wrap_TopLevelWindow_MacSetMetalAppearance
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31645 { (char *)"TopLevelWindow_MacGetMetalAppearance", (PyCFunction
)_wrap_TopLevelWindow_MacGetMetalAppearance
, METH_O
, NULL
},
31646 { (char *)"TopLevelWindow_CenterOnScreen", (PyCFunction
) _wrap_TopLevelWindow_CenterOnScreen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31647 { (char *)"TopLevelWindow_GetDefaultItem", (PyCFunction
)_wrap_TopLevelWindow_GetDefaultItem
, METH_O
, NULL
},
31648 { (char *)"TopLevelWindow_SetDefaultItem", (PyCFunction
) _wrap_TopLevelWindow_SetDefaultItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31649 { (char *)"TopLevelWindow_SetTmpDefaultItem", (PyCFunction
) _wrap_TopLevelWindow_SetTmpDefaultItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31650 { (char *)"TopLevelWindow_GetTmpDefaultItem", (PyCFunction
)_wrap_TopLevelWindow_GetTmpDefaultItem
, METH_O
, NULL
},
31651 { (char *)"TopLevelWindow_swigregister", TopLevelWindow_swigregister
, METH_VARARGS
, NULL
},
31652 { (char *)"new_Frame", (PyCFunction
) _wrap_new_Frame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31653 { (char *)"new_PreFrame", (PyCFunction
)_wrap_new_PreFrame
, METH_NOARGS
, NULL
},
31654 { (char *)"Frame_Create", (PyCFunction
) _wrap_Frame_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31655 { (char *)"Frame_SendSizeEvent", (PyCFunction
)_wrap_Frame_SendSizeEvent
, METH_O
, NULL
},
31656 { (char *)"Frame_SetMenuBar", (PyCFunction
) _wrap_Frame_SetMenuBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31657 { (char *)"Frame_GetMenuBar", (PyCFunction
)_wrap_Frame_GetMenuBar
, METH_O
, NULL
},
31658 { (char *)"Frame_ProcessCommand", (PyCFunction
) _wrap_Frame_ProcessCommand
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31659 { (char *)"Frame_CreateStatusBar", (PyCFunction
) _wrap_Frame_CreateStatusBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31660 { (char *)"Frame_GetStatusBar", (PyCFunction
)_wrap_Frame_GetStatusBar
, METH_O
, NULL
},
31661 { (char *)"Frame_SetStatusBar", (PyCFunction
) _wrap_Frame_SetStatusBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31662 { (char *)"Frame_SetStatusText", (PyCFunction
) _wrap_Frame_SetStatusText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31663 { (char *)"Frame_SetStatusWidths", (PyCFunction
) _wrap_Frame_SetStatusWidths
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31664 { (char *)"Frame_PushStatusText", (PyCFunction
) _wrap_Frame_PushStatusText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31665 { (char *)"Frame_PopStatusText", (PyCFunction
) _wrap_Frame_PopStatusText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31666 { (char *)"Frame_SetStatusBarPane", (PyCFunction
) _wrap_Frame_SetStatusBarPane
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31667 { (char *)"Frame_GetStatusBarPane", (PyCFunction
)_wrap_Frame_GetStatusBarPane
, METH_O
, NULL
},
31668 { (char *)"Frame_CreateToolBar", (PyCFunction
) _wrap_Frame_CreateToolBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31669 { (char *)"Frame_GetToolBar", (PyCFunction
)_wrap_Frame_GetToolBar
, METH_O
, NULL
},
31670 { (char *)"Frame_SetToolBar", (PyCFunction
) _wrap_Frame_SetToolBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31671 { (char *)"Frame_DoGiveHelp", (PyCFunction
) _wrap_Frame_DoGiveHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31672 { (char *)"Frame_DoMenuUpdates", (PyCFunction
) _wrap_Frame_DoMenuUpdates
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31673 { (char *)"Frame_GetClassDefaultAttributes", (PyCFunction
) _wrap_Frame_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31674 { (char *)"Frame_swigregister", Frame_swigregister
, METH_VARARGS
, NULL
},
31675 { (char *)"Frame_swiginit", Frame_swiginit
, METH_VARARGS
, NULL
},
31676 { (char *)"new_Dialog", (PyCFunction
) _wrap_new_Dialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31677 { (char *)"new_PreDialog", (PyCFunction
)_wrap_new_PreDialog
, METH_NOARGS
, NULL
},
31678 { (char *)"Dialog_Create", (PyCFunction
) _wrap_Dialog_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31679 { (char *)"Dialog_SetReturnCode", (PyCFunction
) _wrap_Dialog_SetReturnCode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31680 { (char *)"Dialog_GetReturnCode", (PyCFunction
)_wrap_Dialog_GetReturnCode
, METH_O
, NULL
},
31681 { (char *)"Dialog_SetAffirmativeId", (PyCFunction
) _wrap_Dialog_SetAffirmativeId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31682 { (char *)"Dialog_GetAffirmativeId", (PyCFunction
)_wrap_Dialog_GetAffirmativeId
, METH_O
, NULL
},
31683 { (char *)"Dialog_SetEscapeId", (PyCFunction
) _wrap_Dialog_SetEscapeId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31684 { (char *)"Dialog_GetEscapeId", (PyCFunction
)_wrap_Dialog_GetEscapeId
, METH_O
, NULL
},
31685 { (char *)"Dialog_CreateTextSizer", (PyCFunction
) _wrap_Dialog_CreateTextSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31686 { (char *)"Dialog__CreateButtonSizer", (PyCFunction
) _wrap_Dialog__CreateButtonSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31687 { (char *)"Dialog_CreateSeparatedButtonSizer", (PyCFunction
) _wrap_Dialog_CreateSeparatedButtonSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31688 { (char *)"Dialog_CreateStdDialogButtonSizer", (PyCFunction
) _wrap_Dialog_CreateStdDialogButtonSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31689 { (char *)"Dialog_IsModal", (PyCFunction
)_wrap_Dialog_IsModal
, METH_O
, NULL
},
31690 { (char *)"Dialog_ShowModal", (PyCFunction
)_wrap_Dialog_ShowModal
, METH_O
, NULL
},
31691 { (char *)"Dialog_EndModal", (PyCFunction
) _wrap_Dialog_EndModal
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31692 { (char *)"Dialog_GetClassDefaultAttributes", (PyCFunction
) _wrap_Dialog_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31693 { (char *)"Dialog_swigregister", Dialog_swigregister
, METH_VARARGS
, NULL
},
31694 { (char *)"Dialog_swiginit", Dialog_swiginit
, METH_VARARGS
, NULL
},
31695 { (char *)"new_MiniFrame", (PyCFunction
) _wrap_new_MiniFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31696 { (char *)"new_PreMiniFrame", (PyCFunction
)_wrap_new_PreMiniFrame
, METH_NOARGS
, NULL
},
31697 { (char *)"MiniFrame_Create", (PyCFunction
) _wrap_MiniFrame_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31698 { (char *)"MiniFrame_swigregister", MiniFrame_swigregister
, METH_VARARGS
, NULL
},
31699 { (char *)"MiniFrame_swiginit", MiniFrame_swiginit
, METH_VARARGS
, NULL
},
31700 { (char *)"new_SplashScreenWindow", (PyCFunction
) _wrap_new_SplashScreenWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31701 { (char *)"SplashScreenWindow_SetBitmap", (PyCFunction
) _wrap_SplashScreenWindow_SetBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31702 { (char *)"SplashScreenWindow_GetBitmap", (PyCFunction
)_wrap_SplashScreenWindow_GetBitmap
, METH_O
, NULL
},
31703 { (char *)"SplashScreenWindow_swigregister", SplashScreenWindow_swigregister
, METH_VARARGS
, NULL
},
31704 { (char *)"SplashScreenWindow_swiginit", SplashScreenWindow_swiginit
, METH_VARARGS
, NULL
},
31705 { (char *)"new_SplashScreen", (PyCFunction
) _wrap_new_SplashScreen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31706 { (char *)"SplashScreen_GetSplashStyle", (PyCFunction
)_wrap_SplashScreen_GetSplashStyle
, METH_O
, NULL
},
31707 { (char *)"SplashScreen_GetSplashWindow", (PyCFunction
)_wrap_SplashScreen_GetSplashWindow
, METH_O
, NULL
},
31708 { (char *)"SplashScreen_GetTimeout", (PyCFunction
)_wrap_SplashScreen_GetTimeout
, METH_O
, NULL
},
31709 { (char *)"SplashScreen_swigregister", SplashScreen_swigregister
, METH_VARARGS
, NULL
},
31710 { (char *)"SplashScreen_swiginit", SplashScreen_swiginit
, METH_VARARGS
, NULL
},
31711 { (char *)"new_StatusBar", (PyCFunction
) _wrap_new_StatusBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31712 { (char *)"new_PreStatusBar", (PyCFunction
)_wrap_new_PreStatusBar
, METH_NOARGS
, NULL
},
31713 { (char *)"StatusBar_Create", (PyCFunction
) _wrap_StatusBar_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31714 { (char *)"StatusBar_SetFieldsCount", (PyCFunction
) _wrap_StatusBar_SetFieldsCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31715 { (char *)"StatusBar_GetFieldsCount", (PyCFunction
)_wrap_StatusBar_GetFieldsCount
, METH_O
, NULL
},
31716 { (char *)"StatusBar_SetStatusText", (PyCFunction
) _wrap_StatusBar_SetStatusText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31717 { (char *)"StatusBar_GetStatusText", (PyCFunction
) _wrap_StatusBar_GetStatusText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31718 { (char *)"StatusBar_PushStatusText", (PyCFunction
) _wrap_StatusBar_PushStatusText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31719 { (char *)"StatusBar_PopStatusText", (PyCFunction
) _wrap_StatusBar_PopStatusText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31720 { (char *)"StatusBar_SetStatusWidths", (PyCFunction
) _wrap_StatusBar_SetStatusWidths
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31721 { (char *)"StatusBar_SetStatusStyles", (PyCFunction
) _wrap_StatusBar_SetStatusStyles
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31722 { (char *)"StatusBar_GetFieldRect", (PyCFunction
) _wrap_StatusBar_GetFieldRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31723 { (char *)"StatusBar_SetMinHeight", (PyCFunction
) _wrap_StatusBar_SetMinHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31724 { (char *)"StatusBar_GetBorderX", (PyCFunction
)_wrap_StatusBar_GetBorderX
, METH_O
, NULL
},
31725 { (char *)"StatusBar_GetBorderY", (PyCFunction
)_wrap_StatusBar_GetBorderY
, METH_O
, NULL
},
31726 { (char *)"StatusBar_GetClassDefaultAttributes", (PyCFunction
) _wrap_StatusBar_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31727 { (char *)"StatusBar_swigregister", StatusBar_swigregister
, METH_VARARGS
, NULL
},
31728 { (char *)"StatusBar_swiginit", StatusBar_swiginit
, METH_VARARGS
, NULL
},
31729 { (char *)"new_SplitterWindow", (PyCFunction
) _wrap_new_SplitterWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31730 { (char *)"new_PreSplitterWindow", (PyCFunction
)_wrap_new_PreSplitterWindow
, METH_NOARGS
, NULL
},
31731 { (char *)"SplitterWindow_Create", (PyCFunction
) _wrap_SplitterWindow_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31732 { (char *)"SplitterWindow_GetWindow1", (PyCFunction
)_wrap_SplitterWindow_GetWindow1
, METH_O
, NULL
},
31733 { (char *)"SplitterWindow_GetWindow2", (PyCFunction
)_wrap_SplitterWindow_GetWindow2
, METH_O
, NULL
},
31734 { (char *)"SplitterWindow_SetSplitMode", (PyCFunction
) _wrap_SplitterWindow_SetSplitMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31735 { (char *)"SplitterWindow_GetSplitMode", (PyCFunction
)_wrap_SplitterWindow_GetSplitMode
, METH_O
, NULL
},
31736 { (char *)"SplitterWindow_Initialize", (PyCFunction
) _wrap_SplitterWindow_Initialize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31737 { (char *)"SplitterWindow_SplitVertically", (PyCFunction
) _wrap_SplitterWindow_SplitVertically
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31738 { (char *)"SplitterWindow_SplitHorizontally", (PyCFunction
) _wrap_SplitterWindow_SplitHorizontally
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31739 { (char *)"SplitterWindow_Unsplit", (PyCFunction
) _wrap_SplitterWindow_Unsplit
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31740 { (char *)"SplitterWindow_ReplaceWindow", (PyCFunction
) _wrap_SplitterWindow_ReplaceWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31741 { (char *)"SplitterWindow_UpdateSize", (PyCFunction
)_wrap_SplitterWindow_UpdateSize
, METH_O
, NULL
},
31742 { (char *)"SplitterWindow_IsSplit", (PyCFunction
)_wrap_SplitterWindow_IsSplit
, METH_O
, NULL
},
31743 { (char *)"SplitterWindow_SetSashSize", (PyCFunction
) _wrap_SplitterWindow_SetSashSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31744 { (char *)"SplitterWindow_SetBorderSize", (PyCFunction
) _wrap_SplitterWindow_SetBorderSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31745 { (char *)"SplitterWindow_GetSashSize", (PyCFunction
)_wrap_SplitterWindow_GetSashSize
, METH_O
, NULL
},
31746 { (char *)"SplitterWindow_GetBorderSize", (PyCFunction
)_wrap_SplitterWindow_GetBorderSize
, METH_O
, NULL
},
31747 { (char *)"SplitterWindow_SetSashPosition", (PyCFunction
) _wrap_SplitterWindow_SetSashPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31748 { (char *)"SplitterWindow_GetSashPosition", (PyCFunction
)_wrap_SplitterWindow_GetSashPosition
, METH_O
, NULL
},
31749 { (char *)"SplitterWindow_SetSashGravity", (PyCFunction
) _wrap_SplitterWindow_SetSashGravity
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31750 { (char *)"SplitterWindow_GetSashGravity", (PyCFunction
)_wrap_SplitterWindow_GetSashGravity
, METH_O
, NULL
},
31751 { (char *)"SplitterWindow_SetMinimumPaneSize", (PyCFunction
) _wrap_SplitterWindow_SetMinimumPaneSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31752 { (char *)"SplitterWindow_GetMinimumPaneSize", (PyCFunction
)_wrap_SplitterWindow_GetMinimumPaneSize
, METH_O
, NULL
},
31753 { (char *)"SplitterWindow_SashHitTest", (PyCFunction
) _wrap_SplitterWindow_SashHitTest
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31754 { (char *)"SplitterWindow_SizeWindows", (PyCFunction
)_wrap_SplitterWindow_SizeWindows
, METH_O
, NULL
},
31755 { (char *)"SplitterWindow_SetNeedUpdating", (PyCFunction
) _wrap_SplitterWindow_SetNeedUpdating
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31756 { (char *)"SplitterWindow_GetNeedUpdating", (PyCFunction
)_wrap_SplitterWindow_GetNeedUpdating
, METH_O
, NULL
},
31757 { (char *)"SplitterWindow_GetClassDefaultAttributes", (PyCFunction
) _wrap_SplitterWindow_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31758 { (char *)"SplitterWindow_swigregister", SplitterWindow_swigregister
, METH_VARARGS
, NULL
},
31759 { (char *)"SplitterWindow_swiginit", SplitterWindow_swiginit
, METH_VARARGS
, NULL
},
31760 { (char *)"new_SplitterEvent", (PyCFunction
) _wrap_new_SplitterEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31761 { (char *)"SplitterEvent_SetSashPosition", (PyCFunction
) _wrap_SplitterEvent_SetSashPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31762 { (char *)"SplitterEvent_GetSashPosition", (PyCFunction
)_wrap_SplitterEvent_GetSashPosition
, METH_O
, NULL
},
31763 { (char *)"SplitterEvent_GetWindowBeingRemoved", (PyCFunction
)_wrap_SplitterEvent_GetWindowBeingRemoved
, METH_O
, NULL
},
31764 { (char *)"SplitterEvent_GetX", (PyCFunction
)_wrap_SplitterEvent_GetX
, METH_O
, NULL
},
31765 { (char *)"SplitterEvent_GetY", (PyCFunction
)_wrap_SplitterEvent_GetY
, METH_O
, NULL
},
31766 { (char *)"SplitterEvent_swigregister", SplitterEvent_swigregister
, METH_VARARGS
, NULL
},
31767 { (char *)"SplitterEvent_swiginit", SplitterEvent_swiginit
, METH_VARARGS
, NULL
},
31768 { (char *)"new_SashWindow", (PyCFunction
) _wrap_new_SashWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31769 { (char *)"new_PreSashWindow", (PyCFunction
)_wrap_new_PreSashWindow
, METH_NOARGS
, NULL
},
31770 { (char *)"SashWindow_Create", (PyCFunction
) _wrap_SashWindow_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31771 { (char *)"SashWindow_SetSashVisible", (PyCFunction
) _wrap_SashWindow_SetSashVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31772 { (char *)"SashWindow_GetSashVisible", (PyCFunction
) _wrap_SashWindow_GetSashVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31773 { (char *)"SashWindow_SetSashBorder", (PyCFunction
) _wrap_SashWindow_SetSashBorder
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31774 { (char *)"SashWindow_HasBorder", (PyCFunction
) _wrap_SashWindow_HasBorder
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31775 { (char *)"SashWindow_GetEdgeMargin", (PyCFunction
) _wrap_SashWindow_GetEdgeMargin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31776 { (char *)"SashWindow_SetDefaultBorderSize", (PyCFunction
) _wrap_SashWindow_SetDefaultBorderSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31777 { (char *)"SashWindow_GetDefaultBorderSize", (PyCFunction
)_wrap_SashWindow_GetDefaultBorderSize
, METH_O
, NULL
},
31778 { (char *)"SashWindow_SetExtraBorderSize", (PyCFunction
) _wrap_SashWindow_SetExtraBorderSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31779 { (char *)"SashWindow_GetExtraBorderSize", (PyCFunction
)_wrap_SashWindow_GetExtraBorderSize
, METH_O
, NULL
},
31780 { (char *)"SashWindow_SetMinimumSizeX", (PyCFunction
) _wrap_SashWindow_SetMinimumSizeX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31781 { (char *)"SashWindow_SetMinimumSizeY", (PyCFunction
) _wrap_SashWindow_SetMinimumSizeY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31782 { (char *)"SashWindow_GetMinimumSizeX", (PyCFunction
)_wrap_SashWindow_GetMinimumSizeX
, METH_O
, NULL
},
31783 { (char *)"SashWindow_GetMinimumSizeY", (PyCFunction
)_wrap_SashWindow_GetMinimumSizeY
, METH_O
, NULL
},
31784 { (char *)"SashWindow_SetMaximumSizeX", (PyCFunction
) _wrap_SashWindow_SetMaximumSizeX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31785 { (char *)"SashWindow_SetMaximumSizeY", (PyCFunction
) _wrap_SashWindow_SetMaximumSizeY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31786 { (char *)"SashWindow_GetMaximumSizeX", (PyCFunction
)_wrap_SashWindow_GetMaximumSizeX
, METH_O
, NULL
},
31787 { (char *)"SashWindow_GetMaximumSizeY", (PyCFunction
)_wrap_SashWindow_GetMaximumSizeY
, METH_O
, NULL
},
31788 { (char *)"SashWindow_SashHitTest", (PyCFunction
) _wrap_SashWindow_SashHitTest
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31789 { (char *)"SashWindow_SizeWindows", (PyCFunction
)_wrap_SashWindow_SizeWindows
, METH_O
, NULL
},
31790 { (char *)"SashWindow_swigregister", SashWindow_swigregister
, METH_VARARGS
, NULL
},
31791 { (char *)"SashWindow_swiginit", SashWindow_swiginit
, METH_VARARGS
, NULL
},
31792 { (char *)"new_SashEvent", (PyCFunction
) _wrap_new_SashEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31793 { (char *)"SashEvent_SetEdge", (PyCFunction
) _wrap_SashEvent_SetEdge
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31794 { (char *)"SashEvent_GetEdge", (PyCFunction
)_wrap_SashEvent_GetEdge
, METH_O
, NULL
},
31795 { (char *)"SashEvent_SetDragRect", (PyCFunction
) _wrap_SashEvent_SetDragRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31796 { (char *)"SashEvent_GetDragRect", (PyCFunction
)_wrap_SashEvent_GetDragRect
, METH_O
, NULL
},
31797 { (char *)"SashEvent_SetDragStatus", (PyCFunction
) _wrap_SashEvent_SetDragStatus
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31798 { (char *)"SashEvent_GetDragStatus", (PyCFunction
)_wrap_SashEvent_GetDragStatus
, METH_O
, NULL
},
31799 { (char *)"SashEvent_swigregister", SashEvent_swigregister
, METH_VARARGS
, NULL
},
31800 { (char *)"SashEvent_swiginit", SashEvent_swiginit
, METH_VARARGS
, NULL
},
31801 { (char *)"new_QueryLayoutInfoEvent", (PyCFunction
) _wrap_new_QueryLayoutInfoEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31802 { (char *)"QueryLayoutInfoEvent_SetRequestedLength", (PyCFunction
) _wrap_QueryLayoutInfoEvent_SetRequestedLength
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31803 { (char *)"QueryLayoutInfoEvent_GetRequestedLength", (PyCFunction
)_wrap_QueryLayoutInfoEvent_GetRequestedLength
, METH_O
, NULL
},
31804 { (char *)"QueryLayoutInfoEvent_SetFlags", (PyCFunction
) _wrap_QueryLayoutInfoEvent_SetFlags
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31805 { (char *)"QueryLayoutInfoEvent_GetFlags", (PyCFunction
)_wrap_QueryLayoutInfoEvent_GetFlags
, METH_O
, NULL
},
31806 { (char *)"QueryLayoutInfoEvent_SetSize", (PyCFunction
) _wrap_QueryLayoutInfoEvent_SetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31807 { (char *)"QueryLayoutInfoEvent_GetSize", (PyCFunction
)_wrap_QueryLayoutInfoEvent_GetSize
, METH_O
, NULL
},
31808 { (char *)"QueryLayoutInfoEvent_SetOrientation", (PyCFunction
) _wrap_QueryLayoutInfoEvent_SetOrientation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31809 { (char *)"QueryLayoutInfoEvent_GetOrientation", (PyCFunction
)_wrap_QueryLayoutInfoEvent_GetOrientation
, METH_O
, NULL
},
31810 { (char *)"QueryLayoutInfoEvent_SetAlignment", (PyCFunction
) _wrap_QueryLayoutInfoEvent_SetAlignment
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31811 { (char *)"QueryLayoutInfoEvent_GetAlignment", (PyCFunction
)_wrap_QueryLayoutInfoEvent_GetAlignment
, METH_O
, NULL
},
31812 { (char *)"QueryLayoutInfoEvent_swigregister", QueryLayoutInfoEvent_swigregister
, METH_VARARGS
, NULL
},
31813 { (char *)"QueryLayoutInfoEvent_swiginit", QueryLayoutInfoEvent_swiginit
, METH_VARARGS
, NULL
},
31814 { (char *)"new_CalculateLayoutEvent", (PyCFunction
) _wrap_new_CalculateLayoutEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31815 { (char *)"CalculateLayoutEvent_SetFlags", (PyCFunction
) _wrap_CalculateLayoutEvent_SetFlags
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31816 { (char *)"CalculateLayoutEvent_GetFlags", (PyCFunction
)_wrap_CalculateLayoutEvent_GetFlags
, METH_O
, NULL
},
31817 { (char *)"CalculateLayoutEvent_SetRect", (PyCFunction
) _wrap_CalculateLayoutEvent_SetRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31818 { (char *)"CalculateLayoutEvent_GetRect", (PyCFunction
)_wrap_CalculateLayoutEvent_GetRect
, METH_O
, NULL
},
31819 { (char *)"CalculateLayoutEvent_swigregister", CalculateLayoutEvent_swigregister
, METH_VARARGS
, NULL
},
31820 { (char *)"CalculateLayoutEvent_swiginit", CalculateLayoutEvent_swiginit
, METH_VARARGS
, NULL
},
31821 { (char *)"new_SashLayoutWindow", (PyCFunction
) _wrap_new_SashLayoutWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31822 { (char *)"new_PreSashLayoutWindow", (PyCFunction
)_wrap_new_PreSashLayoutWindow
, METH_NOARGS
, NULL
},
31823 { (char *)"SashLayoutWindow_Create", (PyCFunction
) _wrap_SashLayoutWindow_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31824 { (char *)"SashLayoutWindow_GetAlignment", (PyCFunction
)_wrap_SashLayoutWindow_GetAlignment
, METH_O
, NULL
},
31825 { (char *)"SashLayoutWindow_GetOrientation", (PyCFunction
)_wrap_SashLayoutWindow_GetOrientation
, METH_O
, NULL
},
31826 { (char *)"SashLayoutWindow_SetAlignment", (PyCFunction
) _wrap_SashLayoutWindow_SetAlignment
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31827 { (char *)"SashLayoutWindow_SetDefaultSize", (PyCFunction
) _wrap_SashLayoutWindow_SetDefaultSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31828 { (char *)"SashLayoutWindow_SetOrientation", (PyCFunction
) _wrap_SashLayoutWindow_SetOrientation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31829 { (char *)"SashLayoutWindow_swigregister", SashLayoutWindow_swigregister
, METH_VARARGS
, NULL
},
31830 { (char *)"SashLayoutWindow_swiginit", SashLayoutWindow_swiginit
, METH_VARARGS
, NULL
},
31831 { (char *)"new_LayoutAlgorithm", (PyCFunction
)_wrap_new_LayoutAlgorithm
, METH_NOARGS
, NULL
},
31832 { (char *)"delete_LayoutAlgorithm", (PyCFunction
)_wrap_delete_LayoutAlgorithm
, METH_O
, NULL
},
31833 { (char *)"LayoutAlgorithm_LayoutMDIFrame", (PyCFunction
) _wrap_LayoutAlgorithm_LayoutMDIFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31834 { (char *)"LayoutAlgorithm_LayoutFrame", (PyCFunction
) _wrap_LayoutAlgorithm_LayoutFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31835 { (char *)"LayoutAlgorithm_LayoutWindow", (PyCFunction
) _wrap_LayoutAlgorithm_LayoutWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31836 { (char *)"LayoutAlgorithm_swigregister", LayoutAlgorithm_swigregister
, METH_VARARGS
, NULL
},
31837 { (char *)"LayoutAlgorithm_swiginit", LayoutAlgorithm_swiginit
, METH_VARARGS
, NULL
},
31838 { (char *)"new_PopupWindow", (PyCFunction
) _wrap_new_PopupWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31839 { (char *)"new_PrePopupWindow", (PyCFunction
)_wrap_new_PrePopupWindow
, METH_NOARGS
, NULL
},
31840 { (char *)"PopupWindow_Create", (PyCFunction
) _wrap_PopupWindow_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31841 { (char *)"PopupWindow_Position", (PyCFunction
) _wrap_PopupWindow_Position
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31842 { (char *)"PopupWindow_swigregister", PopupWindow_swigregister
, METH_VARARGS
, NULL
},
31843 { (char *)"PopupWindow_swiginit", PopupWindow_swiginit
, METH_VARARGS
, NULL
},
31844 { (char *)"new_PopupTransientWindow", (PyCFunction
) _wrap_new_PopupTransientWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31845 { (char *)"new_PrePopupTransientWindow", (PyCFunction
)_wrap_new_PrePopupTransientWindow
, METH_NOARGS
, NULL
},
31846 { (char *)"PopupTransientWindow__setCallbackInfo", (PyCFunction
) _wrap_PopupTransientWindow__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31847 { (char *)"PopupTransientWindow_Popup", (PyCFunction
) _wrap_PopupTransientWindow_Popup
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31848 { (char *)"PopupTransientWindow_Dismiss", (PyCFunction
)_wrap_PopupTransientWindow_Dismiss
, METH_O
, NULL
},
31849 { (char *)"PopupTransientWindow_swigregister", PopupTransientWindow_swigregister
, METH_VARARGS
, NULL
},
31850 { (char *)"PopupTransientWindow_swiginit", PopupTransientWindow_swiginit
, METH_VARARGS
, NULL
},
31851 { (char *)"new_TipWindow", (PyCFunction
) _wrap_new_TipWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31852 { (char *)"TipWindow_SetBoundingRect", (PyCFunction
) _wrap_TipWindow_SetBoundingRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31853 { (char *)"TipWindow_Close", (PyCFunction
)_wrap_TipWindow_Close
, METH_O
, NULL
},
31854 { (char *)"TipWindow_swigregister", TipWindow_swigregister
, METH_VARARGS
, NULL
},
31855 { (char *)"TipWindow_swiginit", TipWindow_swiginit
, METH_VARARGS
, NULL
},
31856 { (char *)"new_VScrolledWindow", (PyCFunction
) _wrap_new_VScrolledWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31857 { (char *)"new_PreVScrolledWindow", (PyCFunction
)_wrap_new_PreVScrolledWindow
, METH_NOARGS
, NULL
},
31858 { (char *)"VScrolledWindow__setCallbackInfo", (PyCFunction
) _wrap_VScrolledWindow__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31859 { (char *)"VScrolledWindow_Create", (PyCFunction
) _wrap_VScrolledWindow_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31860 { (char *)"VScrolledWindow_SetLineCount", (PyCFunction
) _wrap_VScrolledWindow_SetLineCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31861 { (char *)"VScrolledWindow_ScrollToLine", (PyCFunction
) _wrap_VScrolledWindow_ScrollToLine
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31862 { (char *)"VScrolledWindow_RefreshLine", (PyCFunction
) _wrap_VScrolledWindow_RefreshLine
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31863 { (char *)"VScrolledWindow_RefreshLines", (PyCFunction
) _wrap_VScrolledWindow_RefreshLines
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31864 { (char *)"VScrolledWindow_HitTestXY", (PyCFunction
) _wrap_VScrolledWindow_HitTestXY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31865 { (char *)"VScrolledWindow_HitTest", (PyCFunction
) _wrap_VScrolledWindow_HitTest
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31866 { (char *)"VScrolledWindow_RefreshAll", (PyCFunction
)_wrap_VScrolledWindow_RefreshAll
, METH_O
, NULL
},
31867 { (char *)"VScrolledWindow_GetLineCount", (PyCFunction
)_wrap_VScrolledWindow_GetLineCount
, METH_O
, NULL
},
31868 { (char *)"VScrolledWindow_GetVisibleBegin", (PyCFunction
)_wrap_VScrolledWindow_GetVisibleBegin
, METH_O
, NULL
},
31869 { (char *)"VScrolledWindow_GetVisibleEnd", (PyCFunction
)_wrap_VScrolledWindow_GetVisibleEnd
, METH_O
, NULL
},
31870 { (char *)"VScrolledWindow_IsVisible", (PyCFunction
) _wrap_VScrolledWindow_IsVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31871 { (char *)"VScrolledWindow_GetFirstVisibleLine", (PyCFunction
)_wrap_VScrolledWindow_GetFirstVisibleLine
, METH_O
, NULL
},
31872 { (char *)"VScrolledWindow_GetLastVisibleLine", (PyCFunction
)_wrap_VScrolledWindow_GetLastVisibleLine
, METH_O
, NULL
},
31873 { (char *)"VScrolledWindow_FindFirstFromBottom", (PyCFunction
) _wrap_VScrolledWindow_FindFirstFromBottom
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31874 { (char *)"VScrolledWindow_GetLinesHeight", (PyCFunction
) _wrap_VScrolledWindow_GetLinesHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31875 { (char *)"VScrolledWindow_swigregister", VScrolledWindow_swigregister
, METH_VARARGS
, NULL
},
31876 { (char *)"VScrolledWindow_swiginit", VScrolledWindow_swiginit
, METH_VARARGS
, NULL
},
31877 { (char *)"new_VListBox", (PyCFunction
) _wrap_new_VListBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31878 { (char *)"new_PreVListBox", (PyCFunction
)_wrap_new_PreVListBox
, METH_NOARGS
, NULL
},
31879 { (char *)"VListBox__setCallbackInfo", (PyCFunction
) _wrap_VListBox__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31880 { (char *)"VListBox_Create", (PyCFunction
) _wrap_VListBox_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31881 { (char *)"VListBox_GetItemCount", (PyCFunction
)_wrap_VListBox_GetItemCount
, METH_O
, NULL
},
31882 { (char *)"VListBox_HasMultipleSelection", (PyCFunction
)_wrap_VListBox_HasMultipleSelection
, METH_O
, NULL
},
31883 { (char *)"VListBox_GetSelection", (PyCFunction
)_wrap_VListBox_GetSelection
, METH_O
, NULL
},
31884 { (char *)"VListBox_IsCurrent", (PyCFunction
) _wrap_VListBox_IsCurrent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31885 { (char *)"VListBox_IsSelected", (PyCFunction
) _wrap_VListBox_IsSelected
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31886 { (char *)"VListBox_GetSelectedCount", (PyCFunction
)_wrap_VListBox_GetSelectedCount
, METH_O
, NULL
},
31887 { (char *)"VListBox_GetFirstSelected", (PyCFunction
)_wrap_VListBox_GetFirstSelected
, METH_O
, NULL
},
31888 { (char *)"VListBox_GetNextSelected", (PyCFunction
) _wrap_VListBox_GetNextSelected
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31889 { (char *)"VListBox_GetMargins", (PyCFunction
)_wrap_VListBox_GetMargins
, METH_O
, NULL
},
31890 { (char *)"VListBox_GetSelectionBackground", (PyCFunction
)_wrap_VListBox_GetSelectionBackground
, METH_O
, NULL
},
31891 { (char *)"VListBox_SetItemCount", (PyCFunction
) _wrap_VListBox_SetItemCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31892 { (char *)"VListBox_Clear", (PyCFunction
)_wrap_VListBox_Clear
, METH_O
, NULL
},
31893 { (char *)"VListBox_SetSelection", (PyCFunction
) _wrap_VListBox_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31894 { (char *)"VListBox_Select", (PyCFunction
) _wrap_VListBox_Select
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31895 { (char *)"VListBox_SelectRange", (PyCFunction
) _wrap_VListBox_SelectRange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31896 { (char *)"VListBox_Toggle", (PyCFunction
) _wrap_VListBox_Toggle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31897 { (char *)"VListBox_SelectAll", (PyCFunction
)_wrap_VListBox_SelectAll
, METH_O
, NULL
},
31898 { (char *)"VListBox_DeselectAll", (PyCFunction
)_wrap_VListBox_DeselectAll
, METH_O
, NULL
},
31899 { (char *)"VListBox_SetMargins", (PyCFunction
) _wrap_VListBox_SetMargins
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31900 { (char *)"VListBox_SetMarginsXY", (PyCFunction
) _wrap_VListBox_SetMarginsXY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31901 { (char *)"VListBox_SetSelectionBackground", (PyCFunction
) _wrap_VListBox_SetSelectionBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31902 { (char *)"VListBox_OnDrawSeparator", (PyCFunction
) _wrap_VListBox_OnDrawSeparator
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31903 { (char *)"VListBox_OnDrawBackground", (PyCFunction
) _wrap_VListBox_OnDrawBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31904 { (char *)"VListBox_swigregister", VListBox_swigregister
, METH_VARARGS
, NULL
},
31905 { (char *)"VListBox_swiginit", VListBox_swiginit
, METH_VARARGS
, NULL
},
31906 { (char *)"new_HtmlListBox", (PyCFunction
) _wrap_new_HtmlListBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31907 { (char *)"new_PreHtmlListBox", (PyCFunction
)_wrap_new_PreHtmlListBox
, METH_NOARGS
, NULL
},
31908 { (char *)"HtmlListBox__setCallbackInfo", (PyCFunction
) _wrap_HtmlListBox__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31909 { (char *)"HtmlListBox_Create", (PyCFunction
) _wrap_HtmlListBox_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31910 { (char *)"HtmlListBox_SetItemCount", (PyCFunction
) _wrap_HtmlListBox_SetItemCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31911 { (char *)"HtmlListBox_GetFileSystem", (PyCFunction
)_wrap_HtmlListBox_GetFileSystem
, METH_O
, NULL
},
31912 { (char *)"HtmlListBox_OnLinkClicked", (PyCFunction
) _wrap_HtmlListBox_OnLinkClicked
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31913 { (char *)"HtmlListBox_swigregister", HtmlListBox_swigregister
, METH_VARARGS
, NULL
},
31914 { (char *)"HtmlListBox_swiginit", HtmlListBox_swiginit
, METH_VARARGS
, NULL
},
31915 { (char *)"new_TaskBarIcon", (PyCFunction
)_wrap_new_TaskBarIcon
, METH_NOARGS
, NULL
},
31916 { (char *)"delete_TaskBarIcon", (PyCFunction
)_wrap_delete_TaskBarIcon
, METH_O
, NULL
},
31917 { (char *)"TaskBarIcon__setCallbackInfo", (PyCFunction
) _wrap_TaskBarIcon__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31918 { (char *)"TaskBarIcon_Destroy", (PyCFunction
)_wrap_TaskBarIcon_Destroy
, METH_O
, NULL
},
31919 { (char *)"TaskBarIcon_IsOk", (PyCFunction
)_wrap_TaskBarIcon_IsOk
, METH_O
, NULL
},
31920 { (char *)"TaskBarIcon_IsIconInstalled", (PyCFunction
)_wrap_TaskBarIcon_IsIconInstalled
, METH_O
, NULL
},
31921 { (char *)"TaskBarIcon_SetIcon", (PyCFunction
) _wrap_TaskBarIcon_SetIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31922 { (char *)"TaskBarIcon_RemoveIcon", (PyCFunction
)_wrap_TaskBarIcon_RemoveIcon
, METH_O
, NULL
},
31923 { (char *)"TaskBarIcon_PopupMenu", (PyCFunction
) _wrap_TaskBarIcon_PopupMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31924 { (char *)"TaskBarIcon_swigregister", TaskBarIcon_swigregister
, METH_VARARGS
, NULL
},
31925 { (char *)"TaskBarIcon_swiginit", TaskBarIcon_swiginit
, METH_VARARGS
, NULL
},
31926 { (char *)"new_TaskBarIconEvent", (PyCFunction
) _wrap_new_TaskBarIconEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31927 { (char *)"TaskBarIconEvent_swigregister", TaskBarIconEvent_swigregister
, METH_VARARGS
, NULL
},
31928 { (char *)"TaskBarIconEvent_swiginit", TaskBarIconEvent_swiginit
, METH_VARARGS
, NULL
},
31929 { (char *)"new_ColourData", (PyCFunction
)_wrap_new_ColourData
, METH_NOARGS
, NULL
},
31930 { (char *)"delete_ColourData", (PyCFunction
)_wrap_delete_ColourData
, METH_O
, NULL
},
31931 { (char *)"ColourData_GetChooseFull", (PyCFunction
)_wrap_ColourData_GetChooseFull
, METH_O
, NULL
},
31932 { (char *)"ColourData_GetColour", (PyCFunction
)_wrap_ColourData_GetColour
, METH_O
, NULL
},
31933 { (char *)"ColourData_GetCustomColour", (PyCFunction
) _wrap_ColourData_GetCustomColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31934 { (char *)"ColourData_SetChooseFull", (PyCFunction
) _wrap_ColourData_SetChooseFull
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31935 { (char *)"ColourData_SetColour", (PyCFunction
) _wrap_ColourData_SetColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31936 { (char *)"ColourData_SetCustomColour", (PyCFunction
) _wrap_ColourData_SetCustomColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31937 { (char *)"ColourData_swigregister", ColourData_swigregister
, METH_VARARGS
, NULL
},
31938 { (char *)"ColourData_swiginit", ColourData_swiginit
, METH_VARARGS
, NULL
},
31939 { (char *)"new_ColourDialog", (PyCFunction
) _wrap_new_ColourDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31940 { (char *)"ColourDialog_GetColourData", (PyCFunction
)_wrap_ColourDialog_GetColourData
, METH_O
, NULL
},
31941 { (char *)"ColourDialog_swigregister", ColourDialog_swigregister
, METH_VARARGS
, NULL
},
31942 { (char *)"ColourDialog_swiginit", ColourDialog_swiginit
, METH_VARARGS
, NULL
},
31943 { (char *)"GetColourFromUser", (PyCFunction
) _wrap_GetColourFromUser
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31944 { (char *)"new_DirDialog", (PyCFunction
) _wrap_new_DirDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31945 { (char *)"DirDialog_GetPath", (PyCFunction
)_wrap_DirDialog_GetPath
, METH_O
, NULL
},
31946 { (char *)"DirDialog_GetMessage", (PyCFunction
)_wrap_DirDialog_GetMessage
, METH_O
, NULL
},
31947 { (char *)"DirDialog_SetMessage", (PyCFunction
) _wrap_DirDialog_SetMessage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31948 { (char *)"DirDialog_SetPath", (PyCFunction
) _wrap_DirDialog_SetPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31949 { (char *)"DirDialog_swigregister", DirDialog_swigregister
, METH_VARARGS
, NULL
},
31950 { (char *)"DirDialog_swiginit", DirDialog_swiginit
, METH_VARARGS
, NULL
},
31951 { (char *)"new_FileDialog", (PyCFunction
) _wrap_new_FileDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31952 { (char *)"FileDialog_SetMessage", (PyCFunction
) _wrap_FileDialog_SetMessage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31953 { (char *)"FileDialog_SetPath", (PyCFunction
) _wrap_FileDialog_SetPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31954 { (char *)"FileDialog_SetDirectory", (PyCFunction
) _wrap_FileDialog_SetDirectory
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31955 { (char *)"FileDialog_SetFilename", (PyCFunction
) _wrap_FileDialog_SetFilename
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31956 { (char *)"FileDialog_SetWildcard", (PyCFunction
) _wrap_FileDialog_SetWildcard
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31957 { (char *)"FileDialog_SetFilterIndex", (PyCFunction
) _wrap_FileDialog_SetFilterIndex
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31958 { (char *)"FileDialog_GetMessage", (PyCFunction
)_wrap_FileDialog_GetMessage
, METH_O
, NULL
},
31959 { (char *)"FileDialog_GetPath", (PyCFunction
)_wrap_FileDialog_GetPath
, METH_O
, NULL
},
31960 { (char *)"FileDialog_GetDirectory", (PyCFunction
)_wrap_FileDialog_GetDirectory
, METH_O
, NULL
},
31961 { (char *)"FileDialog_GetFilename", (PyCFunction
)_wrap_FileDialog_GetFilename
, METH_O
, NULL
},
31962 { (char *)"FileDialog_GetWildcard", (PyCFunction
)_wrap_FileDialog_GetWildcard
, METH_O
, NULL
},
31963 { (char *)"FileDialog_GetFilterIndex", (PyCFunction
)_wrap_FileDialog_GetFilterIndex
, METH_O
, NULL
},
31964 { (char *)"FileDialog_GetFilenames", (PyCFunction
)_wrap_FileDialog_GetFilenames
, METH_O
, NULL
},
31965 { (char *)"FileDialog_GetPaths", (PyCFunction
)_wrap_FileDialog_GetPaths
, METH_O
, NULL
},
31966 { (char *)"FileDialog_swigregister", FileDialog_swigregister
, METH_VARARGS
, NULL
},
31967 { (char *)"FileDialog_swiginit", FileDialog_swiginit
, METH_VARARGS
, NULL
},
31968 { (char *)"new_MultiChoiceDialog", (PyCFunction
) _wrap_new_MultiChoiceDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31969 { (char *)"MultiChoiceDialog_SetSelections", (PyCFunction
) _wrap_MultiChoiceDialog_SetSelections
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31970 { (char *)"MultiChoiceDialog_GetSelections", (PyCFunction
)_wrap_MultiChoiceDialog_GetSelections
, METH_O
, NULL
},
31971 { (char *)"MultiChoiceDialog_swigregister", MultiChoiceDialog_swigregister
, METH_VARARGS
, NULL
},
31972 { (char *)"MultiChoiceDialog_swiginit", MultiChoiceDialog_swiginit
, METH_VARARGS
, NULL
},
31973 { (char *)"new_SingleChoiceDialog", (PyCFunction
) _wrap_new_SingleChoiceDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31974 { (char *)"SingleChoiceDialog_GetSelection", (PyCFunction
)_wrap_SingleChoiceDialog_GetSelection
, METH_O
, NULL
},
31975 { (char *)"SingleChoiceDialog_GetStringSelection", (PyCFunction
)_wrap_SingleChoiceDialog_GetStringSelection
, METH_O
, NULL
},
31976 { (char *)"SingleChoiceDialog_SetSelection", (PyCFunction
) _wrap_SingleChoiceDialog_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31977 { (char *)"SingleChoiceDialog_swigregister", SingleChoiceDialog_swigregister
, METH_VARARGS
, NULL
},
31978 { (char *)"SingleChoiceDialog_swiginit", SingleChoiceDialog_swiginit
, METH_VARARGS
, NULL
},
31979 { (char *)"new_TextEntryDialog", (PyCFunction
) _wrap_new_TextEntryDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31980 { (char *)"TextEntryDialog_GetValue", (PyCFunction
)_wrap_TextEntryDialog_GetValue
, METH_O
, NULL
},
31981 { (char *)"TextEntryDialog_SetValue", (PyCFunction
) _wrap_TextEntryDialog_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31982 { (char *)"TextEntryDialog_swigregister", TextEntryDialog_swigregister
, METH_VARARGS
, NULL
},
31983 { (char *)"TextEntryDialog_swiginit", TextEntryDialog_swiginit
, METH_VARARGS
, NULL
},
31984 { (char *)"new_PasswordEntryDialog", (PyCFunction
) _wrap_new_PasswordEntryDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31985 { (char *)"PasswordEntryDialog_swigregister", PasswordEntryDialog_swigregister
, METH_VARARGS
, NULL
},
31986 { (char *)"PasswordEntryDialog_swiginit", PasswordEntryDialog_swiginit
, METH_VARARGS
, NULL
},
31987 { (char *)"new_NumberEntryDialog", (PyCFunction
) _wrap_new_NumberEntryDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31988 { (char *)"NumberEntryDialog_GetValue", (PyCFunction
)_wrap_NumberEntryDialog_GetValue
, METH_O
, NULL
},
31989 { (char *)"NumberEntryDialog_swigregister", NumberEntryDialog_swigregister
, METH_VARARGS
, NULL
},
31990 { (char *)"NumberEntryDialog_swiginit", NumberEntryDialog_swiginit
, METH_VARARGS
, NULL
},
31991 { (char *)"new_FontData", (PyCFunction
)_wrap_new_FontData
, METH_NOARGS
, NULL
},
31992 { (char *)"delete_FontData", (PyCFunction
)_wrap_delete_FontData
, METH_O
, NULL
},
31993 { (char *)"FontData_EnableEffects", (PyCFunction
) _wrap_FontData_EnableEffects
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31994 { (char *)"FontData_GetAllowSymbols", (PyCFunction
)_wrap_FontData_GetAllowSymbols
, METH_O
, NULL
},
31995 { (char *)"FontData_GetColour", (PyCFunction
)_wrap_FontData_GetColour
, METH_O
, NULL
},
31996 { (char *)"FontData_GetChosenFont", (PyCFunction
)_wrap_FontData_GetChosenFont
, METH_O
, NULL
},
31997 { (char *)"FontData_GetEnableEffects", (PyCFunction
)_wrap_FontData_GetEnableEffects
, METH_O
, NULL
},
31998 { (char *)"FontData_GetInitialFont", (PyCFunction
)_wrap_FontData_GetInitialFont
, METH_O
, NULL
},
31999 { (char *)"FontData_GetShowHelp", (PyCFunction
)_wrap_FontData_GetShowHelp
, METH_O
, NULL
},
32000 { (char *)"FontData_SetAllowSymbols", (PyCFunction
) _wrap_FontData_SetAllowSymbols
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32001 { (char *)"FontData_SetChosenFont", (PyCFunction
) _wrap_FontData_SetChosenFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32002 { (char *)"FontData_SetColour", (PyCFunction
) _wrap_FontData_SetColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32003 { (char *)"FontData_SetInitialFont", (PyCFunction
) _wrap_FontData_SetInitialFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32004 { (char *)"FontData_SetRange", (PyCFunction
) _wrap_FontData_SetRange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32005 { (char *)"FontData_SetShowHelp", (PyCFunction
) _wrap_FontData_SetShowHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32006 { (char *)"FontData_swigregister", FontData_swigregister
, METH_VARARGS
, NULL
},
32007 { (char *)"FontData_swiginit", FontData_swiginit
, METH_VARARGS
, NULL
},
32008 { (char *)"new_FontDialog", (PyCFunction
) _wrap_new_FontDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32009 { (char *)"FontDialog_GetFontData", (PyCFunction
)_wrap_FontDialog_GetFontData
, METH_O
, NULL
},
32010 { (char *)"FontDialog_swigregister", FontDialog_swigregister
, METH_VARARGS
, NULL
},
32011 { (char *)"FontDialog_swiginit", FontDialog_swiginit
, METH_VARARGS
, NULL
},
32012 { (char *)"GetFontFromUser", (PyCFunction
) _wrap_GetFontFromUser
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32013 { (char *)"new_MessageDialog", (PyCFunction
) _wrap_new_MessageDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32014 { (char *)"MessageDialog_swigregister", MessageDialog_swigregister
, METH_VARARGS
, NULL
},
32015 { (char *)"MessageDialog_swiginit", MessageDialog_swiginit
, METH_VARARGS
, NULL
},
32016 { (char *)"new_ProgressDialog", (PyCFunction
) _wrap_new_ProgressDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32017 { (char *)"ProgressDialog_Update", (PyCFunction
) _wrap_ProgressDialog_Update
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32018 { (char *)"ProgressDialog_Pulse", (PyCFunction
) _wrap_ProgressDialog_Pulse
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32019 { (char *)"ProgressDialog_Resume", (PyCFunction
)_wrap_ProgressDialog_Resume
, METH_O
, NULL
},
32020 { (char *)"ProgressDialog_swigregister", ProgressDialog_swigregister
, METH_VARARGS
, NULL
},
32021 { (char *)"ProgressDialog_swiginit", ProgressDialog_swiginit
, METH_VARARGS
, NULL
},
32022 { (char *)"new_FindDialogEvent", (PyCFunction
) _wrap_new_FindDialogEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32023 { (char *)"FindDialogEvent_GetFlags", (PyCFunction
)_wrap_FindDialogEvent_GetFlags
, METH_O
, NULL
},
32024 { (char *)"FindDialogEvent_GetFindString", (PyCFunction
)_wrap_FindDialogEvent_GetFindString
, METH_O
, NULL
},
32025 { (char *)"FindDialogEvent_GetReplaceString", (PyCFunction
)_wrap_FindDialogEvent_GetReplaceString
, METH_O
, NULL
},
32026 { (char *)"FindDialogEvent_GetDialog", (PyCFunction
)_wrap_FindDialogEvent_GetDialog
, METH_O
, NULL
},
32027 { (char *)"FindDialogEvent_SetFlags", (PyCFunction
) _wrap_FindDialogEvent_SetFlags
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32028 { (char *)"FindDialogEvent_SetFindString", (PyCFunction
) _wrap_FindDialogEvent_SetFindString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32029 { (char *)"FindDialogEvent_SetReplaceString", (PyCFunction
) _wrap_FindDialogEvent_SetReplaceString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32030 { (char *)"FindDialogEvent_swigregister", FindDialogEvent_swigregister
, METH_VARARGS
, NULL
},
32031 { (char *)"FindDialogEvent_swiginit", FindDialogEvent_swiginit
, METH_VARARGS
, NULL
},
32032 { (char *)"new_FindReplaceData", (PyCFunction
) _wrap_new_FindReplaceData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32033 { (char *)"delete_FindReplaceData", (PyCFunction
)_wrap_delete_FindReplaceData
, METH_O
, NULL
},
32034 { (char *)"FindReplaceData_GetFindString", (PyCFunction
)_wrap_FindReplaceData_GetFindString
, METH_O
, NULL
},
32035 { (char *)"FindReplaceData_GetReplaceString", (PyCFunction
)_wrap_FindReplaceData_GetReplaceString
, METH_O
, NULL
},
32036 { (char *)"FindReplaceData_GetFlags", (PyCFunction
)_wrap_FindReplaceData_GetFlags
, METH_O
, NULL
},
32037 { (char *)"FindReplaceData_SetFlags", (PyCFunction
) _wrap_FindReplaceData_SetFlags
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32038 { (char *)"FindReplaceData_SetFindString", (PyCFunction
) _wrap_FindReplaceData_SetFindString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32039 { (char *)"FindReplaceData_SetReplaceString", (PyCFunction
) _wrap_FindReplaceData_SetReplaceString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32040 { (char *)"FindReplaceData_swigregister", FindReplaceData_swigregister
, METH_VARARGS
, NULL
},
32041 { (char *)"FindReplaceData_swiginit", FindReplaceData_swiginit
, METH_VARARGS
, NULL
},
32042 { (char *)"new_FindReplaceDialog", (PyCFunction
) _wrap_new_FindReplaceDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32043 { (char *)"new_PreFindReplaceDialog", (PyCFunction
)_wrap_new_PreFindReplaceDialog
, METH_NOARGS
, NULL
},
32044 { (char *)"FindReplaceDialog_Create", (PyCFunction
) _wrap_FindReplaceDialog_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32045 { (char *)"FindReplaceDialog_GetData", (PyCFunction
)_wrap_FindReplaceDialog_GetData
, METH_O
, NULL
},
32046 { (char *)"FindReplaceDialog_SetData", (PyCFunction
) _wrap_FindReplaceDialog_SetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32047 { (char *)"FindReplaceDialog_swigregister", FindReplaceDialog_swigregister
, METH_VARARGS
, NULL
},
32048 { (char *)"FindReplaceDialog_swiginit", FindReplaceDialog_swiginit
, METH_VARARGS
, NULL
},
32049 { (char *)"new_MDIParentFrame", (PyCFunction
) _wrap_new_MDIParentFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32050 { (char *)"new_PreMDIParentFrame", (PyCFunction
)_wrap_new_PreMDIParentFrame
, METH_NOARGS
, NULL
},
32051 { (char *)"MDIParentFrame_Create", (PyCFunction
) _wrap_MDIParentFrame_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32052 { (char *)"MDIParentFrame_ActivateNext", (PyCFunction
)_wrap_MDIParentFrame_ActivateNext
, METH_O
, NULL
},
32053 { (char *)"MDIParentFrame_ActivatePrevious", (PyCFunction
)_wrap_MDIParentFrame_ActivatePrevious
, METH_O
, NULL
},
32054 { (char *)"MDIParentFrame_ArrangeIcons", (PyCFunction
)_wrap_MDIParentFrame_ArrangeIcons
, METH_O
, NULL
},
32055 { (char *)"MDIParentFrame_Cascade", (PyCFunction
)_wrap_MDIParentFrame_Cascade
, METH_O
, NULL
},
32056 { (char *)"MDIParentFrame_GetActiveChild", (PyCFunction
)_wrap_MDIParentFrame_GetActiveChild
, METH_O
, NULL
},
32057 { (char *)"MDIParentFrame_GetClientWindow", (PyCFunction
)_wrap_MDIParentFrame_GetClientWindow
, METH_O
, NULL
},
32058 { (char *)"MDIParentFrame_GetWindowMenu", (PyCFunction
)_wrap_MDIParentFrame_GetWindowMenu
, METH_O
, NULL
},
32059 { (char *)"MDIParentFrame_SetWindowMenu", (PyCFunction
) _wrap_MDIParentFrame_SetWindowMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32060 { (char *)"MDIParentFrame_Tile", (PyCFunction
) _wrap_MDIParentFrame_Tile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32061 { (char *)"MDIParentFrame_swigregister", MDIParentFrame_swigregister
, METH_VARARGS
, NULL
},
32062 { (char *)"MDIParentFrame_swiginit", MDIParentFrame_swiginit
, METH_VARARGS
, NULL
},
32063 { (char *)"new_MDIChildFrame", (PyCFunction
) _wrap_new_MDIChildFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32064 { (char *)"new_PreMDIChildFrame", (PyCFunction
)_wrap_new_PreMDIChildFrame
, METH_NOARGS
, NULL
},
32065 { (char *)"MDIChildFrame_Create", (PyCFunction
) _wrap_MDIChildFrame_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32066 { (char *)"MDIChildFrame_Activate", (PyCFunction
)_wrap_MDIChildFrame_Activate
, METH_O
, NULL
},
32067 { (char *)"MDIChildFrame_swigregister", MDIChildFrame_swigregister
, METH_VARARGS
, NULL
},
32068 { (char *)"MDIChildFrame_swiginit", MDIChildFrame_swiginit
, METH_VARARGS
, NULL
},
32069 { (char *)"new_MDIClientWindow", (PyCFunction
) _wrap_new_MDIClientWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32070 { (char *)"new_PreMDIClientWindow", (PyCFunction
)_wrap_new_PreMDIClientWindow
, METH_NOARGS
, NULL
},
32071 { (char *)"MDIClientWindow_Create", (PyCFunction
) _wrap_MDIClientWindow_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32072 { (char *)"MDIClientWindow_swigregister", MDIClientWindow_swigregister
, METH_VARARGS
, NULL
},
32073 { (char *)"MDIClientWindow_swiginit", MDIClientWindow_swiginit
, METH_VARARGS
, NULL
},
32074 { (char *)"new_PyWindow", (PyCFunction
) _wrap_new_PyWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32075 { (char *)"new_PrePyWindow", (PyCFunction
)_wrap_new_PrePyWindow
, METH_NOARGS
, NULL
},
32076 { (char *)"PyWindow__setCallbackInfo", (PyCFunction
) _wrap_PyWindow__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32077 { (char *)"PyWindow_DoEraseBackground", (PyCFunction
) _wrap_PyWindow_DoEraseBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32078 { (char *)"PyWindow_DoMoveWindow", (PyCFunction
) _wrap_PyWindow_DoMoveWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32079 { (char *)"PyWindow_DoSetSize", (PyCFunction
) _wrap_PyWindow_DoSetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32080 { (char *)"PyWindow_DoSetClientSize", (PyCFunction
) _wrap_PyWindow_DoSetClientSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32081 { (char *)"PyWindow_DoSetVirtualSize", (PyCFunction
) _wrap_PyWindow_DoSetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32082 { (char *)"PyWindow_DoGetSize", (PyCFunction
)_wrap_PyWindow_DoGetSize
, METH_O
, NULL
},
32083 { (char *)"PyWindow_DoGetClientSize", (PyCFunction
)_wrap_PyWindow_DoGetClientSize
, METH_O
, NULL
},
32084 { (char *)"PyWindow_DoGetPosition", (PyCFunction
)_wrap_PyWindow_DoGetPosition
, METH_O
, NULL
},
32085 { (char *)"PyWindow_DoGetVirtualSize", (PyCFunction
)_wrap_PyWindow_DoGetVirtualSize
, METH_O
, NULL
},
32086 { (char *)"PyWindow_DoGetBestSize", (PyCFunction
)_wrap_PyWindow_DoGetBestSize
, METH_O
, NULL
},
32087 { (char *)"PyWindow_GetDefaultAttributes", (PyCFunction
)_wrap_PyWindow_GetDefaultAttributes
, METH_O
, NULL
},
32088 { (char *)"PyWindow_OnInternalIdle", (PyCFunction
)_wrap_PyWindow_OnInternalIdle
, METH_O
, NULL
},
32089 { (char *)"PyWindow_swigregister", PyWindow_swigregister
, METH_VARARGS
, NULL
},
32090 { (char *)"PyWindow_swiginit", PyWindow_swiginit
, METH_VARARGS
, NULL
},
32091 { (char *)"new_PyPanel", (PyCFunction
) _wrap_new_PyPanel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32092 { (char *)"new_PrePyPanel", (PyCFunction
)_wrap_new_PrePyPanel
, METH_NOARGS
, NULL
},
32093 { (char *)"PyPanel__setCallbackInfo", (PyCFunction
) _wrap_PyPanel__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32094 { (char *)"PyPanel_DoEraseBackground", (PyCFunction
) _wrap_PyPanel_DoEraseBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32095 { (char *)"PyPanel_DoMoveWindow", (PyCFunction
) _wrap_PyPanel_DoMoveWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32096 { (char *)"PyPanel_DoSetSize", (PyCFunction
) _wrap_PyPanel_DoSetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32097 { (char *)"PyPanel_DoSetClientSize", (PyCFunction
) _wrap_PyPanel_DoSetClientSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32098 { (char *)"PyPanel_DoSetVirtualSize", (PyCFunction
) _wrap_PyPanel_DoSetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32099 { (char *)"PyPanel_DoGetSize", (PyCFunction
)_wrap_PyPanel_DoGetSize
, METH_O
, NULL
},
32100 { (char *)"PyPanel_DoGetClientSize", (PyCFunction
)_wrap_PyPanel_DoGetClientSize
, METH_O
, NULL
},
32101 { (char *)"PyPanel_DoGetPosition", (PyCFunction
)_wrap_PyPanel_DoGetPosition
, METH_O
, NULL
},
32102 { (char *)"PyPanel_DoGetVirtualSize", (PyCFunction
)_wrap_PyPanel_DoGetVirtualSize
, METH_O
, NULL
},
32103 { (char *)"PyPanel_DoGetBestSize", (PyCFunction
)_wrap_PyPanel_DoGetBestSize
, METH_O
, NULL
},
32104 { (char *)"PyPanel_GetDefaultAttributes", (PyCFunction
)_wrap_PyPanel_GetDefaultAttributes
, METH_O
, NULL
},
32105 { (char *)"PyPanel_OnInternalIdle", (PyCFunction
)_wrap_PyPanel_OnInternalIdle
, METH_O
, NULL
},
32106 { (char *)"PyPanel_swigregister", PyPanel_swigregister
, METH_VARARGS
, NULL
},
32107 { (char *)"PyPanel_swiginit", PyPanel_swiginit
, METH_VARARGS
, NULL
},
32108 { (char *)"new_PyScrolledWindow", (PyCFunction
) _wrap_new_PyScrolledWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32109 { (char *)"new_PrePyScrolledWindow", (PyCFunction
)_wrap_new_PrePyScrolledWindow
, METH_NOARGS
, NULL
},
32110 { (char *)"PyScrolledWindow__setCallbackInfo", (PyCFunction
) _wrap_PyScrolledWindow__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32111 { (char *)"PyScrolledWindow_DoEraseBackground", (PyCFunction
) _wrap_PyScrolledWindow_DoEraseBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32112 { (char *)"PyScrolledWindow_DoMoveWindow", (PyCFunction
) _wrap_PyScrolledWindow_DoMoveWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32113 { (char *)"PyScrolledWindow_DoSetSize", (PyCFunction
) _wrap_PyScrolledWindow_DoSetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32114 { (char *)"PyScrolledWindow_DoSetClientSize", (PyCFunction
) _wrap_PyScrolledWindow_DoSetClientSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32115 { (char *)"PyScrolledWindow_DoSetVirtualSize", (PyCFunction
) _wrap_PyScrolledWindow_DoSetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32116 { (char *)"PyScrolledWindow_DoGetSize", (PyCFunction
)_wrap_PyScrolledWindow_DoGetSize
, METH_O
, NULL
},
32117 { (char *)"PyScrolledWindow_DoGetClientSize", (PyCFunction
)_wrap_PyScrolledWindow_DoGetClientSize
, METH_O
, NULL
},
32118 { (char *)"PyScrolledWindow_DoGetPosition", (PyCFunction
)_wrap_PyScrolledWindow_DoGetPosition
, METH_O
, NULL
},
32119 { (char *)"PyScrolledWindow_DoGetVirtualSize", (PyCFunction
)_wrap_PyScrolledWindow_DoGetVirtualSize
, METH_O
, NULL
},
32120 { (char *)"PyScrolledWindow_DoGetBestSize", (PyCFunction
)_wrap_PyScrolledWindow_DoGetBestSize
, METH_O
, NULL
},
32121 { (char *)"PyScrolledWindow_GetDefaultAttributes", (PyCFunction
)_wrap_PyScrolledWindow_GetDefaultAttributes
, METH_O
, NULL
},
32122 { (char *)"PyScrolledWindow_OnInternalIdle", (PyCFunction
)_wrap_PyScrolledWindow_OnInternalIdle
, METH_O
, NULL
},
32123 { (char *)"PyScrolledWindow_swigregister", PyScrolledWindow_swigregister
, METH_VARARGS
, NULL
},
32124 { (char *)"PyScrolledWindow_swiginit", PyScrolledWindow_swiginit
, METH_VARARGS
, NULL
},
32125 { (char *)"new_PrintData", _wrap_new_PrintData
, METH_VARARGS
, NULL
},
32126 { (char *)"delete_PrintData", (PyCFunction
)_wrap_delete_PrintData
, METH_O
, NULL
},
32127 { (char *)"PrintData_GetNoCopies", (PyCFunction
)_wrap_PrintData_GetNoCopies
, METH_O
, NULL
},
32128 { (char *)"PrintData_GetCollate", (PyCFunction
)_wrap_PrintData_GetCollate
, METH_O
, NULL
},
32129 { (char *)"PrintData_GetOrientation", (PyCFunction
)_wrap_PrintData_GetOrientation
, METH_O
, NULL
},
32130 { (char *)"PrintData_IsOrientationReversed", (PyCFunction
)_wrap_PrintData_IsOrientationReversed
, METH_O
, NULL
},
32131 { (char *)"PrintData_IsOk", (PyCFunction
)_wrap_PrintData_IsOk
, METH_O
, NULL
},
32132 { (char *)"PrintData_GetPrinterName", (PyCFunction
)_wrap_PrintData_GetPrinterName
, METH_O
, NULL
},
32133 { (char *)"PrintData_GetColour", (PyCFunction
)_wrap_PrintData_GetColour
, METH_O
, NULL
},
32134 { (char *)"PrintData_GetDuplex", (PyCFunction
)_wrap_PrintData_GetDuplex
, METH_O
, NULL
},
32135 { (char *)"PrintData_GetPaperId", (PyCFunction
)_wrap_PrintData_GetPaperId
, METH_O
, NULL
},
32136 { (char *)"PrintData_GetPaperSize", (PyCFunction
)_wrap_PrintData_GetPaperSize
, METH_O
, NULL
},
32137 { (char *)"PrintData_GetQuality", (PyCFunction
)_wrap_PrintData_GetQuality
, METH_O
, NULL
},
32138 { (char *)"PrintData_GetBin", (PyCFunction
)_wrap_PrintData_GetBin
, METH_O
, NULL
},
32139 { (char *)"PrintData_GetPrintMode", (PyCFunction
)_wrap_PrintData_GetPrintMode
, METH_O
, NULL
},
32140 { (char *)"PrintData_GetMedia", (PyCFunction
)_wrap_PrintData_GetMedia
, METH_O
, NULL
},
32141 { (char *)"PrintData_SetNoCopies", (PyCFunction
) _wrap_PrintData_SetNoCopies
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32142 { (char *)"PrintData_SetCollate", (PyCFunction
) _wrap_PrintData_SetCollate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32143 { (char *)"PrintData_SetOrientation", (PyCFunction
) _wrap_PrintData_SetOrientation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32144 { (char *)"PrintData_SetOrientationReversed", (PyCFunction
) _wrap_PrintData_SetOrientationReversed
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32145 { (char *)"PrintData_SetPrinterName", (PyCFunction
) _wrap_PrintData_SetPrinterName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32146 { (char *)"PrintData_SetColour", (PyCFunction
) _wrap_PrintData_SetColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32147 { (char *)"PrintData_SetDuplex", (PyCFunction
) _wrap_PrintData_SetDuplex
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32148 { (char *)"PrintData_SetPaperId", (PyCFunction
) _wrap_PrintData_SetPaperId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32149 { (char *)"PrintData_SetPaperSize", (PyCFunction
) _wrap_PrintData_SetPaperSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32150 { (char *)"PrintData_SetQuality", (PyCFunction
) _wrap_PrintData_SetQuality
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32151 { (char *)"PrintData_SetBin", (PyCFunction
) _wrap_PrintData_SetBin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32152 { (char *)"PrintData_SetPrintMode", (PyCFunction
) _wrap_PrintData_SetPrintMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32153 { (char *)"PrintData_SetMedia", (PyCFunction
) _wrap_PrintData_SetMedia
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32154 { (char *)"PrintData_GetFilename", (PyCFunction
)_wrap_PrintData_GetFilename
, METH_O
, NULL
},
32155 { (char *)"PrintData_SetFilename", (PyCFunction
) _wrap_PrintData_SetFilename
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32156 { (char *)"PrintData_GetPrivData", (PyCFunction
)_wrap_PrintData_GetPrivData
, METH_O
, NULL
},
32157 { (char *)"PrintData_SetPrivData", (PyCFunction
) _wrap_PrintData_SetPrivData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32158 { (char *)"PrintData_swigregister", PrintData_swigregister
, METH_VARARGS
, NULL
},
32159 { (char *)"PrintData_swiginit", PrintData_swiginit
, METH_VARARGS
, NULL
},
32160 { (char *)"new_PageSetupDialogData", _wrap_new_PageSetupDialogData
, METH_VARARGS
, NULL
},
32161 { (char *)"delete_PageSetupDialogData", (PyCFunction
)_wrap_delete_PageSetupDialogData
, METH_O
, NULL
},
32162 { (char *)"PageSetupDialogData_EnableHelp", (PyCFunction
) _wrap_PageSetupDialogData_EnableHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32163 { (char *)"PageSetupDialogData_EnableMargins", (PyCFunction
) _wrap_PageSetupDialogData_EnableMargins
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32164 { (char *)"PageSetupDialogData_EnableOrientation", (PyCFunction
) _wrap_PageSetupDialogData_EnableOrientation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32165 { (char *)"PageSetupDialogData_EnablePaper", (PyCFunction
) _wrap_PageSetupDialogData_EnablePaper
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32166 { (char *)"PageSetupDialogData_EnablePrinter", (PyCFunction
) _wrap_PageSetupDialogData_EnablePrinter
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32167 { (char *)"PageSetupDialogData_GetDefaultMinMargins", (PyCFunction
)_wrap_PageSetupDialogData_GetDefaultMinMargins
, METH_O
, NULL
},
32168 { (char *)"PageSetupDialogData_GetEnableMargins", (PyCFunction
)_wrap_PageSetupDialogData_GetEnableMargins
, METH_O
, NULL
},
32169 { (char *)"PageSetupDialogData_GetEnableOrientation", (PyCFunction
)_wrap_PageSetupDialogData_GetEnableOrientation
, METH_O
, NULL
},
32170 { (char *)"PageSetupDialogData_GetEnablePaper", (PyCFunction
)_wrap_PageSetupDialogData_GetEnablePaper
, METH_O
, NULL
},
32171 { (char *)"PageSetupDialogData_GetEnablePrinter", (PyCFunction
)_wrap_PageSetupDialogData_GetEnablePrinter
, METH_O
, NULL
},
32172 { (char *)"PageSetupDialogData_GetEnableHelp", (PyCFunction
)_wrap_PageSetupDialogData_GetEnableHelp
, METH_O
, NULL
},
32173 { (char *)"PageSetupDialogData_GetDefaultInfo", (PyCFunction
)_wrap_PageSetupDialogData_GetDefaultInfo
, METH_O
, NULL
},
32174 { (char *)"PageSetupDialogData_GetMarginTopLeft", (PyCFunction
)_wrap_PageSetupDialogData_GetMarginTopLeft
, METH_O
, NULL
},
32175 { (char *)"PageSetupDialogData_GetMarginBottomRight", (PyCFunction
)_wrap_PageSetupDialogData_GetMarginBottomRight
, METH_O
, NULL
},
32176 { (char *)"PageSetupDialogData_GetMinMarginTopLeft", (PyCFunction
)_wrap_PageSetupDialogData_GetMinMarginTopLeft
, METH_O
, NULL
},
32177 { (char *)"PageSetupDialogData_GetMinMarginBottomRight", (PyCFunction
)_wrap_PageSetupDialogData_GetMinMarginBottomRight
, METH_O
, NULL
},
32178 { (char *)"PageSetupDialogData_GetPaperId", (PyCFunction
)_wrap_PageSetupDialogData_GetPaperId
, METH_O
, NULL
},
32179 { (char *)"PageSetupDialogData_GetPaperSize", (PyCFunction
)_wrap_PageSetupDialogData_GetPaperSize
, METH_O
, NULL
},
32180 { (char *)"PageSetupDialogData_GetPrintData", (PyCFunction
)_wrap_PageSetupDialogData_GetPrintData
, METH_O
, NULL
},
32181 { (char *)"PageSetupDialogData_IsOk", (PyCFunction
)_wrap_PageSetupDialogData_IsOk
, METH_O
, NULL
},
32182 { (char *)"PageSetupDialogData_SetDefaultInfo", (PyCFunction
) _wrap_PageSetupDialogData_SetDefaultInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32183 { (char *)"PageSetupDialogData_SetDefaultMinMargins", (PyCFunction
) _wrap_PageSetupDialogData_SetDefaultMinMargins
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32184 { (char *)"PageSetupDialogData_SetMarginTopLeft", (PyCFunction
) _wrap_PageSetupDialogData_SetMarginTopLeft
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32185 { (char *)"PageSetupDialogData_SetMarginBottomRight", (PyCFunction
) _wrap_PageSetupDialogData_SetMarginBottomRight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32186 { (char *)"PageSetupDialogData_SetMinMarginTopLeft", (PyCFunction
) _wrap_PageSetupDialogData_SetMinMarginTopLeft
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32187 { (char *)"PageSetupDialogData_SetMinMarginBottomRight", (PyCFunction
) _wrap_PageSetupDialogData_SetMinMarginBottomRight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32188 { (char *)"PageSetupDialogData_SetPaperId", (PyCFunction
) _wrap_PageSetupDialogData_SetPaperId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32189 { (char *)"PageSetupDialogData_SetPaperSize", (PyCFunction
) _wrap_PageSetupDialogData_SetPaperSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32190 { (char *)"PageSetupDialogData_SetPrintData", (PyCFunction
) _wrap_PageSetupDialogData_SetPrintData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32191 { (char *)"PageSetupDialogData_CalculateIdFromPaperSize", (PyCFunction
)_wrap_PageSetupDialogData_CalculateIdFromPaperSize
, METH_O
, NULL
},
32192 { (char *)"PageSetupDialogData_CalculatePaperSizeFromId", (PyCFunction
)_wrap_PageSetupDialogData_CalculatePaperSizeFromId
, METH_O
, NULL
},
32193 { (char *)"PageSetupDialogData_swigregister", PageSetupDialogData_swigregister
, METH_VARARGS
, NULL
},
32194 { (char *)"PageSetupDialogData_swiginit", PageSetupDialogData_swiginit
, METH_VARARGS
, NULL
},
32195 { (char *)"new_PageSetupDialog", (PyCFunction
) _wrap_new_PageSetupDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32196 { (char *)"delete_PageSetupDialog", (PyCFunction
)_wrap_delete_PageSetupDialog
, METH_O
, NULL
},
32197 { (char *)"PageSetupDialog_GetPageSetupData", (PyCFunction
)_wrap_PageSetupDialog_GetPageSetupData
, METH_O
, NULL
},
32198 { (char *)"PageSetupDialog_GetPageSetupDialogData", (PyCFunction
)_wrap_PageSetupDialog_GetPageSetupDialogData
, METH_O
, NULL
},
32199 { (char *)"PageSetupDialog_ShowModal", (PyCFunction
)_wrap_PageSetupDialog_ShowModal
, METH_O
, NULL
},
32200 { (char *)"PageSetupDialog_swigregister", PageSetupDialog_swigregister
, METH_VARARGS
, NULL
},
32201 { (char *)"PageSetupDialog_swiginit", PageSetupDialog_swiginit
, METH_VARARGS
, NULL
},
32202 { (char *)"new_PrintDialogData", _wrap_new_PrintDialogData
, METH_VARARGS
, NULL
},
32203 { (char *)"delete_PrintDialogData", (PyCFunction
)_wrap_delete_PrintDialogData
, METH_O
, NULL
},
32204 { (char *)"PrintDialogData_GetFromPage", (PyCFunction
)_wrap_PrintDialogData_GetFromPage
, METH_O
, NULL
},
32205 { (char *)"PrintDialogData_GetToPage", (PyCFunction
)_wrap_PrintDialogData_GetToPage
, METH_O
, NULL
},
32206 { (char *)"PrintDialogData_GetMinPage", (PyCFunction
)_wrap_PrintDialogData_GetMinPage
, METH_O
, NULL
},
32207 { (char *)"PrintDialogData_GetMaxPage", (PyCFunction
)_wrap_PrintDialogData_GetMaxPage
, METH_O
, NULL
},
32208 { (char *)"PrintDialogData_GetNoCopies", (PyCFunction
)_wrap_PrintDialogData_GetNoCopies
, METH_O
, NULL
},
32209 { (char *)"PrintDialogData_GetAllPages", (PyCFunction
)_wrap_PrintDialogData_GetAllPages
, METH_O
, NULL
},
32210 { (char *)"PrintDialogData_GetSelection", (PyCFunction
)_wrap_PrintDialogData_GetSelection
, METH_O
, NULL
},
32211 { (char *)"PrintDialogData_GetCollate", (PyCFunction
)_wrap_PrintDialogData_GetCollate
, METH_O
, NULL
},
32212 { (char *)"PrintDialogData_GetPrintToFile", (PyCFunction
)_wrap_PrintDialogData_GetPrintToFile
, METH_O
, NULL
},
32213 { (char *)"PrintDialogData_SetFromPage", (PyCFunction
) _wrap_PrintDialogData_SetFromPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32214 { (char *)"PrintDialogData_SetToPage", (PyCFunction
) _wrap_PrintDialogData_SetToPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32215 { (char *)"PrintDialogData_SetMinPage", (PyCFunction
) _wrap_PrintDialogData_SetMinPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32216 { (char *)"PrintDialogData_SetMaxPage", (PyCFunction
) _wrap_PrintDialogData_SetMaxPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32217 { (char *)"PrintDialogData_SetNoCopies", (PyCFunction
) _wrap_PrintDialogData_SetNoCopies
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32218 { (char *)"PrintDialogData_SetAllPages", (PyCFunction
) _wrap_PrintDialogData_SetAllPages
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32219 { (char *)"PrintDialogData_SetSelection", (PyCFunction
) _wrap_PrintDialogData_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32220 { (char *)"PrintDialogData_SetCollate", (PyCFunction
) _wrap_PrintDialogData_SetCollate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32221 { (char *)"PrintDialogData_SetPrintToFile", (PyCFunction
) _wrap_PrintDialogData_SetPrintToFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32222 { (char *)"PrintDialogData_EnablePrintToFile", (PyCFunction
) _wrap_PrintDialogData_EnablePrintToFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32223 { (char *)"PrintDialogData_EnableSelection", (PyCFunction
) _wrap_PrintDialogData_EnableSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32224 { (char *)"PrintDialogData_EnablePageNumbers", (PyCFunction
) _wrap_PrintDialogData_EnablePageNumbers
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32225 { (char *)"PrintDialogData_EnableHelp", (PyCFunction
) _wrap_PrintDialogData_EnableHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32226 { (char *)"PrintDialogData_GetEnablePrintToFile", (PyCFunction
)_wrap_PrintDialogData_GetEnablePrintToFile
, METH_O
, NULL
},
32227 { (char *)"PrintDialogData_GetEnableSelection", (PyCFunction
)_wrap_PrintDialogData_GetEnableSelection
, METH_O
, NULL
},
32228 { (char *)"PrintDialogData_GetEnablePageNumbers", (PyCFunction
)_wrap_PrintDialogData_GetEnablePageNumbers
, METH_O
, NULL
},
32229 { (char *)"PrintDialogData_GetEnableHelp", (PyCFunction
)_wrap_PrintDialogData_GetEnableHelp
, METH_O
, NULL
},
32230 { (char *)"PrintDialogData_IsOk", (PyCFunction
)_wrap_PrintDialogData_IsOk
, METH_O
, NULL
},
32231 { (char *)"PrintDialogData_GetPrintData", (PyCFunction
)_wrap_PrintDialogData_GetPrintData
, METH_O
, NULL
},
32232 { (char *)"PrintDialogData_SetPrintData", (PyCFunction
) _wrap_PrintDialogData_SetPrintData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32233 { (char *)"PrintDialogData_swigregister", PrintDialogData_swigregister
, METH_VARARGS
, NULL
},
32234 { (char *)"PrintDialogData_swiginit", PrintDialogData_swiginit
, METH_VARARGS
, NULL
},
32235 { (char *)"new_PrintDialog", (PyCFunction
) _wrap_new_PrintDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32236 { (char *)"delete_PrintDialog", (PyCFunction
)_wrap_delete_PrintDialog
, METH_O
, NULL
},
32237 { (char *)"PrintDialog_ShowModal", (PyCFunction
)_wrap_PrintDialog_ShowModal
, METH_O
, NULL
},
32238 { (char *)"PrintDialog_GetPrintDialogData", (PyCFunction
)_wrap_PrintDialog_GetPrintDialogData
, METH_O
, NULL
},
32239 { (char *)"PrintDialog_GetPrintData", (PyCFunction
)_wrap_PrintDialog_GetPrintData
, METH_O
, NULL
},
32240 { (char *)"PrintDialog_GetPrintDC", (PyCFunction
)_wrap_PrintDialog_GetPrintDC
, METH_O
, NULL
},
32241 { (char *)"PrintDialog_swigregister", PrintDialog_swigregister
, METH_VARARGS
, NULL
},
32242 { (char *)"PrintDialog_swiginit", PrintDialog_swiginit
, METH_VARARGS
, NULL
},
32243 { (char *)"new_Printer", (PyCFunction
) _wrap_new_Printer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32244 { (char *)"delete_Printer", (PyCFunction
)_wrap_delete_Printer
, METH_O
, NULL
},
32245 { (char *)"Printer_CreateAbortWindow", (PyCFunction
) _wrap_Printer_CreateAbortWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32246 { (char *)"Printer_ReportError", (PyCFunction
) _wrap_Printer_ReportError
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32247 { (char *)"Printer_Setup", (PyCFunction
) _wrap_Printer_Setup
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32248 { (char *)"Printer_Print", (PyCFunction
) _wrap_Printer_Print
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32249 { (char *)"Printer_PrintDialog", (PyCFunction
) _wrap_Printer_PrintDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32250 { (char *)"Printer_GetPrintDialogData", (PyCFunction
)_wrap_Printer_GetPrintDialogData
, METH_O
, NULL
},
32251 { (char *)"Printer_GetAbort", (PyCFunction
)_wrap_Printer_GetAbort
, METH_O
, NULL
},
32252 { (char *)"Printer_GetLastError", (PyCFunction
)_wrap_Printer_GetLastError
, METH_NOARGS
, NULL
},
32253 { (char *)"Printer_swigregister", Printer_swigregister
, METH_VARARGS
, NULL
},
32254 { (char *)"Printer_swiginit", Printer_swiginit
, METH_VARARGS
, NULL
},
32255 { (char *)"new_Printout", (PyCFunction
) _wrap_new_Printout
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32256 { (char *)"delete_Printout", (PyCFunction
)_wrap_delete_Printout
, METH_O
, NULL
},
32257 { (char *)"Printout__setCallbackInfo", (PyCFunction
) _wrap_Printout__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32258 { (char *)"Printout_GetTitle", (PyCFunction
)_wrap_Printout_GetTitle
, METH_O
, NULL
},
32259 { (char *)"Printout_GetDC", (PyCFunction
)_wrap_Printout_GetDC
, METH_O
, NULL
},
32260 { (char *)"Printout_SetDC", (PyCFunction
) _wrap_Printout_SetDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32261 { (char *)"Printout_FitThisSizeToPaper", (PyCFunction
) _wrap_Printout_FitThisSizeToPaper
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32262 { (char *)"Printout_FitThisSizeToPage", (PyCFunction
) _wrap_Printout_FitThisSizeToPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32263 { (char *)"Printout_FitThisSizeToPageMargins", (PyCFunction
) _wrap_Printout_FitThisSizeToPageMargins
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32264 { (char *)"Printout_MapScreenSizeToPaper", (PyCFunction
)_wrap_Printout_MapScreenSizeToPaper
, METH_O
, NULL
},
32265 { (char *)"Printout_MapScreenSizeToPage", (PyCFunction
)_wrap_Printout_MapScreenSizeToPage
, METH_O
, NULL
},
32266 { (char *)"Printout_MapScreenSizeToPageMargins", (PyCFunction
) _wrap_Printout_MapScreenSizeToPageMargins
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32267 { (char *)"Printout_MapScreenSizeToDevice", (PyCFunction
)_wrap_Printout_MapScreenSizeToDevice
, METH_O
, NULL
},
32268 { (char *)"Printout_GetLogicalPaperRect", (PyCFunction
)_wrap_Printout_GetLogicalPaperRect
, METH_O
, NULL
},
32269 { (char *)"Printout_GetLogicalPageRect", (PyCFunction
)_wrap_Printout_GetLogicalPageRect
, METH_O
, NULL
},
32270 { (char *)"Printout_GetLogicalPageMarginsRect", (PyCFunction
) _wrap_Printout_GetLogicalPageMarginsRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32271 { (char *)"Printout_SetLogicalOrigin", (PyCFunction
) _wrap_Printout_SetLogicalOrigin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32272 { (char *)"Printout_OffsetLogicalOrigin", (PyCFunction
) _wrap_Printout_OffsetLogicalOrigin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32273 { (char *)"Printout_SetPageSizePixels", (PyCFunction
) _wrap_Printout_SetPageSizePixels
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32274 { (char *)"Printout_GetPageSizePixels", (PyCFunction
)_wrap_Printout_GetPageSizePixels
, METH_O
, NULL
},
32275 { (char *)"Printout_SetPageSizeMM", (PyCFunction
) _wrap_Printout_SetPageSizeMM
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32276 { (char *)"Printout_GetPageSizeMM", (PyCFunction
)_wrap_Printout_GetPageSizeMM
, METH_O
, NULL
},
32277 { (char *)"Printout_SetPPIScreen", (PyCFunction
) _wrap_Printout_SetPPIScreen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32278 { (char *)"Printout_GetPPIScreen", (PyCFunction
)_wrap_Printout_GetPPIScreen
, METH_O
, NULL
},
32279 { (char *)"Printout_SetPPIPrinter", (PyCFunction
) _wrap_Printout_SetPPIPrinter
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32280 { (char *)"Printout_GetPPIPrinter", (PyCFunction
)_wrap_Printout_GetPPIPrinter
, METH_O
, NULL
},
32281 { (char *)"Printout_SetPaperRectPixels", (PyCFunction
) _wrap_Printout_SetPaperRectPixels
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32282 { (char *)"Printout_GetPaperRectPixels", (PyCFunction
)_wrap_Printout_GetPaperRectPixels
, METH_O
, NULL
},
32283 { (char *)"Printout_IsPreview", (PyCFunction
)_wrap_Printout_IsPreview
, METH_O
, NULL
},
32284 { (char *)"Printout_SetIsPreview", (PyCFunction
) _wrap_Printout_SetIsPreview
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32285 { (char *)"Printout_OnBeginDocument", (PyCFunction
) _wrap_Printout_OnBeginDocument
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32286 { (char *)"Printout_OnEndDocument", (PyCFunction
)_wrap_Printout_OnEndDocument
, METH_O
, NULL
},
32287 { (char *)"Printout_OnBeginPrinting", (PyCFunction
)_wrap_Printout_OnBeginPrinting
, METH_O
, NULL
},
32288 { (char *)"Printout_OnEndPrinting", (PyCFunction
)_wrap_Printout_OnEndPrinting
, METH_O
, NULL
},
32289 { (char *)"Printout_OnPreparePrinting", (PyCFunction
)_wrap_Printout_OnPreparePrinting
, METH_O
, NULL
},
32290 { (char *)"Printout_HasPage", (PyCFunction
) _wrap_Printout_HasPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32291 { (char *)"Printout_GetPageInfo", (PyCFunction
)_wrap_Printout_GetPageInfo
, METH_O
, NULL
},
32292 { (char *)"Printout_swigregister", Printout_swigregister
, METH_VARARGS
, NULL
},
32293 { (char *)"Printout_swiginit", Printout_swiginit
, METH_VARARGS
, NULL
},
32294 { (char *)"new_PreviewCanvas", (PyCFunction
) _wrap_new_PreviewCanvas
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32295 { (char *)"PreviewCanvas_swigregister", PreviewCanvas_swigregister
, METH_VARARGS
, NULL
},
32296 { (char *)"PreviewCanvas_swiginit", PreviewCanvas_swiginit
, METH_VARARGS
, NULL
},
32297 { (char *)"new_PreviewFrame", (PyCFunction
) _wrap_new_PreviewFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32298 { (char *)"PreviewFrame_Initialize", (PyCFunction
)_wrap_PreviewFrame_Initialize
, METH_O
, NULL
},
32299 { (char *)"PreviewFrame_CreateControlBar", (PyCFunction
)_wrap_PreviewFrame_CreateControlBar
, METH_O
, NULL
},
32300 { (char *)"PreviewFrame_CreateCanvas", (PyCFunction
)_wrap_PreviewFrame_CreateCanvas
, METH_O
, NULL
},
32301 { (char *)"PreviewFrame_GetControlBar", (PyCFunction
)_wrap_PreviewFrame_GetControlBar
, METH_O
, NULL
},
32302 { (char *)"PreviewFrame_swigregister", PreviewFrame_swigregister
, METH_VARARGS
, NULL
},
32303 { (char *)"PreviewFrame_swiginit", PreviewFrame_swiginit
, METH_VARARGS
, NULL
},
32304 { (char *)"new_PreviewControlBar", (PyCFunction
) _wrap_new_PreviewControlBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32305 { (char *)"PreviewControlBar_GetZoomControl", (PyCFunction
)_wrap_PreviewControlBar_GetZoomControl
, METH_O
, NULL
},
32306 { (char *)"PreviewControlBar_SetZoomControl", (PyCFunction
) _wrap_PreviewControlBar_SetZoomControl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32307 { (char *)"PreviewControlBar_GetPrintPreview", (PyCFunction
)_wrap_PreviewControlBar_GetPrintPreview
, METH_O
, NULL
},
32308 { (char *)"PreviewControlBar_OnNext", (PyCFunction
)_wrap_PreviewControlBar_OnNext
, METH_O
, NULL
},
32309 { (char *)"PreviewControlBar_OnPrevious", (PyCFunction
)_wrap_PreviewControlBar_OnPrevious
, METH_O
, NULL
},
32310 { (char *)"PreviewControlBar_OnFirst", (PyCFunction
)_wrap_PreviewControlBar_OnFirst
, METH_O
, NULL
},
32311 { (char *)"PreviewControlBar_OnLast", (PyCFunction
)_wrap_PreviewControlBar_OnLast
, METH_O
, NULL
},
32312 { (char *)"PreviewControlBar_OnGoto", (PyCFunction
)_wrap_PreviewControlBar_OnGoto
, METH_O
, NULL
},
32313 { (char *)"PreviewControlBar_swigregister", PreviewControlBar_swigregister
, METH_VARARGS
, NULL
},
32314 { (char *)"PreviewControlBar_swiginit", PreviewControlBar_swiginit
, METH_VARARGS
, NULL
},
32315 { (char *)"new_PrintPreview", _wrap_new_PrintPreview
, METH_VARARGS
, NULL
},
32316 { (char *)"delete_PrintPreview", (PyCFunction
)_wrap_delete_PrintPreview
, METH_O
, NULL
},
32317 { (char *)"PrintPreview_SetCurrentPage", (PyCFunction
) _wrap_PrintPreview_SetCurrentPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32318 { (char *)"PrintPreview_GetCurrentPage", (PyCFunction
)_wrap_PrintPreview_GetCurrentPage
, METH_O
, NULL
},
32319 { (char *)"PrintPreview_SetPrintout", (PyCFunction
) _wrap_PrintPreview_SetPrintout
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32320 { (char *)"PrintPreview_GetPrintout", (PyCFunction
)_wrap_PrintPreview_GetPrintout
, METH_O
, NULL
},
32321 { (char *)"PrintPreview_GetPrintoutForPrinting", (PyCFunction
)_wrap_PrintPreview_GetPrintoutForPrinting
, METH_O
, NULL
},
32322 { (char *)"PrintPreview_SetFrame", (PyCFunction
) _wrap_PrintPreview_SetFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32323 { (char *)"PrintPreview_SetCanvas", (PyCFunction
) _wrap_PrintPreview_SetCanvas
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32324 { (char *)"PrintPreview_GetFrame", (PyCFunction
)_wrap_PrintPreview_GetFrame
, METH_O
, NULL
},
32325 { (char *)"PrintPreview_GetCanvas", (PyCFunction
)_wrap_PrintPreview_GetCanvas
, METH_O
, NULL
},
32326 { (char *)"PrintPreview_PaintPage", (PyCFunction
) _wrap_PrintPreview_PaintPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32327 { (char *)"PrintPreview_DrawBlankPage", (PyCFunction
) _wrap_PrintPreview_DrawBlankPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32328 { (char *)"PrintPreview_RenderPage", (PyCFunction
) _wrap_PrintPreview_RenderPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32329 { (char *)"PrintPreview_AdjustScrollbars", (PyCFunction
) _wrap_PrintPreview_AdjustScrollbars
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32330 { (char *)"PrintPreview_GetPrintDialogData", (PyCFunction
)_wrap_PrintPreview_GetPrintDialogData
, METH_O
, NULL
},
32331 { (char *)"PrintPreview_SetZoom", (PyCFunction
) _wrap_PrintPreview_SetZoom
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32332 { (char *)"PrintPreview_GetZoom", (PyCFunction
)_wrap_PrintPreview_GetZoom
, METH_O
, NULL
},
32333 { (char *)"PrintPreview_GetMaxPage", (PyCFunction
)_wrap_PrintPreview_GetMaxPage
, METH_O
, NULL
},
32334 { (char *)"PrintPreview_GetMinPage", (PyCFunction
)_wrap_PrintPreview_GetMinPage
, METH_O
, NULL
},
32335 { (char *)"PrintPreview_IsOk", (PyCFunction
)_wrap_PrintPreview_IsOk
, METH_O
, NULL
},
32336 { (char *)"PrintPreview_SetOk", (PyCFunction
) _wrap_PrintPreview_SetOk
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32337 { (char *)"PrintPreview_Print", (PyCFunction
) _wrap_PrintPreview_Print
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32338 { (char *)"PrintPreview_DetermineScaling", (PyCFunction
)_wrap_PrintPreview_DetermineScaling
, METH_O
, NULL
},
32339 { (char *)"PrintPreview_swigregister", PrintPreview_swigregister
, METH_VARARGS
, NULL
},
32340 { (char *)"PrintPreview_swiginit", PrintPreview_swiginit
, METH_VARARGS
, NULL
},
32341 { (char *)"new_PyPrintPreview", _wrap_new_PyPrintPreview
, METH_VARARGS
, NULL
},
32342 { (char *)"PyPrintPreview__setCallbackInfo", (PyCFunction
) _wrap_PyPrintPreview__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32343 { (char *)"PyPrintPreview_swigregister", PyPrintPreview_swigregister
, METH_VARARGS
, NULL
},
32344 { (char *)"PyPrintPreview_swiginit", PyPrintPreview_swiginit
, METH_VARARGS
, NULL
},
32345 { (char *)"new_PyPreviewFrame", (PyCFunction
) _wrap_new_PyPreviewFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32346 { (char *)"PyPreviewFrame__setCallbackInfo", (PyCFunction
) _wrap_PyPreviewFrame__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32347 { (char *)"PyPreviewFrame_SetPreviewCanvas", (PyCFunction
) _wrap_PyPreviewFrame_SetPreviewCanvas
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32348 { (char *)"PyPreviewFrame_SetControlBar", (PyCFunction
) _wrap_PyPreviewFrame_SetControlBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32349 { (char *)"PyPreviewFrame_Initialize", (PyCFunction
)_wrap_PyPreviewFrame_Initialize
, METH_O
, NULL
},
32350 { (char *)"PyPreviewFrame_CreateCanvas", (PyCFunction
)_wrap_PyPreviewFrame_CreateCanvas
, METH_O
, NULL
},
32351 { (char *)"PyPreviewFrame_CreateControlBar", (PyCFunction
)_wrap_PyPreviewFrame_CreateControlBar
, METH_O
, NULL
},
32352 { (char *)"PyPreviewFrame_swigregister", PyPreviewFrame_swigregister
, METH_VARARGS
, NULL
},
32353 { (char *)"PyPreviewFrame_swiginit", PyPreviewFrame_swiginit
, METH_VARARGS
, NULL
},
32354 { (char *)"new_PyPreviewControlBar", (PyCFunction
) _wrap_new_PyPreviewControlBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32355 { (char *)"PyPreviewControlBar__setCallbackInfo", (PyCFunction
) _wrap_PyPreviewControlBar__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32356 { (char *)"PyPreviewControlBar_SetPrintPreview", (PyCFunction
) _wrap_PyPreviewControlBar_SetPrintPreview
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32357 { (char *)"PyPreviewControlBar_CreateButtons", (PyCFunction
)_wrap_PyPreviewControlBar_CreateButtons
, METH_O
, NULL
},
32358 { (char *)"PyPreviewControlBar_SetZoomControl", (PyCFunction
) _wrap_PyPreviewControlBar_SetZoomControl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32359 { (char *)"PyPreviewControlBar_swigregister", PyPreviewControlBar_swigregister
, METH_VARARGS
, NULL
},
32360 { (char *)"PyPreviewControlBar_swiginit", PyPreviewControlBar_swiginit
, METH_VARARGS
, NULL
},
32361 { NULL
, NULL
, 0, NULL
}
32365 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
32367 static void *_p_wxPyPreviewFrameTo_p_wxPreviewFrame(void *x
) {
32368 return (void *)((wxPreviewFrame
*) ((wxPyPreviewFrame
*) x
));
32370 static void *_p_wxContextMenuEventTo_p_wxEvent(void *x
) {
32371 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
32373 static void *_p_wxMenuEventTo_p_wxEvent(void *x
) {
32374 return (void *)((wxEvent
*) ((wxMenuEvent
*) x
));
32376 static void *_p_wxCloseEventTo_p_wxEvent(void *x
) {
32377 return (void *)((wxEvent
*) ((wxCloseEvent
*) x
));
32379 static void *_p_wxMouseEventTo_p_wxEvent(void *x
) {
32380 return (void *)((wxEvent
*) ((wxMouseEvent
*) x
));
32382 static void *_p_wxEraseEventTo_p_wxEvent(void *x
) {
32383 return (void *)((wxEvent
*) ((wxEraseEvent
*) x
));
32385 static void *_p_wxSetCursorEventTo_p_wxEvent(void *x
) {
32386 return (void *)((wxEvent
*) ((wxSetCursorEvent
*) x
));
32388 static void *_p_wxSplitterEventTo_p_wxEvent(void *x
) {
32389 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*) ((wxSplitterEvent
*) x
));
32391 static void *_p_wxInitDialogEventTo_p_wxEvent(void *x
) {
32392 return (void *)((wxEvent
*) ((wxInitDialogEvent
*) x
));
32394 static void *_p_wxScrollEventTo_p_wxEvent(void *x
) {
32395 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxScrollEvent
*) x
));
32397 static void *_p_wxFindDialogEventTo_p_wxEvent(void *x
) {
32398 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxFindDialogEvent
*) x
));
32400 static void *_p_wxNotifyEventTo_p_wxEvent(void *x
) {
32401 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxNotifyEvent
*) x
));
32403 static void *_p_wxMouseCaptureLostEventTo_p_wxEvent(void *x
) {
32404 return (void *)((wxEvent
*) ((wxMouseCaptureLostEvent
*) x
));
32406 static void *_p_wxPyEventTo_p_wxEvent(void *x
) {
32407 return (void *)((wxEvent
*) ((wxPyEvent
*) x
));
32409 static void *_p_wxCalculateLayoutEventTo_p_wxEvent(void *x
) {
32410 return (void *)((wxEvent
*) ((wxCalculateLayoutEvent
*) x
));
32412 static void *_p_wxIdleEventTo_p_wxEvent(void *x
) {
32413 return (void *)((wxEvent
*) ((wxIdleEvent
*) x
));
32415 static void *_p_wxWindowCreateEventTo_p_wxEvent(void *x
) {
32416 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
32418 static void *_p_wxQueryNewPaletteEventTo_p_wxEvent(void *x
) {
32419 return (void *)((wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
32421 static void *_p_wxMaximizeEventTo_p_wxEvent(void *x
) {
32422 return (void *)((wxEvent
*) ((wxMaximizeEvent
*) x
));
32424 static void *_p_wxIconizeEventTo_p_wxEvent(void *x
) {
32425 return (void *)((wxEvent
*) ((wxIconizeEvent
*) x
));
32427 static void *_p_wxActivateEventTo_p_wxEvent(void *x
) {
32428 return (void *)((wxEvent
*) ((wxActivateEvent
*) x
));
32430 static void *_p_wxSizeEventTo_p_wxEvent(void *x
) {
32431 return (void *)((wxEvent
*) ((wxSizeEvent
*) x
));
32433 static void *_p_wxMoveEventTo_p_wxEvent(void *x
) {
32434 return (void *)((wxEvent
*) ((wxMoveEvent
*) x
));
32436 static void *_p_wxDateEventTo_p_wxEvent(void *x
) {
32437 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxDateEvent
*) x
));
32439 static void *_p_wxPaintEventTo_p_wxEvent(void *x
) {
32440 return (void *)((wxEvent
*) ((wxPaintEvent
*) x
));
32442 static void *_p_wxNcPaintEventTo_p_wxEvent(void *x
) {
32443 return (void *)((wxEvent
*) ((wxNcPaintEvent
*) x
));
32445 static void *_p_wxClipboardTextEventTo_p_wxEvent(void *x
) {
32446 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxClipboardTextEvent
*) x
));
32448 static void *_p_wxUpdateUIEventTo_p_wxEvent(void *x
) {
32449 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
32451 static void *_p_wxPaletteChangedEventTo_p_wxEvent(void *x
) {
32452 return (void *)((wxEvent
*) ((wxPaletteChangedEvent
*) x
));
32454 static void *_p_wxDisplayChangedEventTo_p_wxEvent(void *x
) {
32455 return (void *)((wxEvent
*) ((wxDisplayChangedEvent
*) x
));
32457 static void *_p_wxMouseCaptureChangedEventTo_p_wxEvent(void *x
) {
32458 return (void *)((wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
32460 static void *_p_wxSysColourChangedEventTo_p_wxEvent(void *x
) {
32461 return (void *)((wxEvent
*) ((wxSysColourChangedEvent
*) x
));
32463 static void *_p_wxDropFilesEventTo_p_wxEvent(void *x
) {
32464 return (void *)((wxEvent
*) ((wxDropFilesEvent
*) x
));
32466 static void *_p_wxFocusEventTo_p_wxEvent(void *x
) {
32467 return (void *)((wxEvent
*) ((wxFocusEvent
*) x
));
32469 static void *_p_wxChildFocusEventTo_p_wxEvent(void *x
) {
32470 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
32472 static void *_p_wxSashEventTo_p_wxEvent(void *x
) {
32473 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxSashEvent
*) x
));
32475 static void *_p_wxQueryLayoutInfoEventTo_p_wxEvent(void *x
) {
32476 return (void *)((wxEvent
*) ((wxQueryLayoutInfoEvent
*) x
));
32478 static void *_p_wxShowEventTo_p_wxEvent(void *x
) {
32479 return (void *)((wxEvent
*) ((wxShowEvent
*) x
));
32481 static void *_p_wxCommandEventTo_p_wxEvent(void *x
) {
32482 return (void *)((wxEvent
*) ((wxCommandEvent
*) x
));
32484 static void *_p_wxPyCommandEventTo_p_wxEvent(void *x
) {
32485 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
32487 static void *_p_wxWindowDestroyEventTo_p_wxEvent(void *x
) {
32488 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
32490 static void *_p_wxNavigationKeyEventTo_p_wxEvent(void *x
) {
32491 return (void *)((wxEvent
*) ((wxNavigationKeyEvent
*) x
));
32493 static void *_p_wxKeyEventTo_p_wxEvent(void *x
) {
32494 return (void *)((wxEvent
*) ((wxKeyEvent
*) x
));
32496 static void *_p_wxScrollWinEventTo_p_wxEvent(void *x
) {
32497 return (void *)((wxEvent
*) ((wxScrollWinEvent
*) x
));
32499 static void *_p_wxTaskBarIconEventTo_p_wxEvent(void *x
) {
32500 return (void *)((wxEvent
*) ((wxTaskBarIconEvent
*) x
));
32502 static void *_p_wxSplitterEventTo_p_wxNotifyEvent(void *x
) {
32503 return (void *)((wxNotifyEvent
*) ((wxSplitterEvent
*) x
));
32505 static void *_p_wxPasswordEntryDialogTo_p_wxTextEntryDialog(void *x
) {
32506 return (void *)((wxTextEntryDialog
*) ((wxPasswordEntryDialog
*) x
));
32508 static void *_p_wxSplashScreenTo_p_wxEvtHandler(void *x
) {
32509 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxSplashScreen
*) x
));
32511 static void *_p_wxMiniFrameTo_p_wxEvtHandler(void *x
) {
32512 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMiniFrame
*) x
));
32514 static void *_p_wxPyPanelTo_p_wxEvtHandler(void *x
) {
32515 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*) ((wxPyPanel
*) x
));
32517 static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x
) {
32518 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxMenuBar
*) x
));
32520 static void *_p_wxValidatorTo_p_wxEvtHandler(void *x
) {
32521 return (void *)((wxEvtHandler
*) ((wxValidator
*) x
));
32523 static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x
) {
32524 return (void *)((wxEvtHandler
*) (wxValidator
*) ((wxPyValidator
*) x
));
32526 static void *_p_wxMenuTo_p_wxEvtHandler(void *x
) {
32527 return (void *)((wxEvtHandler
*) ((wxMenu
*) x
));
32529 static void *_p_wxPasswordEntryDialogTo_p_wxEvtHandler(void *x
) {
32530 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*)(wxTextEntryDialog
*) ((wxPasswordEntryDialog
*) x
));
32532 static void *_p_wxTextEntryDialogTo_p_wxEvtHandler(void *x
) {
32533 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxTextEntryDialog
*) x
));
32535 static void *_p_wxSingleChoiceDialogTo_p_wxEvtHandler(void *x
) {
32536 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxSingleChoiceDialog
*) x
));
32538 static void *_p_wxMultiChoiceDialogTo_p_wxEvtHandler(void *x
) {
32539 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxMultiChoiceDialog
*) x
));
32541 static void *_p_wxFileDialogTo_p_wxEvtHandler(void *x
) {
32542 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFileDialog
*) x
));
32544 static void *_p_wxNumberEntryDialogTo_p_wxEvtHandler(void *x
) {
32545 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxNumberEntryDialog
*) x
));
32547 static void *_p_wxMessageDialogTo_p_wxEvtHandler(void *x
) {
32548 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxMessageDialog
*) x
));
32550 static void *_p_wxProgressDialogTo_p_wxEvtHandler(void *x
) {
32551 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxProgressDialog
*) x
));
32553 static void *_p_wxFindReplaceDialogTo_p_wxEvtHandler(void *x
) {
32554 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFindReplaceDialog
*) x
));
32556 static void *_p_wxPanelTo_p_wxEvtHandler(void *x
) {
32557 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxPanel
*) x
));
32559 static void *_p_wxStatusBarTo_p_wxEvtHandler(void *x
) {
32560 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxStatusBar
*) x
));
32562 static void *_p_wxPyVScrolledWindowTo_p_wxEvtHandler(void *x
) {
32563 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*) ((wxPyVScrolledWindow
*) x
));
32565 static void *_p_wxTipWindowTo_p_wxEvtHandler(void *x
) {
32566 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPopupWindow
*)(wxPyPopupTransientWindow
*) ((wxTipWindow
*) x
));
32568 static void *_p_wxPyPopupTransientWindowTo_p_wxEvtHandler(void *x
) {
32569 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPopupWindow
*) ((wxPyPopupTransientWindow
*) x
));
32571 static void *_p_wxPopupWindowTo_p_wxEvtHandler(void *x
) {
32572 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxPopupWindow
*) x
));
32574 static void *_p_wxSashLayoutWindowTo_p_wxEvtHandler(void *x
) {
32575 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxSashWindow
*) ((wxSashLayoutWindow
*) x
));
32577 static void *_p_wxSashWindowTo_p_wxEvtHandler(void *x
) {
32578 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxSashWindow
*) x
));
32580 static void *_p_wxSplitterWindowTo_p_wxEvtHandler(void *x
) {
32581 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxSplitterWindow
*) x
));
32583 static void *_p_wxSplashScreenWindowTo_p_wxEvtHandler(void *x
) {
32584 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxSplashScreenWindow
*) x
));
32586 static void *_p_wxWindowTo_p_wxEvtHandler(void *x
) {
32587 return (void *)((wxEvtHandler
*) ((wxWindow
*) x
));
32589 static void *_p_wxScrolledWindowTo_p_wxEvtHandler(void *x
) {
32590 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*) ((wxScrolledWindow
*) x
));
32592 static void *_p_wxTopLevelWindowTo_p_wxEvtHandler(void *x
) {
32593 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxTopLevelWindow
*) x
));
32595 static void *_p_wxMDIClientWindowTo_p_wxEvtHandler(void *x
) {
32596 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxMDIClientWindow
*) x
));
32598 static void *_p_wxPyScrolledWindowTo_p_wxEvtHandler(void *x
) {
32599 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*)(wxScrolledWindow
*) ((wxPyScrolledWindow
*) x
));
32601 static void *_p_wxControlTo_p_wxEvtHandler(void *x
) {
32602 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxControl
*) x
));
32604 static void *_p_wxPreviewFrameTo_p_wxEvtHandler(void *x
) {
32605 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxPreviewFrame
*) x
));
32607 static void *_p_wxPyPreviewFrameTo_p_wxEvtHandler(void *x
) {
32608 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*)(wxPreviewFrame
*) ((wxPyPreviewFrame
*) x
));
32610 static void *_p_wxMDIChildFrameTo_p_wxEvtHandler(void *x
) {
32611 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMDIChildFrame
*) x
));
32613 static void *_p_wxPyAppTo_p_wxEvtHandler(void *x
) {
32614 return (void *)((wxEvtHandler
*) ((wxPyApp
*) x
));
32616 static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x
) {
32617 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
32619 static void *_p_wxPyWindowTo_p_wxEvtHandler(void *x
) {
32620 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxPyWindow
*) x
));
32622 static void *_p_wxPreviewCanvasTo_p_wxEvtHandler(void *x
) {
32623 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*)(wxScrolledWindow
*) ((wxPreviewCanvas
*) x
));
32625 static void *_p_wxPyHtmlListBoxTo_p_wxEvtHandler(void *x
) {
32626 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*)(wxPyVScrolledWindow
*)(wxPyVListBox
*) ((wxPyHtmlListBox
*) x
));
32628 static void *_p_wxPyVListBoxTo_p_wxEvtHandler(void *x
) {
32629 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*)(wxPyVScrolledWindow
*) ((wxPyVListBox
*) x
));
32631 static void *_p_wxPreviewControlBarTo_p_wxEvtHandler(void *x
) {
32632 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*) ((wxPreviewControlBar
*) x
));
32634 static void *_p_wxPyPreviewControlBarTo_p_wxEvtHandler(void *x
) {
32635 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*)(wxPreviewControlBar
*) ((wxPyPreviewControlBar
*) x
));
32637 static void *_p_wxPyTaskBarIconTo_p_wxEvtHandler(void *x
) {
32638 return (void *)((wxEvtHandler
*) ((wxPyTaskBarIcon
*) x
));
32640 static void *_p_wxFrameTo_p_wxEvtHandler(void *x
) {
32641 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*) ((wxFrame
*) x
));
32643 static void *_p_wxDirDialogTo_p_wxEvtHandler(void *x
) {
32644 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxDirDialog
*) x
));
32646 static void *_p_wxColourDialogTo_p_wxEvtHandler(void *x
) {
32647 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxColourDialog
*) x
));
32649 static void *_p_wxDialogTo_p_wxEvtHandler(void *x
) {
32650 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*) ((wxDialog
*) x
));
32652 static void *_p_wxFontDialogTo_p_wxEvtHandler(void *x
) {
32653 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFontDialog
*) x
));
32655 static void *_p_wxMDIParentFrameTo_p_wxEvtHandler(void *x
) {
32656 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMDIParentFrame
*) x
));
32658 static void *_p_wxPyHtmlListBoxTo_p_wxPyVListBox(void *x
) {
32659 return (void *)((wxPyVListBox
*) ((wxPyHtmlListBox
*) x
));
32661 static void *_p_wxMDIChildFrameTo_p_wxFrame(void *x
) {
32662 return (void *)((wxFrame
*) ((wxMDIChildFrame
*) x
));
32664 static void *_p_wxProgressDialogTo_p_wxFrame(void *x
) {
32665 return (void *)((wxFrame
*) ((wxProgressDialog
*) x
));
32667 static void *_p_wxPreviewFrameTo_p_wxFrame(void *x
) {
32668 return (void *)((wxFrame
*) ((wxPreviewFrame
*) x
));
32670 static void *_p_wxPyPreviewFrameTo_p_wxFrame(void *x
) {
32671 return (void *)((wxFrame
*) (wxPreviewFrame
*) ((wxPyPreviewFrame
*) x
));
32673 static void *_p_wxMiniFrameTo_p_wxFrame(void *x
) {
32674 return (void *)((wxFrame
*) ((wxMiniFrame
*) x
));
32676 static void *_p_wxSplashScreenTo_p_wxFrame(void *x
) {
32677 return (void *)((wxFrame
*) ((wxSplashScreen
*) x
));
32679 static void *_p_wxMDIParentFrameTo_p_wxFrame(void *x
) {
32680 return (void *)((wxFrame
*) ((wxMDIParentFrame
*) x
));
32682 static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x
) {
32683 return (void *)((wxObject
*) ((wxLayoutConstraints
*) x
));
32685 static void *_p_wxQueryLayoutInfoEventTo_p_wxObject(void *x
) {
32686 return (void *)((wxObject
*) (wxEvent
*) ((wxQueryLayoutInfoEvent
*) x
));
32688 static void *_p_wxPreviewFrameTo_p_wxObject(void *x
) {
32689 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxPreviewFrame
*) x
));
32691 static void *_p_wxPyPreviewFrameTo_p_wxObject(void *x
) {
32692 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*)(wxPreviewFrame
*) ((wxPyPreviewFrame
*) x
));
32694 static void *_p_wxSizerItemTo_p_wxObject(void *x
) {
32695 return (void *)((wxObject
*) ((wxSizerItem
*) x
));
32697 static void *_p_wxGBSizerItemTo_p_wxObject(void *x
) {
32698 return (void *)((wxObject
*) (wxSizerItem
*) ((wxGBSizerItem
*) x
));
32700 static void *_p_wxScrollEventTo_p_wxObject(void *x
) {
32701 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxScrollEvent
*) x
));
32703 static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x
) {
32704 return (void *)((wxObject
*) ((wxIndividualLayoutConstraint
*) x
));
32706 static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x
) {
32707 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStaticBoxSizer
*) x
));
32709 static void *_p_wxBoxSizerTo_p_wxObject(void *x
) {
32710 return (void *)((wxObject
*) (wxSizer
*) ((wxBoxSizer
*) x
));
32712 static void *_p_wxSizerTo_p_wxObject(void *x
) {
32713 return (void *)((wxObject
*) ((wxSizer
*) x
));
32715 static void *_p_wxGridBagSizerTo_p_wxObject(void *x
) {
32716 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*)(wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
32718 static void *_p_wxUpdateUIEventTo_p_wxObject(void *x
) {
32719 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
32721 static void *_p_wxPyPanelTo_p_wxObject(void *x
) {
32722 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*) ((wxPyPanel
*) x
));
32724 static void *_p_wxEventTo_p_wxObject(void *x
) {
32725 return (void *)((wxObject
*) ((wxEvent
*) x
));
32727 static void *_p_wxFontDataTo_p_wxObject(void *x
) {
32728 return (void *)((wxObject
*) ((wxFontData
*) x
));
32730 static void *_p_wxPrintDataTo_p_wxObject(void *x
) {
32731 return (void *)((wxObject
*) ((wxPrintData
*) x
));
32733 static void *_p_wxFlexGridSizerTo_p_wxObject(void *x
) {
32734 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*) ((wxFlexGridSizer
*) x
));
32736 static void *_p_wxGridSizerTo_p_wxObject(void *x
) {
32737 return (void *)((wxObject
*) (wxSizer
*) ((wxGridSizer
*) x
));
32739 static void *_p_wxInitDialogEventTo_p_wxObject(void *x
) {
32740 return (void *)((wxObject
*) (wxEvent
*) ((wxInitDialogEvent
*) x
));
32742 static void *_p_wxLayoutAlgorithmTo_p_wxObject(void *x
) {
32743 return (void *)((wxObject
*) ((wxLayoutAlgorithm
*) x
));
32745 static void *_p_wxPyTaskBarIconTo_p_wxObject(void *x
) {
32746 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyTaskBarIcon
*) x
));
32748 static void *_p_wxFindDialogEventTo_p_wxObject(void *x
) {
32749 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxFindDialogEvent
*) x
));
32751 static void *_p_wxClipboardTextEventTo_p_wxObject(void *x
) {
32752 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxClipboardTextEvent
*) x
));
32754 static void *_p_wxPaintEventTo_p_wxObject(void *x
) {
32755 return (void *)((wxObject
*) (wxEvent
*) ((wxPaintEvent
*) x
));
32757 static void *_p_wxNcPaintEventTo_p_wxObject(void *x
) {
32758 return (void *)((wxObject
*) (wxEvent
*) ((wxNcPaintEvent
*) x
));
32760 static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x
) {
32761 return (void *)((wxObject
*) (wxEvent
*) ((wxPaletteChangedEvent
*) x
));
32763 static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x
) {
32764 return (void *)((wxObject
*) (wxEvent
*) ((wxDisplayChangedEvent
*) x
));
32766 static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x
) {
32767 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
32769 static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x
) {
32770 return (void *)((wxObject
*) (wxEvent
*) ((wxSysColourChangedEvent
*) x
));
32772 static void *_p_wxPreviewCanvasTo_p_wxObject(void *x
) {
32773 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*)(wxScrolledWindow
*) ((wxPreviewCanvas
*) x
));
32775 static void *_p_wxControlTo_p_wxObject(void *x
) {
32776 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxControl
*) x
));
32778 static void *_p_wxSetCursorEventTo_p_wxObject(void *x
) {
32779 return (void *)((wxObject
*) (wxEvent
*) ((wxSetCursorEvent
*) x
));
32781 static void *_p_wxSplitterEventTo_p_wxObject(void *x
) {
32782 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*) ((wxSplitterEvent
*) x
));
32784 static void *_p_wxFSFileTo_p_wxObject(void *x
) {
32785 return (void *)((wxObject
*) ((wxFSFile
*) x
));
32787 static void *_p_wxFindReplaceDataTo_p_wxObject(void *x
) {
32788 return (void *)((wxObject
*) ((wxFindReplaceData
*) x
));
32790 static void *_p_wxPySizerTo_p_wxObject(void *x
) {
32791 return (void *)((wxObject
*) (wxSizer
*) ((wxPySizer
*) x
));
32793 static void *_p_wxMDIChildFrameTo_p_wxObject(void *x
) {
32794 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMDIChildFrame
*) x
));
32796 static void *_p_wxColourDataTo_p_wxObject(void *x
) {
32797 return (void *)((wxObject
*) ((wxColourData
*) x
));
32799 static void *_p_wxPyEventTo_p_wxObject(void *x
) {
32800 return (void *)((wxObject
*) (wxEvent
*) ((wxPyEvent
*) x
));
32802 static void *_p_wxNotifyEventTo_p_wxObject(void *x
) {
32803 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxNotifyEvent
*) x
));
32805 static void *_p_wxPyWindowTo_p_wxObject(void *x
) {
32806 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxPyWindow
*) x
));
32808 static void *_p_wxSplashScreenTo_p_wxObject(void *x
) {
32809 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxSplashScreen
*) x
));
32811 static void *_p_wxFileDialogTo_p_wxObject(void *x
) {
32812 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFileDialog
*) x
));
32814 static void *_p_wxMultiChoiceDialogTo_p_wxObject(void *x
) {
32815 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxMultiChoiceDialog
*) x
));
32817 static void *_p_wxSingleChoiceDialogTo_p_wxObject(void *x
) {
32818 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxSingleChoiceDialog
*) x
));
32820 static void *_p_wxTextEntryDialogTo_p_wxObject(void *x
) {
32821 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxTextEntryDialog
*) x
));
32823 static void *_p_wxPasswordEntryDialogTo_p_wxObject(void *x
) {
32824 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*)(wxTextEntryDialog
*) ((wxPasswordEntryDialog
*) x
));
32826 static void *_p_wxNumberEntryDialogTo_p_wxObject(void *x
) {
32827 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxNumberEntryDialog
*) x
));
32829 static void *_p_wxMessageDialogTo_p_wxObject(void *x
) {
32830 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxMessageDialog
*) x
));
32832 static void *_p_wxProgressDialogTo_p_wxObject(void *x
) {
32833 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxProgressDialog
*) x
));
32835 static void *_p_wxFindReplaceDialogTo_p_wxObject(void *x
) {
32836 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFindReplaceDialog
*) x
));
32838 static void *_p_wxShowEventTo_p_wxObject(void *x
) {
32839 return (void *)((wxObject
*) (wxEvent
*) ((wxShowEvent
*) x
));
32841 static void *_p_wxPrinterTo_p_wxObject(void *x
) {
32842 return (void *)((wxObject
*) ((wxPrinter
*) x
));
32844 static void *_p_wxMenuItemTo_p_wxObject(void *x
) {
32845 return (void *)((wxObject
*) ((wxMenuItem
*) x
));
32847 static void *_p_wxDateEventTo_p_wxObject(void *x
) {
32848 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxDateEvent
*) x
));
32850 static void *_p_wxIdleEventTo_p_wxObject(void *x
) {
32851 return (void *)((wxObject
*) (wxEvent
*) ((wxIdleEvent
*) x
));
32853 static void *_p_wxWindowCreateEventTo_p_wxObject(void *x
) {
32854 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
32856 static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x
) {
32857 return (void *)((wxObject
*) (wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
32859 static void *_p_wxMaximizeEventTo_p_wxObject(void *x
) {
32860 return (void *)((wxObject
*) (wxEvent
*) ((wxMaximizeEvent
*) x
));
32862 static void *_p_wxIconizeEventTo_p_wxObject(void *x
) {
32863 return (void *)((wxObject
*) (wxEvent
*) ((wxIconizeEvent
*) x
));
32865 static void *_p_wxSizeEventTo_p_wxObject(void *x
) {
32866 return (void *)((wxObject
*) (wxEvent
*) ((wxSizeEvent
*) x
));
32868 static void *_p_wxMoveEventTo_p_wxObject(void *x
) {
32869 return (void *)((wxObject
*) (wxEvent
*) ((wxMoveEvent
*) x
));
32871 static void *_p_wxActivateEventTo_p_wxObject(void *x
) {
32872 return (void *)((wxObject
*) (wxEvent
*) ((wxActivateEvent
*) x
));
32874 static void *_p_wxPNMHandlerTo_p_wxObject(void *x
) {
32875 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNMHandler
*) x
));
32877 static void *_p_wxJPEGHandlerTo_p_wxObject(void *x
) {
32878 return (void *)((wxObject
*) (wxImageHandler
*) ((wxJPEGHandler
*) x
));
32880 static void *_p_wxPCXHandlerTo_p_wxObject(void *x
) {
32881 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPCXHandler
*) x
));
32883 static void *_p_wxGIFHandlerTo_p_wxObject(void *x
) {
32884 return (void *)((wxObject
*) (wxImageHandler
*) ((wxGIFHandler
*) x
));
32886 static void *_p_wxPNGHandlerTo_p_wxObject(void *x
) {
32887 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNGHandler
*) x
));
32889 static void *_p_wxANIHandlerTo_p_wxObject(void *x
) {
32890 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*)(wxCURHandler
*) ((wxANIHandler
*) x
));
32892 static void *_p_wxCURHandlerTo_p_wxObject(void *x
) {
32893 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*) ((wxCURHandler
*) x
));
32895 static void *_p_wxICOHandlerTo_p_wxObject(void *x
) {
32896 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*) ((wxICOHandler
*) x
));
32898 static void *_p_wxBMPHandlerTo_p_wxObject(void *x
) {
32899 return (void *)((wxObject
*) (wxImageHandler
*) ((wxBMPHandler
*) x
));
32901 static void *_p_wxPyImageHandlerTo_p_wxObject(void *x
) {
32902 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPyImageHandler
*) x
));
32904 static void *_p_wxImageHandlerTo_p_wxObject(void *x
) {
32905 return (void *)((wxObject
*) ((wxImageHandler
*) x
));
32907 static void *_p_wxXPMHandlerTo_p_wxObject(void *x
) {
32908 return (void *)((wxObject
*) (wxImageHandler
*) ((wxXPMHandler
*) x
));
32910 static void *_p_wxTIFFHandlerTo_p_wxObject(void *x
) {
32911 return (void *)((wxObject
*) (wxImageHandler
*) ((wxTIFFHandler
*) x
));
32913 static void *_p_wxTGAHandlerTo_p_wxObject(void *x
) {
32914 return (void *)((wxObject
*) (wxImageHandler
*) ((wxTGAHandler
*) x
));
32916 static void *_p_wxEvtHandlerTo_p_wxObject(void *x
) {
32917 return (void *)((wxObject
*) ((wxEvtHandler
*) x
));
32919 static void *_p_wxMouseCaptureLostEventTo_p_wxObject(void *x
) {
32920 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseCaptureLostEvent
*) x
));
32922 static void *_p_wxCalculateLayoutEventTo_p_wxObject(void *x
) {
32923 return (void *)((wxObject
*) (wxEvent
*) ((wxCalculateLayoutEvent
*) x
));
32925 static void *_p_wxPyVListBoxTo_p_wxObject(void *x
) {
32926 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*)(wxPyVScrolledWindow
*) ((wxPyVListBox
*) x
));
32928 static void *_p_wxPyHtmlListBoxTo_p_wxObject(void *x
) {
32929 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*)(wxPyVScrolledWindow
*)(wxPyVListBox
*) ((wxPyHtmlListBox
*) x
));
32931 static void *_p_wxAcceleratorTableTo_p_wxObject(void *x
) {
32932 return (void *)((wxObject
*) ((wxAcceleratorTable
*) x
));
32934 static void *_p_wxStdDialogButtonSizerTo_p_wxObject(void *x
) {
32935 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStdDialogButtonSizer
*) x
));
32937 static void *_p_wxMiniFrameTo_p_wxObject(void *x
) {
32938 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMiniFrame
*) x
));
32940 static void *_p_wxImageTo_p_wxObject(void *x
) {
32941 return (void *)((wxObject
*) ((wxImage
*) x
));
32943 static void *_p_wxFrameTo_p_wxObject(void *x
) {
32944 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*) ((wxFrame
*) x
));
32946 static void *_p_wxPyPrintoutTo_p_wxObject(void *x
) {
32947 return (void *)((wxObject
*) ((wxPyPrintout
*) x
));
32949 static void *_p_wxScrollWinEventTo_p_wxObject(void *x
) {
32950 return (void *)((wxObject
*) (wxEvent
*) ((wxScrollWinEvent
*) x
));
32952 static void *_p_wxTaskBarIconEventTo_p_wxObject(void *x
) {
32953 return (void *)((wxObject
*) (wxEvent
*) ((wxTaskBarIconEvent
*) x
));
32955 static void *_p_wxStatusBarTo_p_wxObject(void *x
) {
32956 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxStatusBar
*) x
));
32958 static void *_p_wxMDIParentFrameTo_p_wxObject(void *x
) {
32959 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMDIParentFrame
*) x
));
32961 static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x
) {
32962 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
32964 static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x
) {
32965 return (void *)((wxObject
*) (wxEvent
*) ((wxNavigationKeyEvent
*) x
));
32967 static void *_p_wxKeyEventTo_p_wxObject(void *x
) {
32968 return (void *)((wxObject
*) (wxEvent
*) ((wxKeyEvent
*) x
));
32970 static void *_p_wxWindowTo_p_wxObject(void *x
) {
32971 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxWindow
*) x
));
32973 static void *_p_wxMenuTo_p_wxObject(void *x
) {
32974 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxMenu
*) x
));
32976 static void *_p_wxMenuBarTo_p_wxObject(void *x
) {
32977 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxMenuBar
*) x
));
32979 static void *_p_wxScrolledWindowTo_p_wxObject(void *x
) {
32980 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*) ((wxScrolledWindow
*) x
));
32982 static void *_p_wxTopLevelWindowTo_p_wxObject(void *x
) {
32983 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxTopLevelWindow
*) x
));
32985 static void *_p_wxSplashScreenWindowTo_p_wxObject(void *x
) {
32986 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxSplashScreenWindow
*) x
));
32988 static void *_p_wxSplitterWindowTo_p_wxObject(void *x
) {
32989 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxSplitterWindow
*) x
));
32991 static void *_p_wxSashWindowTo_p_wxObject(void *x
) {
32992 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxSashWindow
*) x
));
32994 static void *_p_wxSashLayoutWindowTo_p_wxObject(void *x
) {
32995 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxSashWindow
*) ((wxSashLayoutWindow
*) x
));
32997 static void *_p_wxPopupWindowTo_p_wxObject(void *x
) {
32998 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxPopupWindow
*) x
));
33000 static void *_p_wxPyPopupTransientWindowTo_p_wxObject(void *x
) {
33001 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPopupWindow
*) ((wxPyPopupTransientWindow
*) x
));
33003 static void *_p_wxTipWindowTo_p_wxObject(void *x
) {
33004 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPopupWindow
*)(wxPyPopupTransientWindow
*) ((wxTipWindow
*) x
));
33006 static void *_p_wxPyVScrolledWindowTo_p_wxObject(void *x
) {
33007 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*) ((wxPyVScrolledWindow
*) x
));
33009 static void *_p_wxMDIClientWindowTo_p_wxObject(void *x
) {
33010 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxMDIClientWindow
*) x
));
33012 static void *_p_wxPyScrolledWindowTo_p_wxObject(void *x
) {
33013 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*)(wxScrolledWindow
*) ((wxPyScrolledWindow
*) x
));
33015 static void *_p_wxSashEventTo_p_wxObject(void *x
) {
33016 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxSashEvent
*) x
));
33018 static void *_p_wxPrintPreviewTo_p_wxObject(void *x
) {
33019 return (void *)((wxObject
*) ((wxPrintPreview
*) x
));
33021 static void *_p_wxPyPrintPreviewTo_p_wxObject(void *x
) {
33022 return (void *)((wxObject
*) (wxPrintPreview
*) ((wxPyPrintPreview
*) x
));
33024 static void *_p_wxPanelTo_p_wxObject(void *x
) {
33025 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxPanel
*) x
));
33027 static void *_p_wxDialogTo_p_wxObject(void *x
) {
33028 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*) ((wxDialog
*) x
));
33030 static void *_p_wxColourDialogTo_p_wxObject(void *x
) {
33031 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxColourDialog
*) x
));
33033 static void *_p_wxDirDialogTo_p_wxObject(void *x
) {
33034 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxDirDialog
*) x
));
33036 static void *_p_wxFontDialogTo_p_wxObject(void *x
) {
33037 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFontDialog
*) x
));
33039 static void *_p_wxPageSetupDialogTo_p_wxObject(void *x
) {
33040 return (void *)((wxObject
*) ((wxPageSetupDialog
*) x
));
33042 static void *_p_wxPrintDialogTo_p_wxObject(void *x
) {
33043 return (void *)((wxObject
*) ((wxPrintDialog
*) x
));
33045 static void *_p_wxFileSystemTo_p_wxObject(void *x
) {
33046 return (void *)((wxObject
*) ((wxFileSystem
*) x
));
33048 static void *_p_wxContextMenuEventTo_p_wxObject(void *x
) {
33049 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
33051 static void *_p_wxMenuEventTo_p_wxObject(void *x
) {
33052 return (void *)((wxObject
*) (wxEvent
*) ((wxMenuEvent
*) x
));
33054 static void *_p_wxPyAppTo_p_wxObject(void *x
) {
33055 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyApp
*) x
));
33057 static void *_p_wxCloseEventTo_p_wxObject(void *x
) {
33058 return (void *)((wxObject
*) (wxEvent
*) ((wxCloseEvent
*) x
));
33060 static void *_p_wxMouseEventTo_p_wxObject(void *x
) {
33061 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseEvent
*) x
));
33063 static void *_p_wxEraseEventTo_p_wxObject(void *x
) {
33064 return (void *)((wxObject
*) (wxEvent
*) ((wxEraseEvent
*) x
));
33066 static void *_p_wxPyCommandEventTo_p_wxObject(void *x
) {
33067 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
33069 static void *_p_wxCommandEventTo_p_wxObject(void *x
) {
33070 return (void *)((wxObject
*) (wxEvent
*) ((wxCommandEvent
*) x
));
33072 static void *_p_wxPreviewControlBarTo_p_wxObject(void *x
) {
33073 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*) ((wxPreviewControlBar
*) x
));
33075 static void *_p_wxPyPreviewControlBarTo_p_wxObject(void *x
) {
33076 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*)(wxPreviewControlBar
*) ((wxPyPreviewControlBar
*) x
));
33078 static void *_p_wxDropFilesEventTo_p_wxObject(void *x
) {
33079 return (void *)((wxObject
*) (wxEvent
*) ((wxDropFilesEvent
*) x
));
33081 static void *_p_wxFocusEventTo_p_wxObject(void *x
) {
33082 return (void *)((wxObject
*) (wxEvent
*) ((wxFocusEvent
*) x
));
33084 static void *_p_wxChildFocusEventTo_p_wxObject(void *x
) {
33085 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
33087 static void *_p_wxControlWithItemsTo_p_wxObject(void *x
) {
33088 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
33090 static void *_p_wxPageSetupDialogDataTo_p_wxObject(void *x
) {
33091 return (void *)((wxObject
*) ((wxPageSetupDialogData
*) x
));
33093 static void *_p_wxPrintDialogDataTo_p_wxObject(void *x
) {
33094 return (void *)((wxObject
*) ((wxPrintDialogData
*) x
));
33096 static void *_p_wxPyValidatorTo_p_wxObject(void *x
) {
33097 return (void *)((wxObject
*) (wxEvtHandler
*)(wxValidator
*) ((wxPyValidator
*) x
));
33099 static void *_p_wxValidatorTo_p_wxObject(void *x
) {
33100 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxValidator
*) x
));
33102 static void *_p_wxPyVListBoxTo_p_wxPyVScrolledWindow(void *x
) {
33103 return (void *)((wxPyVScrolledWindow
*) ((wxPyVListBox
*) x
));
33105 static void *_p_wxPyHtmlListBoxTo_p_wxPyVScrolledWindow(void *x
) {
33106 return (void *)((wxPyVScrolledWindow
*) (wxPyVListBox
*) ((wxPyHtmlListBox
*) x
));
33108 static void *_p_wxTipWindowTo_p_wxPyPopupTransientWindow(void *x
) {
33109 return (void *)((wxPyPopupTransientWindow
*) ((wxTipWindow
*) x
));
33111 static void *_p_wxPyPopupTransientWindowTo_p_wxPopupWindow(void *x
) {
33112 return (void *)((wxPopupWindow
*) ((wxPyPopupTransientWindow
*) x
));
33114 static void *_p_wxTipWindowTo_p_wxPopupWindow(void *x
) {
33115 return (void *)((wxPopupWindow
*) (wxPyPopupTransientWindow
*) ((wxTipWindow
*) x
));
33117 static void *_p_wxSashLayoutWindowTo_p_wxSashWindow(void *x
) {
33118 return (void *)((wxSashWindow
*) ((wxSashLayoutWindow
*) x
));
33120 static void *_p_wxFrameTo_p_wxTopLevelWindow(void *x
) {
33121 return (void *)((wxTopLevelWindow
*) ((wxFrame
*) x
));
33123 static void *_p_wxMiniFrameTo_p_wxTopLevelWindow(void *x
) {
33124 return (void *)((wxTopLevelWindow
*) (wxFrame
*) ((wxMiniFrame
*) x
));
33126 static void *_p_wxFontDialogTo_p_wxTopLevelWindow(void *x
) {
33127 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxFontDialog
*) x
));
33129 static void *_p_wxDirDialogTo_p_wxTopLevelWindow(void *x
) {
33130 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxDirDialog
*) x
));
33132 static void *_p_wxColourDialogTo_p_wxTopLevelWindow(void *x
) {
33133 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxColourDialog
*) x
));
33135 static void *_p_wxDialogTo_p_wxTopLevelWindow(void *x
) {
33136 return (void *)((wxTopLevelWindow
*) ((wxDialog
*) x
));
33138 static void *_p_wxSplashScreenTo_p_wxTopLevelWindow(void *x
) {
33139 return (void *)((wxTopLevelWindow
*) (wxFrame
*) ((wxSplashScreen
*) x
));
33141 static void *_p_wxMDIParentFrameTo_p_wxTopLevelWindow(void *x
) {
33142 return (void *)((wxTopLevelWindow
*) (wxFrame
*) ((wxMDIParentFrame
*) x
));
33144 static void *_p_wxMDIChildFrameTo_p_wxTopLevelWindow(void *x
) {
33145 return (void *)((wxTopLevelWindow
*) (wxFrame
*) ((wxMDIChildFrame
*) x
));
33147 static void *_p_wxMessageDialogTo_p_wxTopLevelWindow(void *x
) {
33148 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxMessageDialog
*) x
));
33150 static void *_p_wxNumberEntryDialogTo_p_wxTopLevelWindow(void *x
) {
33151 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxNumberEntryDialog
*) x
));
33153 static void *_p_wxPasswordEntryDialogTo_p_wxTopLevelWindow(void *x
) {
33154 return (void *)((wxTopLevelWindow
*) (wxDialog
*)(wxTextEntryDialog
*) ((wxPasswordEntryDialog
*) x
));
33156 static void *_p_wxTextEntryDialogTo_p_wxTopLevelWindow(void *x
) {
33157 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxTextEntryDialog
*) x
));
33159 static void *_p_wxSingleChoiceDialogTo_p_wxTopLevelWindow(void *x
) {
33160 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxSingleChoiceDialog
*) x
));
33162 static void *_p_wxMultiChoiceDialogTo_p_wxTopLevelWindow(void *x
) {
33163 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxMultiChoiceDialog
*) x
));
33165 static void *_p_wxFileDialogTo_p_wxTopLevelWindow(void *x
) {
33166 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxFileDialog
*) x
));
33168 static void *_p_wxProgressDialogTo_p_wxTopLevelWindow(void *x
) {
33169 return (void *)((wxTopLevelWindow
*) (wxFrame
*) ((wxProgressDialog
*) x
));
33171 static void *_p_wxFindReplaceDialogTo_p_wxTopLevelWindow(void *x
) {
33172 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxFindReplaceDialog
*) x
));
33174 static void *_p_wxPreviewFrameTo_p_wxTopLevelWindow(void *x
) {
33175 return (void *)((wxTopLevelWindow
*) (wxFrame
*) ((wxPreviewFrame
*) x
));
33177 static void *_p_wxPyPreviewFrameTo_p_wxTopLevelWindow(void *x
) {
33178 return (void *)((wxTopLevelWindow
*) (wxFrame
*)(wxPreviewFrame
*) ((wxPyPreviewFrame
*) x
));
33180 static void *_p_wxSplashScreenTo_p_wxWindow(void *x
) {
33181 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxSplashScreen
*) x
));
33183 static void *_p_wxMiniFrameTo_p_wxWindow(void *x
) {
33184 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxMiniFrame
*) x
));
33186 static void *_p_wxPyPanelTo_p_wxWindow(void *x
) {
33187 return (void *)((wxWindow
*) (wxPanel
*) ((wxPyPanel
*) x
));
33189 static void *_p_wxMenuBarTo_p_wxWindow(void *x
) {
33190 return (void *)((wxWindow
*) ((wxMenuBar
*) x
));
33192 static void *_p_wxFindReplaceDialogTo_p_wxWindow(void *x
) {
33193 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxFindReplaceDialog
*) x
));
33195 static void *_p_wxProgressDialogTo_p_wxWindow(void *x
) {
33196 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxProgressDialog
*) x
));
33198 static void *_p_wxMessageDialogTo_p_wxWindow(void *x
) {
33199 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxMessageDialog
*) x
));
33201 static void *_p_wxNumberEntryDialogTo_p_wxWindow(void *x
) {
33202 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxNumberEntryDialog
*) x
));
33204 static void *_p_wxPasswordEntryDialogTo_p_wxWindow(void *x
) {
33205 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*)(wxTextEntryDialog
*) ((wxPasswordEntryDialog
*) x
));
33207 static void *_p_wxTextEntryDialogTo_p_wxWindow(void *x
) {
33208 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxTextEntryDialog
*) x
));
33210 static void *_p_wxSingleChoiceDialogTo_p_wxWindow(void *x
) {
33211 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxSingleChoiceDialog
*) x
));
33213 static void *_p_wxMultiChoiceDialogTo_p_wxWindow(void *x
) {
33214 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxMultiChoiceDialog
*) x
));
33216 static void *_p_wxFileDialogTo_p_wxWindow(void *x
) {
33217 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxFileDialog
*) x
));
33219 static void *_p_wxPanelTo_p_wxWindow(void *x
) {
33220 return (void *)((wxWindow
*) ((wxPanel
*) x
));
33222 static void *_p_wxStatusBarTo_p_wxWindow(void *x
) {
33223 return (void *)((wxWindow
*) ((wxStatusBar
*) x
));
33225 static void *_p_wxPyVScrolledWindowTo_p_wxWindow(void *x
) {
33226 return (void *)((wxWindow
*) (wxPanel
*) ((wxPyVScrolledWindow
*) x
));
33228 static void *_p_wxTipWindowTo_p_wxWindow(void *x
) {
33229 return (void *)((wxWindow
*) (wxPopupWindow
*)(wxPyPopupTransientWindow
*) ((wxTipWindow
*) x
));
33231 static void *_p_wxPyPopupTransientWindowTo_p_wxWindow(void *x
) {
33232 return (void *)((wxWindow
*) (wxPopupWindow
*) ((wxPyPopupTransientWindow
*) x
));
33234 static void *_p_wxPopupWindowTo_p_wxWindow(void *x
) {
33235 return (void *)((wxWindow
*) ((wxPopupWindow
*) x
));
33237 static void *_p_wxSashLayoutWindowTo_p_wxWindow(void *x
) {
33238 return (void *)((wxWindow
*) (wxSashWindow
*) ((wxSashLayoutWindow
*) x
));
33240 static void *_p_wxScrolledWindowTo_p_wxWindow(void *x
) {
33241 return (void *)((wxWindow
*) (wxPanel
*) ((wxScrolledWindow
*) x
));
33243 static void *_p_wxTopLevelWindowTo_p_wxWindow(void *x
) {
33244 return (void *)((wxWindow
*) ((wxTopLevelWindow
*) x
));
33246 static void *_p_wxSplashScreenWindowTo_p_wxWindow(void *x
) {
33247 return (void *)((wxWindow
*) ((wxSplashScreenWindow
*) x
));
33249 static void *_p_wxSplitterWindowTo_p_wxWindow(void *x
) {
33250 return (void *)((wxWindow
*) ((wxSplitterWindow
*) x
));
33252 static void *_p_wxSashWindowTo_p_wxWindow(void *x
) {
33253 return (void *)((wxWindow
*) ((wxSashWindow
*) x
));
33255 static void *_p_wxMDIClientWindowTo_p_wxWindow(void *x
) {
33256 return (void *)((wxWindow
*) ((wxMDIClientWindow
*) x
));
33258 static void *_p_wxPyScrolledWindowTo_p_wxWindow(void *x
) {
33259 return (void *)((wxWindow
*) (wxPanel
*)(wxScrolledWindow
*) ((wxPyScrolledWindow
*) x
));
33261 static void *_p_wxControlTo_p_wxWindow(void *x
) {
33262 return (void *)((wxWindow
*) ((wxControl
*) x
));
33264 static void *_p_wxPreviewFrameTo_p_wxWindow(void *x
) {
33265 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxPreviewFrame
*) x
));
33267 static void *_p_wxPyPreviewFrameTo_p_wxWindow(void *x
) {
33268 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*)(wxPreviewFrame
*) ((wxPyPreviewFrame
*) x
));
33270 static void *_p_wxMDIChildFrameTo_p_wxWindow(void *x
) {
33271 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxMDIChildFrame
*) x
));
33273 static void *_p_wxControlWithItemsTo_p_wxWindow(void *x
) {
33274 return (void *)((wxWindow
*) (wxControl
*) ((wxControlWithItems
*) x
));
33276 static void *_p_wxPyWindowTo_p_wxWindow(void *x
) {
33277 return (void *)((wxWindow
*) ((wxPyWindow
*) x
));
33279 static void *_p_wxPreviewCanvasTo_p_wxWindow(void *x
) {
33280 return (void *)((wxWindow
*) (wxPanel
*)(wxScrolledWindow
*) ((wxPreviewCanvas
*) x
));
33282 static void *_p_wxPyHtmlListBoxTo_p_wxWindow(void *x
) {
33283 return (void *)((wxWindow
*) (wxPanel
*)(wxPyVScrolledWindow
*)(wxPyVListBox
*) ((wxPyHtmlListBox
*) x
));
33285 static void *_p_wxPyVListBoxTo_p_wxWindow(void *x
) {
33286 return (void *)((wxWindow
*) (wxPanel
*)(wxPyVScrolledWindow
*) ((wxPyVListBox
*) x
));
33288 static void *_p_wxPreviewControlBarTo_p_wxWindow(void *x
) {
33289 return (void *)((wxWindow
*) (wxPanel
*) ((wxPreviewControlBar
*) x
));
33291 static void *_p_wxPyPreviewControlBarTo_p_wxWindow(void *x
) {
33292 return (void *)((wxWindow
*) (wxPanel
*)(wxPreviewControlBar
*) ((wxPyPreviewControlBar
*) x
));
33294 static void *_p_wxFrameTo_p_wxWindow(void *x
) {
33295 return (void *)((wxWindow
*) (wxTopLevelWindow
*) ((wxFrame
*) x
));
33297 static void *_p_wxFontDialogTo_p_wxWindow(void *x
) {
33298 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxFontDialog
*) x
));
33300 static void *_p_wxDirDialogTo_p_wxWindow(void *x
) {
33301 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxDirDialog
*) x
));
33303 static void *_p_wxColourDialogTo_p_wxWindow(void *x
) {
33304 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxColourDialog
*) x
));
33306 static void *_p_wxDialogTo_p_wxWindow(void *x
) {
33307 return (void *)((wxWindow
*) (wxTopLevelWindow
*) ((wxDialog
*) x
));
33309 static void *_p_wxMDIParentFrameTo_p_wxWindow(void *x
) {
33310 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxMDIParentFrame
*) x
));
33312 static void *_p_wxPyScrolledWindowTo_p_wxScrolledWindow(void *x
) {
33313 return (void *)((wxScrolledWindow
*) ((wxPyScrolledWindow
*) x
));
33315 static void *_p_wxPreviewCanvasTo_p_wxScrolledWindow(void *x
) {
33316 return (void *)((wxScrolledWindow
*) ((wxPreviewCanvas
*) x
));
33318 static void *_p_wxPyPrintPreviewTo_p_wxPrintPreview(void *x
) {
33319 return (void *)((wxPrintPreview
*) ((wxPyPrintPreview
*) x
));
33321 static void *_p_wxColourDialogTo_p_wxDialog(void *x
) {
33322 return (void *)((wxDialog
*) ((wxColourDialog
*) x
));
33324 static void *_p_wxDirDialogTo_p_wxDialog(void *x
) {
33325 return (void *)((wxDialog
*) ((wxDirDialog
*) x
));
33327 static void *_p_wxFontDialogTo_p_wxDialog(void *x
) {
33328 return (void *)((wxDialog
*) ((wxFontDialog
*) x
));
33330 static void *_p_wxFileDialogTo_p_wxDialog(void *x
) {
33331 return (void *)((wxDialog
*) ((wxFileDialog
*) x
));
33333 static void *_p_wxMultiChoiceDialogTo_p_wxDialog(void *x
) {
33334 return (void *)((wxDialog
*) ((wxMultiChoiceDialog
*) x
));
33336 static void *_p_wxSingleChoiceDialogTo_p_wxDialog(void *x
) {
33337 return (void *)((wxDialog
*) ((wxSingleChoiceDialog
*) x
));
33339 static void *_p_wxTextEntryDialogTo_p_wxDialog(void *x
) {
33340 return (void *)((wxDialog
*) ((wxTextEntryDialog
*) x
));
33342 static void *_p_wxPasswordEntryDialogTo_p_wxDialog(void *x
) {
33343 return (void *)((wxDialog
*) (wxTextEntryDialog
*) ((wxPasswordEntryDialog
*) x
));
33345 static void *_p_wxNumberEntryDialogTo_p_wxDialog(void *x
) {
33346 return (void *)((wxDialog
*) ((wxNumberEntryDialog
*) x
));
33348 static void *_p_wxMessageDialogTo_p_wxDialog(void *x
) {
33349 return (void *)((wxDialog
*) ((wxMessageDialog
*) x
));
33351 static void *_p_wxFindReplaceDialogTo_p_wxDialog(void *x
) {
33352 return (void *)((wxDialog
*) ((wxFindReplaceDialog
*) x
));
33354 static void *_p_wxScrolledWindowTo_p_wxPanel(void *x
) {
33355 return (void *)((wxPanel
*) ((wxScrolledWindow
*) x
));
33357 static void *_p_wxPyVScrolledWindowTo_p_wxPanel(void *x
) {
33358 return (void *)((wxPanel
*) ((wxPyVScrolledWindow
*) x
));
33360 static void *_p_wxPyScrolledWindowTo_p_wxPanel(void *x
) {
33361 return (void *)((wxPanel
*) (wxScrolledWindow
*) ((wxPyScrolledWindow
*) x
));
33363 static void *_p_wxPyVListBoxTo_p_wxPanel(void *x
) {
33364 return (void *)((wxPanel
*) (wxPyVScrolledWindow
*) ((wxPyVListBox
*) x
));
33366 static void *_p_wxPyHtmlListBoxTo_p_wxPanel(void *x
) {
33367 return (void *)((wxPanel
*) (wxPyVScrolledWindow
*)(wxPyVListBox
*) ((wxPyHtmlListBox
*) x
));
33369 static void *_p_wxPyPanelTo_p_wxPanel(void *x
) {
33370 return (void *)((wxPanel
*) ((wxPyPanel
*) x
));
33372 static void *_p_wxPreviewCanvasTo_p_wxPanel(void *x
) {
33373 return (void *)((wxPanel
*) (wxScrolledWindow
*) ((wxPreviewCanvas
*) x
));
33375 static void *_p_wxPreviewControlBarTo_p_wxPanel(void *x
) {
33376 return (void *)((wxPanel
*) ((wxPreviewControlBar
*) x
));
33378 static void *_p_wxPyPreviewControlBarTo_p_wxPanel(void *x
) {
33379 return (void *)((wxPanel
*) (wxPreviewControlBar
*) ((wxPyPreviewControlBar
*) x
));
33381 static void *_p_wxChildFocusEventTo_p_wxCommandEvent(void *x
) {
33382 return (void *)((wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
33384 static void *_p_wxScrollEventTo_p_wxCommandEvent(void *x
) {
33385 return (void *)((wxCommandEvent
*) ((wxScrollEvent
*) x
));
33387 static void *_p_wxWindowCreateEventTo_p_wxCommandEvent(void *x
) {
33388 return (void *)((wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
33390 static void *_p_wxDateEventTo_p_wxCommandEvent(void *x
) {
33391 return (void *)((wxCommandEvent
*) ((wxDateEvent
*) x
));
33393 static void *_p_wxUpdateUIEventTo_p_wxCommandEvent(void *x
) {
33394 return (void *)((wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
33396 static void *_p_wxClipboardTextEventTo_p_wxCommandEvent(void *x
) {
33397 return (void *)((wxCommandEvent
*) ((wxClipboardTextEvent
*) x
));
33399 static void *_p_wxFindDialogEventTo_p_wxCommandEvent(void *x
) {
33400 return (void *)((wxCommandEvent
*) ((wxFindDialogEvent
*) x
));
33402 static void *_p_wxWindowDestroyEventTo_p_wxCommandEvent(void *x
) {
33403 return (void *)((wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
33405 static void *_p_wxContextMenuEventTo_p_wxCommandEvent(void *x
) {
33406 return (void *)((wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
33408 static void *_p_wxSplitterEventTo_p_wxCommandEvent(void *x
) {
33409 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*) ((wxSplitterEvent
*) x
));
33411 static void *_p_wxNotifyEventTo_p_wxCommandEvent(void *x
) {
33412 return (void *)((wxCommandEvent
*) ((wxNotifyEvent
*) x
));
33414 static void *_p_wxPyCommandEventTo_p_wxCommandEvent(void *x
) {
33415 return (void *)((wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
33417 static void *_p_wxSashEventTo_p_wxCommandEvent(void *x
) {
33418 return (void *)((wxCommandEvent
*) ((wxSashEvent
*) x
));
33420 static void *_p_wxPyPreviewControlBarTo_p_wxPreviewControlBar(void *x
) {
33421 return (void *)((wxPreviewControlBar
*) ((wxPyPreviewControlBar
*) x
));
33423 static swig_type_info _swigt__p_bool
= {"_p_bool", "bool *", 0, 0, (void*)0, 0};
33424 static swig_type_info _swigt__p_char
= {"_p_char", "char *", 0, 0, (void*)0, 0};
33425 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};
33426 static swig_type_info _swigt__p_int
= {"_p_int", "int *", 0, 0, (void*)0, 0};
33427 static swig_type_info _swigt__p_unsigned_char
= {"_p_unsigned_char", "unsigned char *|byte *", 0, 0, (void*)0, 0};
33428 static swig_type_info _swigt__p_unsigned_int
= {"_p_unsigned_int", "unsigned int *|time_t *", 0, 0, (void*)0, 0};
33429 static swig_type_info _swigt__p_unsigned_long
= {"_p_unsigned_long", "unsigned long *|wxUIntPtr *", 0, 0, (void*)0, 0};
33430 static swig_type_info _swigt__p_wxArrayInt
= {"_p_wxArrayInt", "wxArrayInt *", 0, 0, (void*)0, 0};
33431 static swig_type_info _swigt__p_wxBitmap
= {"_p_wxBitmap", "wxBitmap *", 0, 0, (void*)0, 0};
33432 static swig_type_info _swigt__p_wxCalculateLayoutEvent
= {"_p_wxCalculateLayoutEvent", "wxCalculateLayoutEvent *", 0, 0, (void*)0, 0};
33433 static swig_type_info _swigt__p_wxColour
= {"_p_wxColour", "wxColour *", 0, 0, (void*)0, 0};
33434 static swig_type_info _swigt__p_wxColourData
= {"_p_wxColourData", "wxColourData *", 0, 0, (void*)0, 0};
33435 static swig_type_info _swigt__p_wxColourDialog
= {"_p_wxColourDialog", "wxColourDialog *", 0, 0, (void*)0, 0};
33436 static swig_type_info _swigt__p_wxCommandEvent
= {"_p_wxCommandEvent", "wxCommandEvent *", 0, 0, (void*)0, 0};
33437 static swig_type_info _swigt__p_wxWindowDestroyEvent
= {"_p_wxWindowDestroyEvent", 0, 0, 0, 0, 0};
33438 static swig_type_info _swigt__p_wxClipboardTextEvent
= {"_p_wxClipboardTextEvent", 0, 0, 0, 0, 0};
33439 static swig_type_info _swigt__p_wxScrollEvent
= {"_p_wxScrollEvent", 0, 0, 0, 0, 0};
33440 static swig_type_info _swigt__p_wxPyCommandEvent
= {"_p_wxPyCommandEvent", 0, 0, 0, 0, 0};
33441 static swig_type_info _swigt__p_wxContextMenuEvent
= {"_p_wxContextMenuEvent", 0, 0, 0, 0, 0};
33442 static swig_type_info _swigt__p_wxChildFocusEvent
= {"_p_wxChildFocusEvent", 0, 0, 0, 0, 0};
33443 static swig_type_info _swigt__p_wxWindowCreateEvent
= {"_p_wxWindowCreateEvent", 0, 0, 0, 0, 0};
33444 static swig_type_info _swigt__p_wxDateEvent
= {"_p_wxDateEvent", 0, 0, 0, 0, 0};
33445 static swig_type_info _swigt__p_wxUpdateUIEvent
= {"_p_wxUpdateUIEvent", 0, 0, 0, 0, 0};
33446 static swig_type_info _swigt__p_wxDC
= {"_p_wxDC", "wxDC *", 0, 0, (void*)0, 0};
33447 static swig_type_info _swigt__p_wxDialog
= {"_p_wxDialog", "wxDialog *", 0, 0, (void*)0, 0};
33448 static swig_type_info _swigt__p_wxDirDialog
= {"_p_wxDirDialog", "wxDirDialog *", 0, 0, (void*)0, 0};
33449 static swig_type_info _swigt__p_wxDuplexMode
= {"_p_wxDuplexMode", "enum wxDuplexMode *|wxDuplexMode *", 0, 0, (void*)0, 0};
33450 static swig_type_info _swigt__p_wxEvent
= {"_p_wxEvent", "wxEvent *", 0, 0, (void*)0, 0};
33451 static swig_type_info _swigt__p_wxMenuEvent
= {"_p_wxMenuEvent", 0, 0, 0, 0, 0};
33452 static swig_type_info _swigt__p_wxCloseEvent
= {"_p_wxCloseEvent", 0, 0, 0, 0, 0};
33453 static swig_type_info _swigt__p_wxMouseEvent
= {"_p_wxMouseEvent", 0, 0, 0, 0, 0};
33454 static swig_type_info _swigt__p_wxEraseEvent
= {"_p_wxEraseEvent", 0, 0, 0, 0, 0};
33455 static swig_type_info _swigt__p_wxSetCursorEvent
= {"_p_wxSetCursorEvent", 0, 0, 0, 0, 0};
33456 static swig_type_info _swigt__p_wxInitDialogEvent
= {"_p_wxInitDialogEvent", 0, 0, 0, 0, 0};
33457 static swig_type_info _swigt__p_wxPyEvent
= {"_p_wxPyEvent", 0, 0, 0, 0, 0};
33458 static swig_type_info _swigt__p_wxMouseCaptureLostEvent
= {"_p_wxMouseCaptureLostEvent", 0, 0, 0, 0, 0};
33459 static swig_type_info _swigt__p_wxIdleEvent
= {"_p_wxIdleEvent", 0, 0, 0, 0, 0};
33460 static swig_type_info _swigt__p_wxQueryNewPaletteEvent
= {"_p_wxQueryNewPaletteEvent", 0, 0, 0, 0, 0};
33461 static swig_type_info _swigt__p_wxMaximizeEvent
= {"_p_wxMaximizeEvent", 0, 0, 0, 0, 0};
33462 static swig_type_info _swigt__p_wxIconizeEvent
= {"_p_wxIconizeEvent", 0, 0, 0, 0, 0};
33463 static swig_type_info _swigt__p_wxActivateEvent
= {"_p_wxActivateEvent", 0, 0, 0, 0, 0};
33464 static swig_type_info _swigt__p_wxSizeEvent
= {"_p_wxSizeEvent", 0, 0, 0, 0, 0};
33465 static swig_type_info _swigt__p_wxMoveEvent
= {"_p_wxMoveEvent", 0, 0, 0, 0, 0};
33466 static swig_type_info _swigt__p_wxPaintEvent
= {"_p_wxPaintEvent", 0, 0, 0, 0, 0};
33467 static swig_type_info _swigt__p_wxNcPaintEvent
= {"_p_wxNcPaintEvent", 0, 0, 0, 0, 0};
33468 static swig_type_info _swigt__p_wxPaletteChangedEvent
= {"_p_wxPaletteChangedEvent", 0, 0, 0, 0, 0};
33469 static swig_type_info _swigt__p_wxDisplayChangedEvent
= {"_p_wxDisplayChangedEvent", 0, 0, 0, 0, 0};
33470 static swig_type_info _swigt__p_wxMouseCaptureChangedEvent
= {"_p_wxMouseCaptureChangedEvent", 0, 0, 0, 0, 0};
33471 static swig_type_info _swigt__p_wxSysColourChangedEvent
= {"_p_wxSysColourChangedEvent", 0, 0, 0, 0, 0};
33472 static swig_type_info _swigt__p_wxDropFilesEvent
= {"_p_wxDropFilesEvent", 0, 0, 0, 0, 0};
33473 static swig_type_info _swigt__p_wxFocusEvent
= {"_p_wxFocusEvent", 0, 0, 0, 0, 0};
33474 static swig_type_info _swigt__p_wxShowEvent
= {"_p_wxShowEvent", 0, 0, 0, 0, 0};
33475 static swig_type_info _swigt__p_wxNavigationKeyEvent
= {"_p_wxNavigationKeyEvent", 0, 0, 0, 0, 0};
33476 static swig_type_info _swigt__p_wxKeyEvent
= {"_p_wxKeyEvent", 0, 0, 0, 0, 0};
33477 static swig_type_info _swigt__p_wxEvtHandler
= {"_p_wxEvtHandler", "wxEvtHandler *", 0, 0, (void*)0, 0};
33478 static swig_type_info _swigt__p_wxValidator
= {"_p_wxValidator", 0, 0, 0, 0, 0};
33479 static swig_type_info _swigt__p_wxPyValidator
= {"_p_wxPyValidator", 0, 0, 0, 0, 0};
33480 static swig_type_info _swigt__p_wxControl
= {"_p_wxControl", 0, 0, 0, 0, 0};
33481 static swig_type_info _swigt__p_wxPyApp
= {"_p_wxPyApp", 0, 0, 0, 0, 0};
33482 static swig_type_info _swigt__p_wxControlWithItems
= {"_p_wxControlWithItems", 0, 0, 0, 0, 0};
33483 static swig_type_info _swigt__p_wxFileDialog
= {"_p_wxFileDialog", "wxFileDialog *", 0, 0, (void*)0, 0};
33484 static swig_type_info _swigt__p_wxFileSystem
= {"_p_wxFileSystem", "wxFileSystem *", 0, 0, (void*)0, 0};
33485 static swig_type_info _swigt__p_wxFindDialogEvent
= {"_p_wxFindDialogEvent", "wxFindDialogEvent *", 0, 0, (void*)0, 0};
33486 static swig_type_info _swigt__p_wxFindReplaceData
= {"_p_wxFindReplaceData", "wxFindReplaceData *", 0, 0, (void*)0, 0};
33487 static swig_type_info _swigt__p_wxFindReplaceDialog
= {"_p_wxFindReplaceDialog", "wxFindReplaceDialog *", 0, 0, (void*)0, 0};
33488 static swig_type_info _swigt__p_wxFont
= {"_p_wxFont", "wxFont *", 0, 0, (void*)0, 0};
33489 static swig_type_info _swigt__p_wxFontData
= {"_p_wxFontData", "wxFontData *", 0, 0, (void*)0, 0};
33490 static swig_type_info _swigt__p_wxFontDialog
= {"_p_wxFontDialog", "wxFontDialog *", 0, 0, (void*)0, 0};
33491 static swig_type_info _swigt__p_wxFrame
= {"_p_wxFrame", "wxFrame *", 0, 0, (void*)0, 0};
33492 static swig_type_info _swigt__p_wxHtmlLinkInfo
= {"_p_wxHtmlLinkInfo", "wxHtmlLinkInfo *", 0, 0, (void*)0, 0};
33493 static swig_type_info _swigt__p_wxIcon
= {"_p_wxIcon", "wxIcon *", 0, 0, (void*)0, 0};
33494 static swig_type_info _swigt__p_wxIconBundle
= {"_p_wxIconBundle", "wxIconBundle *", 0, 0, (void*)0, 0};
33495 static swig_type_info _swigt__p_wxLayoutAlgorithm
= {"_p_wxLayoutAlgorithm", "wxLayoutAlgorithm *", 0, 0, (void*)0, 0};
33496 static swig_type_info _swigt__p_wxMDIChildFrame
= {"_p_wxMDIChildFrame", "wxMDIChildFrame *", 0, 0, (void*)0, 0};
33497 static swig_type_info _swigt__p_wxMDIClientWindow
= {"_p_wxMDIClientWindow", "wxMDIClientWindow *", 0, 0, (void*)0, 0};
33498 static swig_type_info _swigt__p_wxMDIParentFrame
= {"_p_wxMDIParentFrame", "wxMDIParentFrame *", 0, 0, (void*)0, 0};
33499 static swig_type_info _swigt__p_wxMenu
= {"_p_wxMenu", "wxMenu *", 0, 0, (void*)0, 0};
33500 static swig_type_info _swigt__p_wxMenuBar
= {"_p_wxMenuBar", "wxMenuBar *", 0, 0, (void*)0, 0};
33501 static swig_type_info _swigt__p_wxMessageDialog
= {"_p_wxMessageDialog", "wxMessageDialog *", 0, 0, (void*)0, 0};
33502 static swig_type_info _swigt__p_wxMiniFrame
= {"_p_wxMiniFrame", "wxMiniFrame *", 0, 0, (void*)0, 0};
33503 static swig_type_info _swigt__p_wxMultiChoiceDialog
= {"_p_wxMultiChoiceDialog", "wxMultiChoiceDialog *", 0, 0, (void*)0, 0};
33504 static swig_type_info _swigt__p_wxNotifyEvent
= {"_p_wxNotifyEvent", "wxNotifyEvent *", 0, 0, (void*)0, 0};
33505 static swig_type_info _swigt__p_wxNumberEntryDialog
= {"_p_wxNumberEntryDialog", "wxNumberEntryDialog *", 0, 0, (void*)0, 0};
33506 static swig_type_info _swigt__p_wxObject
= {"_p_wxObject", "wxObject *", 0, 0, (void*)0, 0};
33507 static swig_type_info _swigt__p_wxLayoutConstraints
= {"_p_wxLayoutConstraints", 0, 0, 0, 0, 0};
33508 static swig_type_info _swigt__p_wxSizerItem
= {"_p_wxSizerItem", 0, 0, 0, 0, 0};
33509 static swig_type_info _swigt__p_wxGBSizerItem
= {"_p_wxGBSizerItem", 0, 0, 0, 0, 0};
33510 static swig_type_info _swigt__p_wxIndividualLayoutConstraint
= {"_p_wxIndividualLayoutConstraint", 0, 0, 0, 0, 0};
33511 static swig_type_info _swigt__p_wxStaticBoxSizer
= {"_p_wxStaticBoxSizer", 0, 0, 0, 0, 0};
33512 static swig_type_info _swigt__p_wxBoxSizer
= {"_p_wxBoxSizer", 0, 0, 0, 0, 0};
33513 static swig_type_info _swigt__p_wxSizer
= {"_p_wxSizer", 0, 0, 0, 0, 0};
33514 static swig_type_info _swigt__p_wxGridBagSizer
= {"_p_wxGridBagSizer", 0, 0, 0, 0, 0};
33515 static swig_type_info _swigt__p_wxGridSizer
= {"_p_wxGridSizer", 0, 0, 0, 0, 0};
33516 static swig_type_info _swigt__p_wxFlexGridSizer
= {"_p_wxFlexGridSizer", 0, 0, 0, 0, 0};
33517 static swig_type_info _swigt__p_wxFSFile
= {"_p_wxFSFile", 0, 0, 0, 0, 0};
33518 static swig_type_info _swigt__p_wxPySizer
= {"_p_wxPySizer", 0, 0, 0, 0, 0};
33519 static swig_type_info _swigt__p_wxMenuItem
= {"_p_wxMenuItem", 0, 0, 0, 0, 0};
33520 static swig_type_info _swigt__p_wxBMPHandler
= {"_p_wxBMPHandler", 0, 0, 0, 0, 0};
33521 static swig_type_info _swigt__p_wxICOHandler
= {"_p_wxICOHandler", 0, 0, 0, 0, 0};
33522 static swig_type_info _swigt__p_wxCURHandler
= {"_p_wxCURHandler", 0, 0, 0, 0, 0};
33523 static swig_type_info _swigt__p_wxANIHandler
= {"_p_wxANIHandler", 0, 0, 0, 0, 0};
33524 static swig_type_info _swigt__p_wxPNGHandler
= {"_p_wxPNGHandler", 0, 0, 0, 0, 0};
33525 static swig_type_info _swigt__p_wxGIFHandler
= {"_p_wxGIFHandler", 0, 0, 0, 0, 0};
33526 static swig_type_info _swigt__p_wxPCXHandler
= {"_p_wxPCXHandler", 0, 0, 0, 0, 0};
33527 static swig_type_info _swigt__p_wxJPEGHandler
= {"_p_wxJPEGHandler", 0, 0, 0, 0, 0};
33528 static swig_type_info _swigt__p_wxPNMHandler
= {"_p_wxPNMHandler", 0, 0, 0, 0, 0};
33529 static swig_type_info _swigt__p_wxPyImageHandler
= {"_p_wxPyImageHandler", 0, 0, 0, 0, 0};
33530 static swig_type_info _swigt__p_wxImageHandler
= {"_p_wxImageHandler", 0, 0, 0, 0, 0};
33531 static swig_type_info _swigt__p_wxXPMHandler
= {"_p_wxXPMHandler", 0, 0, 0, 0, 0};
33532 static swig_type_info _swigt__p_wxTIFFHandler
= {"_p_wxTIFFHandler", 0, 0, 0, 0, 0};
33533 static swig_type_info _swigt__p_wxTGAHandler
= {"_p_wxTGAHandler", 0, 0, 0, 0, 0};
33534 static swig_type_info _swigt__p_wxAcceleratorTable
= {"_p_wxAcceleratorTable", 0, 0, 0, 0, 0};
33535 static swig_type_info _swigt__p_wxImage
= {"_p_wxImage", 0, 0, 0, 0, 0};
33536 static swig_type_info _swigt__p_wxPageSetupDialog
= {"_p_wxPageSetupDialog", "wxPageSetupDialog *", 0, 0, (void*)0, 0};
33537 static swig_type_info _swigt__p_wxPageSetupDialogData
= {"_p_wxPageSetupDialogData", "wxPageSetupDialogData *", 0, 0, (void*)0, 0};
33538 static swig_type_info _swigt__p_wxPanel
= {"_p_wxPanel", "wxPanel *", 0, 0, (void*)0, 0};
33539 static swig_type_info _swigt__p_wxPaperSize
= {"_p_wxPaperSize", "enum wxPaperSize *|wxPaperSize *", 0, 0, (void*)0, 0};
33540 static swig_type_info _swigt__p_wxPasswordEntryDialog
= {"_p_wxPasswordEntryDialog", "wxPasswordEntryDialog *", 0, 0, (void*)0, 0};
33541 static swig_type_info _swigt__p_wxPoint
= {"_p_wxPoint", "wxPoint *", 0, 0, (void*)0, 0};
33542 static swig_type_info _swigt__p_wxPopupWindow
= {"_p_wxPopupWindow", "wxPopupWindow *", 0, 0, (void*)0, 0};
33543 static swig_type_info _swigt__p_wxPreviewCanvas
= {"_p_wxPreviewCanvas", "wxPreviewCanvas *", 0, 0, (void*)0, 0};
33544 static swig_type_info _swigt__p_wxPreviewControlBar
= {"_p_wxPreviewControlBar", "wxPreviewControlBar *", 0, 0, (void*)0, 0};
33545 static swig_type_info _swigt__p_wxPreviewFrame
= {"_p_wxPreviewFrame", "wxPreviewFrame *", 0, 0, (void*)0, 0};
33546 static swig_type_info _swigt__p_wxPrintData
= {"_p_wxPrintData", "wxPrintData *", 0, 0, (void*)0, 0};
33547 static swig_type_info _swigt__p_wxPrintDialog
= {"_p_wxPrintDialog", "wxPrintDialog *", 0, 0, (void*)0, 0};
33548 static swig_type_info _swigt__p_wxPrintDialogData
= {"_p_wxPrintDialogData", "wxPrintDialogData *", 0, 0, (void*)0, 0};
33549 static swig_type_info _swigt__p_wxPrintPreview
= {"_p_wxPrintPreview", "wxPrintPreview *", 0, 0, (void*)0, 0};
33550 static swig_type_info _swigt__p_wxPrinter
= {"_p_wxPrinter", "wxPrinter *", 0, 0, (void*)0, 0};
33551 static swig_type_info _swigt__p_wxProgressDialog
= {"_p_wxProgressDialog", "wxProgressDialog *", 0, 0, (void*)0, 0};
33552 static swig_type_info _swigt__p_wxPyHtmlListBox
= {"_p_wxPyHtmlListBox", "wxPyHtmlListBox *", 0, 0, (void*)0, 0};
33553 static swig_type_info _swigt__p_wxPyPanel
= {"_p_wxPyPanel", "wxPyPanel *", 0, 0, (void*)0, 0};
33554 static swig_type_info _swigt__p_wxPyPopupTransientWindow
= {"_p_wxPyPopupTransientWindow", "wxPyPopupTransientWindow *", 0, 0, (void*)0, 0};
33555 static swig_type_info _swigt__p_wxPyPreviewControlBar
= {"_p_wxPyPreviewControlBar", "wxPyPreviewControlBar *", 0, 0, (void*)0, 0};
33556 static swig_type_info _swigt__p_wxPyPreviewFrame
= {"_p_wxPyPreviewFrame", "wxPyPreviewFrame *", 0, 0, (void*)0, 0};
33557 static swig_type_info _swigt__p_wxPyPrintPreview
= {"_p_wxPyPrintPreview", "wxPyPrintPreview *", 0, 0, (void*)0, 0};
33558 static swig_type_info _swigt__p_wxPyPrintout
= {"_p_wxPyPrintout", "wxPyPrintout *", 0, 0, (void*)0, 0};
33559 static swig_type_info _swigt__p_wxPyScrolledWindow
= {"_p_wxPyScrolledWindow", "wxPyScrolledWindow *", 0, 0, (void*)0, 0};
33560 static swig_type_info _swigt__p_wxPyTaskBarIcon
= {"_p_wxPyTaskBarIcon", "wxPyTaskBarIcon *", 0, 0, (void*)0, 0};
33561 static swig_type_info _swigt__p_wxPyVListBox
= {"_p_wxPyVListBox", "wxPyVListBox *", 0, 0, (void*)0, 0};
33562 static swig_type_info _swigt__p_wxPyVScrolledWindow
= {"_p_wxPyVScrolledWindow", "wxPyVScrolledWindow *", 0, 0, (void*)0, 0};
33563 static swig_type_info _swigt__p_wxPyWindow
= {"_p_wxPyWindow", "wxPyWindow *", 0, 0, (void*)0, 0};
33564 static swig_type_info _swigt__p_wxQueryLayoutInfoEvent
= {"_p_wxQueryLayoutInfoEvent", "wxQueryLayoutInfoEvent *", 0, 0, (void*)0, 0};
33565 static swig_type_info _swigt__p_wxRect
= {"_p_wxRect", "wxRect *", 0, 0, (void*)0, 0};
33566 static swig_type_info _swigt__p_wxRegion
= {"_p_wxRegion", "wxRegion *", 0, 0, (void*)0, 0};
33567 static swig_type_info _swigt__p_wxSashEvent
= {"_p_wxSashEvent", "wxSashEvent *", 0, 0, (void*)0, 0};
33568 static swig_type_info _swigt__p_wxSashLayoutWindow
= {"_p_wxSashLayoutWindow", "wxSashLayoutWindow *", 0, 0, (void*)0, 0};
33569 static swig_type_info _swigt__p_wxSashWindow
= {"_p_wxSashWindow", "wxSashWindow *", 0, 0, (void*)0, 0};
33570 static swig_type_info _swigt__p_wxScrollWinEvent
= {"_p_wxScrollWinEvent", "wxScrollWinEvent *", 0, 0, (void*)0, 0};
33571 static swig_type_info _swigt__p_wxScrolledWindow
= {"_p_wxScrolledWindow", "wxScrolledWindow *", 0, 0, (void*)0, 0};
33572 static swig_type_info _swigt__p_wxSingleChoiceDialog
= {"_p_wxSingleChoiceDialog", "wxSingleChoiceDialog *", 0, 0, (void*)0, 0};
33573 static swig_type_info _swigt__p_wxSize
= {"_p_wxSize", "wxSize *", 0, 0, (void*)0, 0};
33574 static swig_type_info _swigt__p_wxSplashScreen
= {"_p_wxSplashScreen", "wxSplashScreen *", 0, 0, (void*)0, 0};
33575 static swig_type_info _swigt__p_wxSplashScreenWindow
= {"_p_wxSplashScreenWindow", "wxSplashScreenWindow *", 0, 0, (void*)0, 0};
33576 static swig_type_info _swigt__p_wxSplitterEvent
= {"_p_wxSplitterEvent", "wxSplitterEvent *", 0, 0, (void*)0, 0};
33577 static swig_type_info _swigt__p_wxSplitterWindow
= {"_p_wxSplitterWindow", "wxSplitterWindow *", 0, 0, (void*)0, 0};
33578 static swig_type_info _swigt__p_wxStatusBar
= {"_p_wxStatusBar", "wxStatusBar *", 0, 0, (void*)0, 0};
33579 static swig_type_info _swigt__p_wxStdDialogButtonSizer
= {"_p_wxStdDialogButtonSizer", "wxStdDialogButtonSizer *", 0, 0, (void*)0, 0};
33580 static swig_type_info _swigt__p_wxString
= {"_p_wxString", "wxString *", 0, 0, (void*)0, 0};
33581 static swig_type_info _swigt__p_wxTaskBarIcon
= {"_p_wxTaskBarIcon", "wxTaskBarIcon *", 0, 0, (void*)0, 0};
33582 static swig_type_info _swigt__p_wxTaskBarIconEvent
= {"_p_wxTaskBarIconEvent", "wxTaskBarIconEvent *", 0, 0, (void*)0, 0};
33583 static swig_type_info _swigt__p_wxTextEntryDialog
= {"_p_wxTextEntryDialog", "wxTextEntryDialog *", 0, 0, (void*)0, 0};
33584 static swig_type_info _swigt__p_wxTipWindow
= {"_p_wxTipWindow", "wxTipWindow *", 0, 0, (void*)0, 0};
33585 static swig_type_info _swigt__p_wxToolBar
= {"_p_wxToolBar", "wxToolBar *", 0, 0, (void*)0, 0};
33586 static swig_type_info _swigt__p_wxTopLevelWindow
= {"_p_wxTopLevelWindow", "wxTopLevelWindow *", 0, 0, (void*)0, 0};
33587 static swig_type_info _swigt__p_wxVisualAttributes
= {"_p_wxVisualAttributes", "wxVisualAttributes *", 0, 0, (void*)0, 0};
33588 static swig_type_info _swigt__p_wxWindow
= {"_p_wxWindow", "wxWindow *", 0, 0, (void*)0, 0};
33590 static swig_type_info
*swig_type_initial
[] = {
33593 &_swigt__p_form_ops_t
,
33595 &_swigt__p_unsigned_char
,
33596 &_swigt__p_unsigned_int
,
33597 &_swigt__p_unsigned_long
,
33598 &_swigt__p_wxANIHandler
,
33599 &_swigt__p_wxAcceleratorTable
,
33600 &_swigt__p_wxActivateEvent
,
33601 &_swigt__p_wxArrayInt
,
33602 &_swigt__p_wxBMPHandler
,
33603 &_swigt__p_wxBitmap
,
33604 &_swigt__p_wxBoxSizer
,
33605 &_swigt__p_wxCURHandler
,
33606 &_swigt__p_wxCalculateLayoutEvent
,
33607 &_swigt__p_wxChildFocusEvent
,
33608 &_swigt__p_wxClipboardTextEvent
,
33609 &_swigt__p_wxCloseEvent
,
33610 &_swigt__p_wxColour
,
33611 &_swigt__p_wxColourData
,
33612 &_swigt__p_wxColourDialog
,
33613 &_swigt__p_wxCommandEvent
,
33614 &_swigt__p_wxContextMenuEvent
,
33615 &_swigt__p_wxControl
,
33616 &_swigt__p_wxControlWithItems
,
33618 &_swigt__p_wxDateEvent
,
33619 &_swigt__p_wxDialog
,
33620 &_swigt__p_wxDirDialog
,
33621 &_swigt__p_wxDisplayChangedEvent
,
33622 &_swigt__p_wxDropFilesEvent
,
33623 &_swigt__p_wxDuplexMode
,
33624 &_swigt__p_wxEraseEvent
,
33625 &_swigt__p_wxEvent
,
33626 &_swigt__p_wxEvtHandler
,
33627 &_swigt__p_wxFSFile
,
33628 &_swigt__p_wxFileDialog
,
33629 &_swigt__p_wxFileSystem
,
33630 &_swigt__p_wxFindDialogEvent
,
33631 &_swigt__p_wxFindReplaceData
,
33632 &_swigt__p_wxFindReplaceDialog
,
33633 &_swigt__p_wxFlexGridSizer
,
33634 &_swigt__p_wxFocusEvent
,
33636 &_swigt__p_wxFontData
,
33637 &_swigt__p_wxFontDialog
,
33638 &_swigt__p_wxFrame
,
33639 &_swigt__p_wxGBSizerItem
,
33640 &_swigt__p_wxGIFHandler
,
33641 &_swigt__p_wxGridBagSizer
,
33642 &_swigt__p_wxGridSizer
,
33643 &_swigt__p_wxHtmlLinkInfo
,
33644 &_swigt__p_wxICOHandler
,
33646 &_swigt__p_wxIconBundle
,
33647 &_swigt__p_wxIconizeEvent
,
33648 &_swigt__p_wxIdleEvent
,
33649 &_swigt__p_wxImage
,
33650 &_swigt__p_wxImageHandler
,
33651 &_swigt__p_wxIndividualLayoutConstraint
,
33652 &_swigt__p_wxInitDialogEvent
,
33653 &_swigt__p_wxJPEGHandler
,
33654 &_swigt__p_wxKeyEvent
,
33655 &_swigt__p_wxLayoutAlgorithm
,
33656 &_swigt__p_wxLayoutConstraints
,
33657 &_swigt__p_wxMDIChildFrame
,
33658 &_swigt__p_wxMDIClientWindow
,
33659 &_swigt__p_wxMDIParentFrame
,
33660 &_swigt__p_wxMaximizeEvent
,
33662 &_swigt__p_wxMenuBar
,
33663 &_swigt__p_wxMenuEvent
,
33664 &_swigt__p_wxMenuItem
,
33665 &_swigt__p_wxMessageDialog
,
33666 &_swigt__p_wxMiniFrame
,
33667 &_swigt__p_wxMouseCaptureChangedEvent
,
33668 &_swigt__p_wxMouseCaptureLostEvent
,
33669 &_swigt__p_wxMouseEvent
,
33670 &_swigt__p_wxMoveEvent
,
33671 &_swigt__p_wxMultiChoiceDialog
,
33672 &_swigt__p_wxNavigationKeyEvent
,
33673 &_swigt__p_wxNcPaintEvent
,
33674 &_swigt__p_wxNotifyEvent
,
33675 &_swigt__p_wxNumberEntryDialog
,
33676 &_swigt__p_wxObject
,
33677 &_swigt__p_wxPCXHandler
,
33678 &_swigt__p_wxPNGHandler
,
33679 &_swigt__p_wxPNMHandler
,
33680 &_swigt__p_wxPageSetupDialog
,
33681 &_swigt__p_wxPageSetupDialogData
,
33682 &_swigt__p_wxPaintEvent
,
33683 &_swigt__p_wxPaletteChangedEvent
,
33684 &_swigt__p_wxPanel
,
33685 &_swigt__p_wxPaperSize
,
33686 &_swigt__p_wxPasswordEntryDialog
,
33687 &_swigt__p_wxPoint
,
33688 &_swigt__p_wxPopupWindow
,
33689 &_swigt__p_wxPreviewCanvas
,
33690 &_swigt__p_wxPreviewControlBar
,
33691 &_swigt__p_wxPreviewFrame
,
33692 &_swigt__p_wxPrintData
,
33693 &_swigt__p_wxPrintDialog
,
33694 &_swigt__p_wxPrintDialogData
,
33695 &_swigt__p_wxPrintPreview
,
33696 &_swigt__p_wxPrinter
,
33697 &_swigt__p_wxProgressDialog
,
33698 &_swigt__p_wxPyApp
,
33699 &_swigt__p_wxPyCommandEvent
,
33700 &_swigt__p_wxPyEvent
,
33701 &_swigt__p_wxPyHtmlListBox
,
33702 &_swigt__p_wxPyImageHandler
,
33703 &_swigt__p_wxPyPanel
,
33704 &_swigt__p_wxPyPopupTransientWindow
,
33705 &_swigt__p_wxPyPreviewControlBar
,
33706 &_swigt__p_wxPyPreviewFrame
,
33707 &_swigt__p_wxPyPrintPreview
,
33708 &_swigt__p_wxPyPrintout
,
33709 &_swigt__p_wxPyScrolledWindow
,
33710 &_swigt__p_wxPySizer
,
33711 &_swigt__p_wxPyTaskBarIcon
,
33712 &_swigt__p_wxPyVListBox
,
33713 &_swigt__p_wxPyVScrolledWindow
,
33714 &_swigt__p_wxPyValidator
,
33715 &_swigt__p_wxPyWindow
,
33716 &_swigt__p_wxQueryLayoutInfoEvent
,
33717 &_swigt__p_wxQueryNewPaletteEvent
,
33719 &_swigt__p_wxRegion
,
33720 &_swigt__p_wxSashEvent
,
33721 &_swigt__p_wxSashLayoutWindow
,
33722 &_swigt__p_wxSashWindow
,
33723 &_swigt__p_wxScrollEvent
,
33724 &_swigt__p_wxScrollWinEvent
,
33725 &_swigt__p_wxScrolledWindow
,
33726 &_swigt__p_wxSetCursorEvent
,
33727 &_swigt__p_wxShowEvent
,
33728 &_swigt__p_wxSingleChoiceDialog
,
33730 &_swigt__p_wxSizeEvent
,
33731 &_swigt__p_wxSizer
,
33732 &_swigt__p_wxSizerItem
,
33733 &_swigt__p_wxSplashScreen
,
33734 &_swigt__p_wxSplashScreenWindow
,
33735 &_swigt__p_wxSplitterEvent
,
33736 &_swigt__p_wxSplitterWindow
,
33737 &_swigt__p_wxStaticBoxSizer
,
33738 &_swigt__p_wxStatusBar
,
33739 &_swigt__p_wxStdDialogButtonSizer
,
33740 &_swigt__p_wxString
,
33741 &_swigt__p_wxSysColourChangedEvent
,
33742 &_swigt__p_wxTGAHandler
,
33743 &_swigt__p_wxTIFFHandler
,
33744 &_swigt__p_wxTaskBarIcon
,
33745 &_swigt__p_wxTaskBarIconEvent
,
33746 &_swigt__p_wxTextEntryDialog
,
33747 &_swigt__p_wxTipWindow
,
33748 &_swigt__p_wxToolBar
,
33749 &_swigt__p_wxTopLevelWindow
,
33750 &_swigt__p_wxUpdateUIEvent
,
33751 &_swigt__p_wxValidator
,
33752 &_swigt__p_wxVisualAttributes
,
33753 &_swigt__p_wxWindow
,
33754 &_swigt__p_wxWindowCreateEvent
,
33755 &_swigt__p_wxWindowDestroyEvent
,
33756 &_swigt__p_wxXPMHandler
,
33759 static swig_cast_info _swigc__p_bool
[] = { {&_swigt__p_bool
, 0, 0, 0},{0, 0, 0, 0}};
33760 static swig_cast_info _swigc__p_char
[] = { {&_swigt__p_char
, 0, 0, 0},{0, 0, 0, 0}};
33761 static swig_cast_info _swigc__p_form_ops_t
[] = { {&_swigt__p_form_ops_t
, 0, 0, 0},{0, 0, 0, 0}};
33762 static swig_cast_info _swigc__p_int
[] = { {&_swigt__p_int
, 0, 0, 0},{0, 0, 0, 0}};
33763 static swig_cast_info _swigc__p_unsigned_char
[] = { {&_swigt__p_unsigned_char
, 0, 0, 0},{0, 0, 0, 0}};
33764 static swig_cast_info _swigc__p_unsigned_int
[] = { {&_swigt__p_unsigned_int
, 0, 0, 0},{0, 0, 0, 0}};
33765 static swig_cast_info _swigc__p_unsigned_long
[] = { {&_swigt__p_unsigned_long
, 0, 0, 0},{0, 0, 0, 0}};
33766 static swig_cast_info _swigc__p_wxArrayInt
[] = { {&_swigt__p_wxArrayInt
, 0, 0, 0},{0, 0, 0, 0}};
33767 static swig_cast_info _swigc__p_wxBitmap
[] = { {&_swigt__p_wxBitmap
, 0, 0, 0},{0, 0, 0, 0}};
33768 static swig_cast_info _swigc__p_wxCalculateLayoutEvent
[] = { {&_swigt__p_wxCalculateLayoutEvent
, 0, 0, 0},{0, 0, 0, 0}};
33769 static swig_cast_info _swigc__p_wxColour
[] = { {&_swigt__p_wxColour
, 0, 0, 0},{0, 0, 0, 0}};
33770 static swig_cast_info _swigc__p_wxColourData
[] = { {&_swigt__p_wxColourData
, 0, 0, 0},{0, 0, 0, 0}};
33771 static swig_cast_info _swigc__p_wxColourDialog
[] = { {&_swigt__p_wxColourDialog
, 0, 0, 0},{0, 0, 0, 0}};
33772 static swig_cast_info _swigc__p_wxWindowDestroyEvent
[] = {{&_swigt__p_wxWindowDestroyEvent
, 0, 0, 0},{0, 0, 0, 0}};
33773 static swig_cast_info _swigc__p_wxClipboardTextEvent
[] = {{&_swigt__p_wxClipboardTextEvent
, 0, 0, 0},{0, 0, 0, 0}};
33774 static swig_cast_info _swigc__p_wxScrollEvent
[] = {{&_swigt__p_wxScrollEvent
, 0, 0, 0},{0, 0, 0, 0}};
33775 static swig_cast_info _swigc__p_wxPyCommandEvent
[] = {{&_swigt__p_wxPyCommandEvent
, 0, 0, 0},{0, 0, 0, 0}};
33776 static swig_cast_info _swigc__p_wxContextMenuEvent
[] = {{&_swigt__p_wxContextMenuEvent
, 0, 0, 0},{0, 0, 0, 0}};
33777 static swig_cast_info _swigc__p_wxChildFocusEvent
[] = {{&_swigt__p_wxChildFocusEvent
, 0, 0, 0},{0, 0, 0, 0}};
33778 static swig_cast_info _swigc__p_wxWindowCreateEvent
[] = {{&_swigt__p_wxWindowCreateEvent
, 0, 0, 0},{0, 0, 0, 0}};
33779 static swig_cast_info _swigc__p_wxDateEvent
[] = {{&_swigt__p_wxDateEvent
, 0, 0, 0},{0, 0, 0, 0}};
33780 static swig_cast_info _swigc__p_wxUpdateUIEvent
[] = {{&_swigt__p_wxUpdateUIEvent
, 0, 0, 0},{0, 0, 0, 0}};
33781 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}};
33782 static swig_cast_info _swigc__p_wxDC
[] = { {&_swigt__p_wxDC
, 0, 0, 0},{0, 0, 0, 0}};
33783 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}};
33784 static swig_cast_info _swigc__p_wxDirDialog
[] = { {&_swigt__p_wxDirDialog
, 0, 0, 0},{0, 0, 0, 0}};
33785 static swig_cast_info _swigc__p_wxDuplexMode
[] = { {&_swigt__p_wxDuplexMode
, 0, 0, 0},{0, 0, 0, 0}};
33786 static swig_cast_info _swigc__p_wxMenuEvent
[] = {{&_swigt__p_wxMenuEvent
, 0, 0, 0},{0, 0, 0, 0}};
33787 static swig_cast_info _swigc__p_wxCloseEvent
[] = {{&_swigt__p_wxCloseEvent
, 0, 0, 0},{0, 0, 0, 0}};
33788 static swig_cast_info _swigc__p_wxMouseEvent
[] = {{&_swigt__p_wxMouseEvent
, 0, 0, 0},{0, 0, 0, 0}};
33789 static swig_cast_info _swigc__p_wxEraseEvent
[] = {{&_swigt__p_wxEraseEvent
, 0, 0, 0},{0, 0, 0, 0}};
33790 static swig_cast_info _swigc__p_wxSetCursorEvent
[] = {{&_swigt__p_wxSetCursorEvent
, 0, 0, 0},{0, 0, 0, 0}};
33791 static swig_cast_info _swigc__p_wxInitDialogEvent
[] = {{&_swigt__p_wxInitDialogEvent
, 0, 0, 0},{0, 0, 0, 0}};
33792 static swig_cast_info _swigc__p_wxPyEvent
[] = {{&_swigt__p_wxPyEvent
, 0, 0, 0},{0, 0, 0, 0}};
33793 static swig_cast_info _swigc__p_wxMouseCaptureLostEvent
[] = {{&_swigt__p_wxMouseCaptureLostEvent
, 0, 0, 0},{0, 0, 0, 0}};
33794 static swig_cast_info _swigc__p_wxIdleEvent
[] = {{&_swigt__p_wxIdleEvent
, 0, 0, 0},{0, 0, 0, 0}};
33795 static swig_cast_info _swigc__p_wxQueryNewPaletteEvent
[] = {{&_swigt__p_wxQueryNewPaletteEvent
, 0, 0, 0},{0, 0, 0, 0}};
33796 static swig_cast_info _swigc__p_wxMaximizeEvent
[] = {{&_swigt__p_wxMaximizeEvent
, 0, 0, 0},{0, 0, 0, 0}};
33797 static swig_cast_info _swigc__p_wxIconizeEvent
[] = {{&_swigt__p_wxIconizeEvent
, 0, 0, 0},{0, 0, 0, 0}};
33798 static swig_cast_info _swigc__p_wxActivateEvent
[] = {{&_swigt__p_wxActivateEvent
, 0, 0, 0},{0, 0, 0, 0}};
33799 static swig_cast_info _swigc__p_wxSizeEvent
[] = {{&_swigt__p_wxSizeEvent
, 0, 0, 0},{0, 0, 0, 0}};
33800 static swig_cast_info _swigc__p_wxMoveEvent
[] = {{&_swigt__p_wxMoveEvent
, 0, 0, 0},{0, 0, 0, 0}};
33801 static swig_cast_info _swigc__p_wxPaintEvent
[] = {{&_swigt__p_wxPaintEvent
, 0, 0, 0},{0, 0, 0, 0}};
33802 static swig_cast_info _swigc__p_wxNcPaintEvent
[] = {{&_swigt__p_wxNcPaintEvent
, 0, 0, 0},{0, 0, 0, 0}};
33803 static swig_cast_info _swigc__p_wxPaletteChangedEvent
[] = {{&_swigt__p_wxPaletteChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
33804 static swig_cast_info _swigc__p_wxDisplayChangedEvent
[] = {{&_swigt__p_wxDisplayChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
33805 static swig_cast_info _swigc__p_wxMouseCaptureChangedEvent
[] = {{&_swigt__p_wxMouseCaptureChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
33806 static swig_cast_info _swigc__p_wxSysColourChangedEvent
[] = {{&_swigt__p_wxSysColourChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
33807 static swig_cast_info _swigc__p_wxDropFilesEvent
[] = {{&_swigt__p_wxDropFilesEvent
, 0, 0, 0},{0, 0, 0, 0}};
33808 static swig_cast_info _swigc__p_wxFocusEvent
[] = {{&_swigt__p_wxFocusEvent
, 0, 0, 0},{0, 0, 0, 0}};
33809 static swig_cast_info _swigc__p_wxShowEvent
[] = {{&_swigt__p_wxShowEvent
, 0, 0, 0},{0, 0, 0, 0}};
33810 static swig_cast_info _swigc__p_wxNavigationKeyEvent
[] = {{&_swigt__p_wxNavigationKeyEvent
, 0, 0, 0},{0, 0, 0, 0}};
33811 static swig_cast_info _swigc__p_wxKeyEvent
[] = {{&_swigt__p_wxKeyEvent
, 0, 0, 0},{0, 0, 0, 0}};
33812 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}};
33813 static swig_cast_info _swigc__p_wxValidator
[] = {{&_swigt__p_wxValidator
, 0, 0, 0},{0, 0, 0, 0}};
33814 static swig_cast_info _swigc__p_wxPyValidator
[] = {{&_swigt__p_wxPyValidator
, 0, 0, 0},{0, 0, 0, 0}};
33815 static swig_cast_info _swigc__p_wxControl
[] = {{&_swigt__p_wxControl
, 0, 0, 0},{0, 0, 0, 0}};
33816 static swig_cast_info _swigc__p_wxPyApp
[] = {{&_swigt__p_wxPyApp
, 0, 0, 0},{0, 0, 0, 0}};
33817 static swig_cast_info _swigc__p_wxControlWithItems
[] = {{&_swigt__p_wxControlWithItems
, 0, 0, 0},{0, 0, 0, 0}};
33818 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}};
33819 static swig_cast_info _swigc__p_wxFileDialog
[] = { {&_swigt__p_wxFileDialog
, 0, 0, 0},{0, 0, 0, 0}};
33820 static swig_cast_info _swigc__p_wxFileSystem
[] = { {&_swigt__p_wxFileSystem
, 0, 0, 0},{0, 0, 0, 0}};
33821 static swig_cast_info _swigc__p_wxFindDialogEvent
[] = { {&_swigt__p_wxFindDialogEvent
, 0, 0, 0},{0, 0, 0, 0}};
33822 static swig_cast_info _swigc__p_wxFindReplaceData
[] = { {&_swigt__p_wxFindReplaceData
, 0, 0, 0},{0, 0, 0, 0}};
33823 static swig_cast_info _swigc__p_wxFindReplaceDialog
[] = { {&_swigt__p_wxFindReplaceDialog
, 0, 0, 0},{0, 0, 0, 0}};
33824 static swig_cast_info _swigc__p_wxFont
[] = { {&_swigt__p_wxFont
, 0, 0, 0},{0, 0, 0, 0}};
33825 static swig_cast_info _swigc__p_wxFontData
[] = { {&_swigt__p_wxFontData
, 0, 0, 0},{0, 0, 0, 0}};
33826 static swig_cast_info _swigc__p_wxFontDialog
[] = { {&_swigt__p_wxFontDialog
, 0, 0, 0},{0, 0, 0, 0}};
33827 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}};
33828 static swig_cast_info _swigc__p_wxHtmlLinkInfo
[] = { {&_swigt__p_wxHtmlLinkInfo
, 0, 0, 0},{0, 0, 0, 0}};
33829 static swig_cast_info _swigc__p_wxIcon
[] = { {&_swigt__p_wxIcon
, 0, 0, 0},{0, 0, 0, 0}};
33830 static swig_cast_info _swigc__p_wxIconBundle
[] = { {&_swigt__p_wxIconBundle
, 0, 0, 0},{0, 0, 0, 0}};
33831 static swig_cast_info _swigc__p_wxLayoutAlgorithm
[] = { {&_swigt__p_wxLayoutAlgorithm
, 0, 0, 0},{0, 0, 0, 0}};
33832 static swig_cast_info _swigc__p_wxMDIChildFrame
[] = { {&_swigt__p_wxMDIChildFrame
, 0, 0, 0},{0, 0, 0, 0}};
33833 static swig_cast_info _swigc__p_wxMDIClientWindow
[] = { {&_swigt__p_wxMDIClientWindow
, 0, 0, 0},{0, 0, 0, 0}};
33834 static swig_cast_info _swigc__p_wxMDIParentFrame
[] = { {&_swigt__p_wxMDIParentFrame
, 0, 0, 0},{0, 0, 0, 0}};
33835 static swig_cast_info _swigc__p_wxMenu
[] = { {&_swigt__p_wxMenu
, 0, 0, 0},{0, 0, 0, 0}};
33836 static swig_cast_info _swigc__p_wxMenuBar
[] = { {&_swigt__p_wxMenuBar
, 0, 0, 0},{0, 0, 0, 0}};
33837 static swig_cast_info _swigc__p_wxMessageDialog
[] = { {&_swigt__p_wxMessageDialog
, 0, 0, 0},{0, 0, 0, 0}};
33838 static swig_cast_info _swigc__p_wxMiniFrame
[] = { {&_swigt__p_wxMiniFrame
, 0, 0, 0},{0, 0, 0, 0}};
33839 static swig_cast_info _swigc__p_wxMultiChoiceDialog
[] = { {&_swigt__p_wxMultiChoiceDialog
, 0, 0, 0},{0, 0, 0, 0}};
33840 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}};
33841 static swig_cast_info _swigc__p_wxNumberEntryDialog
[] = { {&_swigt__p_wxNumberEntryDialog
, 0, 0, 0},{0, 0, 0, 0}};
33842 static swig_cast_info _swigc__p_wxLayoutConstraints
[] = {{&_swigt__p_wxLayoutConstraints
, 0, 0, 0},{0, 0, 0, 0}};
33843 static swig_cast_info _swigc__p_wxSizerItem
[] = {{&_swigt__p_wxSizerItem
, 0, 0, 0},{0, 0, 0, 0}};
33844 static swig_cast_info _swigc__p_wxGBSizerItem
[] = {{&_swigt__p_wxGBSizerItem
, 0, 0, 0},{0, 0, 0, 0}};
33845 static swig_cast_info _swigc__p_wxIndividualLayoutConstraint
[] = {{&_swigt__p_wxIndividualLayoutConstraint
, 0, 0, 0},{0, 0, 0, 0}};
33846 static swig_cast_info _swigc__p_wxStaticBoxSizer
[] = {{&_swigt__p_wxStaticBoxSizer
, 0, 0, 0},{0, 0, 0, 0}};
33847 static swig_cast_info _swigc__p_wxBoxSizer
[] = {{&_swigt__p_wxBoxSizer
, 0, 0, 0},{0, 0, 0, 0}};
33848 static swig_cast_info _swigc__p_wxSizer
[] = {{&_swigt__p_wxSizer
, 0, 0, 0},{0, 0, 0, 0}};
33849 static swig_cast_info _swigc__p_wxGridBagSizer
[] = {{&_swigt__p_wxGridBagSizer
, 0, 0, 0},{0, 0, 0, 0}};
33850 static swig_cast_info _swigc__p_wxGridSizer
[] = {{&_swigt__p_wxGridSizer
, 0, 0, 0},{0, 0, 0, 0}};
33851 static swig_cast_info _swigc__p_wxFlexGridSizer
[] = {{&_swigt__p_wxFlexGridSizer
, 0, 0, 0},{0, 0, 0, 0}};
33852 static swig_cast_info _swigc__p_wxFSFile
[] = {{&_swigt__p_wxFSFile
, 0, 0, 0},{0, 0, 0, 0}};
33853 static swig_cast_info _swigc__p_wxPySizer
[] = {{&_swigt__p_wxPySizer
, 0, 0, 0},{0, 0, 0, 0}};
33854 static swig_cast_info _swigc__p_wxMenuItem
[] = {{&_swigt__p_wxMenuItem
, 0, 0, 0},{0, 0, 0, 0}};
33855 static swig_cast_info _swigc__p_wxBMPHandler
[] = {{&_swigt__p_wxBMPHandler
, 0, 0, 0},{0, 0, 0, 0}};
33856 static swig_cast_info _swigc__p_wxICOHandler
[] = {{&_swigt__p_wxICOHandler
, 0, 0, 0},{0, 0, 0, 0}};
33857 static swig_cast_info _swigc__p_wxCURHandler
[] = {{&_swigt__p_wxCURHandler
, 0, 0, 0},{0, 0, 0, 0}};
33858 static swig_cast_info _swigc__p_wxANIHandler
[] = {{&_swigt__p_wxANIHandler
, 0, 0, 0},{0, 0, 0, 0}};
33859 static swig_cast_info _swigc__p_wxPNGHandler
[] = {{&_swigt__p_wxPNGHandler
, 0, 0, 0},{0, 0, 0, 0}};
33860 static swig_cast_info _swigc__p_wxGIFHandler
[] = {{&_swigt__p_wxGIFHandler
, 0, 0, 0},{0, 0, 0, 0}};
33861 static swig_cast_info _swigc__p_wxPCXHandler
[] = {{&_swigt__p_wxPCXHandler
, 0, 0, 0},{0, 0, 0, 0}};
33862 static swig_cast_info _swigc__p_wxJPEGHandler
[] = {{&_swigt__p_wxJPEGHandler
, 0, 0, 0},{0, 0, 0, 0}};
33863 static swig_cast_info _swigc__p_wxPNMHandler
[] = {{&_swigt__p_wxPNMHandler
, 0, 0, 0},{0, 0, 0, 0}};
33864 static swig_cast_info _swigc__p_wxPyImageHandler
[] = {{&_swigt__p_wxPyImageHandler
, 0, 0, 0},{0, 0, 0, 0}};
33865 static swig_cast_info _swigc__p_wxImageHandler
[] = {{&_swigt__p_wxImageHandler
, 0, 0, 0},{0, 0, 0, 0}};
33866 static swig_cast_info _swigc__p_wxXPMHandler
[] = {{&_swigt__p_wxXPMHandler
, 0, 0, 0},{0, 0, 0, 0}};
33867 static swig_cast_info _swigc__p_wxTIFFHandler
[] = {{&_swigt__p_wxTIFFHandler
, 0, 0, 0},{0, 0, 0, 0}};
33868 static swig_cast_info _swigc__p_wxTGAHandler
[] = {{&_swigt__p_wxTGAHandler
, 0, 0, 0},{0, 0, 0, 0}};
33869 static swig_cast_info _swigc__p_wxAcceleratorTable
[] = {{&_swigt__p_wxAcceleratorTable
, 0, 0, 0},{0, 0, 0, 0}};
33870 static swig_cast_info _swigc__p_wxImage
[] = {{&_swigt__p_wxImage
, 0, 0, 0},{0, 0, 0, 0}};
33871 static swig_cast_info _swigc__p_wxObject
[] = { {&_swigt__p_wxQueryLayoutInfoEvent
, _p_wxQueryLayoutInfoEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxLayoutConstraints
, _p_wxLayoutConstraintsTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPreviewFrame
, _p_wxPreviewFrameTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyPreviewFrame
, _p_wxPyPreviewFrameTo_p_wxObject
, 0, 0}, {&_swigt__p_wxSizerItem
, _p_wxSizerItemTo_p_wxObject
, 0, 0}, {&_swigt__p_wxGBSizerItem
, _p_wxGBSizerItemTo_p_wxObject
, 0, 0}, {&_swigt__p_wxScrollEvent
, _p_wxScrollEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxIndividualLayoutConstraint
, _p_wxIndividualLayoutConstraintTo_p_wxObject
, 0, 0}, {&_swigt__p_wxStaticBoxSizer
, _p_wxStaticBoxSizerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxBoxSizer
, _p_wxBoxSizerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxSizer
, _p_wxSizerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxGridBagSizer
, _p_wxGridBagSizerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxUpdateUIEvent
, _p_wxUpdateUIEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyPanel
, _p_wxPyPanelTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMenu
, _p_wxMenuTo_p_wxObject
, 0, 0}, {&_swigt__p_wxFontData
, _p_wxFontDataTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPrintData
, _p_wxPrintDataTo_p_wxObject
, 0, 0}, {&_swigt__p_wxEvent
, _p_wxEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxGridSizer
, _p_wxGridSizerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxFlexGridSizer
, _p_wxFlexGridSizerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyTaskBarIcon
, _p_wxPyTaskBarIconTo_p_wxObject
, 0, 0}, {&_swigt__p_wxLayoutAlgorithm
, _p_wxLayoutAlgorithmTo_p_wxObject
, 0, 0}, {&_swigt__p_wxInitDialogEvent
, _p_wxInitDialogEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxFindDialogEvent
, _p_wxFindDialogEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPaintEvent
, _p_wxPaintEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxNcPaintEvent
, _p_wxNcPaintEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxClipboardTextEvent
, _p_wxClipboardTextEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPaletteChangedEvent
, _p_wxPaletteChangedEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxDisplayChangedEvent
, _p_wxDisplayChangedEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMouseCaptureChangedEvent
, _p_wxMouseCaptureChangedEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxSysColourChangedEvent
, _p_wxSysColourChangedEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPreviewCanvas
, _p_wxPreviewCanvasTo_p_wxObject
, 0, 0}, {&_swigt__p_wxControl
, _p_wxControlTo_p_wxObject
, 0, 0}, {&_swigt__p_wxSetCursorEvent
, _p_wxSetCursorEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxSplitterEvent
, _p_wxSplitterEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxFSFile
, _p_wxFSFileTo_p_wxObject
, 0, 0}, {&_swigt__p_wxFindReplaceData
, _p_wxFindReplaceDataTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPySizer
, _p_wxPySizerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMDIChildFrame
, _p_wxMDIChildFrameTo_p_wxObject
, 0, 0}, {&_swigt__p_wxColourData
, _p_wxColourDataTo_p_wxObject
, 0, 0}, {&_swigt__p_wxNotifyEvent
, _p_wxNotifyEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyEvent
, _p_wxPyEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyWindow
, _p_wxPyWindowTo_p_wxObject
, 0, 0}, {&_swigt__p_wxSplashScreen
, _p_wxSplashScreenTo_p_wxObject
, 0, 0}, {&_swigt__p_wxFindReplaceDialog
, _p_wxFindReplaceDialogTo_p_wxObject
, 0, 0}, {&_swigt__p_wxProgressDialog
, _p_wxProgressDialogTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMessageDialog
, _p_wxMessageDialogTo_p_wxObject
, 0, 0}, {&_swigt__p_wxNumberEntryDialog
, _p_wxNumberEntryDialogTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPasswordEntryDialog
, _p_wxPasswordEntryDialogTo_p_wxObject
, 0, 0}, {&_swigt__p_wxTextEntryDialog
, _p_wxTextEntryDialogTo_p_wxObject
, 0, 0}, {&_swigt__p_wxSingleChoiceDialog
, _p_wxSingleChoiceDialogTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMultiChoiceDialog
, _p_wxMultiChoiceDialogTo_p_wxObject
, 0, 0}, {&_swigt__p_wxFileDialog
, _p_wxFileDialogTo_p_wxObject
, 0, 0}, {&_swigt__p_wxShowEvent
, _p_wxShowEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPrinter
, _p_wxPrinterTo_p_wxObject
, 0, 0}, {&_swigt__p_wxIdleEvent
, _p_wxIdleEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxWindowCreateEvent
, _p_wxWindowCreateEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxQueryNewPaletteEvent
, _p_wxQueryNewPaletteEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMaximizeEvent
, _p_wxMaximizeEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxIconizeEvent
, _p_wxIconizeEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxActivateEvent
, _p_wxActivateEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxDateEvent
, _p_wxDateEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMoveEvent
, _p_wxMoveEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxSizeEvent
, _p_wxSizeEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMenuItem
, _p_wxMenuItemTo_p_wxObject
, 0, 0}, {&_swigt__p_wxCalculateLayoutEvent
, _p_wxCalculateLayoutEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMouseCaptureLostEvent
, _p_wxMouseCaptureLostEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxBMPHandler
, _p_wxBMPHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxICOHandler
, _p_wxICOHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxCURHandler
, _p_wxCURHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxANIHandler
, _p_wxANIHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPNGHandler
, _p_wxPNGHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxGIFHandler
, _p_wxGIFHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPCXHandler
, _p_wxPCXHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxJPEGHandler
, _p_wxJPEGHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPNMHandler
, _p_wxPNMHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyImageHandler
, _p_wxPyImageHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxImageHandler
, _p_wxImageHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxXPMHandler
, _p_wxXPMHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxTIFFHandler
, _p_wxTIFFHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxTGAHandler
, _p_wxTGAHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxEvtHandler
, _p_wxEvtHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyVListBox
, _p_wxPyVListBoxTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyHtmlListBox
, _p_wxPyHtmlListBoxTo_p_wxObject
, 0, 0}, {&_swigt__p_wxAcceleratorTable
, _p_wxAcceleratorTableTo_p_wxObject
, 0, 0}, {&_swigt__p_wxStdDialogButtonSizer
, _p_wxStdDialogButtonSizerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMiniFrame
, _p_wxMiniFrameTo_p_wxObject
, 0, 0}, {&_swigt__p_wxImage
, _p_wxImageTo_p_wxObject
, 0, 0}, {&_swigt__p_wxFrame
, _p_wxFrameTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyPrintout
, _p_wxPyPrintoutTo_p_wxObject
, 0, 0}, {&_swigt__p_wxTaskBarIconEvent
, _p_wxTaskBarIconEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxScrollWinEvent
, _p_wxScrollWinEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxStatusBar
, _p_wxStatusBarTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMDIParentFrame
, _p_wxMDIParentFrameTo_p_wxObject
, 0, 0}, {&_swigt__p_wxObject
, 0, 0, 0}, {&_swigt__p_wxKeyEvent
, _p_wxKeyEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxNavigationKeyEvent
, _p_wxNavigationKeyEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxWindowDestroyEvent
, _p_wxWindowDestroyEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMenuBar
, _p_wxMenuBarTo_p_wxObject
, 0, 0}, {&_swigt__p_wxScrolledWindow
, _p_wxScrolledWindowTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyScrolledWindow
, _p_wxPyScrolledWindowTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyVScrolledWindow
, _p_wxPyVScrolledWindowTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMDIClientWindow
, _p_wxMDIClientWindowTo_p_wxObject
, 0, 0}, {&_swigt__p_wxTopLevelWindow
, _p_wxTopLevelWindowTo_p_wxObject
, 0, 0}, {&_swigt__p_wxWindow
, _p_wxWindowTo_p_wxObject
, 0, 0}, {&_swigt__p_wxSashWindow
, _p_wxSashWindowTo_p_wxObject
, 0, 0}, {&_swigt__p_wxSashLayoutWindow
, _p_wxSashLayoutWindowTo_p_wxObject
, 0, 0}, {&_swigt__p_wxSplitterWindow
, _p_wxSplitterWindowTo_p_wxObject
, 0, 0}, {&_swigt__p_wxSplashScreenWindow
, _p_wxSplashScreenWindowTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPopupWindow
, _p_wxPopupWindowTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyPopupTransientWindow
, _p_wxPyPopupTransientWindowTo_p_wxObject
, 0, 0}, {&_swigt__p_wxTipWindow
, _p_wxTipWindowTo_p_wxObject
, 0, 0}, {&_swigt__p_wxSashEvent
, _p_wxSashEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPrintPreview
, _p_wxPrintPreviewTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyPrintPreview
, _p_wxPyPrintPreviewTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPanel
, _p_wxPanelTo_p_wxObject
, 0, 0}, {&_swigt__p_wxDialog
, _p_wxDialogTo_p_wxObject
, 0, 0}, {&_swigt__p_wxColourDialog
, _p_wxColourDialogTo_p_wxObject
, 0, 0}, {&_swigt__p_wxDirDialog
, _p_wxDirDialogTo_p_wxObject
, 0, 0}, {&_swigt__p_wxFontDialog
, _p_wxFontDialogTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPageSetupDialog
, _p_wxPageSetupDialogTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPrintDialog
, _p_wxPrintDialogTo_p_wxObject
, 0, 0}, {&_swigt__p_wxFileSystem
, _p_wxFileSystemTo_p_wxObject
, 0, 0}, {&_swigt__p_wxContextMenuEvent
, _p_wxContextMenuEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMenuEvent
, _p_wxMenuEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxCloseEvent
, _p_wxCloseEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMouseEvent
, _p_wxMouseEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxEraseEvent
, _p_wxEraseEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyApp
, _p_wxPyAppTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyCommandEvent
, _p_wxPyCommandEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxCommandEvent
, _p_wxCommandEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPreviewControlBar
, _p_wxPreviewControlBarTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyPreviewControlBar
, _p_wxPyPreviewControlBarTo_p_wxObject
, 0, 0}, {&_swigt__p_wxChildFocusEvent
, _p_wxChildFocusEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxDropFilesEvent
, _p_wxDropFilesEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxFocusEvent
, _p_wxFocusEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxControlWithItems
, _p_wxControlWithItemsTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPageSetupDialogData
, _p_wxPageSetupDialogDataTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPrintDialogData
, _p_wxPrintDialogDataTo_p_wxObject
, 0, 0}, {&_swigt__p_wxValidator
, _p_wxValidatorTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyValidator
, _p_wxPyValidatorTo_p_wxObject
, 0, 0},{0, 0, 0, 0}};
33872 static swig_cast_info _swigc__p_wxPageSetupDialog
[] = { {&_swigt__p_wxPageSetupDialog
, 0, 0, 0},{0, 0, 0, 0}};
33873 static swig_cast_info _swigc__p_wxPageSetupDialogData
[] = { {&_swigt__p_wxPageSetupDialogData
, 0, 0, 0},{0, 0, 0, 0}};
33874 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}};
33875 static swig_cast_info _swigc__p_wxPaperSize
[] = { {&_swigt__p_wxPaperSize
, 0, 0, 0},{0, 0, 0, 0}};
33876 static swig_cast_info _swigc__p_wxPasswordEntryDialog
[] = { {&_swigt__p_wxPasswordEntryDialog
, 0, 0, 0},{0, 0, 0, 0}};
33877 static swig_cast_info _swigc__p_wxPoint
[] = { {&_swigt__p_wxPoint
, 0, 0, 0},{0, 0, 0, 0}};
33878 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}};
33879 static swig_cast_info _swigc__p_wxPreviewCanvas
[] = { {&_swigt__p_wxPreviewCanvas
, 0, 0, 0},{0, 0, 0, 0}};
33880 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}};
33881 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}};
33882 static swig_cast_info _swigc__p_wxPrintData
[] = { {&_swigt__p_wxPrintData
, 0, 0, 0},{0, 0, 0, 0}};
33883 static swig_cast_info _swigc__p_wxPrintDialog
[] = { {&_swigt__p_wxPrintDialog
, 0, 0, 0},{0, 0, 0, 0}};
33884 static swig_cast_info _swigc__p_wxPrintDialogData
[] = { {&_swigt__p_wxPrintDialogData
, 0, 0, 0},{0, 0, 0, 0}};
33885 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}};
33886 static swig_cast_info _swigc__p_wxPrinter
[] = { {&_swigt__p_wxPrinter
, 0, 0, 0},{0, 0, 0, 0}};
33887 static swig_cast_info _swigc__p_wxProgressDialog
[] = { {&_swigt__p_wxProgressDialog
, 0, 0, 0},{0, 0, 0, 0}};
33888 static swig_cast_info _swigc__p_wxPyHtmlListBox
[] = { {&_swigt__p_wxPyHtmlListBox
, 0, 0, 0},{0, 0, 0, 0}};
33889 static swig_cast_info _swigc__p_wxPyPanel
[] = { {&_swigt__p_wxPyPanel
, 0, 0, 0},{0, 0, 0, 0}};
33890 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}};
33891 static swig_cast_info _swigc__p_wxPyPreviewControlBar
[] = { {&_swigt__p_wxPyPreviewControlBar
, 0, 0, 0},{0, 0, 0, 0}};
33892 static swig_cast_info _swigc__p_wxPyPreviewFrame
[] = { {&_swigt__p_wxPyPreviewFrame
, 0, 0, 0},{0, 0, 0, 0}};
33893 static swig_cast_info _swigc__p_wxPyPrintPreview
[] = { {&_swigt__p_wxPyPrintPreview
, 0, 0, 0},{0, 0, 0, 0}};
33894 static swig_cast_info _swigc__p_wxPyPrintout
[] = { {&_swigt__p_wxPyPrintout
, 0, 0, 0},{0, 0, 0, 0}};
33895 static swig_cast_info _swigc__p_wxPyScrolledWindow
[] = { {&_swigt__p_wxPyScrolledWindow
, 0, 0, 0},{0, 0, 0, 0}};
33896 static swig_cast_info _swigc__p_wxPyTaskBarIcon
[] = { {&_swigt__p_wxPyTaskBarIcon
, 0, 0, 0},{0, 0, 0, 0}};
33897 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}};
33898 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}};
33899 static swig_cast_info _swigc__p_wxPyWindow
[] = { {&_swigt__p_wxPyWindow
, 0, 0, 0},{0, 0, 0, 0}};
33900 static swig_cast_info _swigc__p_wxQueryLayoutInfoEvent
[] = { {&_swigt__p_wxQueryLayoutInfoEvent
, 0, 0, 0},{0, 0, 0, 0}};
33901 static swig_cast_info _swigc__p_wxRect
[] = { {&_swigt__p_wxRect
, 0, 0, 0},{0, 0, 0, 0}};
33902 static swig_cast_info _swigc__p_wxRegion
[] = { {&_swigt__p_wxRegion
, 0, 0, 0},{0, 0, 0, 0}};
33903 static swig_cast_info _swigc__p_wxSashEvent
[] = { {&_swigt__p_wxSashEvent
, 0, 0, 0},{0, 0, 0, 0}};
33904 static swig_cast_info _swigc__p_wxSashLayoutWindow
[] = { {&_swigt__p_wxSashLayoutWindow
, 0, 0, 0},{0, 0, 0, 0}};
33905 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}};
33906 static swig_cast_info _swigc__p_wxScrollWinEvent
[] = { {&_swigt__p_wxScrollWinEvent
, 0, 0, 0},{0, 0, 0, 0}};
33907 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}};
33908 static swig_cast_info _swigc__p_wxSingleChoiceDialog
[] = { {&_swigt__p_wxSingleChoiceDialog
, 0, 0, 0},{0, 0, 0, 0}};
33909 static swig_cast_info _swigc__p_wxSize
[] = { {&_swigt__p_wxSize
, 0, 0, 0},{0, 0, 0, 0}};
33910 static swig_cast_info _swigc__p_wxSplashScreen
[] = { {&_swigt__p_wxSplashScreen
, 0, 0, 0},{0, 0, 0, 0}};
33911 static swig_cast_info _swigc__p_wxSplashScreenWindow
[] = { {&_swigt__p_wxSplashScreenWindow
, 0, 0, 0},{0, 0, 0, 0}};
33912 static swig_cast_info _swigc__p_wxSplitterEvent
[] = { {&_swigt__p_wxSplitterEvent
, 0, 0, 0},{0, 0, 0, 0}};
33913 static swig_cast_info _swigc__p_wxSplitterWindow
[] = { {&_swigt__p_wxSplitterWindow
, 0, 0, 0},{0, 0, 0, 0}};
33914 static swig_cast_info _swigc__p_wxStatusBar
[] = { {&_swigt__p_wxStatusBar
, 0, 0, 0},{0, 0, 0, 0}};
33915 static swig_cast_info _swigc__p_wxStdDialogButtonSizer
[] = { {&_swigt__p_wxStdDialogButtonSizer
, 0, 0, 0},{0, 0, 0, 0}};
33916 static swig_cast_info _swigc__p_wxString
[] = { {&_swigt__p_wxString
, 0, 0, 0},{0, 0, 0, 0}};
33917 static swig_cast_info _swigc__p_wxTaskBarIcon
[] = { {&_swigt__p_wxTaskBarIcon
, 0, 0, 0},{0, 0, 0, 0}};
33918 static swig_cast_info _swigc__p_wxTaskBarIconEvent
[] = { {&_swigt__p_wxTaskBarIconEvent
, 0, 0, 0},{0, 0, 0, 0}};
33919 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}};
33920 static swig_cast_info _swigc__p_wxTipWindow
[] = { {&_swigt__p_wxTipWindow
, 0, 0, 0},{0, 0, 0, 0}};
33921 static swig_cast_info _swigc__p_wxToolBar
[] = { {&_swigt__p_wxToolBar
, 0, 0, 0},{0, 0, 0, 0}};
33922 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}};
33923 static swig_cast_info _swigc__p_wxVisualAttributes
[] = { {&_swigt__p_wxVisualAttributes
, 0, 0, 0},{0, 0, 0, 0}};
33924 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}};
33926 static swig_cast_info
*swig_cast_initial
[] = {
33929 _swigc__p_form_ops_t
,
33931 _swigc__p_unsigned_char
,
33932 _swigc__p_unsigned_int
,
33933 _swigc__p_unsigned_long
,
33934 _swigc__p_wxANIHandler
,
33935 _swigc__p_wxAcceleratorTable
,
33936 _swigc__p_wxActivateEvent
,
33937 _swigc__p_wxArrayInt
,
33938 _swigc__p_wxBMPHandler
,
33939 _swigc__p_wxBitmap
,
33940 _swigc__p_wxBoxSizer
,
33941 _swigc__p_wxCURHandler
,
33942 _swigc__p_wxCalculateLayoutEvent
,
33943 _swigc__p_wxChildFocusEvent
,
33944 _swigc__p_wxClipboardTextEvent
,
33945 _swigc__p_wxCloseEvent
,
33946 _swigc__p_wxColour
,
33947 _swigc__p_wxColourData
,
33948 _swigc__p_wxColourDialog
,
33949 _swigc__p_wxCommandEvent
,
33950 _swigc__p_wxContextMenuEvent
,
33951 _swigc__p_wxControl
,
33952 _swigc__p_wxControlWithItems
,
33954 _swigc__p_wxDateEvent
,
33955 _swigc__p_wxDialog
,
33956 _swigc__p_wxDirDialog
,
33957 _swigc__p_wxDisplayChangedEvent
,
33958 _swigc__p_wxDropFilesEvent
,
33959 _swigc__p_wxDuplexMode
,
33960 _swigc__p_wxEraseEvent
,
33962 _swigc__p_wxEvtHandler
,
33963 _swigc__p_wxFSFile
,
33964 _swigc__p_wxFileDialog
,
33965 _swigc__p_wxFileSystem
,
33966 _swigc__p_wxFindDialogEvent
,
33967 _swigc__p_wxFindReplaceData
,
33968 _swigc__p_wxFindReplaceDialog
,
33969 _swigc__p_wxFlexGridSizer
,
33970 _swigc__p_wxFocusEvent
,
33972 _swigc__p_wxFontData
,
33973 _swigc__p_wxFontDialog
,
33975 _swigc__p_wxGBSizerItem
,
33976 _swigc__p_wxGIFHandler
,
33977 _swigc__p_wxGridBagSizer
,
33978 _swigc__p_wxGridSizer
,
33979 _swigc__p_wxHtmlLinkInfo
,
33980 _swigc__p_wxICOHandler
,
33982 _swigc__p_wxIconBundle
,
33983 _swigc__p_wxIconizeEvent
,
33984 _swigc__p_wxIdleEvent
,
33986 _swigc__p_wxImageHandler
,
33987 _swigc__p_wxIndividualLayoutConstraint
,
33988 _swigc__p_wxInitDialogEvent
,
33989 _swigc__p_wxJPEGHandler
,
33990 _swigc__p_wxKeyEvent
,
33991 _swigc__p_wxLayoutAlgorithm
,
33992 _swigc__p_wxLayoutConstraints
,
33993 _swigc__p_wxMDIChildFrame
,
33994 _swigc__p_wxMDIClientWindow
,
33995 _swigc__p_wxMDIParentFrame
,
33996 _swigc__p_wxMaximizeEvent
,
33998 _swigc__p_wxMenuBar
,
33999 _swigc__p_wxMenuEvent
,
34000 _swigc__p_wxMenuItem
,
34001 _swigc__p_wxMessageDialog
,
34002 _swigc__p_wxMiniFrame
,
34003 _swigc__p_wxMouseCaptureChangedEvent
,
34004 _swigc__p_wxMouseCaptureLostEvent
,
34005 _swigc__p_wxMouseEvent
,
34006 _swigc__p_wxMoveEvent
,
34007 _swigc__p_wxMultiChoiceDialog
,
34008 _swigc__p_wxNavigationKeyEvent
,
34009 _swigc__p_wxNcPaintEvent
,
34010 _swigc__p_wxNotifyEvent
,
34011 _swigc__p_wxNumberEntryDialog
,
34012 _swigc__p_wxObject
,
34013 _swigc__p_wxPCXHandler
,
34014 _swigc__p_wxPNGHandler
,
34015 _swigc__p_wxPNMHandler
,
34016 _swigc__p_wxPageSetupDialog
,
34017 _swigc__p_wxPageSetupDialogData
,
34018 _swigc__p_wxPaintEvent
,
34019 _swigc__p_wxPaletteChangedEvent
,
34021 _swigc__p_wxPaperSize
,
34022 _swigc__p_wxPasswordEntryDialog
,
34024 _swigc__p_wxPopupWindow
,
34025 _swigc__p_wxPreviewCanvas
,
34026 _swigc__p_wxPreviewControlBar
,
34027 _swigc__p_wxPreviewFrame
,
34028 _swigc__p_wxPrintData
,
34029 _swigc__p_wxPrintDialog
,
34030 _swigc__p_wxPrintDialogData
,
34031 _swigc__p_wxPrintPreview
,
34032 _swigc__p_wxPrinter
,
34033 _swigc__p_wxProgressDialog
,
34035 _swigc__p_wxPyCommandEvent
,
34036 _swigc__p_wxPyEvent
,
34037 _swigc__p_wxPyHtmlListBox
,
34038 _swigc__p_wxPyImageHandler
,
34039 _swigc__p_wxPyPanel
,
34040 _swigc__p_wxPyPopupTransientWindow
,
34041 _swigc__p_wxPyPreviewControlBar
,
34042 _swigc__p_wxPyPreviewFrame
,
34043 _swigc__p_wxPyPrintPreview
,
34044 _swigc__p_wxPyPrintout
,
34045 _swigc__p_wxPyScrolledWindow
,
34046 _swigc__p_wxPySizer
,
34047 _swigc__p_wxPyTaskBarIcon
,
34048 _swigc__p_wxPyVListBox
,
34049 _swigc__p_wxPyVScrolledWindow
,
34050 _swigc__p_wxPyValidator
,
34051 _swigc__p_wxPyWindow
,
34052 _swigc__p_wxQueryLayoutInfoEvent
,
34053 _swigc__p_wxQueryNewPaletteEvent
,
34055 _swigc__p_wxRegion
,
34056 _swigc__p_wxSashEvent
,
34057 _swigc__p_wxSashLayoutWindow
,
34058 _swigc__p_wxSashWindow
,
34059 _swigc__p_wxScrollEvent
,
34060 _swigc__p_wxScrollWinEvent
,
34061 _swigc__p_wxScrolledWindow
,
34062 _swigc__p_wxSetCursorEvent
,
34063 _swigc__p_wxShowEvent
,
34064 _swigc__p_wxSingleChoiceDialog
,
34066 _swigc__p_wxSizeEvent
,
34068 _swigc__p_wxSizerItem
,
34069 _swigc__p_wxSplashScreen
,
34070 _swigc__p_wxSplashScreenWindow
,
34071 _swigc__p_wxSplitterEvent
,
34072 _swigc__p_wxSplitterWindow
,
34073 _swigc__p_wxStaticBoxSizer
,
34074 _swigc__p_wxStatusBar
,
34075 _swigc__p_wxStdDialogButtonSizer
,
34076 _swigc__p_wxString
,
34077 _swigc__p_wxSysColourChangedEvent
,
34078 _swigc__p_wxTGAHandler
,
34079 _swigc__p_wxTIFFHandler
,
34080 _swigc__p_wxTaskBarIcon
,
34081 _swigc__p_wxTaskBarIconEvent
,
34082 _swigc__p_wxTextEntryDialog
,
34083 _swigc__p_wxTipWindow
,
34084 _swigc__p_wxToolBar
,
34085 _swigc__p_wxTopLevelWindow
,
34086 _swigc__p_wxUpdateUIEvent
,
34087 _swigc__p_wxValidator
,
34088 _swigc__p_wxVisualAttributes
,
34089 _swigc__p_wxWindow
,
34090 _swigc__p_wxWindowCreateEvent
,
34091 _swigc__p_wxWindowDestroyEvent
,
34092 _swigc__p_wxXPMHandler
,
34096 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
34098 static swig_const_info swig_const_table
[] = {
34099 {0, 0, 0, 0.0, 0, 0}};
34104 /* -----------------------------------------------------------------------------
34105 * Type initialization:
34106 * This problem is tough by the requirement that no dynamic
34107 * memory is used. Also, since swig_type_info structures store pointers to
34108 * swig_cast_info structures and swig_cast_info structures store pointers back
34109 * to swig_type_info structures, we need some lookup code at initialization.
34110 * The idea is that swig generates all the structures that are needed.
34111 * The runtime then collects these partially filled structures.
34112 * The SWIG_InitializeModule function takes these initial arrays out of
34113 * swig_module, and does all the lookup, filling in the swig_module.types
34114 * array with the correct data and linking the correct swig_cast_info
34115 * structures together.
34117 * The generated swig_type_info structures are assigned staticly to an initial
34118 * array. We just loop though that array, and handle each type individually.
34119 * First we lookup if this type has been already loaded, and if so, use the
34120 * loaded structure instead of the generated one. Then we have to fill in the
34121 * cast linked list. The cast data is initially stored in something like a
34122 * two-dimensional array. Each row corresponds to a type (there are the same
34123 * number of rows as there are in the swig_type_initial array). Each entry in
34124 * a column is one of the swig_cast_info structures for that type.
34125 * The cast_initial array is actually an array of arrays, because each row has
34126 * a variable number of columns. So to actually build the cast linked list,
34127 * we find the array of casts associated with the type, and loop through it
34128 * adding the casts to the list. The one last trick we need to do is making
34129 * sure the type pointer in the swig_cast_info struct is correct.
34131 * First off, we lookup the cast->type name to see if it is already loaded.
34132 * There are three cases to handle:
34133 * 1) If the cast->type has already been loaded AND the type we are adding
34134 * casting info to has not been loaded (it is in this module), THEN we
34135 * replace the cast->type pointer with the type pointer that has already
34137 * 2) If BOTH types (the one we are adding casting info to, and the
34138 * cast->type) are loaded, THEN the cast info has already been loaded by
34139 * the previous module so we just ignore it.
34140 * 3) Finally, if cast->type has not already been loaded, then we add that
34141 * swig_cast_info to the linked list (because the cast->type) pointer will
34143 * ----------------------------------------------------------------------------- */
34153 #define SWIGRUNTIME_DEBUG
34157 SWIG_InitializeModule(void *clientdata
) {
34159 swig_module_info
*module_head
;
34160 static int init_run
= 0;
34162 clientdata
= clientdata
;
34164 if (init_run
) return;
34167 /* Initialize the swig_module */
34168 swig_module
.type_initial
= swig_type_initial
;
34169 swig_module
.cast_initial
= swig_cast_initial
;
34171 /* Try and load any already created modules */
34172 module_head
= SWIG_GetModule(clientdata
);
34174 swig_module
.next
= module_head
->next
;
34175 module_head
->next
= &swig_module
;
34177 /* This is the first module loaded */
34178 swig_module
.next
= &swig_module
;
34179 SWIG_SetModule(clientdata
, &swig_module
);
34182 /* Now work on filling in swig_module.types */
34183 #ifdef SWIGRUNTIME_DEBUG
34184 printf("SWIG_InitializeModule: size %d\n", swig_module
.size
);
34186 for (i
= 0; i
< swig_module
.size
; ++i
) {
34187 swig_type_info
*type
= 0;
34188 swig_type_info
*ret
;
34189 swig_cast_info
*cast
;
34191 #ifdef SWIGRUNTIME_DEBUG
34192 printf("SWIG_InitializeModule: type %d %s\n", i
, swig_module
.type_initial
[i
]->name
);
34195 /* if there is another module already loaded */
34196 if (swig_module
.next
!= &swig_module
) {
34197 type
= SWIG_MangledTypeQueryModule(swig_module
.next
, &swig_module
, swig_module
.type_initial
[i
]->name
);
34200 /* Overwrite clientdata field */
34201 #ifdef SWIGRUNTIME_DEBUG
34202 printf("SWIG_InitializeModule: found type %s\n", type
->name
);
34204 if (swig_module
.type_initial
[i
]->clientdata
) {
34205 type
->clientdata
= swig_module
.type_initial
[i
]->clientdata
;
34206 #ifdef SWIGRUNTIME_DEBUG
34207 printf("SWIG_InitializeModule: found and overwrite type %s \n", type
->name
);
34211 type
= swig_module
.type_initial
[i
];
34214 /* Insert casting types */
34215 cast
= swig_module
.cast_initial
[i
];
34216 while (cast
->type
) {
34217 /* Don't need to add information already in the list */
34219 #ifdef SWIGRUNTIME_DEBUG
34220 printf("SWIG_InitializeModule: look cast %s\n", cast
->type
->name
);
34222 if (swig_module
.next
!= &swig_module
) {
34223 ret
= SWIG_MangledTypeQueryModule(swig_module
.next
, &swig_module
, cast
->type
->name
);
34224 #ifdef SWIGRUNTIME_DEBUG
34225 if (ret
) printf("SWIG_InitializeModule: found cast %s\n", ret
->name
);
34229 if (type
== swig_module
.type_initial
[i
]) {
34230 #ifdef SWIGRUNTIME_DEBUG
34231 printf("SWIG_InitializeModule: skip old type %s\n", ret
->name
);
34236 /* Check for casting already in the list */
34237 swig_cast_info
*ocast
= SWIG_TypeCheck(ret
->name
, type
);
34238 #ifdef SWIGRUNTIME_DEBUG
34239 if (ocast
) printf("SWIG_InitializeModule: skip old cast %s\n", ret
->name
);
34241 if (!ocast
) ret
= 0;
34246 #ifdef SWIGRUNTIME_DEBUG
34247 printf("SWIG_InitializeModule: adding cast %s\n", cast
->type
->name
);
34250 type
->cast
->prev
= cast
;
34251 cast
->next
= type
->cast
;
34257 /* Set entry in modules->types array equal to the type */
34258 swig_module
.types
[i
] = type
;
34260 swig_module
.types
[i
] = 0;
34262 #ifdef SWIGRUNTIME_DEBUG
34263 printf("**** SWIG_InitializeModule: Cast List ******\n");
34264 for (i
= 0; i
< swig_module
.size
; ++i
) {
34266 swig_cast_info
*cast
= swig_module
.cast_initial
[i
];
34267 printf("SWIG_InitializeModule: type %d %s\n", i
, swig_module
.type_initial
[i
]->name
);
34268 while (cast
->type
) {
34269 printf("SWIG_InitializeModule: cast type %s\n", cast
->type
->name
);
34273 printf("---- Total casts: %d\n",j
);
34275 printf("**** SWIG_InitializeModule: Cast List ******\n");
34279 /* This function will propagate the clientdata field of type to
34280 * any new swig_type_info structures that have been added into the list
34281 * of equivalent types. It is like calling
34282 * SWIG_TypeClientData(type, clientdata) a second time.
34285 SWIG_PropagateClientData(void) {
34287 swig_cast_info
*equiv
;
34288 static int init_run
= 0;
34290 if (init_run
) return;
34293 for (i
= 0; i
< swig_module
.size
; i
++) {
34294 if (swig_module
.types
[i
]->clientdata
) {
34295 equiv
= swig_module
.types
[i
]->cast
;
34297 if (!equiv
->converter
) {
34298 if (equiv
->type
&& !equiv
->type
->clientdata
)
34299 SWIG_TypeClientData(equiv
->type
, swig_module
.types
[i
]->clientdata
);
34301 equiv
= equiv
->next
;
34321 /* Python-specific SWIG API */
34322 #define SWIG_newvarlink() SWIG_Python_newvarlink()
34323 #define SWIG_addvarlink(p, name, get_attr, set_attr) SWIG_Python_addvarlink(p, name, get_attr, set_attr)
34324 #define SWIG_InstallConstants(d, constants) SWIG_Python_InstallConstants(d, constants)
34326 /* -----------------------------------------------------------------------------
34327 * global variable support code.
34328 * ----------------------------------------------------------------------------- */
34330 typedef struct swig_globalvar
{
34331 char *name
; /* Name of global variable */
34332 PyObject
*(*get_attr
)(void); /* Return the current value */
34333 int (*set_attr
)(PyObject
*); /* Set the value */
34334 struct swig_globalvar
*next
;
34337 typedef struct swig_varlinkobject
{
34339 swig_globalvar
*vars
;
34340 } swig_varlinkobject
;
34342 SWIGINTERN PyObject
*
34343 swig_varlink_repr(swig_varlinkobject
*SWIGUNUSEDPARM(v
)) {
34344 return PyString_FromString("<Swig global variables>");
34347 SWIGINTERN PyObject
*
34348 swig_varlink_str(swig_varlinkobject
*v
) {
34349 PyObject
*str
= PyString_FromString("(");
34350 swig_globalvar
*var
;
34351 for (var
= v
->vars
; var
; var
=var
->next
) {
34352 PyString_ConcatAndDel(&str
,PyString_FromString(var
->name
));
34353 if (var
->next
) PyString_ConcatAndDel(&str
,PyString_FromString(", "));
34355 PyString_ConcatAndDel(&str
,PyString_FromString(")"));
34360 swig_varlink_print(swig_varlinkobject
*v
, FILE *fp
, int SWIGUNUSEDPARM(flags
)) {
34361 PyObject
*str
= swig_varlink_str(v
);
34362 fprintf(fp
,"Swig global variables ");
34363 fprintf(fp
,"%s\n", PyString_AsString(str
));
34369 swig_varlink_dealloc(swig_varlinkobject
*v
) {
34370 swig_globalvar
*var
= v
->vars
;
34372 swig_globalvar
*n
= var
->next
;
34379 SWIGINTERN PyObject
*
34380 swig_varlink_getattr(swig_varlinkobject
*v
, char *n
) {
34381 PyObject
*res
= NULL
;
34382 swig_globalvar
*var
= v
->vars
;
34384 if (strcmp(var
->name
,n
) == 0) {
34385 res
= (*var
->get_attr
)();
34390 if (res
== NULL
&& !PyErr_Occurred()) {
34391 PyErr_SetString(PyExc_NameError
,"Unknown C global variable");
34397 swig_varlink_setattr(swig_varlinkobject
*v
, char *n
, PyObject
*p
) {
34399 swig_globalvar
*var
= v
->vars
;
34401 if (strcmp(var
->name
,n
) == 0) {
34402 res
= (*var
->set_attr
)(p
);
34407 if (res
== 1 && !PyErr_Occurred()) {
34408 PyErr_SetString(PyExc_NameError
,"Unknown C global variable");
34413 SWIGINTERN PyTypeObject
*
34414 swig_varlink_type(void) {
34415 static char varlink__doc__
[] = "Swig var link object";
34416 static PyTypeObject varlink_type
;
34417 static int type_init
= 0;
34419 const PyTypeObject tmp
34421 PyObject_HEAD_INIT(NULL
)
34422 0, /* Number of items in variable part (ob_size) */
34423 (char *)"swigvarlink", /* Type name (tp_name) */
34424 sizeof(swig_varlinkobject
), /* Basic size (tp_basicsize) */
34425 0, /* Itemsize (tp_itemsize) */
34426 (destructor
) swig_varlink_dealloc
, /* Deallocator (tp_dealloc) */
34427 (printfunc
) swig_varlink_print
, /* Print (tp_print) */
34428 (getattrfunc
) swig_varlink_getattr
, /* get attr (tp_getattr) */
34429 (setattrfunc
) swig_varlink_setattr
, /* Set attr (tp_setattr) */
34430 0, /* tp_compare */
34431 (reprfunc
) swig_varlink_repr
, /* tp_repr */
34432 0, /* tp_as_number */
34433 0, /* tp_as_sequence */
34434 0, /* tp_as_mapping */
34437 (reprfunc
)swig_varlink_str
, /* tp_str */
34438 0, /* tp_getattro */
34439 0, /* tp_setattro */
34440 0, /* tp_as_buffer */
34442 varlink__doc__
, /* tp_doc */
34443 0, /* tp_traverse */
34445 0, /* tp_richcompare */
34446 0, /* tp_weaklistoffset */
34447 #if PY_VERSION_HEX >= 0x02020000
34448 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, /* tp_iter -> tp_weaklist */
34450 #if PY_VERSION_HEX >= 0x02030000
34453 #ifdef COUNT_ALLOCS
34454 0,0,0,0 /* tp_alloc -> tp_next */
34457 varlink_type
= tmp
;
34458 varlink_type
.ob_type
= &PyType_Type
;
34461 return &varlink_type
;
34464 /* Create a variable linking object for use later */
34465 SWIGINTERN PyObject
*
34466 SWIG_Python_newvarlink(void) {
34467 swig_varlinkobject
*result
= PyObject_NEW(swig_varlinkobject
, swig_varlink_type());
34471 return ((PyObject
*) result
);
34475 SWIG_Python_addvarlink(PyObject
*p
, char *name
, PyObject
*(*get_attr
)(void), int (*set_attr
)(PyObject
*p
)) {
34476 swig_varlinkobject
*v
= (swig_varlinkobject
*) p
;
34477 swig_globalvar
*gv
= (swig_globalvar
*) malloc(sizeof(swig_globalvar
));
34479 size_t size
= strlen(name
)+1;
34480 gv
->name
= (char *)malloc(size
);
34482 strncpy(gv
->name
,name
,size
);
34483 gv
->get_attr
= get_attr
;
34484 gv
->set_attr
= set_attr
;
34485 gv
->next
= v
->vars
;
34491 SWIGINTERN PyObject
*
34493 static PyObject
*_SWIG_globals
= 0;
34494 if (!_SWIG_globals
) _SWIG_globals
= SWIG_newvarlink();
34495 return _SWIG_globals
;
34498 /* -----------------------------------------------------------------------------
34499 * constants/methods manipulation
34500 * ----------------------------------------------------------------------------- */
34502 /* Install Constants */
34504 SWIG_Python_InstallConstants(PyObject
*d
, swig_const_info constants
[]) {
34507 for (i
= 0; constants
[i
].type
; ++i
) {
34508 switch(constants
[i
].type
) {
34509 case SWIG_PY_POINTER
:
34510 obj
= SWIG_NewPointerObj(constants
[i
].pvalue
, *(constants
[i
]).ptype
,0);
34512 case SWIG_PY_BINARY
:
34513 obj
= SWIG_NewPackedObj(constants
[i
].pvalue
, constants
[i
].lvalue
, *(constants
[i
].ptype
));
34520 PyDict_SetItemString(d
, constants
[i
].name
, obj
);
34526 /* -----------------------------------------------------------------------------*/
34527 /* Fix SwigMethods to carry the callback ptrs when needed */
34528 /* -----------------------------------------------------------------------------*/
34531 SWIG_Python_FixMethods(PyMethodDef
*methods
,
34532 swig_const_info
*const_table
,
34533 swig_type_info
**types
,
34534 swig_type_info
**types_initial
) {
34536 for (i
= 0; methods
[i
].ml_name
; ++i
) {
34537 const char *c
= methods
[i
].ml_doc
;
34538 if (c
&& (c
= strstr(c
, "swig_ptr: "))) {
34540 swig_const_info
*ci
= 0;
34541 const char *name
= c
+ 10;
34542 for (j
= 0; const_table
[j
].type
; ++j
) {
34543 if (strncmp(const_table
[j
].name
, name
,
34544 strlen(const_table
[j
].name
)) == 0) {
34545 ci
= &(const_table
[j
]);
34550 size_t shift
= (ci
->ptype
) - types
;
34551 swig_type_info
*ty
= types_initial
[shift
];
34552 size_t ldoc
= (c
- methods
[i
].ml_doc
);
34553 size_t lptr
= strlen(ty
->name
)+2*sizeof(void*)+2;
34554 char *ndoc
= (char*)malloc(ldoc
+ lptr
+ 10);
34557 void *ptr
= (ci
->type
== SWIG_PY_POINTER
) ? ci
->pvalue
: 0;
34559 strncpy(buff
, methods
[i
].ml_doc
, ldoc
);
34561 strncpy(buff
, "swig_ptr: ", 10);
34563 SWIG_PackVoidPtr(buff
, ptr
, ty
->name
, lptr
);
34564 methods
[i
].ml_doc
= ndoc
;
34576 /* -----------------------------------------------------------------------------*
34577 * Partial Init method
34578 * -----------------------------------------------------------------------------*/
34583 SWIGEXPORT
void SWIG_init(void) {
34586 /* Fix SwigMethods to carry the callback ptrs when needed */
34587 SWIG_Python_FixMethods(SwigMethods
, swig_const_table
, swig_types
, swig_type_initial
);
34589 m
= Py_InitModule((char *) SWIG_name
, SwigMethods
);
34590 d
= PyModule_GetDict(m
);
34592 SWIG_InitializeModule(0);
34593 SWIG_InstallConstants(d
,swig_const_table
);
34596 PyDict_SetItemString(d
,(char*)"cvar", SWIG_globals());
34597 SWIG_addvarlink(SWIG_globals(),(char*)"FrameNameStr",FrameNameStr_get
, FrameNameStr_set
);
34598 SWIG_addvarlink(SWIG_globals(),(char*)"DialogNameStr",DialogNameStr_get
, DialogNameStr_set
);
34599 SWIG_addvarlink(SWIG_globals(),(char*)"StatusLineNameStr",StatusLineNameStr_get
, StatusLineNameStr_set
);
34600 SWIG_addvarlink(SWIG_globals(),(char*)"ToolBarNameStr",ToolBarNameStr_get
, ToolBarNameStr_set
);
34601 SWIG_Python_SetConstant(d
, "STAY_ON_TOP",SWIG_From_int(static_cast< int >(wxSTAY_ON_TOP
)));
34602 SWIG_Python_SetConstant(d
, "ICONIZE",SWIG_From_int(static_cast< int >(wxICONIZE
)));
34603 SWIG_Python_SetConstant(d
, "MINIMIZE",SWIG_From_int(static_cast< int >(wxMINIMIZE
)));
34604 SWIG_Python_SetConstant(d
, "MAXIMIZE",SWIG_From_int(static_cast< int >(wxMAXIMIZE
)));
34605 SWIG_Python_SetConstant(d
, "CLOSE_BOX",SWIG_From_int(static_cast< int >(wxCLOSE_BOX
)));
34606 SWIG_Python_SetConstant(d
, "THICK_FRAME",SWIG_From_int(static_cast< int >(wxTHICK_FRAME
)));
34607 SWIG_Python_SetConstant(d
, "SYSTEM_MENU",SWIG_From_int(static_cast< int >(wxSYSTEM_MENU
)));
34608 SWIG_Python_SetConstant(d
, "MINIMIZE_BOX",SWIG_From_int(static_cast< int >(wxMINIMIZE_BOX
)));
34609 SWIG_Python_SetConstant(d
, "MAXIMIZE_BOX",SWIG_From_int(static_cast< int >(wxMAXIMIZE_BOX
)));
34610 SWIG_Python_SetConstant(d
, "TINY_CAPTION_HORIZ",SWIG_From_int(static_cast< int >(wxTINY_CAPTION_HORIZ
)));
34611 SWIG_Python_SetConstant(d
, "TINY_CAPTION_VERT",SWIG_From_int(static_cast< int >(wxTINY_CAPTION_VERT
)));
34612 SWIG_Python_SetConstant(d
, "RESIZE_BOX",SWIG_From_int(static_cast< int >(wxRESIZE_BOX
)));
34613 SWIG_Python_SetConstant(d
, "RESIZE_BORDER",SWIG_From_int(static_cast< int >(wxRESIZE_BORDER
)));
34614 SWIG_Python_SetConstant(d
, "DIALOG_NO_PARENT",SWIG_From_int(static_cast< int >(wxDIALOG_NO_PARENT
)));
34615 SWIG_Python_SetConstant(d
, "DEFAULT_FRAME_STYLE",SWIG_From_int(static_cast< int >(wxDEFAULT_FRAME_STYLE
)));
34616 SWIG_Python_SetConstant(d
, "DEFAULT_DIALOG_STYLE",SWIG_From_int(static_cast< int >(wxDEFAULT_DIALOG_STYLE
)));
34617 SWIG_Python_SetConstant(d
, "FRAME_TOOL_WINDOW",SWIG_From_int(static_cast< int >(wxFRAME_TOOL_WINDOW
)));
34618 SWIG_Python_SetConstant(d
, "FRAME_FLOAT_ON_PARENT",SWIG_From_int(static_cast< int >(wxFRAME_FLOAT_ON_PARENT
)));
34619 SWIG_Python_SetConstant(d
, "FRAME_NO_WINDOW_MENU",SWIG_From_int(static_cast< int >(wxFRAME_NO_WINDOW_MENU
)));
34620 SWIG_Python_SetConstant(d
, "FRAME_NO_TASKBAR",SWIG_From_int(static_cast< int >(wxFRAME_NO_TASKBAR
)));
34621 SWIG_Python_SetConstant(d
, "FRAME_SHAPED",SWIG_From_int(static_cast< int >(wxFRAME_SHAPED
)));
34622 SWIG_Python_SetConstant(d
, "FRAME_DRAWER",SWIG_From_int(static_cast< int >(wxFRAME_DRAWER
)));
34623 SWIG_Python_SetConstant(d
, "FRAME_EX_METAL",SWIG_From_int(static_cast< int >(wxFRAME_EX_METAL
)));
34624 SWIG_Python_SetConstant(d
, "DIALOG_EX_METAL",SWIG_From_int(static_cast< int >(wxDIALOG_EX_METAL
)));
34625 SWIG_Python_SetConstant(d
, "WS_EX_CONTEXTHELP",SWIG_From_int(static_cast< int >(wxWS_EX_CONTEXTHELP
)));
34626 SWIG_Python_SetConstant(d
, "DIALOG_MODAL",SWIG_From_int(static_cast< int >(wxDIALOG_MODAL
)));
34627 SWIG_Python_SetConstant(d
, "DIALOG_MODELESS",SWIG_From_int(static_cast< int >(wxDIALOG_MODELESS
)));
34628 SWIG_Python_SetConstant(d
, "USER_COLOURS",SWIG_From_int(static_cast< int >(wxUSER_COLOURS
)));
34629 SWIG_Python_SetConstant(d
, "NO_3D",SWIG_From_int(static_cast< int >(wxNO_3D
)));
34630 SWIG_Python_SetConstant(d
, "FRAME_EX_CONTEXTHELP",SWIG_From_int(static_cast< int >(wxFRAME_EX_CONTEXTHELP
)));
34631 SWIG_Python_SetConstant(d
, "DIALOG_EX_CONTEXTHELP",SWIG_From_int(static_cast< int >(wxDIALOG_EX_CONTEXTHELP
)));
34632 SWIG_Python_SetConstant(d
, "FULLSCREEN_NOMENUBAR",SWIG_From_int(static_cast< int >(wxFULLSCREEN_NOMENUBAR
)));
34633 SWIG_Python_SetConstant(d
, "FULLSCREEN_NOTOOLBAR",SWIG_From_int(static_cast< int >(wxFULLSCREEN_NOTOOLBAR
)));
34634 SWIG_Python_SetConstant(d
, "FULLSCREEN_NOSTATUSBAR",SWIG_From_int(static_cast< int >(wxFULLSCREEN_NOSTATUSBAR
)));
34635 SWIG_Python_SetConstant(d
, "FULLSCREEN_NOBORDER",SWIG_From_int(static_cast< int >(wxFULLSCREEN_NOBORDER
)));
34636 SWIG_Python_SetConstant(d
, "FULLSCREEN_NOCAPTION",SWIG_From_int(static_cast< int >(wxFULLSCREEN_NOCAPTION
)));
34637 SWIG_Python_SetConstant(d
, "FULLSCREEN_ALL",SWIG_From_int(static_cast< int >(wxFULLSCREEN_ALL
)));
34638 SWIG_Python_SetConstant(d
, "TOPLEVEL_EX_DIALOG",SWIG_From_int(static_cast< int >(wxTOPLEVEL_EX_DIALOG
)));
34639 SWIG_Python_SetConstant(d
, "USER_ATTENTION_INFO",SWIG_From_int(static_cast< int >(wxUSER_ATTENTION_INFO
)));
34640 SWIG_Python_SetConstant(d
, "USER_ATTENTION_ERROR",SWIG_From_int(static_cast< int >(wxUSER_ATTENTION_ERROR
)));
34641 SWIG_Python_SetConstant(d
, "Dialog_ButtonSizerFlags",SWIG_From_int(static_cast< int >(wxDialog::ButtonSizerFlags
)));
34642 SWIG_Python_SetConstant(d
, "DEFAULT_MINIFRAME_STYLE",SWIG_From_int(static_cast< int >(wxDEFAULT_MINIFRAME_STYLE
)));
34643 SWIG_Python_SetConstant(d
, "SPLASH_CENTRE_ON_PARENT",SWIG_From_int(static_cast< int >(wxSPLASH_CENTRE_ON_PARENT
)));
34644 SWIG_Python_SetConstant(d
, "SPLASH_CENTRE_ON_SCREEN",SWIG_From_int(static_cast< int >(wxSPLASH_CENTRE_ON_SCREEN
)));
34645 SWIG_Python_SetConstant(d
, "SPLASH_NO_CENTRE",SWIG_From_int(static_cast< int >(wxSPLASH_NO_CENTRE
)));
34646 SWIG_Python_SetConstant(d
, "SPLASH_TIMEOUT",SWIG_From_int(static_cast< int >(wxSPLASH_TIMEOUT
)));
34647 SWIG_Python_SetConstant(d
, "SPLASH_NO_TIMEOUT",SWIG_From_int(static_cast< int >(wxSPLASH_NO_TIMEOUT
)));
34648 SWIG_Python_SetConstant(d
, "SB_NORMAL",SWIG_From_int(static_cast< int >(wxSB_NORMAL
)));
34649 SWIG_Python_SetConstant(d
, "SB_FLAT",SWIG_From_int(static_cast< int >(wxSB_FLAT
)));
34650 SWIG_Python_SetConstant(d
, "SB_RAISED",SWIG_From_int(static_cast< int >(wxSB_RAISED
)));
34651 SWIG_addvarlink(SWIG_globals(),(char*)"SplitterNameStr",SplitterNameStr_get
, SplitterNameStr_set
);
34652 SWIG_Python_SetConstant(d
, "SP_NOBORDER",SWIG_From_int(static_cast< int >(wxSP_NOBORDER
)));
34653 SWIG_Python_SetConstant(d
, "SP_NOSASH",SWIG_From_int(static_cast< int >(wxSP_NOSASH
)));
34654 SWIG_Python_SetConstant(d
, "SP_PERMIT_UNSPLIT",SWIG_From_int(static_cast< int >(wxSP_PERMIT_UNSPLIT
)));
34655 SWIG_Python_SetConstant(d
, "SP_LIVE_UPDATE",SWIG_From_int(static_cast< int >(wxSP_LIVE_UPDATE
)));
34656 SWIG_Python_SetConstant(d
, "SP_3DSASH",SWIG_From_int(static_cast< int >(wxSP_3DSASH
)));
34657 SWIG_Python_SetConstant(d
, "SP_3DBORDER",SWIG_From_int(static_cast< int >(wxSP_3DBORDER
)));
34658 SWIG_Python_SetConstant(d
, "SP_NO_XP_THEME",SWIG_From_int(static_cast< int >(wxSP_NO_XP_THEME
)));
34659 SWIG_Python_SetConstant(d
, "SP_BORDER",SWIG_From_int(static_cast< int >(wxSP_BORDER
)));
34660 SWIG_Python_SetConstant(d
, "SP_3D",SWIG_From_int(static_cast< int >(wxSP_3D
)));
34661 SWIG_Python_SetConstant(d
, "SPLIT_HORIZONTAL",SWIG_From_int(static_cast< int >(wxSPLIT_HORIZONTAL
)));
34662 SWIG_Python_SetConstant(d
, "SPLIT_VERTICAL",SWIG_From_int(static_cast< int >(wxSPLIT_VERTICAL
)));
34663 SWIG_Python_SetConstant(d
, "SPLIT_DRAG_NONE",SWIG_From_int(static_cast< int >(wxSPLIT_DRAG_NONE
)));
34664 SWIG_Python_SetConstant(d
, "SPLIT_DRAG_DRAGGING",SWIG_From_int(static_cast< int >(wxSPLIT_DRAG_DRAGGING
)));
34665 SWIG_Python_SetConstant(d
, "SPLIT_DRAG_LEFT_DOWN",SWIG_From_int(static_cast< int >(wxSPLIT_DRAG_LEFT_DOWN
)));
34666 PyDict_SetItemString(d
, "wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGED", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGED
));
34667 PyDict_SetItemString(d
, "wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGING", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGING
));
34668 PyDict_SetItemString(d
, "wxEVT_COMMAND_SPLITTER_DOUBLECLICKED", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_DOUBLECLICKED
));
34669 PyDict_SetItemString(d
, "wxEVT_COMMAND_SPLITTER_UNSPLIT", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_UNSPLIT
));
34670 SWIG_addvarlink(SWIG_globals(),(char*)"SashNameStr",SashNameStr_get
, SashNameStr_set
);
34671 SWIG_addvarlink(SWIG_globals(),(char*)"SashLayoutNameStr",SashLayoutNameStr_get
, SashLayoutNameStr_set
);
34672 SWIG_Python_SetConstant(d
, "SASH_DRAG_NONE",SWIG_From_int(static_cast< int >(wxSASH_DRAG_NONE
)));
34673 SWIG_Python_SetConstant(d
, "SASH_DRAG_DRAGGING",SWIG_From_int(static_cast< int >(wxSASH_DRAG_DRAGGING
)));
34674 SWIG_Python_SetConstant(d
, "SASH_DRAG_LEFT_DOWN",SWIG_From_int(static_cast< int >(wxSASH_DRAG_LEFT_DOWN
)));
34675 SWIG_Python_SetConstant(d
, "SW_NOBORDER",SWIG_From_int(static_cast< int >(wxSW_NOBORDER
)));
34676 SWIG_Python_SetConstant(d
, "SW_BORDER",SWIG_From_int(static_cast< int >(wxSW_BORDER
)));
34677 SWIG_Python_SetConstant(d
, "SW_3DSASH",SWIG_From_int(static_cast< int >(wxSW_3DSASH
)));
34678 SWIG_Python_SetConstant(d
, "SW_3DBORDER",SWIG_From_int(static_cast< int >(wxSW_3DBORDER
)));
34679 SWIG_Python_SetConstant(d
, "SW_3D",SWIG_From_int(static_cast< int >(wxSW_3D
)));
34680 SWIG_Python_SetConstant(d
, "SASH_TOP",SWIG_From_int(static_cast< int >(wxSASH_TOP
)));
34681 SWIG_Python_SetConstant(d
, "SASH_RIGHT",SWIG_From_int(static_cast< int >(wxSASH_RIGHT
)));
34682 SWIG_Python_SetConstant(d
, "SASH_BOTTOM",SWIG_From_int(static_cast< int >(wxSASH_BOTTOM
)));
34683 SWIG_Python_SetConstant(d
, "SASH_LEFT",SWIG_From_int(static_cast< int >(wxSASH_LEFT
)));
34684 SWIG_Python_SetConstant(d
, "SASH_NONE",SWIG_From_int(static_cast< int >(wxSASH_NONE
)));
34685 SWIG_Python_SetConstant(d
, "SASH_STATUS_OK",SWIG_From_int(static_cast< int >(wxSASH_STATUS_OK
)));
34686 SWIG_Python_SetConstant(d
, "SASH_STATUS_OUT_OF_RANGE",SWIG_From_int(static_cast< int >(wxSASH_STATUS_OUT_OF_RANGE
)));
34687 PyDict_SetItemString(d
, "wxEVT_SASH_DRAGGED", PyInt_FromLong(wxEVT_SASH_DRAGGED
));
34688 SWIG_Python_SetConstant(d
, "LAYOUT_HORIZONTAL",SWIG_From_int(static_cast< int >(wxLAYOUT_HORIZONTAL
)));
34689 SWIG_Python_SetConstant(d
, "LAYOUT_VERTICAL",SWIG_From_int(static_cast< int >(wxLAYOUT_VERTICAL
)));
34690 SWIG_Python_SetConstant(d
, "LAYOUT_NONE",SWIG_From_int(static_cast< int >(wxLAYOUT_NONE
)));
34691 SWIG_Python_SetConstant(d
, "LAYOUT_TOP",SWIG_From_int(static_cast< int >(wxLAYOUT_TOP
)));
34692 SWIG_Python_SetConstant(d
, "LAYOUT_LEFT",SWIG_From_int(static_cast< int >(wxLAYOUT_LEFT
)));
34693 SWIG_Python_SetConstant(d
, "LAYOUT_RIGHT",SWIG_From_int(static_cast< int >(wxLAYOUT_RIGHT
)));
34694 SWIG_Python_SetConstant(d
, "LAYOUT_BOTTOM",SWIG_From_int(static_cast< int >(wxLAYOUT_BOTTOM
)));
34695 SWIG_Python_SetConstant(d
, "LAYOUT_LENGTH_Y",SWIG_From_int(static_cast< int >(wxLAYOUT_LENGTH_Y
)));
34696 SWIG_Python_SetConstant(d
, "LAYOUT_LENGTH_X",SWIG_From_int(static_cast< int >(wxLAYOUT_LENGTH_X
)));
34697 SWIG_Python_SetConstant(d
, "LAYOUT_MRU_LENGTH",SWIG_From_int(static_cast< int >(wxLAYOUT_MRU_LENGTH
)));
34698 SWIG_Python_SetConstant(d
, "LAYOUT_QUERY",SWIG_From_int(static_cast< int >(wxLAYOUT_QUERY
)));
34699 PyDict_SetItemString(d
, "wxEVT_QUERY_LAYOUT_INFO", PyInt_FromLong(wxEVT_QUERY_LAYOUT_INFO
));
34700 PyDict_SetItemString(d
, "wxEVT_CALCULATE_LAYOUT", PyInt_FromLong(wxEVT_CALCULATE_LAYOUT
));
34701 SWIG_addvarlink(SWIG_globals(),(char*)"VListBoxNameStr",VListBoxNameStr_get
, VListBoxNameStr_set
);
34703 // Map renamed classes back to their common name for OOR
34704 wxPyPtrTypeMap_Add("wxHtmlListBox", "wxPyHtmlListBox");
34705 wxPyPtrTypeMap_Add("wxVListBox", "wxPyVListBox");
34706 wxPyPtrTypeMap_Add("wxVScrolledWindow", "wxPyVScrolledWindow");
34708 PyDict_SetItemString(d
, "wxEVT_TASKBAR_MOVE", PyInt_FromLong(wxEVT_TASKBAR_MOVE
));
34709 PyDict_SetItemString(d
, "wxEVT_TASKBAR_LEFT_DOWN", PyInt_FromLong(wxEVT_TASKBAR_LEFT_DOWN
));
34710 PyDict_SetItemString(d
, "wxEVT_TASKBAR_LEFT_UP", PyInt_FromLong(wxEVT_TASKBAR_LEFT_UP
));
34711 PyDict_SetItemString(d
, "wxEVT_TASKBAR_RIGHT_DOWN", PyInt_FromLong(wxEVT_TASKBAR_RIGHT_DOWN
));
34712 PyDict_SetItemString(d
, "wxEVT_TASKBAR_RIGHT_UP", PyInt_FromLong(wxEVT_TASKBAR_RIGHT_UP
));
34713 PyDict_SetItemString(d
, "wxEVT_TASKBAR_LEFT_DCLICK", PyInt_FromLong(wxEVT_TASKBAR_LEFT_DCLICK
));
34714 PyDict_SetItemString(d
, "wxEVT_TASKBAR_RIGHT_DCLICK", PyInt_FromLong(wxEVT_TASKBAR_RIGHT_DCLICK
));
34715 SWIG_addvarlink(SWIG_globals(),(char*)"FileSelectorPromptStr",FileSelectorPromptStr_get
, FileSelectorPromptStr_set
);
34716 SWIG_addvarlink(SWIG_globals(),(char*)"DirSelectorPromptStr",DirSelectorPromptStr_get
, DirSelectorPromptStr_set
);
34717 SWIG_addvarlink(SWIG_globals(),(char*)"DirDialogNameStr",DirDialogNameStr_get
, DirDialogNameStr_set
);
34718 SWIG_addvarlink(SWIG_globals(),(char*)"FileSelectorDefaultWildcardStr",FileSelectorDefaultWildcardStr_get
, FileSelectorDefaultWildcardStr_set
);
34719 SWIG_addvarlink(SWIG_globals(),(char*)"GetTextFromUserPromptStr",GetTextFromUserPromptStr_get
, GetTextFromUserPromptStr_set
);
34720 SWIG_addvarlink(SWIG_globals(),(char*)"MessageBoxCaptionStr",MessageBoxCaptionStr_get
, MessageBoxCaptionStr_set
);
34721 SWIG_Python_SetConstant(d
, "DD_NEW_DIR_BUTTON",SWIG_From_int(static_cast< int >(wxDD_NEW_DIR_BUTTON
)));
34722 SWIG_Python_SetConstant(d
, "DD_DEFAULT_STYLE",SWIG_From_int(static_cast< int >(wxDD_DEFAULT_STYLE
)));
34723 SWIG_Python_SetConstant(d
, "DD_CHANGE_DIR",SWIG_From_int(static_cast< int >(wxDD_CHANGE_DIR
)));
34724 SWIG_Python_SetConstant(d
, "OPEN",SWIG_From_int(static_cast< int >(wxOPEN
)));
34725 SWIG_Python_SetConstant(d
, "SAVE",SWIG_From_int(static_cast< int >(wxSAVE
)));
34726 SWIG_Python_SetConstant(d
, "OVERWRITE_PROMPT",SWIG_From_int(static_cast< int >(wxOVERWRITE_PROMPT
)));
34727 SWIG_Python_SetConstant(d
, "FILE_MUST_EXIST",SWIG_From_int(static_cast< int >(wxFILE_MUST_EXIST
)));
34728 SWIG_Python_SetConstant(d
, "MULTIPLE",SWIG_From_int(static_cast< int >(wxMULTIPLE
)));
34729 SWIG_Python_SetConstant(d
, "CHANGE_DIR",SWIG_From_int(static_cast< int >(wxCHANGE_DIR
)));
34730 SWIG_Python_SetConstant(d
, "HIDE_READONLY",SWIG_From_int(static_cast< int >(wxHIDE_READONLY
)));
34731 SWIG_Python_SetConstant(d
, "FD_OPEN",SWIG_From_int(static_cast< int >(wxFD_OPEN
)));
34732 SWIG_Python_SetConstant(d
, "FD_SAVE",SWIG_From_int(static_cast< int >(wxFD_SAVE
)));
34733 SWIG_Python_SetConstant(d
, "FD_OVERWRITE_PROMPT",SWIG_From_int(static_cast< int >(wxFD_OVERWRITE_PROMPT
)));
34734 SWIG_Python_SetConstant(d
, "FD_FILE_MUST_EXIST",SWIG_From_int(static_cast< int >(wxFD_FILE_MUST_EXIST
)));
34735 SWIG_Python_SetConstant(d
, "FD_MULTIPLE",SWIG_From_int(static_cast< int >(wxFD_MULTIPLE
)));
34736 SWIG_Python_SetConstant(d
, "FD_CHANGE_DIR",SWIG_From_int(static_cast< int >(wxFD_CHANGE_DIR
)));
34737 SWIG_Python_SetConstant(d
, "FD_PREVIEW",SWIG_From_int(static_cast< int >(wxFD_PREVIEW
)));
34738 SWIG_Python_SetConstant(d
, "FD_DEFAULT_STYLE",SWIG_From_int(static_cast< int >(wxFD_DEFAULT_STYLE
)));
34739 SWIG_Python_SetConstant(d
, "CHOICEDLG_STYLE",SWIG_From_int(static_cast< int >(wxCHOICEDLG_STYLE
)));
34740 SWIG_Python_SetConstant(d
, "TextEntryDialogStyle",SWIG_From_int(static_cast< int >(wxTextEntryDialogStyle
)));
34741 SWIG_addvarlink(SWIG_globals(),(char*)"GetPasswordFromUserPromptStr",GetPasswordFromUserPromptStr_get
, GetPasswordFromUserPromptStr_set
);
34742 SWIG_Python_SetConstant(d
, "PD_AUTO_HIDE",SWIG_From_int(static_cast< int >(wxPD_AUTO_HIDE
)));
34743 SWIG_Python_SetConstant(d
, "PD_APP_MODAL",SWIG_From_int(static_cast< int >(wxPD_APP_MODAL
)));
34744 SWIG_Python_SetConstant(d
, "PD_CAN_ABORT",SWIG_From_int(static_cast< int >(wxPD_CAN_ABORT
)));
34745 SWIG_Python_SetConstant(d
, "PD_ELAPSED_TIME",SWIG_From_int(static_cast< int >(wxPD_ELAPSED_TIME
)));
34746 SWIG_Python_SetConstant(d
, "PD_ESTIMATED_TIME",SWIG_From_int(static_cast< int >(wxPD_ESTIMATED_TIME
)));
34747 SWIG_Python_SetConstant(d
, "PD_REMAINING_TIME",SWIG_From_int(static_cast< int >(wxPD_REMAINING_TIME
)));
34748 SWIG_Python_SetConstant(d
, "PD_SMOOTH",SWIG_From_int(static_cast< int >(wxPD_SMOOTH
)));
34749 SWIG_Python_SetConstant(d
, "PD_CAN_SKIP",SWIG_From_int(static_cast< int >(wxPD_CAN_SKIP
)));
34750 SWIG_Python_SetConstant(d
, "FR_DOWN",SWIG_From_int(static_cast< int >(wxFR_DOWN
)));
34751 SWIG_Python_SetConstant(d
, "FR_WHOLEWORD",SWIG_From_int(static_cast< int >(wxFR_WHOLEWORD
)));
34752 SWIG_Python_SetConstant(d
, "FR_MATCHCASE",SWIG_From_int(static_cast< int >(wxFR_MATCHCASE
)));
34753 SWIG_Python_SetConstant(d
, "FR_REPLACEDIALOG",SWIG_From_int(static_cast< int >(wxFR_REPLACEDIALOG
)));
34754 SWIG_Python_SetConstant(d
, "FR_NOUPDOWN",SWIG_From_int(static_cast< int >(wxFR_NOUPDOWN
)));
34755 SWIG_Python_SetConstant(d
, "FR_NOMATCHCASE",SWIG_From_int(static_cast< int >(wxFR_NOMATCHCASE
)));
34756 SWIG_Python_SetConstant(d
, "FR_NOWHOLEWORD",SWIG_From_int(static_cast< int >(wxFR_NOWHOLEWORD
)));
34757 PyDict_SetItemString(d
, "wxEVT_COMMAND_FIND", PyInt_FromLong(wxEVT_COMMAND_FIND
));
34758 PyDict_SetItemString(d
, "wxEVT_COMMAND_FIND_NEXT", PyInt_FromLong(wxEVT_COMMAND_FIND_NEXT
));
34759 PyDict_SetItemString(d
, "wxEVT_COMMAND_FIND_REPLACE", PyInt_FromLong(wxEVT_COMMAND_FIND_REPLACE
));
34760 PyDict_SetItemString(d
, "wxEVT_COMMAND_FIND_REPLACE_ALL", PyInt_FromLong(wxEVT_COMMAND_FIND_REPLACE_ALL
));
34761 PyDict_SetItemString(d
, "wxEVT_COMMAND_FIND_CLOSE", PyInt_FromLong(wxEVT_COMMAND_FIND_CLOSE
));
34762 SWIG_Python_SetConstant(d
, "IDM_WINDOWTILE",SWIG_From_int(static_cast< int >(4001)));
34763 SWIG_Python_SetConstant(d
, "IDM_WINDOWTILEHOR",SWIG_From_int(static_cast< int >(4001)));
34764 SWIG_Python_SetConstant(d
, "IDM_WINDOWCASCADE",SWIG_From_int(static_cast< int >(4002)));
34765 SWIG_Python_SetConstant(d
, "IDM_WINDOWICONS",SWIG_From_int(static_cast< int >(4003)));
34766 SWIG_Python_SetConstant(d
, "IDM_WINDOWNEXT",SWIG_From_int(static_cast< int >(4004)));
34767 SWIG_Python_SetConstant(d
, "IDM_WINDOWTILEVERT",SWIG_From_int(static_cast< int >(4005)));
34768 SWIG_Python_SetConstant(d
, "IDM_WINDOWPREV",SWIG_From_int(static_cast< int >(4006)));
34769 SWIG_Python_SetConstant(d
, "FIRST_MDI_CHILD",SWIG_From_int(static_cast< int >(4100)));
34770 SWIG_Python_SetConstant(d
, "LAST_MDI_CHILD",SWIG_From_int(static_cast< int >(4600)));
34771 SWIG_addvarlink(SWIG_globals(),(char*)"PrintoutTitleStr",PrintoutTitleStr_get
, PrintoutTitleStr_set
);
34772 SWIG_addvarlink(SWIG_globals(),(char*)"PreviewCanvasNameStr",PreviewCanvasNameStr_get
, PreviewCanvasNameStr_set
);
34773 SWIG_Python_SetConstant(d
, "PRINT_MODE_NONE",SWIG_From_int(static_cast< int >(wxPRINT_MODE_NONE
)));
34774 SWIG_Python_SetConstant(d
, "PRINT_MODE_PREVIEW",SWIG_From_int(static_cast< int >(wxPRINT_MODE_PREVIEW
)));
34775 SWIG_Python_SetConstant(d
, "PRINT_MODE_FILE",SWIG_From_int(static_cast< int >(wxPRINT_MODE_FILE
)));
34776 SWIG_Python_SetConstant(d
, "PRINT_MODE_PRINTER",SWIG_From_int(static_cast< int >(wxPRINT_MODE_PRINTER
)));
34777 SWIG_Python_SetConstant(d
, "PRINT_MODE_STREAM",SWIG_From_int(static_cast< int >(wxPRINT_MODE_STREAM
)));
34778 SWIG_Python_SetConstant(d
, "PRINTBIN_DEFAULT",SWIG_From_int(static_cast< int >(wxPRINTBIN_DEFAULT
)));
34779 SWIG_Python_SetConstant(d
, "PRINTBIN_ONLYONE",SWIG_From_int(static_cast< int >(wxPRINTBIN_ONLYONE
)));
34780 SWIG_Python_SetConstant(d
, "PRINTBIN_LOWER",SWIG_From_int(static_cast< int >(wxPRINTBIN_LOWER
)));
34781 SWIG_Python_SetConstant(d
, "PRINTBIN_MIDDLE",SWIG_From_int(static_cast< int >(wxPRINTBIN_MIDDLE
)));
34782 SWIG_Python_SetConstant(d
, "PRINTBIN_MANUAL",SWIG_From_int(static_cast< int >(wxPRINTBIN_MANUAL
)));
34783 SWIG_Python_SetConstant(d
, "PRINTBIN_ENVELOPE",SWIG_From_int(static_cast< int >(wxPRINTBIN_ENVELOPE
)));
34784 SWIG_Python_SetConstant(d
, "PRINTBIN_ENVMANUAL",SWIG_From_int(static_cast< int >(wxPRINTBIN_ENVMANUAL
)));
34785 SWIG_Python_SetConstant(d
, "PRINTBIN_AUTO",SWIG_From_int(static_cast< int >(wxPRINTBIN_AUTO
)));
34786 SWIG_Python_SetConstant(d
, "PRINTBIN_TRACTOR",SWIG_From_int(static_cast< int >(wxPRINTBIN_TRACTOR
)));
34787 SWIG_Python_SetConstant(d
, "PRINTBIN_SMALLFMT",SWIG_From_int(static_cast< int >(wxPRINTBIN_SMALLFMT
)));
34788 SWIG_Python_SetConstant(d
, "PRINTBIN_LARGEFMT",SWIG_From_int(static_cast< int >(wxPRINTBIN_LARGEFMT
)));
34789 SWIG_Python_SetConstant(d
, "PRINTBIN_LARGECAPACITY",SWIG_From_int(static_cast< int >(wxPRINTBIN_LARGECAPACITY
)));
34790 SWIG_Python_SetConstant(d
, "PRINTBIN_CASSETTE",SWIG_From_int(static_cast< int >(wxPRINTBIN_CASSETTE
)));
34791 SWIG_Python_SetConstant(d
, "PRINTBIN_FORMSOURCE",SWIG_From_int(static_cast< int >(wxPRINTBIN_FORMSOURCE
)));
34792 SWIG_Python_SetConstant(d
, "PRINTBIN_USER",SWIG_From_int(static_cast< int >(wxPRINTBIN_USER
)));
34793 SWIG_Python_SetConstant(d
, "PRINTER_NO_ERROR",SWIG_From_int(static_cast< int >(wxPRINTER_NO_ERROR
)));
34794 SWIG_Python_SetConstant(d
, "PRINTER_CANCELLED",SWIG_From_int(static_cast< int >(wxPRINTER_CANCELLED
)));
34795 SWIG_Python_SetConstant(d
, "PRINTER_ERROR",SWIG_From_int(static_cast< int >(wxPRINTER_ERROR
)));
34796 SWIG_Python_SetConstant(d
, "PREVIEW_PRINT",SWIG_From_int(static_cast< int >(wxPREVIEW_PRINT
)));
34797 SWIG_Python_SetConstant(d
, "PREVIEW_PREVIOUS",SWIG_From_int(static_cast< int >(wxPREVIEW_PREVIOUS
)));
34798 SWIG_Python_SetConstant(d
, "PREVIEW_NEXT",SWIG_From_int(static_cast< int >(wxPREVIEW_NEXT
)));
34799 SWIG_Python_SetConstant(d
, "PREVIEW_ZOOM",SWIG_From_int(static_cast< int >(wxPREVIEW_ZOOM
)));
34800 SWIG_Python_SetConstant(d
, "PREVIEW_FIRST",SWIG_From_int(static_cast< int >(wxPREVIEW_FIRST
)));
34801 SWIG_Python_SetConstant(d
, "PREVIEW_LAST",SWIG_From_int(static_cast< int >(wxPREVIEW_LAST
)));
34802 SWIG_Python_SetConstant(d
, "PREVIEW_GOTO",SWIG_From_int(static_cast< int >(wxPREVIEW_GOTO
)));
34803 SWIG_Python_SetConstant(d
, "PREVIEW_DEFAULT",SWIG_From_int(static_cast< int >(wxPREVIEW_DEFAULT
)));
34804 SWIG_Python_SetConstant(d
, "ID_PREVIEW_CLOSE",SWIG_From_int(static_cast< int >(wxID_PREVIEW_CLOSE
)));
34805 SWIG_Python_SetConstant(d
, "ID_PREVIEW_NEXT",SWIG_From_int(static_cast< int >(wxID_PREVIEW_NEXT
)));
34806 SWIG_Python_SetConstant(d
, "ID_PREVIEW_PREVIOUS",SWIG_From_int(static_cast< int >(wxID_PREVIEW_PREVIOUS
)));
34807 SWIG_Python_SetConstant(d
, "ID_PREVIEW_PRINT",SWIG_From_int(static_cast< int >(wxID_PREVIEW_PRINT
)));
34808 SWIG_Python_SetConstant(d
, "ID_PREVIEW_ZOOM",SWIG_From_int(static_cast< int >(wxID_PREVIEW_ZOOM
)));
34809 SWIG_Python_SetConstant(d
, "ID_PREVIEW_FIRST",SWIG_From_int(static_cast< int >(wxID_PREVIEW_FIRST
)));
34810 SWIG_Python_SetConstant(d
, "ID_PREVIEW_LAST",SWIG_From_int(static_cast< int >(wxID_PREVIEW_LAST
)));
34811 SWIG_Python_SetConstant(d
, "ID_PREVIEW_GOTO",SWIG_From_int(static_cast< int >(wxID_PREVIEW_GOTO
)));
34813 wxPyPtrTypeMap_Add("wxPrintout", "wxPyPrintout");