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 /* for raw pointers */
989 #define SWIG_Python_ConvertPtr(obj, pptr, type, flags) SWIG_Python_ConvertPtrAndOwn(obj, pptr, type, flags, 0)
990 #define SWIG_ConvertPtr(obj, pptr, type, flags) SWIG_Python_ConvertPtr(obj, pptr, type, flags)
991 #define SWIG_ConvertPtrAndOwn(obj,pptr,type,flags,own) SWIG_Python_ConvertPtrAndOwn(obj, pptr, type, flags, own)
992 #define SWIG_NewPointerObj(ptr, type, flags) SWIG_Python_NewPointerObj(ptr, type, flags)
993 #define SWIG_CheckImplicit(ty) SWIG_Python_CheckImplicit(ty)
994 #define SWIG_AcquirePtr(ptr, src) SWIG_Python_AcquirePtr(ptr, src)
995 #define swig_owntype int
997 /* for raw packed data */
998 #define SWIG_ConvertPacked(obj, ptr, sz, ty) SWIG_Python_ConvertPacked(obj, ptr, sz, ty)
999 #define SWIG_NewPackedObj(ptr, sz, type) SWIG_Python_NewPackedObj(ptr, sz, type)
1001 /* for class or struct pointers */
1002 #define SWIG_ConvertInstance(obj, pptr, type, flags) SWIG_ConvertPtr(obj, pptr, type, flags)
1003 #define SWIG_NewInstanceObj(ptr, type, flags) SWIG_NewPointerObj(ptr, type, flags)
1005 /* for C or C++ function pointers */
1006 #define SWIG_ConvertFunctionPtr(obj, pptr, type) SWIG_Python_ConvertFunctionPtr(obj, pptr, type)
1007 #define SWIG_NewFunctionPtrObj(ptr, type) SWIG_Python_NewPointerObj(ptr, type, 0)
1009 /* for C++ member pointers, ie, member methods */
1010 #define SWIG_ConvertMember(obj, ptr, sz, ty) SWIG_Python_ConvertPacked(obj, ptr, sz, ty)
1011 #define SWIG_NewMemberObj(ptr, sz, type) SWIG_Python_NewPackedObj(ptr, sz, type)
1016 #define SWIG_GetModule(clientdata) SWIG_Python_GetModule()
1017 #define SWIG_SetModule(clientdata, pointer) SWIG_Python_SetModule(pointer)
1018 #define SWIG_NewClientData(obj) PySwigClientData_New(obj)
1020 #define SWIG_SetErrorObj SWIG_Python_SetErrorObj
1021 #define SWIG_SetErrorMsg SWIG_Python_SetErrorMsg
1022 #define SWIG_ErrorType(code) SWIG_Python_ErrorType(code)
1023 #define SWIG_Error(code, msg) SWIG_Python_SetErrorMsg(SWIG_ErrorType(code), msg)
1024 #define SWIG_fail goto fail
1027 /* Runtime API implementation */
1029 /* Error manipulation */
1032 SWIG_Python_SetErrorObj(PyObject
*errtype
, PyObject
*obj
) {
1033 SWIG_PYTHON_THREAD_BEGIN_BLOCK
;
1034 PyErr_SetObject(errtype
, obj
);
1036 SWIG_PYTHON_THREAD_END_BLOCK
;
1040 SWIG_Python_SetErrorMsg(PyObject
*errtype
, const char *msg
) {
1041 SWIG_PYTHON_THREAD_BEGIN_BLOCK
;
1042 PyErr_SetString(errtype
, (char *) msg
);
1043 SWIG_PYTHON_THREAD_END_BLOCK
;
1046 #define SWIG_Python_Raise(obj, type, desc) SWIG_Python_SetErrorObj(SWIG_Python_ExceptionType(desc), obj)
1048 /* Set a constant value */
1051 SWIG_Python_SetConstant(PyObject
*d
, const char *name
, PyObject
*obj
) {
1052 PyDict_SetItemString(d
, (char*) name
, obj
);
1056 /* Append a value to the result obj */
1058 SWIGINTERN PyObject
*
1059 SWIG_Python_AppendOutput(PyObject
* result
, PyObject
* obj
) {
1060 #if !defined(SWIG_PYTHON_OUTPUT_TUPLE)
1063 } else if (result
== Py_None
) {
1067 if (!PyList_Check(result
)) {
1068 PyObject
*o2
= result
;
1069 result
= PyList_New(1);
1070 PyList_SetItem(result
, 0, o2
);
1072 PyList_Append(result
,obj
);
1081 } else if (result
== Py_None
) {
1085 if (!PyTuple_Check(result
)) {
1087 result
= PyTuple_New(1);
1088 PyTuple_SET_ITEM(result
, 0, o2
);
1090 o3
= PyTuple_New(1);
1091 PyTuple_SET_ITEM(o3
, 0, obj
);
1093 result
= PySequence_Concat(o2
, o3
);
1101 /* Unpack the argument tuple */
1104 SWIG_Python_UnpackTuple(PyObject
*args
, const char *name
, int min
, int max
, PyObject
**objs
)
1110 PyErr_Format(PyExc_TypeError
, "%s expected %s%d arguments, got none",
1111 name
, (min
== max
? "" : "at least "), min
);
1115 if (!PyTuple_Check(args
)) {
1116 PyErr_SetString(PyExc_SystemError
, "UnpackTuple() argument list is not a tuple");
1119 register int l
= PyTuple_GET_SIZE(args
);
1121 PyErr_Format(PyExc_TypeError
, "%s expected %s%d arguments, got %d",
1122 name
, (min
== max
? "" : "at least "), min
, l
);
1124 } else if (l
> max
) {
1125 PyErr_Format(PyExc_TypeError
, "%s expected %s%d arguments, got %d",
1126 name
, (min
== max
? "" : "at most "), max
, l
);
1130 for (i
= 0; i
< l
; ++i
) {
1131 objs
[i
] = PyTuple_GET_ITEM(args
, i
);
1133 for (; l
< max
; ++l
) {
1141 /* A functor is a function object with one single object argument */
1142 #if PY_VERSION_HEX >= 0x02020000
1143 #define SWIG_Python_CallFunctor(functor, obj) PyObject_CallFunctionObjArgs(functor, obj, NULL);
1145 #define SWIG_Python_CallFunctor(functor, obj) PyObject_CallFunction(functor, "O", obj);
1149 Helper for static pointer initialization for both C and C++ code, for example
1150 static PyObject *SWIG_STATIC_POINTER(MyVar) = NewSomething(...);
1153 #define SWIG_STATIC_POINTER(var) var
1155 #define SWIG_STATIC_POINTER(var) var = 0; if (!var) var
1158 /* -----------------------------------------------------------------------------
1159 * Pointer declarations
1160 * ----------------------------------------------------------------------------- */
1162 /* Flags for new pointer objects */
1163 #define SWIG_POINTER_NOSHADOW (SWIG_POINTER_OWN << 1)
1164 #define SWIG_POINTER_NEW (SWIG_POINTER_NOSHADOW | SWIG_POINTER_OWN)
1166 #define SWIG_POINTER_IMPLICIT_CONV (SWIG_POINTER_DISOWN << 1)
1175 /* How to access Py_None */
1176 #if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
1177 # ifndef SWIG_PYTHON_NO_BUILD_NONE
1178 # ifndef SWIG_PYTHON_BUILD_NONE
1179 # define SWIG_PYTHON_BUILD_NONE
1184 #ifdef SWIG_PYTHON_BUILD_NONE
1187 # define Py_None SWIG_Py_None()
1189 SWIGRUNTIMEINLINE PyObject
*
1192 PyObject
*none
= Py_BuildValue("");
1196 SWIGRUNTIME PyObject
*
1199 static PyObject
*SWIG_STATIC_POINTER(none
) = _SWIG_Py_None();
1204 /* The python void return value */
1206 SWIGRUNTIMEINLINE PyObject
*
1209 PyObject
*none
= Py_None
;
1214 /* PySwigClientData */
1225 SWIGRUNTIMEINLINE
int
1226 SWIG_Python_CheckImplicit(swig_type_info
*ty
)
1228 PySwigClientData
*data
= (PySwigClientData
*)ty
->clientdata
;
1229 return data
? data
->implicitconv
: 0;
1232 SWIGRUNTIMEINLINE PyObject
*
1233 SWIG_Python_ExceptionType(swig_type_info
*desc
) {
1234 PySwigClientData
*data
= desc
? (PySwigClientData
*) desc
->clientdata
: 0;
1235 PyObject
*klass
= data
? data
->klass
: 0;
1236 return (klass
? klass
: PyExc_RuntimeError
);
1240 SWIGRUNTIME PySwigClientData
*
1241 PySwigClientData_New(PyObject
* obj
)
1246 PySwigClientData
*data
= (PySwigClientData
*)malloc(sizeof(PySwigClientData
));
1247 /* the klass element */
1249 Py_INCREF(data
->klass
);
1250 /* the newraw method and newargs arguments used to create a new raw instance */
1251 if (PyClass_Check(obj
)) {
1253 data
->newargs
= obj
;
1256 #if (PY_VERSION_HEX < 0x02020000)
1259 data
->newraw
= PyObject_GetAttrString(data
->klass
, (char *)"__new__");
1262 Py_INCREF(data
->newraw
);
1263 data
->newargs
= PyTuple_New(1);
1264 PyTuple_SetItem(data
->newargs
, 0, obj
);
1266 data
->newargs
= obj
;
1268 Py_INCREF(data
->newargs
);
1270 /* the destroy method, aka as the C++ delete method */
1271 data
->destroy
= PyObject_GetAttrString(data
->klass
, (char *)"__swig_destroy__");
1272 if (PyErr_Occurred()) {
1276 if (data
->destroy
) {
1278 Py_INCREF(data
->destroy
);
1279 flags
= PyCFunction_GET_FLAGS(data
->destroy
);
1281 data
->delargs
= !(flags
& (METH_O
));
1288 data
->implicitconv
= 0;
1294 PySwigClientData_Del(PySwigClientData
* data
)
1296 Py_XDECREF(data
->newraw
);
1297 Py_XDECREF(data
->newargs
);
1298 Py_XDECREF(data
->destroy
);
1301 /* =============== PySwigObject =====================*/
1311 SWIGRUNTIME PyObject
*
1312 PySwigObject_long(PySwigObject
*v
)
1314 return PyLong_FromVoidPtr(v
->ptr
);
1317 SWIGRUNTIME PyObject
*
1318 PySwigObject_format(const char* fmt
, PySwigObject
*v
)
1320 PyObject
*res
= NULL
;
1321 PyObject
*args
= PyTuple_New(1);
1323 if (PyTuple_SetItem(args
, 0, PySwigObject_long(v
)) == 0) {
1324 PyObject
*ofmt
= PyString_FromString(fmt
);
1326 res
= PyString_Format(ofmt
,args
);
1335 SWIGRUNTIME PyObject
*
1336 PySwigObject_oct(PySwigObject
*v
)
1338 return PySwigObject_format("%o",v
);
1341 SWIGRUNTIME PyObject
*
1342 PySwigObject_hex(PySwigObject
*v
)
1344 return PySwigObject_format("%x",v
);
1347 SWIGRUNTIME PyObject
*
1349 PySwigObject_repr(PySwigObject
*v
)
1351 PySwigObject_repr(PySwigObject
*v
, PyObject
*args
)
1354 const char *name
= SWIG_TypePrettyName(v
->ty
);
1355 PyObject
*hex
= PySwigObject_hex(v
);
1356 PyObject
*repr
= PyString_FromFormat("<Swig Object of type '%s' at 0x%s>", name
, PyString_AsString(hex
));
1360 PyObject
*nrep
= PySwigObject_repr((PySwigObject
*)v
->next
);
1362 PyObject
*nrep
= PySwigObject_repr((PySwigObject
*)v
->next
, args
);
1364 PyString_ConcatAndDel(&repr
,nrep
);
1370 PySwigObject_print(PySwigObject
*v
, FILE *fp
, int SWIGUNUSEDPARM(flags
))
1373 PyObject
*repr
= PySwigObject_repr(v
);
1375 PyObject
*repr
= PySwigObject_repr(v
, NULL
);
1378 fputs(PyString_AsString(repr
), fp
);
1386 SWIGRUNTIME PyObject
*
1387 PySwigObject_str(PySwigObject
*v
)
1389 char result
[SWIG_BUFFER_SIZE
];
1390 return SWIG_PackVoidPtr(result
, v
->ptr
, v
->ty
->name
, sizeof(result
)) ?
1391 PyString_FromString(result
) : 0;
1395 PySwigObject_compare(PySwigObject
*v
, PySwigObject
*w
)
1399 return (i
< j
) ? -1 : ((i
> j
) ? 1 : 0);
1402 SWIGRUNTIME PyTypeObject
* _PySwigObject_type(void);
1404 SWIGRUNTIME PyTypeObject
*
1405 PySwigObject_type(void) {
1406 static PyTypeObject
*SWIG_STATIC_POINTER(type
) = _PySwigObject_type();
1410 SWIGRUNTIMEINLINE
int
1411 PySwigObject_Check(PyObject
*op
) {
1412 return ((op
)->ob_type
== PySwigObject_type())
1413 || (strcmp((op
)->ob_type
->tp_name
,"PySwigObject") == 0);
1416 SWIGRUNTIME PyObject
*
1417 PySwigObject_New(void *ptr
, swig_type_info
*ty
, int own
);
1420 PySwigObject_dealloc(PyObject
*v
)
1422 PySwigObject
*sobj
= (PySwigObject
*) v
;
1423 PyObject
*next
= sobj
->next
;
1425 swig_type_info
*ty
= sobj
->ty
;
1426 PySwigClientData
*data
= ty
? (PySwigClientData
*) ty
->clientdata
: 0;
1427 PyObject
*destroy
= data
? data
->destroy
: 0;
1429 /* destroy is always a VARARGS method */
1431 if (data
->delargs
) {
1432 /* we need to create a temporal object to carry the destroy operation */
1433 PyObject
*tmp
= PySwigObject_New(sobj
->ptr
, ty
, 0);
1434 res
= SWIG_Python_CallFunctor(destroy
, tmp
);
1437 PyCFunction meth
= PyCFunction_GET_FUNCTION(destroy
);
1438 PyObject
*mself
= PyCFunction_GET_SELF(destroy
);
1439 res
= ((*meth
)(mself
, v
));
1443 const char *name
= SWIG_TypePrettyName(ty
);
1444 #if !defined(SWIG_PYTHON_SILENT_MEMLEAK)
1445 printf("swig/python detected a memory leak of type '%s', no destructor found.\n", name
);
1453 SWIGRUNTIME PyObject
*
1454 PySwigObject_append(PyObject
* v
, PyObject
* next
)
1456 PySwigObject
*sobj
= (PySwigObject
*) v
;
1459 if (!PyArg_ParseTuple(next
,(char *)"O:append", &tmp
)) return NULL
;
1462 if (!PySwigObject_Check(next
)) {
1467 return SWIG_Py_Void();
1470 SWIGRUNTIME PyObject
*
1472 PySwigObject_next(PyObject
* v
)
1474 PySwigObject_next(PyObject
* v
, PyObject
*SWIGUNUSEDPARM(args
))
1477 PySwigObject
*sobj
= (PySwigObject
*) v
;
1479 Py_INCREF(sobj
->next
);
1482 return SWIG_Py_Void();
1486 SWIGINTERN PyObject
*
1488 PySwigObject_disown(PyObject
*v
)
1490 PySwigObject_disown(PyObject
* v
, PyObject
*SWIGUNUSEDPARM(args
))
1493 PySwigObject
*sobj
= (PySwigObject
*)v
;
1495 return SWIG_Py_Void();
1498 SWIGINTERN PyObject
*
1500 PySwigObject_acquire(PyObject
*v
)
1502 PySwigObject_acquire(PyObject
* v
, PyObject
*SWIGUNUSEDPARM(args
))
1505 PySwigObject
*sobj
= (PySwigObject
*)v
;
1506 sobj
->own
= SWIG_POINTER_OWN
;
1507 return SWIG_Py_Void();
1510 SWIGINTERN PyObject
*
1511 PySwigObject_own(PyObject
*v
, PyObject
*args
)
1514 #if (PY_VERSION_HEX < 0x02020000)
1515 if (!PyArg_ParseTuple(args
,(char *)"|O:own",&val
))
1517 if (!PyArg_UnpackTuple(args
, (char *)"own", 0, 1, &val
))
1524 PySwigObject
*sobj
= (PySwigObject
*)v
;
1525 PyObject
*obj
= PyBool_FromLong(sobj
->own
);
1528 if (PyObject_IsTrue(val
)) {
1529 PySwigObject_acquire(v
);
1531 PySwigObject_disown(v
);
1534 if (PyObject_IsTrue(val
)) {
1535 PySwigObject_acquire(v
,args
);
1537 PySwigObject_disown(v
,args
);
1547 swigobject_methods
[] = {
1548 {(char *)"disown", (PyCFunction
)PySwigObject_disown
, METH_NOARGS
, (char *)"releases ownership of the pointer"},
1549 {(char *)"acquire", (PyCFunction
)PySwigObject_acquire
, METH_NOARGS
, (char *)"aquires ownership of the pointer"},
1550 {(char *)"own", (PyCFunction
)PySwigObject_own
, METH_VARARGS
, (char *)"returns/sets ownership of the pointer"},
1551 {(char *)"append", (PyCFunction
)PySwigObject_append
, METH_O
, (char *)"appends another 'this' object"},
1552 {(char *)"next", (PyCFunction
)PySwigObject_next
, METH_NOARGS
, (char *)"returns the next 'this' object"},
1553 {(char *)"__repr__",(PyCFunction
)PySwigObject_repr
, METH_NOARGS
, (char *)"returns object representation"},
1558 swigobject_methods
[] = {
1559 {(char *)"disown", (PyCFunction
)PySwigObject_disown
, METH_VARARGS
, (char *)"releases ownership of the pointer"},
1560 {(char *)"acquire", (PyCFunction
)PySwigObject_acquire
, METH_VARARGS
, (char *)"aquires ownership of the pointer"},
1561 {(char *)"own", (PyCFunction
)PySwigObject_own
, METH_VARARGS
, (char *)"returns/sets ownership of the pointer"},
1562 {(char *)"append", (PyCFunction
)PySwigObject_append
, METH_VARARGS
, (char *)"appends another 'this' object"},
1563 {(char *)"next", (PyCFunction
)PySwigObject_next
, METH_VARARGS
, (char *)"returns the next 'this' object"},
1564 {(char *)"__repr__",(PyCFunction
)PySwigObject_repr
, METH_VARARGS
, (char *)"returns object representation"},
1569 #if PY_VERSION_HEX < 0x02020000
1570 SWIGINTERN PyObject
*
1571 PySwigObject_getattr(PySwigObject
*sobj
,char *name
)
1573 return Py_FindMethod(swigobject_methods
, (PyObject
*)sobj
, name
);
1577 SWIGRUNTIME PyTypeObject
*
1578 _PySwigObject_type(void) {
1579 static char swigobject_doc
[] = "Swig object carries a C/C++ instance pointer";
1581 static PyNumberMethods PySwigObject_as_number
= {
1582 (binaryfunc
)0, /*nb_add*/
1583 (binaryfunc
)0, /*nb_subtract*/
1584 (binaryfunc
)0, /*nb_multiply*/
1585 (binaryfunc
)0, /*nb_divide*/
1586 (binaryfunc
)0, /*nb_remainder*/
1587 (binaryfunc
)0, /*nb_divmod*/
1588 (ternaryfunc
)0,/*nb_power*/
1589 (unaryfunc
)0, /*nb_negative*/
1590 (unaryfunc
)0, /*nb_positive*/
1591 (unaryfunc
)0, /*nb_absolute*/
1592 (inquiry
)0, /*nb_nonzero*/
1599 (coercion
)0, /*nb_coerce*/
1600 (unaryfunc
)PySwigObject_long
, /*nb_int*/
1601 (unaryfunc
)PySwigObject_long
, /*nb_long*/
1602 (unaryfunc
)0, /*nb_float*/
1603 (unaryfunc
)PySwigObject_oct
, /*nb_oct*/
1604 (unaryfunc
)PySwigObject_hex
, /*nb_hex*/
1605 #if PY_VERSION_HEX >= 0x02020000
1606 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0 /* nb_inplace_add -> nb_inplace_true_divide */
1607 #elif PY_VERSION_HEX >= 0x02000000
1608 0,0,0,0,0,0,0,0,0,0,0 /* nb_inplace_add -> nb_inplace_or */
1612 static PyTypeObject pyswigobject_type
;
1613 static int type_init
= 0;
1615 const PyTypeObject tmp
1617 PyObject_HEAD_INIT(NULL
)
1619 (char *)"PySwigObject", /* tp_name */
1620 sizeof(PySwigObject
), /* tp_basicsize */
1621 0, /* tp_itemsize */
1622 (destructor
)PySwigObject_dealloc
, /* tp_dealloc */
1623 (printfunc
)PySwigObject_print
, /* tp_print */
1624 #if PY_VERSION_HEX < 0x02020000
1625 (getattrfunc
)PySwigObject_getattr
, /* tp_getattr */
1627 (getattrfunc
)0, /* tp_getattr */
1629 (setattrfunc
)0, /* tp_setattr */
1630 (cmpfunc
)PySwigObject_compare
, /* tp_compare */
1631 (reprfunc
)PySwigObject_repr
, /* tp_repr */
1632 &PySwigObject_as_number
, /* tp_as_number */
1633 0, /* tp_as_sequence */
1634 0, /* tp_as_mapping */
1635 (hashfunc
)0, /* tp_hash */
1636 (ternaryfunc
)0, /* tp_call */
1637 (reprfunc
)PySwigObject_str
, /* tp_str */
1638 PyObject_GenericGetAttr
, /* tp_getattro */
1639 0, /* tp_setattro */
1640 0, /* tp_as_buffer */
1641 Py_TPFLAGS_DEFAULT
, /* tp_flags */
1642 swigobject_doc
, /* tp_doc */
1643 0, /* tp_traverse */
1645 0, /* tp_richcompare */
1646 0, /* tp_weaklistoffset */
1647 #if PY_VERSION_HEX >= 0x02020000
1649 0, /* tp_iternext */
1650 swigobject_methods
, /* tp_methods */
1655 0, /* tp_descr_get */
1656 0, /* tp_descr_set */
1657 0, /* tp_dictoffset */
1666 0, /* tp_subclasses */
1667 0, /* tp_weaklist */
1669 #if PY_VERSION_HEX >= 0x02030000
1673 0,0,0,0 /* tp_alloc -> tp_next */
1676 pyswigobject_type
= tmp
;
1677 pyswigobject_type
.ob_type
= &PyType_Type
;
1680 return &pyswigobject_type
;
1683 SWIGRUNTIME PyObject
*
1684 PySwigObject_New(void *ptr
, swig_type_info
*ty
, int own
)
1686 PySwigObject
*sobj
= PyObject_NEW(PySwigObject
, PySwigObject_type());
1693 return (PyObject
*)sobj
;
1696 /* -----------------------------------------------------------------------------
1697 * Implements a simple Swig Packed type, and use it instead of string
1698 * ----------------------------------------------------------------------------- */
1708 PySwigPacked_print(PySwigPacked
*v
, FILE *fp
, int SWIGUNUSEDPARM(flags
))
1710 char result
[SWIG_BUFFER_SIZE
];
1711 fputs("<Swig Packed ", fp
);
1712 if (SWIG_PackDataName(result
, v
->pack
, v
->size
, 0, sizeof(result
))) {
1716 fputs(v
->ty
->name
,fp
);
1721 SWIGRUNTIME PyObject
*
1722 PySwigPacked_repr(PySwigPacked
*v
)
1724 char result
[SWIG_BUFFER_SIZE
];
1725 if (SWIG_PackDataName(result
, v
->pack
, v
->size
, 0, sizeof(result
))) {
1726 return PyString_FromFormat("<Swig Packed at %s%s>", result
, v
->ty
->name
);
1728 return PyString_FromFormat("<Swig Packed %s>", v
->ty
->name
);
1732 SWIGRUNTIME PyObject
*
1733 PySwigPacked_str(PySwigPacked
*v
)
1735 char result
[SWIG_BUFFER_SIZE
];
1736 if (SWIG_PackDataName(result
, v
->pack
, v
->size
, 0, sizeof(result
))){
1737 return PyString_FromFormat("%s%s", result
, v
->ty
->name
);
1739 return PyString_FromString(v
->ty
->name
);
1744 PySwigPacked_compare(PySwigPacked
*v
, PySwigPacked
*w
)
1748 int s
= (i
< j
) ? -1 : ((i
> j
) ? 1 : 0);
1749 return s
? s
: strncmp((char *)v
->pack
, (char *)w
->pack
, 2*v
->size
);
1752 SWIGRUNTIME PyTypeObject
* _PySwigPacked_type(void);
1754 SWIGRUNTIME PyTypeObject
*
1755 PySwigPacked_type(void) {
1756 static PyTypeObject
*SWIG_STATIC_POINTER(type
) = _PySwigPacked_type();
1760 SWIGRUNTIMEINLINE
int
1761 PySwigPacked_Check(PyObject
*op
) {
1762 return ((op
)->ob_type
== _PySwigPacked_type())
1763 || (strcmp((op
)->ob_type
->tp_name
,"PySwigPacked") == 0);
1767 PySwigPacked_dealloc(PyObject
*v
)
1769 if (PySwigPacked_Check(v
)) {
1770 PySwigPacked
*sobj
= (PySwigPacked
*) v
;
1776 SWIGRUNTIME PyTypeObject
*
1777 _PySwigPacked_type(void) {
1778 static char swigpacked_doc
[] = "Swig object carries a C/C++ instance pointer";
1779 static PyTypeObject pyswigpacked_type
;
1780 static int type_init
= 0;
1782 const PyTypeObject tmp
1784 PyObject_HEAD_INIT(NULL
)
1786 (char *)"PySwigPacked", /* tp_name */
1787 sizeof(PySwigPacked
), /* tp_basicsize */
1788 0, /* tp_itemsize */
1789 (destructor
)PySwigPacked_dealloc
, /* tp_dealloc */
1790 (printfunc
)PySwigPacked_print
, /* tp_print */
1791 (getattrfunc
)0, /* tp_getattr */
1792 (setattrfunc
)0, /* tp_setattr */
1793 (cmpfunc
)PySwigPacked_compare
, /* tp_compare */
1794 (reprfunc
)PySwigPacked_repr
, /* tp_repr */
1795 0, /* tp_as_number */
1796 0, /* tp_as_sequence */
1797 0, /* tp_as_mapping */
1798 (hashfunc
)0, /* tp_hash */
1799 (ternaryfunc
)0, /* tp_call */
1800 (reprfunc
)PySwigPacked_str
, /* tp_str */
1801 PyObject_GenericGetAttr
, /* tp_getattro */
1802 0, /* tp_setattro */
1803 0, /* tp_as_buffer */
1804 Py_TPFLAGS_DEFAULT
, /* tp_flags */
1805 swigpacked_doc
, /* tp_doc */
1806 0, /* tp_traverse */
1808 0, /* tp_richcompare */
1809 0, /* tp_weaklistoffset */
1810 #if PY_VERSION_HEX >= 0x02020000
1812 0, /* tp_iternext */
1818 0, /* tp_descr_get */
1819 0, /* tp_descr_set */
1820 0, /* tp_dictoffset */
1829 0, /* tp_subclasses */
1830 0, /* tp_weaklist */
1832 #if PY_VERSION_HEX >= 0x02030000
1836 0,0,0,0 /* tp_alloc -> tp_next */
1839 pyswigpacked_type
= tmp
;
1840 pyswigpacked_type
.ob_type
= &PyType_Type
;
1843 return &pyswigpacked_type
;
1846 SWIGRUNTIME PyObject
*
1847 PySwigPacked_New(void *ptr
, size_t size
, swig_type_info
*ty
)
1849 PySwigPacked
*sobj
= PyObject_NEW(PySwigPacked
, PySwigPacked_type());
1851 void *pack
= malloc(size
);
1853 memcpy(pack
, ptr
, size
);
1858 PyObject_DEL((PyObject
*) sobj
);
1862 return (PyObject
*) sobj
;
1865 SWIGRUNTIME swig_type_info
*
1866 PySwigPacked_UnpackData(PyObject
*obj
, void *ptr
, size_t size
)
1868 if (PySwigPacked_Check(obj
)) {
1869 PySwigPacked
*sobj
= (PySwigPacked
*)obj
;
1870 if (sobj
->size
!= size
) return 0;
1871 memcpy(ptr
, sobj
->pack
, size
);
1878 /* -----------------------------------------------------------------------------
1879 * pointers/data manipulation
1880 * ----------------------------------------------------------------------------- */
1882 SWIGRUNTIMEINLINE PyObject
*
1885 return PyString_FromString("this");
1888 SWIGRUNTIME PyObject
*
1891 static PyObject
*SWIG_STATIC_POINTER(swig_this
) = _SWIG_This();
1895 /* #define SWIG_PYTHON_SLOW_GETSET_THIS */
1897 SWIGRUNTIME PySwigObject
*
1898 SWIG_Python_GetSwigThis(PyObject
*pyobj
)
1900 if (PySwigObject_Check(pyobj
)) {
1901 return (PySwigObject
*) pyobj
;
1904 #if (!defined(SWIG_PYTHON_SLOW_GETSET_THIS) && (PY_VERSION_HEX >= 0x02030000))
1905 if (PyInstance_Check(pyobj
)) {
1906 obj
= _PyInstance_Lookup(pyobj
, SWIG_This());
1908 PyObject
**dictptr
= _PyObject_GetDictPtr(pyobj
);
1909 if (dictptr
!= NULL
) {
1910 PyObject
*dict
= *dictptr
;
1911 obj
= dict
? PyDict_GetItem(dict
, SWIG_This()) : 0;
1913 #ifdef PyWeakref_CheckProxy
1914 if (PyWeakref_CheckProxy(pyobj
)) {
1915 PyObject
*wobj
= PyWeakref_GET_OBJECT(pyobj
);
1916 return wobj
? SWIG_Python_GetSwigThis(wobj
) : 0;
1919 obj
= PyObject_GetAttr(pyobj
,SWIG_This());
1923 if (PyErr_Occurred()) PyErr_Clear();
1929 obj
= PyObject_GetAttr(pyobj
,SWIG_This());
1933 if (PyErr_Occurred()) PyErr_Clear();
1937 if (obj
&& !PySwigObject_Check(obj
)) {
1938 /* a PyObject is called 'this', try to get the 'real this'
1939 PySwigObject from it */
1940 return SWIG_Python_GetSwigThis(obj
);
1942 return (PySwigObject
*)obj
;
1946 /* Acquire a pointer value */
1949 SWIG_Python_AcquirePtr(PyObject
*obj
, int own
) {
1951 PySwigObject
*sobj
= SWIG_Python_GetSwigThis(obj
);
1953 int oldown
= sobj
->own
;
1961 /* Convert a pointer value */
1964 SWIG_Python_ConvertPtrAndOwn(PyObject
*obj
, void **ptr
, swig_type_info
*ty
, int flags
, int *own
) {
1965 if (!obj
) return SWIG_ERROR
;
1966 if (obj
== Py_None
) {
1970 PySwigObject
*sobj
= SWIG_Python_GetSwigThis(obj
);
1972 void *vptr
= sobj
->ptr
;
1974 swig_type_info
*to
= sobj
->ty
;
1976 /* no type cast needed */
1977 if (ptr
) *ptr
= vptr
;
1980 swig_cast_info
*tc
= SWIG_TypeCheck(to
->name
,ty
);
1982 sobj
= (PySwigObject
*)sobj
->next
;
1984 if (ptr
) *ptr
= SWIG_TypeCast(tc
,vptr
);
1989 if (ptr
) *ptr
= vptr
;
1994 if (own
) *own
= sobj
->own
;
1995 if (flags
& SWIG_POINTER_DISOWN
) {
2000 int res
= SWIG_ERROR
;
2001 if (flags
& SWIG_POINTER_IMPLICIT_CONV
) {
2002 PySwigClientData
*data
= ty
? (PySwigClientData
*) ty
->clientdata
: 0;
2003 if (data
&& !data
->implicitconv
) {
2004 PyObject
*klass
= data
->klass
;
2007 data
->implicitconv
= 1; /* avoid recursion and call 'explicit' constructors*/
2008 impconv
= SWIG_Python_CallFunctor(klass
, obj
);
2009 data
->implicitconv
= 0;
2010 if (PyErr_Occurred()) {
2015 PySwigObject
*iobj
= SWIG_Python_GetSwigThis(impconv
);
2018 res
= SWIG_Python_ConvertPtrAndOwn((PyObject
*)iobj
, &vptr
, ty
, 0, 0);
2019 if (SWIG_IsOK(res
)) {
2022 /* transfer the ownership to 'ptr' */
2024 res
= SWIG_AddCast(res
);
2025 res
= SWIG_AddNewMask(res
);
2027 res
= SWIG_AddCast(res
);
2041 /* Convert a function ptr value */
2044 SWIG_Python_ConvertFunctionPtr(PyObject
*obj
, void **ptr
, swig_type_info
*ty
) {
2045 if (!PyCFunction_Check(obj
)) {
2046 return SWIG_ConvertPtr(obj
, ptr
, ty
, 0);
2050 /* here we get the method pointer for callbacks */
2051 char *doc
= (((PyCFunctionObject
*)obj
) -> m_ml
-> ml_doc
);
2052 const char *desc
= doc
? strstr(doc
, "swig_ptr: ") : 0;
2054 desc
= ty
? SWIG_UnpackVoidPtr(desc
+ 10, &vptr
, ty
->name
) : 0;
2055 if (!desc
) return SWIG_ERROR
;
2058 swig_cast_info
*tc
= SWIG_TypeCheck(desc
,ty
);
2059 if (!tc
) return SWIG_ERROR
;
2060 *ptr
= SWIG_TypeCast(tc
,vptr
);
2068 /* Convert a packed value value */
2071 SWIG_Python_ConvertPacked(PyObject
*obj
, void *ptr
, size_t sz
, swig_type_info
*ty
) {
2072 swig_type_info
*to
= PySwigPacked_UnpackData(obj
, ptr
, sz
);
2073 if (!to
) return SWIG_ERROR
;
2076 /* check type cast? */
2077 swig_cast_info
*tc
= SWIG_TypeCheck(to
->name
,ty
);
2078 if (!tc
) return SWIG_ERROR
;
2084 /* -----------------------------------------------------------------------------
2085 * Create a new pointer object
2086 * ----------------------------------------------------------------------------- */
2089 Create a new instance object, whitout calling __init__, and set the
2093 SWIGRUNTIME PyObject
*
2094 SWIG_Python_NewShadowInstance(PySwigClientData
*data
, PyObject
*swig_this
)
2096 #if (PY_VERSION_HEX >= 0x02020000)
2098 PyObject
*newraw
= data
->newraw
;
2100 inst
= PyObject_Call(newraw
, data
->newargs
, NULL
);
2102 #if !defined(SWIG_PYTHON_SLOW_GETSET_THIS)
2103 PyObject
**dictptr
= _PyObject_GetDictPtr(inst
);
2104 if (dictptr
!= NULL
) {
2105 PyObject
*dict
= *dictptr
;
2107 dict
= PyDict_New();
2109 PyDict_SetItem(dict
, SWIG_This(), swig_this
);
2113 PyObject
*key
= SWIG_This();
2114 PyObject_SetAttr(inst
, key
, swig_this
);
2118 PyObject
*dict
= PyDict_New();
2119 PyDict_SetItem(dict
, SWIG_This(), swig_this
);
2120 inst
= PyInstance_NewRaw(data
->newargs
, dict
);
2125 #if (PY_VERSION_HEX >= 0x02010000)
2127 PyObject
*dict
= PyDict_New();
2128 PyDict_SetItem(dict
, SWIG_This(), swig_this
);
2129 inst
= PyInstance_NewRaw(data
->newargs
, dict
);
2131 return (PyObject
*) inst
;
2133 PyInstanceObject
*inst
= PyObject_NEW(PyInstanceObject
, &PyInstance_Type
);
2137 inst
->in_class
= (PyClassObject
*)data
->newargs
;
2138 Py_INCREF(inst
->in_class
);
2139 inst
->in_dict
= PyDict_New();
2140 if (inst
->in_dict
== NULL
) {
2144 #ifdef Py_TPFLAGS_HAVE_WEAKREFS
2145 inst
->in_weakreflist
= NULL
;
2147 #ifdef Py_TPFLAGS_GC
2148 PyObject_GC_Init(inst
);
2150 PyDict_SetItem(inst
->in_dict
, SWIG_This(), swig_this
);
2151 return (PyObject
*) inst
;
2157 SWIG_Python_SetSwigThis(PyObject
*inst
, PyObject
*swig_this
)
2160 #if (PY_VERSION_HEX >= 0x02020000) && !defined(SWIG_PYTHON_SLOW_GETSET_THIS)
2161 PyObject
**dictptr
= _PyObject_GetDictPtr(inst
);
2162 if (dictptr
!= NULL
) {
2165 dict
= PyDict_New();
2168 PyDict_SetItem(dict
, SWIG_This(), swig_this
);
2172 dict
= PyObject_GetAttrString(inst
, "__dict__");
2173 PyDict_SetItem(dict
, SWIG_This(), swig_this
);
2178 SWIGINTERN PyObject
*
2179 SWIG_Python_InitShadowInstance(PyObject
*args
) {
2181 if (!SWIG_Python_UnpackTuple(args
,(char*)"swiginit", 2, 2, obj
)) {
2184 PySwigObject
*sthis
= SWIG_Python_GetSwigThis(obj
[0]);
2186 PySwigObject_append((PyObject
*) sthis
, obj
[1]);
2188 SWIG_Python_SetSwigThis(obj
[0], obj
[1]);
2190 return SWIG_Py_Void();
2194 /* Create a new pointer object */
2196 SWIGRUNTIME PyObject
*
2197 SWIG_Python_NewPointerObj(void *ptr
, swig_type_info
*type
, int flags
) {
2199 return SWIG_Py_Void();
2201 int own
= (flags
& SWIG_POINTER_OWN
) ? SWIG_POINTER_OWN
: 0;
2202 PyObject
*robj
= PySwigObject_New(ptr
, type
, own
);
2203 PySwigClientData
*clientdata
= type
? (PySwigClientData
*)(type
->clientdata
) : 0;
2204 if (clientdata
&& !(flags
& SWIG_POINTER_NOSHADOW
)) {
2205 PyObject
*inst
= SWIG_Python_NewShadowInstance(clientdata
, robj
);
2215 /* Create a new packed object */
2217 SWIGRUNTIMEINLINE PyObject
*
2218 SWIG_Python_NewPackedObj(void *ptr
, size_t sz
, swig_type_info
*type
) {
2219 return ptr
? PySwigPacked_New((void *) ptr
, sz
, type
) : SWIG_Py_Void();
2222 /* -----------------------------------------------------------------------------*
2224 * -----------------------------------------------------------------------------*/
2226 #ifdef SWIG_LINK_RUNTIME
2227 void *SWIG_ReturnGlobalTypeList(void *);
2230 SWIGRUNTIME swig_module_info
*
2231 SWIG_Python_GetModule(void) {
2232 static void *type_pointer
= (void *)0;
2233 /* first check if module already created */
2234 if (!type_pointer
) {
2235 #ifdef SWIG_LINK_RUNTIME
2236 type_pointer
= SWIG_ReturnGlobalTypeList((void *)0);
2238 type_pointer
= PyCObject_Import((char*)"swig_runtime_data" SWIG_RUNTIME_VERSION
,
2239 (char*)"type_pointer" SWIG_TYPE_TABLE_NAME
);
2240 if (PyErr_Occurred()) {
2242 type_pointer
= (void *)0;
2246 return (swig_module_info
*) type_pointer
;
2249 #if PY_MAJOR_VERSION < 2
2250 /* PyModule_AddObject function was introduced in Python 2.0. The following function
2251 is copied out of Python/modsupport.c in python version 2.3.4 */
2253 PyModule_AddObject(PyObject
*m
, char *name
, PyObject
*o
)
2256 if (!PyModule_Check(m
)) {
2257 PyErr_SetString(PyExc_TypeError
,
2258 "PyModule_AddObject() needs module as first arg");
2262 PyErr_SetString(PyExc_TypeError
,
2263 "PyModule_AddObject() needs non-NULL value");
2267 dict
= PyModule_GetDict(m
);
2269 /* Internal error -- modules must have a dict! */
2270 PyErr_Format(PyExc_SystemError
, "module '%s' has no __dict__",
2271 PyModule_GetName(m
));
2274 if (PyDict_SetItemString(dict
, name
, o
))
2282 SWIG_Python_DestroyModule(void *vptr
)
2284 swig_module_info
*swig_module
= (swig_module_info
*) vptr
;
2285 swig_type_info
**types
= swig_module
->types
;
2287 for (i
=0; i
< swig_module
->size
; ++i
) {
2288 swig_type_info
*ty
= types
[i
];
2290 PySwigClientData
*data
= (PySwigClientData
*) ty
->clientdata
;
2291 if (data
) PySwigClientData_Del(data
);
2294 Py_DECREF(SWIG_This());
2298 SWIG_Python_SetModule(swig_module_info
*swig_module
) {
2299 static PyMethodDef swig_empty_runtime_method_table
[] = { {NULL
, NULL
, 0, NULL
} };/* Sentinel */
2301 PyObject
*module = Py_InitModule((char*)"swig_runtime_data" SWIG_RUNTIME_VERSION
,
2302 swig_empty_runtime_method_table
);
2303 PyObject
*pointer
= PyCObject_FromVoidPtr((void *) swig_module
, SWIG_Python_DestroyModule
);
2304 if (pointer
&& module) {
2305 PyModule_AddObject(module, (char*)"type_pointer" SWIG_TYPE_TABLE_NAME
, pointer
);
2307 Py_XDECREF(pointer
);
2311 /* The python cached type query */
2312 SWIGRUNTIME PyObject
*
2313 SWIG_Python_TypeCache() {
2314 static PyObject
*SWIG_STATIC_POINTER(cache
) = PyDict_New();
2318 SWIGRUNTIME swig_type_info
*
2319 SWIG_Python_TypeQuery(const char *type
)
2321 PyObject
*cache
= SWIG_Python_TypeCache();
2322 PyObject
*key
= PyString_FromString(type
);
2323 PyObject
*obj
= PyDict_GetItem(cache
, key
);
2324 swig_type_info
*descriptor
;
2326 descriptor
= (swig_type_info
*) PyCObject_AsVoidPtr(obj
);
2328 swig_module_info
*swig_module
= SWIG_Python_GetModule();
2329 descriptor
= SWIG_TypeQueryModule(swig_module
, swig_module
, type
);
2331 obj
= PyCObject_FromVoidPtr(descriptor
, NULL
);
2332 PyDict_SetItem(cache
, key
, obj
);
2341 For backward compatibility only
2343 #define SWIG_POINTER_EXCEPTION 0
2344 #define SWIG_arg_fail(arg) SWIG_Python_ArgFail(arg)
2345 #define SWIG_MustGetPtr(p, type, argnum, flags) SWIG_Python_MustGetPtr(p, type, argnum, flags)
2348 SWIG_Python_AddErrMesg(const char* mesg
, int infront
)
2350 if (PyErr_Occurred()) {
2352 PyObject
*value
= 0;
2353 PyObject
*traceback
= 0;
2354 PyErr_Fetch(&type
, &value
, &traceback
);
2356 PyObject
*old_str
= PyObject_Str(value
);
2360 PyErr_Format(type
, "%s %s", mesg
, PyString_AsString(old_str
));
2362 PyErr_Format(type
, "%s %s", PyString_AsString(old_str
), mesg
);
2373 SWIG_Python_ArgFail(int argnum
)
2375 if (PyErr_Occurred()) {
2376 /* add information about failing argument */
2378 PyOS_snprintf(mesg
, sizeof(mesg
), "argument number %d:", argnum
);
2379 return SWIG_Python_AddErrMesg(mesg
, 1);
2385 SWIGRUNTIMEINLINE
const char *
2386 PySwigObject_GetDesc(PyObject
*self
)
2388 PySwigObject
*v
= (PySwigObject
*)self
;
2389 swig_type_info
*ty
= v
? v
->ty
: 0;
2390 return ty
? ty
->str
: (char*)"";
2394 SWIG_Python_TypeError(const char *type
, PyObject
*obj
)
2397 #if defined(SWIG_COBJECT_TYPES)
2398 if (obj
&& PySwigObject_Check(obj
)) {
2399 const char *otype
= (const char *) PySwigObject_GetDesc(obj
);
2401 PyErr_Format(PyExc_TypeError
, "a '%s' is expected, 'PySwigObject(%s)' is received",
2408 const char *otype
= (obj
? obj
->ob_type
->tp_name
: 0);
2410 PyObject
*str
= PyObject_Str(obj
);
2411 const char *cstr
= str
? PyString_AsString(str
) : 0;
2413 PyErr_Format(PyExc_TypeError
, "a '%s' is expected, '%s(%s)' is received",
2416 PyErr_Format(PyExc_TypeError
, "a '%s' is expected, '%s' is received",
2423 PyErr_Format(PyExc_TypeError
, "a '%s' is expected", type
);
2425 PyErr_Format(PyExc_TypeError
, "unexpected type is received");
2430 /* Convert a pointer value, signal an exception on a type mismatch */
2432 SWIG_Python_MustGetPtr(PyObject
*obj
, swig_type_info
*ty
, int argnum
, int flags
) {
2434 if (SWIG_Python_ConvertPtr(obj
, &result
, ty
, flags
) == -1) {
2436 if (flags
& SWIG_POINTER_EXCEPTION
) {
2437 SWIG_Python_TypeError(SWIG_TypePrettyName(ty
), obj
);
2438 SWIG_Python_ArgFail(argnum
);
2454 #define SWIG_exception_fail(code, msg) do { SWIG_Error(code, msg); SWIG_fail; } while(0)
2456 #define SWIG_contract_assert(expr, msg) if (!(expr)) { SWIG_Error(SWIG_RuntimeError, msg); SWIG_fail; } else
2460 /* -------- TYPES TABLE (BEGIN) -------- */
2462 #define SWIGTYPE_p_char swig_types[0]
2463 #define SWIGTYPE_p_form_ops_t swig_types[1]
2464 #define SWIGTYPE_p_int swig_types[2]
2465 #define SWIGTYPE_p_unsigned_char swig_types[3]
2466 #define SWIGTYPE_p_unsigned_int swig_types[4]
2467 #define SWIGTYPE_p_unsigned_long swig_types[5]
2468 #define SWIGTYPE_p_wxANIHandler swig_types[6]
2469 #define SWIGTYPE_p_wxAcceleratorTable swig_types[7]
2470 #define SWIGTYPE_p_wxActivateEvent swig_types[8]
2471 #define SWIGTYPE_p_wxArrayInt swig_types[9]
2472 #define SWIGTYPE_p_wxBMPHandler swig_types[10]
2473 #define SWIGTYPE_p_wxBitmap swig_types[11]
2474 #define SWIGTYPE_p_wxBoxSizer swig_types[12]
2475 #define SWIGTYPE_p_wxCURHandler swig_types[13]
2476 #define SWIGTYPE_p_wxCalculateLayoutEvent swig_types[14]
2477 #define SWIGTYPE_p_wxChildFocusEvent swig_types[15]
2478 #define SWIGTYPE_p_wxCloseEvent swig_types[16]
2479 #define SWIGTYPE_p_wxColour swig_types[17]
2480 #define SWIGTYPE_p_wxColourData swig_types[18]
2481 #define SWIGTYPE_p_wxColourDialog swig_types[19]
2482 #define SWIGTYPE_p_wxCommandEvent swig_types[20]
2483 #define SWIGTYPE_p_wxContextMenuEvent swig_types[21]
2484 #define SWIGTYPE_p_wxControl swig_types[22]
2485 #define SWIGTYPE_p_wxControlWithItems swig_types[23]
2486 #define SWIGTYPE_p_wxDC swig_types[24]
2487 #define SWIGTYPE_p_wxDateEvent swig_types[25]
2488 #define SWIGTYPE_p_wxDialog swig_types[26]
2489 #define SWIGTYPE_p_wxDirDialog swig_types[27]
2490 #define SWIGTYPE_p_wxDisplayChangedEvent swig_types[28]
2491 #define SWIGTYPE_p_wxDropFilesEvent swig_types[29]
2492 #define SWIGTYPE_p_wxDuplexMode swig_types[30]
2493 #define SWIGTYPE_p_wxEraseEvent swig_types[31]
2494 #define SWIGTYPE_p_wxEvent swig_types[32]
2495 #define SWIGTYPE_p_wxEvtHandler swig_types[33]
2496 #define SWIGTYPE_p_wxFSFile swig_types[34]
2497 #define SWIGTYPE_p_wxFileDialog swig_types[35]
2498 #define SWIGTYPE_p_wxFileSystem swig_types[36]
2499 #define SWIGTYPE_p_wxFindDialogEvent swig_types[37]
2500 #define SWIGTYPE_p_wxFindReplaceData swig_types[38]
2501 #define SWIGTYPE_p_wxFindReplaceDialog swig_types[39]
2502 #define SWIGTYPE_p_wxFlexGridSizer swig_types[40]
2503 #define SWIGTYPE_p_wxFocusEvent swig_types[41]
2504 #define SWIGTYPE_p_wxFont swig_types[42]
2505 #define SWIGTYPE_p_wxFontData swig_types[43]
2506 #define SWIGTYPE_p_wxFontDialog swig_types[44]
2507 #define SWIGTYPE_p_wxFrame swig_types[45]
2508 #define SWIGTYPE_p_wxGBSizerItem swig_types[46]
2509 #define SWIGTYPE_p_wxGIFHandler swig_types[47]
2510 #define SWIGTYPE_p_wxGridBagSizer swig_types[48]
2511 #define SWIGTYPE_p_wxGridSizer swig_types[49]
2512 #define SWIGTYPE_p_wxICOHandler swig_types[50]
2513 #define SWIGTYPE_p_wxIcon swig_types[51]
2514 #define SWIGTYPE_p_wxIconBundle swig_types[52]
2515 #define SWIGTYPE_p_wxIconizeEvent swig_types[53]
2516 #define SWIGTYPE_p_wxIdleEvent swig_types[54]
2517 #define SWIGTYPE_p_wxImage swig_types[55]
2518 #define SWIGTYPE_p_wxImageHandler swig_types[56]
2519 #define SWIGTYPE_p_wxIndividualLayoutConstraint swig_types[57]
2520 #define SWIGTYPE_p_wxInitDialogEvent swig_types[58]
2521 #define SWIGTYPE_p_wxJPEGHandler swig_types[59]
2522 #define SWIGTYPE_p_wxKeyEvent swig_types[60]
2523 #define SWIGTYPE_p_wxLayoutAlgorithm swig_types[61]
2524 #define SWIGTYPE_p_wxLayoutConstraints swig_types[62]
2525 #define SWIGTYPE_p_wxMDIChildFrame swig_types[63]
2526 #define SWIGTYPE_p_wxMDIClientWindow swig_types[64]
2527 #define SWIGTYPE_p_wxMDIParentFrame swig_types[65]
2528 #define SWIGTYPE_p_wxMaximizeEvent swig_types[66]
2529 #define SWIGTYPE_p_wxMenu swig_types[67]
2530 #define SWIGTYPE_p_wxMenuBar swig_types[68]
2531 #define SWIGTYPE_p_wxMenuEvent swig_types[69]
2532 #define SWIGTYPE_p_wxMenuItem swig_types[70]
2533 #define SWIGTYPE_p_wxMessageDialog swig_types[71]
2534 #define SWIGTYPE_p_wxMiniFrame swig_types[72]
2535 #define SWIGTYPE_p_wxMouseCaptureChangedEvent swig_types[73]
2536 #define SWIGTYPE_p_wxMouseEvent swig_types[74]
2537 #define SWIGTYPE_p_wxMoveEvent swig_types[75]
2538 #define SWIGTYPE_p_wxMultiChoiceDialog swig_types[76]
2539 #define SWIGTYPE_p_wxNavigationKeyEvent swig_types[77]
2540 #define SWIGTYPE_p_wxNcPaintEvent swig_types[78]
2541 #define SWIGTYPE_p_wxNotifyEvent swig_types[79]
2542 #define SWIGTYPE_p_wxObject swig_types[80]
2543 #define SWIGTYPE_p_wxPCXHandler swig_types[81]
2544 #define SWIGTYPE_p_wxPNGHandler swig_types[82]
2545 #define SWIGTYPE_p_wxPNMHandler swig_types[83]
2546 #define SWIGTYPE_p_wxPageSetupDialog swig_types[84]
2547 #define SWIGTYPE_p_wxPageSetupDialogData swig_types[85]
2548 #define SWIGTYPE_p_wxPaintEvent swig_types[86]
2549 #define SWIGTYPE_p_wxPaletteChangedEvent swig_types[87]
2550 #define SWIGTYPE_p_wxPanel swig_types[88]
2551 #define SWIGTYPE_p_wxPaperSize swig_types[89]
2552 #define SWIGTYPE_p_wxPasswordEntryDialog swig_types[90]
2553 #define SWIGTYPE_p_wxPoint swig_types[91]
2554 #define SWIGTYPE_p_wxPopupWindow swig_types[92]
2555 #define SWIGTYPE_p_wxPreviewCanvas swig_types[93]
2556 #define SWIGTYPE_p_wxPreviewControlBar swig_types[94]
2557 #define SWIGTYPE_p_wxPreviewFrame swig_types[95]
2558 #define SWIGTYPE_p_wxPrintData swig_types[96]
2559 #define SWIGTYPE_p_wxPrintDialog swig_types[97]
2560 #define SWIGTYPE_p_wxPrintDialogData swig_types[98]
2561 #define SWIGTYPE_p_wxPrintPreview swig_types[99]
2562 #define SWIGTYPE_p_wxPrinter swig_types[100]
2563 #define SWIGTYPE_p_wxProgressDialog swig_types[101]
2564 #define SWIGTYPE_p_wxPyApp swig_types[102]
2565 #define SWIGTYPE_p_wxPyCommandEvent swig_types[103]
2566 #define SWIGTYPE_p_wxPyEvent swig_types[104]
2567 #define SWIGTYPE_p_wxPyHtmlListBox swig_types[105]
2568 #define SWIGTYPE_p_wxPyImageHandler swig_types[106]
2569 #define SWIGTYPE_p_wxPyPanel swig_types[107]
2570 #define SWIGTYPE_p_wxPyPopupTransientWindow swig_types[108]
2571 #define SWIGTYPE_p_wxPyPreviewControlBar swig_types[109]
2572 #define SWIGTYPE_p_wxPyPreviewFrame swig_types[110]
2573 #define SWIGTYPE_p_wxPyPrintPreview swig_types[111]
2574 #define SWIGTYPE_p_wxPyPrintout swig_types[112]
2575 #define SWIGTYPE_p_wxPyScrolledWindow swig_types[113]
2576 #define SWIGTYPE_p_wxPySizer swig_types[114]
2577 #define SWIGTYPE_p_wxPyTaskBarIcon swig_types[115]
2578 #define SWIGTYPE_p_wxPyVListBox swig_types[116]
2579 #define SWIGTYPE_p_wxPyVScrolledWindow swig_types[117]
2580 #define SWIGTYPE_p_wxPyValidator swig_types[118]
2581 #define SWIGTYPE_p_wxPyWindow swig_types[119]
2582 #define SWIGTYPE_p_wxQueryLayoutInfoEvent swig_types[120]
2583 #define SWIGTYPE_p_wxQueryNewPaletteEvent swig_types[121]
2584 #define SWIGTYPE_p_wxRect swig_types[122]
2585 #define SWIGTYPE_p_wxRegion swig_types[123]
2586 #define SWIGTYPE_p_wxSashEvent swig_types[124]
2587 #define SWIGTYPE_p_wxSashLayoutWindow swig_types[125]
2588 #define SWIGTYPE_p_wxSashWindow swig_types[126]
2589 #define SWIGTYPE_p_wxScrollEvent swig_types[127]
2590 #define SWIGTYPE_p_wxScrollWinEvent swig_types[128]
2591 #define SWIGTYPE_p_wxScrolledWindow swig_types[129]
2592 #define SWIGTYPE_p_wxSetCursorEvent swig_types[130]
2593 #define SWIGTYPE_p_wxShowEvent swig_types[131]
2594 #define SWIGTYPE_p_wxSingleChoiceDialog swig_types[132]
2595 #define SWIGTYPE_p_wxSize swig_types[133]
2596 #define SWIGTYPE_p_wxSizeEvent swig_types[134]
2597 #define SWIGTYPE_p_wxSizer swig_types[135]
2598 #define SWIGTYPE_p_wxSizerItem swig_types[136]
2599 #define SWIGTYPE_p_wxSplashScreen swig_types[137]
2600 #define SWIGTYPE_p_wxSplashScreenWindow swig_types[138]
2601 #define SWIGTYPE_p_wxSplitterEvent swig_types[139]
2602 #define SWIGTYPE_p_wxSplitterWindow swig_types[140]
2603 #define SWIGTYPE_p_wxStaticBoxSizer swig_types[141]
2604 #define SWIGTYPE_p_wxStatusBar swig_types[142]
2605 #define SWIGTYPE_p_wxStdDialogButtonSizer swig_types[143]
2606 #define SWIGTYPE_p_wxString swig_types[144]
2607 #define SWIGTYPE_p_wxSysColourChangedEvent swig_types[145]
2608 #define SWIGTYPE_p_wxTIFFHandler swig_types[146]
2609 #define SWIGTYPE_p_wxTaskBarIcon swig_types[147]
2610 #define SWIGTYPE_p_wxTaskBarIconEvent swig_types[148]
2611 #define SWIGTYPE_p_wxTextEntryDialog swig_types[149]
2612 #define SWIGTYPE_p_wxTipWindow swig_types[150]
2613 #define SWIGTYPE_p_wxToolBar swig_types[151]
2614 #define SWIGTYPE_p_wxTopLevelWindow swig_types[152]
2615 #define SWIGTYPE_p_wxUpdateUIEvent swig_types[153]
2616 #define SWIGTYPE_p_wxValidator swig_types[154]
2617 #define SWIGTYPE_p_wxVisualAttributes swig_types[155]
2618 #define SWIGTYPE_p_wxWindow swig_types[156]
2619 #define SWIGTYPE_p_wxWindowCreateEvent swig_types[157]
2620 #define SWIGTYPE_p_wxWindowDestroyEvent swig_types[158]
2621 #define SWIGTYPE_p_wxXPMHandler swig_types[159]
2622 static swig_type_info
*swig_types
[161];
2623 static swig_module_info swig_module
= {swig_types
, 160, 0, 0, 0, 0};
2624 #define SWIG_TypeQuery(name) SWIG_TypeQueryModule(&swig_module, &swig_module, name)
2625 #define SWIG_MangledTypeQuery(name) SWIG_MangledTypeQueryModule(&swig_module, &swig_module, name)
2627 /* -------- TYPES TABLE (END) -------- */
2629 #if (PY_VERSION_HEX <= 0x02000000)
2630 # if !defined(SWIG_PYTHON_CLASSIC)
2631 # error "This python version requires to use swig with the '-classic' option"
2634 #if (PY_VERSION_HEX <= 0x02020000)
2635 # error "This python version requires to use swig with the '-nomodern' option"
2637 #if (PY_VERSION_HEX <= 0x02020000)
2638 # error "This python version requires to use swig with the '-nomodernargs' option"
2641 # error "This python version requires to use swig with the '-nofastunpack' option"
2644 /*-----------------------------------------------
2645 @(target):= _windows_.so
2646 ------------------------------------------------*/
2647 #define SWIG_init init_windows_
2649 #define SWIG_name "_windows_"
2651 #define SWIGVERSION 0x010329
2654 #define SWIG_as_voidptr(a) const_cast< void * >(static_cast< const void * >(a))
2655 #define SWIG_as_voidptrptr(a) ((void)SWIG_as_voidptr(*a),reinterpret_cast< void** >(a))
2658 #include <stdexcept>
2662 class PyObject_ptr
{
2667 PyObject_ptr() :_obj(0)
2671 PyObject_ptr(const PyObject_ptr
& item
) : _obj(item
._obj
)
2676 PyObject_ptr(PyObject
*obj
, bool initial_ref
= true) :_obj(obj
)
2678 if (initial_ref
) Py_XINCREF(_obj
);
2681 PyObject_ptr
& operator=(const PyObject_ptr
& item
)
2683 Py_XINCREF(item
._obj
);
2694 operator PyObject
*() const
2699 PyObject
*operator->() const
2708 struct PyObject_var
: PyObject_ptr
{
2709 PyObject_var(PyObject
* obj
= 0) : PyObject_ptr(obj
, false) { }
2711 PyObject_var
& operator = (PyObject
* obj
)
2721 #include "wx/wxPython/wxPython.h"
2722 #include "wx/wxPython/pyclasses.h"
2725 static const wxString
wxPyEmptyString(wxEmptyString
);
2726 static const wxString
wxPyPanelNameStr(wxPanelNameStr
);
2732 # define LLONG_MIN LONG_LONG_MIN
2735 # define LLONG_MAX LONG_LONG_MAX
2738 # define ULLONG_MAX ULONG_LONG_MAX
2743 SWIG_AsVal_long (PyObject
* obj
, long* val
)
2745 if (PyNumber_Check(obj
)) {
2746 if (val
) *val
= PyInt_AsLong(obj
);
2749 return SWIG_TypeError
;
2754 SWIG_AsVal_int (PyObject
* obj
, int *val
)
2757 int res
= SWIG_AsVal_long (obj
, &v
);
2758 if (SWIG_IsOK(res
)) {
2759 if ((v
< INT_MIN
|| v
> INT_MAX
)) {
2760 return SWIG_OverflowError
;
2762 if (val
) *val
= static_cast< int >(v
);
2770 SWIG_AsVal_bool (PyObject
*obj
, bool *val
)
2772 if (obj
== Py_True
) {
2773 if (val
) *val
= true;
2775 } else if (obj
== Py_False
) {
2776 if (val
) *val
= false;
2780 int res
= SWIG_AddCast(SWIG_AsVal_long (obj
, val
? &v
: 0));
2781 if (SWIG_IsOK(res
) && val
) *val
= v
? true : false;
2787 #define SWIG_From_long PyInt_FromLong
2790 SWIGINTERNINLINE PyObject
*
2791 SWIG_From_int (int value
)
2793 return SWIG_From_long (value
);
2798 SWIG_AsVal_double (PyObject
*obj
, double* val
)
2800 if (PyNumber_Check(obj
)) {
2801 if (val
) *val
= PyFloat_AsDouble(obj
);
2804 return SWIG_TypeError
;
2808 #define SWIG_From_double PyFloat_FromDouble
2810 static const wxString
wxPyFrameNameStr(wxFrameNameStr
);
2811 static const wxString
wxPyDialogNameStr(wxDialogNameStr
);
2812 static const wxString
wxPyStatusLineNameStr(wxStatusLineNameStr
);
2813 static const wxString
wxPyToolBarNameStr(wxToolBarNameStr
);
2814 SWIGINTERN
void wxTopLevelWindow_MacSetMetalAppearance(wxTopLevelWindow
*self
,bool on
){
2815 int style
= self
->GetExtraStyle();
2817 style
|= wxFRAME_EX_METAL
;
2819 style
&= ~wxFRAME_EX_METAL
;
2820 self
->SetExtraStyle(style
);
2824 SWIGINTERN wxRect
wxStatusBar_GetFieldRect(wxStatusBar
*self
,int i
){
2826 self
->GetFieldRect(i
, r
);
2829 static const wxString
wxPySplitterNameStr(wxT("splitter"));
2830 static const wxString
wxPySashNameStr(wxT("sashWindow"));
2831 static const wxString
wxPySashLayoutNameStr(wxT("layoutWindow"));
2833 #include <wx/popupwin.h>
2836 class wxPopupWindow
: public wxWindow
{
2838 wxPopupWindow(wxWindow
*, int) { wxPyRaiseNotImplemented(); }
2839 wxPopupWindow() { wxPyRaiseNotImplemented(); }
2842 class wxPyPopupTransientWindow
: public wxPopupWindow
2845 wxPyPopupTransientWindow(wxWindow
*, int) { wxPyRaiseNotImplemented(); }
2846 wxPyPopupTransientWindow() { wxPyRaiseNotImplemented(); }
2850 #include <wx/tipwin.h>
2852 SWIGINTERN wxTipWindow
*new_wxTipWindow(wxWindow
*parent
,wxString
const &text
,int maxLength
=100,wxRect
*rectBound
=NULL
){
2853 return new wxTipWindow(parent
, text
, maxLength
, NULL
, rectBound
);
2856 #include <wx/tipwin.h>
2859 #include <wx/vscroll.h>
2862 class wxPyVScrolledWindow
: public wxVScrolledWindow
2864 DECLARE_ABSTRACT_CLASS(wxPyVScrolledWindow
)
2866 wxPyVScrolledWindow() : wxVScrolledWindow() {}
2868 wxPyVScrolledWindow(wxWindow
*parent
,
2869 wxWindowID id
= wxID_ANY
,
2870 const wxPoint
& pos
= wxDefaultPosition
,
2871 const wxSize
& size
= wxDefaultSize
,
2873 const wxString
& name
= wxPyPanelNameStr
)
2874 : wxVScrolledWindow(parent
, id
, pos
, size
, style
, name
)
2877 // Overridable virtuals
2879 // this function must be overridden in the derived class and it should
2880 // return the height of the given line in pixels
2881 DEC_PYCALLBACK_COORD_SIZET_constpure(OnGetLineHeight
);
2884 // this function doesn't have to be overridden but it may be useful to do
2885 // it if calculating the lines heights is a relatively expensive operation
2886 // as it gives the user code a possibility to calculate several of them at
2889 // OnGetLinesHint() is normally called just before OnGetLineHeight() but you
2890 // shouldn't rely on the latter being called for all lines in the interval
2891 // specified here. It is also possible that OnGetLineHeight() will be
2892 // called for the lines outside of this interval, so this is really just a
2893 // hint, not a promise.
2895 // finally note that lineMin is inclusive, while lineMax is exclusive, as
2897 DEC_PYCALLBACK_VOID_SIZETSIZET_const(OnGetLinesHint
);
2900 // when the number of lines changes, we try to estimate the total height
2901 // of all lines which is a rather expensive operation in terms of lines
2902 // access, so if the user code may estimate the average height
2903 // better/faster than we do, it should override this function to implement
2906 // this function should return the best guess for the total height it may
2908 DEC_PYCALLBACK_COORD_const(EstimateTotalHeight
);
2911 // Also expose some other interesting protected methods
2914 // find the index of the line we need to show at the top of the window such
2915 // that the last (fully or partially) visible line is the given one
2916 size_t FindFirstFromBottom(size_t lineLast
, bool fullyVisible
= false)
2917 { return wxVScrolledWindow::FindFirstFromBottom(lineLast
, fullyVisible
); }
2919 // get the total height of the lines between lineMin (inclusive) and
2920 // lineMax (exclusive)
2921 wxCoord
GetLinesHeight(size_t lineMin
, size_t lineMax
) const
2922 { return wxVScrolledWindow::GetLinesHeight(lineMin
, lineMax
); }
2928 IMPLEMENT_ABSTRACT_CLASS(wxPyVScrolledWindow
, wxVScrolledWindow
);
2930 IMP_PYCALLBACK_COORD_SIZET_constpure(wxPyVScrolledWindow
, wxVScrolledWindow
, OnGetLineHeight
);
2931 IMP_PYCALLBACK_VOID_SIZETSIZET_const(wxPyVScrolledWindow
, wxVScrolledWindow
, OnGetLinesHint
);
2932 IMP_PYCALLBACK_COORD_const (wxPyVScrolledWindow
, wxVScrolledWindow
, EstimateTotalHeight
);
2936 SWIG_AsVal_unsigned_SS_long (PyObject
* obj
, unsigned long* val
)
2939 if (SWIG_AsVal_long(obj
, &v
) && v
< 0) {
2940 return SWIG_TypeError
;
2943 *val
= (unsigned long)v
;
2948 SWIGINTERNINLINE
int
2949 SWIG_AsVal_size_t (PyObject
* obj
, size_t *val
)
2952 int res
= SWIG_AsVal_unsigned_SS_long (obj
, val
? &v
: 0);
2953 if (SWIG_IsOK(res
) && val
) *val
= static_cast< size_t >(v
);
2958 SWIGINTERNINLINE PyObject
*
2959 SWIG_From_unsigned_SS_long (unsigned long value
)
2961 return (value
> LONG_MAX
) ?
2962 PyLong_FromUnsignedLong(value
) : PyInt_FromLong(static_cast< long >(value
));
2966 SWIGINTERNINLINE PyObject
*
2967 SWIG_From_size_t (size_t value
)
2969 return SWIG_From_unsigned_SS_long (static_cast< unsigned long >(value
));
2973 #include <wx/vlbox.h>
2975 static const wxString
wxPyVListBoxNameStr(wxVListBoxNameStr
);
2977 class wxPyVListBox
: public wxVListBox
2979 DECLARE_ABSTRACT_CLASS(wxPyVListBox
)
2981 wxPyVListBox() : wxVListBox() {}
2983 wxPyVListBox(wxWindow
*parent
,
2984 wxWindowID id
= wxID_ANY
,
2985 const wxPoint
& pos
= wxDefaultPosition
,
2986 const wxSize
& size
= wxDefaultSize
,
2988 const wxString
& name
= wxPyVListBoxNameStr
)
2989 : wxVListBox(parent
, id
, pos
, size
, style
, name
)
2992 // Overridable virtuals
2994 // the derived class must implement this function to actually draw the item
2995 // with the given index on the provided DC
2996 // virtual void OnDrawItem(wxDC& dc, const wxRect& rect, size_t n) const = 0;
2997 DEC_PYCALLBACK__DCRECTSIZET_constpure(OnDrawItem
);
3000 // the derived class must implement this method to return the height of the
3002 // virtual wxCoord OnMeasureItem(size_t n) const = 0;
3003 DEC_PYCALLBACK_COORD_SIZET_constpure(OnMeasureItem
);
3006 // this method may be used to draw separators between the lines; note that
3007 // the rectangle may be modified, typically to deflate it a bit before
3008 // passing to OnDrawItem()
3010 // the base class version doesn't do anything
3011 // virtual void OnDrawSeparator(wxDC& dc, wxRect& rect, size_t n) const;
3012 DEC_PYCALLBACK__DCRECTSIZET2_const(OnDrawSeparator
);
3015 // this method is used to draw the items background and, maybe, a border
3018 // the base class version implements a reasonable default behaviour which
3019 // consists in drawing the selected item with the standard background
3020 // colour and drawing a border around the item if it is either selected or
3022 // virtual void OnDrawBackground(wxDC& dc, const wxRect& rect, size_t n) const;
3023 DEC_PYCALLBACK__DCRECTSIZET_const(OnDrawBackground
);
3029 IMPLEMENT_ABSTRACT_CLASS(wxPyVListBox
, wxVListBox
);
3031 IMP_PYCALLBACK__DCRECTSIZET_constpure(wxPyVListBox
, wxVListBox
, OnDrawItem
);
3032 IMP_PYCALLBACK_COORD_SIZET_constpure (wxPyVListBox
, wxVListBox
, OnMeasureItem
);
3033 IMP_PYCALLBACK__DCRECTSIZET2_const (wxPyVListBox
, wxVListBox
, OnDrawSeparator
);
3034 IMP_PYCALLBACK__DCRECTSIZET_const (wxPyVListBox
, wxVListBox
, OnDrawBackground
);
3037 SWIGINTERN PyObject
*wxPyVListBox_GetFirstSelected(wxPyVListBox
*self
){
3038 unsigned long cookie
= 0;
3039 int selected
= self
->GetFirstSelected(cookie
);
3040 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3041 PyObject
* tup
= PyTuple_New(2);
3042 PyTuple_SET_ITEM(tup
, 0, PyInt_FromLong(selected
));
3043 PyTuple_SET_ITEM(tup
, 1, PyInt_FromLong(cookie
));
3044 wxPyEndBlockThreads(blocked
);
3047 SWIGINTERN PyObject
*wxPyVListBox_GetNextSelected(wxPyVListBox
*self
,unsigned long cookie
){
3048 int selected
= self
->GetNextSelected(cookie
);
3049 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3050 PyObject
* tup
= PyTuple_New(2);
3051 PyTuple_SET_ITEM(tup
, 0, PyInt_FromLong(selected
));
3052 PyTuple_SET_ITEM(tup
, 1, PyInt_FromLong(cookie
));
3053 wxPyEndBlockThreads(blocked
);
3057 #include <wx/htmllbox.h>
3060 class wxPyHtmlListBox
: public wxHtmlListBox
3062 DECLARE_ABSTRACT_CLASS(wxPyHtmlListBox
)
3064 wxPyHtmlListBox() : wxHtmlListBox() {}
3066 wxPyHtmlListBox(wxWindow
*parent
,
3067 wxWindowID id
= wxID_ANY
,
3068 const wxPoint
& pos
= wxDefaultPosition
,
3069 const wxSize
& size
= wxDefaultSize
,
3071 const wxString
& name
= wxPyVListBoxNameStr
)
3072 : wxHtmlListBox(parent
, id
, pos
, size
, style
, name
)
3075 // Overridable virtuals
3077 // this method must be implemented in the derived class and should return
3078 // the body (i.e. without <html>) of the HTML for the given item
3079 DEC_PYCALLBACK_STRING_SIZET_pure(OnGetItem
);
3081 // this function may be overridden to decorate HTML returned by OnGetItem()
3082 DEC_PYCALLBACK_STRING_SIZET(OnGetItemMarkup
);
3084 // These are from wxVListBox
3085 DEC_PYCALLBACK__DCRECTSIZET2_const(OnDrawSeparator
);
3086 DEC_PYCALLBACK__DCRECTSIZET_const(OnDrawBackground
);
3089 // // this method allows to customize the selection appearance: it may be used
3090 // // to specify the colour of the text which normally has the given colour
3091 // // colFg when it is inside the selection
3093 // // by default, the original colour is not used at all and all text has the
3094 // // same (default for this system) colour inside selection
3095 // virtual wxColour GetSelectedTextColour(const wxColour& colFg) const;
3097 // // this is the same as GetSelectedTextColour() but allows to customize the
3098 // // background colour -- this is even more rarely used as you can change it
3099 // // globally using SetSelectionBackground()
3100 // virtual wxColour GetSelectedTextBgColour(const wxColour& colBg) const;
3107 IMPLEMENT_ABSTRACT_CLASS(wxPyHtmlListBox
, wxHtmlListBox
)
3109 IMP_PYCALLBACK_STRING_SIZET_pure(wxPyHtmlListBox
, wxHtmlListBox
, OnGetItem
);
3110 IMP_PYCALLBACK_STRING_SIZET (wxPyHtmlListBox
, wxHtmlListBox
, OnGetItemMarkup
);
3111 IMP_PYCALLBACK__DCRECTSIZET2_const (wxPyHtmlListBox
, wxHtmlListBox
, OnDrawSeparator
);
3112 IMP_PYCALLBACK__DCRECTSIZET_const (wxPyHtmlListBox
, wxHtmlListBox
, OnDrawBackground
);
3118 #ifndef wxHAS_TASK_BAR_ICON
3119 // implement dummy classes for platforms that don't have it
3121 class wxTaskBarIcon
: public wxEvtHandler
3124 wxTaskBarIcon() { wxPyRaiseNotImplemented(); }
3128 class wxTaskBarIconEvent
: public wxEvent
3131 wxTaskBarIconEvent(wxEventType
, wxTaskBarIcon
*)
3132 { wxPyRaiseNotImplemented(); }
3133 virtual wxEvent
* Clone() const { return NULL
; }
3134 bool IsOk() const { return false; }
3135 bool IsIconInstalled() const { return false; }
3136 bool SetIcon(const wxIcon
& icon
, const wxString
& tooltip
= wxPyEmptyString
) { return false; }
3137 bool RemoveIcon() { return false; }
3138 bool PopupMenu(wxMenu
*menu
) { return false; }
3142 wxEVT_TASKBAR_MOVE
= 0,
3143 wxEVT_TASKBAR_LEFT_DOWN
= 0,
3144 wxEVT_TASKBAR_LEFT_UP
= 0,
3145 wxEVT_TASKBAR_RIGHT_DOWN
= 0,
3146 wxEVT_TASKBAR_RIGHT_UP
= 0,
3147 wxEVT_TASKBAR_LEFT_DCLICK
= 0,
3148 wxEVT_TASKBAR_RIGHT_DCLICK
= 0,
3153 // Otherwise make a class that can virtualize CreatePopupMenu
3154 class wxPyTaskBarIcon
: public wxTaskBarIcon
3156 DECLARE_ABSTRACT_CLASS(wxPyTaskBarIcon
)
3158 wxPyTaskBarIcon() : wxTaskBarIcon()
3161 wxMenu
* CreatePopupMenu() {
3162 wxMenu
*rval
= NULL
;
3164 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3165 if ((found
= wxPyCBH_findCallback(m_myInst
, "CreatePopupMenu"))) {
3168 ro
= wxPyCBH_callCallbackObj(m_myInst
, Py_BuildValue("()"));
3170 if (wxPyConvertSwigPtr(ro
, (void **)&ptr
, wxT("wxMenu")))
3175 wxPyEndBlockThreads(blocked
);
3177 rval
= wxTaskBarIcon::CreatePopupMenu();
3184 IMPLEMENT_ABSTRACT_CLASS(wxPyTaskBarIcon
, wxTaskBarIcon
);
3188 SWIGINTERN
void wxPyTaskBarIcon_Destroy(wxPyTaskBarIcon
*self
){
3192 static const wxString
wxPyFileSelectorPromptStr(wxFileSelectorPromptStr
);
3193 static const wxString
wxPyDirSelectorPromptStr(wxDirSelectorPromptStr
);
3194 static const wxString
wxPyDirDialogNameStr(wxDirDialogNameStr
);
3195 static const wxString
wxPyFileSelectorDefaultWildcardStr(wxFileSelectorDefaultWildcardStr
);
3196 static const wxString
wxPyGetTextFromUserPromptStr(wxGetTextFromUserPromptStr
);
3197 static const wxString
wxPyMessageBoxCaptionStr(wxMessageBoxCaptionStr
);
3198 SWIGINTERN PyObject
*wxFileDialog_GetFilenames(wxFileDialog
*self
){
3200 self
->GetFilenames(arr
);
3201 return wxArrayString2PyList_helper(arr
);
3203 SWIGINTERN PyObject
*wxFileDialog_GetPaths(wxFileDialog
*self
){
3205 self
->GetPaths(arr
);
3206 return wxArrayString2PyList_helper(arr
);
3208 SWIGINTERN PyObject
*wxMultiChoiceDialog_GetSelections(wxMultiChoiceDialog
*self
){
3209 return wxArrayInt2PyList_helper(self
->GetSelections());
3211 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
){
3212 return new wxSingleChoiceDialog(parent
, message
, caption
,
3213 choices
, choices_array
, NULL
, style
, pos
);
3215 static const wxString
wxPyGetPasswordFromUserPromptStr(wxGetPasswordFromUserPromptStr
);
3219 // C++ version of Python aware wxWindow
3220 class wxPyWindow
: public wxWindow
3222 DECLARE_DYNAMIC_CLASS(wxPyWindow
)
3224 wxPyWindow() : wxWindow() {}
3225 wxPyWindow(wxWindow
* parent
, const wxWindowID id
,
3226 const wxPoint
& pos
= wxDefaultPosition
,
3227 const wxSize
& size
= wxDefaultSize
,
3229 const wxString
& name
= wxPyPanelNameStr
)
3230 : wxWindow(parent
, id
, pos
, size
, style
, name
) {}
3232 void SetBestSize(const wxSize
& size
) { wxWindow::SetBestSize(size
); }
3234 bool DoEraseBackground(wxDC
* dc
) {
3236 return wxWindow::DoEraseBackground(dc
->GetHDC());
3238 dc
->SetBackground(wxBrush(GetBackgroundColour()));
3244 DEC_PYCALLBACK_VOID_INT4(DoMoveWindow
);
3245 DEC_PYCALLBACK_VOID_INT5(DoSetSize
);
3246 DEC_PYCALLBACK_VOID_INTINT(DoSetClientSize
);
3247 DEC_PYCALLBACK_VOID_INTINT(DoSetVirtualSize
);
3249 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetSize
);
3250 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetClientSize
);
3251 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetPosition
);
3253 DEC_PYCALLBACK_SIZE_const(DoGetVirtualSize
);
3254 DEC_PYCALLBACK_SIZE_const(DoGetBestSize
);
3256 DEC_PYCALLBACK__(InitDialog
);
3257 DEC_PYCALLBACK_BOOL_(TransferDataFromWindow
);
3258 DEC_PYCALLBACK_BOOL_(TransferDataToWindow
);
3259 DEC_PYCALLBACK_BOOL_(Validate
);
3261 DEC_PYCALLBACK_BOOL_const(AcceptsFocus
);
3262 DEC_PYCALLBACK_BOOL_const(AcceptsFocusFromKeyboard
);
3263 DEC_PYCALLBACK_SIZE_const(GetMaxSize
);
3265 DEC_PYCALLBACK_VOID_WXWINBASE(AddChild
);
3266 DEC_PYCALLBACK_VOID_WXWINBASE(RemoveChild
);
3268 DEC_PYCALLBACK_BOOL_const(ShouldInheritColours
);
3269 DEC_PYCALLBACK_VIZATTR_(GetDefaultAttributes
);
3271 DEC_PYCALLBACK_BOOL_(HasTransparentBackground
);
3273 DEC_PYCALLBACK_VOID_(OnInternalIdle
);
3278 IMPLEMENT_DYNAMIC_CLASS(wxPyWindow
, wxWindow
);
3280 IMP_PYCALLBACK_VOID_INT4(wxPyWindow
, wxWindow
, DoMoveWindow
);
3281 IMP_PYCALLBACK_VOID_INT5(wxPyWindow
, wxWindow
, DoSetSize
);
3282 IMP_PYCALLBACK_VOID_INTINT(wxPyWindow
, wxWindow
, DoSetClientSize
);
3283 IMP_PYCALLBACK_VOID_INTINT(wxPyWindow
, wxWindow
, DoSetVirtualSize
);
3285 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyWindow
, wxWindow
, DoGetSize
);
3286 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyWindow
, wxWindow
, DoGetClientSize
);
3287 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyWindow
, wxWindow
, DoGetPosition
);
3289 IMP_PYCALLBACK_SIZE_const(wxPyWindow
, wxWindow
, DoGetVirtualSize
);
3290 IMP_PYCALLBACK_SIZE_const(wxPyWindow
, wxWindow
, DoGetBestSize
);
3292 IMP_PYCALLBACK__(wxPyWindow
, wxWindow
, InitDialog
);
3293 IMP_PYCALLBACK_BOOL_(wxPyWindow
, wxWindow
, TransferDataFromWindow
);
3294 IMP_PYCALLBACK_BOOL_(wxPyWindow
, wxWindow
, TransferDataToWindow
);
3295 IMP_PYCALLBACK_BOOL_(wxPyWindow
, wxWindow
, Validate
);
3297 IMP_PYCALLBACK_BOOL_const(wxPyWindow
, wxWindow
, AcceptsFocus
);
3298 IMP_PYCALLBACK_BOOL_const(wxPyWindow
, wxWindow
, AcceptsFocusFromKeyboard
);
3299 IMP_PYCALLBACK_SIZE_const(wxPyWindow
, wxWindow
, GetMaxSize
);
3301 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyWindow
, wxWindow
, AddChild
);
3302 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyWindow
, wxWindow
, RemoveChild
);
3304 IMP_PYCALLBACK_BOOL_const(wxPyWindow
, wxWindow
, ShouldInheritColours
);
3305 IMP_PYCALLBACK_VIZATTR_(wxPyWindow
, wxWindow
, GetDefaultAttributes
);
3307 IMP_PYCALLBACK_BOOL_(wxPyWindow
, wxWindow
, HasTransparentBackground
);
3309 IMP_PYCALLBACK_VOID_(wxPyWindow
, wxWindow
, OnInternalIdle
);
3311 // C++ version of Python aware wxPanel
3312 class wxPyPanel
: public wxPanel
3314 DECLARE_DYNAMIC_CLASS(wxPyPanel
)
3316 wxPyPanel() : wxPanel() {}
3317 wxPyPanel(wxWindow
* parent
, const wxWindowID id
,
3318 const wxPoint
& pos
= wxDefaultPosition
,
3319 const wxSize
& size
= wxDefaultSize
,
3321 const wxString
& name
= wxPyPanelNameStr
)
3322 : wxPanel(parent
, id
, pos
, size
, style
, name
) {}
3324 void SetBestSize(const wxSize
& size
) { wxPanel::SetBestSize(size
); }
3325 bool DoEraseBackground(wxDC
* dc
) {
3327 return wxWindow::DoEraseBackground(dc
->GetHDC());
3329 dc
->SetBackground(wxBrush(GetBackgroundColour()));
3336 DEC_PYCALLBACK_VOID_INT4(DoMoveWindow
);
3337 DEC_PYCALLBACK_VOID_INT5(DoSetSize
);
3338 DEC_PYCALLBACK_VOID_INTINT(DoSetClientSize
);
3339 DEC_PYCALLBACK_VOID_INTINT(DoSetVirtualSize
);
3341 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetSize
);
3342 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetClientSize
);
3343 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetPosition
);
3345 DEC_PYCALLBACK_SIZE_const(DoGetVirtualSize
);
3346 DEC_PYCALLBACK_SIZE_const(DoGetBestSize
);
3348 DEC_PYCALLBACK__(InitDialog
);
3349 DEC_PYCALLBACK_BOOL_(TransferDataFromWindow
);
3350 DEC_PYCALLBACK_BOOL_(TransferDataToWindow
);
3351 DEC_PYCALLBACK_BOOL_(Validate
);
3353 DEC_PYCALLBACK_BOOL_const(AcceptsFocus
);
3354 DEC_PYCALLBACK_BOOL_const(AcceptsFocusFromKeyboard
);
3355 DEC_PYCALLBACK_SIZE_const(GetMaxSize
);
3357 DEC_PYCALLBACK_VOID_WXWINBASE(AddChild
);
3358 DEC_PYCALLBACK_VOID_WXWINBASE(RemoveChild
);
3360 DEC_PYCALLBACK_BOOL_const(ShouldInheritColours
);
3361 DEC_PYCALLBACK_VIZATTR_(GetDefaultAttributes
);
3363 DEC_PYCALLBACK_BOOL_(HasTransparentBackground
);
3365 DEC_PYCALLBACK_VOID_(OnInternalIdle
);
3370 IMPLEMENT_DYNAMIC_CLASS(wxPyPanel
, wxPanel
);
3372 IMP_PYCALLBACK_VOID_INT4(wxPyPanel
, wxPanel
, DoMoveWindow
);
3373 IMP_PYCALLBACK_VOID_INT5(wxPyPanel
, wxPanel
, DoSetSize
);
3374 IMP_PYCALLBACK_VOID_INTINT(wxPyPanel
, wxPanel
, DoSetClientSize
);
3375 IMP_PYCALLBACK_VOID_INTINT(wxPyPanel
, wxPanel
, DoSetVirtualSize
);
3377 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyPanel
, wxPanel
, DoGetSize
);
3378 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyPanel
, wxPanel
, DoGetClientSize
);
3379 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyPanel
, wxPanel
, DoGetPosition
);
3381 IMP_PYCALLBACK_SIZE_const(wxPyPanel
, wxPanel
, DoGetVirtualSize
);
3382 IMP_PYCALLBACK_SIZE_const(wxPyPanel
, wxPanel
, DoGetBestSize
);
3384 IMP_PYCALLBACK__(wxPyPanel
, wxPanel
, InitDialog
);
3385 IMP_PYCALLBACK_BOOL_(wxPyPanel
, wxPanel
, TransferDataFromWindow
);
3386 IMP_PYCALLBACK_BOOL_(wxPyPanel
, wxPanel
, TransferDataToWindow
);
3387 IMP_PYCALLBACK_BOOL_(wxPyPanel
, wxPanel
, Validate
);
3389 IMP_PYCALLBACK_BOOL_const(wxPyPanel
, wxPanel
, AcceptsFocus
);
3390 IMP_PYCALLBACK_BOOL_const(wxPyPanel
, wxPanel
, AcceptsFocusFromKeyboard
);
3391 IMP_PYCALLBACK_SIZE_const(wxPyPanel
, wxPanel
, GetMaxSize
);
3393 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyPanel
, wxPanel
, AddChild
);
3394 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyPanel
, wxPanel
, RemoveChild
);
3396 IMP_PYCALLBACK_BOOL_const(wxPyPanel
, wxPanel
, ShouldInheritColours
);
3397 IMP_PYCALLBACK_VIZATTR_(wxPyPanel
, wxPanel
, GetDefaultAttributes
);
3399 IMP_PYCALLBACK_BOOL_(wxPyPanel
, wxPanel
, HasTransparentBackground
);
3401 IMP_PYCALLBACK_VOID_(wxPyPanel
, wxPanel
, OnInternalIdle
);
3403 // C++ version of Python aware wxScrolledWindow
3404 class wxPyScrolledWindow
: public wxScrolledWindow
3406 DECLARE_DYNAMIC_CLASS(wxPyScrolledWindow
)
3408 wxPyScrolledWindow() : wxScrolledWindow() {}
3409 wxPyScrolledWindow(wxWindow
* parent
, const wxWindowID id
,
3410 const wxPoint
& pos
= wxDefaultPosition
,
3411 const wxSize
& size
= wxDefaultSize
,
3413 const wxString
& name
= wxPyPanelNameStr
)
3414 : wxScrolledWindow(parent
, id
, pos
, size
, style
, name
) {}
3416 void SetBestSize(const wxSize
& size
) { wxScrolledWindow::SetBestSize(size
); }
3417 bool DoEraseBackground(wxDC
* dc
) {
3419 return wxWindow::DoEraseBackground(dc
->GetHDC());
3421 dc
->SetBackground(wxBrush(GetBackgroundColour()));
3427 DEC_PYCALLBACK_VOID_INT4(DoMoveWindow
);
3428 DEC_PYCALLBACK_VOID_INT5(DoSetSize
);
3429 DEC_PYCALLBACK_VOID_INTINT(DoSetClientSize
);
3430 DEC_PYCALLBACK_VOID_INTINT(DoSetVirtualSize
);
3432 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetSize
);
3433 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetClientSize
);
3434 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetPosition
);
3436 DEC_PYCALLBACK_SIZE_const(DoGetVirtualSize
);
3437 DEC_PYCALLBACK_SIZE_const(DoGetBestSize
);
3439 DEC_PYCALLBACK__(InitDialog
);
3440 DEC_PYCALLBACK_BOOL_(TransferDataFromWindow
);
3441 DEC_PYCALLBACK_BOOL_(TransferDataToWindow
);
3442 DEC_PYCALLBACK_BOOL_(Validate
);
3444 DEC_PYCALLBACK_BOOL_const(AcceptsFocus
);
3445 DEC_PYCALLBACK_BOOL_const(AcceptsFocusFromKeyboard
);
3446 DEC_PYCALLBACK_SIZE_const(GetMaxSize
);
3448 DEC_PYCALLBACK_VOID_WXWINBASE(AddChild
);
3449 DEC_PYCALLBACK_VOID_WXWINBASE(RemoveChild
);
3451 DEC_PYCALLBACK_BOOL_const(ShouldInheritColours
);
3452 DEC_PYCALLBACK_VIZATTR_(GetDefaultAttributes
);
3454 DEC_PYCALLBACK_BOOL_(HasTransparentBackground
);
3456 DEC_PYCALLBACK_VOID_(OnInternalIdle
);
3461 IMPLEMENT_DYNAMIC_CLASS(wxPyScrolledWindow
, wxScrolledWindow
);
3463 IMP_PYCALLBACK_VOID_INT4(wxPyScrolledWindow
, wxScrolledWindow
, DoMoveWindow
);
3464 IMP_PYCALLBACK_VOID_INT5(wxPyScrolledWindow
, wxScrolledWindow
, DoSetSize
);
3465 IMP_PYCALLBACK_VOID_INTINT(wxPyScrolledWindow
, wxScrolledWindow
, DoSetClientSize
);
3466 IMP_PYCALLBACK_VOID_INTINT(wxPyScrolledWindow
, wxScrolledWindow
, DoSetVirtualSize
);
3468 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyScrolledWindow
, wxScrolledWindow
, DoGetSize
);
3469 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyScrolledWindow
, wxScrolledWindow
, DoGetClientSize
);
3470 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyScrolledWindow
, wxScrolledWindow
, DoGetPosition
);
3472 IMP_PYCALLBACK_SIZE_const(wxPyScrolledWindow
, wxScrolledWindow
, DoGetVirtualSize
);
3473 IMP_PYCALLBACK_SIZE_const(wxPyScrolledWindow
, wxScrolledWindow
, DoGetBestSize
);
3475 IMP_PYCALLBACK__(wxPyScrolledWindow
, wxScrolledWindow
, InitDialog
);
3476 IMP_PYCALLBACK_BOOL_(wxPyScrolledWindow
, wxScrolledWindow
, TransferDataFromWindow
);
3477 IMP_PYCALLBACK_BOOL_(wxPyScrolledWindow
, wxScrolledWindow
, TransferDataToWindow
);
3478 IMP_PYCALLBACK_BOOL_(wxPyScrolledWindow
, wxScrolledWindow
, Validate
);
3480 IMP_PYCALLBACK_BOOL_const(wxPyScrolledWindow
, wxScrolledWindow
, AcceptsFocus
);
3481 IMP_PYCALLBACK_BOOL_const(wxPyScrolledWindow
, wxScrolledWindow
, AcceptsFocusFromKeyboard
);
3482 IMP_PYCALLBACK_SIZE_const(wxPyScrolledWindow
, wxScrolledWindow
, GetMaxSize
);
3484 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyScrolledWindow
, wxScrolledWindow
, AddChild
);
3485 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyScrolledWindow
, wxScrolledWindow
, RemoveChild
);
3487 IMP_PYCALLBACK_BOOL_const(wxPyScrolledWindow
, wxScrolledWindow
, ShouldInheritColours
);
3488 IMP_PYCALLBACK_VIZATTR_(wxPyScrolledWindow
, wxScrolledWindow
, GetDefaultAttributes
);
3490 IMP_PYCALLBACK_BOOL_(wxPyScrolledWindow
, wxScrolledWindow
, HasTransparentBackground
);
3492 IMP_PYCALLBACK_VOID_(wxPyScrolledWindow
, wxScrolledWindow
, OnInternalIdle
);
3495 #include "wx/wxPython/printfw.h"
3498 static const wxString
wxPyPrintoutTitleStr(wxT("Printout"));
3499 static const wxString
wxPyPreviewCanvasNameStr(wxT("previewcanvas"));
3500 SWIGINTERN PyObject
*wxPrintData_GetPrivData(wxPrintData
*self
){
3502 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3503 data
= PyString_FromStringAndSize(self
->GetPrivData(),
3504 self
->GetPrivDataLen());
3505 wxPyEndBlockThreads(blocked
);
3508 SWIGINTERN
void wxPrintData_SetPrivData(wxPrintData
*self
,PyObject
*data
){
3509 if (! PyString_Check(data
)) {
3510 wxPyBLOCK_THREADS(PyErr_SetString(PyExc_TypeError
,
3511 "Expected string object"));
3515 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3516 self
->SetPrivData(PyString_AS_STRING(data
), PyString_GET_SIZE(data
));
3517 wxPyEndBlockThreads(blocked
);
3521 IMPLEMENT_ABSTRACT_CLASS(wxPyPrintout
, wxPrintout
);
3523 // Since this one would be tough and ugly to do with the Macros...
3524 void wxPyPrintout::GetPageInfo(int *minPage
, int *maxPage
, int *pageFrom
, int *pageTo
) {
3525 bool hadErr
= false;
3528 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3529 if ((found
= wxPyCBH_findCallback(m_myInst
, "GetPageInfo"))) {
3530 PyObject
* result
= wxPyCBH_callCallbackObj(m_myInst
, Py_BuildValue("()"));
3531 if (result
&& PyTuple_Check(result
) && PyTuple_Size(result
) == 4) {
3534 val
= PyTuple_GetItem(result
, 0);
3535 if (PyInt_Check(val
)) *minPage
= PyInt_AsLong(val
);
3538 val
= PyTuple_GetItem(result
, 1);
3539 if (PyInt_Check(val
)) *maxPage
= PyInt_AsLong(val
);
3542 val
= PyTuple_GetItem(result
, 2);
3543 if (PyInt_Check(val
)) *pageFrom
= PyInt_AsLong(val
);
3546 val
= PyTuple_GetItem(result
, 3);
3547 if (PyInt_Check(val
)) *pageTo
= PyInt_AsLong(val
);
3554 PyErr_SetString(PyExc_TypeError
, "GetPageInfo should return a tuple of 4 integers.");
3559 wxPyEndBlockThreads(blocked
);
3561 wxPrintout::GetPageInfo(minPage
, maxPage
, pageFrom
, pageTo
);
3566 IMP_PYCALLBACK_BOOL_INTINT(wxPyPrintout
, wxPrintout
, OnBeginDocument
);
3567 IMP_PYCALLBACK__(wxPyPrintout
, wxPrintout
, OnEndDocument
);
3568 IMP_PYCALLBACK__(wxPyPrintout
, wxPrintout
, OnBeginPrinting
);
3569 IMP_PYCALLBACK__(wxPyPrintout
, wxPrintout
, OnEndPrinting
);
3570 IMP_PYCALLBACK__(wxPyPrintout
, wxPrintout
, OnPreparePrinting
);
3571 IMP_PYCALLBACK_BOOL_INT_pure(wxPyPrintout
, wxPrintout
, OnPrintPage
);
3572 IMP_PYCALLBACK_BOOL_INT(wxPyPrintout
, wxPrintout
, HasPage
);
3578 #define DEC_PYCALLBACK_BOOL_PREWINDC(CBNAME) \
3579 bool CBNAME(wxPreviewCanvas* a, wxDC& b)
3582 #define IMP_PYCALLBACK_BOOL_PREWINDC(CLASS, PCLASS, CBNAME) \
3583 bool CLASS::CBNAME(wxPreviewCanvas* a, wxDC& b) { \
3586 wxPyBlock_t blocked = wxPyBeginBlockThreads(); \
3587 if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) { \
3588 PyObject* win = wxPyMake_wxObject(a,false); \
3589 PyObject* dc = wxPyMake_wxObject(&b,false); \
3590 rval = wxPyCBH_callCallback(m_myInst, Py_BuildValue("(OO)", win, dc)); \
3594 wxPyEndBlockThreads(blocked); \
3596 rval = PCLASS::CBNAME(a, b); \
3603 class wxPyPrintPreview
: public wxPrintPreview
3605 DECLARE_CLASS(wxPyPrintPreview
)
3607 wxPyPrintPreview(wxPyPrintout
* printout
,
3608 wxPyPrintout
* printoutForPrinting
,
3609 wxPrintDialogData
* data
=NULL
)
3610 : wxPrintPreview(printout
, printoutForPrinting
, data
)
3612 wxPyPrintPreview(wxPyPrintout
* printout
,
3613 wxPyPrintout
* printoutForPrinting
,
3615 : wxPrintPreview(printout
, printoutForPrinting
, data
)
3618 DEC_PYCALLBACK_BOOL_INT(SetCurrentPage
);
3619 DEC_PYCALLBACK_BOOL_PREWINDC(PaintPage
);
3620 DEC_PYCALLBACK_BOOL_PREWINDC(DrawBlankPage
);
3621 DEC_PYCALLBACK_BOOL_INT(RenderPage
);
3622 DEC_PYCALLBACK_VOID_INT(SetZoom
);
3623 DEC_PYCALLBACK_BOOL_BOOL(Print
);
3624 DEC_PYCALLBACK_VOID_(DetermineScaling
);
3629 // Stupid renamed classes... Fix this in 2.5...
3630 #if defined(__WXMSW__)
3631 IMPLEMENT_CLASS( wxPyPrintPreview
, wxWindowsPrintPreview
);
3632 #elif defined(__WXMAC__)
3633 IMPLEMENT_CLASS( wxPyPrintPreview
, wxMacPrintPreview
);
3635 IMPLEMENT_CLASS( wxPyPrintPreview
, wxPostScriptPrintPreview
);
3638 IMP_PYCALLBACK_BOOL_INT (wxPyPrintPreview
, wxPrintPreview
, SetCurrentPage
);
3639 IMP_PYCALLBACK_BOOL_PREWINDC(wxPyPrintPreview
, wxPrintPreview
, PaintPage
);
3640 IMP_PYCALLBACK_BOOL_PREWINDC(wxPyPrintPreview
, wxPrintPreview
, DrawBlankPage
);
3641 IMP_PYCALLBACK_BOOL_INT (wxPyPrintPreview
, wxPrintPreview
, RenderPage
);
3642 IMP_PYCALLBACK_VOID_INT (wxPyPrintPreview
, wxPrintPreview
, SetZoom
);
3643 IMP_PYCALLBACK_BOOL_BOOL (wxPyPrintPreview
, wxPrintPreview
, Print
);
3644 IMP_PYCALLBACK_VOID_ (wxPyPrintPreview
, wxPrintPreview
, DetermineScaling
);
3647 class wxPyPreviewFrame
: public wxPreviewFrame
3649 DECLARE_CLASS(wxPyPreviewFrame
)
3651 wxPyPreviewFrame(wxPrintPreview
* preview
, wxFrame
* parent
,
3652 const wxString
& title
,
3653 const wxPoint
& pos
= wxDefaultPosition
,
3654 const wxSize
& size
= wxDefaultSize
,
3655 long style
= wxDEFAULT_FRAME_STYLE
,
3656 const wxString
& name
= wxPyFrameNameStr
)
3657 : wxPreviewFrame(preview
, parent
, title
, pos
, size
, style
, name
)
3660 void SetPreviewCanvas(wxPreviewCanvas
* canvas
) { m_previewCanvas
= canvas
; }
3661 void SetControlBar(wxPreviewControlBar
* bar
) { m_controlBar
= bar
; }
3663 DEC_PYCALLBACK_VOID_(Initialize
);
3664 DEC_PYCALLBACK_VOID_(CreateCanvas
);
3665 DEC_PYCALLBACK_VOID_(CreateControlBar
);
3670 IMPLEMENT_CLASS(wxPyPreviewFrame
, wxPreviewFrame
);
3672 IMP_PYCALLBACK_VOID_(wxPyPreviewFrame
, wxPreviewFrame
, Initialize
);
3673 IMP_PYCALLBACK_VOID_(wxPyPreviewFrame
, wxPreviewFrame
, CreateCanvas
);
3674 IMP_PYCALLBACK_VOID_(wxPyPreviewFrame
, wxPreviewFrame
, CreateControlBar
);
3677 class wxPyPreviewControlBar
: public wxPreviewControlBar
3679 DECLARE_CLASS(wxPyPreviewControlBar
)
3681 wxPyPreviewControlBar(wxPrintPreview
*preview
,
3684 const wxPoint
& pos
= wxDefaultPosition
,
3685 const wxSize
& size
= wxDefaultSize
,
3687 const wxString
& name
= wxPyPanelNameStr
)
3688 : wxPreviewControlBar(preview
, buttons
, parent
, pos
, size
, style
, name
)
3691 void SetPrintPreview(wxPrintPreview
* preview
) { m_printPreview
= preview
; }
3693 DEC_PYCALLBACK_VOID_(CreateButtons
);
3694 DEC_PYCALLBACK_VOID_INT(SetZoomControl
);
3699 IMPLEMENT_CLASS(wxPyPreviewControlBar
, wxPreviewControlBar
);
3700 IMP_PYCALLBACK_VOID_(wxPyPreviewControlBar
, wxPreviewControlBar
, CreateButtons
);
3701 IMP_PYCALLBACK_VOID_INT(wxPyPreviewControlBar
, wxPreviewControlBar
, SetZoomControl
);
3706 SWIGINTERN PyObject
*_wrap_new_Panel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
3707 PyObject
*resultobj
= 0;
3708 wxWindow
*arg1
= (wxWindow
*) 0 ;
3709 int arg2
= (int) (int)-1 ;
3710 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
3711 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
3712 wxSize
const &arg4_defvalue
= wxDefaultSize
;
3713 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
3714 long arg5
= (long) wxTAB_TRAVERSAL
|wxNO_BORDER
;
3715 wxString
const &arg6_defvalue
= wxPyPanelNameStr
;
3716 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
3717 wxPanel
*result
= 0 ;
3726 bool temp6
= false ;
3727 PyObject
* obj0
= 0 ;
3728 PyObject
* obj1
= 0 ;
3729 PyObject
* obj2
= 0 ;
3730 PyObject
* obj3
= 0 ;
3731 PyObject
* obj4
= 0 ;
3732 PyObject
* obj5
= 0 ;
3733 char * kwnames
[] = {
3734 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
3737 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_Panel",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
3738 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
3739 if (!SWIG_IsOK(res1
)) {
3740 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_Panel" "', expected argument " "1"" of type '" "wxWindow *""'");
3742 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
3744 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
3745 if (!SWIG_IsOK(ecode2
)) {
3746 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Panel" "', expected argument " "2"" of type '" "int""'");
3748 arg2
= static_cast< int >(val2
);
3753 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
3759 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
3763 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
3764 if (!SWIG_IsOK(ecode5
)) {
3765 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_Panel" "', expected argument " "5"" of type '" "long""'");
3767 arg5
= static_cast< long >(val5
);
3771 arg6
= wxString_in_helper(obj5
);
3772 if (arg6
== NULL
) SWIG_fail
;
3777 if (!wxPyCheckForApp()) SWIG_fail
;
3778 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3779 result
= (wxPanel
*)new wxPanel(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
3780 wxPyEndAllowThreads(__tstate
);
3781 if (PyErr_Occurred()) SWIG_fail
;
3783 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPanel
, SWIG_POINTER_NEW
| 0 );
3798 SWIGINTERN PyObject
*_wrap_new_PrePanel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3799 PyObject
*resultobj
= 0;
3800 wxPanel
*result
= 0 ;
3802 if (!SWIG_Python_UnpackTuple(args
,"new_PrePanel",0,0,0)) SWIG_fail
;
3804 if (!wxPyCheckForApp()) SWIG_fail
;
3805 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3806 result
= (wxPanel
*)new wxPanel();
3807 wxPyEndAllowThreads(__tstate
);
3808 if (PyErr_Occurred()) SWIG_fail
;
3810 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPanel
, SWIG_POINTER_OWN
| 0 );
3817 SWIGINTERN PyObject
*_wrap_Panel_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
3818 PyObject
*resultobj
= 0;
3819 wxPanel
*arg1
= (wxPanel
*) 0 ;
3820 wxWindow
*arg2
= (wxWindow
*) 0 ;
3821 int arg3
= (int) (int)-1 ;
3822 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
3823 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
3824 wxSize
const &arg5_defvalue
= wxDefaultSize
;
3825 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
3826 long arg6
= (long) wxTAB_TRAVERSAL
|wxNO_BORDER
;
3827 wxString
const &arg7_defvalue
= wxPyPanelNameStr
;
3828 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
3840 bool temp7
= false ;
3841 PyObject
* obj0
= 0 ;
3842 PyObject
* obj1
= 0 ;
3843 PyObject
* obj2
= 0 ;
3844 PyObject
* obj3
= 0 ;
3845 PyObject
* obj4
= 0 ;
3846 PyObject
* obj5
= 0 ;
3847 PyObject
* obj6
= 0 ;
3848 char * kwnames
[] = {
3849 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
3852 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:Panel_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
3853 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPanel
, 0 | 0 );
3854 if (!SWIG_IsOK(res1
)) {
3855 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Panel_Create" "', expected argument " "1"" of type '" "wxPanel *""'");
3857 arg1
= reinterpret_cast< wxPanel
* >(argp1
);
3858 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
3859 if (!SWIG_IsOK(res2
)) {
3860 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Panel_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
3862 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
3864 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
3865 if (!SWIG_IsOK(ecode3
)) {
3866 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Panel_Create" "', expected argument " "3"" of type '" "int""'");
3868 arg3
= static_cast< int >(val3
);
3873 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
3879 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
3883 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
3884 if (!SWIG_IsOK(ecode6
)) {
3885 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "Panel_Create" "', expected argument " "6"" of type '" "long""'");
3887 arg6
= static_cast< long >(val6
);
3891 arg7
= wxString_in_helper(obj6
);
3892 if (arg7
== NULL
) SWIG_fail
;
3897 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3898 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
3899 wxPyEndAllowThreads(__tstate
);
3900 if (PyErr_Occurred()) SWIG_fail
;
3903 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3919 SWIGINTERN PyObject
*_wrap_Panel_SetFocusIgnoringChildren(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3920 PyObject
*resultobj
= 0;
3921 wxPanel
*arg1
= (wxPanel
*) 0 ;
3924 PyObject
*swig_obj
[1] ;
3926 if (!args
) SWIG_fail
;
3928 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPanel
, 0 | 0 );
3929 if (!SWIG_IsOK(res1
)) {
3930 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Panel_SetFocusIgnoringChildren" "', expected argument " "1"" of type '" "wxPanel *""'");
3932 arg1
= reinterpret_cast< wxPanel
* >(argp1
);
3934 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3935 (arg1
)->SetFocusIgnoringChildren();
3936 wxPyEndAllowThreads(__tstate
);
3937 if (PyErr_Occurred()) SWIG_fail
;
3939 resultobj
= SWIG_Py_Void();
3946 SWIGINTERN PyObject
*_wrap_Panel_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
3947 PyObject
*resultobj
= 0;
3948 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
3949 SwigValueWrapper
<wxVisualAttributes
> result
;
3952 PyObject
* obj0
= 0 ;
3953 char * kwnames
[] = {
3954 (char *) "variant", NULL
3957 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Panel_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
3959 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
3960 if (!SWIG_IsOK(ecode1
)) {
3961 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "Panel_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
3963 arg1
= static_cast< wxWindowVariant
>(val1
);
3966 if (!wxPyCheckForApp()) SWIG_fail
;
3967 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3968 result
= wxPanel::GetClassDefaultAttributes(arg1
);
3969 wxPyEndAllowThreads(__tstate
);
3970 if (PyErr_Occurred()) SWIG_fail
;
3972 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
3979 SWIGINTERN PyObject
*Panel_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3981 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
3982 SWIG_TypeNewClientData(SWIGTYPE_p_wxPanel
, SWIG_NewClientData(obj
));
3983 return SWIG_Py_Void();
3986 SWIGINTERN PyObject
*Panel_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3987 return SWIG_Python_InitShadowInstance(args
);
3990 SWIGINTERN PyObject
*_wrap_new_ScrolledWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
3991 PyObject
*resultobj
= 0;
3992 wxWindow
*arg1
= (wxWindow
*) 0 ;
3993 int arg2
= (int) (int)-1 ;
3994 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
3995 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
3996 wxSize
const &arg4_defvalue
= wxDefaultSize
;
3997 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
3998 long arg5
= (long) wxHSCROLL
|wxVSCROLL
;
3999 wxString
const &arg6_defvalue
= wxPyPanelNameStr
;
4000 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
4001 wxScrolledWindow
*result
= 0 ;
4010 bool temp6
= false ;
4011 PyObject
* obj0
= 0 ;
4012 PyObject
* obj1
= 0 ;
4013 PyObject
* obj2
= 0 ;
4014 PyObject
* obj3
= 0 ;
4015 PyObject
* obj4
= 0 ;
4016 PyObject
* obj5
= 0 ;
4017 char * kwnames
[] = {
4018 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4021 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_ScrolledWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
4022 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
4023 if (!SWIG_IsOK(res1
)) {
4024 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_ScrolledWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
4026 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
4028 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
4029 if (!SWIG_IsOK(ecode2
)) {
4030 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_ScrolledWindow" "', expected argument " "2"" of type '" "int""'");
4032 arg2
= static_cast< int >(val2
);
4037 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
4043 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
4047 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
4048 if (!SWIG_IsOK(ecode5
)) {
4049 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_ScrolledWindow" "', expected argument " "5"" of type '" "long""'");
4051 arg5
= static_cast< long >(val5
);
4055 arg6
= wxString_in_helper(obj5
);
4056 if (arg6
== NULL
) SWIG_fail
;
4061 if (!wxPyCheckForApp()) SWIG_fail
;
4062 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4063 result
= (wxScrolledWindow
*)new wxScrolledWindow(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
4064 wxPyEndAllowThreads(__tstate
);
4065 if (PyErr_Occurred()) SWIG_fail
;
4067 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxScrolledWindow
, SWIG_POINTER_NEW
| 0 );
4082 SWIGINTERN PyObject
*_wrap_new_PreScrolledWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4083 PyObject
*resultobj
= 0;
4084 wxScrolledWindow
*result
= 0 ;
4086 if (!SWIG_Python_UnpackTuple(args
,"new_PreScrolledWindow",0,0,0)) SWIG_fail
;
4088 if (!wxPyCheckForApp()) SWIG_fail
;
4089 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4090 result
= (wxScrolledWindow
*)new wxScrolledWindow();
4091 wxPyEndAllowThreads(__tstate
);
4092 if (PyErr_Occurred()) SWIG_fail
;
4094 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxScrolledWindow
, SWIG_POINTER_OWN
| 0 );
4101 SWIGINTERN PyObject
*_wrap_ScrolledWindow_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4102 PyObject
*resultobj
= 0;
4103 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
4104 wxWindow
*arg2
= (wxWindow
*) 0 ;
4105 int arg3
= (int) (int)-1 ;
4106 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
4107 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
4108 wxSize
const &arg5_defvalue
= wxDefaultSize
;
4109 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
4110 long arg6
= (long) wxHSCROLL
|wxVSCROLL
;
4111 wxString
const &arg7_defvalue
= wxPyPanelNameStr
;
4112 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
4124 bool temp7
= false ;
4125 PyObject
* obj0
= 0 ;
4126 PyObject
* obj1
= 0 ;
4127 PyObject
* obj2
= 0 ;
4128 PyObject
* obj3
= 0 ;
4129 PyObject
* obj4
= 0 ;
4130 PyObject
* obj5
= 0 ;
4131 PyObject
* obj6
= 0 ;
4132 char * kwnames
[] = {
4133 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4136 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:ScrolledWindow_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
4137 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 | 0 );
4138 if (!SWIG_IsOK(res1
)) {
4139 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_Create" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
4141 arg1
= reinterpret_cast< wxScrolledWindow
* >(argp1
);
4142 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
4143 if (!SWIG_IsOK(res2
)) {
4144 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ScrolledWindow_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
4146 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
4148 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
4149 if (!SWIG_IsOK(ecode3
)) {
4150 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ScrolledWindow_Create" "', expected argument " "3"" of type '" "int""'");
4152 arg3
= static_cast< int >(val3
);
4157 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
4163 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
4167 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
4168 if (!SWIG_IsOK(ecode6
)) {
4169 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "ScrolledWindow_Create" "', expected argument " "6"" of type '" "long""'");
4171 arg6
= static_cast< long >(val6
);
4175 arg7
= wxString_in_helper(obj6
);
4176 if (arg7
== NULL
) SWIG_fail
;
4181 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4182 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
4183 wxPyEndAllowThreads(__tstate
);
4184 if (PyErr_Occurred()) SWIG_fail
;
4187 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4203 SWIGINTERN PyObject
*_wrap_ScrolledWindow_SetScrollbars(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4204 PyObject
*resultobj
= 0;
4205 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
4210 int arg6
= (int) 0 ;
4211 int arg7
= (int) 0 ;
4212 bool arg8
= (bool) false ;
4229 PyObject
* obj0
= 0 ;
4230 PyObject
* obj1
= 0 ;
4231 PyObject
* obj2
= 0 ;
4232 PyObject
* obj3
= 0 ;
4233 PyObject
* obj4
= 0 ;
4234 PyObject
* obj5
= 0 ;
4235 PyObject
* obj6
= 0 ;
4236 PyObject
* obj7
= 0 ;
4237 char * kwnames
[] = {
4238 (char *) "self",(char *) "pixelsPerUnitX",(char *) "pixelsPerUnitY",(char *) "noUnitsX",(char *) "noUnitsY",(char *) "xPos",(char *) "yPos",(char *) "noRefresh", NULL
4241 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|OOO:ScrolledWindow_SetScrollbars",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
4242 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 | 0 );
4243 if (!SWIG_IsOK(res1
)) {
4244 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_SetScrollbars" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
4246 arg1
= reinterpret_cast< wxScrolledWindow
* >(argp1
);
4247 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
4248 if (!SWIG_IsOK(ecode2
)) {
4249 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ScrolledWindow_SetScrollbars" "', expected argument " "2"" of type '" "int""'");
4251 arg2
= static_cast< int >(val2
);
4252 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
4253 if (!SWIG_IsOK(ecode3
)) {
4254 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ScrolledWindow_SetScrollbars" "', expected argument " "3"" of type '" "int""'");
4256 arg3
= static_cast< int >(val3
);
4257 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
4258 if (!SWIG_IsOK(ecode4
)) {
4259 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "ScrolledWindow_SetScrollbars" "', expected argument " "4"" of type '" "int""'");
4261 arg4
= static_cast< int >(val4
);
4262 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
4263 if (!SWIG_IsOK(ecode5
)) {
4264 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "ScrolledWindow_SetScrollbars" "', expected argument " "5"" of type '" "int""'");
4266 arg5
= static_cast< int >(val5
);
4268 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
4269 if (!SWIG_IsOK(ecode6
)) {
4270 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "ScrolledWindow_SetScrollbars" "', expected argument " "6"" of type '" "int""'");
4272 arg6
= static_cast< int >(val6
);
4275 ecode7
= SWIG_AsVal_int(obj6
, &val7
);
4276 if (!SWIG_IsOK(ecode7
)) {
4277 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "ScrolledWindow_SetScrollbars" "', expected argument " "7"" of type '" "int""'");
4279 arg7
= static_cast< int >(val7
);
4282 ecode8
= SWIG_AsVal_bool(obj7
, &val8
);
4283 if (!SWIG_IsOK(ecode8
)) {
4284 SWIG_exception_fail(SWIG_ArgError(ecode8
), "in method '" "ScrolledWindow_SetScrollbars" "', expected argument " "8"" of type '" "bool""'");
4286 arg8
= static_cast< bool >(val8
);
4289 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4290 (arg1
)->SetScrollbars(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
,arg8
);
4291 wxPyEndAllowThreads(__tstate
);
4292 if (PyErr_Occurred()) SWIG_fail
;
4294 resultobj
= SWIG_Py_Void();
4301 SWIGINTERN PyObject
*_wrap_ScrolledWindow_Scroll(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4302 PyObject
*resultobj
= 0;
4303 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
4312 PyObject
* obj0
= 0 ;
4313 PyObject
* obj1
= 0 ;
4314 PyObject
* obj2
= 0 ;
4315 char * kwnames
[] = {
4316 (char *) "self",(char *) "x",(char *) "y", NULL
4319 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ScrolledWindow_Scroll",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
4320 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 | 0 );
4321 if (!SWIG_IsOK(res1
)) {
4322 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_Scroll" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
4324 arg1
= reinterpret_cast< wxScrolledWindow
* >(argp1
);
4325 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
4326 if (!SWIG_IsOK(ecode2
)) {
4327 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ScrolledWindow_Scroll" "', expected argument " "2"" of type '" "int""'");
4329 arg2
= static_cast< int >(val2
);
4330 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
4331 if (!SWIG_IsOK(ecode3
)) {
4332 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ScrolledWindow_Scroll" "', expected argument " "3"" of type '" "int""'");
4334 arg3
= static_cast< int >(val3
);
4336 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4337 (arg1
)->Scroll(arg2
,arg3
);
4338 wxPyEndAllowThreads(__tstate
);
4339 if (PyErr_Occurred()) SWIG_fail
;
4341 resultobj
= SWIG_Py_Void();
4348 SWIGINTERN PyObject
*_wrap_ScrolledWindow_GetScrollPageSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4349 PyObject
*resultobj
= 0;
4350 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
4357 PyObject
* obj0
= 0 ;
4358 PyObject
* obj1
= 0 ;
4359 char * kwnames
[] = {
4360 (char *) "self",(char *) "orient", NULL
4363 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScrolledWindow_GetScrollPageSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4364 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 | 0 );
4365 if (!SWIG_IsOK(res1
)) {
4366 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_GetScrollPageSize" "', expected argument " "1"" of type '" "wxScrolledWindow const *""'");
4368 arg1
= reinterpret_cast< wxScrolledWindow
* >(argp1
);
4369 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
4370 if (!SWIG_IsOK(ecode2
)) {
4371 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ScrolledWindow_GetScrollPageSize" "', expected argument " "2"" of type '" "int""'");
4373 arg2
= static_cast< int >(val2
);
4375 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4376 result
= (int)((wxScrolledWindow
const *)arg1
)->GetScrollPageSize(arg2
);
4377 wxPyEndAllowThreads(__tstate
);
4378 if (PyErr_Occurred()) SWIG_fail
;
4380 resultobj
= SWIG_From_int(static_cast< int >(result
));
4387 SWIGINTERN PyObject
*_wrap_ScrolledWindow_SetScrollPageSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4388 PyObject
*resultobj
= 0;
4389 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
4398 PyObject
* obj0
= 0 ;
4399 PyObject
* obj1
= 0 ;
4400 PyObject
* obj2
= 0 ;
4401 char * kwnames
[] = {
4402 (char *) "self",(char *) "orient",(char *) "pageSize", NULL
4405 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ScrolledWindow_SetScrollPageSize",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
4406 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 | 0 );
4407 if (!SWIG_IsOK(res1
)) {
4408 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_SetScrollPageSize" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
4410 arg1
= reinterpret_cast< wxScrolledWindow
* >(argp1
);
4411 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
4412 if (!SWIG_IsOK(ecode2
)) {
4413 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ScrolledWindow_SetScrollPageSize" "', expected argument " "2"" of type '" "int""'");
4415 arg2
= static_cast< int >(val2
);
4416 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
4417 if (!SWIG_IsOK(ecode3
)) {
4418 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ScrolledWindow_SetScrollPageSize" "', expected argument " "3"" of type '" "int""'");
4420 arg3
= static_cast< int >(val3
);
4422 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4423 (arg1
)->SetScrollPageSize(arg2
,arg3
);
4424 wxPyEndAllowThreads(__tstate
);
4425 if (PyErr_Occurred()) SWIG_fail
;
4427 resultobj
= SWIG_Py_Void();
4434 SWIGINTERN PyObject
*_wrap_ScrolledWindow_SetScrollRate(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4435 PyObject
*resultobj
= 0;
4436 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
4445 PyObject
* obj0
= 0 ;
4446 PyObject
* obj1
= 0 ;
4447 PyObject
* obj2
= 0 ;
4448 char * kwnames
[] = {
4449 (char *) "self",(char *) "xstep",(char *) "ystep", NULL
4452 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ScrolledWindow_SetScrollRate",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
4453 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 | 0 );
4454 if (!SWIG_IsOK(res1
)) {
4455 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_SetScrollRate" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
4457 arg1
= reinterpret_cast< wxScrolledWindow
* >(argp1
);
4458 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
4459 if (!SWIG_IsOK(ecode2
)) {
4460 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ScrolledWindow_SetScrollRate" "', expected argument " "2"" of type '" "int""'");
4462 arg2
= static_cast< int >(val2
);
4463 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
4464 if (!SWIG_IsOK(ecode3
)) {
4465 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ScrolledWindow_SetScrollRate" "', expected argument " "3"" of type '" "int""'");
4467 arg3
= static_cast< int >(val3
);
4469 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4470 (arg1
)->SetScrollRate(arg2
,arg3
);
4471 wxPyEndAllowThreads(__tstate
);
4472 if (PyErr_Occurred()) SWIG_fail
;
4474 resultobj
= SWIG_Py_Void();
4481 SWIGINTERN PyObject
*_wrap_ScrolledWindow_GetScrollPixelsPerUnit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4482 PyObject
*resultobj
= 0;
4483 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
4484 int *arg2
= (int *) 0 ;
4485 int *arg3
= (int *) 0 ;
4489 int res2
= SWIG_TMPOBJ
;
4491 int res3
= SWIG_TMPOBJ
;
4492 PyObject
*swig_obj
[1] ;
4496 if (!args
) SWIG_fail
;
4498 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 | 0 );
4499 if (!SWIG_IsOK(res1
)) {
4500 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_GetScrollPixelsPerUnit" "', expected argument " "1"" of type '" "wxScrolledWindow const *""'");
4502 arg1
= reinterpret_cast< wxScrolledWindow
* >(argp1
);
4504 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4505 ((wxScrolledWindow
const *)arg1
)->GetScrollPixelsPerUnit(arg2
,arg3
);
4506 wxPyEndAllowThreads(__tstate
);
4507 if (PyErr_Occurred()) SWIG_fail
;
4509 resultobj
= SWIG_Py_Void();
4510 if (SWIG_IsTmpObj(res2
)) {
4511 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
4513 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
4514 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
4516 if (SWIG_IsTmpObj(res3
)) {
4517 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
4519 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
4520 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
4528 SWIGINTERN PyObject
*_wrap_ScrolledWindow_EnableScrolling(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4529 PyObject
*resultobj
= 0;
4530 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
4539 PyObject
* obj0
= 0 ;
4540 PyObject
* obj1
= 0 ;
4541 PyObject
* obj2
= 0 ;
4542 char * kwnames
[] = {
4543 (char *) "self",(char *) "x_scrolling",(char *) "y_scrolling", NULL
4546 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ScrolledWindow_EnableScrolling",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
4547 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 | 0 );
4548 if (!SWIG_IsOK(res1
)) {
4549 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_EnableScrolling" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
4551 arg1
= reinterpret_cast< wxScrolledWindow
* >(argp1
);
4552 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
4553 if (!SWIG_IsOK(ecode2
)) {
4554 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ScrolledWindow_EnableScrolling" "', expected argument " "2"" of type '" "bool""'");
4556 arg2
= static_cast< bool >(val2
);
4557 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
4558 if (!SWIG_IsOK(ecode3
)) {
4559 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ScrolledWindow_EnableScrolling" "', expected argument " "3"" of type '" "bool""'");
4561 arg3
= static_cast< bool >(val3
);
4563 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4564 (arg1
)->EnableScrolling(arg2
,arg3
);
4565 wxPyEndAllowThreads(__tstate
);
4566 if (PyErr_Occurred()) SWIG_fail
;
4568 resultobj
= SWIG_Py_Void();
4575 SWIGINTERN PyObject
*_wrap_ScrolledWindow_GetViewStart(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4576 PyObject
*resultobj
= 0;
4577 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
4578 int *arg2
= (int *) 0 ;
4579 int *arg3
= (int *) 0 ;
4583 int res2
= SWIG_TMPOBJ
;
4585 int res3
= SWIG_TMPOBJ
;
4586 PyObject
*swig_obj
[1] ;
4590 if (!args
) SWIG_fail
;
4592 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 | 0 );
4593 if (!SWIG_IsOK(res1
)) {
4594 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_GetViewStart" "', expected argument " "1"" of type '" "wxScrolledWindow const *""'");
4596 arg1
= reinterpret_cast< wxScrolledWindow
* >(argp1
);
4598 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4599 ((wxScrolledWindow
const *)arg1
)->GetViewStart(arg2
,arg3
);
4600 wxPyEndAllowThreads(__tstate
);
4601 if (PyErr_Occurred()) SWIG_fail
;
4603 resultobj
= SWIG_Py_Void();
4604 if (SWIG_IsTmpObj(res2
)) {
4605 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
4607 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
4608 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
4610 if (SWIG_IsTmpObj(res3
)) {
4611 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
4613 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
4614 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
4622 SWIGINTERN PyObject
*_wrap_ScrolledWindow_SetScale(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4623 PyObject
*resultobj
= 0;
4624 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
4633 PyObject
* obj0
= 0 ;
4634 PyObject
* obj1
= 0 ;
4635 PyObject
* obj2
= 0 ;
4636 char * kwnames
[] = {
4637 (char *) "self",(char *) "xs",(char *) "ys", NULL
4640 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ScrolledWindow_SetScale",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
4641 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 | 0 );
4642 if (!SWIG_IsOK(res1
)) {
4643 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_SetScale" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
4645 arg1
= reinterpret_cast< wxScrolledWindow
* >(argp1
);
4646 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
4647 if (!SWIG_IsOK(ecode2
)) {
4648 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ScrolledWindow_SetScale" "', expected argument " "2"" of type '" "double""'");
4650 arg2
= static_cast< double >(val2
);
4651 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
4652 if (!SWIG_IsOK(ecode3
)) {
4653 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ScrolledWindow_SetScale" "', expected argument " "3"" of type '" "double""'");
4655 arg3
= static_cast< double >(val3
);
4657 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4658 (arg1
)->SetScale(arg2
,arg3
);
4659 wxPyEndAllowThreads(__tstate
);
4660 if (PyErr_Occurred()) SWIG_fail
;
4662 resultobj
= SWIG_Py_Void();
4669 SWIGINTERN PyObject
*_wrap_ScrolledWindow_GetScaleX(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4670 PyObject
*resultobj
= 0;
4671 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
4675 PyObject
*swig_obj
[1] ;
4677 if (!args
) SWIG_fail
;
4679 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 | 0 );
4680 if (!SWIG_IsOK(res1
)) {
4681 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_GetScaleX" "', expected argument " "1"" of type '" "wxScrolledWindow const *""'");
4683 arg1
= reinterpret_cast< wxScrolledWindow
* >(argp1
);
4685 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4686 result
= (double)((wxScrolledWindow
const *)arg1
)->GetScaleX();
4687 wxPyEndAllowThreads(__tstate
);
4688 if (PyErr_Occurred()) SWIG_fail
;
4690 resultobj
= SWIG_From_double(static_cast< double >(result
));
4697 SWIGINTERN PyObject
*_wrap_ScrolledWindow_GetScaleY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4698 PyObject
*resultobj
= 0;
4699 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
4703 PyObject
*swig_obj
[1] ;
4705 if (!args
) SWIG_fail
;
4707 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 | 0 );
4708 if (!SWIG_IsOK(res1
)) {
4709 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_GetScaleY" "', expected argument " "1"" of type '" "wxScrolledWindow const *""'");
4711 arg1
= reinterpret_cast< wxScrolledWindow
* >(argp1
);
4713 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4714 result
= (double)((wxScrolledWindow
const *)arg1
)->GetScaleY();
4715 wxPyEndAllowThreads(__tstate
);
4716 if (PyErr_Occurred()) SWIG_fail
;
4718 resultobj
= SWIG_From_double(static_cast< double >(result
));
4725 SWIGINTERN PyObject
*_wrap_ScrolledWindow_CalcScrolledPosition__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
4726 PyObject
*resultobj
= 0;
4727 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
4734 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
4735 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 | 0 );
4736 if (!SWIG_IsOK(res1
)) {
4737 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_CalcScrolledPosition" "', expected argument " "1"" of type '" "wxScrolledWindow const *""'");
4739 arg1
= reinterpret_cast< wxScrolledWindow
* >(argp1
);
4742 if ( ! wxPoint_helper(swig_obj
[1], &arg2
)) SWIG_fail
;
4745 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4746 result
= ((wxScrolledWindow
const *)arg1
)->CalcScrolledPosition((wxPoint
const &)*arg2
);
4747 wxPyEndAllowThreads(__tstate
);
4748 if (PyErr_Occurred()) SWIG_fail
;
4750 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
4757 SWIGINTERN PyObject
*_wrap_ScrolledWindow_CalcScrolledPosition__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
4758 PyObject
*resultobj
= 0;
4759 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
4762 int *arg4
= (int *) 0 ;
4763 int *arg5
= (int *) 0 ;
4771 int res4
= SWIG_TMPOBJ
;
4773 int res5
= SWIG_TMPOBJ
;
4777 if ((nobjs
< 3) || (nobjs
> 3)) SWIG_fail
;
4778 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 | 0 );
4779 if (!SWIG_IsOK(res1
)) {
4780 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_CalcScrolledPosition" "', expected argument " "1"" of type '" "wxScrolledWindow const *""'");
4782 arg1
= reinterpret_cast< wxScrolledWindow
* >(argp1
);
4783 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
4784 if (!SWIG_IsOK(ecode2
)) {
4785 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ScrolledWindow_CalcScrolledPosition" "', expected argument " "2"" of type '" "int""'");
4787 arg2
= static_cast< int >(val2
);
4788 ecode3
= SWIG_AsVal_int(swig_obj
[2], &val3
);
4789 if (!SWIG_IsOK(ecode3
)) {
4790 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ScrolledWindow_CalcScrolledPosition" "', expected argument " "3"" of type '" "int""'");
4792 arg3
= static_cast< int >(val3
);
4794 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4795 ((wxScrolledWindow
const *)arg1
)->CalcScrolledPosition(arg2
,arg3
,arg4
,arg5
);
4796 wxPyEndAllowThreads(__tstate
);
4797 if (PyErr_Occurred()) SWIG_fail
;
4799 resultobj
= SWIG_Py_Void();
4800 if (SWIG_IsTmpObj(res4
)) {
4801 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg4
)));
4803 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
4804 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, new_flags
));
4806 if (SWIG_IsTmpObj(res5
)) {
4807 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg5
)));
4809 int new_flags
= SWIG_IsNewObj(res5
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
4810 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg5
), SWIGTYPE_p_int
, new_flags
));
4818 SWIGINTERN PyObject
*_wrap_ScrolledWindow_CalcScrolledPosition(PyObject
*self
, PyObject
*args
) {
4822 if (!(argc
= SWIG_Python_UnpackTuple(args
,"ScrolledWindow_CalcScrolledPosition",0,3,argv
))) SWIG_fail
;
4825 return _wrap_ScrolledWindow_CalcScrolledPosition__SWIG_0(self
, argc
, argv
);
4828 return _wrap_ScrolledWindow_CalcScrolledPosition__SWIG_1(self
, argc
, argv
);
4832 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'ScrolledWindow_CalcScrolledPosition'");
4837 SWIGINTERN PyObject
*_wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
4838 PyObject
*resultobj
= 0;
4839 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
4846 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
4847 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 | 0 );
4848 if (!SWIG_IsOK(res1
)) {
4849 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_CalcUnscrolledPosition" "', expected argument " "1"" of type '" "wxScrolledWindow const *""'");
4851 arg1
= reinterpret_cast< wxScrolledWindow
* >(argp1
);
4854 if ( ! wxPoint_helper(swig_obj
[1], &arg2
)) SWIG_fail
;
4857 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4858 result
= ((wxScrolledWindow
const *)arg1
)->CalcUnscrolledPosition((wxPoint
const &)*arg2
);
4859 wxPyEndAllowThreads(__tstate
);
4860 if (PyErr_Occurred()) SWIG_fail
;
4862 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
4869 SWIGINTERN PyObject
*_wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
4870 PyObject
*resultobj
= 0;
4871 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
4874 int *arg4
= (int *) 0 ;
4875 int *arg5
= (int *) 0 ;
4883 int res4
= SWIG_TMPOBJ
;
4885 int res5
= SWIG_TMPOBJ
;
4889 if ((nobjs
< 3) || (nobjs
> 3)) SWIG_fail
;
4890 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 | 0 );
4891 if (!SWIG_IsOK(res1
)) {
4892 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_CalcUnscrolledPosition" "', expected argument " "1"" of type '" "wxScrolledWindow const *""'");
4894 arg1
= reinterpret_cast< wxScrolledWindow
* >(argp1
);
4895 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
4896 if (!SWIG_IsOK(ecode2
)) {
4897 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ScrolledWindow_CalcUnscrolledPosition" "', expected argument " "2"" of type '" "int""'");
4899 arg2
= static_cast< int >(val2
);
4900 ecode3
= SWIG_AsVal_int(swig_obj
[2], &val3
);
4901 if (!SWIG_IsOK(ecode3
)) {
4902 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ScrolledWindow_CalcUnscrolledPosition" "', expected argument " "3"" of type '" "int""'");
4904 arg3
= static_cast< int >(val3
);
4906 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4907 ((wxScrolledWindow
const *)arg1
)->CalcUnscrolledPosition(arg2
,arg3
,arg4
,arg5
);
4908 wxPyEndAllowThreads(__tstate
);
4909 if (PyErr_Occurred()) SWIG_fail
;
4911 resultobj
= SWIG_Py_Void();
4912 if (SWIG_IsTmpObj(res4
)) {
4913 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg4
)));
4915 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
4916 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, new_flags
));
4918 if (SWIG_IsTmpObj(res5
)) {
4919 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg5
)));
4921 int new_flags
= SWIG_IsNewObj(res5
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
4922 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg5
), SWIGTYPE_p_int
, new_flags
));
4930 SWIGINTERN PyObject
*_wrap_ScrolledWindow_CalcUnscrolledPosition(PyObject
*self
, PyObject
*args
) {
4934 if (!(argc
= SWIG_Python_UnpackTuple(args
,"ScrolledWindow_CalcUnscrolledPosition",0,3,argv
))) SWIG_fail
;
4937 return _wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_0(self
, argc
, argv
);
4940 return _wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_1(self
, argc
, argv
);
4944 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'ScrolledWindow_CalcUnscrolledPosition'");
4949 SWIGINTERN PyObject
*_wrap_ScrolledWindow_AdjustScrollbars(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4950 PyObject
*resultobj
= 0;
4951 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
4954 PyObject
*swig_obj
[1] ;
4956 if (!args
) SWIG_fail
;
4958 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 | 0 );
4959 if (!SWIG_IsOK(res1
)) {
4960 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_AdjustScrollbars" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
4962 arg1
= reinterpret_cast< wxScrolledWindow
* >(argp1
);
4964 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4965 (arg1
)->AdjustScrollbars();
4966 wxPyEndAllowThreads(__tstate
);
4967 if (PyErr_Occurred()) SWIG_fail
;
4969 resultobj
= SWIG_Py_Void();
4976 SWIGINTERN PyObject
*_wrap_ScrolledWindow_CalcScrollInc(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4977 PyObject
*resultobj
= 0;
4978 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
4979 wxScrollWinEvent
*arg2
= 0 ;
4985 PyObject
* obj0
= 0 ;
4986 PyObject
* obj1
= 0 ;
4987 char * kwnames
[] = {
4988 (char *) "self",(char *) "event", NULL
4991 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScrolledWindow_CalcScrollInc",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4992 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 | 0 );
4993 if (!SWIG_IsOK(res1
)) {
4994 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_CalcScrollInc" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
4996 arg1
= reinterpret_cast< wxScrolledWindow
* >(argp1
);
4997 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxScrollWinEvent
, 0 );
4998 if (!SWIG_IsOK(res2
)) {
4999 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ScrolledWindow_CalcScrollInc" "', expected argument " "2"" of type '" "wxScrollWinEvent &""'");
5002 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ScrolledWindow_CalcScrollInc" "', expected argument " "2"" of type '" "wxScrollWinEvent &""'");
5004 arg2
= reinterpret_cast< wxScrollWinEvent
* >(argp2
);
5006 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5007 result
= (int)(arg1
)->CalcScrollInc(*arg2
);
5008 wxPyEndAllowThreads(__tstate
);
5009 if (PyErr_Occurred()) SWIG_fail
;
5011 resultobj
= SWIG_From_int(static_cast< int >(result
));
5018 SWIGINTERN PyObject
*_wrap_ScrolledWindow_SetTargetWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5019 PyObject
*resultobj
= 0;
5020 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
5021 wxWindow
*arg2
= (wxWindow
*) 0 ;
5026 PyObject
* obj0
= 0 ;
5027 PyObject
* obj1
= 0 ;
5028 char * kwnames
[] = {
5029 (char *) "self",(char *) "target", NULL
5032 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScrolledWindow_SetTargetWindow",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5033 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 | 0 );
5034 if (!SWIG_IsOK(res1
)) {
5035 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_SetTargetWindow" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
5037 arg1
= reinterpret_cast< wxScrolledWindow
* >(argp1
);
5038 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
5039 if (!SWIG_IsOK(res2
)) {
5040 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ScrolledWindow_SetTargetWindow" "', expected argument " "2"" of type '" "wxWindow *""'");
5042 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
5044 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5045 (arg1
)->SetTargetWindow(arg2
);
5046 wxPyEndAllowThreads(__tstate
);
5047 if (PyErr_Occurred()) SWIG_fail
;
5049 resultobj
= SWIG_Py_Void();
5056 SWIGINTERN PyObject
*_wrap_ScrolledWindow_GetTargetWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5057 PyObject
*resultobj
= 0;
5058 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
5059 wxWindow
*result
= 0 ;
5062 PyObject
*swig_obj
[1] ;
5064 if (!args
) SWIG_fail
;
5066 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 | 0 );
5067 if (!SWIG_IsOK(res1
)) {
5068 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_GetTargetWindow" "', expected argument " "1"" of type '" "wxScrolledWindow const *""'");
5070 arg1
= reinterpret_cast< wxScrolledWindow
* >(argp1
);
5072 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5073 result
= (wxWindow
*)((wxScrolledWindow
const *)arg1
)->GetTargetWindow();
5074 wxPyEndAllowThreads(__tstate
);
5075 if (PyErr_Occurred()) SWIG_fail
;
5078 resultobj
= wxPyMake_wxObject(result
, 0);
5086 SWIGINTERN PyObject
*_wrap_ScrolledWindow_SetTargetRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5087 PyObject
*resultobj
= 0;
5088 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
5093 PyObject
* obj0
= 0 ;
5094 PyObject
* obj1
= 0 ;
5095 char * kwnames
[] = {
5096 (char *) "self",(char *) "rect", NULL
5099 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScrolledWindow_SetTargetRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5100 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 | 0 );
5101 if (!SWIG_IsOK(res1
)) {
5102 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_SetTargetRect" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
5104 arg1
= reinterpret_cast< wxScrolledWindow
* >(argp1
);
5107 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
5110 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5111 (arg1
)->SetTargetRect((wxRect
const &)*arg2
);
5112 wxPyEndAllowThreads(__tstate
);
5113 if (PyErr_Occurred()) SWIG_fail
;
5115 resultobj
= SWIG_Py_Void();
5122 SWIGINTERN PyObject
*_wrap_ScrolledWindow_GetTargetRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5123 PyObject
*resultobj
= 0;
5124 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
5128 PyObject
*swig_obj
[1] ;
5130 if (!args
) SWIG_fail
;
5132 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 | 0 );
5133 if (!SWIG_IsOK(res1
)) {
5134 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_GetTargetRect" "', expected argument " "1"" of type '" "wxScrolledWindow const *""'");
5136 arg1
= reinterpret_cast< wxScrolledWindow
* >(argp1
);
5138 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5139 result
= ((wxScrolledWindow
const *)arg1
)->GetTargetRect();
5140 wxPyEndAllowThreads(__tstate
);
5141 if (PyErr_Occurred()) SWIG_fail
;
5143 resultobj
= SWIG_NewPointerObj((new wxRect(static_cast< const wxRect
& >(result
))), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN
| 0 );
5150 SWIGINTERN PyObject
*_wrap_ScrolledWindow_DoPrepareDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5151 PyObject
*resultobj
= 0;
5152 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
5158 PyObject
* obj0
= 0 ;
5159 PyObject
* obj1
= 0 ;
5160 char * kwnames
[] = {
5161 (char *) "self",(char *) "dc", NULL
5164 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScrolledWindow_DoPrepareDC",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5165 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 | 0 );
5166 if (!SWIG_IsOK(res1
)) {
5167 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_DoPrepareDC" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
5169 arg1
= reinterpret_cast< wxScrolledWindow
* >(argp1
);
5170 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDC
, 0 );
5171 if (!SWIG_IsOK(res2
)) {
5172 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ScrolledWindow_DoPrepareDC" "', expected argument " "2"" of type '" "wxDC &""'");
5175 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ScrolledWindow_DoPrepareDC" "', expected argument " "2"" of type '" "wxDC &""'");
5177 arg2
= reinterpret_cast< wxDC
* >(argp2
);
5179 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5180 (arg1
)->DoPrepareDC(*arg2
);
5181 wxPyEndAllowThreads(__tstate
);
5182 if (PyErr_Occurred()) SWIG_fail
;
5184 resultobj
= SWIG_Py_Void();
5191 SWIGINTERN PyObject
*_wrap_ScrolledWindow_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5192 PyObject
*resultobj
= 0;
5193 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
5194 SwigValueWrapper
<wxVisualAttributes
> result
;
5197 PyObject
* obj0
= 0 ;
5198 char * kwnames
[] = {
5199 (char *) "variant", NULL
5202 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:ScrolledWindow_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
5204 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
5205 if (!SWIG_IsOK(ecode1
)) {
5206 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "ScrolledWindow_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
5208 arg1
= static_cast< wxWindowVariant
>(val1
);
5211 if (!wxPyCheckForApp()) SWIG_fail
;
5212 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5213 result
= wxScrolledWindow::GetClassDefaultAttributes(arg1
);
5214 wxPyEndAllowThreads(__tstate
);
5215 if (PyErr_Occurred()) SWIG_fail
;
5217 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
5224 SWIGINTERN PyObject
*ScrolledWindow_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5226 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
5227 SWIG_TypeNewClientData(SWIGTYPE_p_wxScrolledWindow
, SWIG_NewClientData(obj
));
5228 return SWIG_Py_Void();
5231 SWIGINTERN PyObject
*ScrolledWindow_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5232 return SWIG_Python_InitShadowInstance(args
);
5235 SWIGINTERN
int FrameNameStr_set(PyObject
*) {
5236 SWIG_Error(SWIG_AttributeError
,"Variable FrameNameStr is read-only.");
5241 SWIGINTERN PyObject
*FrameNameStr_get(void) {
5242 PyObject
*pyobj
= 0;
5246 pyobj
= PyUnicode_FromWideChar((&wxPyFrameNameStr
)->c_str(), (&wxPyFrameNameStr
)->Len());
5248 pyobj
= PyString_FromStringAndSize((&wxPyFrameNameStr
)->c_str(), (&wxPyFrameNameStr
)->Len());
5255 SWIGINTERN
int DialogNameStr_set(PyObject
*) {
5256 SWIG_Error(SWIG_AttributeError
,"Variable DialogNameStr is read-only.");
5261 SWIGINTERN PyObject
*DialogNameStr_get(void) {
5262 PyObject
*pyobj
= 0;
5266 pyobj
= PyUnicode_FromWideChar((&wxPyDialogNameStr
)->c_str(), (&wxPyDialogNameStr
)->Len());
5268 pyobj
= PyString_FromStringAndSize((&wxPyDialogNameStr
)->c_str(), (&wxPyDialogNameStr
)->Len());
5275 SWIGINTERN
int StatusLineNameStr_set(PyObject
*) {
5276 SWIG_Error(SWIG_AttributeError
,"Variable StatusLineNameStr is read-only.");
5281 SWIGINTERN PyObject
*StatusLineNameStr_get(void) {
5282 PyObject
*pyobj
= 0;
5286 pyobj
= PyUnicode_FromWideChar((&wxPyStatusLineNameStr
)->c_str(), (&wxPyStatusLineNameStr
)->Len());
5288 pyobj
= PyString_FromStringAndSize((&wxPyStatusLineNameStr
)->c_str(), (&wxPyStatusLineNameStr
)->Len());
5295 SWIGINTERN
int ToolBarNameStr_set(PyObject
*) {
5296 SWIG_Error(SWIG_AttributeError
,"Variable ToolBarNameStr is read-only.");
5301 SWIGINTERN PyObject
*ToolBarNameStr_get(void) {
5302 PyObject
*pyobj
= 0;
5306 pyobj
= PyUnicode_FromWideChar((&wxPyToolBarNameStr
)->c_str(), (&wxPyToolBarNameStr
)->Len());
5308 pyobj
= PyString_FromStringAndSize((&wxPyToolBarNameStr
)->c_str(), (&wxPyToolBarNameStr
)->Len());
5315 SWIGINTERN PyObject
*_wrap_TopLevelWindow_Maximize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5316 PyObject
*resultobj
= 0;
5317 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
5318 bool arg2
= (bool) true ;
5323 PyObject
* obj0
= 0 ;
5324 PyObject
* obj1
= 0 ;
5325 char * kwnames
[] = {
5326 (char *) "self",(char *) "maximize", NULL
5329 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:TopLevelWindow_Maximize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5330 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 | 0 );
5331 if (!SWIG_IsOK(res1
)) {
5332 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_Maximize" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5334 arg1
= reinterpret_cast< wxTopLevelWindow
* >(argp1
);
5336 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
5337 if (!SWIG_IsOK(ecode2
)) {
5338 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TopLevelWindow_Maximize" "', expected argument " "2"" of type '" "bool""'");
5340 arg2
= static_cast< bool >(val2
);
5343 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5344 (arg1
)->Maximize(arg2
);
5345 wxPyEndAllowThreads(__tstate
);
5346 if (PyErr_Occurred()) SWIG_fail
;
5348 resultobj
= SWIG_Py_Void();
5355 SWIGINTERN PyObject
*_wrap_TopLevelWindow_Restore(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5356 PyObject
*resultobj
= 0;
5357 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
5360 PyObject
*swig_obj
[1] ;
5362 if (!args
) SWIG_fail
;
5364 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 | 0 );
5365 if (!SWIG_IsOK(res1
)) {
5366 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_Restore" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5368 arg1
= reinterpret_cast< wxTopLevelWindow
* >(argp1
);
5370 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5372 wxPyEndAllowThreads(__tstate
);
5373 if (PyErr_Occurred()) SWIG_fail
;
5375 resultobj
= SWIG_Py_Void();
5382 SWIGINTERN PyObject
*_wrap_TopLevelWindow_Iconize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5383 PyObject
*resultobj
= 0;
5384 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
5385 bool arg2
= (bool) true ;
5390 PyObject
* obj0
= 0 ;
5391 PyObject
* obj1
= 0 ;
5392 char * kwnames
[] = {
5393 (char *) "self",(char *) "iconize", NULL
5396 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:TopLevelWindow_Iconize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5397 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 | 0 );
5398 if (!SWIG_IsOK(res1
)) {
5399 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_Iconize" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5401 arg1
= reinterpret_cast< wxTopLevelWindow
* >(argp1
);
5403 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
5404 if (!SWIG_IsOK(ecode2
)) {
5405 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TopLevelWindow_Iconize" "', expected argument " "2"" of type '" "bool""'");
5407 arg2
= static_cast< bool >(val2
);
5410 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5411 (arg1
)->Iconize(arg2
);
5412 wxPyEndAllowThreads(__tstate
);
5413 if (PyErr_Occurred()) SWIG_fail
;
5415 resultobj
= SWIG_Py_Void();
5422 SWIGINTERN PyObject
*_wrap_TopLevelWindow_IsMaximized(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5423 PyObject
*resultobj
= 0;
5424 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
5428 PyObject
*swig_obj
[1] ;
5430 if (!args
) SWIG_fail
;
5432 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 | 0 );
5433 if (!SWIG_IsOK(res1
)) {
5434 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_IsMaximized" "', expected argument " "1"" of type '" "wxTopLevelWindow const *""'");
5436 arg1
= reinterpret_cast< wxTopLevelWindow
* >(argp1
);
5438 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5439 result
= (bool)((wxTopLevelWindow
const *)arg1
)->IsMaximized();
5440 wxPyEndAllowThreads(__tstate
);
5441 if (PyErr_Occurred()) SWIG_fail
;
5444 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5452 SWIGINTERN PyObject
*_wrap_TopLevelWindow_IsIconized(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5453 PyObject
*resultobj
= 0;
5454 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
5458 PyObject
*swig_obj
[1] ;
5460 if (!args
) SWIG_fail
;
5462 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 | 0 );
5463 if (!SWIG_IsOK(res1
)) {
5464 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_IsIconized" "', expected argument " "1"" of type '" "wxTopLevelWindow const *""'");
5466 arg1
= reinterpret_cast< wxTopLevelWindow
* >(argp1
);
5468 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5469 result
= (bool)((wxTopLevelWindow
const *)arg1
)->IsIconized();
5470 wxPyEndAllowThreads(__tstate
);
5471 if (PyErr_Occurred()) SWIG_fail
;
5474 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5482 SWIGINTERN PyObject
*_wrap_TopLevelWindow_GetIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5483 PyObject
*resultobj
= 0;
5484 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
5488 PyObject
*swig_obj
[1] ;
5490 if (!args
) SWIG_fail
;
5492 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 | 0 );
5493 if (!SWIG_IsOK(res1
)) {
5494 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_GetIcon" "', expected argument " "1"" of type '" "wxTopLevelWindow const *""'");
5496 arg1
= reinterpret_cast< wxTopLevelWindow
* >(argp1
);
5498 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5499 result
= ((wxTopLevelWindow
const *)arg1
)->GetIcon();
5500 wxPyEndAllowThreads(__tstate
);
5501 if (PyErr_Occurred()) SWIG_fail
;
5503 resultobj
= SWIG_NewPointerObj((new wxIcon(static_cast< const wxIcon
& >(result
))), SWIGTYPE_p_wxIcon
, SWIG_POINTER_OWN
| 0 );
5510 SWIGINTERN PyObject
*_wrap_TopLevelWindow_SetIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5511 PyObject
*resultobj
= 0;
5512 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
5518 PyObject
* obj0
= 0 ;
5519 PyObject
* obj1
= 0 ;
5520 char * kwnames
[] = {
5521 (char *) "self",(char *) "icon", NULL
5524 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TopLevelWindow_SetIcon",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5525 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 | 0 );
5526 if (!SWIG_IsOK(res1
)) {
5527 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_SetIcon" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5529 arg1
= reinterpret_cast< wxTopLevelWindow
* >(argp1
);
5530 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxIcon
, 0 | 0);
5531 if (!SWIG_IsOK(res2
)) {
5532 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TopLevelWindow_SetIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
5535 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TopLevelWindow_SetIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
5537 arg2
= reinterpret_cast< wxIcon
* >(argp2
);
5539 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5540 (arg1
)->SetIcon((wxIcon
const &)*arg2
);
5541 wxPyEndAllowThreads(__tstate
);
5542 if (PyErr_Occurred()) SWIG_fail
;
5544 resultobj
= SWIG_Py_Void();
5551 SWIGINTERN PyObject
*_wrap_TopLevelWindow_SetIcons(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5552 PyObject
*resultobj
= 0;
5553 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
5554 wxIconBundle
*arg2
= 0 ;
5559 PyObject
* obj0
= 0 ;
5560 PyObject
* obj1
= 0 ;
5561 char * kwnames
[] = {
5562 (char *) "self",(char *) "icons", NULL
5565 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TopLevelWindow_SetIcons",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5566 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 | 0 );
5567 if (!SWIG_IsOK(res1
)) {
5568 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_SetIcons" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5570 arg1
= reinterpret_cast< wxTopLevelWindow
* >(argp1
);
5571 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxIconBundle
, 0 | 0);
5572 if (!SWIG_IsOK(res2
)) {
5573 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TopLevelWindow_SetIcons" "', expected argument " "2"" of type '" "wxIconBundle const &""'");
5576 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TopLevelWindow_SetIcons" "', expected argument " "2"" of type '" "wxIconBundle const &""'");
5578 arg2
= reinterpret_cast< wxIconBundle
* >(argp2
);
5580 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5581 (arg1
)->SetIcons((wxIconBundle
const &)*arg2
);
5582 wxPyEndAllowThreads(__tstate
);
5583 if (PyErr_Occurred()) SWIG_fail
;
5585 resultobj
= SWIG_Py_Void();
5592 SWIGINTERN PyObject
*_wrap_TopLevelWindow_ShowFullScreen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5593 PyObject
*resultobj
= 0;
5594 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
5596 long arg3
= (long) wxFULLSCREEN_ALL
;
5604 PyObject
* obj0
= 0 ;
5605 PyObject
* obj1
= 0 ;
5606 PyObject
* obj2
= 0 ;
5607 char * kwnames
[] = {
5608 (char *) "self",(char *) "show",(char *) "style", NULL
5611 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TopLevelWindow_ShowFullScreen",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
5612 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 | 0 );
5613 if (!SWIG_IsOK(res1
)) {
5614 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_ShowFullScreen" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5616 arg1
= reinterpret_cast< wxTopLevelWindow
* >(argp1
);
5617 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
5618 if (!SWIG_IsOK(ecode2
)) {
5619 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TopLevelWindow_ShowFullScreen" "', expected argument " "2"" of type '" "bool""'");
5621 arg2
= static_cast< bool >(val2
);
5623 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
5624 if (!SWIG_IsOK(ecode3
)) {
5625 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TopLevelWindow_ShowFullScreen" "', expected argument " "3"" of type '" "long""'");
5627 arg3
= static_cast< long >(val3
);
5630 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5631 result
= (bool)(arg1
)->ShowFullScreen(arg2
,arg3
);
5632 wxPyEndAllowThreads(__tstate
);
5633 if (PyErr_Occurred()) SWIG_fail
;
5636 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5644 SWIGINTERN PyObject
*_wrap_TopLevelWindow_IsFullScreen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5645 PyObject
*resultobj
= 0;
5646 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
5650 PyObject
*swig_obj
[1] ;
5652 if (!args
) SWIG_fail
;
5654 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 | 0 );
5655 if (!SWIG_IsOK(res1
)) {
5656 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_IsFullScreen" "', expected argument " "1"" of type '" "wxTopLevelWindow const *""'");
5658 arg1
= reinterpret_cast< wxTopLevelWindow
* >(argp1
);
5660 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5661 result
= (bool)((wxTopLevelWindow
const *)arg1
)->IsFullScreen();
5662 wxPyEndAllowThreads(__tstate
);
5663 if (PyErr_Occurred()) SWIG_fail
;
5666 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5674 SWIGINTERN PyObject
*_wrap_TopLevelWindow_SetTitle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5675 PyObject
*resultobj
= 0;
5676 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
5677 wxString
*arg2
= 0 ;
5680 bool temp2
= false ;
5681 PyObject
* obj0
= 0 ;
5682 PyObject
* obj1
= 0 ;
5683 char * kwnames
[] = {
5684 (char *) "self",(char *) "title", NULL
5687 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TopLevelWindow_SetTitle",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5688 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 | 0 );
5689 if (!SWIG_IsOK(res1
)) {
5690 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_SetTitle" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5692 arg1
= reinterpret_cast< wxTopLevelWindow
* >(argp1
);
5694 arg2
= wxString_in_helper(obj1
);
5695 if (arg2
== NULL
) SWIG_fail
;
5699 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5700 (arg1
)->SetTitle((wxString
const &)*arg2
);
5701 wxPyEndAllowThreads(__tstate
);
5702 if (PyErr_Occurred()) SWIG_fail
;
5704 resultobj
= SWIG_Py_Void();
5719 SWIGINTERN PyObject
*_wrap_TopLevelWindow_GetTitle(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_GetTitle" "', expected argument " "1"" of type '" "wxTopLevelWindow const *""'");
5733 arg1
= reinterpret_cast< wxTopLevelWindow
* >(argp1
);
5735 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5736 result
= ((wxTopLevelWindow
const *)arg1
)->GetTitle();
5737 wxPyEndAllowThreads(__tstate
);
5738 if (PyErr_Occurred()) SWIG_fail
;
5742 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
5744 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
5753 SWIGINTERN PyObject
*_wrap_TopLevelWindow_SetShape(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5754 PyObject
*resultobj
= 0;
5755 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
5756 wxRegion
*arg2
= 0 ;
5762 PyObject
* obj0
= 0 ;
5763 PyObject
* obj1
= 0 ;
5764 char * kwnames
[] = {
5765 (char *) "self",(char *) "region", NULL
5768 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TopLevelWindow_SetShape",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5769 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 | 0 );
5770 if (!SWIG_IsOK(res1
)) {
5771 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_SetShape" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5773 arg1
= reinterpret_cast< wxTopLevelWindow
* >(argp1
);
5774 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxRegion
, 0 | 0);
5775 if (!SWIG_IsOK(res2
)) {
5776 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TopLevelWindow_SetShape" "', expected argument " "2"" of type '" "wxRegion const &""'");
5779 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TopLevelWindow_SetShape" "', expected argument " "2"" of type '" "wxRegion const &""'");
5781 arg2
= reinterpret_cast< wxRegion
* >(argp2
);
5783 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5784 result
= (bool)(arg1
)->SetShape((wxRegion
const &)*arg2
);
5785 wxPyEndAllowThreads(__tstate
);
5786 if (PyErr_Occurred()) SWIG_fail
;
5789 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5797 SWIGINTERN PyObject
*_wrap_TopLevelWindow_RequestUserAttention(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5798 PyObject
*resultobj
= 0;
5799 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
5800 int arg2
= (int) wxUSER_ATTENTION_INFO
;
5805 PyObject
* obj0
= 0 ;
5806 PyObject
* obj1
= 0 ;
5807 char * kwnames
[] = {
5808 (char *) "self",(char *) "flags", NULL
5811 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:TopLevelWindow_RequestUserAttention",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5812 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 | 0 );
5813 if (!SWIG_IsOK(res1
)) {
5814 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_RequestUserAttention" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5816 arg1
= reinterpret_cast< wxTopLevelWindow
* >(argp1
);
5818 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
5819 if (!SWIG_IsOK(ecode2
)) {
5820 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TopLevelWindow_RequestUserAttention" "', expected argument " "2"" of type '" "int""'");
5822 arg2
= static_cast< int >(val2
);
5825 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5826 (arg1
)->RequestUserAttention(arg2
);
5827 wxPyEndAllowThreads(__tstate
);
5828 if (PyErr_Occurred()) SWIG_fail
;
5830 resultobj
= SWIG_Py_Void();
5837 SWIGINTERN PyObject
*_wrap_TopLevelWindow_IsActive(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5838 PyObject
*resultobj
= 0;
5839 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
5843 PyObject
*swig_obj
[1] ;
5845 if (!args
) SWIG_fail
;
5847 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 | 0 );
5848 if (!SWIG_IsOK(res1
)) {
5849 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_IsActive" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5851 arg1
= reinterpret_cast< wxTopLevelWindow
* >(argp1
);
5853 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5854 result
= (bool)(arg1
)->IsActive();
5855 wxPyEndAllowThreads(__tstate
);
5856 if (PyErr_Occurred()) SWIG_fail
;
5859 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5867 SWIGINTERN PyObject
*_wrap_TopLevelWindow_MacSetMetalAppearance(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5868 PyObject
*resultobj
= 0;
5869 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
5875 PyObject
* obj0
= 0 ;
5876 PyObject
* obj1
= 0 ;
5877 char * kwnames
[] = {
5878 (char *) "self",(char *) "on", NULL
5881 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TopLevelWindow_MacSetMetalAppearance",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5882 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 | 0 );
5883 if (!SWIG_IsOK(res1
)) {
5884 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_MacSetMetalAppearance" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5886 arg1
= reinterpret_cast< wxTopLevelWindow
* >(argp1
);
5887 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
5888 if (!SWIG_IsOK(ecode2
)) {
5889 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TopLevelWindow_MacSetMetalAppearance" "', expected argument " "2"" of type '" "bool""'");
5891 arg2
= static_cast< bool >(val2
);
5893 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5894 wxTopLevelWindow_MacSetMetalAppearance(arg1
,arg2
);
5895 wxPyEndAllowThreads(__tstate
);
5896 if (PyErr_Occurred()) SWIG_fail
;
5898 resultobj
= SWIG_Py_Void();
5905 SWIGINTERN PyObject
*_wrap_TopLevelWindow_MacGetMetalAppearance(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5906 PyObject
*resultobj
= 0;
5907 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
5911 PyObject
*swig_obj
[1] ;
5913 if (!args
) SWIG_fail
;
5915 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 | 0 );
5916 if (!SWIG_IsOK(res1
)) {
5917 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_MacGetMetalAppearance" "', expected argument " "1"" of type '" "wxTopLevelWindow const *""'");
5919 arg1
= reinterpret_cast< wxTopLevelWindow
* >(argp1
);
5921 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5922 result
= (bool)((wxTopLevelWindow
const *)arg1
)->MacGetMetalAppearance();
5923 wxPyEndAllowThreads(__tstate
);
5924 if (PyErr_Occurred()) SWIG_fail
;
5927 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5935 SWIGINTERN PyObject
*_wrap_TopLevelWindow_CenterOnScreen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5936 PyObject
*resultobj
= 0;
5937 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
5938 int arg2
= (int) wxBOTH
;
5943 PyObject
* obj0
= 0 ;
5944 PyObject
* obj1
= 0 ;
5945 char * kwnames
[] = {
5946 (char *) "self",(char *) "dir", NULL
5949 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:TopLevelWindow_CenterOnScreen",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5950 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 | 0 );
5951 if (!SWIG_IsOK(res1
)) {
5952 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_CenterOnScreen" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5954 arg1
= reinterpret_cast< wxTopLevelWindow
* >(argp1
);
5956 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
5957 if (!SWIG_IsOK(ecode2
)) {
5958 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TopLevelWindow_CenterOnScreen" "', expected argument " "2"" of type '" "int""'");
5960 arg2
= static_cast< int >(val2
);
5963 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5964 (arg1
)->CenterOnScreen(arg2
);
5965 wxPyEndAllowThreads(__tstate
);
5966 if (PyErr_Occurred()) SWIG_fail
;
5968 resultobj
= SWIG_Py_Void();
5975 SWIGINTERN PyObject
*TopLevelWindow_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5977 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
5978 SWIG_TypeNewClientData(SWIGTYPE_p_wxTopLevelWindow
, SWIG_NewClientData(obj
));
5979 return SWIG_Py_Void();
5982 SWIGINTERN PyObject
*_wrap_new_Frame(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5983 PyObject
*resultobj
= 0;
5984 wxWindow
*arg1
= (wxWindow
*) 0 ;
5985 int arg2
= (int) (int)-1 ;
5986 wxString
const &arg3_defvalue
= wxPyEmptyString
;
5987 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
5988 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
5989 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
5990 wxSize
const &arg5_defvalue
= wxDefaultSize
;
5991 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
5992 long arg6
= (long) wxDEFAULT_FRAME_STYLE
;
5993 wxString
const &arg7_defvalue
= wxPyFrameNameStr
;
5994 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
5995 wxFrame
*result
= 0 ;
6000 bool temp3
= false ;
6005 bool temp7
= false ;
6006 PyObject
* obj0
= 0 ;
6007 PyObject
* obj1
= 0 ;
6008 PyObject
* obj2
= 0 ;
6009 PyObject
* obj3
= 0 ;
6010 PyObject
* obj4
= 0 ;
6011 PyObject
* obj5
= 0 ;
6012 PyObject
* obj6
= 0 ;
6013 char * kwnames
[] = {
6014 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
6017 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_Frame",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
6018 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
6019 if (!SWIG_IsOK(res1
)) {
6020 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_Frame" "', expected argument " "1"" of type '" "wxWindow *""'");
6022 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
6024 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
6025 if (!SWIG_IsOK(ecode2
)) {
6026 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Frame" "', expected argument " "2"" of type '" "int""'");
6028 arg2
= static_cast< int >(val2
);
6032 arg3
= wxString_in_helper(obj2
);
6033 if (arg3
== NULL
) SWIG_fail
;
6040 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
6046 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
6050 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
6051 if (!SWIG_IsOK(ecode6
)) {
6052 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_Frame" "', expected argument " "6"" of type '" "long""'");
6054 arg6
= static_cast< long >(val6
);
6058 arg7
= wxString_in_helper(obj6
);
6059 if (arg7
== NULL
) SWIG_fail
;
6064 if (!wxPyCheckForApp()) SWIG_fail
;
6065 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6066 result
= (wxFrame
*)new wxFrame(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
6067 wxPyEndAllowThreads(__tstate
);
6068 if (PyErr_Occurred()) SWIG_fail
;
6070 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFrame
, SWIG_POINTER_NEW
| 0 );
6093 SWIGINTERN PyObject
*_wrap_new_PreFrame(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6094 PyObject
*resultobj
= 0;
6095 wxFrame
*result
= 0 ;
6097 if (!SWIG_Python_UnpackTuple(args
,"new_PreFrame",0,0,0)) SWIG_fail
;
6099 if (!wxPyCheckForApp()) SWIG_fail
;
6100 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6101 result
= (wxFrame
*)new wxFrame();
6102 wxPyEndAllowThreads(__tstate
);
6103 if (PyErr_Occurred()) SWIG_fail
;
6105 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFrame
, SWIG_POINTER_OWN
| 0 );
6112 SWIGINTERN PyObject
*_wrap_Frame_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6113 PyObject
*resultobj
= 0;
6114 wxFrame
*arg1
= (wxFrame
*) 0 ;
6115 wxWindow
*arg2
= (wxWindow
*) 0 ;
6116 int arg3
= (int) (int)-1 ;
6117 wxString
const &arg4_defvalue
= wxPyEmptyString
;
6118 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
6119 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
6120 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
6121 wxSize
const &arg6_defvalue
= wxDefaultSize
;
6122 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
6123 long arg7
= (long) wxDEFAULT_FRAME_STYLE
;
6124 wxString
const &arg8_defvalue
= wxPyFrameNameStr
;
6125 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
6133 bool temp4
= false ;
6138 bool temp8
= false ;
6139 PyObject
* obj0
= 0 ;
6140 PyObject
* obj1
= 0 ;
6141 PyObject
* obj2
= 0 ;
6142 PyObject
* obj3
= 0 ;
6143 PyObject
* obj4
= 0 ;
6144 PyObject
* obj5
= 0 ;
6145 PyObject
* obj6
= 0 ;
6146 PyObject
* obj7
= 0 ;
6147 char * kwnames
[] = {
6148 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
6151 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:Frame_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
6152 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFrame
, 0 | 0 );
6153 if (!SWIG_IsOK(res1
)) {
6154 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Frame_Create" "', expected argument " "1"" of type '" "wxFrame *""'");
6156 arg1
= reinterpret_cast< wxFrame
* >(argp1
);
6157 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
6158 if (!SWIG_IsOK(res2
)) {
6159 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Frame_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
6161 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
6163 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
6164 if (!SWIG_IsOK(ecode3
)) {
6165 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Frame_Create" "', expected argument " "3"" of type '" "int""'");
6167 arg3
= static_cast< int >(val3
);
6171 arg4
= wxString_in_helper(obj3
);
6172 if (arg4
== NULL
) SWIG_fail
;
6179 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
6185 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
6189 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
6190 if (!SWIG_IsOK(ecode7
)) {
6191 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "Frame_Create" "', expected argument " "7"" of type '" "long""'");
6193 arg7
= static_cast< long >(val7
);
6197 arg8
= wxString_in_helper(obj7
);
6198 if (arg8
== NULL
) SWIG_fail
;
6203 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6204 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
6205 wxPyEndAllowThreads(__tstate
);
6206 if (PyErr_Occurred()) SWIG_fail
;
6209 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6233 SWIGINTERN PyObject
*_wrap_Frame_SendSizeEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6234 PyObject
*resultobj
= 0;
6235 wxFrame
*arg1
= (wxFrame
*) 0 ;
6238 PyObject
*swig_obj
[1] ;
6240 if (!args
) SWIG_fail
;
6242 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFrame
, 0 | 0 );
6243 if (!SWIG_IsOK(res1
)) {
6244 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Frame_SendSizeEvent" "', expected argument " "1"" of type '" "wxFrame *""'");
6246 arg1
= reinterpret_cast< wxFrame
* >(argp1
);
6248 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6249 (arg1
)->SendSizeEvent();
6250 wxPyEndAllowThreads(__tstate
);
6251 if (PyErr_Occurred()) SWIG_fail
;
6253 resultobj
= SWIG_Py_Void();
6260 SWIGINTERN PyObject
*_wrap_Frame_SetMenuBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6261 PyObject
*resultobj
= 0;
6262 wxFrame
*arg1
= (wxFrame
*) 0 ;
6263 wxMenuBar
*arg2
= (wxMenuBar
*) 0 ;
6268 PyObject
* obj0
= 0 ;
6269 PyObject
* obj1
= 0 ;
6270 char * kwnames
[] = {
6271 (char *) "self",(char *) "menubar", NULL
6274 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Frame_SetMenuBar",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6275 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFrame
, 0 | 0 );
6276 if (!SWIG_IsOK(res1
)) {
6277 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Frame_SetMenuBar" "', expected argument " "1"" of type '" "wxFrame *""'");
6279 arg1
= reinterpret_cast< wxFrame
* >(argp1
);
6280 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxMenuBar
, 0 | 0 );
6281 if (!SWIG_IsOK(res2
)) {
6282 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Frame_SetMenuBar" "', expected argument " "2"" of type '" "wxMenuBar *""'");
6284 arg2
= reinterpret_cast< wxMenuBar
* >(argp2
);
6286 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6287 (arg1
)->SetMenuBar(arg2
);
6288 wxPyEndAllowThreads(__tstate
);
6289 if (PyErr_Occurred()) SWIG_fail
;
6291 resultobj
= SWIG_Py_Void();
6298 SWIGINTERN PyObject
*_wrap_Frame_GetMenuBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6299 PyObject
*resultobj
= 0;
6300 wxFrame
*arg1
= (wxFrame
*) 0 ;
6301 wxMenuBar
*result
= 0 ;
6304 PyObject
*swig_obj
[1] ;
6306 if (!args
) SWIG_fail
;
6308 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFrame
, 0 | 0 );
6309 if (!SWIG_IsOK(res1
)) {
6310 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Frame_GetMenuBar" "', expected argument " "1"" of type '" "wxFrame const *""'");
6312 arg1
= reinterpret_cast< wxFrame
* >(argp1
);
6314 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6315 result
= (wxMenuBar
*)((wxFrame
const *)arg1
)->GetMenuBar();
6316 wxPyEndAllowThreads(__tstate
);
6317 if (PyErr_Occurred()) SWIG_fail
;
6320 resultobj
= wxPyMake_wxObject(result
, 0);
6328 SWIGINTERN PyObject
*_wrap_Frame_ProcessCommand(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6329 PyObject
*resultobj
= 0;
6330 wxFrame
*arg1
= (wxFrame
*) 0 ;
6337 PyObject
* obj0
= 0 ;
6338 PyObject
* obj1
= 0 ;
6339 char * kwnames
[] = {
6340 (char *) "self",(char *) "winid", NULL
6343 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Frame_ProcessCommand",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6344 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFrame
, 0 | 0 );
6345 if (!SWIG_IsOK(res1
)) {
6346 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Frame_ProcessCommand" "', expected argument " "1"" of type '" "wxFrame *""'");
6348 arg1
= reinterpret_cast< wxFrame
* >(argp1
);
6349 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
6350 if (!SWIG_IsOK(ecode2
)) {
6351 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Frame_ProcessCommand" "', expected argument " "2"" of type '" "int""'");
6353 arg2
= static_cast< int >(val2
);
6355 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6356 result
= (bool)(arg1
)->ProcessCommand(arg2
);
6357 wxPyEndAllowThreads(__tstate
);
6358 if (PyErr_Occurred()) SWIG_fail
;
6361 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6369 SWIGINTERN PyObject
*_wrap_Frame_CreateStatusBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6370 PyObject
*resultobj
= 0;
6371 wxFrame
*arg1
= (wxFrame
*) 0 ;
6372 int arg2
= (int) 1 ;
6373 long arg3
= (long) wxDEFAULT_STATUSBAR_STYLE
;
6374 int arg4
= (int) 0 ;
6375 wxString
const &arg5_defvalue
= wxPyStatusLineNameStr
;
6376 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
6377 wxStatusBar
*result
= 0 ;
6386 bool temp5
= false ;
6387 PyObject
* obj0
= 0 ;
6388 PyObject
* obj1
= 0 ;
6389 PyObject
* obj2
= 0 ;
6390 PyObject
* obj3
= 0 ;
6391 PyObject
* obj4
= 0 ;
6392 char * kwnames
[] = {
6393 (char *) "self",(char *) "number",(char *) "style",(char *) "winid",(char *) "name", NULL
6396 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOO:Frame_CreateStatusBar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
6397 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFrame
, 0 | 0 );
6398 if (!SWIG_IsOK(res1
)) {
6399 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Frame_CreateStatusBar" "', expected argument " "1"" of type '" "wxFrame *""'");
6401 arg1
= reinterpret_cast< wxFrame
* >(argp1
);
6403 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
6404 if (!SWIG_IsOK(ecode2
)) {
6405 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Frame_CreateStatusBar" "', expected argument " "2"" of type '" "int""'");
6407 arg2
= static_cast< int >(val2
);
6410 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
6411 if (!SWIG_IsOK(ecode3
)) {
6412 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Frame_CreateStatusBar" "', expected argument " "3"" of type '" "long""'");
6414 arg3
= static_cast< long >(val3
);
6417 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
6418 if (!SWIG_IsOK(ecode4
)) {
6419 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Frame_CreateStatusBar" "', expected argument " "4"" of type '" "int""'");
6421 arg4
= static_cast< int >(val4
);
6425 arg5
= wxString_in_helper(obj4
);
6426 if (arg5
== NULL
) SWIG_fail
;
6431 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6432 result
= (wxStatusBar
*)(arg1
)->CreateStatusBar(arg2
,arg3
,arg4
,(wxString
const &)*arg5
);
6433 wxPyEndAllowThreads(__tstate
);
6434 if (PyErr_Occurred()) SWIG_fail
;
6437 resultobj
= wxPyMake_wxObject(result
, (bool)0);
6453 SWIGINTERN PyObject
*_wrap_Frame_GetStatusBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6454 PyObject
*resultobj
= 0;
6455 wxFrame
*arg1
= (wxFrame
*) 0 ;
6456 wxStatusBar
*result
= 0 ;
6459 PyObject
*swig_obj
[1] ;
6461 if (!args
) SWIG_fail
;
6463 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFrame
, 0 | 0 );
6464 if (!SWIG_IsOK(res1
)) {
6465 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Frame_GetStatusBar" "', expected argument " "1"" of type '" "wxFrame const *""'");
6467 arg1
= reinterpret_cast< wxFrame
* >(argp1
);
6469 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6470 result
= (wxStatusBar
*)((wxFrame
const *)arg1
)->GetStatusBar();
6471 wxPyEndAllowThreads(__tstate
);
6472 if (PyErr_Occurred()) SWIG_fail
;
6475 resultobj
= wxPyMake_wxObject(result
, (bool)0);
6483 SWIGINTERN PyObject
*_wrap_Frame_SetStatusBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6484 PyObject
*resultobj
= 0;
6485 wxFrame
*arg1
= (wxFrame
*) 0 ;
6486 wxStatusBar
*arg2
= (wxStatusBar
*) 0 ;
6491 PyObject
* obj0
= 0 ;
6492 PyObject
* obj1
= 0 ;
6493 char * kwnames
[] = {
6494 (char *) "self",(char *) "statBar", NULL
6497 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Frame_SetStatusBar",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6498 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFrame
, 0 | 0 );
6499 if (!SWIG_IsOK(res1
)) {
6500 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Frame_SetStatusBar" "', expected argument " "1"" of type '" "wxFrame *""'");
6502 arg1
= reinterpret_cast< wxFrame
* >(argp1
);
6503 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxStatusBar
, 0 | 0 );
6504 if (!SWIG_IsOK(res2
)) {
6505 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Frame_SetStatusBar" "', expected argument " "2"" of type '" "wxStatusBar *""'");
6507 arg2
= reinterpret_cast< wxStatusBar
* >(argp2
);
6509 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6510 (arg1
)->SetStatusBar(arg2
);
6511 wxPyEndAllowThreads(__tstate
);
6512 if (PyErr_Occurred()) SWIG_fail
;
6514 resultobj
= SWIG_Py_Void();
6521 SWIGINTERN PyObject
*_wrap_Frame_SetStatusText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6522 PyObject
*resultobj
= 0;
6523 wxFrame
*arg1
= (wxFrame
*) 0 ;
6524 wxString
*arg2
= 0 ;
6525 int arg3
= (int) 0 ;
6528 bool temp2
= false ;
6531 PyObject
* obj0
= 0 ;
6532 PyObject
* obj1
= 0 ;
6533 PyObject
* obj2
= 0 ;
6534 char * kwnames
[] = {
6535 (char *) "self",(char *) "text",(char *) "number", NULL
6538 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Frame_SetStatusText",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
6539 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFrame
, 0 | 0 );
6540 if (!SWIG_IsOK(res1
)) {
6541 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Frame_SetStatusText" "', expected argument " "1"" of type '" "wxFrame *""'");
6543 arg1
= reinterpret_cast< wxFrame
* >(argp1
);
6545 arg2
= wxString_in_helper(obj1
);
6546 if (arg2
== NULL
) SWIG_fail
;
6550 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
6551 if (!SWIG_IsOK(ecode3
)) {
6552 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Frame_SetStatusText" "', expected argument " "3"" of type '" "int""'");
6554 arg3
= static_cast< int >(val3
);
6557 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6558 (arg1
)->SetStatusText((wxString
const &)*arg2
,arg3
);
6559 wxPyEndAllowThreads(__tstate
);
6560 if (PyErr_Occurred()) SWIG_fail
;
6562 resultobj
= SWIG_Py_Void();
6577 SWIGINTERN PyObject
*_wrap_Frame_SetStatusWidths(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6578 PyObject
*resultobj
= 0;
6579 wxFrame
*arg1
= (wxFrame
*) 0 ;
6581 int *arg3
= (int *) 0 ;
6584 PyObject
* obj0
= 0 ;
6585 PyObject
* obj1
= 0 ;
6586 char * kwnames
[] = {
6587 (char *) "self",(char *) "widths", NULL
6590 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Frame_SetStatusWidths",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6591 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFrame
, 0 | 0 );
6592 if (!SWIG_IsOK(res1
)) {
6593 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Frame_SetStatusWidths" "', expected argument " "1"" of type '" "wxFrame *""'");
6595 arg1
= reinterpret_cast< wxFrame
* >(argp1
);
6597 arg2
= PyList_Size(obj1
);
6598 arg3
= int_LIST_helper(obj1
);
6599 if (arg3
== NULL
) SWIG_fail
;
6602 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6603 (arg1
)->SetStatusWidths(arg2
,(int const *)arg3
);
6604 wxPyEndAllowThreads(__tstate
);
6605 if (PyErr_Occurred()) SWIG_fail
;
6607 resultobj
= SWIG_Py_Void();
6609 if (arg3
) delete [] arg3
;
6614 if (arg3
) delete [] arg3
;
6620 SWIGINTERN PyObject
*_wrap_Frame_PushStatusText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6621 PyObject
*resultobj
= 0;
6622 wxFrame
*arg1
= (wxFrame
*) 0 ;
6623 wxString
*arg2
= 0 ;
6624 int arg3
= (int) 0 ;
6627 bool temp2
= false ;
6630 PyObject
* obj0
= 0 ;
6631 PyObject
* obj1
= 0 ;
6632 PyObject
* obj2
= 0 ;
6633 char * kwnames
[] = {
6634 (char *) "self",(char *) "text",(char *) "number", NULL
6637 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Frame_PushStatusText",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
6638 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFrame
, 0 | 0 );
6639 if (!SWIG_IsOK(res1
)) {
6640 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Frame_PushStatusText" "', expected argument " "1"" of type '" "wxFrame *""'");
6642 arg1
= reinterpret_cast< wxFrame
* >(argp1
);
6644 arg2
= wxString_in_helper(obj1
);
6645 if (arg2
== NULL
) SWIG_fail
;
6649 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
6650 if (!SWIG_IsOK(ecode3
)) {
6651 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Frame_PushStatusText" "', expected argument " "3"" of type '" "int""'");
6653 arg3
= static_cast< int >(val3
);
6656 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6657 (arg1
)->PushStatusText((wxString
const &)*arg2
,arg3
);
6658 wxPyEndAllowThreads(__tstate
);
6659 if (PyErr_Occurred()) SWIG_fail
;
6661 resultobj
= SWIG_Py_Void();
6676 SWIGINTERN PyObject
*_wrap_Frame_PopStatusText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6677 PyObject
*resultobj
= 0;
6678 wxFrame
*arg1
= (wxFrame
*) 0 ;
6679 int arg2
= (int) 0 ;
6684 PyObject
* obj0
= 0 ;
6685 PyObject
* obj1
= 0 ;
6686 char * kwnames
[] = {
6687 (char *) "self",(char *) "number", NULL
6690 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Frame_PopStatusText",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6691 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFrame
, 0 | 0 );
6692 if (!SWIG_IsOK(res1
)) {
6693 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Frame_PopStatusText" "', expected argument " "1"" of type '" "wxFrame *""'");
6695 arg1
= reinterpret_cast< wxFrame
* >(argp1
);
6697 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
6698 if (!SWIG_IsOK(ecode2
)) {
6699 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Frame_PopStatusText" "', expected argument " "2"" of type '" "int""'");
6701 arg2
= static_cast< int >(val2
);
6704 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6705 (arg1
)->PopStatusText(arg2
);
6706 wxPyEndAllowThreads(__tstate
);
6707 if (PyErr_Occurred()) SWIG_fail
;
6709 resultobj
= SWIG_Py_Void();
6716 SWIGINTERN PyObject
*_wrap_Frame_SetStatusBarPane(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6717 PyObject
*resultobj
= 0;
6718 wxFrame
*arg1
= (wxFrame
*) 0 ;
6724 PyObject
* obj0
= 0 ;
6725 PyObject
* obj1
= 0 ;
6726 char * kwnames
[] = {
6727 (char *) "self",(char *) "n", NULL
6730 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Frame_SetStatusBarPane",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6731 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFrame
, 0 | 0 );
6732 if (!SWIG_IsOK(res1
)) {
6733 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Frame_SetStatusBarPane" "', expected argument " "1"" of type '" "wxFrame *""'");
6735 arg1
= reinterpret_cast< wxFrame
* >(argp1
);
6736 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
6737 if (!SWIG_IsOK(ecode2
)) {
6738 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Frame_SetStatusBarPane" "', expected argument " "2"" of type '" "int""'");
6740 arg2
= static_cast< int >(val2
);
6742 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6743 (arg1
)->SetStatusBarPane(arg2
);
6744 wxPyEndAllowThreads(__tstate
);
6745 if (PyErr_Occurred()) SWIG_fail
;
6747 resultobj
= SWIG_Py_Void();
6754 SWIGINTERN PyObject
*_wrap_Frame_GetStatusBarPane(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6755 PyObject
*resultobj
= 0;
6756 wxFrame
*arg1
= (wxFrame
*) 0 ;
6760 PyObject
*swig_obj
[1] ;
6762 if (!args
) SWIG_fail
;
6764 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFrame
, 0 | 0 );
6765 if (!SWIG_IsOK(res1
)) {
6766 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Frame_GetStatusBarPane" "', expected argument " "1"" of type '" "wxFrame const *""'");
6768 arg1
= reinterpret_cast< wxFrame
* >(argp1
);
6770 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6771 result
= (int)((wxFrame
const *)arg1
)->GetStatusBarPane();
6772 wxPyEndAllowThreads(__tstate
);
6773 if (PyErr_Occurred()) SWIG_fail
;
6775 resultobj
= SWIG_From_int(static_cast< int >(result
));
6782 SWIGINTERN PyObject
*_wrap_Frame_CreateToolBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6783 PyObject
*resultobj
= 0;
6784 wxFrame
*arg1
= (wxFrame
*) 0 ;
6785 long arg2
= (long) -1 ;
6786 int arg3
= (int) -1 ;
6787 wxString
const &arg4_defvalue
= wxPyToolBarNameStr
;
6788 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
6789 wxToolBar
*result
= 0 ;
6796 bool temp4
= false ;
6797 PyObject
* obj0
= 0 ;
6798 PyObject
* obj1
= 0 ;
6799 PyObject
* obj2
= 0 ;
6800 PyObject
* obj3
= 0 ;
6801 char * kwnames
[] = {
6802 (char *) "self",(char *) "style",(char *) "winid",(char *) "name", NULL
6805 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOO:Frame_CreateToolBar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
6806 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFrame
, 0 | 0 );
6807 if (!SWIG_IsOK(res1
)) {
6808 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Frame_CreateToolBar" "', expected argument " "1"" of type '" "wxFrame *""'");
6810 arg1
= reinterpret_cast< wxFrame
* >(argp1
);
6812 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
6813 if (!SWIG_IsOK(ecode2
)) {
6814 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Frame_CreateToolBar" "', expected argument " "2"" of type '" "long""'");
6816 arg2
= static_cast< long >(val2
);
6819 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
6820 if (!SWIG_IsOK(ecode3
)) {
6821 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Frame_CreateToolBar" "', expected argument " "3"" of type '" "int""'");
6823 arg3
= static_cast< int >(val3
);
6827 arg4
= wxString_in_helper(obj3
);
6828 if (arg4
== NULL
) SWIG_fail
;
6833 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6834 result
= (wxToolBar
*)(arg1
)->CreateToolBar(arg2
,arg3
,(wxString
const &)*arg4
);
6835 wxPyEndAllowThreads(__tstate
);
6836 if (PyErr_Occurred()) SWIG_fail
;
6839 resultobj
= wxPyMake_wxObject(result
, (bool)0);
6855 SWIGINTERN PyObject
*_wrap_Frame_GetToolBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6856 PyObject
*resultobj
= 0;
6857 wxFrame
*arg1
= (wxFrame
*) 0 ;
6858 wxToolBar
*result
= 0 ;
6861 PyObject
*swig_obj
[1] ;
6863 if (!args
) SWIG_fail
;
6865 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFrame
, 0 | 0 );
6866 if (!SWIG_IsOK(res1
)) {
6867 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Frame_GetToolBar" "', expected argument " "1"" of type '" "wxFrame const *""'");
6869 arg1
= reinterpret_cast< wxFrame
* >(argp1
);
6871 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6872 result
= (wxToolBar
*)((wxFrame
const *)arg1
)->GetToolBar();
6873 wxPyEndAllowThreads(__tstate
);
6874 if (PyErr_Occurred()) SWIG_fail
;
6877 resultobj
= wxPyMake_wxObject(result
, (bool)0);
6885 SWIGINTERN PyObject
*_wrap_Frame_SetToolBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6886 PyObject
*resultobj
= 0;
6887 wxFrame
*arg1
= (wxFrame
*) 0 ;
6888 wxToolBar
*arg2
= (wxToolBar
*) 0 ;
6893 PyObject
* obj0
= 0 ;
6894 PyObject
* obj1
= 0 ;
6895 char * kwnames
[] = {
6896 (char *) "self",(char *) "toolbar", NULL
6899 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Frame_SetToolBar",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6900 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFrame
, 0 | 0 );
6901 if (!SWIG_IsOK(res1
)) {
6902 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Frame_SetToolBar" "', expected argument " "1"" of type '" "wxFrame *""'");
6904 arg1
= reinterpret_cast< wxFrame
* >(argp1
);
6905 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxToolBar
, 0 | 0 );
6906 if (!SWIG_IsOK(res2
)) {
6907 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Frame_SetToolBar" "', expected argument " "2"" of type '" "wxToolBar *""'");
6909 arg2
= reinterpret_cast< wxToolBar
* >(argp2
);
6911 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6912 (arg1
)->SetToolBar(arg2
);
6913 wxPyEndAllowThreads(__tstate
);
6914 if (PyErr_Occurred()) SWIG_fail
;
6916 resultobj
= SWIG_Py_Void();
6923 SWIGINTERN PyObject
*_wrap_Frame_DoGiveHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6924 PyObject
*resultobj
= 0;
6925 wxFrame
*arg1
= (wxFrame
*) 0 ;
6926 wxString
*arg2
= 0 ;
6930 bool temp2
= false ;
6933 PyObject
* obj0
= 0 ;
6934 PyObject
* obj1
= 0 ;
6935 PyObject
* obj2
= 0 ;
6936 char * kwnames
[] = {
6937 (char *) "self",(char *) "text",(char *) "show", NULL
6940 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Frame_DoGiveHelp",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
6941 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFrame
, 0 | 0 );
6942 if (!SWIG_IsOK(res1
)) {
6943 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Frame_DoGiveHelp" "', expected argument " "1"" of type '" "wxFrame *""'");
6945 arg1
= reinterpret_cast< wxFrame
* >(argp1
);
6947 arg2
= wxString_in_helper(obj1
);
6948 if (arg2
== NULL
) SWIG_fail
;
6951 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
6952 if (!SWIG_IsOK(ecode3
)) {
6953 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Frame_DoGiveHelp" "', expected argument " "3"" of type '" "bool""'");
6955 arg3
= static_cast< bool >(val3
);
6957 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6958 (arg1
)->DoGiveHelp((wxString
const &)*arg2
,arg3
);
6959 wxPyEndAllowThreads(__tstate
);
6960 if (PyErr_Occurred()) SWIG_fail
;
6962 resultobj
= SWIG_Py_Void();
6977 SWIGINTERN PyObject
*_wrap_Frame_DoMenuUpdates(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6978 PyObject
*resultobj
= 0;
6979 wxFrame
*arg1
= (wxFrame
*) 0 ;
6980 wxMenu
*arg2
= (wxMenu
*) NULL
;
6985 PyObject
* obj0
= 0 ;
6986 PyObject
* obj1
= 0 ;
6987 char * kwnames
[] = {
6988 (char *) "self",(char *) "menu", NULL
6991 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Frame_DoMenuUpdates",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6992 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFrame
, 0 | 0 );
6993 if (!SWIG_IsOK(res1
)) {
6994 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Frame_DoMenuUpdates" "', expected argument " "1"" of type '" "wxFrame *""'");
6996 arg1
= reinterpret_cast< wxFrame
* >(argp1
);
6998 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxMenu
, 0 | 0 );
6999 if (!SWIG_IsOK(res2
)) {
7000 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Frame_DoMenuUpdates" "', expected argument " "2"" of type '" "wxMenu *""'");
7002 arg2
= reinterpret_cast< wxMenu
* >(argp2
);
7005 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7006 (arg1
)->DoMenuUpdates(arg2
);
7007 wxPyEndAllowThreads(__tstate
);
7008 if (PyErr_Occurred()) SWIG_fail
;
7010 resultobj
= SWIG_Py_Void();
7017 SWIGINTERN PyObject
*_wrap_Frame_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7018 PyObject
*resultobj
= 0;
7019 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
7020 SwigValueWrapper
<wxVisualAttributes
> result
;
7023 PyObject
* obj0
= 0 ;
7024 char * kwnames
[] = {
7025 (char *) "variant", NULL
7028 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Frame_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
7030 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
7031 if (!SWIG_IsOK(ecode1
)) {
7032 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "Frame_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
7034 arg1
= static_cast< wxWindowVariant
>(val1
);
7037 if (!wxPyCheckForApp()) SWIG_fail
;
7038 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7039 result
= wxFrame::GetClassDefaultAttributes(arg1
);
7040 wxPyEndAllowThreads(__tstate
);
7041 if (PyErr_Occurred()) SWIG_fail
;
7043 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
7050 SWIGINTERN PyObject
*Frame_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7052 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
7053 SWIG_TypeNewClientData(SWIGTYPE_p_wxFrame
, SWIG_NewClientData(obj
));
7054 return SWIG_Py_Void();
7057 SWIGINTERN PyObject
*Frame_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7058 return SWIG_Python_InitShadowInstance(args
);
7061 SWIGINTERN PyObject
*_wrap_new_Dialog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7062 PyObject
*resultobj
= 0;
7063 wxWindow
*arg1
= (wxWindow
*) 0 ;
7064 int arg2
= (int) (int)-1 ;
7065 wxString
const &arg3_defvalue
= wxPyEmptyString
;
7066 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
7067 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
7068 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
7069 wxSize
const &arg5_defvalue
= wxDefaultSize
;
7070 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
7071 long arg6
= (long) wxDEFAULT_DIALOG_STYLE
;
7072 wxString
const &arg7_defvalue
= wxPyDialogNameStr
;
7073 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
7074 wxDialog
*result
= 0 ;
7079 bool temp3
= false ;
7084 bool temp7
= false ;
7085 PyObject
* obj0
= 0 ;
7086 PyObject
* obj1
= 0 ;
7087 PyObject
* obj2
= 0 ;
7088 PyObject
* obj3
= 0 ;
7089 PyObject
* obj4
= 0 ;
7090 PyObject
* obj5
= 0 ;
7091 PyObject
* obj6
= 0 ;
7092 char * kwnames
[] = {
7093 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
7096 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_Dialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
7097 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
7098 if (!SWIG_IsOK(res1
)) {
7099 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_Dialog" "', expected argument " "1"" of type '" "wxWindow *""'");
7101 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
7103 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
7104 if (!SWIG_IsOK(ecode2
)) {
7105 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Dialog" "', expected argument " "2"" of type '" "int""'");
7107 arg2
= static_cast< int >(val2
);
7111 arg3
= wxString_in_helper(obj2
);
7112 if (arg3
== NULL
) SWIG_fail
;
7119 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
7125 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
7129 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
7130 if (!SWIG_IsOK(ecode6
)) {
7131 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_Dialog" "', expected argument " "6"" of type '" "long""'");
7133 arg6
= static_cast< long >(val6
);
7137 arg7
= wxString_in_helper(obj6
);
7138 if (arg7
== NULL
) SWIG_fail
;
7143 if (!wxPyCheckForApp()) SWIG_fail
;
7144 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7145 result
= (wxDialog
*)new wxDialog(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
7146 wxPyEndAllowThreads(__tstate
);
7147 if (PyErr_Occurred()) SWIG_fail
;
7149 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDialog
, SWIG_POINTER_NEW
| 0 );
7172 SWIGINTERN PyObject
*_wrap_new_PreDialog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7173 PyObject
*resultobj
= 0;
7174 wxDialog
*result
= 0 ;
7176 if (!SWIG_Python_UnpackTuple(args
,"new_PreDialog",0,0,0)) SWIG_fail
;
7178 if (!wxPyCheckForApp()) SWIG_fail
;
7179 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7180 result
= (wxDialog
*)new wxDialog();
7181 wxPyEndAllowThreads(__tstate
);
7182 if (PyErr_Occurred()) SWIG_fail
;
7184 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDialog
, SWIG_POINTER_OWN
| 0 );
7191 SWIGINTERN PyObject
*_wrap_Dialog_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7192 PyObject
*resultobj
= 0;
7193 wxDialog
*arg1
= (wxDialog
*) 0 ;
7194 wxWindow
*arg2
= (wxWindow
*) 0 ;
7195 int arg3
= (int) (int)-1 ;
7196 wxString
const &arg4_defvalue
= wxPyEmptyString
;
7197 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
7198 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
7199 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
7200 wxSize
const &arg6_defvalue
= wxDefaultSize
;
7201 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
7202 long arg7
= (long) wxDEFAULT_DIALOG_STYLE
;
7203 wxString
const &arg8_defvalue
= wxPyDialogNameStr
;
7204 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
7212 bool temp4
= false ;
7217 bool temp8
= false ;
7218 PyObject
* obj0
= 0 ;
7219 PyObject
* obj1
= 0 ;
7220 PyObject
* obj2
= 0 ;
7221 PyObject
* obj3
= 0 ;
7222 PyObject
* obj4
= 0 ;
7223 PyObject
* obj5
= 0 ;
7224 PyObject
* obj6
= 0 ;
7225 PyObject
* obj7
= 0 ;
7226 char * kwnames
[] = {
7227 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
7230 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:Dialog_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
7231 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDialog
, 0 | 0 );
7232 if (!SWIG_IsOK(res1
)) {
7233 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Dialog_Create" "', expected argument " "1"" of type '" "wxDialog *""'");
7235 arg1
= reinterpret_cast< wxDialog
* >(argp1
);
7236 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
7237 if (!SWIG_IsOK(res2
)) {
7238 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Dialog_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
7240 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
7242 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
7243 if (!SWIG_IsOK(ecode3
)) {
7244 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Dialog_Create" "', expected argument " "3"" of type '" "int""'");
7246 arg3
= static_cast< int >(val3
);
7250 arg4
= wxString_in_helper(obj3
);
7251 if (arg4
== NULL
) SWIG_fail
;
7258 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
7264 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
7268 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
7269 if (!SWIG_IsOK(ecode7
)) {
7270 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "Dialog_Create" "', expected argument " "7"" of type '" "long""'");
7272 arg7
= static_cast< long >(val7
);
7276 arg8
= wxString_in_helper(obj7
);
7277 if (arg8
== NULL
) SWIG_fail
;
7282 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7283 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
7284 wxPyEndAllowThreads(__tstate
);
7285 if (PyErr_Occurred()) SWIG_fail
;
7288 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7312 SWIGINTERN PyObject
*_wrap_Dialog_SetReturnCode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7313 PyObject
*resultobj
= 0;
7314 wxDialog
*arg1
= (wxDialog
*) 0 ;
7320 PyObject
* obj0
= 0 ;
7321 PyObject
* obj1
= 0 ;
7322 char * kwnames
[] = {
7323 (char *) "self",(char *) "returnCode", NULL
7326 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Dialog_SetReturnCode",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7327 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDialog
, 0 | 0 );
7328 if (!SWIG_IsOK(res1
)) {
7329 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Dialog_SetReturnCode" "', expected argument " "1"" of type '" "wxDialog *""'");
7331 arg1
= reinterpret_cast< wxDialog
* >(argp1
);
7332 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
7333 if (!SWIG_IsOK(ecode2
)) {
7334 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Dialog_SetReturnCode" "', expected argument " "2"" of type '" "int""'");
7336 arg2
= static_cast< int >(val2
);
7338 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7339 (arg1
)->SetReturnCode(arg2
);
7340 wxPyEndAllowThreads(__tstate
);
7341 if (PyErr_Occurred()) SWIG_fail
;
7343 resultobj
= SWIG_Py_Void();
7350 SWIGINTERN PyObject
*_wrap_Dialog_GetReturnCode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7351 PyObject
*resultobj
= 0;
7352 wxDialog
*arg1
= (wxDialog
*) 0 ;
7356 PyObject
*swig_obj
[1] ;
7358 if (!args
) SWIG_fail
;
7360 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDialog
, 0 | 0 );
7361 if (!SWIG_IsOK(res1
)) {
7362 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Dialog_GetReturnCode" "', expected argument " "1"" of type '" "wxDialog const *""'");
7364 arg1
= reinterpret_cast< wxDialog
* >(argp1
);
7366 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7367 result
= (int)((wxDialog
const *)arg1
)->GetReturnCode();
7368 wxPyEndAllowThreads(__tstate
);
7369 if (PyErr_Occurred()) SWIG_fail
;
7371 resultobj
= SWIG_From_int(static_cast< int >(result
));
7378 SWIGINTERN PyObject
*_wrap_Dialog_SetAffirmativeId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7379 PyObject
*resultobj
= 0;
7380 wxDialog
*arg1
= (wxDialog
*) 0 ;
7386 PyObject
* obj0
= 0 ;
7387 PyObject
* obj1
= 0 ;
7388 char * kwnames
[] = {
7389 (char *) "self",(char *) "affirmativeId", NULL
7392 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Dialog_SetAffirmativeId",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7393 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDialog
, 0 | 0 );
7394 if (!SWIG_IsOK(res1
)) {
7395 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Dialog_SetAffirmativeId" "', expected argument " "1"" of type '" "wxDialog *""'");
7397 arg1
= reinterpret_cast< wxDialog
* >(argp1
);
7398 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
7399 if (!SWIG_IsOK(ecode2
)) {
7400 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Dialog_SetAffirmativeId" "', expected argument " "2"" of type '" "int""'");
7402 arg2
= static_cast< int >(val2
);
7404 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7405 (arg1
)->SetAffirmativeId(arg2
);
7406 wxPyEndAllowThreads(__tstate
);
7407 if (PyErr_Occurred()) SWIG_fail
;
7409 resultobj
= SWIG_Py_Void();
7416 SWIGINTERN PyObject
*_wrap_Dialog_GetAffirmativeId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7417 PyObject
*resultobj
= 0;
7418 wxDialog
*arg1
= (wxDialog
*) 0 ;
7422 PyObject
*swig_obj
[1] ;
7424 if (!args
) SWIG_fail
;
7426 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDialog
, 0 | 0 );
7427 if (!SWIG_IsOK(res1
)) {
7428 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Dialog_GetAffirmativeId" "', expected argument " "1"" of type '" "wxDialog const *""'");
7430 arg1
= reinterpret_cast< wxDialog
* >(argp1
);
7432 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7433 result
= (int)((wxDialog
const *)arg1
)->GetAffirmativeId();
7434 wxPyEndAllowThreads(__tstate
);
7435 if (PyErr_Occurred()) SWIG_fail
;
7437 resultobj
= SWIG_From_int(static_cast< int >(result
));
7444 SWIGINTERN PyObject
*_wrap_Dialog_SetEscapeId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7445 PyObject
*resultobj
= 0;
7446 wxDialog
*arg1
= (wxDialog
*) 0 ;
7452 PyObject
* obj0
= 0 ;
7453 PyObject
* obj1
= 0 ;
7454 char * kwnames
[] = {
7455 (char *) "self",(char *) "escapeId", NULL
7458 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Dialog_SetEscapeId",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7459 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDialog
, 0 | 0 );
7460 if (!SWIG_IsOK(res1
)) {
7461 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Dialog_SetEscapeId" "', expected argument " "1"" of type '" "wxDialog *""'");
7463 arg1
= reinterpret_cast< wxDialog
* >(argp1
);
7464 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
7465 if (!SWIG_IsOK(ecode2
)) {
7466 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Dialog_SetEscapeId" "', expected argument " "2"" of type '" "int""'");
7468 arg2
= static_cast< int >(val2
);
7470 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7471 (arg1
)->SetEscapeId(arg2
);
7472 wxPyEndAllowThreads(__tstate
);
7473 if (PyErr_Occurred()) SWIG_fail
;
7475 resultobj
= SWIG_Py_Void();
7482 SWIGINTERN PyObject
*_wrap_Dialog_GetEscapeId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7483 PyObject
*resultobj
= 0;
7484 wxDialog
*arg1
= (wxDialog
*) 0 ;
7488 PyObject
*swig_obj
[1] ;
7490 if (!args
) SWIG_fail
;
7492 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDialog
, 0 | 0 );
7493 if (!SWIG_IsOK(res1
)) {
7494 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Dialog_GetEscapeId" "', expected argument " "1"" of type '" "wxDialog const *""'");
7496 arg1
= reinterpret_cast< wxDialog
* >(argp1
);
7498 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7499 result
= (int)((wxDialog
const *)arg1
)->GetEscapeId();
7500 wxPyEndAllowThreads(__tstate
);
7501 if (PyErr_Occurred()) SWIG_fail
;
7503 resultobj
= SWIG_From_int(static_cast< int >(result
));
7510 SWIGINTERN PyObject
*_wrap_Dialog_CreateTextSizer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7511 PyObject
*resultobj
= 0;
7512 wxDialog
*arg1
= (wxDialog
*) 0 ;
7513 wxString
*arg2
= 0 ;
7514 wxSizer
*result
= 0 ;
7517 bool temp2
= false ;
7518 PyObject
* obj0
= 0 ;
7519 PyObject
* obj1
= 0 ;
7520 char * kwnames
[] = {
7521 (char *) "self",(char *) "message", NULL
7524 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Dialog_CreateTextSizer",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7525 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDialog
, 0 | 0 );
7526 if (!SWIG_IsOK(res1
)) {
7527 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Dialog_CreateTextSizer" "', expected argument " "1"" of type '" "wxDialog *""'");
7529 arg1
= reinterpret_cast< wxDialog
* >(argp1
);
7531 arg2
= wxString_in_helper(obj1
);
7532 if (arg2
== NULL
) SWIG_fail
;
7536 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7537 result
= (wxSizer
*)(arg1
)->CreateTextSizer((wxString
const &)*arg2
);
7538 wxPyEndAllowThreads(__tstate
);
7539 if (PyErr_Occurred()) SWIG_fail
;
7542 resultobj
= wxPyMake_wxObject(result
, (bool)0);
7558 SWIGINTERN PyObject
*_wrap_Dialog_CreateButtonSizer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7559 PyObject
*resultobj
= 0;
7560 wxDialog
*arg1
= (wxDialog
*) 0 ;
7562 bool arg3
= (bool) false ;
7563 int arg4
= (int) 0 ;
7564 wxSizer
*result
= 0 ;
7573 PyObject
* obj0
= 0 ;
7574 PyObject
* obj1
= 0 ;
7575 PyObject
* obj2
= 0 ;
7576 PyObject
* obj3
= 0 ;
7577 char * kwnames
[] = {
7578 (char *) "self",(char *) "flags",(char *) "separated",(char *) "distance", NULL
7581 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:Dialog_CreateButtonSizer",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) 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_CreateButtonSizer" "', expected argument " "1"" of type '" "wxDialog *""'");
7586 arg1
= reinterpret_cast< wxDialog
* >(argp1
);
7587 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
7588 if (!SWIG_IsOK(ecode2
)) {
7589 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Dialog_CreateButtonSizer" "', expected argument " "2"" of type '" "long""'");
7591 arg2
= static_cast< long >(val2
);
7593 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
7594 if (!SWIG_IsOK(ecode3
)) {
7595 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Dialog_CreateButtonSizer" "', expected argument " "3"" of type '" "bool""'");
7597 arg3
= static_cast< bool >(val3
);
7600 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
7601 if (!SWIG_IsOK(ecode4
)) {
7602 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Dialog_CreateButtonSizer" "', expected argument " "4"" of type '" "int""'");
7604 arg4
= static_cast< int >(val4
);
7607 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7608 result
= (wxSizer
*)(arg1
)->CreateButtonSizer(arg2
,arg3
,arg4
);
7609 wxPyEndAllowThreads(__tstate
);
7610 if (PyErr_Occurred()) SWIG_fail
;
7613 resultobj
= wxPyMake_wxObject(result
, (bool)0);
7621 SWIGINTERN PyObject
*_wrap_Dialog_CreateStdDialogButtonSizer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7622 PyObject
*resultobj
= 0;
7623 wxDialog
*arg1
= (wxDialog
*) 0 ;
7625 wxStdDialogButtonSizer
*result
= 0 ;
7630 PyObject
* obj0
= 0 ;
7631 PyObject
* obj1
= 0 ;
7632 char * kwnames
[] = {
7633 (char *) "self",(char *) "flags", NULL
7636 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Dialog_CreateStdDialogButtonSizer",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7637 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDialog
, 0 | 0 );
7638 if (!SWIG_IsOK(res1
)) {
7639 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Dialog_CreateStdDialogButtonSizer" "', expected argument " "1"" of type '" "wxDialog *""'");
7641 arg1
= reinterpret_cast< wxDialog
* >(argp1
);
7642 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
7643 if (!SWIG_IsOK(ecode2
)) {
7644 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Dialog_CreateStdDialogButtonSizer" "', expected argument " "2"" of type '" "long""'");
7646 arg2
= static_cast< long >(val2
);
7648 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7649 result
= (wxStdDialogButtonSizer
*)(arg1
)->CreateStdDialogButtonSizer(arg2
);
7650 wxPyEndAllowThreads(__tstate
);
7651 if (PyErr_Occurred()) SWIG_fail
;
7653 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxStdDialogButtonSizer
, 0 | 0 );
7660 SWIGINTERN PyObject
*_wrap_Dialog_IsModal(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7661 PyObject
*resultobj
= 0;
7662 wxDialog
*arg1
= (wxDialog
*) 0 ;
7666 PyObject
*swig_obj
[1] ;
7668 if (!args
) SWIG_fail
;
7670 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDialog
, 0 | 0 );
7671 if (!SWIG_IsOK(res1
)) {
7672 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Dialog_IsModal" "', expected argument " "1"" of type '" "wxDialog const *""'");
7674 arg1
= reinterpret_cast< wxDialog
* >(argp1
);
7676 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7677 result
= (bool)((wxDialog
const *)arg1
)->IsModal();
7678 wxPyEndAllowThreads(__tstate
);
7679 if (PyErr_Occurred()) SWIG_fail
;
7682 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7690 SWIGINTERN PyObject
*_wrap_Dialog_ShowModal(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7691 PyObject
*resultobj
= 0;
7692 wxDialog
*arg1
= (wxDialog
*) 0 ;
7696 PyObject
*swig_obj
[1] ;
7698 if (!args
) SWIG_fail
;
7700 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDialog
, 0 | 0 );
7701 if (!SWIG_IsOK(res1
)) {
7702 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Dialog_ShowModal" "', expected argument " "1"" of type '" "wxDialog *""'");
7704 arg1
= reinterpret_cast< wxDialog
* >(argp1
);
7706 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7707 result
= (int)(arg1
)->ShowModal();
7708 wxPyEndAllowThreads(__tstate
);
7709 if (PyErr_Occurred()) SWIG_fail
;
7711 resultobj
= SWIG_From_int(static_cast< int >(result
));
7718 SWIGINTERN PyObject
*_wrap_Dialog_EndModal(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7719 PyObject
*resultobj
= 0;
7720 wxDialog
*arg1
= (wxDialog
*) 0 ;
7726 PyObject
* obj0
= 0 ;
7727 PyObject
* obj1
= 0 ;
7728 char * kwnames
[] = {
7729 (char *) "self",(char *) "retCode", NULL
7732 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Dialog_EndModal",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7733 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDialog
, 0 | 0 );
7734 if (!SWIG_IsOK(res1
)) {
7735 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Dialog_EndModal" "', expected argument " "1"" of type '" "wxDialog *""'");
7737 arg1
= reinterpret_cast< wxDialog
* >(argp1
);
7738 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
7739 if (!SWIG_IsOK(ecode2
)) {
7740 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Dialog_EndModal" "', expected argument " "2"" of type '" "int""'");
7742 arg2
= static_cast< int >(val2
);
7744 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7745 (arg1
)->EndModal(arg2
);
7746 wxPyEndAllowThreads(__tstate
);
7747 if (PyErr_Occurred()) SWIG_fail
;
7749 resultobj
= SWIG_Py_Void();
7756 SWIGINTERN PyObject
*_wrap_Dialog_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7757 PyObject
*resultobj
= 0;
7758 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
7759 SwigValueWrapper
<wxVisualAttributes
> result
;
7762 PyObject
* obj0
= 0 ;
7763 char * kwnames
[] = {
7764 (char *) "variant", NULL
7767 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Dialog_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
7769 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
7770 if (!SWIG_IsOK(ecode1
)) {
7771 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "Dialog_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
7773 arg1
= static_cast< wxWindowVariant
>(val1
);
7776 if (!wxPyCheckForApp()) SWIG_fail
;
7777 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7778 result
= wxDialog::GetClassDefaultAttributes(arg1
);
7779 wxPyEndAllowThreads(__tstate
);
7780 if (PyErr_Occurred()) SWIG_fail
;
7782 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
7789 SWIGINTERN PyObject
*Dialog_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7791 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
7792 SWIG_TypeNewClientData(SWIGTYPE_p_wxDialog
, SWIG_NewClientData(obj
));
7793 return SWIG_Py_Void();
7796 SWIGINTERN PyObject
*Dialog_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7797 return SWIG_Python_InitShadowInstance(args
);
7800 SWIGINTERN PyObject
*_wrap_new_MiniFrame(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7801 PyObject
*resultobj
= 0;
7802 wxWindow
*arg1
= (wxWindow
*) 0 ;
7803 int arg2
= (int) (int)-1 ;
7804 wxString
const &arg3_defvalue
= wxPyEmptyString
;
7805 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
7806 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
7807 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
7808 wxSize
const &arg5_defvalue
= wxDefaultSize
;
7809 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
7810 long arg6
= (long) wxDEFAULT_FRAME_STYLE
;
7811 wxString
const &arg7_defvalue
= wxPyFrameNameStr
;
7812 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
7813 wxMiniFrame
*result
= 0 ;
7818 bool temp3
= false ;
7823 bool temp7
= false ;
7824 PyObject
* obj0
= 0 ;
7825 PyObject
* obj1
= 0 ;
7826 PyObject
* obj2
= 0 ;
7827 PyObject
* obj3
= 0 ;
7828 PyObject
* obj4
= 0 ;
7829 PyObject
* obj5
= 0 ;
7830 PyObject
* obj6
= 0 ;
7831 char * kwnames
[] = {
7832 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
7835 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_MiniFrame",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
7836 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
7837 if (!SWIG_IsOK(res1
)) {
7838 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_MiniFrame" "', expected argument " "1"" of type '" "wxWindow *""'");
7840 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
7842 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
7843 if (!SWIG_IsOK(ecode2
)) {
7844 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_MiniFrame" "', expected argument " "2"" of type '" "int""'");
7846 arg2
= static_cast< int >(val2
);
7850 arg3
= wxString_in_helper(obj2
);
7851 if (arg3
== NULL
) SWIG_fail
;
7858 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
7864 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
7868 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
7869 if (!SWIG_IsOK(ecode6
)) {
7870 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_MiniFrame" "', expected argument " "6"" of type '" "long""'");
7872 arg6
= static_cast< long >(val6
);
7876 arg7
= wxString_in_helper(obj6
);
7877 if (arg7
== NULL
) SWIG_fail
;
7882 if (!wxPyCheckForApp()) SWIG_fail
;
7883 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7884 result
= (wxMiniFrame
*)new wxMiniFrame(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
7885 wxPyEndAllowThreads(__tstate
);
7886 if (PyErr_Occurred()) SWIG_fail
;
7888 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMiniFrame
, SWIG_POINTER_NEW
| 0 );
7911 SWIGINTERN PyObject
*_wrap_new_PreMiniFrame(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7912 PyObject
*resultobj
= 0;
7913 wxMiniFrame
*result
= 0 ;
7915 if (!SWIG_Python_UnpackTuple(args
,"new_PreMiniFrame",0,0,0)) SWIG_fail
;
7917 if (!wxPyCheckForApp()) SWIG_fail
;
7918 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7919 result
= (wxMiniFrame
*)new wxMiniFrame();
7920 wxPyEndAllowThreads(__tstate
);
7921 if (PyErr_Occurred()) SWIG_fail
;
7923 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMiniFrame
, SWIG_POINTER_OWN
| 0 );
7930 SWIGINTERN PyObject
*_wrap_MiniFrame_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7931 PyObject
*resultobj
= 0;
7932 wxMiniFrame
*arg1
= (wxMiniFrame
*) 0 ;
7933 wxWindow
*arg2
= (wxWindow
*) 0 ;
7934 int arg3
= (int) (int)-1 ;
7935 wxString
const &arg4_defvalue
= wxPyEmptyString
;
7936 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
7937 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
7938 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
7939 wxSize
const &arg6_defvalue
= wxDefaultSize
;
7940 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
7941 long arg7
= (long) wxDEFAULT_FRAME_STYLE
;
7942 wxString
const &arg8_defvalue
= wxPyFrameNameStr
;
7943 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
7951 bool temp4
= false ;
7956 bool temp8
= false ;
7957 PyObject
* obj0
= 0 ;
7958 PyObject
* obj1
= 0 ;
7959 PyObject
* obj2
= 0 ;
7960 PyObject
* obj3
= 0 ;
7961 PyObject
* obj4
= 0 ;
7962 PyObject
* obj5
= 0 ;
7963 PyObject
* obj6
= 0 ;
7964 PyObject
* obj7
= 0 ;
7965 char * kwnames
[] = {
7966 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
7969 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:MiniFrame_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
7970 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMiniFrame
, 0 | 0 );
7971 if (!SWIG_IsOK(res1
)) {
7972 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MiniFrame_Create" "', expected argument " "1"" of type '" "wxMiniFrame *""'");
7974 arg1
= reinterpret_cast< wxMiniFrame
* >(argp1
);
7975 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
7976 if (!SWIG_IsOK(res2
)) {
7977 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "MiniFrame_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
7979 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
7981 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
7982 if (!SWIG_IsOK(ecode3
)) {
7983 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "MiniFrame_Create" "', expected argument " "3"" of type '" "int""'");
7985 arg3
= static_cast< int >(val3
);
7989 arg4
= wxString_in_helper(obj3
);
7990 if (arg4
== NULL
) SWIG_fail
;
7997 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
8003 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
8007 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
8008 if (!SWIG_IsOK(ecode7
)) {
8009 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "MiniFrame_Create" "', expected argument " "7"" of type '" "long""'");
8011 arg7
= static_cast< long >(val7
);
8015 arg8
= wxString_in_helper(obj7
);
8016 if (arg8
== NULL
) SWIG_fail
;
8021 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8022 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
8023 wxPyEndAllowThreads(__tstate
);
8024 if (PyErr_Occurred()) SWIG_fail
;
8027 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8051 SWIGINTERN PyObject
*MiniFrame_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8053 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
8054 SWIG_TypeNewClientData(SWIGTYPE_p_wxMiniFrame
, SWIG_NewClientData(obj
));
8055 return SWIG_Py_Void();
8058 SWIGINTERN PyObject
*MiniFrame_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8059 return SWIG_Python_InitShadowInstance(args
);
8062 SWIGINTERN PyObject
*_wrap_new_SplashScreenWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8063 PyObject
*resultobj
= 0;
8064 wxBitmap
*arg1
= 0 ;
8065 wxWindow
*arg2
= (wxWindow
*) 0 ;
8067 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
8068 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
8069 wxSize
const &arg5_defvalue
= wxDefaultSize
;
8070 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
8071 long arg6
= (long) wxNO_BORDER
;
8072 wxSplashScreenWindow
*result
= 0 ;
8083 PyObject
* obj0
= 0 ;
8084 PyObject
* obj1
= 0 ;
8085 PyObject
* obj2
= 0 ;
8086 PyObject
* obj3
= 0 ;
8087 PyObject
* obj4
= 0 ;
8088 PyObject
* obj5
= 0 ;
8089 char * kwnames
[] = {
8090 (char *) "bitmap",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
8093 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOO:new_SplashScreenWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
8094 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxBitmap
, 0 | 0);
8095 if (!SWIG_IsOK(res1
)) {
8096 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_SplashScreenWindow" "', expected argument " "1"" of type '" "wxBitmap const &""'");
8099 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_SplashScreenWindow" "', expected argument " "1"" of type '" "wxBitmap const &""'");
8101 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
8102 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
8103 if (!SWIG_IsOK(res2
)) {
8104 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_SplashScreenWindow" "', expected argument " "2"" of type '" "wxWindow *""'");
8106 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
8107 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
8108 if (!SWIG_IsOK(ecode3
)) {
8109 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_SplashScreenWindow" "', expected argument " "3"" of type '" "int""'");
8111 arg3
= static_cast< int >(val3
);
8115 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
8121 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
8125 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
8126 if (!SWIG_IsOK(ecode6
)) {
8127 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_SplashScreenWindow" "', expected argument " "6"" of type '" "long""'");
8129 arg6
= static_cast< long >(val6
);
8132 if (!wxPyCheckForApp()) SWIG_fail
;
8133 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8134 result
= (wxSplashScreenWindow
*)new wxSplashScreenWindow((wxBitmap
const &)*arg1
,arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
);
8135 wxPyEndAllowThreads(__tstate
);
8136 if (PyErr_Occurred()) SWIG_fail
;
8138 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSplashScreenWindow
, SWIG_POINTER_NEW
| 0 );
8145 SWIGINTERN PyObject
*_wrap_SplashScreenWindow_SetBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8146 PyObject
*resultobj
= 0;
8147 wxSplashScreenWindow
*arg1
= (wxSplashScreenWindow
*) 0 ;
8148 wxBitmap
*arg2
= 0 ;
8153 PyObject
* obj0
= 0 ;
8154 PyObject
* obj1
= 0 ;
8155 char * kwnames
[] = {
8156 (char *) "self",(char *) "bitmap", NULL
8159 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplashScreenWindow_SetBitmap",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
8160 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSplashScreenWindow
, 0 | 0 );
8161 if (!SWIG_IsOK(res1
)) {
8162 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplashScreenWindow_SetBitmap" "', expected argument " "1"" of type '" "wxSplashScreenWindow *""'");
8164 arg1
= reinterpret_cast< wxSplashScreenWindow
* >(argp1
);
8165 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
8166 if (!SWIG_IsOK(res2
)) {
8167 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "SplashScreenWindow_SetBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
8170 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "SplashScreenWindow_SetBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
8172 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
8174 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8175 (arg1
)->SetBitmap((wxBitmap
const &)*arg2
);
8176 wxPyEndAllowThreads(__tstate
);
8177 if (PyErr_Occurred()) SWIG_fail
;
8179 resultobj
= SWIG_Py_Void();
8186 SWIGINTERN PyObject
*_wrap_SplashScreenWindow_GetBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8187 PyObject
*resultobj
= 0;
8188 wxSplashScreenWindow
*arg1
= (wxSplashScreenWindow
*) 0 ;
8189 wxBitmap
*result
= 0 ;
8192 PyObject
*swig_obj
[1] ;
8194 if (!args
) SWIG_fail
;
8196 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplashScreenWindow
, 0 | 0 );
8197 if (!SWIG_IsOK(res1
)) {
8198 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplashScreenWindow_GetBitmap" "', expected argument " "1"" of type '" "wxSplashScreenWindow *""'");
8200 arg1
= reinterpret_cast< wxSplashScreenWindow
* >(argp1
);
8202 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8204 wxBitmap
&_result_ref
= (arg1
)->GetBitmap();
8205 result
= (wxBitmap
*) &_result_ref
;
8207 wxPyEndAllowThreads(__tstate
);
8208 if (PyErr_Occurred()) SWIG_fail
;
8211 wxBitmap
* resultptr
= new wxBitmap(*result
);
8212 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
8220 SWIGINTERN PyObject
*SplashScreenWindow_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8222 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
8223 SWIG_TypeNewClientData(SWIGTYPE_p_wxSplashScreenWindow
, SWIG_NewClientData(obj
));
8224 return SWIG_Py_Void();
8227 SWIGINTERN PyObject
*SplashScreenWindow_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8228 return SWIG_Python_InitShadowInstance(args
);
8231 SWIGINTERN PyObject
*_wrap_new_SplashScreen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8232 PyObject
*resultobj
= 0;
8233 wxBitmap
*arg1
= 0 ;
8236 wxWindow
*arg4
= (wxWindow
*) 0 ;
8237 int arg5
= (int) -1 ;
8238 wxPoint
const &arg6_defvalue
= wxDefaultPosition
;
8239 wxPoint
*arg6
= (wxPoint
*) &arg6_defvalue
;
8240 wxSize
const &arg7_defvalue
= wxDefaultSize
;
8241 wxSize
*arg7
= (wxSize
*) &arg7_defvalue
;
8242 long arg8
= (long) wxSIMPLE_BORDER
|wxFRAME_NO_TASKBAR
|wxSTAY_ON_TOP
;
8243 wxSplashScreen
*result
= 0 ;
8258 PyObject
* obj0
= 0 ;
8259 PyObject
* obj1
= 0 ;
8260 PyObject
* obj2
= 0 ;
8261 PyObject
* obj3
= 0 ;
8262 PyObject
* obj4
= 0 ;
8263 PyObject
* obj5
= 0 ;
8264 PyObject
* obj6
= 0 ;
8265 PyObject
* obj7
= 0 ;
8266 char * kwnames
[] = {
8267 (char *) "bitmap",(char *) "splashStyle",(char *) "milliseconds",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
8270 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOOO:new_SplashScreen",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
8271 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxBitmap
, 0 | 0);
8272 if (!SWIG_IsOK(res1
)) {
8273 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_SplashScreen" "', expected argument " "1"" of type '" "wxBitmap const &""'");
8276 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_SplashScreen" "', expected argument " "1"" of type '" "wxBitmap const &""'");
8278 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
8279 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
8280 if (!SWIG_IsOK(ecode2
)) {
8281 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_SplashScreen" "', expected argument " "2"" of type '" "long""'");
8283 arg2
= static_cast< long >(val2
);
8284 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
8285 if (!SWIG_IsOK(ecode3
)) {
8286 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_SplashScreen" "', expected argument " "3"" of type '" "int""'");
8288 arg3
= static_cast< int >(val3
);
8289 res4
= SWIG_ConvertPtr(obj3
, &argp4
,SWIGTYPE_p_wxWindow
, 0 | 0 );
8290 if (!SWIG_IsOK(res4
)) {
8291 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "new_SplashScreen" "', expected argument " "4"" of type '" "wxWindow *""'");
8293 arg4
= reinterpret_cast< wxWindow
* >(argp4
);
8295 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
8296 if (!SWIG_IsOK(ecode5
)) {
8297 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_SplashScreen" "', expected argument " "5"" of type '" "int""'");
8299 arg5
= static_cast< int >(val5
);
8304 if ( ! wxPoint_helper(obj5
, &arg6
)) SWIG_fail
;
8310 if ( ! wxSize_helper(obj6
, &arg7
)) SWIG_fail
;
8314 ecode8
= SWIG_AsVal_long(obj7
, &val8
);
8315 if (!SWIG_IsOK(ecode8
)) {
8316 SWIG_exception_fail(SWIG_ArgError(ecode8
), "in method '" "new_SplashScreen" "', expected argument " "8"" of type '" "long""'");
8318 arg8
= static_cast< long >(val8
);
8321 if (!wxPyCheckForApp()) SWIG_fail
;
8322 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8323 result
= (wxSplashScreen
*)new wxSplashScreen((wxBitmap
const &)*arg1
,arg2
,arg3
,arg4
,arg5
,(wxPoint
const &)*arg6
,(wxSize
const &)*arg7
,arg8
);
8324 wxPyEndAllowThreads(__tstate
);
8325 if (PyErr_Occurred()) SWIG_fail
;
8327 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSplashScreen
, SWIG_POINTER_NEW
| 0 );
8334 SWIGINTERN PyObject
*_wrap_SplashScreen_GetSplashStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8335 PyObject
*resultobj
= 0;
8336 wxSplashScreen
*arg1
= (wxSplashScreen
*) 0 ;
8340 PyObject
*swig_obj
[1] ;
8342 if (!args
) SWIG_fail
;
8344 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplashScreen
, 0 | 0 );
8345 if (!SWIG_IsOK(res1
)) {
8346 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplashScreen_GetSplashStyle" "', expected argument " "1"" of type '" "wxSplashScreen const *""'");
8348 arg1
= reinterpret_cast< wxSplashScreen
* >(argp1
);
8350 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8351 result
= (long)((wxSplashScreen
const *)arg1
)->GetSplashStyle();
8352 wxPyEndAllowThreads(__tstate
);
8353 if (PyErr_Occurred()) SWIG_fail
;
8355 resultobj
= SWIG_From_long(static_cast< long >(result
));
8362 SWIGINTERN PyObject
*_wrap_SplashScreen_GetSplashWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8363 PyObject
*resultobj
= 0;
8364 wxSplashScreen
*arg1
= (wxSplashScreen
*) 0 ;
8365 wxSplashScreenWindow
*result
= 0 ;
8368 PyObject
*swig_obj
[1] ;
8370 if (!args
) SWIG_fail
;
8372 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplashScreen
, 0 | 0 );
8373 if (!SWIG_IsOK(res1
)) {
8374 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplashScreen_GetSplashWindow" "', expected argument " "1"" of type '" "wxSplashScreen const *""'");
8376 arg1
= reinterpret_cast< wxSplashScreen
* >(argp1
);
8378 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8379 result
= (wxSplashScreenWindow
*)((wxSplashScreen
const *)arg1
)->GetSplashWindow();
8380 wxPyEndAllowThreads(__tstate
);
8381 if (PyErr_Occurred()) SWIG_fail
;
8383 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSplashScreenWindow
, 0 | 0 );
8390 SWIGINTERN PyObject
*_wrap_SplashScreen_GetTimeout(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8391 PyObject
*resultobj
= 0;
8392 wxSplashScreen
*arg1
= (wxSplashScreen
*) 0 ;
8396 PyObject
*swig_obj
[1] ;
8398 if (!args
) SWIG_fail
;
8400 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplashScreen
, 0 | 0 );
8401 if (!SWIG_IsOK(res1
)) {
8402 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplashScreen_GetTimeout" "', expected argument " "1"" of type '" "wxSplashScreen const *""'");
8404 arg1
= reinterpret_cast< wxSplashScreen
* >(argp1
);
8406 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8407 result
= (int)((wxSplashScreen
const *)arg1
)->GetTimeout();
8408 wxPyEndAllowThreads(__tstate
);
8409 if (PyErr_Occurred()) SWIG_fail
;
8411 resultobj
= SWIG_From_int(static_cast< int >(result
));
8418 SWIGINTERN PyObject
*SplashScreen_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8420 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
8421 SWIG_TypeNewClientData(SWIGTYPE_p_wxSplashScreen
, SWIG_NewClientData(obj
));
8422 return SWIG_Py_Void();
8425 SWIGINTERN PyObject
*SplashScreen_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8426 return SWIG_Python_InitShadowInstance(args
);
8429 SWIGINTERN PyObject
*_wrap_new_StatusBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8430 PyObject
*resultobj
= 0;
8431 wxWindow
*arg1
= (wxWindow
*) 0 ;
8432 int arg2
= (int) -1 ;
8433 long arg3
= (long) wxDEFAULT_STATUSBAR_STYLE
;
8434 wxString
const &arg4_defvalue
= wxPyStatusLineNameStr
;
8435 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
8436 wxStatusBar
*result
= 0 ;
8443 bool temp4
= false ;
8444 PyObject
* obj0
= 0 ;
8445 PyObject
* obj1
= 0 ;
8446 PyObject
* obj2
= 0 ;
8447 PyObject
* obj3
= 0 ;
8448 char * kwnames
[] = {
8449 (char *) "parent",(char *) "id",(char *) "style",(char *) "name", NULL
8452 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOO:new_StatusBar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
8453 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
8454 if (!SWIG_IsOK(res1
)) {
8455 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_StatusBar" "', expected argument " "1"" of type '" "wxWindow *""'");
8457 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
8459 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
8460 if (!SWIG_IsOK(ecode2
)) {
8461 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_StatusBar" "', expected argument " "2"" of type '" "int""'");
8463 arg2
= static_cast< int >(val2
);
8466 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
8467 if (!SWIG_IsOK(ecode3
)) {
8468 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_StatusBar" "', expected argument " "3"" of type '" "long""'");
8470 arg3
= static_cast< long >(val3
);
8474 arg4
= wxString_in_helper(obj3
);
8475 if (arg4
== NULL
) SWIG_fail
;
8480 if (!wxPyCheckForApp()) SWIG_fail
;
8481 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8482 result
= (wxStatusBar
*)new wxStatusBar(arg1
,arg2
,arg3
,(wxString
const &)*arg4
);
8483 wxPyEndAllowThreads(__tstate
);
8484 if (PyErr_Occurred()) SWIG_fail
;
8486 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxStatusBar
, SWIG_POINTER_NEW
| 0 );
8501 SWIGINTERN PyObject
*_wrap_new_PreStatusBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8502 PyObject
*resultobj
= 0;
8503 wxStatusBar
*result
= 0 ;
8505 if (!SWIG_Python_UnpackTuple(args
,"new_PreStatusBar",0,0,0)) SWIG_fail
;
8507 if (!wxPyCheckForApp()) SWIG_fail
;
8508 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8509 result
= (wxStatusBar
*)new wxStatusBar();
8510 wxPyEndAllowThreads(__tstate
);
8511 if (PyErr_Occurred()) SWIG_fail
;
8513 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxStatusBar
, SWIG_POINTER_OWN
| 0 );
8520 SWIGINTERN PyObject
*_wrap_StatusBar_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8521 PyObject
*resultobj
= 0;
8522 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
8523 wxWindow
*arg2
= (wxWindow
*) 0 ;
8524 int arg3
= (int) -1 ;
8525 long arg4
= (long) wxST_SIZEGRIP
;
8526 wxString
const &arg5_defvalue
= wxPyStatusLineNameStr
;
8527 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
8537 bool temp5
= false ;
8538 PyObject
* obj0
= 0 ;
8539 PyObject
* obj1
= 0 ;
8540 PyObject
* obj2
= 0 ;
8541 PyObject
* obj3
= 0 ;
8542 PyObject
* obj4
= 0 ;
8543 char * kwnames
[] = {
8544 (char *) "self",(char *) "parent",(char *) "id",(char *) "style",(char *) "name", NULL
8547 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:StatusBar_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
8548 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStatusBar
, 0 | 0 );
8549 if (!SWIG_IsOK(res1
)) {
8550 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StatusBar_Create" "', expected argument " "1"" of type '" "wxStatusBar *""'");
8552 arg1
= reinterpret_cast< wxStatusBar
* >(argp1
);
8553 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
8554 if (!SWIG_IsOK(res2
)) {
8555 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "StatusBar_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
8557 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
8559 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
8560 if (!SWIG_IsOK(ecode3
)) {
8561 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "StatusBar_Create" "', expected argument " "3"" of type '" "int""'");
8563 arg3
= static_cast< int >(val3
);
8566 ecode4
= SWIG_AsVal_long(obj3
, &val4
);
8567 if (!SWIG_IsOK(ecode4
)) {
8568 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "StatusBar_Create" "', expected argument " "4"" of type '" "long""'");
8570 arg4
= static_cast< long >(val4
);
8574 arg5
= wxString_in_helper(obj4
);
8575 if (arg5
== NULL
) SWIG_fail
;
8580 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8581 result
= (bool)(arg1
)->Create(arg2
,arg3
,arg4
,(wxString
const &)*arg5
);
8582 wxPyEndAllowThreads(__tstate
);
8583 if (PyErr_Occurred()) SWIG_fail
;
8586 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8602 SWIGINTERN PyObject
*_wrap_StatusBar_SetFieldsCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8603 PyObject
*resultobj
= 0;
8604 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
8605 int arg2
= (int) 1 ;
8610 PyObject
* obj0
= 0 ;
8611 PyObject
* obj1
= 0 ;
8612 char * kwnames
[] = {
8613 (char *) "self",(char *) "number", NULL
8616 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:StatusBar_SetFieldsCount",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
8617 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStatusBar
, 0 | 0 );
8618 if (!SWIG_IsOK(res1
)) {
8619 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StatusBar_SetFieldsCount" "', expected argument " "1"" of type '" "wxStatusBar *""'");
8621 arg1
= reinterpret_cast< wxStatusBar
* >(argp1
);
8623 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
8624 if (!SWIG_IsOK(ecode2
)) {
8625 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "StatusBar_SetFieldsCount" "', expected argument " "2"" of type '" "int""'");
8627 arg2
= static_cast< int >(val2
);
8630 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8631 (arg1
)->SetFieldsCount(arg2
);
8632 wxPyEndAllowThreads(__tstate
);
8633 if (PyErr_Occurred()) SWIG_fail
;
8635 resultobj
= SWIG_Py_Void();
8642 SWIGINTERN PyObject
*_wrap_StatusBar_GetFieldsCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8643 PyObject
*resultobj
= 0;
8644 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
8648 PyObject
*swig_obj
[1] ;
8650 if (!args
) SWIG_fail
;
8652 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxStatusBar
, 0 | 0 );
8653 if (!SWIG_IsOK(res1
)) {
8654 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StatusBar_GetFieldsCount" "', expected argument " "1"" of type '" "wxStatusBar const *""'");
8656 arg1
= reinterpret_cast< wxStatusBar
* >(argp1
);
8658 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8659 result
= (int)((wxStatusBar
const *)arg1
)->GetFieldsCount();
8660 wxPyEndAllowThreads(__tstate
);
8661 if (PyErr_Occurred()) SWIG_fail
;
8663 resultobj
= SWIG_From_int(static_cast< int >(result
));
8670 SWIGINTERN PyObject
*_wrap_StatusBar_SetStatusText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8671 PyObject
*resultobj
= 0;
8672 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
8673 wxString
*arg2
= 0 ;
8674 int arg3
= (int) 0 ;
8677 bool temp2
= false ;
8680 PyObject
* obj0
= 0 ;
8681 PyObject
* obj1
= 0 ;
8682 PyObject
* obj2
= 0 ;
8683 char * kwnames
[] = {
8684 (char *) "self",(char *) "text",(char *) "number", NULL
8687 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:StatusBar_SetStatusText",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
8688 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStatusBar
, 0 | 0 );
8689 if (!SWIG_IsOK(res1
)) {
8690 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StatusBar_SetStatusText" "', expected argument " "1"" of type '" "wxStatusBar *""'");
8692 arg1
= reinterpret_cast< wxStatusBar
* >(argp1
);
8694 arg2
= wxString_in_helper(obj1
);
8695 if (arg2
== NULL
) SWIG_fail
;
8699 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
8700 if (!SWIG_IsOK(ecode3
)) {
8701 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "StatusBar_SetStatusText" "', expected argument " "3"" of type '" "int""'");
8703 arg3
= static_cast< int >(val3
);
8706 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8707 (arg1
)->SetStatusText((wxString
const &)*arg2
,arg3
);
8708 wxPyEndAllowThreads(__tstate
);
8709 if (PyErr_Occurred()) SWIG_fail
;
8711 resultobj
= SWIG_Py_Void();
8726 SWIGINTERN PyObject
*_wrap_StatusBar_GetStatusText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8727 PyObject
*resultobj
= 0;
8728 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
8729 int arg2
= (int) 0 ;
8735 PyObject
* obj0
= 0 ;
8736 PyObject
* obj1
= 0 ;
8737 char * kwnames
[] = {
8738 (char *) "self",(char *) "number", NULL
8741 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:StatusBar_GetStatusText",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
8742 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStatusBar
, 0 | 0 );
8743 if (!SWIG_IsOK(res1
)) {
8744 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StatusBar_GetStatusText" "', expected argument " "1"" of type '" "wxStatusBar const *""'");
8746 arg1
= reinterpret_cast< wxStatusBar
* >(argp1
);
8748 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
8749 if (!SWIG_IsOK(ecode2
)) {
8750 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "StatusBar_GetStatusText" "', expected argument " "2"" of type '" "int""'");
8752 arg2
= static_cast< int >(val2
);
8755 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8756 result
= ((wxStatusBar
const *)arg1
)->GetStatusText(arg2
);
8757 wxPyEndAllowThreads(__tstate
);
8758 if (PyErr_Occurred()) SWIG_fail
;
8762 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8764 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8773 SWIGINTERN PyObject
*_wrap_StatusBar_PushStatusText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8774 PyObject
*resultobj
= 0;
8775 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
8776 wxString
*arg2
= 0 ;
8777 int arg3
= (int) 0 ;
8780 bool temp2
= false ;
8783 PyObject
* obj0
= 0 ;
8784 PyObject
* obj1
= 0 ;
8785 PyObject
* obj2
= 0 ;
8786 char * kwnames
[] = {
8787 (char *) "self",(char *) "text",(char *) "number", NULL
8790 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:StatusBar_PushStatusText",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
8791 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStatusBar
, 0 | 0 );
8792 if (!SWIG_IsOK(res1
)) {
8793 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StatusBar_PushStatusText" "', expected argument " "1"" of type '" "wxStatusBar *""'");
8795 arg1
= reinterpret_cast< wxStatusBar
* >(argp1
);
8797 arg2
= wxString_in_helper(obj1
);
8798 if (arg2
== NULL
) SWIG_fail
;
8802 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
8803 if (!SWIG_IsOK(ecode3
)) {
8804 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "StatusBar_PushStatusText" "', expected argument " "3"" of type '" "int""'");
8806 arg3
= static_cast< int >(val3
);
8809 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8810 (arg1
)->PushStatusText((wxString
const &)*arg2
,arg3
);
8811 wxPyEndAllowThreads(__tstate
);
8812 if (PyErr_Occurred()) SWIG_fail
;
8814 resultobj
= SWIG_Py_Void();
8829 SWIGINTERN PyObject
*_wrap_StatusBar_PopStatusText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8830 PyObject
*resultobj
= 0;
8831 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
8832 int arg2
= (int) 0 ;
8837 PyObject
* obj0
= 0 ;
8838 PyObject
* obj1
= 0 ;
8839 char * kwnames
[] = {
8840 (char *) "self",(char *) "number", NULL
8843 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:StatusBar_PopStatusText",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
8844 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStatusBar
, 0 | 0 );
8845 if (!SWIG_IsOK(res1
)) {
8846 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StatusBar_PopStatusText" "', expected argument " "1"" of type '" "wxStatusBar *""'");
8848 arg1
= reinterpret_cast< wxStatusBar
* >(argp1
);
8850 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
8851 if (!SWIG_IsOK(ecode2
)) {
8852 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "StatusBar_PopStatusText" "', expected argument " "2"" of type '" "int""'");
8854 arg2
= static_cast< int >(val2
);
8857 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8858 (arg1
)->PopStatusText(arg2
);
8859 wxPyEndAllowThreads(__tstate
);
8860 if (PyErr_Occurred()) SWIG_fail
;
8862 resultobj
= SWIG_Py_Void();
8869 SWIGINTERN PyObject
*_wrap_StatusBar_SetStatusWidths(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8870 PyObject
*resultobj
= 0;
8871 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
8873 int *arg3
= (int *) 0 ;
8876 PyObject
* obj0
= 0 ;
8877 PyObject
* obj1
= 0 ;
8878 char * kwnames
[] = {
8879 (char *) "self",(char *) "widths", NULL
8882 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StatusBar_SetStatusWidths",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
8883 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStatusBar
, 0 | 0 );
8884 if (!SWIG_IsOK(res1
)) {
8885 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StatusBar_SetStatusWidths" "', expected argument " "1"" of type '" "wxStatusBar *""'");
8887 arg1
= reinterpret_cast< wxStatusBar
* >(argp1
);
8889 arg2
= PyList_Size(obj1
);
8890 arg3
= int_LIST_helper(obj1
);
8891 if (arg3
== NULL
) SWIG_fail
;
8894 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8895 (arg1
)->SetStatusWidths(arg2
,(int const *)arg3
);
8896 wxPyEndAllowThreads(__tstate
);
8897 if (PyErr_Occurred()) SWIG_fail
;
8899 resultobj
= SWIG_Py_Void();
8901 if (arg3
) delete [] arg3
;
8906 if (arg3
) delete [] arg3
;
8912 SWIGINTERN PyObject
*_wrap_StatusBar_SetStatusStyles(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8913 PyObject
*resultobj
= 0;
8914 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
8916 int *arg3
= (int *) 0 ;
8919 PyObject
* obj0
= 0 ;
8920 PyObject
* obj1
= 0 ;
8921 char * kwnames
[] = {
8922 (char *) "self",(char *) "styles", NULL
8925 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StatusBar_SetStatusStyles",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
8926 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStatusBar
, 0 | 0 );
8927 if (!SWIG_IsOK(res1
)) {
8928 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StatusBar_SetStatusStyles" "', expected argument " "1"" of type '" "wxStatusBar *""'");
8930 arg1
= reinterpret_cast< wxStatusBar
* >(argp1
);
8932 arg2
= PyList_Size(obj1
);
8933 arg3
= int_LIST_helper(obj1
);
8934 if (arg3
== NULL
) SWIG_fail
;
8937 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8938 (arg1
)->SetStatusStyles(arg2
,(int const *)arg3
);
8939 wxPyEndAllowThreads(__tstate
);
8940 if (PyErr_Occurred()) SWIG_fail
;
8942 resultobj
= SWIG_Py_Void();
8944 if (arg3
) delete [] arg3
;
8949 if (arg3
) delete [] arg3
;
8955 SWIGINTERN PyObject
*_wrap_StatusBar_GetFieldRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8956 PyObject
*resultobj
= 0;
8957 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
8964 PyObject
* obj0
= 0 ;
8965 PyObject
* obj1
= 0 ;
8966 char * kwnames
[] = {
8967 (char *) "self",(char *) "i", NULL
8970 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StatusBar_GetFieldRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
8971 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStatusBar
, 0 | 0 );
8972 if (!SWIG_IsOK(res1
)) {
8973 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StatusBar_GetFieldRect" "', expected argument " "1"" of type '" "wxStatusBar *""'");
8975 arg1
= reinterpret_cast< wxStatusBar
* >(argp1
);
8976 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
8977 if (!SWIG_IsOK(ecode2
)) {
8978 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "StatusBar_GetFieldRect" "', expected argument " "2"" of type '" "int""'");
8980 arg2
= static_cast< int >(val2
);
8982 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8983 result
= wxStatusBar_GetFieldRect(arg1
,arg2
);
8984 wxPyEndAllowThreads(__tstate
);
8985 if (PyErr_Occurred()) SWIG_fail
;
8987 resultobj
= SWIG_NewPointerObj((new wxRect(static_cast< const wxRect
& >(result
))), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN
| 0 );
8994 SWIGINTERN PyObject
*_wrap_StatusBar_SetMinHeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8995 PyObject
*resultobj
= 0;
8996 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
9002 PyObject
* obj0
= 0 ;
9003 PyObject
* obj1
= 0 ;
9004 char * kwnames
[] = {
9005 (char *) "self",(char *) "height", NULL
9008 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StatusBar_SetMinHeight",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9009 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStatusBar
, 0 | 0 );
9010 if (!SWIG_IsOK(res1
)) {
9011 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StatusBar_SetMinHeight" "', expected argument " "1"" of type '" "wxStatusBar *""'");
9013 arg1
= reinterpret_cast< wxStatusBar
* >(argp1
);
9014 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9015 if (!SWIG_IsOK(ecode2
)) {
9016 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "StatusBar_SetMinHeight" "', expected argument " "2"" of type '" "int""'");
9018 arg2
= static_cast< int >(val2
);
9020 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9021 (arg1
)->SetMinHeight(arg2
);
9022 wxPyEndAllowThreads(__tstate
);
9023 if (PyErr_Occurred()) SWIG_fail
;
9025 resultobj
= SWIG_Py_Void();
9032 SWIGINTERN PyObject
*_wrap_StatusBar_GetBorderX(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9033 PyObject
*resultobj
= 0;
9034 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
9038 PyObject
*swig_obj
[1] ;
9040 if (!args
) SWIG_fail
;
9042 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxStatusBar
, 0 | 0 );
9043 if (!SWIG_IsOK(res1
)) {
9044 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StatusBar_GetBorderX" "', expected argument " "1"" of type '" "wxStatusBar const *""'");
9046 arg1
= reinterpret_cast< wxStatusBar
* >(argp1
);
9048 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9049 result
= (int)((wxStatusBar
const *)arg1
)->GetBorderX();
9050 wxPyEndAllowThreads(__tstate
);
9051 if (PyErr_Occurred()) SWIG_fail
;
9053 resultobj
= SWIG_From_int(static_cast< int >(result
));
9060 SWIGINTERN PyObject
*_wrap_StatusBar_GetBorderY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9061 PyObject
*resultobj
= 0;
9062 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
9066 PyObject
*swig_obj
[1] ;
9068 if (!args
) SWIG_fail
;
9070 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxStatusBar
, 0 | 0 );
9071 if (!SWIG_IsOK(res1
)) {
9072 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StatusBar_GetBorderY" "', expected argument " "1"" of type '" "wxStatusBar const *""'");
9074 arg1
= reinterpret_cast< wxStatusBar
* >(argp1
);
9076 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9077 result
= (int)((wxStatusBar
const *)arg1
)->GetBorderY();
9078 wxPyEndAllowThreads(__tstate
);
9079 if (PyErr_Occurred()) SWIG_fail
;
9081 resultobj
= SWIG_From_int(static_cast< int >(result
));
9088 SWIGINTERN PyObject
*_wrap_StatusBar_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9089 PyObject
*resultobj
= 0;
9090 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
9091 SwigValueWrapper
<wxVisualAttributes
> result
;
9094 PyObject
* obj0
= 0 ;
9095 char * kwnames
[] = {
9096 (char *) "variant", NULL
9099 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:StatusBar_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
9101 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
9102 if (!SWIG_IsOK(ecode1
)) {
9103 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "StatusBar_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
9105 arg1
= static_cast< wxWindowVariant
>(val1
);
9108 if (!wxPyCheckForApp()) SWIG_fail
;
9109 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9110 result
= wxStatusBar::GetClassDefaultAttributes(arg1
);
9111 wxPyEndAllowThreads(__tstate
);
9112 if (PyErr_Occurred()) SWIG_fail
;
9114 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
9121 SWIGINTERN PyObject
*StatusBar_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9123 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
9124 SWIG_TypeNewClientData(SWIGTYPE_p_wxStatusBar
, SWIG_NewClientData(obj
));
9125 return SWIG_Py_Void();
9128 SWIGINTERN PyObject
*StatusBar_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9129 return SWIG_Python_InitShadowInstance(args
);
9132 SWIGINTERN
int SplitterNameStr_set(PyObject
*) {
9133 SWIG_Error(SWIG_AttributeError
,"Variable SplitterNameStr is read-only.");
9138 SWIGINTERN PyObject
*SplitterNameStr_get(void) {
9139 PyObject
*pyobj
= 0;
9143 pyobj
= PyUnicode_FromWideChar((&wxPySplitterNameStr
)->c_str(), (&wxPySplitterNameStr
)->Len());
9145 pyobj
= PyString_FromStringAndSize((&wxPySplitterNameStr
)->c_str(), (&wxPySplitterNameStr
)->Len());
9152 SWIGINTERN PyObject
*_wrap_new_SplitterWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9153 PyObject
*resultobj
= 0;
9154 wxWindow
*arg1
= (wxWindow
*) 0 ;
9155 int arg2
= (int) -1 ;
9156 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
9157 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
9158 wxSize
const &arg4_defvalue
= wxDefaultSize
;
9159 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
9160 long arg5
= (long) wxSP_3D
;
9161 wxString
const &arg6_defvalue
= wxPySplitterNameStr
;
9162 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
9163 wxSplitterWindow
*result
= 0 ;
9172 bool temp6
= false ;
9173 PyObject
* obj0
= 0 ;
9174 PyObject
* obj1
= 0 ;
9175 PyObject
* obj2
= 0 ;
9176 PyObject
* obj3
= 0 ;
9177 PyObject
* obj4
= 0 ;
9178 PyObject
* obj5
= 0 ;
9179 char * kwnames
[] = {
9180 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
9183 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_SplitterWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
9184 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
9185 if (!SWIG_IsOK(res1
)) {
9186 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_SplitterWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
9188 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
9190 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9191 if (!SWIG_IsOK(ecode2
)) {
9192 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_SplitterWindow" "', expected argument " "2"" of type '" "int""'");
9194 arg2
= static_cast< int >(val2
);
9199 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
9205 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
9209 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
9210 if (!SWIG_IsOK(ecode5
)) {
9211 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_SplitterWindow" "', expected argument " "5"" of type '" "long""'");
9213 arg5
= static_cast< long >(val5
);
9217 arg6
= wxString_in_helper(obj5
);
9218 if (arg6
== NULL
) SWIG_fail
;
9223 if (!wxPyCheckForApp()) SWIG_fail
;
9224 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9225 result
= (wxSplitterWindow
*)new wxSplitterWindow(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
9226 wxPyEndAllowThreads(__tstate
);
9227 if (PyErr_Occurred()) SWIG_fail
;
9229 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSplitterWindow
, SWIG_POINTER_NEW
| 0 );
9244 SWIGINTERN PyObject
*_wrap_new_PreSplitterWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9245 PyObject
*resultobj
= 0;
9246 wxSplitterWindow
*result
= 0 ;
9248 if (!SWIG_Python_UnpackTuple(args
,"new_PreSplitterWindow",0,0,0)) SWIG_fail
;
9250 if (!wxPyCheckForApp()) SWIG_fail
;
9251 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9252 result
= (wxSplitterWindow
*)new wxSplitterWindow();
9253 wxPyEndAllowThreads(__tstate
);
9254 if (PyErr_Occurred()) SWIG_fail
;
9256 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSplitterWindow
, SWIG_POINTER_OWN
| 0 );
9263 SWIGINTERN PyObject
*_wrap_SplitterWindow_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9264 PyObject
*resultobj
= 0;
9265 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
9266 wxWindow
*arg2
= (wxWindow
*) 0 ;
9267 int arg3
= (int) -1 ;
9268 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
9269 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
9270 wxSize
const &arg5_defvalue
= wxDefaultSize
;
9271 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
9272 long arg6
= (long) wxSP_3D
;
9273 wxString
const &arg7_defvalue
= wxPySplitterNameStr
;
9274 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
9286 bool temp7
= false ;
9287 PyObject
* obj0
= 0 ;
9288 PyObject
* obj1
= 0 ;
9289 PyObject
* obj2
= 0 ;
9290 PyObject
* obj3
= 0 ;
9291 PyObject
* obj4
= 0 ;
9292 PyObject
* obj5
= 0 ;
9293 PyObject
* obj6
= 0 ;
9294 char * kwnames
[] = {
9295 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
9298 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:SplitterWindow_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
9299 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
9300 if (!SWIG_IsOK(res1
)) {
9301 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_Create" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
9303 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
9304 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
9305 if (!SWIG_IsOK(res2
)) {
9306 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "SplitterWindow_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
9308 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
9310 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
9311 if (!SWIG_IsOK(ecode3
)) {
9312 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "SplitterWindow_Create" "', expected argument " "3"" of type '" "int""'");
9314 arg3
= static_cast< int >(val3
);
9319 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
9325 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
9329 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
9330 if (!SWIG_IsOK(ecode6
)) {
9331 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "SplitterWindow_Create" "', expected argument " "6"" of type '" "long""'");
9333 arg6
= static_cast< long >(val6
);
9337 arg7
= wxString_in_helper(obj6
);
9338 if (arg7
== NULL
) SWIG_fail
;
9343 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9344 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
9345 wxPyEndAllowThreads(__tstate
);
9346 if (PyErr_Occurred()) SWIG_fail
;
9349 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9365 SWIGINTERN PyObject
*_wrap_SplitterWindow_GetWindow1(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9366 PyObject
*resultobj
= 0;
9367 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
9368 wxWindow
*result
= 0 ;
9371 PyObject
*swig_obj
[1] ;
9373 if (!args
) SWIG_fail
;
9375 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
9376 if (!SWIG_IsOK(res1
)) {
9377 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_GetWindow1" "', expected argument " "1"" of type '" "wxSplitterWindow const *""'");
9379 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
9381 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9382 result
= (wxWindow
*)((wxSplitterWindow
const *)arg1
)->GetWindow1();
9383 wxPyEndAllowThreads(__tstate
);
9384 if (PyErr_Occurred()) SWIG_fail
;
9387 resultobj
= wxPyMake_wxObject(result
, 0);
9395 SWIGINTERN PyObject
*_wrap_SplitterWindow_GetWindow2(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9396 PyObject
*resultobj
= 0;
9397 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
9398 wxWindow
*result
= 0 ;
9401 PyObject
*swig_obj
[1] ;
9403 if (!args
) SWIG_fail
;
9405 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
9406 if (!SWIG_IsOK(res1
)) {
9407 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_GetWindow2" "', expected argument " "1"" of type '" "wxSplitterWindow const *""'");
9409 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
9411 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9412 result
= (wxWindow
*)((wxSplitterWindow
const *)arg1
)->GetWindow2();
9413 wxPyEndAllowThreads(__tstate
);
9414 if (PyErr_Occurred()) SWIG_fail
;
9417 resultobj
= wxPyMake_wxObject(result
, 0);
9425 SWIGINTERN PyObject
*_wrap_SplitterWindow_SetSplitMode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9426 PyObject
*resultobj
= 0;
9427 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
9433 PyObject
* obj0
= 0 ;
9434 PyObject
* obj1
= 0 ;
9435 char * kwnames
[] = {
9436 (char *) "self",(char *) "mode", NULL
9439 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplitterWindow_SetSplitMode",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9440 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
9441 if (!SWIG_IsOK(res1
)) {
9442 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_SetSplitMode" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
9444 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
9445 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9446 if (!SWIG_IsOK(ecode2
)) {
9447 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SplitterWindow_SetSplitMode" "', expected argument " "2"" of type '" "int""'");
9449 arg2
= static_cast< int >(val2
);
9451 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9452 (arg1
)->SetSplitMode(arg2
);
9453 wxPyEndAllowThreads(__tstate
);
9454 if (PyErr_Occurred()) SWIG_fail
;
9456 resultobj
= SWIG_Py_Void();
9463 SWIGINTERN PyObject
*_wrap_SplitterWindow_GetSplitMode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9464 PyObject
*resultobj
= 0;
9465 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
9469 PyObject
*swig_obj
[1] ;
9471 if (!args
) SWIG_fail
;
9473 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
9474 if (!SWIG_IsOK(res1
)) {
9475 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_GetSplitMode" "', expected argument " "1"" of type '" "wxSplitterWindow const *""'");
9477 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
9479 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9480 result
= (wxSplitMode
)((wxSplitterWindow
const *)arg1
)->GetSplitMode();
9481 wxPyEndAllowThreads(__tstate
);
9482 if (PyErr_Occurred()) SWIG_fail
;
9484 resultobj
= SWIG_From_int(static_cast< int >(result
));
9491 SWIGINTERN PyObject
*_wrap_SplitterWindow_Initialize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9492 PyObject
*resultobj
= 0;
9493 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
9494 wxWindow
*arg2
= (wxWindow
*) 0 ;
9499 PyObject
* obj0
= 0 ;
9500 PyObject
* obj1
= 0 ;
9501 char * kwnames
[] = {
9502 (char *) "self",(char *) "window", NULL
9505 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplitterWindow_Initialize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9506 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
9507 if (!SWIG_IsOK(res1
)) {
9508 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_Initialize" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
9510 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
9511 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
9512 if (!SWIG_IsOK(res2
)) {
9513 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "SplitterWindow_Initialize" "', expected argument " "2"" of type '" "wxWindow *""'");
9515 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
9517 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9518 (arg1
)->Initialize(arg2
);
9519 wxPyEndAllowThreads(__tstate
);
9520 if (PyErr_Occurred()) SWIG_fail
;
9522 resultobj
= SWIG_Py_Void();
9529 SWIGINTERN PyObject
*_wrap_SplitterWindow_SplitVertically(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9530 PyObject
*resultobj
= 0;
9531 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
9532 wxWindow
*arg2
= (wxWindow
*) 0 ;
9533 wxWindow
*arg3
= (wxWindow
*) 0 ;
9534 int arg4
= (int) 0 ;
9544 PyObject
* obj0
= 0 ;
9545 PyObject
* obj1
= 0 ;
9546 PyObject
* obj2
= 0 ;
9547 PyObject
* obj3
= 0 ;
9548 char * kwnames
[] = {
9549 (char *) "self",(char *) "window1",(char *) "window2",(char *) "sashPosition", NULL
9552 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:SplitterWindow_SplitVertically",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
9553 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
9554 if (!SWIG_IsOK(res1
)) {
9555 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_SplitVertically" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
9557 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
9558 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
9559 if (!SWIG_IsOK(res2
)) {
9560 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "SplitterWindow_SplitVertically" "', expected argument " "2"" of type '" "wxWindow *""'");
9562 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
9563 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxWindow
, 0 | 0 );
9564 if (!SWIG_IsOK(res3
)) {
9565 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "SplitterWindow_SplitVertically" "', expected argument " "3"" of type '" "wxWindow *""'");
9567 arg3
= reinterpret_cast< wxWindow
* >(argp3
);
9569 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
9570 if (!SWIG_IsOK(ecode4
)) {
9571 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "SplitterWindow_SplitVertically" "', expected argument " "4"" of type '" "int""'");
9573 arg4
= static_cast< int >(val4
);
9576 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9577 result
= (bool)(arg1
)->SplitVertically(arg2
,arg3
,arg4
);
9578 wxPyEndAllowThreads(__tstate
);
9579 if (PyErr_Occurred()) SWIG_fail
;
9582 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9590 SWIGINTERN PyObject
*_wrap_SplitterWindow_SplitHorizontally(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9591 PyObject
*resultobj
= 0;
9592 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
9593 wxWindow
*arg2
= (wxWindow
*) 0 ;
9594 wxWindow
*arg3
= (wxWindow
*) 0 ;
9595 int arg4
= (int) 0 ;
9605 PyObject
* obj0
= 0 ;
9606 PyObject
* obj1
= 0 ;
9607 PyObject
* obj2
= 0 ;
9608 PyObject
* obj3
= 0 ;
9609 char * kwnames
[] = {
9610 (char *) "self",(char *) "window1",(char *) "window2",(char *) "sashPosition", NULL
9613 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:SplitterWindow_SplitHorizontally",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
9614 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
9615 if (!SWIG_IsOK(res1
)) {
9616 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_SplitHorizontally" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
9618 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
9619 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
9620 if (!SWIG_IsOK(res2
)) {
9621 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "SplitterWindow_SplitHorizontally" "', expected argument " "2"" of type '" "wxWindow *""'");
9623 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
9624 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxWindow
, 0 | 0 );
9625 if (!SWIG_IsOK(res3
)) {
9626 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "SplitterWindow_SplitHorizontally" "', expected argument " "3"" of type '" "wxWindow *""'");
9628 arg3
= reinterpret_cast< wxWindow
* >(argp3
);
9630 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
9631 if (!SWIG_IsOK(ecode4
)) {
9632 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "SplitterWindow_SplitHorizontally" "', expected argument " "4"" of type '" "int""'");
9634 arg4
= static_cast< int >(val4
);
9637 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9638 result
= (bool)(arg1
)->SplitHorizontally(arg2
,arg3
,arg4
);
9639 wxPyEndAllowThreads(__tstate
);
9640 if (PyErr_Occurred()) SWIG_fail
;
9643 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9651 SWIGINTERN PyObject
*_wrap_SplitterWindow_Unsplit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9652 PyObject
*resultobj
= 0;
9653 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
9654 wxWindow
*arg2
= (wxWindow
*) NULL
;
9660 PyObject
* obj0
= 0 ;
9661 PyObject
* obj1
= 0 ;
9662 char * kwnames
[] = {
9663 (char *) "self",(char *) "toRemove", NULL
9666 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:SplitterWindow_Unsplit",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9667 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
9668 if (!SWIG_IsOK(res1
)) {
9669 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_Unsplit" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
9671 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
9673 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
9674 if (!SWIG_IsOK(res2
)) {
9675 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "SplitterWindow_Unsplit" "', expected argument " "2"" of type '" "wxWindow *""'");
9677 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
9680 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9681 result
= (bool)(arg1
)->Unsplit(arg2
);
9682 wxPyEndAllowThreads(__tstate
);
9683 if (PyErr_Occurred()) SWIG_fail
;
9686 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9694 SWIGINTERN PyObject
*_wrap_SplitterWindow_ReplaceWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9695 PyObject
*resultobj
= 0;
9696 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
9697 wxWindow
*arg2
= (wxWindow
*) 0 ;
9698 wxWindow
*arg3
= (wxWindow
*) 0 ;
9706 PyObject
* obj0
= 0 ;
9707 PyObject
* obj1
= 0 ;
9708 PyObject
* obj2
= 0 ;
9709 char * kwnames
[] = {
9710 (char *) "self",(char *) "winOld",(char *) "winNew", NULL
9713 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SplitterWindow_ReplaceWindow",kwnames
,&obj0
,&obj1
,&obj2
)) 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_ReplaceWindow" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
9718 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
9719 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
9720 if (!SWIG_IsOK(res2
)) {
9721 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "SplitterWindow_ReplaceWindow" "', expected argument " "2"" of type '" "wxWindow *""'");
9723 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
9724 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxWindow
, 0 | 0 );
9725 if (!SWIG_IsOK(res3
)) {
9726 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "SplitterWindow_ReplaceWindow" "', expected argument " "3"" of type '" "wxWindow *""'");
9728 arg3
= reinterpret_cast< wxWindow
* >(argp3
);
9730 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9731 result
= (bool)(arg1
)->ReplaceWindow(arg2
,arg3
);
9732 wxPyEndAllowThreads(__tstate
);
9733 if (PyErr_Occurred()) SWIG_fail
;
9736 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9744 SWIGINTERN PyObject
*_wrap_SplitterWindow_UpdateSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9745 PyObject
*resultobj
= 0;
9746 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
9749 PyObject
*swig_obj
[1] ;
9751 if (!args
) SWIG_fail
;
9753 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
9754 if (!SWIG_IsOK(res1
)) {
9755 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_UpdateSize" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
9757 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
9759 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9760 (arg1
)->UpdateSize();
9761 wxPyEndAllowThreads(__tstate
);
9762 if (PyErr_Occurred()) SWIG_fail
;
9764 resultobj
= SWIG_Py_Void();
9771 SWIGINTERN PyObject
*_wrap_SplitterWindow_IsSplit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9772 PyObject
*resultobj
= 0;
9773 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
9777 PyObject
*swig_obj
[1] ;
9779 if (!args
) SWIG_fail
;
9781 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
9782 if (!SWIG_IsOK(res1
)) {
9783 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_IsSplit" "', expected argument " "1"" of type '" "wxSplitterWindow const *""'");
9785 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
9787 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9788 result
= (bool)((wxSplitterWindow
const *)arg1
)->IsSplit();
9789 wxPyEndAllowThreads(__tstate
);
9790 if (PyErr_Occurred()) SWIG_fail
;
9793 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9801 SWIGINTERN PyObject
*_wrap_SplitterWindow_SetSashSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9802 PyObject
*resultobj
= 0;
9803 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
9809 PyObject
* obj0
= 0 ;
9810 PyObject
* obj1
= 0 ;
9811 char * kwnames
[] = {
9812 (char *) "self",(char *) "width", NULL
9815 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplitterWindow_SetSashSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9816 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
9817 if (!SWIG_IsOK(res1
)) {
9818 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_SetSashSize" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
9820 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
9821 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9822 if (!SWIG_IsOK(ecode2
)) {
9823 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SplitterWindow_SetSashSize" "', expected argument " "2"" of type '" "int""'");
9825 arg2
= static_cast< int >(val2
);
9827 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9828 (arg1
)->SetSashSize(arg2
);
9829 wxPyEndAllowThreads(__tstate
);
9830 if (PyErr_Occurred()) SWIG_fail
;
9832 resultobj
= SWIG_Py_Void();
9839 SWIGINTERN PyObject
*_wrap_SplitterWindow_SetBorderSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9840 PyObject
*resultobj
= 0;
9841 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
9847 PyObject
* obj0
= 0 ;
9848 PyObject
* obj1
= 0 ;
9849 char * kwnames
[] = {
9850 (char *) "self",(char *) "width", NULL
9853 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplitterWindow_SetBorderSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9854 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
9855 if (!SWIG_IsOK(res1
)) {
9856 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_SetBorderSize" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
9858 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
9859 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9860 if (!SWIG_IsOK(ecode2
)) {
9861 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SplitterWindow_SetBorderSize" "', expected argument " "2"" of type '" "int""'");
9863 arg2
= static_cast< int >(val2
);
9865 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9866 (arg1
)->SetBorderSize(arg2
);
9867 wxPyEndAllowThreads(__tstate
);
9868 if (PyErr_Occurred()) SWIG_fail
;
9870 resultobj
= SWIG_Py_Void();
9877 SWIGINTERN PyObject
*_wrap_SplitterWindow_GetSashSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9878 PyObject
*resultobj
= 0;
9879 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
9883 PyObject
*swig_obj
[1] ;
9885 if (!args
) SWIG_fail
;
9887 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
9888 if (!SWIG_IsOK(res1
)) {
9889 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_GetSashSize" "', expected argument " "1"" of type '" "wxSplitterWindow const *""'");
9891 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
9893 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9894 result
= (int)((wxSplitterWindow
const *)arg1
)->GetSashSize();
9895 wxPyEndAllowThreads(__tstate
);
9896 if (PyErr_Occurred()) SWIG_fail
;
9898 resultobj
= SWIG_From_int(static_cast< int >(result
));
9905 SWIGINTERN PyObject
*_wrap_SplitterWindow_GetBorderSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9906 PyObject
*resultobj
= 0;
9907 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
9911 PyObject
*swig_obj
[1] ;
9913 if (!args
) SWIG_fail
;
9915 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
9916 if (!SWIG_IsOK(res1
)) {
9917 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_GetBorderSize" "', expected argument " "1"" of type '" "wxSplitterWindow const *""'");
9919 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
9921 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9922 result
= (int)((wxSplitterWindow
const *)arg1
)->GetBorderSize();
9923 wxPyEndAllowThreads(__tstate
);
9924 if (PyErr_Occurred()) SWIG_fail
;
9926 resultobj
= SWIG_From_int(static_cast< int >(result
));
9933 SWIGINTERN PyObject
*_wrap_SplitterWindow_SetSashPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9934 PyObject
*resultobj
= 0;
9935 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
9937 bool arg3
= (bool) true ;
9944 PyObject
* obj0
= 0 ;
9945 PyObject
* obj1
= 0 ;
9946 PyObject
* obj2
= 0 ;
9947 char * kwnames
[] = {
9948 (char *) "self",(char *) "position",(char *) "redraw", NULL
9951 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:SplitterWindow_SetSashPosition",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
9952 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
9953 if (!SWIG_IsOK(res1
)) {
9954 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_SetSashPosition" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
9956 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
9957 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9958 if (!SWIG_IsOK(ecode2
)) {
9959 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SplitterWindow_SetSashPosition" "', expected argument " "2"" of type '" "int""'");
9961 arg2
= static_cast< int >(val2
);
9963 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
9964 if (!SWIG_IsOK(ecode3
)) {
9965 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "SplitterWindow_SetSashPosition" "', expected argument " "3"" of type '" "bool""'");
9967 arg3
= static_cast< bool >(val3
);
9970 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9971 (arg1
)->SetSashPosition(arg2
,arg3
);
9972 wxPyEndAllowThreads(__tstate
);
9973 if (PyErr_Occurred()) SWIG_fail
;
9975 resultobj
= SWIG_Py_Void();
9982 SWIGINTERN PyObject
*_wrap_SplitterWindow_GetSashPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9983 PyObject
*resultobj
= 0;
9984 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
9988 PyObject
*swig_obj
[1] ;
9990 if (!args
) SWIG_fail
;
9992 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
9993 if (!SWIG_IsOK(res1
)) {
9994 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_GetSashPosition" "', expected argument " "1"" of type '" "wxSplitterWindow const *""'");
9996 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
9998 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9999 result
= (int)((wxSplitterWindow
const *)arg1
)->GetSashPosition();
10000 wxPyEndAllowThreads(__tstate
);
10001 if (PyErr_Occurred()) SWIG_fail
;
10003 resultobj
= SWIG_From_int(static_cast< int >(result
));
10010 SWIGINTERN PyObject
*_wrap_SplitterWindow_SetSashGravity(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10011 PyObject
*resultobj
= 0;
10012 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
10018 PyObject
* obj0
= 0 ;
10019 PyObject
* obj1
= 0 ;
10020 char * kwnames
[] = {
10021 (char *) "self",(char *) "gravity", NULL
10024 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplitterWindow_SetSashGravity",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10025 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
10026 if (!SWIG_IsOK(res1
)) {
10027 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_SetSashGravity" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
10029 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
10030 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
10031 if (!SWIG_IsOK(ecode2
)) {
10032 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SplitterWindow_SetSashGravity" "', expected argument " "2"" of type '" "double""'");
10034 arg2
= static_cast< double >(val2
);
10036 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10037 (arg1
)->SetSashGravity(arg2
);
10038 wxPyEndAllowThreads(__tstate
);
10039 if (PyErr_Occurred()) SWIG_fail
;
10041 resultobj
= SWIG_Py_Void();
10048 SWIGINTERN PyObject
*_wrap_SplitterWindow_GetSashGravity(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10049 PyObject
*resultobj
= 0;
10050 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
10054 PyObject
*swig_obj
[1] ;
10056 if (!args
) SWIG_fail
;
10057 swig_obj
[0] = args
;
10058 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
10059 if (!SWIG_IsOK(res1
)) {
10060 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_GetSashGravity" "', expected argument " "1"" of type '" "wxSplitterWindow const *""'");
10062 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
10064 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10065 result
= (double)((wxSplitterWindow
const *)arg1
)->GetSashGravity();
10066 wxPyEndAllowThreads(__tstate
);
10067 if (PyErr_Occurred()) SWIG_fail
;
10069 resultobj
= SWIG_From_double(static_cast< double >(result
));
10076 SWIGINTERN PyObject
*_wrap_SplitterWindow_SetMinimumPaneSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10077 PyObject
*resultobj
= 0;
10078 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
10084 PyObject
* obj0
= 0 ;
10085 PyObject
* obj1
= 0 ;
10086 char * kwnames
[] = {
10087 (char *) "self",(char *) "min", NULL
10090 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplitterWindow_SetMinimumPaneSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10091 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
10092 if (!SWIG_IsOK(res1
)) {
10093 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_SetMinimumPaneSize" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
10095 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
10096 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10097 if (!SWIG_IsOK(ecode2
)) {
10098 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SplitterWindow_SetMinimumPaneSize" "', expected argument " "2"" of type '" "int""'");
10100 arg2
= static_cast< int >(val2
);
10102 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10103 (arg1
)->SetMinimumPaneSize(arg2
);
10104 wxPyEndAllowThreads(__tstate
);
10105 if (PyErr_Occurred()) SWIG_fail
;
10107 resultobj
= SWIG_Py_Void();
10114 SWIGINTERN PyObject
*_wrap_SplitterWindow_GetMinimumPaneSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10115 PyObject
*resultobj
= 0;
10116 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
10120 PyObject
*swig_obj
[1] ;
10122 if (!args
) SWIG_fail
;
10123 swig_obj
[0] = args
;
10124 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
10125 if (!SWIG_IsOK(res1
)) {
10126 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_GetMinimumPaneSize" "', expected argument " "1"" of type '" "wxSplitterWindow const *""'");
10128 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
10130 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10131 result
= (int)((wxSplitterWindow
const *)arg1
)->GetMinimumPaneSize();
10132 wxPyEndAllowThreads(__tstate
);
10133 if (PyErr_Occurred()) SWIG_fail
;
10135 resultobj
= SWIG_From_int(static_cast< int >(result
));
10142 SWIGINTERN PyObject
*_wrap_SplitterWindow_SashHitTest(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10143 PyObject
*resultobj
= 0;
10144 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
10147 int arg4
= (int) 5 ;
10157 PyObject
* obj0
= 0 ;
10158 PyObject
* obj1
= 0 ;
10159 PyObject
* obj2
= 0 ;
10160 PyObject
* obj3
= 0 ;
10161 char * kwnames
[] = {
10162 (char *) "self",(char *) "x",(char *) "y",(char *) "tolerance", NULL
10165 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:SplitterWindow_SashHitTest",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
10166 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
10167 if (!SWIG_IsOK(res1
)) {
10168 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_SashHitTest" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
10170 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
10171 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10172 if (!SWIG_IsOK(ecode2
)) {
10173 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SplitterWindow_SashHitTest" "', expected argument " "2"" of type '" "int""'");
10175 arg2
= static_cast< int >(val2
);
10176 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
10177 if (!SWIG_IsOK(ecode3
)) {
10178 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "SplitterWindow_SashHitTest" "', expected argument " "3"" of type '" "int""'");
10180 arg3
= static_cast< int >(val3
);
10182 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
10183 if (!SWIG_IsOK(ecode4
)) {
10184 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "SplitterWindow_SashHitTest" "', expected argument " "4"" of type '" "int""'");
10186 arg4
= static_cast< int >(val4
);
10189 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10190 result
= (bool)(arg1
)->SashHitTest(arg2
,arg3
,arg4
);
10191 wxPyEndAllowThreads(__tstate
);
10192 if (PyErr_Occurred()) SWIG_fail
;
10195 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10203 SWIGINTERN PyObject
*_wrap_SplitterWindow_SizeWindows(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10204 PyObject
*resultobj
= 0;
10205 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
10208 PyObject
*swig_obj
[1] ;
10210 if (!args
) SWIG_fail
;
10211 swig_obj
[0] = args
;
10212 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
10213 if (!SWIG_IsOK(res1
)) {
10214 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_SizeWindows" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
10216 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
10218 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10219 (arg1
)->SizeWindows();
10220 wxPyEndAllowThreads(__tstate
);
10221 if (PyErr_Occurred()) SWIG_fail
;
10223 resultobj
= SWIG_Py_Void();
10230 SWIGINTERN PyObject
*_wrap_SplitterWindow_SetNeedUpdating(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10231 PyObject
*resultobj
= 0;
10232 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
10238 PyObject
* obj0
= 0 ;
10239 PyObject
* obj1
= 0 ;
10240 char * kwnames
[] = {
10241 (char *) "self",(char *) "needUpdating", NULL
10244 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplitterWindow_SetNeedUpdating",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10245 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
10246 if (!SWIG_IsOK(res1
)) {
10247 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_SetNeedUpdating" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
10249 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
10250 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
10251 if (!SWIG_IsOK(ecode2
)) {
10252 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SplitterWindow_SetNeedUpdating" "', expected argument " "2"" of type '" "bool""'");
10254 arg2
= static_cast< bool >(val2
);
10256 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10257 (arg1
)->SetNeedUpdating(arg2
);
10258 wxPyEndAllowThreads(__tstate
);
10259 if (PyErr_Occurred()) SWIG_fail
;
10261 resultobj
= SWIG_Py_Void();
10268 SWIGINTERN PyObject
*_wrap_SplitterWindow_GetNeedUpdating(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10269 PyObject
*resultobj
= 0;
10270 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
10274 PyObject
*swig_obj
[1] ;
10276 if (!args
) SWIG_fail
;
10277 swig_obj
[0] = args
;
10278 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
10279 if (!SWIG_IsOK(res1
)) {
10280 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_GetNeedUpdating" "', expected argument " "1"" of type '" "wxSplitterWindow const *""'");
10282 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
10284 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10285 result
= (bool)((wxSplitterWindow
const *)arg1
)->GetNeedUpdating();
10286 wxPyEndAllowThreads(__tstate
);
10287 if (PyErr_Occurred()) SWIG_fail
;
10290 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10298 SWIGINTERN PyObject
*_wrap_SplitterWindow_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10299 PyObject
*resultobj
= 0;
10300 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
10301 SwigValueWrapper
<wxVisualAttributes
> result
;
10304 PyObject
* obj0
= 0 ;
10305 char * kwnames
[] = {
10306 (char *) "variant", NULL
10309 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:SplitterWindow_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
10311 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
10312 if (!SWIG_IsOK(ecode1
)) {
10313 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "SplitterWindow_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
10315 arg1
= static_cast< wxWindowVariant
>(val1
);
10318 if (!wxPyCheckForApp()) SWIG_fail
;
10319 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10320 result
= wxSplitterWindow::GetClassDefaultAttributes(arg1
);
10321 wxPyEndAllowThreads(__tstate
);
10322 if (PyErr_Occurred()) SWIG_fail
;
10324 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
10331 SWIGINTERN PyObject
*SplitterWindow_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10333 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
10334 SWIG_TypeNewClientData(SWIGTYPE_p_wxSplitterWindow
, SWIG_NewClientData(obj
));
10335 return SWIG_Py_Void();
10338 SWIGINTERN PyObject
*SplitterWindow_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10339 return SWIG_Python_InitShadowInstance(args
);
10342 SWIGINTERN PyObject
*_wrap_new_SplitterEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10343 PyObject
*resultobj
= 0;
10344 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
10345 wxSplitterWindow
*arg2
= (wxSplitterWindow
*) (wxSplitterWindow
*) NULL
;
10346 wxSplitterEvent
*result
= 0 ;
10351 PyObject
* obj0
= 0 ;
10352 PyObject
* obj1
= 0 ;
10353 char * kwnames
[] = {
10354 (char *) "type",(char *) "splitter", NULL
10357 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_SplitterEvent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10359 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
10360 if (!SWIG_IsOK(ecode1
)) {
10361 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_SplitterEvent" "', expected argument " "1"" of type '" "wxEventType""'");
10363 arg1
= static_cast< wxEventType
>(val1
);
10366 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
10367 if (!SWIG_IsOK(res2
)) {
10368 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_SplitterEvent" "', expected argument " "2"" of type '" "wxSplitterWindow *""'");
10370 arg2
= reinterpret_cast< wxSplitterWindow
* >(argp2
);
10373 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10374 result
= (wxSplitterEvent
*)new wxSplitterEvent(arg1
,arg2
);
10375 wxPyEndAllowThreads(__tstate
);
10376 if (PyErr_Occurred()) SWIG_fail
;
10378 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSplitterEvent
, SWIG_POINTER_NEW
| 0 );
10385 SWIGINTERN PyObject
*_wrap_SplitterEvent_SetSashPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10386 PyObject
*resultobj
= 0;
10387 wxSplitterEvent
*arg1
= (wxSplitterEvent
*) 0 ;
10393 PyObject
* obj0
= 0 ;
10394 PyObject
* obj1
= 0 ;
10395 char * kwnames
[] = {
10396 (char *) "self",(char *) "pos", NULL
10399 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplitterEvent_SetSashPosition",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10400 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSplitterEvent
, 0 | 0 );
10401 if (!SWIG_IsOK(res1
)) {
10402 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterEvent_SetSashPosition" "', expected argument " "1"" of type '" "wxSplitterEvent *""'");
10404 arg1
= reinterpret_cast< wxSplitterEvent
* >(argp1
);
10405 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10406 if (!SWIG_IsOK(ecode2
)) {
10407 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SplitterEvent_SetSashPosition" "', expected argument " "2"" of type '" "int""'");
10409 arg2
= static_cast< int >(val2
);
10411 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10412 (arg1
)->SetSashPosition(arg2
);
10413 wxPyEndAllowThreads(__tstate
);
10414 if (PyErr_Occurred()) SWIG_fail
;
10416 resultobj
= SWIG_Py_Void();
10423 SWIGINTERN PyObject
*_wrap_SplitterEvent_GetSashPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10424 PyObject
*resultobj
= 0;
10425 wxSplitterEvent
*arg1
= (wxSplitterEvent
*) 0 ;
10429 PyObject
*swig_obj
[1] ;
10431 if (!args
) SWIG_fail
;
10432 swig_obj
[0] = args
;
10433 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterEvent
, 0 | 0 );
10434 if (!SWIG_IsOK(res1
)) {
10435 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterEvent_GetSashPosition" "', expected argument " "1"" of type '" "wxSplitterEvent const *""'");
10437 arg1
= reinterpret_cast< wxSplitterEvent
* >(argp1
);
10439 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10440 result
= (int)((wxSplitterEvent
const *)arg1
)->GetSashPosition();
10441 wxPyEndAllowThreads(__tstate
);
10442 if (PyErr_Occurred()) SWIG_fail
;
10444 resultobj
= SWIG_From_int(static_cast< int >(result
));
10451 SWIGINTERN PyObject
*_wrap_SplitterEvent_GetWindowBeingRemoved(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10452 PyObject
*resultobj
= 0;
10453 wxSplitterEvent
*arg1
= (wxSplitterEvent
*) 0 ;
10454 wxWindow
*result
= 0 ;
10457 PyObject
*swig_obj
[1] ;
10459 if (!args
) SWIG_fail
;
10460 swig_obj
[0] = args
;
10461 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterEvent
, 0 | 0 );
10462 if (!SWIG_IsOK(res1
)) {
10463 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterEvent_GetWindowBeingRemoved" "', expected argument " "1"" of type '" "wxSplitterEvent const *""'");
10465 arg1
= reinterpret_cast< wxSplitterEvent
* >(argp1
);
10467 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10468 result
= (wxWindow
*)((wxSplitterEvent
const *)arg1
)->GetWindowBeingRemoved();
10469 wxPyEndAllowThreads(__tstate
);
10470 if (PyErr_Occurred()) SWIG_fail
;
10473 resultobj
= wxPyMake_wxObject(result
, 0);
10481 SWIGINTERN PyObject
*_wrap_SplitterEvent_GetX(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10482 PyObject
*resultobj
= 0;
10483 wxSplitterEvent
*arg1
= (wxSplitterEvent
*) 0 ;
10487 PyObject
*swig_obj
[1] ;
10489 if (!args
) SWIG_fail
;
10490 swig_obj
[0] = args
;
10491 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterEvent
, 0 | 0 );
10492 if (!SWIG_IsOK(res1
)) {
10493 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterEvent_GetX" "', expected argument " "1"" of type '" "wxSplitterEvent const *""'");
10495 arg1
= reinterpret_cast< wxSplitterEvent
* >(argp1
);
10497 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10498 result
= (int)((wxSplitterEvent
const *)arg1
)->GetX();
10499 wxPyEndAllowThreads(__tstate
);
10500 if (PyErr_Occurred()) SWIG_fail
;
10502 resultobj
= SWIG_From_int(static_cast< int >(result
));
10509 SWIGINTERN PyObject
*_wrap_SplitterEvent_GetY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10510 PyObject
*resultobj
= 0;
10511 wxSplitterEvent
*arg1
= (wxSplitterEvent
*) 0 ;
10515 PyObject
*swig_obj
[1] ;
10517 if (!args
) SWIG_fail
;
10518 swig_obj
[0] = args
;
10519 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterEvent
, 0 | 0 );
10520 if (!SWIG_IsOK(res1
)) {
10521 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterEvent_GetY" "', expected argument " "1"" of type '" "wxSplitterEvent const *""'");
10523 arg1
= reinterpret_cast< wxSplitterEvent
* >(argp1
);
10525 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10526 result
= (int)((wxSplitterEvent
const *)arg1
)->GetY();
10527 wxPyEndAllowThreads(__tstate
);
10528 if (PyErr_Occurred()) SWIG_fail
;
10530 resultobj
= SWIG_From_int(static_cast< int >(result
));
10537 SWIGINTERN PyObject
*SplitterEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10539 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
10540 SWIG_TypeNewClientData(SWIGTYPE_p_wxSplitterEvent
, SWIG_NewClientData(obj
));
10541 return SWIG_Py_Void();
10544 SWIGINTERN PyObject
*SplitterEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10545 return SWIG_Python_InitShadowInstance(args
);
10548 SWIGINTERN
int SashNameStr_set(PyObject
*) {
10549 SWIG_Error(SWIG_AttributeError
,"Variable SashNameStr is read-only.");
10554 SWIGINTERN PyObject
*SashNameStr_get(void) {
10555 PyObject
*pyobj
= 0;
10559 pyobj
= PyUnicode_FromWideChar((&wxPySashNameStr
)->c_str(), (&wxPySashNameStr
)->Len());
10561 pyobj
= PyString_FromStringAndSize((&wxPySashNameStr
)->c_str(), (&wxPySashNameStr
)->Len());
10568 SWIGINTERN
int SashLayoutNameStr_set(PyObject
*) {
10569 SWIG_Error(SWIG_AttributeError
,"Variable SashLayoutNameStr is read-only.");
10574 SWIGINTERN PyObject
*SashLayoutNameStr_get(void) {
10575 PyObject
*pyobj
= 0;
10579 pyobj
= PyUnicode_FromWideChar((&wxPySashLayoutNameStr
)->c_str(), (&wxPySashLayoutNameStr
)->Len());
10581 pyobj
= PyString_FromStringAndSize((&wxPySashLayoutNameStr
)->c_str(), (&wxPySashLayoutNameStr
)->Len());
10588 SWIGINTERN PyObject
*_wrap_new_SashWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10589 PyObject
*resultobj
= 0;
10590 wxWindow
*arg1
= (wxWindow
*) 0 ;
10591 int arg2
= (int) -1 ;
10592 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
10593 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
10594 wxSize
const &arg4_defvalue
= wxDefaultSize
;
10595 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
10596 long arg5
= (long) wxCLIP_CHILDREN
|wxSW_3D
;
10597 wxString
const &arg6_defvalue
= wxPySashNameStr
;
10598 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
10599 wxSashWindow
*result
= 0 ;
10608 bool temp6
= false ;
10609 PyObject
* obj0
= 0 ;
10610 PyObject
* obj1
= 0 ;
10611 PyObject
* obj2
= 0 ;
10612 PyObject
* obj3
= 0 ;
10613 PyObject
* obj4
= 0 ;
10614 PyObject
* obj5
= 0 ;
10615 char * kwnames
[] = {
10616 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
10619 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_SashWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
10620 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
10621 if (!SWIG_IsOK(res1
)) {
10622 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_SashWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
10624 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
10626 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10627 if (!SWIG_IsOK(ecode2
)) {
10628 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_SashWindow" "', expected argument " "2"" of type '" "int""'");
10630 arg2
= static_cast< int >(val2
);
10635 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
10641 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
10645 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
10646 if (!SWIG_IsOK(ecode5
)) {
10647 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_SashWindow" "', expected argument " "5"" of type '" "long""'");
10649 arg5
= static_cast< long >(val5
);
10653 arg6
= wxString_in_helper(obj5
);
10654 if (arg6
== NULL
) SWIG_fail
;
10659 if (!wxPyCheckForApp()) SWIG_fail
;
10660 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10661 result
= (wxSashWindow
*)new wxSashWindow(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
10662 wxPyEndAllowThreads(__tstate
);
10663 if (PyErr_Occurred()) SWIG_fail
;
10665 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSashWindow
, SWIG_POINTER_NEW
| 0 );
10680 SWIGINTERN PyObject
*_wrap_new_PreSashWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10681 PyObject
*resultobj
= 0;
10682 wxSashWindow
*result
= 0 ;
10684 if (!SWIG_Python_UnpackTuple(args
,"new_PreSashWindow",0,0,0)) SWIG_fail
;
10686 if (!wxPyCheckForApp()) SWIG_fail
;
10687 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10688 result
= (wxSashWindow
*)new wxSashWindow();
10689 wxPyEndAllowThreads(__tstate
);
10690 if (PyErr_Occurred()) SWIG_fail
;
10692 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSashWindow
, SWIG_POINTER_OWN
| 0 );
10699 SWIGINTERN PyObject
*_wrap_SashWindow_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10700 PyObject
*resultobj
= 0;
10701 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
10702 wxWindow
*arg2
= (wxWindow
*) 0 ;
10703 int arg3
= (int) -1 ;
10704 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
10705 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
10706 wxSize
const &arg5_defvalue
= wxDefaultSize
;
10707 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
10708 long arg6
= (long) wxCLIP_CHILDREN
|wxSW_3D
;
10709 wxString
const &arg7_defvalue
= wxPySashNameStr
;
10710 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
10722 bool temp7
= false ;
10723 PyObject
* obj0
= 0 ;
10724 PyObject
* obj1
= 0 ;
10725 PyObject
* obj2
= 0 ;
10726 PyObject
* obj3
= 0 ;
10727 PyObject
* obj4
= 0 ;
10728 PyObject
* obj5
= 0 ;
10729 PyObject
* obj6
= 0 ;
10730 char * kwnames
[] = {
10731 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
10734 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:SashWindow_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
10735 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSashWindow
, 0 | 0 );
10736 if (!SWIG_IsOK(res1
)) {
10737 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashWindow_Create" "', expected argument " "1"" of type '" "wxSashWindow *""'");
10739 arg1
= reinterpret_cast< wxSashWindow
* >(argp1
);
10740 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
10741 if (!SWIG_IsOK(res2
)) {
10742 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "SashWindow_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
10744 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
10746 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
10747 if (!SWIG_IsOK(ecode3
)) {
10748 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "SashWindow_Create" "', expected argument " "3"" of type '" "int""'");
10750 arg3
= static_cast< int >(val3
);
10755 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
10761 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
10765 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
10766 if (!SWIG_IsOK(ecode6
)) {
10767 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "SashWindow_Create" "', expected argument " "6"" of type '" "long""'");
10769 arg6
= static_cast< long >(val6
);
10773 arg7
= wxString_in_helper(obj6
);
10774 if (arg7
== NULL
) SWIG_fail
;
10779 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10780 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
10781 wxPyEndAllowThreads(__tstate
);
10782 if (PyErr_Occurred()) SWIG_fail
;
10785 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10801 SWIGINTERN PyObject
*_wrap_SashWindow_SetSashVisible(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10802 PyObject
*resultobj
= 0;
10803 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
10804 wxSashEdgePosition arg2
;
10812 PyObject
* obj0
= 0 ;
10813 PyObject
* obj1
= 0 ;
10814 PyObject
* obj2
= 0 ;
10815 char * kwnames
[] = {
10816 (char *) "self",(char *) "edge",(char *) "sash", NULL
10819 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SashWindow_SetSashVisible",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
10820 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSashWindow
, 0 | 0 );
10821 if (!SWIG_IsOK(res1
)) {
10822 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashWindow_SetSashVisible" "', expected argument " "1"" of type '" "wxSashWindow *""'");
10824 arg1
= reinterpret_cast< wxSashWindow
* >(argp1
);
10825 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10826 if (!SWIG_IsOK(ecode2
)) {
10827 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SashWindow_SetSashVisible" "', expected argument " "2"" of type '" "wxSashEdgePosition""'");
10829 arg2
= static_cast< wxSashEdgePosition
>(val2
);
10830 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
10831 if (!SWIG_IsOK(ecode3
)) {
10832 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "SashWindow_SetSashVisible" "', expected argument " "3"" of type '" "bool""'");
10834 arg3
= static_cast< bool >(val3
);
10836 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10837 (arg1
)->SetSashVisible(arg2
,arg3
);
10838 wxPyEndAllowThreads(__tstate
);
10839 if (PyErr_Occurred()) SWIG_fail
;
10841 resultobj
= SWIG_Py_Void();
10848 SWIGINTERN PyObject
*_wrap_SashWindow_GetSashVisible(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10849 PyObject
*resultobj
= 0;
10850 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
10851 wxSashEdgePosition arg2
;
10857 PyObject
* obj0
= 0 ;
10858 PyObject
* obj1
= 0 ;
10859 char * kwnames
[] = {
10860 (char *) "self",(char *) "edge", NULL
10863 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_GetSashVisible",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10864 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSashWindow
, 0 | 0 );
10865 if (!SWIG_IsOK(res1
)) {
10866 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashWindow_GetSashVisible" "', expected argument " "1"" of type '" "wxSashWindow const *""'");
10868 arg1
= reinterpret_cast< wxSashWindow
* >(argp1
);
10869 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10870 if (!SWIG_IsOK(ecode2
)) {
10871 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SashWindow_GetSashVisible" "', expected argument " "2"" of type '" "wxSashEdgePosition""'");
10873 arg2
= static_cast< wxSashEdgePosition
>(val2
);
10875 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10876 result
= (bool)((wxSashWindow
const *)arg1
)->GetSashVisible(arg2
);
10877 wxPyEndAllowThreads(__tstate
);
10878 if (PyErr_Occurred()) SWIG_fail
;
10881 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10889 SWIGINTERN PyObject
*_wrap_SashWindow_SetSashBorder(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10890 PyObject
*resultobj
= 0;
10891 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
10892 wxSashEdgePosition arg2
;
10900 PyObject
* obj0
= 0 ;
10901 PyObject
* obj1
= 0 ;
10902 PyObject
* obj2
= 0 ;
10903 char * kwnames
[] = {
10904 (char *) "self",(char *) "edge",(char *) "border", NULL
10907 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SashWindow_SetSashBorder",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
10908 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSashWindow
, 0 | 0 );
10909 if (!SWIG_IsOK(res1
)) {
10910 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashWindow_SetSashBorder" "', expected argument " "1"" of type '" "wxSashWindow *""'");
10912 arg1
= reinterpret_cast< wxSashWindow
* >(argp1
);
10913 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10914 if (!SWIG_IsOK(ecode2
)) {
10915 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SashWindow_SetSashBorder" "', expected argument " "2"" of type '" "wxSashEdgePosition""'");
10917 arg2
= static_cast< wxSashEdgePosition
>(val2
);
10918 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
10919 if (!SWIG_IsOK(ecode3
)) {
10920 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "SashWindow_SetSashBorder" "', expected argument " "3"" of type '" "bool""'");
10922 arg3
= static_cast< bool >(val3
);
10924 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10925 (arg1
)->SetSashBorder(arg2
,arg3
);
10926 wxPyEndAllowThreads(__tstate
);
10927 if (PyErr_Occurred()) SWIG_fail
;
10929 resultobj
= SWIG_Py_Void();
10936 SWIGINTERN PyObject
*_wrap_SashWindow_HasBorder(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10937 PyObject
*resultobj
= 0;
10938 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
10939 wxSashEdgePosition arg2
;
10945 PyObject
* obj0
= 0 ;
10946 PyObject
* obj1
= 0 ;
10947 char * kwnames
[] = {
10948 (char *) "self",(char *) "edge", NULL
10951 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_HasBorder",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10952 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSashWindow
, 0 | 0 );
10953 if (!SWIG_IsOK(res1
)) {
10954 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashWindow_HasBorder" "', expected argument " "1"" of type '" "wxSashWindow const *""'");
10956 arg1
= reinterpret_cast< wxSashWindow
* >(argp1
);
10957 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10958 if (!SWIG_IsOK(ecode2
)) {
10959 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SashWindow_HasBorder" "', expected argument " "2"" of type '" "wxSashEdgePosition""'");
10961 arg2
= static_cast< wxSashEdgePosition
>(val2
);
10963 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10964 result
= (bool)((wxSashWindow
const *)arg1
)->HasBorder(arg2
);
10965 wxPyEndAllowThreads(__tstate
);
10966 if (PyErr_Occurred()) SWIG_fail
;
10969 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10977 SWIGINTERN PyObject
*_wrap_SashWindow_GetEdgeMargin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10978 PyObject
*resultobj
= 0;
10979 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
10980 wxSashEdgePosition arg2
;
10986 PyObject
* obj0
= 0 ;
10987 PyObject
* obj1
= 0 ;
10988 char * kwnames
[] = {
10989 (char *) "self",(char *) "edge", NULL
10992 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_GetEdgeMargin",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10993 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSashWindow
, 0 | 0 );
10994 if (!SWIG_IsOK(res1
)) {
10995 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashWindow_GetEdgeMargin" "', expected argument " "1"" of type '" "wxSashWindow const *""'");
10997 arg1
= reinterpret_cast< wxSashWindow
* >(argp1
);
10998 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10999 if (!SWIG_IsOK(ecode2
)) {
11000 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SashWindow_GetEdgeMargin" "', expected argument " "2"" of type '" "wxSashEdgePosition""'");
11002 arg2
= static_cast< wxSashEdgePosition
>(val2
);
11004 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11005 result
= (int)((wxSashWindow
const *)arg1
)->GetEdgeMargin(arg2
);
11006 wxPyEndAllowThreads(__tstate
);
11007 if (PyErr_Occurred()) SWIG_fail
;
11009 resultobj
= SWIG_From_int(static_cast< int >(result
));
11016 SWIGINTERN PyObject
*_wrap_SashWindow_SetDefaultBorderSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11017 PyObject
*resultobj
= 0;
11018 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
11024 PyObject
* obj0
= 0 ;
11025 PyObject
* obj1
= 0 ;
11026 char * kwnames
[] = {
11027 (char *) "self",(char *) "width", NULL
11030 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_SetDefaultBorderSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11031 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSashWindow
, 0 | 0 );
11032 if (!SWIG_IsOK(res1
)) {
11033 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashWindow_SetDefaultBorderSize" "', expected argument " "1"" of type '" "wxSashWindow *""'");
11035 arg1
= reinterpret_cast< wxSashWindow
* >(argp1
);
11036 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11037 if (!SWIG_IsOK(ecode2
)) {
11038 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SashWindow_SetDefaultBorderSize" "', expected argument " "2"" of type '" "int""'");
11040 arg2
= static_cast< int >(val2
);
11042 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11043 (arg1
)->SetDefaultBorderSize(arg2
);
11044 wxPyEndAllowThreads(__tstate
);
11045 if (PyErr_Occurred()) SWIG_fail
;
11047 resultobj
= SWIG_Py_Void();
11054 SWIGINTERN PyObject
*_wrap_SashWindow_GetDefaultBorderSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11055 PyObject
*resultobj
= 0;
11056 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
11060 PyObject
*swig_obj
[1] ;
11062 if (!args
) SWIG_fail
;
11063 swig_obj
[0] = args
;
11064 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSashWindow
, 0 | 0 );
11065 if (!SWIG_IsOK(res1
)) {
11066 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashWindow_GetDefaultBorderSize" "', expected argument " "1"" of type '" "wxSashWindow const *""'");
11068 arg1
= reinterpret_cast< wxSashWindow
* >(argp1
);
11070 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11071 result
= (int)((wxSashWindow
const *)arg1
)->GetDefaultBorderSize();
11072 wxPyEndAllowThreads(__tstate
);
11073 if (PyErr_Occurred()) SWIG_fail
;
11075 resultobj
= SWIG_From_int(static_cast< int >(result
));
11082 SWIGINTERN PyObject
*_wrap_SashWindow_SetExtraBorderSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11083 PyObject
*resultobj
= 0;
11084 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
11090 PyObject
* obj0
= 0 ;
11091 PyObject
* obj1
= 0 ;
11092 char * kwnames
[] = {
11093 (char *) "self",(char *) "width", NULL
11096 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_SetExtraBorderSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11097 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSashWindow
, 0 | 0 );
11098 if (!SWIG_IsOK(res1
)) {
11099 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashWindow_SetExtraBorderSize" "', expected argument " "1"" of type '" "wxSashWindow *""'");
11101 arg1
= reinterpret_cast< wxSashWindow
* >(argp1
);
11102 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11103 if (!SWIG_IsOK(ecode2
)) {
11104 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SashWindow_SetExtraBorderSize" "', expected argument " "2"" of type '" "int""'");
11106 arg2
= static_cast< int >(val2
);
11108 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11109 (arg1
)->SetExtraBorderSize(arg2
);
11110 wxPyEndAllowThreads(__tstate
);
11111 if (PyErr_Occurred()) SWIG_fail
;
11113 resultobj
= SWIG_Py_Void();
11120 SWIGINTERN PyObject
*_wrap_SashWindow_GetExtraBorderSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11121 PyObject
*resultobj
= 0;
11122 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
11126 PyObject
*swig_obj
[1] ;
11128 if (!args
) SWIG_fail
;
11129 swig_obj
[0] = args
;
11130 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSashWindow
, 0 | 0 );
11131 if (!SWIG_IsOK(res1
)) {
11132 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashWindow_GetExtraBorderSize" "', expected argument " "1"" of type '" "wxSashWindow const *""'");
11134 arg1
= reinterpret_cast< wxSashWindow
* >(argp1
);
11136 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11137 result
= (int)((wxSashWindow
const *)arg1
)->GetExtraBorderSize();
11138 wxPyEndAllowThreads(__tstate
);
11139 if (PyErr_Occurred()) SWIG_fail
;
11141 resultobj
= SWIG_From_int(static_cast< int >(result
));
11148 SWIGINTERN PyObject
*_wrap_SashWindow_SetMinimumSizeX(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11149 PyObject
*resultobj
= 0;
11150 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
11156 PyObject
* obj0
= 0 ;
11157 PyObject
* obj1
= 0 ;
11158 char * kwnames
[] = {
11159 (char *) "self",(char *) "min", NULL
11162 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_SetMinimumSizeX",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11163 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSashWindow
, 0 | 0 );
11164 if (!SWIG_IsOK(res1
)) {
11165 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashWindow_SetMinimumSizeX" "', expected argument " "1"" of type '" "wxSashWindow *""'");
11167 arg1
= reinterpret_cast< wxSashWindow
* >(argp1
);
11168 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11169 if (!SWIG_IsOK(ecode2
)) {
11170 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SashWindow_SetMinimumSizeX" "', expected argument " "2"" of type '" "int""'");
11172 arg2
= static_cast< int >(val2
);
11174 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11175 (arg1
)->SetMinimumSizeX(arg2
);
11176 wxPyEndAllowThreads(__tstate
);
11177 if (PyErr_Occurred()) SWIG_fail
;
11179 resultobj
= SWIG_Py_Void();
11186 SWIGINTERN PyObject
*_wrap_SashWindow_SetMinimumSizeY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11187 PyObject
*resultobj
= 0;
11188 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
11194 PyObject
* obj0
= 0 ;
11195 PyObject
* obj1
= 0 ;
11196 char * kwnames
[] = {
11197 (char *) "self",(char *) "min", NULL
11200 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_SetMinimumSizeY",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11201 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSashWindow
, 0 | 0 );
11202 if (!SWIG_IsOK(res1
)) {
11203 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashWindow_SetMinimumSizeY" "', expected argument " "1"" of type '" "wxSashWindow *""'");
11205 arg1
= reinterpret_cast< wxSashWindow
* >(argp1
);
11206 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11207 if (!SWIG_IsOK(ecode2
)) {
11208 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SashWindow_SetMinimumSizeY" "', expected argument " "2"" of type '" "int""'");
11210 arg2
= static_cast< int >(val2
);
11212 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11213 (arg1
)->SetMinimumSizeY(arg2
);
11214 wxPyEndAllowThreads(__tstate
);
11215 if (PyErr_Occurred()) SWIG_fail
;
11217 resultobj
= SWIG_Py_Void();
11224 SWIGINTERN PyObject
*_wrap_SashWindow_GetMinimumSizeX(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11225 PyObject
*resultobj
= 0;
11226 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
11230 PyObject
*swig_obj
[1] ;
11232 if (!args
) SWIG_fail
;
11233 swig_obj
[0] = args
;
11234 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSashWindow
, 0 | 0 );
11235 if (!SWIG_IsOK(res1
)) {
11236 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashWindow_GetMinimumSizeX" "', expected argument " "1"" of type '" "wxSashWindow const *""'");
11238 arg1
= reinterpret_cast< wxSashWindow
* >(argp1
);
11240 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11241 result
= (int)((wxSashWindow
const *)arg1
)->GetMinimumSizeX();
11242 wxPyEndAllowThreads(__tstate
);
11243 if (PyErr_Occurred()) SWIG_fail
;
11245 resultobj
= SWIG_From_int(static_cast< int >(result
));
11252 SWIGINTERN PyObject
*_wrap_SashWindow_GetMinimumSizeY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11253 PyObject
*resultobj
= 0;
11254 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
11258 PyObject
*swig_obj
[1] ;
11260 if (!args
) SWIG_fail
;
11261 swig_obj
[0] = args
;
11262 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSashWindow
, 0 | 0 );
11263 if (!SWIG_IsOK(res1
)) {
11264 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashWindow_GetMinimumSizeY" "', expected argument " "1"" of type '" "wxSashWindow const *""'");
11266 arg1
= reinterpret_cast< wxSashWindow
* >(argp1
);
11268 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11269 result
= (int)((wxSashWindow
const *)arg1
)->GetMinimumSizeY();
11270 wxPyEndAllowThreads(__tstate
);
11271 if (PyErr_Occurred()) SWIG_fail
;
11273 resultobj
= SWIG_From_int(static_cast< int >(result
));
11280 SWIGINTERN PyObject
*_wrap_SashWindow_SetMaximumSizeX(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11281 PyObject
*resultobj
= 0;
11282 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
11288 PyObject
* obj0
= 0 ;
11289 PyObject
* obj1
= 0 ;
11290 char * kwnames
[] = {
11291 (char *) "self",(char *) "max", NULL
11294 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_SetMaximumSizeX",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11295 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSashWindow
, 0 | 0 );
11296 if (!SWIG_IsOK(res1
)) {
11297 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashWindow_SetMaximumSizeX" "', expected argument " "1"" of type '" "wxSashWindow *""'");
11299 arg1
= reinterpret_cast< wxSashWindow
* >(argp1
);
11300 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11301 if (!SWIG_IsOK(ecode2
)) {
11302 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SashWindow_SetMaximumSizeX" "', expected argument " "2"" of type '" "int""'");
11304 arg2
= static_cast< int >(val2
);
11306 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11307 (arg1
)->SetMaximumSizeX(arg2
);
11308 wxPyEndAllowThreads(__tstate
);
11309 if (PyErr_Occurred()) SWIG_fail
;
11311 resultobj
= SWIG_Py_Void();
11318 SWIGINTERN PyObject
*_wrap_SashWindow_SetMaximumSizeY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11319 PyObject
*resultobj
= 0;
11320 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
11326 PyObject
* obj0
= 0 ;
11327 PyObject
* obj1
= 0 ;
11328 char * kwnames
[] = {
11329 (char *) "self",(char *) "max", NULL
11332 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_SetMaximumSizeY",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11333 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSashWindow
, 0 | 0 );
11334 if (!SWIG_IsOK(res1
)) {
11335 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashWindow_SetMaximumSizeY" "', expected argument " "1"" of type '" "wxSashWindow *""'");
11337 arg1
= reinterpret_cast< wxSashWindow
* >(argp1
);
11338 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11339 if (!SWIG_IsOK(ecode2
)) {
11340 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SashWindow_SetMaximumSizeY" "', expected argument " "2"" of type '" "int""'");
11342 arg2
= static_cast< int >(val2
);
11344 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11345 (arg1
)->SetMaximumSizeY(arg2
);
11346 wxPyEndAllowThreads(__tstate
);
11347 if (PyErr_Occurred()) SWIG_fail
;
11349 resultobj
= SWIG_Py_Void();
11356 SWIGINTERN PyObject
*_wrap_SashWindow_GetMaximumSizeX(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11357 PyObject
*resultobj
= 0;
11358 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
11362 PyObject
*swig_obj
[1] ;
11364 if (!args
) SWIG_fail
;
11365 swig_obj
[0] = args
;
11366 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSashWindow
, 0 | 0 );
11367 if (!SWIG_IsOK(res1
)) {
11368 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashWindow_GetMaximumSizeX" "', expected argument " "1"" of type '" "wxSashWindow const *""'");
11370 arg1
= reinterpret_cast< wxSashWindow
* >(argp1
);
11372 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11373 result
= (int)((wxSashWindow
const *)arg1
)->GetMaximumSizeX();
11374 wxPyEndAllowThreads(__tstate
);
11375 if (PyErr_Occurred()) SWIG_fail
;
11377 resultobj
= SWIG_From_int(static_cast< int >(result
));
11384 SWIGINTERN PyObject
*_wrap_SashWindow_GetMaximumSizeY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11385 PyObject
*resultobj
= 0;
11386 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
11390 PyObject
*swig_obj
[1] ;
11392 if (!args
) SWIG_fail
;
11393 swig_obj
[0] = args
;
11394 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSashWindow
, 0 | 0 );
11395 if (!SWIG_IsOK(res1
)) {
11396 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashWindow_GetMaximumSizeY" "', expected argument " "1"" of type '" "wxSashWindow const *""'");
11398 arg1
= reinterpret_cast< wxSashWindow
* >(argp1
);
11400 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11401 result
= (int)((wxSashWindow
const *)arg1
)->GetMaximumSizeY();
11402 wxPyEndAllowThreads(__tstate
);
11403 if (PyErr_Occurred()) SWIG_fail
;
11405 resultobj
= SWIG_From_int(static_cast< int >(result
));
11412 SWIGINTERN PyObject
*_wrap_SashWindow_SashHitTest(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11413 PyObject
*resultobj
= 0;
11414 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
11417 int arg4
= (int) 2 ;
11418 wxSashEdgePosition result
;
11427 PyObject
* obj0
= 0 ;
11428 PyObject
* obj1
= 0 ;
11429 PyObject
* obj2
= 0 ;
11430 PyObject
* obj3
= 0 ;
11431 char * kwnames
[] = {
11432 (char *) "self",(char *) "x",(char *) "y",(char *) "tolerance", NULL
11435 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:SashWindow_SashHitTest",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
11436 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSashWindow
, 0 | 0 );
11437 if (!SWIG_IsOK(res1
)) {
11438 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashWindow_SashHitTest" "', expected argument " "1"" of type '" "wxSashWindow *""'");
11440 arg1
= reinterpret_cast< wxSashWindow
* >(argp1
);
11441 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11442 if (!SWIG_IsOK(ecode2
)) {
11443 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SashWindow_SashHitTest" "', expected argument " "2"" of type '" "int""'");
11445 arg2
= static_cast< int >(val2
);
11446 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
11447 if (!SWIG_IsOK(ecode3
)) {
11448 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "SashWindow_SashHitTest" "', expected argument " "3"" of type '" "int""'");
11450 arg3
= static_cast< int >(val3
);
11452 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
11453 if (!SWIG_IsOK(ecode4
)) {
11454 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "SashWindow_SashHitTest" "', expected argument " "4"" of type '" "int""'");
11456 arg4
= static_cast< int >(val4
);
11459 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11460 result
= (wxSashEdgePosition
)(arg1
)->SashHitTest(arg2
,arg3
,arg4
);
11461 wxPyEndAllowThreads(__tstate
);
11462 if (PyErr_Occurred()) SWIG_fail
;
11464 resultobj
= SWIG_From_int(static_cast< int >(result
));
11471 SWIGINTERN PyObject
*_wrap_SashWindow_SizeWindows(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11472 PyObject
*resultobj
= 0;
11473 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
11476 PyObject
*swig_obj
[1] ;
11478 if (!args
) SWIG_fail
;
11479 swig_obj
[0] = args
;
11480 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSashWindow
, 0 | 0 );
11481 if (!SWIG_IsOK(res1
)) {
11482 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashWindow_SizeWindows" "', expected argument " "1"" of type '" "wxSashWindow *""'");
11484 arg1
= reinterpret_cast< wxSashWindow
* >(argp1
);
11486 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11487 (arg1
)->SizeWindows();
11488 wxPyEndAllowThreads(__tstate
);
11489 if (PyErr_Occurred()) SWIG_fail
;
11491 resultobj
= SWIG_Py_Void();
11498 SWIGINTERN PyObject
*SashWindow_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11500 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
11501 SWIG_TypeNewClientData(SWIGTYPE_p_wxSashWindow
, SWIG_NewClientData(obj
));
11502 return SWIG_Py_Void();
11505 SWIGINTERN PyObject
*SashWindow_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11506 return SWIG_Python_InitShadowInstance(args
);
11509 SWIGINTERN PyObject
*_wrap_new_SashEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11510 PyObject
*resultobj
= 0;
11511 int arg1
= (int) 0 ;
11512 wxSashEdgePosition arg2
= (wxSashEdgePosition
) wxSASH_NONE
;
11513 wxSashEvent
*result
= 0 ;
11518 PyObject
* obj0
= 0 ;
11519 PyObject
* obj1
= 0 ;
11520 char * kwnames
[] = {
11521 (char *) "id",(char *) "edge", NULL
11524 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_SashEvent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11526 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
11527 if (!SWIG_IsOK(ecode1
)) {
11528 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_SashEvent" "', expected argument " "1"" of type '" "int""'");
11530 arg1
= static_cast< int >(val1
);
11533 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11534 if (!SWIG_IsOK(ecode2
)) {
11535 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_SashEvent" "', expected argument " "2"" of type '" "wxSashEdgePosition""'");
11537 arg2
= static_cast< wxSashEdgePosition
>(val2
);
11540 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11541 result
= (wxSashEvent
*)new wxSashEvent(arg1
,arg2
);
11542 wxPyEndAllowThreads(__tstate
);
11543 if (PyErr_Occurred()) SWIG_fail
;
11545 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSashEvent
, SWIG_POINTER_NEW
| 0 );
11552 SWIGINTERN PyObject
*_wrap_SashEvent_SetEdge(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11553 PyObject
*resultobj
= 0;
11554 wxSashEvent
*arg1
= (wxSashEvent
*) 0 ;
11555 wxSashEdgePosition arg2
;
11560 PyObject
* obj0
= 0 ;
11561 PyObject
* obj1
= 0 ;
11562 char * kwnames
[] = {
11563 (char *) "self",(char *) "edge", NULL
11566 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashEvent_SetEdge",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11567 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSashEvent
, 0 | 0 );
11568 if (!SWIG_IsOK(res1
)) {
11569 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashEvent_SetEdge" "', expected argument " "1"" of type '" "wxSashEvent *""'");
11571 arg1
= reinterpret_cast< wxSashEvent
* >(argp1
);
11572 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11573 if (!SWIG_IsOK(ecode2
)) {
11574 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SashEvent_SetEdge" "', expected argument " "2"" of type '" "wxSashEdgePosition""'");
11576 arg2
= static_cast< wxSashEdgePosition
>(val2
);
11578 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11579 (arg1
)->SetEdge(arg2
);
11580 wxPyEndAllowThreads(__tstate
);
11581 if (PyErr_Occurred()) SWIG_fail
;
11583 resultobj
= SWIG_Py_Void();
11590 SWIGINTERN PyObject
*_wrap_SashEvent_GetEdge(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11591 PyObject
*resultobj
= 0;
11592 wxSashEvent
*arg1
= (wxSashEvent
*) 0 ;
11593 wxSashEdgePosition result
;
11596 PyObject
*swig_obj
[1] ;
11598 if (!args
) SWIG_fail
;
11599 swig_obj
[0] = args
;
11600 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSashEvent
, 0 | 0 );
11601 if (!SWIG_IsOK(res1
)) {
11602 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashEvent_GetEdge" "', expected argument " "1"" of type '" "wxSashEvent const *""'");
11604 arg1
= reinterpret_cast< wxSashEvent
* >(argp1
);
11606 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11607 result
= (wxSashEdgePosition
)((wxSashEvent
const *)arg1
)->GetEdge();
11608 wxPyEndAllowThreads(__tstate
);
11609 if (PyErr_Occurred()) SWIG_fail
;
11611 resultobj
= SWIG_From_int(static_cast< int >(result
));
11618 SWIGINTERN PyObject
*_wrap_SashEvent_SetDragRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11619 PyObject
*resultobj
= 0;
11620 wxSashEvent
*arg1
= (wxSashEvent
*) 0 ;
11625 PyObject
* obj0
= 0 ;
11626 PyObject
* obj1
= 0 ;
11627 char * kwnames
[] = {
11628 (char *) "self",(char *) "rect", NULL
11631 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashEvent_SetDragRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11632 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSashEvent
, 0 | 0 );
11633 if (!SWIG_IsOK(res1
)) {
11634 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashEvent_SetDragRect" "', expected argument " "1"" of type '" "wxSashEvent *""'");
11636 arg1
= reinterpret_cast< wxSashEvent
* >(argp1
);
11639 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
11642 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11643 (arg1
)->SetDragRect((wxRect
const &)*arg2
);
11644 wxPyEndAllowThreads(__tstate
);
11645 if (PyErr_Occurred()) SWIG_fail
;
11647 resultobj
= SWIG_Py_Void();
11654 SWIGINTERN PyObject
*_wrap_SashEvent_GetDragRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11655 PyObject
*resultobj
= 0;
11656 wxSashEvent
*arg1
= (wxSashEvent
*) 0 ;
11660 PyObject
*swig_obj
[1] ;
11662 if (!args
) SWIG_fail
;
11663 swig_obj
[0] = args
;
11664 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSashEvent
, 0 | 0 );
11665 if (!SWIG_IsOK(res1
)) {
11666 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashEvent_GetDragRect" "', expected argument " "1"" of type '" "wxSashEvent const *""'");
11668 arg1
= reinterpret_cast< wxSashEvent
* >(argp1
);
11670 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11671 result
= ((wxSashEvent
const *)arg1
)->GetDragRect();
11672 wxPyEndAllowThreads(__tstate
);
11673 if (PyErr_Occurred()) SWIG_fail
;
11675 resultobj
= SWIG_NewPointerObj((new wxRect(static_cast< const wxRect
& >(result
))), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN
| 0 );
11682 SWIGINTERN PyObject
*_wrap_SashEvent_SetDragStatus(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11683 PyObject
*resultobj
= 0;
11684 wxSashEvent
*arg1
= (wxSashEvent
*) 0 ;
11685 wxSashDragStatus arg2
;
11690 PyObject
* obj0
= 0 ;
11691 PyObject
* obj1
= 0 ;
11692 char * kwnames
[] = {
11693 (char *) "self",(char *) "status", NULL
11696 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashEvent_SetDragStatus",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11697 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSashEvent
, 0 | 0 );
11698 if (!SWIG_IsOK(res1
)) {
11699 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashEvent_SetDragStatus" "', expected argument " "1"" of type '" "wxSashEvent *""'");
11701 arg1
= reinterpret_cast< wxSashEvent
* >(argp1
);
11702 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11703 if (!SWIG_IsOK(ecode2
)) {
11704 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SashEvent_SetDragStatus" "', expected argument " "2"" of type '" "wxSashDragStatus""'");
11706 arg2
= static_cast< wxSashDragStatus
>(val2
);
11708 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11709 (arg1
)->SetDragStatus(arg2
);
11710 wxPyEndAllowThreads(__tstate
);
11711 if (PyErr_Occurred()) SWIG_fail
;
11713 resultobj
= SWIG_Py_Void();
11720 SWIGINTERN PyObject
*_wrap_SashEvent_GetDragStatus(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11721 PyObject
*resultobj
= 0;
11722 wxSashEvent
*arg1
= (wxSashEvent
*) 0 ;
11723 wxSashDragStatus result
;
11726 PyObject
*swig_obj
[1] ;
11728 if (!args
) SWIG_fail
;
11729 swig_obj
[0] = args
;
11730 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSashEvent
, 0 | 0 );
11731 if (!SWIG_IsOK(res1
)) {
11732 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashEvent_GetDragStatus" "', expected argument " "1"" of type '" "wxSashEvent const *""'");
11734 arg1
= reinterpret_cast< wxSashEvent
* >(argp1
);
11736 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11737 result
= (wxSashDragStatus
)((wxSashEvent
const *)arg1
)->GetDragStatus();
11738 wxPyEndAllowThreads(__tstate
);
11739 if (PyErr_Occurred()) SWIG_fail
;
11741 resultobj
= SWIG_From_int(static_cast< int >(result
));
11748 SWIGINTERN PyObject
*SashEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11750 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
11751 SWIG_TypeNewClientData(SWIGTYPE_p_wxSashEvent
, SWIG_NewClientData(obj
));
11752 return SWIG_Py_Void();
11755 SWIGINTERN PyObject
*SashEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11756 return SWIG_Python_InitShadowInstance(args
);
11759 SWIGINTERN PyObject
*_wrap_new_QueryLayoutInfoEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11760 PyObject
*resultobj
= 0;
11761 int arg1
= (int) 0 ;
11762 wxQueryLayoutInfoEvent
*result
= 0 ;
11765 PyObject
* obj0
= 0 ;
11766 char * kwnames
[] = {
11767 (char *) "id", NULL
11770 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_QueryLayoutInfoEvent",kwnames
,&obj0
)) SWIG_fail
;
11772 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
11773 if (!SWIG_IsOK(ecode1
)) {
11774 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_QueryLayoutInfoEvent" "', expected argument " "1"" of type '" "int""'");
11776 arg1
= static_cast< int >(val1
);
11779 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11780 result
= (wxQueryLayoutInfoEvent
*)new wxQueryLayoutInfoEvent(arg1
);
11781 wxPyEndAllowThreads(__tstate
);
11782 if (PyErr_Occurred()) SWIG_fail
;
11784 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxQueryLayoutInfoEvent
, SWIG_POINTER_NEW
| 0 );
11791 SWIGINTERN PyObject
*_wrap_QueryLayoutInfoEvent_SetRequestedLength(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11792 PyObject
*resultobj
= 0;
11793 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
11799 PyObject
* obj0
= 0 ;
11800 PyObject
* obj1
= 0 ;
11801 char * kwnames
[] = {
11802 (char *) "self",(char *) "length", NULL
11805 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:QueryLayoutInfoEvent_SetRequestedLength",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11806 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxQueryLayoutInfoEvent
, 0 | 0 );
11807 if (!SWIG_IsOK(res1
)) {
11808 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "QueryLayoutInfoEvent_SetRequestedLength" "', expected argument " "1"" of type '" "wxQueryLayoutInfoEvent *""'");
11810 arg1
= reinterpret_cast< wxQueryLayoutInfoEvent
* >(argp1
);
11811 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11812 if (!SWIG_IsOK(ecode2
)) {
11813 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "QueryLayoutInfoEvent_SetRequestedLength" "', expected argument " "2"" of type '" "int""'");
11815 arg2
= static_cast< int >(val2
);
11817 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11818 (arg1
)->SetRequestedLength(arg2
);
11819 wxPyEndAllowThreads(__tstate
);
11820 if (PyErr_Occurred()) SWIG_fail
;
11822 resultobj
= SWIG_Py_Void();
11829 SWIGINTERN PyObject
*_wrap_QueryLayoutInfoEvent_GetRequestedLength(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11830 PyObject
*resultobj
= 0;
11831 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
11835 PyObject
*swig_obj
[1] ;
11837 if (!args
) SWIG_fail
;
11838 swig_obj
[0] = args
;
11839 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxQueryLayoutInfoEvent
, 0 | 0 );
11840 if (!SWIG_IsOK(res1
)) {
11841 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "QueryLayoutInfoEvent_GetRequestedLength" "', expected argument " "1"" of type '" "wxQueryLayoutInfoEvent const *""'");
11843 arg1
= reinterpret_cast< wxQueryLayoutInfoEvent
* >(argp1
);
11845 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11846 result
= (int)((wxQueryLayoutInfoEvent
const *)arg1
)->GetRequestedLength();
11847 wxPyEndAllowThreads(__tstate
);
11848 if (PyErr_Occurred()) SWIG_fail
;
11850 resultobj
= SWIG_From_int(static_cast< int >(result
));
11857 SWIGINTERN PyObject
*_wrap_QueryLayoutInfoEvent_SetFlags(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11858 PyObject
*resultobj
= 0;
11859 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
11865 PyObject
* obj0
= 0 ;
11866 PyObject
* obj1
= 0 ;
11867 char * kwnames
[] = {
11868 (char *) "self",(char *) "flags", NULL
11871 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:QueryLayoutInfoEvent_SetFlags",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11872 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxQueryLayoutInfoEvent
, 0 | 0 );
11873 if (!SWIG_IsOK(res1
)) {
11874 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "QueryLayoutInfoEvent_SetFlags" "', expected argument " "1"" of type '" "wxQueryLayoutInfoEvent *""'");
11876 arg1
= reinterpret_cast< wxQueryLayoutInfoEvent
* >(argp1
);
11877 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11878 if (!SWIG_IsOK(ecode2
)) {
11879 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "QueryLayoutInfoEvent_SetFlags" "', expected argument " "2"" of type '" "int""'");
11881 arg2
= static_cast< int >(val2
);
11883 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11884 (arg1
)->SetFlags(arg2
);
11885 wxPyEndAllowThreads(__tstate
);
11886 if (PyErr_Occurred()) SWIG_fail
;
11888 resultobj
= SWIG_Py_Void();
11895 SWIGINTERN PyObject
*_wrap_QueryLayoutInfoEvent_GetFlags(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11896 PyObject
*resultobj
= 0;
11897 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
11901 PyObject
*swig_obj
[1] ;
11903 if (!args
) SWIG_fail
;
11904 swig_obj
[0] = args
;
11905 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxQueryLayoutInfoEvent
, 0 | 0 );
11906 if (!SWIG_IsOK(res1
)) {
11907 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "QueryLayoutInfoEvent_GetFlags" "', expected argument " "1"" of type '" "wxQueryLayoutInfoEvent const *""'");
11909 arg1
= reinterpret_cast< wxQueryLayoutInfoEvent
* >(argp1
);
11911 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11912 result
= (int)((wxQueryLayoutInfoEvent
const *)arg1
)->GetFlags();
11913 wxPyEndAllowThreads(__tstate
);
11914 if (PyErr_Occurred()) SWIG_fail
;
11916 resultobj
= SWIG_From_int(static_cast< int >(result
));
11923 SWIGINTERN PyObject
*_wrap_QueryLayoutInfoEvent_SetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11924 PyObject
*resultobj
= 0;
11925 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
11930 PyObject
* obj0
= 0 ;
11931 PyObject
* obj1
= 0 ;
11932 char * kwnames
[] = {
11933 (char *) "self",(char *) "size", NULL
11936 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:QueryLayoutInfoEvent_SetSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11937 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxQueryLayoutInfoEvent
, 0 | 0 );
11938 if (!SWIG_IsOK(res1
)) {
11939 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "QueryLayoutInfoEvent_SetSize" "', expected argument " "1"" of type '" "wxQueryLayoutInfoEvent *""'");
11941 arg1
= reinterpret_cast< wxQueryLayoutInfoEvent
* >(argp1
);
11944 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
11947 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11948 (arg1
)->SetSize((wxSize
const &)*arg2
);
11949 wxPyEndAllowThreads(__tstate
);
11950 if (PyErr_Occurred()) SWIG_fail
;
11952 resultobj
= SWIG_Py_Void();
11959 SWIGINTERN PyObject
*_wrap_QueryLayoutInfoEvent_GetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11960 PyObject
*resultobj
= 0;
11961 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
11965 PyObject
*swig_obj
[1] ;
11967 if (!args
) SWIG_fail
;
11968 swig_obj
[0] = args
;
11969 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxQueryLayoutInfoEvent
, 0 | 0 );
11970 if (!SWIG_IsOK(res1
)) {
11971 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "QueryLayoutInfoEvent_GetSize" "', expected argument " "1"" of type '" "wxQueryLayoutInfoEvent const *""'");
11973 arg1
= reinterpret_cast< wxQueryLayoutInfoEvent
* >(argp1
);
11975 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11976 result
= ((wxQueryLayoutInfoEvent
const *)arg1
)->GetSize();
11977 wxPyEndAllowThreads(__tstate
);
11978 if (PyErr_Occurred()) SWIG_fail
;
11980 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
11987 SWIGINTERN PyObject
*_wrap_QueryLayoutInfoEvent_SetOrientation(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11988 PyObject
*resultobj
= 0;
11989 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
11990 wxLayoutOrientation arg2
;
11995 PyObject
* obj0
= 0 ;
11996 PyObject
* obj1
= 0 ;
11997 char * kwnames
[] = {
11998 (char *) "self",(char *) "orient", NULL
12001 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:QueryLayoutInfoEvent_SetOrientation",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12002 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxQueryLayoutInfoEvent
, 0 | 0 );
12003 if (!SWIG_IsOK(res1
)) {
12004 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "QueryLayoutInfoEvent_SetOrientation" "', expected argument " "1"" of type '" "wxQueryLayoutInfoEvent *""'");
12006 arg1
= reinterpret_cast< wxQueryLayoutInfoEvent
* >(argp1
);
12007 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
12008 if (!SWIG_IsOK(ecode2
)) {
12009 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "QueryLayoutInfoEvent_SetOrientation" "', expected argument " "2"" of type '" "wxLayoutOrientation""'");
12011 arg2
= static_cast< wxLayoutOrientation
>(val2
);
12013 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12014 (arg1
)->SetOrientation(arg2
);
12015 wxPyEndAllowThreads(__tstate
);
12016 if (PyErr_Occurred()) SWIG_fail
;
12018 resultobj
= SWIG_Py_Void();
12025 SWIGINTERN PyObject
*_wrap_QueryLayoutInfoEvent_GetOrientation(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12026 PyObject
*resultobj
= 0;
12027 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
12028 wxLayoutOrientation result
;
12031 PyObject
*swig_obj
[1] ;
12033 if (!args
) SWIG_fail
;
12034 swig_obj
[0] = args
;
12035 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxQueryLayoutInfoEvent
, 0 | 0 );
12036 if (!SWIG_IsOK(res1
)) {
12037 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "QueryLayoutInfoEvent_GetOrientation" "', expected argument " "1"" of type '" "wxQueryLayoutInfoEvent const *""'");
12039 arg1
= reinterpret_cast< wxQueryLayoutInfoEvent
* >(argp1
);
12041 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12042 result
= (wxLayoutOrientation
)((wxQueryLayoutInfoEvent
const *)arg1
)->GetOrientation();
12043 wxPyEndAllowThreads(__tstate
);
12044 if (PyErr_Occurred()) SWIG_fail
;
12046 resultobj
= SWIG_From_int(static_cast< int >(result
));
12053 SWIGINTERN PyObject
*_wrap_QueryLayoutInfoEvent_SetAlignment(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12054 PyObject
*resultobj
= 0;
12055 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
12056 wxLayoutAlignment arg2
;
12061 PyObject
* obj0
= 0 ;
12062 PyObject
* obj1
= 0 ;
12063 char * kwnames
[] = {
12064 (char *) "self",(char *) "align", NULL
12067 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:QueryLayoutInfoEvent_SetAlignment",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12068 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxQueryLayoutInfoEvent
, 0 | 0 );
12069 if (!SWIG_IsOK(res1
)) {
12070 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "QueryLayoutInfoEvent_SetAlignment" "', expected argument " "1"" of type '" "wxQueryLayoutInfoEvent *""'");
12072 arg1
= reinterpret_cast< wxQueryLayoutInfoEvent
* >(argp1
);
12073 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
12074 if (!SWIG_IsOK(ecode2
)) {
12075 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "QueryLayoutInfoEvent_SetAlignment" "', expected argument " "2"" of type '" "wxLayoutAlignment""'");
12077 arg2
= static_cast< wxLayoutAlignment
>(val2
);
12079 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12080 (arg1
)->SetAlignment(arg2
);
12081 wxPyEndAllowThreads(__tstate
);
12082 if (PyErr_Occurred()) SWIG_fail
;
12084 resultobj
= SWIG_Py_Void();
12091 SWIGINTERN PyObject
*_wrap_QueryLayoutInfoEvent_GetAlignment(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12092 PyObject
*resultobj
= 0;
12093 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
12094 wxLayoutAlignment result
;
12097 PyObject
*swig_obj
[1] ;
12099 if (!args
) SWIG_fail
;
12100 swig_obj
[0] = args
;
12101 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxQueryLayoutInfoEvent
, 0 | 0 );
12102 if (!SWIG_IsOK(res1
)) {
12103 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "QueryLayoutInfoEvent_GetAlignment" "', expected argument " "1"" of type '" "wxQueryLayoutInfoEvent const *""'");
12105 arg1
= reinterpret_cast< wxQueryLayoutInfoEvent
* >(argp1
);
12107 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12108 result
= (wxLayoutAlignment
)((wxQueryLayoutInfoEvent
const *)arg1
)->GetAlignment();
12109 wxPyEndAllowThreads(__tstate
);
12110 if (PyErr_Occurred()) SWIG_fail
;
12112 resultobj
= SWIG_From_int(static_cast< int >(result
));
12119 SWIGINTERN PyObject
*QueryLayoutInfoEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12121 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
12122 SWIG_TypeNewClientData(SWIGTYPE_p_wxQueryLayoutInfoEvent
, SWIG_NewClientData(obj
));
12123 return SWIG_Py_Void();
12126 SWIGINTERN PyObject
*QueryLayoutInfoEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12127 return SWIG_Python_InitShadowInstance(args
);
12130 SWIGINTERN PyObject
*_wrap_new_CalculateLayoutEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12131 PyObject
*resultobj
= 0;
12132 int arg1
= (int) 0 ;
12133 wxCalculateLayoutEvent
*result
= 0 ;
12136 PyObject
* obj0
= 0 ;
12137 char * kwnames
[] = {
12138 (char *) "id", NULL
12141 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_CalculateLayoutEvent",kwnames
,&obj0
)) SWIG_fail
;
12143 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
12144 if (!SWIG_IsOK(ecode1
)) {
12145 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_CalculateLayoutEvent" "', expected argument " "1"" of type '" "int""'");
12147 arg1
= static_cast< int >(val1
);
12150 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12151 result
= (wxCalculateLayoutEvent
*)new wxCalculateLayoutEvent(arg1
);
12152 wxPyEndAllowThreads(__tstate
);
12153 if (PyErr_Occurred()) SWIG_fail
;
12155 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxCalculateLayoutEvent
, SWIG_POINTER_NEW
| 0 );
12162 SWIGINTERN PyObject
*_wrap_CalculateLayoutEvent_SetFlags(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12163 PyObject
*resultobj
= 0;
12164 wxCalculateLayoutEvent
*arg1
= (wxCalculateLayoutEvent
*) 0 ;
12170 PyObject
* obj0
= 0 ;
12171 PyObject
* obj1
= 0 ;
12172 char * kwnames
[] = {
12173 (char *) "self",(char *) "flags", NULL
12176 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CalculateLayoutEvent_SetFlags",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12177 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxCalculateLayoutEvent
, 0 | 0 );
12178 if (!SWIG_IsOK(res1
)) {
12179 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CalculateLayoutEvent_SetFlags" "', expected argument " "1"" of type '" "wxCalculateLayoutEvent *""'");
12181 arg1
= reinterpret_cast< wxCalculateLayoutEvent
* >(argp1
);
12182 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
12183 if (!SWIG_IsOK(ecode2
)) {
12184 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "CalculateLayoutEvent_SetFlags" "', expected argument " "2"" of type '" "int""'");
12186 arg2
= static_cast< int >(val2
);
12188 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12189 (arg1
)->SetFlags(arg2
);
12190 wxPyEndAllowThreads(__tstate
);
12191 if (PyErr_Occurred()) SWIG_fail
;
12193 resultobj
= SWIG_Py_Void();
12200 SWIGINTERN PyObject
*_wrap_CalculateLayoutEvent_GetFlags(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12201 PyObject
*resultobj
= 0;
12202 wxCalculateLayoutEvent
*arg1
= (wxCalculateLayoutEvent
*) 0 ;
12206 PyObject
*swig_obj
[1] ;
12208 if (!args
) SWIG_fail
;
12209 swig_obj
[0] = args
;
12210 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCalculateLayoutEvent
, 0 | 0 );
12211 if (!SWIG_IsOK(res1
)) {
12212 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CalculateLayoutEvent_GetFlags" "', expected argument " "1"" of type '" "wxCalculateLayoutEvent const *""'");
12214 arg1
= reinterpret_cast< wxCalculateLayoutEvent
* >(argp1
);
12216 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12217 result
= (int)((wxCalculateLayoutEvent
const *)arg1
)->GetFlags();
12218 wxPyEndAllowThreads(__tstate
);
12219 if (PyErr_Occurred()) SWIG_fail
;
12221 resultobj
= SWIG_From_int(static_cast< int >(result
));
12228 SWIGINTERN PyObject
*_wrap_CalculateLayoutEvent_SetRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12229 PyObject
*resultobj
= 0;
12230 wxCalculateLayoutEvent
*arg1
= (wxCalculateLayoutEvent
*) 0 ;
12235 PyObject
* obj0
= 0 ;
12236 PyObject
* obj1
= 0 ;
12237 char * kwnames
[] = {
12238 (char *) "self",(char *) "rect", NULL
12241 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CalculateLayoutEvent_SetRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12242 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxCalculateLayoutEvent
, 0 | 0 );
12243 if (!SWIG_IsOK(res1
)) {
12244 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CalculateLayoutEvent_SetRect" "', expected argument " "1"" of type '" "wxCalculateLayoutEvent *""'");
12246 arg1
= reinterpret_cast< wxCalculateLayoutEvent
* >(argp1
);
12249 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
12252 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12253 (arg1
)->SetRect((wxRect
const &)*arg2
);
12254 wxPyEndAllowThreads(__tstate
);
12255 if (PyErr_Occurred()) SWIG_fail
;
12257 resultobj
= SWIG_Py_Void();
12264 SWIGINTERN PyObject
*_wrap_CalculateLayoutEvent_GetRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12265 PyObject
*resultobj
= 0;
12266 wxCalculateLayoutEvent
*arg1
= (wxCalculateLayoutEvent
*) 0 ;
12270 PyObject
*swig_obj
[1] ;
12272 if (!args
) SWIG_fail
;
12273 swig_obj
[0] = args
;
12274 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCalculateLayoutEvent
, 0 | 0 );
12275 if (!SWIG_IsOK(res1
)) {
12276 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CalculateLayoutEvent_GetRect" "', expected argument " "1"" of type '" "wxCalculateLayoutEvent const *""'");
12278 arg1
= reinterpret_cast< wxCalculateLayoutEvent
* >(argp1
);
12280 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12281 result
= ((wxCalculateLayoutEvent
const *)arg1
)->GetRect();
12282 wxPyEndAllowThreads(__tstate
);
12283 if (PyErr_Occurred()) SWIG_fail
;
12285 resultobj
= SWIG_NewPointerObj((new wxRect(static_cast< const wxRect
& >(result
))), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN
| 0 );
12292 SWIGINTERN PyObject
*CalculateLayoutEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12294 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
12295 SWIG_TypeNewClientData(SWIGTYPE_p_wxCalculateLayoutEvent
, SWIG_NewClientData(obj
));
12296 return SWIG_Py_Void();
12299 SWIGINTERN PyObject
*CalculateLayoutEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12300 return SWIG_Python_InitShadowInstance(args
);
12303 SWIGINTERN PyObject
*_wrap_new_SashLayoutWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12304 PyObject
*resultobj
= 0;
12305 wxWindow
*arg1
= (wxWindow
*) 0 ;
12306 int arg2
= (int) -1 ;
12307 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
12308 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
12309 wxSize
const &arg4_defvalue
= wxDefaultSize
;
12310 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
12311 long arg5
= (long) wxCLIP_CHILDREN
|wxSW_3D
;
12312 wxString
const &arg6_defvalue
= wxPySashLayoutNameStr
;
12313 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
12314 wxSashLayoutWindow
*result
= 0 ;
12323 bool temp6
= false ;
12324 PyObject
* obj0
= 0 ;
12325 PyObject
* obj1
= 0 ;
12326 PyObject
* obj2
= 0 ;
12327 PyObject
* obj3
= 0 ;
12328 PyObject
* obj4
= 0 ;
12329 PyObject
* obj5
= 0 ;
12330 char * kwnames
[] = {
12331 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
12334 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_SashLayoutWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
12335 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
12336 if (!SWIG_IsOK(res1
)) {
12337 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_SashLayoutWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
12339 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
12341 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
12342 if (!SWIG_IsOK(ecode2
)) {
12343 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_SashLayoutWindow" "', expected argument " "2"" of type '" "int""'");
12345 arg2
= static_cast< int >(val2
);
12350 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
12356 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
12360 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
12361 if (!SWIG_IsOK(ecode5
)) {
12362 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_SashLayoutWindow" "', expected argument " "5"" of type '" "long""'");
12364 arg5
= static_cast< long >(val5
);
12368 arg6
= wxString_in_helper(obj5
);
12369 if (arg6
== NULL
) SWIG_fail
;
12374 if (!wxPyCheckForApp()) SWIG_fail
;
12375 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12376 result
= (wxSashLayoutWindow
*)new wxSashLayoutWindow(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
12377 wxPyEndAllowThreads(__tstate
);
12378 if (PyErr_Occurred()) SWIG_fail
;
12380 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSashLayoutWindow
, SWIG_POINTER_NEW
| 0 );
12395 SWIGINTERN PyObject
*_wrap_new_PreSashLayoutWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12396 PyObject
*resultobj
= 0;
12397 wxSashLayoutWindow
*result
= 0 ;
12399 if (!SWIG_Python_UnpackTuple(args
,"new_PreSashLayoutWindow",0,0,0)) SWIG_fail
;
12401 if (!wxPyCheckForApp()) SWIG_fail
;
12402 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12403 result
= (wxSashLayoutWindow
*)new wxSashLayoutWindow();
12404 wxPyEndAllowThreads(__tstate
);
12405 if (PyErr_Occurred()) SWIG_fail
;
12407 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSashLayoutWindow
, SWIG_POINTER_OWN
| 0 );
12414 SWIGINTERN PyObject
*_wrap_SashLayoutWindow_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12415 PyObject
*resultobj
= 0;
12416 wxSashLayoutWindow
*arg1
= (wxSashLayoutWindow
*) 0 ;
12417 wxWindow
*arg2
= (wxWindow
*) 0 ;
12418 int arg3
= (int) -1 ;
12419 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
12420 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
12421 wxSize
const &arg5_defvalue
= wxDefaultSize
;
12422 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
12423 long arg6
= (long) wxCLIP_CHILDREN
|wxSW_3D
;
12424 wxString
const &arg7_defvalue
= wxPySashLayoutNameStr
;
12425 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
12437 bool temp7
= false ;
12438 PyObject
* obj0
= 0 ;
12439 PyObject
* obj1
= 0 ;
12440 PyObject
* obj2
= 0 ;
12441 PyObject
* obj3
= 0 ;
12442 PyObject
* obj4
= 0 ;
12443 PyObject
* obj5
= 0 ;
12444 PyObject
* obj6
= 0 ;
12445 char * kwnames
[] = {
12446 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
12449 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:SashLayoutWindow_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
12450 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSashLayoutWindow
, 0 | 0 );
12451 if (!SWIG_IsOK(res1
)) {
12452 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashLayoutWindow_Create" "', expected argument " "1"" of type '" "wxSashLayoutWindow *""'");
12454 arg1
= reinterpret_cast< wxSashLayoutWindow
* >(argp1
);
12455 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
12456 if (!SWIG_IsOK(res2
)) {
12457 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "SashLayoutWindow_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
12459 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
12461 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
12462 if (!SWIG_IsOK(ecode3
)) {
12463 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "SashLayoutWindow_Create" "', expected argument " "3"" of type '" "int""'");
12465 arg3
= static_cast< int >(val3
);
12470 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
12476 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
12480 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
12481 if (!SWIG_IsOK(ecode6
)) {
12482 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "SashLayoutWindow_Create" "', expected argument " "6"" of type '" "long""'");
12484 arg6
= static_cast< long >(val6
);
12488 arg7
= wxString_in_helper(obj6
);
12489 if (arg7
== NULL
) SWIG_fail
;
12494 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12495 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
12496 wxPyEndAllowThreads(__tstate
);
12497 if (PyErr_Occurred()) SWIG_fail
;
12500 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12516 SWIGINTERN PyObject
*_wrap_SashLayoutWindow_GetAlignment(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12517 PyObject
*resultobj
= 0;
12518 wxSashLayoutWindow
*arg1
= (wxSashLayoutWindow
*) 0 ;
12519 wxLayoutAlignment result
;
12522 PyObject
*swig_obj
[1] ;
12524 if (!args
) SWIG_fail
;
12525 swig_obj
[0] = args
;
12526 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSashLayoutWindow
, 0 | 0 );
12527 if (!SWIG_IsOK(res1
)) {
12528 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashLayoutWindow_GetAlignment" "', expected argument " "1"" of type '" "wxSashLayoutWindow *""'");
12530 arg1
= reinterpret_cast< wxSashLayoutWindow
* >(argp1
);
12532 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12533 result
= (wxLayoutAlignment
)(arg1
)->GetAlignment();
12534 wxPyEndAllowThreads(__tstate
);
12535 if (PyErr_Occurred()) SWIG_fail
;
12537 resultobj
= SWIG_From_int(static_cast< int >(result
));
12544 SWIGINTERN PyObject
*_wrap_SashLayoutWindow_GetOrientation(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12545 PyObject
*resultobj
= 0;
12546 wxSashLayoutWindow
*arg1
= (wxSashLayoutWindow
*) 0 ;
12547 wxLayoutOrientation result
;
12550 PyObject
*swig_obj
[1] ;
12552 if (!args
) SWIG_fail
;
12553 swig_obj
[0] = args
;
12554 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSashLayoutWindow
, 0 | 0 );
12555 if (!SWIG_IsOK(res1
)) {
12556 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashLayoutWindow_GetOrientation" "', expected argument " "1"" of type '" "wxSashLayoutWindow *""'");
12558 arg1
= reinterpret_cast< wxSashLayoutWindow
* >(argp1
);
12560 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12561 result
= (wxLayoutOrientation
)(arg1
)->GetOrientation();
12562 wxPyEndAllowThreads(__tstate
);
12563 if (PyErr_Occurred()) SWIG_fail
;
12565 resultobj
= SWIG_From_int(static_cast< int >(result
));
12572 SWIGINTERN PyObject
*_wrap_SashLayoutWindow_SetAlignment(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12573 PyObject
*resultobj
= 0;
12574 wxSashLayoutWindow
*arg1
= (wxSashLayoutWindow
*) 0 ;
12575 wxLayoutAlignment arg2
;
12580 PyObject
* obj0
= 0 ;
12581 PyObject
* obj1
= 0 ;
12582 char * kwnames
[] = {
12583 (char *) "self",(char *) "alignment", NULL
12586 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashLayoutWindow_SetAlignment",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12587 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSashLayoutWindow
, 0 | 0 );
12588 if (!SWIG_IsOK(res1
)) {
12589 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashLayoutWindow_SetAlignment" "', expected argument " "1"" of type '" "wxSashLayoutWindow *""'");
12591 arg1
= reinterpret_cast< wxSashLayoutWindow
* >(argp1
);
12592 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
12593 if (!SWIG_IsOK(ecode2
)) {
12594 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SashLayoutWindow_SetAlignment" "', expected argument " "2"" of type '" "wxLayoutAlignment""'");
12596 arg2
= static_cast< wxLayoutAlignment
>(val2
);
12598 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12599 (arg1
)->SetAlignment(arg2
);
12600 wxPyEndAllowThreads(__tstate
);
12601 if (PyErr_Occurred()) SWIG_fail
;
12603 resultobj
= SWIG_Py_Void();
12610 SWIGINTERN PyObject
*_wrap_SashLayoutWindow_SetDefaultSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12611 PyObject
*resultobj
= 0;
12612 wxSashLayoutWindow
*arg1
= (wxSashLayoutWindow
*) 0 ;
12617 PyObject
* obj0
= 0 ;
12618 PyObject
* obj1
= 0 ;
12619 char * kwnames
[] = {
12620 (char *) "self",(char *) "size", NULL
12623 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashLayoutWindow_SetDefaultSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12624 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSashLayoutWindow
, 0 | 0 );
12625 if (!SWIG_IsOK(res1
)) {
12626 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashLayoutWindow_SetDefaultSize" "', expected argument " "1"" of type '" "wxSashLayoutWindow *""'");
12628 arg1
= reinterpret_cast< wxSashLayoutWindow
* >(argp1
);
12631 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
12634 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12635 (arg1
)->SetDefaultSize((wxSize
const &)*arg2
);
12636 wxPyEndAllowThreads(__tstate
);
12637 if (PyErr_Occurred()) SWIG_fail
;
12639 resultobj
= SWIG_Py_Void();
12646 SWIGINTERN PyObject
*_wrap_SashLayoutWindow_SetOrientation(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12647 PyObject
*resultobj
= 0;
12648 wxSashLayoutWindow
*arg1
= (wxSashLayoutWindow
*) 0 ;
12649 wxLayoutOrientation arg2
;
12654 PyObject
* obj0
= 0 ;
12655 PyObject
* obj1
= 0 ;
12656 char * kwnames
[] = {
12657 (char *) "self",(char *) "orientation", NULL
12660 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashLayoutWindow_SetOrientation",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12661 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSashLayoutWindow
, 0 | 0 );
12662 if (!SWIG_IsOK(res1
)) {
12663 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashLayoutWindow_SetOrientation" "', expected argument " "1"" of type '" "wxSashLayoutWindow *""'");
12665 arg1
= reinterpret_cast< wxSashLayoutWindow
* >(argp1
);
12666 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
12667 if (!SWIG_IsOK(ecode2
)) {
12668 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SashLayoutWindow_SetOrientation" "', expected argument " "2"" of type '" "wxLayoutOrientation""'");
12670 arg2
= static_cast< wxLayoutOrientation
>(val2
);
12672 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12673 (arg1
)->SetOrientation(arg2
);
12674 wxPyEndAllowThreads(__tstate
);
12675 if (PyErr_Occurred()) SWIG_fail
;
12677 resultobj
= SWIG_Py_Void();
12684 SWIGINTERN PyObject
*SashLayoutWindow_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12686 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
12687 SWIG_TypeNewClientData(SWIGTYPE_p_wxSashLayoutWindow
, SWIG_NewClientData(obj
));
12688 return SWIG_Py_Void();
12691 SWIGINTERN PyObject
*SashLayoutWindow_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12692 return SWIG_Python_InitShadowInstance(args
);
12695 SWIGINTERN PyObject
*_wrap_new_LayoutAlgorithm(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12696 PyObject
*resultobj
= 0;
12697 wxLayoutAlgorithm
*result
= 0 ;
12699 if (!SWIG_Python_UnpackTuple(args
,"new_LayoutAlgorithm",0,0,0)) SWIG_fail
;
12701 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12702 result
= (wxLayoutAlgorithm
*)new wxLayoutAlgorithm();
12703 wxPyEndAllowThreads(__tstate
);
12704 if (PyErr_Occurred()) SWIG_fail
;
12706 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxLayoutAlgorithm
, SWIG_POINTER_NEW
| 0 );
12713 SWIGINTERN PyObject
*_wrap_delete_LayoutAlgorithm(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12714 PyObject
*resultobj
= 0;
12715 wxLayoutAlgorithm
*arg1
= (wxLayoutAlgorithm
*) 0 ;
12718 PyObject
*swig_obj
[1] ;
12720 if (!args
) SWIG_fail
;
12721 swig_obj
[0] = args
;
12722 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLayoutAlgorithm
, SWIG_POINTER_DISOWN
| 0 );
12723 if (!SWIG_IsOK(res1
)) {
12724 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_LayoutAlgorithm" "', expected argument " "1"" of type '" "wxLayoutAlgorithm *""'");
12726 arg1
= reinterpret_cast< wxLayoutAlgorithm
* >(argp1
);
12728 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12731 wxPyEndAllowThreads(__tstate
);
12732 if (PyErr_Occurred()) SWIG_fail
;
12734 resultobj
= SWIG_Py_Void();
12741 SWIGINTERN PyObject
*_wrap_LayoutAlgorithm_LayoutMDIFrame(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12742 PyObject
*resultobj
= 0;
12743 wxLayoutAlgorithm
*arg1
= (wxLayoutAlgorithm
*) 0 ;
12744 wxMDIParentFrame
*arg2
= (wxMDIParentFrame
*) 0 ;
12745 wxRect
*arg3
= (wxRect
*) NULL
;
12753 PyObject
* obj0
= 0 ;
12754 PyObject
* obj1
= 0 ;
12755 PyObject
* obj2
= 0 ;
12756 char * kwnames
[] = {
12757 (char *) "self",(char *) "frame",(char *) "rect", NULL
12760 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:LayoutAlgorithm_LayoutMDIFrame",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
12761 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxLayoutAlgorithm
, 0 | 0 );
12762 if (!SWIG_IsOK(res1
)) {
12763 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "LayoutAlgorithm_LayoutMDIFrame" "', expected argument " "1"" of type '" "wxLayoutAlgorithm *""'");
12765 arg1
= reinterpret_cast< wxLayoutAlgorithm
* >(argp1
);
12766 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxMDIParentFrame
, 0 | 0 );
12767 if (!SWIG_IsOK(res2
)) {
12768 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "LayoutAlgorithm_LayoutMDIFrame" "', expected argument " "2"" of type '" "wxMDIParentFrame *""'");
12770 arg2
= reinterpret_cast< wxMDIParentFrame
* >(argp2
);
12772 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxRect
, 0 | 0 );
12773 if (!SWIG_IsOK(res3
)) {
12774 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "LayoutAlgorithm_LayoutMDIFrame" "', expected argument " "3"" of type '" "wxRect *""'");
12776 arg3
= reinterpret_cast< wxRect
* >(argp3
);
12779 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12780 result
= (bool)(arg1
)->LayoutMDIFrame(arg2
,arg3
);
12781 wxPyEndAllowThreads(__tstate
);
12782 if (PyErr_Occurred()) SWIG_fail
;
12785 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12793 SWIGINTERN PyObject
*_wrap_LayoutAlgorithm_LayoutFrame(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12794 PyObject
*resultobj
= 0;
12795 wxLayoutAlgorithm
*arg1
= (wxLayoutAlgorithm
*) 0 ;
12796 wxFrame
*arg2
= (wxFrame
*) 0 ;
12797 wxWindow
*arg3
= (wxWindow
*) NULL
;
12805 PyObject
* obj0
= 0 ;
12806 PyObject
* obj1
= 0 ;
12807 PyObject
* obj2
= 0 ;
12808 char * kwnames
[] = {
12809 (char *) "self",(char *) "frame",(char *) "mainWindow", NULL
12812 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:LayoutAlgorithm_LayoutFrame",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
12813 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxLayoutAlgorithm
, 0 | 0 );
12814 if (!SWIG_IsOK(res1
)) {
12815 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "LayoutAlgorithm_LayoutFrame" "', expected argument " "1"" of type '" "wxLayoutAlgorithm *""'");
12817 arg1
= reinterpret_cast< wxLayoutAlgorithm
* >(argp1
);
12818 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxFrame
, 0 | 0 );
12819 if (!SWIG_IsOK(res2
)) {
12820 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "LayoutAlgorithm_LayoutFrame" "', expected argument " "2"" of type '" "wxFrame *""'");
12822 arg2
= reinterpret_cast< wxFrame
* >(argp2
);
12824 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxWindow
, 0 | 0 );
12825 if (!SWIG_IsOK(res3
)) {
12826 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "LayoutAlgorithm_LayoutFrame" "', expected argument " "3"" of type '" "wxWindow *""'");
12828 arg3
= reinterpret_cast< wxWindow
* >(argp3
);
12831 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12832 result
= (bool)(arg1
)->LayoutFrame(arg2
,arg3
);
12833 wxPyEndAllowThreads(__tstate
);
12834 if (PyErr_Occurred()) SWIG_fail
;
12837 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12845 SWIGINTERN PyObject
*_wrap_LayoutAlgorithm_LayoutWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12846 PyObject
*resultobj
= 0;
12847 wxLayoutAlgorithm
*arg1
= (wxLayoutAlgorithm
*) 0 ;
12848 wxWindow
*arg2
= (wxWindow
*) 0 ;
12849 wxWindow
*arg3
= (wxWindow
*) NULL
;
12857 PyObject
* obj0
= 0 ;
12858 PyObject
* obj1
= 0 ;
12859 PyObject
* obj2
= 0 ;
12860 char * kwnames
[] = {
12861 (char *) "self",(char *) "parent",(char *) "mainWindow", NULL
12864 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:LayoutAlgorithm_LayoutWindow",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
12865 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxLayoutAlgorithm
, 0 | 0 );
12866 if (!SWIG_IsOK(res1
)) {
12867 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "LayoutAlgorithm_LayoutWindow" "', expected argument " "1"" of type '" "wxLayoutAlgorithm *""'");
12869 arg1
= reinterpret_cast< wxLayoutAlgorithm
* >(argp1
);
12870 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
12871 if (!SWIG_IsOK(res2
)) {
12872 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "LayoutAlgorithm_LayoutWindow" "', expected argument " "2"" of type '" "wxWindow *""'");
12874 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
12876 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxWindow
, 0 | 0 );
12877 if (!SWIG_IsOK(res3
)) {
12878 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "LayoutAlgorithm_LayoutWindow" "', expected argument " "3"" of type '" "wxWindow *""'");
12880 arg3
= reinterpret_cast< wxWindow
* >(argp3
);
12883 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12884 result
= (bool)(arg1
)->LayoutWindow(arg2
,arg3
);
12885 wxPyEndAllowThreads(__tstate
);
12886 if (PyErr_Occurred()) SWIG_fail
;
12889 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12897 SWIGINTERN PyObject
*LayoutAlgorithm_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12899 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
12900 SWIG_TypeNewClientData(SWIGTYPE_p_wxLayoutAlgorithm
, SWIG_NewClientData(obj
));
12901 return SWIG_Py_Void();
12904 SWIGINTERN PyObject
*LayoutAlgorithm_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12905 return SWIG_Python_InitShadowInstance(args
);
12908 SWIGINTERN PyObject
*_wrap_new_PopupWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12909 PyObject
*resultobj
= 0;
12910 wxWindow
*arg1
= (wxWindow
*) 0 ;
12911 int arg2
= (int) wxBORDER_NONE
;
12912 wxPopupWindow
*result
= 0 ;
12917 PyObject
* obj0
= 0 ;
12918 PyObject
* obj1
= 0 ;
12919 char * kwnames
[] = {
12920 (char *) "parent",(char *) "flags", NULL
12923 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_PopupWindow",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12924 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
12925 if (!SWIG_IsOK(res1
)) {
12926 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PopupWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
12928 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
12930 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
12931 if (!SWIG_IsOK(ecode2
)) {
12932 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_PopupWindow" "', expected argument " "2"" of type '" "int""'");
12934 arg2
= static_cast< int >(val2
);
12937 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12938 result
= (wxPopupWindow
*)new wxPopupWindow(arg1
,arg2
);
12939 wxPyEndAllowThreads(__tstate
);
12940 if (PyErr_Occurred()) SWIG_fail
;
12942 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPopupWindow
, SWIG_POINTER_NEW
| 0 );
12949 SWIGINTERN PyObject
*_wrap_new_PrePopupWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12950 PyObject
*resultobj
= 0;
12951 wxPopupWindow
*result
= 0 ;
12953 if (!SWIG_Python_UnpackTuple(args
,"new_PrePopupWindow",0,0,0)) SWIG_fail
;
12955 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12956 result
= (wxPopupWindow
*)new wxPopupWindow();
12957 wxPyEndAllowThreads(__tstate
);
12958 if (PyErr_Occurred()) SWIG_fail
;
12960 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPopupWindow
, SWIG_POINTER_OWN
| 0 );
12967 SWIGINTERN PyObject
*PopupWindow_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12969 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
12970 SWIG_TypeNewClientData(SWIGTYPE_p_wxPopupWindow
, SWIG_NewClientData(obj
));
12971 return SWIG_Py_Void();
12974 SWIGINTERN PyObject
*PopupWindow_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12975 return SWIG_Python_InitShadowInstance(args
);
12978 SWIGINTERN PyObject
*_wrap_new_PopupTransientWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12979 PyObject
*resultobj
= 0;
12980 wxWindow
*arg1
= (wxWindow
*) 0 ;
12981 int arg2
= (int) wxBORDER_NONE
;
12982 wxPyPopupTransientWindow
*result
= 0 ;
12987 PyObject
* obj0
= 0 ;
12988 PyObject
* obj1
= 0 ;
12989 char * kwnames
[] = {
12990 (char *) "parent",(char *) "style", NULL
12993 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_PopupTransientWindow",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12994 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
12995 if (!SWIG_IsOK(res1
)) {
12996 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PopupTransientWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
12998 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
13000 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
13001 if (!SWIG_IsOK(ecode2
)) {
13002 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_PopupTransientWindow" "', expected argument " "2"" of type '" "int""'");
13004 arg2
= static_cast< int >(val2
);
13007 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13008 result
= (wxPyPopupTransientWindow
*)new wxPyPopupTransientWindow(arg1
,arg2
);
13009 wxPyEndAllowThreads(__tstate
);
13010 if (PyErr_Occurred()) SWIG_fail
;
13012 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyPopupTransientWindow
, SWIG_POINTER_NEW
| 0 );
13019 SWIGINTERN PyObject
*_wrap_new_PrePopupTransientWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13020 PyObject
*resultobj
= 0;
13021 wxPyPopupTransientWindow
*result
= 0 ;
13023 if (!SWIG_Python_UnpackTuple(args
,"new_PrePopupTransientWindow",0,0,0)) SWIG_fail
;
13025 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13026 result
= (wxPyPopupTransientWindow
*)new wxPyPopupTransientWindow();
13027 wxPyEndAllowThreads(__tstate
);
13028 if (PyErr_Occurred()) SWIG_fail
;
13030 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyPopupTransientWindow
, SWIG_POINTER_OWN
| 0 );
13037 SWIGINTERN PyObject
*PopupTransientWindow_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13039 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
13040 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyPopupTransientWindow
, SWIG_NewClientData(obj
));
13041 return SWIG_Py_Void();
13044 SWIGINTERN PyObject
*PopupTransientWindow_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13045 return SWIG_Python_InitShadowInstance(args
);
13048 SWIGINTERN PyObject
*_wrap_new_TipWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13049 PyObject
*resultobj
= 0;
13050 wxWindow
*arg1
= (wxWindow
*) 0 ;
13051 wxString
*arg2
= 0 ;
13052 int arg3
= (int) 100 ;
13053 wxRect
*arg4
= (wxRect
*) NULL
;
13054 wxTipWindow
*result
= 0 ;
13057 bool temp2
= false ;
13062 PyObject
* obj0
= 0 ;
13063 PyObject
* obj1
= 0 ;
13064 PyObject
* obj2
= 0 ;
13065 PyObject
* obj3
= 0 ;
13066 char * kwnames
[] = {
13067 (char *) "parent",(char *) "text",(char *) "maxLength",(char *) "rectBound", NULL
13070 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:new_TipWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
13071 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
13072 if (!SWIG_IsOK(res1
)) {
13073 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_TipWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
13075 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
13077 arg2
= wxString_in_helper(obj1
);
13078 if (arg2
== NULL
) SWIG_fail
;
13082 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
13083 if (!SWIG_IsOK(ecode3
)) {
13084 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_TipWindow" "', expected argument " "3"" of type '" "int""'");
13086 arg3
= static_cast< int >(val3
);
13089 res4
= SWIG_ConvertPtr(obj3
, &argp4
,SWIGTYPE_p_wxRect
, 0 | 0 );
13090 if (!SWIG_IsOK(res4
)) {
13091 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "new_TipWindow" "', expected argument " "4"" of type '" "wxRect *""'");
13093 arg4
= reinterpret_cast< wxRect
* >(argp4
);
13096 if (!wxPyCheckForApp()) SWIG_fail
;
13097 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13098 result
= (wxTipWindow
*)new_wxTipWindow(arg1
,(wxString
const &)*arg2
,arg3
,arg4
);
13099 wxPyEndAllowThreads(__tstate
);
13100 if (PyErr_Occurred()) SWIG_fail
;
13102 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTipWindow
, SWIG_POINTER_NEW
| 0 );
13117 SWIGINTERN PyObject
*_wrap_TipWindow_SetBoundingRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13118 PyObject
*resultobj
= 0;
13119 wxTipWindow
*arg1
= (wxTipWindow
*) 0 ;
13124 PyObject
* obj0
= 0 ;
13125 PyObject
* obj1
= 0 ;
13126 char * kwnames
[] = {
13127 (char *) "self",(char *) "rectBound", NULL
13130 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TipWindow_SetBoundingRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13131 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTipWindow
, 0 | 0 );
13132 if (!SWIG_IsOK(res1
)) {
13133 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TipWindow_SetBoundingRect" "', expected argument " "1"" of type '" "wxTipWindow *""'");
13135 arg1
= reinterpret_cast< wxTipWindow
* >(argp1
);
13138 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
13141 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13142 (arg1
)->SetBoundingRect((wxRect
const &)*arg2
);
13143 wxPyEndAllowThreads(__tstate
);
13144 if (PyErr_Occurred()) SWIG_fail
;
13146 resultobj
= SWIG_Py_Void();
13153 SWIGINTERN PyObject
*_wrap_TipWindow_Close(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13154 PyObject
*resultobj
= 0;
13155 wxTipWindow
*arg1
= (wxTipWindow
*) 0 ;
13158 PyObject
*swig_obj
[1] ;
13160 if (!args
) SWIG_fail
;
13161 swig_obj
[0] = args
;
13162 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTipWindow
, 0 | 0 );
13163 if (!SWIG_IsOK(res1
)) {
13164 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TipWindow_Close" "', expected argument " "1"" of type '" "wxTipWindow *""'");
13166 arg1
= reinterpret_cast< wxTipWindow
* >(argp1
);
13168 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13170 wxPyEndAllowThreads(__tstate
);
13171 if (PyErr_Occurred()) SWIG_fail
;
13173 resultobj
= SWIG_Py_Void();
13180 SWIGINTERN PyObject
*TipWindow_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13182 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
13183 SWIG_TypeNewClientData(SWIGTYPE_p_wxTipWindow
, SWIG_NewClientData(obj
));
13184 return SWIG_Py_Void();
13187 SWIGINTERN PyObject
*TipWindow_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13188 return SWIG_Python_InitShadowInstance(args
);
13191 SWIGINTERN PyObject
*_wrap_new_VScrolledWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13192 PyObject
*resultobj
= 0;
13193 wxWindow
*arg1
= (wxWindow
*) 0 ;
13194 int arg2
= (int) wxID_ANY
;
13195 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
13196 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
13197 wxSize
const &arg4_defvalue
= wxDefaultSize
;
13198 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
13199 long arg5
= (long) 0 ;
13200 wxString
const &arg6_defvalue
= wxPyPanelNameStr
;
13201 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
13202 wxPyVScrolledWindow
*result
= 0 ;
13211 bool temp6
= false ;
13212 PyObject
* obj0
= 0 ;
13213 PyObject
* obj1
= 0 ;
13214 PyObject
* obj2
= 0 ;
13215 PyObject
* obj3
= 0 ;
13216 PyObject
* obj4
= 0 ;
13217 PyObject
* obj5
= 0 ;
13218 char * kwnames
[] = {
13219 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
13222 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_VScrolledWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
13223 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
13224 if (!SWIG_IsOK(res1
)) {
13225 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_VScrolledWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
13227 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
13229 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
13230 if (!SWIG_IsOK(ecode2
)) {
13231 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_VScrolledWindow" "', expected argument " "2"" of type '" "int""'");
13233 arg2
= static_cast< int >(val2
);
13238 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
13244 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
13248 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
13249 if (!SWIG_IsOK(ecode5
)) {
13250 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_VScrolledWindow" "', expected argument " "5"" of type '" "long""'");
13252 arg5
= static_cast< long >(val5
);
13256 arg6
= wxString_in_helper(obj5
);
13257 if (arg6
== NULL
) SWIG_fail
;
13262 if (!wxPyCheckForApp()) SWIG_fail
;
13263 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13264 result
= (wxPyVScrolledWindow
*)new wxPyVScrolledWindow(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
13265 wxPyEndAllowThreads(__tstate
);
13266 if (PyErr_Occurred()) SWIG_fail
;
13268 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyVScrolledWindow
, SWIG_POINTER_NEW
| 0 );
13283 SWIGINTERN PyObject
*_wrap_new_PreVScrolledWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13284 PyObject
*resultobj
= 0;
13285 wxPyVScrolledWindow
*result
= 0 ;
13287 if (!SWIG_Python_UnpackTuple(args
,"new_PreVScrolledWindow",0,0,0)) SWIG_fail
;
13289 if (!wxPyCheckForApp()) SWIG_fail
;
13290 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13291 result
= (wxPyVScrolledWindow
*)new wxPyVScrolledWindow();
13292 wxPyEndAllowThreads(__tstate
);
13293 if (PyErr_Occurred()) SWIG_fail
;
13295 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyVScrolledWindow
, SWIG_POINTER_OWN
| 0 );
13302 SWIGINTERN PyObject
*_wrap_VScrolledWindow__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13303 PyObject
*resultobj
= 0;
13304 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
13305 PyObject
*arg2
= (PyObject
*) 0 ;
13306 PyObject
*arg3
= (PyObject
*) 0 ;
13309 PyObject
* obj0
= 0 ;
13310 PyObject
* obj1
= 0 ;
13311 PyObject
* obj2
= 0 ;
13312 char * kwnames
[] = {
13313 (char *) "self",(char *) "self",(char *) "_class", NULL
13316 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:VScrolledWindow__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
13317 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVScrolledWindow
, 0 | 0 );
13318 if (!SWIG_IsOK(res1
)) {
13319 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VScrolledWindow__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyVScrolledWindow *""'");
13321 arg1
= reinterpret_cast< wxPyVScrolledWindow
* >(argp1
);
13325 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13326 (arg1
)->_setCallbackInfo(arg2
,arg3
);
13327 wxPyEndAllowThreads(__tstate
);
13328 if (PyErr_Occurred()) SWIG_fail
;
13330 resultobj
= SWIG_Py_Void();
13337 SWIGINTERN PyObject
*_wrap_VScrolledWindow_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13338 PyObject
*resultobj
= 0;
13339 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
13340 wxWindow
*arg2
= (wxWindow
*) 0 ;
13341 int arg3
= (int) wxID_ANY
;
13342 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
13343 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
13344 wxSize
const &arg5_defvalue
= wxDefaultSize
;
13345 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
13346 long arg6
= (long) 0 ;
13347 wxString
const &arg7_defvalue
= wxPyPanelNameStr
;
13348 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
13360 bool temp7
= false ;
13361 PyObject
* obj0
= 0 ;
13362 PyObject
* obj1
= 0 ;
13363 PyObject
* obj2
= 0 ;
13364 PyObject
* obj3
= 0 ;
13365 PyObject
* obj4
= 0 ;
13366 PyObject
* obj5
= 0 ;
13367 PyObject
* obj6
= 0 ;
13368 char * kwnames
[] = {
13369 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
13372 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:VScrolledWindow_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
13373 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVScrolledWindow
, 0 | 0 );
13374 if (!SWIG_IsOK(res1
)) {
13375 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VScrolledWindow_Create" "', expected argument " "1"" of type '" "wxPyVScrolledWindow *""'");
13377 arg1
= reinterpret_cast< wxPyVScrolledWindow
* >(argp1
);
13378 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
13379 if (!SWIG_IsOK(res2
)) {
13380 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "VScrolledWindow_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
13382 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
13384 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
13385 if (!SWIG_IsOK(ecode3
)) {
13386 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "VScrolledWindow_Create" "', expected argument " "3"" of type '" "int""'");
13388 arg3
= static_cast< int >(val3
);
13393 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
13399 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
13403 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
13404 if (!SWIG_IsOK(ecode6
)) {
13405 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "VScrolledWindow_Create" "', expected argument " "6"" of type '" "long""'");
13407 arg6
= static_cast< long >(val6
);
13411 arg7
= wxString_in_helper(obj6
);
13412 if (arg7
== NULL
) SWIG_fail
;
13417 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13418 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
13419 wxPyEndAllowThreads(__tstate
);
13420 if (PyErr_Occurred()) SWIG_fail
;
13423 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13439 SWIGINTERN PyObject
*_wrap_VScrolledWindow_SetLineCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13440 PyObject
*resultobj
= 0;
13441 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
13447 PyObject
* obj0
= 0 ;
13448 PyObject
* obj1
= 0 ;
13449 char * kwnames
[] = {
13450 (char *) "self",(char *) "count", NULL
13453 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VScrolledWindow_SetLineCount",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13454 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVScrolledWindow
, 0 | 0 );
13455 if (!SWIG_IsOK(res1
)) {
13456 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VScrolledWindow_SetLineCount" "', expected argument " "1"" of type '" "wxPyVScrolledWindow *""'");
13458 arg1
= reinterpret_cast< wxPyVScrolledWindow
* >(argp1
);
13459 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
13460 if (!SWIG_IsOK(ecode2
)) {
13461 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "VScrolledWindow_SetLineCount" "', expected argument " "2"" of type '" "size_t""'");
13463 arg2
= static_cast< size_t >(val2
);
13465 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13466 (arg1
)->SetLineCount(arg2
);
13467 wxPyEndAllowThreads(__tstate
);
13468 if (PyErr_Occurred()) SWIG_fail
;
13470 resultobj
= SWIG_Py_Void();
13477 SWIGINTERN PyObject
*_wrap_VScrolledWindow_ScrollToLine(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13478 PyObject
*resultobj
= 0;
13479 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
13486 PyObject
* obj0
= 0 ;
13487 PyObject
* obj1
= 0 ;
13488 char * kwnames
[] = {
13489 (char *) "self",(char *) "line", NULL
13492 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VScrolledWindow_ScrollToLine",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13493 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVScrolledWindow
, 0 | 0 );
13494 if (!SWIG_IsOK(res1
)) {
13495 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VScrolledWindow_ScrollToLine" "', expected argument " "1"" of type '" "wxPyVScrolledWindow *""'");
13497 arg1
= reinterpret_cast< wxPyVScrolledWindow
* >(argp1
);
13498 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
13499 if (!SWIG_IsOK(ecode2
)) {
13500 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "VScrolledWindow_ScrollToLine" "', expected argument " "2"" of type '" "size_t""'");
13502 arg2
= static_cast< size_t >(val2
);
13504 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13505 result
= (bool)(arg1
)->ScrollToLine(arg2
);
13506 wxPyEndAllowThreads(__tstate
);
13507 if (PyErr_Occurred()) SWIG_fail
;
13510 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13518 SWIGINTERN PyObject
*_wrap_VScrolledWindow_RefreshLine(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13519 PyObject
*resultobj
= 0;
13520 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
13526 PyObject
* obj0
= 0 ;
13527 PyObject
* obj1
= 0 ;
13528 char * kwnames
[] = {
13529 (char *) "self",(char *) "line", NULL
13532 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VScrolledWindow_RefreshLine",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13533 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVScrolledWindow
, 0 | 0 );
13534 if (!SWIG_IsOK(res1
)) {
13535 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VScrolledWindow_RefreshLine" "', expected argument " "1"" of type '" "wxPyVScrolledWindow *""'");
13537 arg1
= reinterpret_cast< wxPyVScrolledWindow
* >(argp1
);
13538 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
13539 if (!SWIG_IsOK(ecode2
)) {
13540 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "VScrolledWindow_RefreshLine" "', expected argument " "2"" of type '" "size_t""'");
13542 arg2
= static_cast< size_t >(val2
);
13544 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13545 (arg1
)->RefreshLine(arg2
);
13546 wxPyEndAllowThreads(__tstate
);
13547 if (PyErr_Occurred()) SWIG_fail
;
13549 resultobj
= SWIG_Py_Void();
13556 SWIGINTERN PyObject
*_wrap_VScrolledWindow_RefreshLines(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13557 PyObject
*resultobj
= 0;
13558 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
13567 PyObject
* obj0
= 0 ;
13568 PyObject
* obj1
= 0 ;
13569 PyObject
* obj2
= 0 ;
13570 char * kwnames
[] = {
13571 (char *) "self",(char *) "_from",(char *) "to", NULL
13574 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:VScrolledWindow_RefreshLines",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
13575 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVScrolledWindow
, 0 | 0 );
13576 if (!SWIG_IsOK(res1
)) {
13577 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VScrolledWindow_RefreshLines" "', expected argument " "1"" of type '" "wxPyVScrolledWindow *""'");
13579 arg1
= reinterpret_cast< wxPyVScrolledWindow
* >(argp1
);
13580 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
13581 if (!SWIG_IsOK(ecode2
)) {
13582 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "VScrolledWindow_RefreshLines" "', expected argument " "2"" of type '" "size_t""'");
13584 arg2
= static_cast< size_t >(val2
);
13585 ecode3
= SWIG_AsVal_size_t(obj2
, &val3
);
13586 if (!SWIG_IsOK(ecode3
)) {
13587 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "VScrolledWindow_RefreshLines" "', expected argument " "3"" of type '" "size_t""'");
13589 arg3
= static_cast< size_t >(val3
);
13591 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13592 (arg1
)->RefreshLines(arg2
,arg3
);
13593 wxPyEndAllowThreads(__tstate
);
13594 if (PyErr_Occurred()) SWIG_fail
;
13596 resultobj
= SWIG_Py_Void();
13603 SWIGINTERN PyObject
*_wrap_VScrolledWindow_HitTestXY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13604 PyObject
*resultobj
= 0;
13605 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
13615 PyObject
* obj0
= 0 ;
13616 PyObject
* obj1
= 0 ;
13617 PyObject
* obj2
= 0 ;
13618 char * kwnames
[] = {
13619 (char *) "self",(char *) "x",(char *) "y", NULL
13622 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:VScrolledWindow_HitTestXY",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
13623 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVScrolledWindow
, 0 | 0 );
13624 if (!SWIG_IsOK(res1
)) {
13625 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VScrolledWindow_HitTestXY" "', expected argument " "1"" of type '" "wxPyVScrolledWindow const *""'");
13627 arg1
= reinterpret_cast< wxPyVScrolledWindow
* >(argp1
);
13628 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
13629 if (!SWIG_IsOK(ecode2
)) {
13630 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "VScrolledWindow_HitTestXY" "', expected argument " "2"" of type '" "int""'");
13632 arg2
= static_cast< int >(val2
);
13633 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
13634 if (!SWIG_IsOK(ecode3
)) {
13635 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "VScrolledWindow_HitTestXY" "', expected argument " "3"" of type '" "int""'");
13637 arg3
= static_cast< int >(val3
);
13639 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13640 result
= (int)((wxPyVScrolledWindow
const *)arg1
)->HitTest(arg2
,arg3
);
13641 wxPyEndAllowThreads(__tstate
);
13642 if (PyErr_Occurred()) SWIG_fail
;
13644 resultobj
= SWIG_From_int(static_cast< int >(result
));
13651 SWIGINTERN PyObject
*_wrap_VScrolledWindow_HitTest(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13652 PyObject
*resultobj
= 0;
13653 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
13654 wxPoint
*arg2
= 0 ;
13659 PyObject
* obj0
= 0 ;
13660 PyObject
* obj1
= 0 ;
13661 char * kwnames
[] = {
13662 (char *) "self",(char *) "pt", NULL
13665 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VScrolledWindow_HitTest",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13666 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVScrolledWindow
, 0 | 0 );
13667 if (!SWIG_IsOK(res1
)) {
13668 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VScrolledWindow_HitTest" "', expected argument " "1"" of type '" "wxPyVScrolledWindow const *""'");
13670 arg1
= reinterpret_cast< wxPyVScrolledWindow
* >(argp1
);
13673 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
13676 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13677 result
= (int)((wxPyVScrolledWindow
const *)arg1
)->HitTest((wxPoint
const &)*arg2
);
13678 wxPyEndAllowThreads(__tstate
);
13679 if (PyErr_Occurred()) SWIG_fail
;
13681 resultobj
= SWIG_From_int(static_cast< int >(result
));
13688 SWIGINTERN PyObject
*_wrap_VScrolledWindow_RefreshAll(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13689 PyObject
*resultobj
= 0;
13690 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
13693 PyObject
*swig_obj
[1] ;
13695 if (!args
) SWIG_fail
;
13696 swig_obj
[0] = args
;
13697 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyVScrolledWindow
, 0 | 0 );
13698 if (!SWIG_IsOK(res1
)) {
13699 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VScrolledWindow_RefreshAll" "', expected argument " "1"" of type '" "wxPyVScrolledWindow *""'");
13701 arg1
= reinterpret_cast< wxPyVScrolledWindow
* >(argp1
);
13703 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13704 (arg1
)->RefreshAll();
13705 wxPyEndAllowThreads(__tstate
);
13706 if (PyErr_Occurred()) SWIG_fail
;
13708 resultobj
= SWIG_Py_Void();
13715 SWIGINTERN PyObject
*_wrap_VScrolledWindow_GetLineCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13716 PyObject
*resultobj
= 0;
13717 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
13721 PyObject
*swig_obj
[1] ;
13723 if (!args
) SWIG_fail
;
13724 swig_obj
[0] = args
;
13725 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyVScrolledWindow
, 0 | 0 );
13726 if (!SWIG_IsOK(res1
)) {
13727 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VScrolledWindow_GetLineCount" "', expected argument " "1"" of type '" "wxPyVScrolledWindow const *""'");
13729 arg1
= reinterpret_cast< wxPyVScrolledWindow
* >(argp1
);
13731 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13732 result
= (size_t)((wxPyVScrolledWindow
const *)arg1
)->GetLineCount();
13733 wxPyEndAllowThreads(__tstate
);
13734 if (PyErr_Occurred()) SWIG_fail
;
13736 resultobj
= SWIG_From_size_t(static_cast< size_t >(result
));
13743 SWIGINTERN PyObject
*_wrap_VScrolledWindow_GetVisibleBegin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13744 PyObject
*resultobj
= 0;
13745 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
13749 PyObject
*swig_obj
[1] ;
13751 if (!args
) SWIG_fail
;
13752 swig_obj
[0] = args
;
13753 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyVScrolledWindow
, 0 | 0 );
13754 if (!SWIG_IsOK(res1
)) {
13755 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VScrolledWindow_GetVisibleBegin" "', expected argument " "1"" of type '" "wxPyVScrolledWindow const *""'");
13757 arg1
= reinterpret_cast< wxPyVScrolledWindow
* >(argp1
);
13759 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13760 result
= (size_t)((wxPyVScrolledWindow
const *)arg1
)->GetVisibleBegin();
13761 wxPyEndAllowThreads(__tstate
);
13762 if (PyErr_Occurred()) SWIG_fail
;
13764 resultobj
= SWIG_From_size_t(static_cast< size_t >(result
));
13771 SWIGINTERN PyObject
*_wrap_VScrolledWindow_GetVisibleEnd(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13772 PyObject
*resultobj
= 0;
13773 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
13777 PyObject
*swig_obj
[1] ;
13779 if (!args
) SWIG_fail
;
13780 swig_obj
[0] = args
;
13781 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyVScrolledWindow
, 0 | 0 );
13782 if (!SWIG_IsOK(res1
)) {
13783 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VScrolledWindow_GetVisibleEnd" "', expected argument " "1"" of type '" "wxPyVScrolledWindow const *""'");
13785 arg1
= reinterpret_cast< wxPyVScrolledWindow
* >(argp1
);
13787 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13788 result
= (size_t)((wxPyVScrolledWindow
const *)arg1
)->GetVisibleEnd();
13789 wxPyEndAllowThreads(__tstate
);
13790 if (PyErr_Occurred()) SWIG_fail
;
13792 resultobj
= SWIG_From_size_t(static_cast< size_t >(result
));
13799 SWIGINTERN PyObject
*_wrap_VScrolledWindow_IsVisible(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13800 PyObject
*resultobj
= 0;
13801 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
13808 PyObject
* obj0
= 0 ;
13809 PyObject
* obj1
= 0 ;
13810 char * kwnames
[] = {
13811 (char *) "self",(char *) "line", NULL
13814 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VScrolledWindow_IsVisible",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13815 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVScrolledWindow
, 0 | 0 );
13816 if (!SWIG_IsOK(res1
)) {
13817 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VScrolledWindow_IsVisible" "', expected argument " "1"" of type '" "wxPyVScrolledWindow const *""'");
13819 arg1
= reinterpret_cast< wxPyVScrolledWindow
* >(argp1
);
13820 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
13821 if (!SWIG_IsOK(ecode2
)) {
13822 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "VScrolledWindow_IsVisible" "', expected argument " "2"" of type '" "size_t""'");
13824 arg2
= static_cast< size_t >(val2
);
13826 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13827 result
= (bool)((wxPyVScrolledWindow
const *)arg1
)->IsVisible(arg2
);
13828 wxPyEndAllowThreads(__tstate
);
13829 if (PyErr_Occurred()) SWIG_fail
;
13832 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13840 SWIGINTERN PyObject
*_wrap_VScrolledWindow_GetFirstVisibleLine(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13841 PyObject
*resultobj
= 0;
13842 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
13846 PyObject
*swig_obj
[1] ;
13848 if (!args
) SWIG_fail
;
13849 swig_obj
[0] = args
;
13850 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyVScrolledWindow
, 0 | 0 );
13851 if (!SWIG_IsOK(res1
)) {
13852 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VScrolledWindow_GetFirstVisibleLine" "', expected argument " "1"" of type '" "wxPyVScrolledWindow const *""'");
13854 arg1
= reinterpret_cast< wxPyVScrolledWindow
* >(argp1
);
13856 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13857 result
= (size_t)((wxPyVScrolledWindow
const *)arg1
)->GetFirstVisibleLine();
13858 wxPyEndAllowThreads(__tstate
);
13859 if (PyErr_Occurred()) SWIG_fail
;
13861 resultobj
= SWIG_From_size_t(static_cast< size_t >(result
));
13868 SWIGINTERN PyObject
*_wrap_VScrolledWindow_GetLastVisibleLine(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13869 PyObject
*resultobj
= 0;
13870 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
13874 PyObject
*swig_obj
[1] ;
13876 if (!args
) SWIG_fail
;
13877 swig_obj
[0] = args
;
13878 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyVScrolledWindow
, 0 | 0 );
13879 if (!SWIG_IsOK(res1
)) {
13880 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VScrolledWindow_GetLastVisibleLine" "', expected argument " "1"" of type '" "wxPyVScrolledWindow const *""'");
13882 arg1
= reinterpret_cast< wxPyVScrolledWindow
* >(argp1
);
13884 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13885 result
= (size_t)((wxPyVScrolledWindow
const *)arg1
)->GetLastVisibleLine();
13886 wxPyEndAllowThreads(__tstate
);
13887 if (PyErr_Occurred()) SWIG_fail
;
13889 resultobj
= SWIG_From_size_t(static_cast< size_t >(result
));
13896 SWIGINTERN PyObject
*_wrap_VScrolledWindow_FindFirstFromBottom(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13897 PyObject
*resultobj
= 0;
13898 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
13900 bool arg3
= (bool) false ;
13908 PyObject
* obj0
= 0 ;
13909 PyObject
* obj1
= 0 ;
13910 PyObject
* obj2
= 0 ;
13911 char * kwnames
[] = {
13912 (char *) "self",(char *) "lineLast",(char *) "fullyVisible", NULL
13915 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:VScrolledWindow_FindFirstFromBottom",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
13916 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVScrolledWindow
, 0 | 0 );
13917 if (!SWIG_IsOK(res1
)) {
13918 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VScrolledWindow_FindFirstFromBottom" "', expected argument " "1"" of type '" "wxPyVScrolledWindow *""'");
13920 arg1
= reinterpret_cast< wxPyVScrolledWindow
* >(argp1
);
13921 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
13922 if (!SWIG_IsOK(ecode2
)) {
13923 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "VScrolledWindow_FindFirstFromBottom" "', expected argument " "2"" of type '" "size_t""'");
13925 arg2
= static_cast< size_t >(val2
);
13927 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
13928 if (!SWIG_IsOK(ecode3
)) {
13929 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "VScrolledWindow_FindFirstFromBottom" "', expected argument " "3"" of type '" "bool""'");
13931 arg3
= static_cast< bool >(val3
);
13934 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13935 result
= (size_t)(arg1
)->FindFirstFromBottom(arg2
,arg3
);
13936 wxPyEndAllowThreads(__tstate
);
13937 if (PyErr_Occurred()) SWIG_fail
;
13939 resultobj
= SWIG_From_size_t(static_cast< size_t >(result
));
13946 SWIGINTERN PyObject
*_wrap_VScrolledWindow_GetLinesHeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13947 PyObject
*resultobj
= 0;
13948 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
13958 PyObject
* obj0
= 0 ;
13959 PyObject
* obj1
= 0 ;
13960 PyObject
* obj2
= 0 ;
13961 char * kwnames
[] = {
13962 (char *) "self",(char *) "lineMin",(char *) "lineMax", NULL
13965 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:VScrolledWindow_GetLinesHeight",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
13966 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVScrolledWindow
, 0 | 0 );
13967 if (!SWIG_IsOK(res1
)) {
13968 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VScrolledWindow_GetLinesHeight" "', expected argument " "1"" of type '" "wxPyVScrolledWindow const *""'");
13970 arg1
= reinterpret_cast< wxPyVScrolledWindow
* >(argp1
);
13971 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
13972 if (!SWIG_IsOK(ecode2
)) {
13973 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "VScrolledWindow_GetLinesHeight" "', expected argument " "2"" of type '" "size_t""'");
13975 arg2
= static_cast< size_t >(val2
);
13976 ecode3
= SWIG_AsVal_size_t(obj2
, &val3
);
13977 if (!SWIG_IsOK(ecode3
)) {
13978 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "VScrolledWindow_GetLinesHeight" "', expected argument " "3"" of type '" "size_t""'");
13980 arg3
= static_cast< size_t >(val3
);
13982 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13983 result
= (int)((wxPyVScrolledWindow
const *)arg1
)->GetLinesHeight(arg2
,arg3
);
13984 wxPyEndAllowThreads(__tstate
);
13985 if (PyErr_Occurred()) SWIG_fail
;
13987 resultobj
= SWIG_From_int(static_cast< int >(result
));
13994 SWIGINTERN PyObject
*VScrolledWindow_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13996 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
13997 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyVScrolledWindow
, SWIG_NewClientData(obj
));
13998 return SWIG_Py_Void();
14001 SWIGINTERN PyObject
*VScrolledWindow_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14002 return SWIG_Python_InitShadowInstance(args
);
14005 SWIGINTERN
int VListBoxNameStr_set(PyObject
*) {
14006 SWIG_Error(SWIG_AttributeError
,"Variable VListBoxNameStr is read-only.");
14011 SWIGINTERN PyObject
*VListBoxNameStr_get(void) {
14012 PyObject
*pyobj
= 0;
14016 pyobj
= PyUnicode_FromWideChar((&wxPyVListBoxNameStr
)->c_str(), (&wxPyVListBoxNameStr
)->Len());
14018 pyobj
= PyString_FromStringAndSize((&wxPyVListBoxNameStr
)->c_str(), (&wxPyVListBoxNameStr
)->Len());
14025 SWIGINTERN PyObject
*_wrap_new_VListBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14026 PyObject
*resultobj
= 0;
14027 wxWindow
*arg1
= (wxWindow
*) 0 ;
14028 int arg2
= (int) wxID_ANY
;
14029 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
14030 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
14031 wxSize
const &arg4_defvalue
= wxDefaultSize
;
14032 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
14033 long arg5
= (long) 0 ;
14034 wxString
const &arg6_defvalue
= wxPyVListBoxNameStr
;
14035 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
14036 wxPyVListBox
*result
= 0 ;
14045 bool temp6
= false ;
14046 PyObject
* obj0
= 0 ;
14047 PyObject
* obj1
= 0 ;
14048 PyObject
* obj2
= 0 ;
14049 PyObject
* obj3
= 0 ;
14050 PyObject
* obj4
= 0 ;
14051 PyObject
* obj5
= 0 ;
14052 char * kwnames
[] = {
14053 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
14056 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_VListBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
14057 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
14058 if (!SWIG_IsOK(res1
)) {
14059 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_VListBox" "', expected argument " "1"" of type '" "wxWindow *""'");
14061 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
14063 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
14064 if (!SWIG_IsOK(ecode2
)) {
14065 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_VListBox" "', expected argument " "2"" of type '" "int""'");
14067 arg2
= static_cast< int >(val2
);
14072 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
14078 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
14082 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
14083 if (!SWIG_IsOK(ecode5
)) {
14084 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_VListBox" "', expected argument " "5"" of type '" "long""'");
14086 arg5
= static_cast< long >(val5
);
14090 arg6
= wxString_in_helper(obj5
);
14091 if (arg6
== NULL
) SWIG_fail
;
14096 if (!wxPyCheckForApp()) SWIG_fail
;
14097 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14098 result
= (wxPyVListBox
*)new wxPyVListBox(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
14099 wxPyEndAllowThreads(__tstate
);
14100 if (PyErr_Occurred()) SWIG_fail
;
14102 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyVListBox
, SWIG_POINTER_NEW
| 0 );
14117 SWIGINTERN PyObject
*_wrap_new_PreVListBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14118 PyObject
*resultobj
= 0;
14119 wxPyVListBox
*result
= 0 ;
14121 if (!SWIG_Python_UnpackTuple(args
,"new_PreVListBox",0,0,0)) SWIG_fail
;
14123 if (!wxPyCheckForApp()) SWIG_fail
;
14124 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14125 result
= (wxPyVListBox
*)new wxPyVListBox();
14126 wxPyEndAllowThreads(__tstate
);
14127 if (PyErr_Occurred()) SWIG_fail
;
14129 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyVListBox
, SWIG_POINTER_OWN
| 0 );
14136 SWIGINTERN PyObject
*_wrap_VListBox__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14137 PyObject
*resultobj
= 0;
14138 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
14139 PyObject
*arg2
= (PyObject
*) 0 ;
14140 PyObject
*arg3
= (PyObject
*) 0 ;
14143 PyObject
* obj0
= 0 ;
14144 PyObject
* obj1
= 0 ;
14145 PyObject
* obj2
= 0 ;
14146 char * kwnames
[] = {
14147 (char *) "self",(char *) "self",(char *) "_class", NULL
14150 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:VListBox__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
14151 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
14152 if (!SWIG_IsOK(res1
)) {
14153 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
14155 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
14159 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14160 (arg1
)->_setCallbackInfo(arg2
,arg3
);
14161 wxPyEndAllowThreads(__tstate
);
14162 if (PyErr_Occurred()) SWIG_fail
;
14164 resultobj
= SWIG_Py_Void();
14171 SWIGINTERN PyObject
*_wrap_VListBox_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14172 PyObject
*resultobj
= 0;
14173 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
14174 wxWindow
*arg2
= (wxWindow
*) 0 ;
14175 int arg3
= (int) wxID_ANY
;
14176 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
14177 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
14178 wxSize
const &arg5_defvalue
= wxDefaultSize
;
14179 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
14180 long arg6
= (long) 0 ;
14181 wxString
const &arg7_defvalue
= wxPyVListBoxNameStr
;
14182 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
14194 bool temp7
= false ;
14195 PyObject
* obj0
= 0 ;
14196 PyObject
* obj1
= 0 ;
14197 PyObject
* obj2
= 0 ;
14198 PyObject
* obj3
= 0 ;
14199 PyObject
* obj4
= 0 ;
14200 PyObject
* obj5
= 0 ;
14201 PyObject
* obj6
= 0 ;
14202 char * kwnames
[] = {
14203 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
14206 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:VListBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
14207 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
14208 if (!SWIG_IsOK(res1
)) {
14209 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_Create" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
14211 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
14212 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
14213 if (!SWIG_IsOK(res2
)) {
14214 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "VListBox_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
14216 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
14218 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
14219 if (!SWIG_IsOK(ecode3
)) {
14220 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "VListBox_Create" "', expected argument " "3"" of type '" "int""'");
14222 arg3
= static_cast< int >(val3
);
14227 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
14233 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
14237 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
14238 if (!SWIG_IsOK(ecode6
)) {
14239 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "VListBox_Create" "', expected argument " "6"" of type '" "long""'");
14241 arg6
= static_cast< long >(val6
);
14245 arg7
= wxString_in_helper(obj6
);
14246 if (arg7
== NULL
) SWIG_fail
;
14251 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14252 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
14253 wxPyEndAllowThreads(__tstate
);
14254 if (PyErr_Occurred()) SWIG_fail
;
14257 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14273 SWIGINTERN PyObject
*_wrap_VListBox_GetItemCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14274 PyObject
*resultobj
= 0;
14275 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
14279 PyObject
*swig_obj
[1] ;
14281 if (!args
) SWIG_fail
;
14282 swig_obj
[0] = args
;
14283 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
14284 if (!SWIG_IsOK(res1
)) {
14285 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_GetItemCount" "', expected argument " "1"" of type '" "wxPyVListBox const *""'");
14287 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
14289 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14290 result
= (size_t)((wxPyVListBox
const *)arg1
)->GetItemCount();
14291 wxPyEndAllowThreads(__tstate
);
14292 if (PyErr_Occurred()) SWIG_fail
;
14294 resultobj
= SWIG_From_size_t(static_cast< size_t >(result
));
14301 SWIGINTERN PyObject
*_wrap_VListBox_HasMultipleSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14302 PyObject
*resultobj
= 0;
14303 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
14307 PyObject
*swig_obj
[1] ;
14309 if (!args
) SWIG_fail
;
14310 swig_obj
[0] = args
;
14311 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
14312 if (!SWIG_IsOK(res1
)) {
14313 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_HasMultipleSelection" "', expected argument " "1"" of type '" "wxPyVListBox const *""'");
14315 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
14317 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14318 result
= (bool)((wxPyVListBox
const *)arg1
)->HasMultipleSelection();
14319 wxPyEndAllowThreads(__tstate
);
14320 if (PyErr_Occurred()) SWIG_fail
;
14323 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14331 SWIGINTERN PyObject
*_wrap_VListBox_GetSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14332 PyObject
*resultobj
= 0;
14333 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
14337 PyObject
*swig_obj
[1] ;
14339 if (!args
) SWIG_fail
;
14340 swig_obj
[0] = args
;
14341 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
14342 if (!SWIG_IsOK(res1
)) {
14343 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_GetSelection" "', expected argument " "1"" of type '" "wxPyVListBox const *""'");
14345 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
14347 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14348 result
= (int)((wxPyVListBox
const *)arg1
)->GetSelection();
14349 wxPyEndAllowThreads(__tstate
);
14350 if (PyErr_Occurred()) SWIG_fail
;
14352 resultobj
= SWIG_From_int(static_cast< int >(result
));
14359 SWIGINTERN PyObject
*_wrap_VListBox_IsCurrent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14360 PyObject
*resultobj
= 0;
14361 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
14368 PyObject
* obj0
= 0 ;
14369 PyObject
* obj1
= 0 ;
14370 char * kwnames
[] = {
14371 (char *) "self",(char *) "item", NULL
14374 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_IsCurrent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14375 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
14376 if (!SWIG_IsOK(res1
)) {
14377 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_IsCurrent" "', expected argument " "1"" of type '" "wxPyVListBox const *""'");
14379 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
14380 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
14381 if (!SWIG_IsOK(ecode2
)) {
14382 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "VListBox_IsCurrent" "', expected argument " "2"" of type '" "size_t""'");
14384 arg2
= static_cast< size_t >(val2
);
14386 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14387 result
= (bool)((wxPyVListBox
const *)arg1
)->IsCurrent(arg2
);
14388 wxPyEndAllowThreads(__tstate
);
14389 if (PyErr_Occurred()) SWIG_fail
;
14392 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14400 SWIGINTERN PyObject
*_wrap_VListBox_IsSelected(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14401 PyObject
*resultobj
= 0;
14402 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
14409 PyObject
* obj0
= 0 ;
14410 PyObject
* obj1
= 0 ;
14411 char * kwnames
[] = {
14412 (char *) "self",(char *) "item", NULL
14415 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_IsSelected",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14416 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
14417 if (!SWIG_IsOK(res1
)) {
14418 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_IsSelected" "', expected argument " "1"" of type '" "wxPyVListBox const *""'");
14420 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
14421 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
14422 if (!SWIG_IsOK(ecode2
)) {
14423 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "VListBox_IsSelected" "', expected argument " "2"" of type '" "size_t""'");
14425 arg2
= static_cast< size_t >(val2
);
14427 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14428 result
= (bool)((wxPyVListBox
const *)arg1
)->IsSelected(arg2
);
14429 wxPyEndAllowThreads(__tstate
);
14430 if (PyErr_Occurred()) SWIG_fail
;
14433 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14441 SWIGINTERN PyObject
*_wrap_VListBox_GetSelectedCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14442 PyObject
*resultobj
= 0;
14443 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
14447 PyObject
*swig_obj
[1] ;
14449 if (!args
) SWIG_fail
;
14450 swig_obj
[0] = args
;
14451 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
14452 if (!SWIG_IsOK(res1
)) {
14453 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_GetSelectedCount" "', expected argument " "1"" of type '" "wxPyVListBox const *""'");
14455 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
14457 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14458 result
= (size_t)((wxPyVListBox
const *)arg1
)->GetSelectedCount();
14459 wxPyEndAllowThreads(__tstate
);
14460 if (PyErr_Occurred()) SWIG_fail
;
14462 resultobj
= SWIG_From_size_t(static_cast< size_t >(result
));
14469 SWIGINTERN PyObject
*_wrap_VListBox_GetFirstSelected(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14470 PyObject
*resultobj
= 0;
14471 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
14472 PyObject
*result
= 0 ;
14475 PyObject
*swig_obj
[1] ;
14477 if (!args
) SWIG_fail
;
14478 swig_obj
[0] = args
;
14479 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
14480 if (!SWIG_IsOK(res1
)) {
14481 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_GetFirstSelected" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
14483 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
14485 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14486 result
= (PyObject
*)wxPyVListBox_GetFirstSelected(arg1
);
14487 wxPyEndAllowThreads(__tstate
);
14488 if (PyErr_Occurred()) SWIG_fail
;
14490 resultobj
= result
;
14497 SWIGINTERN PyObject
*_wrap_VListBox_GetNextSelected(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14498 PyObject
*resultobj
= 0;
14499 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
14500 unsigned long arg2
;
14501 PyObject
*result
= 0 ;
14504 unsigned long val2
;
14506 PyObject
* obj0
= 0 ;
14507 PyObject
* obj1
= 0 ;
14508 char * kwnames
[] = {
14509 (char *) "self",(char *) "cookie", NULL
14512 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_GetNextSelected",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14513 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
14514 if (!SWIG_IsOK(res1
)) {
14515 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_GetNextSelected" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
14517 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
14518 ecode2
= SWIG_AsVal_unsigned_SS_long(obj1
, &val2
);
14519 if (!SWIG_IsOK(ecode2
)) {
14520 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "VListBox_GetNextSelected" "', expected argument " "2"" of type '" "unsigned long""'");
14522 arg2
= static_cast< unsigned long >(val2
);
14524 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14525 result
= (PyObject
*)wxPyVListBox_GetNextSelected(arg1
,arg2
);
14526 wxPyEndAllowThreads(__tstate
);
14527 if (PyErr_Occurred()) SWIG_fail
;
14529 resultobj
= result
;
14536 SWIGINTERN PyObject
*_wrap_VListBox_GetMargins(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14537 PyObject
*resultobj
= 0;
14538 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
14542 PyObject
*swig_obj
[1] ;
14544 if (!args
) SWIG_fail
;
14545 swig_obj
[0] = args
;
14546 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
14547 if (!SWIG_IsOK(res1
)) {
14548 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_GetMargins" "', expected argument " "1"" of type '" "wxPyVListBox const *""'");
14550 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
14552 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14553 result
= ((wxPyVListBox
const *)arg1
)->GetMargins();
14554 wxPyEndAllowThreads(__tstate
);
14555 if (PyErr_Occurred()) SWIG_fail
;
14557 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
14564 SWIGINTERN PyObject
*_wrap_VListBox_GetSelectionBackground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14565 PyObject
*resultobj
= 0;
14566 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
14567 wxColour
*result
= 0 ;
14570 PyObject
*swig_obj
[1] ;
14572 if (!args
) SWIG_fail
;
14573 swig_obj
[0] = args
;
14574 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
14575 if (!SWIG_IsOK(res1
)) {
14576 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_GetSelectionBackground" "', expected argument " "1"" of type '" "wxPyVListBox const *""'");
14578 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
14580 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14582 wxColour
const &_result_ref
= ((wxPyVListBox
const *)arg1
)->GetSelectionBackground();
14583 result
= (wxColour
*) &_result_ref
;
14585 wxPyEndAllowThreads(__tstate
);
14586 if (PyErr_Occurred()) SWIG_fail
;
14588 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColour
, 0 | 0 );
14595 SWIGINTERN PyObject
*_wrap_VListBox_SetItemCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14596 PyObject
*resultobj
= 0;
14597 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
14603 PyObject
* obj0
= 0 ;
14604 PyObject
* obj1
= 0 ;
14605 char * kwnames
[] = {
14606 (char *) "self",(char *) "count", NULL
14609 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_SetItemCount",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14610 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
14611 if (!SWIG_IsOK(res1
)) {
14612 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_SetItemCount" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
14614 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
14615 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
14616 if (!SWIG_IsOK(ecode2
)) {
14617 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "VListBox_SetItemCount" "', expected argument " "2"" of type '" "size_t""'");
14619 arg2
= static_cast< size_t >(val2
);
14621 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14622 (arg1
)->SetItemCount(arg2
);
14623 wxPyEndAllowThreads(__tstate
);
14624 if (PyErr_Occurred()) SWIG_fail
;
14626 resultobj
= SWIG_Py_Void();
14633 SWIGINTERN PyObject
*_wrap_VListBox_Clear(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14634 PyObject
*resultobj
= 0;
14635 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
14638 PyObject
*swig_obj
[1] ;
14640 if (!args
) SWIG_fail
;
14641 swig_obj
[0] = args
;
14642 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
14643 if (!SWIG_IsOK(res1
)) {
14644 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_Clear" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
14646 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
14648 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14650 wxPyEndAllowThreads(__tstate
);
14651 if (PyErr_Occurred()) SWIG_fail
;
14653 resultobj
= SWIG_Py_Void();
14660 SWIGINTERN PyObject
*_wrap_VListBox_SetSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14661 PyObject
*resultobj
= 0;
14662 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
14668 PyObject
* obj0
= 0 ;
14669 PyObject
* obj1
= 0 ;
14670 char * kwnames
[] = {
14671 (char *) "self",(char *) "selection", NULL
14674 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_SetSelection",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14675 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
14676 if (!SWIG_IsOK(res1
)) {
14677 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_SetSelection" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
14679 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
14680 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
14681 if (!SWIG_IsOK(ecode2
)) {
14682 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "VListBox_SetSelection" "', expected argument " "2"" of type '" "int""'");
14684 arg2
= static_cast< int >(val2
);
14686 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14687 (arg1
)->SetSelection(arg2
);
14688 wxPyEndAllowThreads(__tstate
);
14689 if (PyErr_Occurred()) SWIG_fail
;
14691 resultobj
= SWIG_Py_Void();
14698 SWIGINTERN PyObject
*_wrap_VListBox_Select(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14699 PyObject
*resultobj
= 0;
14700 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
14702 bool arg3
= (bool) true ;
14710 PyObject
* obj0
= 0 ;
14711 PyObject
* obj1
= 0 ;
14712 PyObject
* obj2
= 0 ;
14713 char * kwnames
[] = {
14714 (char *) "self",(char *) "item",(char *) "select", NULL
14717 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:VListBox_Select",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
14718 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
14719 if (!SWIG_IsOK(res1
)) {
14720 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_Select" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
14722 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
14723 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
14724 if (!SWIG_IsOK(ecode2
)) {
14725 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "VListBox_Select" "', expected argument " "2"" of type '" "size_t""'");
14727 arg2
= static_cast< size_t >(val2
);
14729 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
14730 if (!SWIG_IsOK(ecode3
)) {
14731 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "VListBox_Select" "', expected argument " "3"" of type '" "bool""'");
14733 arg3
= static_cast< bool >(val3
);
14736 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14737 result
= (bool)(arg1
)->Select(arg2
,arg3
);
14738 wxPyEndAllowThreads(__tstate
);
14739 if (PyErr_Occurred()) SWIG_fail
;
14742 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14750 SWIGINTERN PyObject
*_wrap_VListBox_SelectRange(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14751 PyObject
*resultobj
= 0;
14752 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
14762 PyObject
* obj0
= 0 ;
14763 PyObject
* obj1
= 0 ;
14764 PyObject
* obj2
= 0 ;
14765 char * kwnames
[] = {
14766 (char *) "self",(char *) "_from",(char *) "to", NULL
14769 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:VListBox_SelectRange",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
14770 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
14771 if (!SWIG_IsOK(res1
)) {
14772 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_SelectRange" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
14774 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
14775 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
14776 if (!SWIG_IsOK(ecode2
)) {
14777 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "VListBox_SelectRange" "', expected argument " "2"" of type '" "size_t""'");
14779 arg2
= static_cast< size_t >(val2
);
14780 ecode3
= SWIG_AsVal_size_t(obj2
, &val3
);
14781 if (!SWIG_IsOK(ecode3
)) {
14782 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "VListBox_SelectRange" "', expected argument " "3"" of type '" "size_t""'");
14784 arg3
= static_cast< size_t >(val3
);
14786 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14787 result
= (bool)(arg1
)->SelectRange(arg2
,arg3
);
14788 wxPyEndAllowThreads(__tstate
);
14789 if (PyErr_Occurred()) SWIG_fail
;
14792 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14800 SWIGINTERN PyObject
*_wrap_VListBox_Toggle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14801 PyObject
*resultobj
= 0;
14802 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
14808 PyObject
* obj0
= 0 ;
14809 PyObject
* obj1
= 0 ;
14810 char * kwnames
[] = {
14811 (char *) "self",(char *) "item", NULL
14814 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_Toggle",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14815 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
14816 if (!SWIG_IsOK(res1
)) {
14817 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_Toggle" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
14819 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
14820 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
14821 if (!SWIG_IsOK(ecode2
)) {
14822 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "VListBox_Toggle" "', expected argument " "2"" of type '" "size_t""'");
14824 arg2
= static_cast< size_t >(val2
);
14826 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14827 (arg1
)->Toggle(arg2
);
14828 wxPyEndAllowThreads(__tstate
);
14829 if (PyErr_Occurred()) SWIG_fail
;
14831 resultobj
= SWIG_Py_Void();
14838 SWIGINTERN PyObject
*_wrap_VListBox_SelectAll(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14839 PyObject
*resultobj
= 0;
14840 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
14844 PyObject
*swig_obj
[1] ;
14846 if (!args
) SWIG_fail
;
14847 swig_obj
[0] = args
;
14848 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
14849 if (!SWIG_IsOK(res1
)) {
14850 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_SelectAll" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
14852 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
14854 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14855 result
= (bool)(arg1
)->SelectAll();
14856 wxPyEndAllowThreads(__tstate
);
14857 if (PyErr_Occurred()) SWIG_fail
;
14860 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14868 SWIGINTERN PyObject
*_wrap_VListBox_DeselectAll(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14869 PyObject
*resultobj
= 0;
14870 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
14874 PyObject
*swig_obj
[1] ;
14876 if (!args
) SWIG_fail
;
14877 swig_obj
[0] = args
;
14878 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
14879 if (!SWIG_IsOK(res1
)) {
14880 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_DeselectAll" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
14882 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
14884 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14885 result
= (bool)(arg1
)->DeselectAll();
14886 wxPyEndAllowThreads(__tstate
);
14887 if (PyErr_Occurred()) SWIG_fail
;
14890 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14898 SWIGINTERN PyObject
*_wrap_VListBox_SetMargins(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14899 PyObject
*resultobj
= 0;
14900 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
14901 wxPoint
*arg2
= 0 ;
14905 PyObject
* obj0
= 0 ;
14906 PyObject
* obj1
= 0 ;
14907 char * kwnames
[] = {
14908 (char *) "self",(char *) "pt", NULL
14911 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_SetMargins",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14912 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
14913 if (!SWIG_IsOK(res1
)) {
14914 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_SetMargins" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
14916 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
14919 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
14922 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14923 (arg1
)->SetMargins((wxPoint
const &)*arg2
);
14924 wxPyEndAllowThreads(__tstate
);
14925 if (PyErr_Occurred()) SWIG_fail
;
14927 resultobj
= SWIG_Py_Void();
14934 SWIGINTERN PyObject
*_wrap_VListBox_SetMarginsXY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14935 PyObject
*resultobj
= 0;
14936 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
14945 PyObject
* obj0
= 0 ;
14946 PyObject
* obj1
= 0 ;
14947 PyObject
* obj2
= 0 ;
14948 char * kwnames
[] = {
14949 (char *) "self",(char *) "x",(char *) "y", NULL
14952 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:VListBox_SetMarginsXY",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
14953 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
14954 if (!SWIG_IsOK(res1
)) {
14955 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_SetMarginsXY" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
14957 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
14958 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
14959 if (!SWIG_IsOK(ecode2
)) {
14960 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "VListBox_SetMarginsXY" "', expected argument " "2"" of type '" "int""'");
14962 arg2
= static_cast< int >(val2
);
14963 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
14964 if (!SWIG_IsOK(ecode3
)) {
14965 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "VListBox_SetMarginsXY" "', expected argument " "3"" of type '" "int""'");
14967 arg3
= static_cast< int >(val3
);
14969 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14970 (arg1
)->SetMargins(arg2
,arg3
);
14971 wxPyEndAllowThreads(__tstate
);
14972 if (PyErr_Occurred()) SWIG_fail
;
14974 resultobj
= SWIG_Py_Void();
14981 SWIGINTERN PyObject
*_wrap_VListBox_SetSelectionBackground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14982 PyObject
*resultobj
= 0;
14983 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
14984 wxColour
*arg2
= 0 ;
14988 PyObject
* obj0
= 0 ;
14989 PyObject
* obj1
= 0 ;
14990 char * kwnames
[] = {
14991 (char *) "self",(char *) "col", NULL
14994 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_SetSelectionBackground",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14995 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
14996 if (!SWIG_IsOK(res1
)) {
14997 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_SetSelectionBackground" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
14999 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
15002 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
15005 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15006 (arg1
)->SetSelectionBackground((wxColour
const &)*arg2
);
15007 wxPyEndAllowThreads(__tstate
);
15008 if (PyErr_Occurred()) SWIG_fail
;
15010 resultobj
= SWIG_Py_Void();
15017 SWIGINTERN PyObject
*_wrap_VListBox_OnDrawSeparator(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15018 PyObject
*resultobj
= 0;
15019 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
15030 PyObject
* obj0
= 0 ;
15031 PyObject
* obj1
= 0 ;
15032 PyObject
* obj2
= 0 ;
15033 PyObject
* obj3
= 0 ;
15034 char * kwnames
[] = {
15035 (char *) "self",(char *) "dc",(char *) "rect",(char *) "n", NULL
15038 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:VListBox_OnDrawSeparator",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
15039 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
15040 if (!SWIG_IsOK(res1
)) {
15041 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_OnDrawSeparator" "', expected argument " "1"" of type '" "wxPyVListBox const *""'");
15043 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
15044 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDC
, 0 );
15045 if (!SWIG_IsOK(res2
)) {
15046 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "VListBox_OnDrawSeparator" "', expected argument " "2"" of type '" "wxDC &""'");
15049 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "VListBox_OnDrawSeparator" "', expected argument " "2"" of type '" "wxDC &""'");
15051 arg2
= reinterpret_cast< wxDC
* >(argp2
);
15054 if ( ! wxRect_helper(obj2
, &arg3
)) SWIG_fail
;
15056 ecode4
= SWIG_AsVal_size_t(obj3
, &val4
);
15057 if (!SWIG_IsOK(ecode4
)) {
15058 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "VListBox_OnDrawSeparator" "', expected argument " "4"" of type '" "size_t""'");
15060 arg4
= static_cast< size_t >(val4
);
15062 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15063 ((wxPyVListBox
const *)arg1
)->OnDrawSeparator(*arg2
,*arg3
,arg4
);
15064 wxPyEndAllowThreads(__tstate
);
15065 if (PyErr_Occurred()) SWIG_fail
;
15067 resultobj
= SWIG_Py_Void();
15074 SWIGINTERN PyObject
*_wrap_VListBox_OnDrawBackground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15075 PyObject
*resultobj
= 0;
15076 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
15087 PyObject
* obj0
= 0 ;
15088 PyObject
* obj1
= 0 ;
15089 PyObject
* obj2
= 0 ;
15090 PyObject
* obj3
= 0 ;
15091 char * kwnames
[] = {
15092 (char *) "self",(char *) "dc",(char *) "rect",(char *) "n", NULL
15095 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:VListBox_OnDrawBackground",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
15096 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
15097 if (!SWIG_IsOK(res1
)) {
15098 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_OnDrawBackground" "', expected argument " "1"" of type '" "wxPyVListBox const *""'");
15100 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
15101 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDC
, 0 );
15102 if (!SWIG_IsOK(res2
)) {
15103 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "VListBox_OnDrawBackground" "', expected argument " "2"" of type '" "wxDC &""'");
15106 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "VListBox_OnDrawBackground" "', expected argument " "2"" of type '" "wxDC &""'");
15108 arg2
= reinterpret_cast< wxDC
* >(argp2
);
15111 if ( ! wxRect_helper(obj2
, &arg3
)) SWIG_fail
;
15113 ecode4
= SWIG_AsVal_size_t(obj3
, &val4
);
15114 if (!SWIG_IsOK(ecode4
)) {
15115 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "VListBox_OnDrawBackground" "', expected argument " "4"" of type '" "size_t""'");
15117 arg4
= static_cast< size_t >(val4
);
15119 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15120 ((wxPyVListBox
const *)arg1
)->OnDrawBackground(*arg2
,(wxRect
const &)*arg3
,arg4
);
15121 wxPyEndAllowThreads(__tstate
);
15122 if (PyErr_Occurred()) SWIG_fail
;
15124 resultobj
= SWIG_Py_Void();
15131 SWIGINTERN PyObject
*VListBox_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15133 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
15134 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyVListBox
, SWIG_NewClientData(obj
));
15135 return SWIG_Py_Void();
15138 SWIGINTERN PyObject
*VListBox_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15139 return SWIG_Python_InitShadowInstance(args
);
15142 SWIGINTERN PyObject
*_wrap_new_HtmlListBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15143 PyObject
*resultobj
= 0;
15144 wxWindow
*arg1
= (wxWindow
*) 0 ;
15145 int arg2
= (int) wxID_ANY
;
15146 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
15147 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
15148 wxSize
const &arg4_defvalue
= wxDefaultSize
;
15149 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
15150 long arg5
= (long) 0 ;
15151 wxString
const &arg6_defvalue
= wxPyVListBoxNameStr
;
15152 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
15153 wxPyHtmlListBox
*result
= 0 ;
15162 bool temp6
= false ;
15163 PyObject
* obj0
= 0 ;
15164 PyObject
* obj1
= 0 ;
15165 PyObject
* obj2
= 0 ;
15166 PyObject
* obj3
= 0 ;
15167 PyObject
* obj4
= 0 ;
15168 PyObject
* obj5
= 0 ;
15169 char * kwnames
[] = {
15170 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
15173 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_HtmlListBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
15174 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
15175 if (!SWIG_IsOK(res1
)) {
15176 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_HtmlListBox" "', expected argument " "1"" of type '" "wxWindow *""'");
15178 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
15180 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15181 if (!SWIG_IsOK(ecode2
)) {
15182 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_HtmlListBox" "', expected argument " "2"" of type '" "int""'");
15184 arg2
= static_cast< int >(val2
);
15189 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
15195 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
15199 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
15200 if (!SWIG_IsOK(ecode5
)) {
15201 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_HtmlListBox" "', expected argument " "5"" of type '" "long""'");
15203 arg5
= static_cast< long >(val5
);
15207 arg6
= wxString_in_helper(obj5
);
15208 if (arg6
== NULL
) SWIG_fail
;
15213 if (!wxPyCheckForApp()) SWIG_fail
;
15214 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15215 result
= (wxPyHtmlListBox
*)new wxPyHtmlListBox(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
15216 wxPyEndAllowThreads(__tstate
);
15217 if (PyErr_Occurred()) SWIG_fail
;
15219 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyHtmlListBox
, SWIG_POINTER_NEW
| 0 );
15234 SWIGINTERN PyObject
*_wrap_new_PreHtmlListBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15235 PyObject
*resultobj
= 0;
15236 wxPyHtmlListBox
*result
= 0 ;
15238 if (!SWIG_Python_UnpackTuple(args
,"new_PreHtmlListBox",0,0,0)) SWIG_fail
;
15240 if (!wxPyCheckForApp()) SWIG_fail
;
15241 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15242 result
= (wxPyHtmlListBox
*)new wxPyHtmlListBox();
15243 wxPyEndAllowThreads(__tstate
);
15244 if (PyErr_Occurred()) SWIG_fail
;
15246 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyHtmlListBox
, SWIG_POINTER_OWN
| 0 );
15253 SWIGINTERN PyObject
*_wrap_HtmlListBox__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15254 PyObject
*resultobj
= 0;
15255 wxPyHtmlListBox
*arg1
= (wxPyHtmlListBox
*) 0 ;
15256 PyObject
*arg2
= (PyObject
*) 0 ;
15257 PyObject
*arg3
= (PyObject
*) 0 ;
15260 PyObject
* obj0
= 0 ;
15261 PyObject
* obj1
= 0 ;
15262 PyObject
* obj2
= 0 ;
15263 char * kwnames
[] = {
15264 (char *) "self",(char *) "self",(char *) "_class", NULL
15267 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:HtmlListBox__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
15268 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyHtmlListBox
, 0 | 0 );
15269 if (!SWIG_IsOK(res1
)) {
15270 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlListBox__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyHtmlListBox *""'");
15272 arg1
= reinterpret_cast< wxPyHtmlListBox
* >(argp1
);
15276 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15277 (arg1
)->_setCallbackInfo(arg2
,arg3
);
15278 wxPyEndAllowThreads(__tstate
);
15279 if (PyErr_Occurred()) SWIG_fail
;
15281 resultobj
= SWIG_Py_Void();
15288 SWIGINTERN PyObject
*_wrap_HtmlListBox_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15289 PyObject
*resultobj
= 0;
15290 wxPyHtmlListBox
*arg1
= (wxPyHtmlListBox
*) 0 ;
15291 wxWindow
*arg2
= (wxWindow
*) 0 ;
15292 int arg3
= (int) wxID_ANY
;
15293 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
15294 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
15295 wxSize
const &arg5_defvalue
= wxDefaultSize
;
15296 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
15297 long arg6
= (long) 0 ;
15298 wxString
const &arg7_defvalue
= wxPyVListBoxNameStr
;
15299 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
15311 bool temp7
= false ;
15312 PyObject
* obj0
= 0 ;
15313 PyObject
* obj1
= 0 ;
15314 PyObject
* obj2
= 0 ;
15315 PyObject
* obj3
= 0 ;
15316 PyObject
* obj4
= 0 ;
15317 PyObject
* obj5
= 0 ;
15318 PyObject
* obj6
= 0 ;
15319 char * kwnames
[] = {
15320 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
15323 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:HtmlListBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
15324 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyHtmlListBox
, 0 | 0 );
15325 if (!SWIG_IsOK(res1
)) {
15326 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlListBox_Create" "', expected argument " "1"" of type '" "wxPyHtmlListBox *""'");
15328 arg1
= reinterpret_cast< wxPyHtmlListBox
* >(argp1
);
15329 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
15330 if (!SWIG_IsOK(res2
)) {
15331 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "HtmlListBox_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
15333 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
15335 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
15336 if (!SWIG_IsOK(ecode3
)) {
15337 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "HtmlListBox_Create" "', expected argument " "3"" of type '" "int""'");
15339 arg3
= static_cast< int >(val3
);
15344 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
15350 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
15354 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
15355 if (!SWIG_IsOK(ecode6
)) {
15356 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "HtmlListBox_Create" "', expected argument " "6"" of type '" "long""'");
15358 arg6
= static_cast< long >(val6
);
15362 arg7
= wxString_in_helper(obj6
);
15363 if (arg7
== NULL
) SWIG_fail
;
15368 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15369 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
15370 wxPyEndAllowThreads(__tstate
);
15371 if (PyErr_Occurred()) SWIG_fail
;
15374 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15390 SWIGINTERN PyObject
*_wrap_HtmlListBox_SetItemCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15391 PyObject
*resultobj
= 0;
15392 wxPyHtmlListBox
*arg1
= (wxPyHtmlListBox
*) 0 ;
15398 PyObject
* obj0
= 0 ;
15399 PyObject
* obj1
= 0 ;
15400 char * kwnames
[] = {
15401 (char *) "self",(char *) "count", NULL
15404 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlListBox_SetItemCount",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15405 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyHtmlListBox
, 0 | 0 );
15406 if (!SWIG_IsOK(res1
)) {
15407 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlListBox_SetItemCount" "', expected argument " "1"" of type '" "wxPyHtmlListBox *""'");
15409 arg1
= reinterpret_cast< wxPyHtmlListBox
* >(argp1
);
15410 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
15411 if (!SWIG_IsOK(ecode2
)) {
15412 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "HtmlListBox_SetItemCount" "', expected argument " "2"" of type '" "size_t""'");
15414 arg2
= static_cast< size_t >(val2
);
15416 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15417 (arg1
)->SetItemCount(arg2
);
15418 wxPyEndAllowThreads(__tstate
);
15419 if (PyErr_Occurred()) SWIG_fail
;
15421 resultobj
= SWIG_Py_Void();
15428 SWIGINTERN PyObject
*_wrap_HtmlListBox_GetFileSystem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15429 PyObject
*resultobj
= 0;
15430 wxPyHtmlListBox
*arg1
= (wxPyHtmlListBox
*) 0 ;
15431 wxFileSystem
*result
= 0 ;
15434 PyObject
*swig_obj
[1] ;
15436 if (!args
) SWIG_fail
;
15437 swig_obj
[0] = args
;
15438 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyHtmlListBox
, 0 | 0 );
15439 if (!SWIG_IsOK(res1
)) {
15440 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlListBox_GetFileSystem" "', expected argument " "1"" of type '" "wxPyHtmlListBox *""'");
15442 arg1
= reinterpret_cast< wxPyHtmlListBox
* >(argp1
);
15444 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15446 wxFileSystem
&_result_ref
= (arg1
)->GetFileSystem();
15447 result
= (wxFileSystem
*) &_result_ref
;
15449 wxPyEndAllowThreads(__tstate
);
15450 if (PyErr_Occurred()) SWIG_fail
;
15452 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFileSystem
, 0 | 0 );
15459 SWIGINTERN PyObject
*HtmlListBox_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15461 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
15462 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyHtmlListBox
, SWIG_NewClientData(obj
));
15463 return SWIG_Py_Void();
15466 SWIGINTERN PyObject
*HtmlListBox_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15467 return SWIG_Python_InitShadowInstance(args
);
15470 SWIGINTERN PyObject
*_wrap_new_TaskBarIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15471 PyObject
*resultobj
= 0;
15472 wxPyTaskBarIcon
*result
= 0 ;
15474 if (!SWIG_Python_UnpackTuple(args
,"new_TaskBarIcon",0,0,0)) SWIG_fail
;
15476 if (!wxPyCheckForApp()) SWIG_fail
;
15477 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15478 result
= (wxPyTaskBarIcon
*)new wxPyTaskBarIcon();
15479 wxPyEndAllowThreads(__tstate
);
15480 if (PyErr_Occurred()) SWIG_fail
;
15482 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyTaskBarIcon
, SWIG_POINTER_NEW
| 0 );
15489 SWIGINTERN PyObject
*_wrap_delete_TaskBarIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15490 PyObject
*resultobj
= 0;
15491 wxPyTaskBarIcon
*arg1
= (wxPyTaskBarIcon
*) 0 ;
15494 PyObject
*swig_obj
[1] ;
15496 if (!args
) SWIG_fail
;
15497 swig_obj
[0] = args
;
15498 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTaskBarIcon
, SWIG_POINTER_DISOWN
| 0 );
15499 if (!SWIG_IsOK(res1
)) {
15500 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_TaskBarIcon" "', expected argument " "1"" of type '" "wxPyTaskBarIcon *""'");
15502 arg1
= reinterpret_cast< wxPyTaskBarIcon
* >(argp1
);
15504 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15507 wxPyEndAllowThreads(__tstate
);
15508 if (PyErr_Occurred()) SWIG_fail
;
15510 resultobj
= SWIG_Py_Void();
15517 SWIGINTERN PyObject
*_wrap_TaskBarIcon__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15518 PyObject
*resultobj
= 0;
15519 wxPyTaskBarIcon
*arg1
= (wxPyTaskBarIcon
*) 0 ;
15520 PyObject
*arg2
= (PyObject
*) 0 ;
15521 PyObject
*arg3
= (PyObject
*) 0 ;
15527 PyObject
* obj0
= 0 ;
15528 PyObject
* obj1
= 0 ;
15529 PyObject
* obj2
= 0 ;
15530 PyObject
* obj3
= 0 ;
15531 char * kwnames
[] = {
15532 (char *) "self",(char *) "self",(char *) "_class",(char *) "incref", NULL
15535 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:TaskBarIcon__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
15536 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTaskBarIcon
, 0 | 0 );
15537 if (!SWIG_IsOK(res1
)) {
15538 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TaskBarIcon__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyTaskBarIcon *""'");
15540 arg1
= reinterpret_cast< wxPyTaskBarIcon
* >(argp1
);
15543 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
15544 if (!SWIG_IsOK(ecode4
)) {
15545 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "TaskBarIcon__setCallbackInfo" "', expected argument " "4"" of type '" "int""'");
15547 arg4
= static_cast< int >(val4
);
15549 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15550 (arg1
)->_setCallbackInfo(arg2
,arg3
,arg4
);
15551 wxPyEndAllowThreads(__tstate
);
15552 if (PyErr_Occurred()) SWIG_fail
;
15554 resultobj
= SWIG_Py_Void();
15561 SWIGINTERN PyObject
*_wrap_TaskBarIcon_Destroy(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15562 PyObject
*resultobj
= 0;
15563 wxPyTaskBarIcon
*arg1
= (wxPyTaskBarIcon
*) 0 ;
15566 PyObject
*swig_obj
[1] ;
15568 if (!args
) SWIG_fail
;
15569 swig_obj
[0] = args
;
15570 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTaskBarIcon
, 0 | 0 );
15571 if (!SWIG_IsOK(res1
)) {
15572 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TaskBarIcon_Destroy" "', expected argument " "1"" of type '" "wxPyTaskBarIcon *""'");
15574 arg1
= reinterpret_cast< wxPyTaskBarIcon
* >(argp1
);
15576 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15577 wxPyTaskBarIcon_Destroy(arg1
);
15578 wxPyEndAllowThreads(__tstate
);
15579 if (PyErr_Occurred()) SWIG_fail
;
15581 resultobj
= SWIG_Py_Void();
15588 SWIGINTERN PyObject
*_wrap_TaskBarIcon_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15589 PyObject
*resultobj
= 0;
15590 wxPyTaskBarIcon
*arg1
= (wxPyTaskBarIcon
*) 0 ;
15594 PyObject
*swig_obj
[1] ;
15596 if (!args
) SWIG_fail
;
15597 swig_obj
[0] = args
;
15598 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTaskBarIcon
, 0 | 0 );
15599 if (!SWIG_IsOK(res1
)) {
15600 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TaskBarIcon_IsOk" "', expected argument " "1"" of type '" "wxPyTaskBarIcon const *""'");
15602 arg1
= reinterpret_cast< wxPyTaskBarIcon
* >(argp1
);
15604 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15605 result
= (bool)((wxPyTaskBarIcon
const *)arg1
)->IsOk();
15606 wxPyEndAllowThreads(__tstate
);
15607 if (PyErr_Occurred()) SWIG_fail
;
15610 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15618 SWIGINTERN PyObject
*_wrap_TaskBarIcon_IsIconInstalled(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15619 PyObject
*resultobj
= 0;
15620 wxPyTaskBarIcon
*arg1
= (wxPyTaskBarIcon
*) 0 ;
15624 PyObject
*swig_obj
[1] ;
15626 if (!args
) SWIG_fail
;
15627 swig_obj
[0] = args
;
15628 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTaskBarIcon
, 0 | 0 );
15629 if (!SWIG_IsOK(res1
)) {
15630 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TaskBarIcon_IsIconInstalled" "', expected argument " "1"" of type '" "wxPyTaskBarIcon const *""'");
15632 arg1
= reinterpret_cast< wxPyTaskBarIcon
* >(argp1
);
15634 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15635 result
= (bool)((wxPyTaskBarIcon
const *)arg1
)->IsIconInstalled();
15636 wxPyEndAllowThreads(__tstate
);
15637 if (PyErr_Occurred()) SWIG_fail
;
15640 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15648 SWIGINTERN PyObject
*_wrap_TaskBarIcon_SetIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15649 PyObject
*resultobj
= 0;
15650 wxPyTaskBarIcon
*arg1
= (wxPyTaskBarIcon
*) 0 ;
15652 wxString
const &arg3_defvalue
= wxPyEmptyString
;
15653 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
15659 bool temp3
= false ;
15660 PyObject
* obj0
= 0 ;
15661 PyObject
* obj1
= 0 ;
15662 PyObject
* obj2
= 0 ;
15663 char * kwnames
[] = {
15664 (char *) "self",(char *) "icon",(char *) "tooltip", NULL
15667 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TaskBarIcon_SetIcon",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
15668 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTaskBarIcon
, 0 | 0 );
15669 if (!SWIG_IsOK(res1
)) {
15670 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TaskBarIcon_SetIcon" "', expected argument " "1"" of type '" "wxPyTaskBarIcon *""'");
15672 arg1
= reinterpret_cast< wxPyTaskBarIcon
* >(argp1
);
15673 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxIcon
, 0 | 0);
15674 if (!SWIG_IsOK(res2
)) {
15675 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TaskBarIcon_SetIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
15678 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TaskBarIcon_SetIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
15680 arg2
= reinterpret_cast< wxIcon
* >(argp2
);
15683 arg3
= wxString_in_helper(obj2
);
15684 if (arg3
== NULL
) SWIG_fail
;
15689 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15690 result
= (bool)(arg1
)->SetIcon((wxIcon
const &)*arg2
,(wxString
const &)*arg3
);
15691 wxPyEndAllowThreads(__tstate
);
15692 if (PyErr_Occurred()) SWIG_fail
;
15695 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15711 SWIGINTERN PyObject
*_wrap_TaskBarIcon_RemoveIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15712 PyObject
*resultobj
= 0;
15713 wxPyTaskBarIcon
*arg1
= (wxPyTaskBarIcon
*) 0 ;
15717 PyObject
*swig_obj
[1] ;
15719 if (!args
) SWIG_fail
;
15720 swig_obj
[0] = args
;
15721 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTaskBarIcon
, 0 | 0 );
15722 if (!SWIG_IsOK(res1
)) {
15723 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TaskBarIcon_RemoveIcon" "', expected argument " "1"" of type '" "wxPyTaskBarIcon *""'");
15725 arg1
= reinterpret_cast< wxPyTaskBarIcon
* >(argp1
);
15727 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15728 result
= (bool)(arg1
)->RemoveIcon();
15729 wxPyEndAllowThreads(__tstate
);
15730 if (PyErr_Occurred()) SWIG_fail
;
15733 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15741 SWIGINTERN PyObject
*_wrap_TaskBarIcon_PopupMenu(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15742 PyObject
*resultobj
= 0;
15743 wxPyTaskBarIcon
*arg1
= (wxPyTaskBarIcon
*) 0 ;
15744 wxMenu
*arg2
= (wxMenu
*) 0 ;
15750 PyObject
* obj0
= 0 ;
15751 PyObject
* obj1
= 0 ;
15752 char * kwnames
[] = {
15753 (char *) "self",(char *) "menu", NULL
15756 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TaskBarIcon_PopupMenu",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15757 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTaskBarIcon
, 0 | 0 );
15758 if (!SWIG_IsOK(res1
)) {
15759 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TaskBarIcon_PopupMenu" "', expected argument " "1"" of type '" "wxPyTaskBarIcon *""'");
15761 arg1
= reinterpret_cast< wxPyTaskBarIcon
* >(argp1
);
15762 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxMenu
, 0 | 0 );
15763 if (!SWIG_IsOK(res2
)) {
15764 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TaskBarIcon_PopupMenu" "', expected argument " "2"" of type '" "wxMenu *""'");
15766 arg2
= reinterpret_cast< wxMenu
* >(argp2
);
15768 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15769 result
= (bool)(arg1
)->PopupMenu(arg2
);
15770 wxPyEndAllowThreads(__tstate
);
15771 if (PyErr_Occurred()) SWIG_fail
;
15774 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15782 SWIGINTERN PyObject
*TaskBarIcon_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15784 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
15785 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyTaskBarIcon
, SWIG_NewClientData(obj
));
15786 return SWIG_Py_Void();
15789 SWIGINTERN PyObject
*TaskBarIcon_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15790 return SWIG_Python_InitShadowInstance(args
);
15793 SWIGINTERN PyObject
*_wrap_new_TaskBarIconEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15794 PyObject
*resultobj
= 0;
15796 wxTaskBarIcon
*arg2
= (wxTaskBarIcon
*) 0 ;
15797 wxTaskBarIconEvent
*result
= 0 ;
15802 PyObject
* obj0
= 0 ;
15803 PyObject
* obj1
= 0 ;
15804 char * kwnames
[] = {
15805 (char *) "evtType",(char *) "tbIcon", NULL
15808 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_TaskBarIconEvent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15809 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
15810 if (!SWIG_IsOK(ecode1
)) {
15811 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_TaskBarIconEvent" "', expected argument " "1"" of type '" "wxEventType""'");
15813 arg1
= static_cast< wxEventType
>(val1
);
15814 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxTaskBarIcon
, 0 | 0 );
15815 if (!SWIG_IsOK(res2
)) {
15816 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_TaskBarIconEvent" "', expected argument " "2"" of type '" "wxTaskBarIcon *""'");
15818 arg2
= reinterpret_cast< wxTaskBarIcon
* >(argp2
);
15820 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15821 result
= (wxTaskBarIconEvent
*)new wxTaskBarIconEvent(arg1
,arg2
);
15822 wxPyEndAllowThreads(__tstate
);
15823 if (PyErr_Occurred()) SWIG_fail
;
15825 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTaskBarIconEvent
, SWIG_POINTER_NEW
| 0 );
15832 SWIGINTERN PyObject
*TaskBarIconEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15834 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
15835 SWIG_TypeNewClientData(SWIGTYPE_p_wxTaskBarIconEvent
, SWIG_NewClientData(obj
));
15836 return SWIG_Py_Void();
15839 SWIGINTERN PyObject
*TaskBarIconEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15840 return SWIG_Python_InitShadowInstance(args
);
15843 SWIGINTERN
int FileSelectorPromptStr_set(PyObject
*) {
15844 SWIG_Error(SWIG_AttributeError
,"Variable FileSelectorPromptStr is read-only.");
15849 SWIGINTERN PyObject
*FileSelectorPromptStr_get(void) {
15850 PyObject
*pyobj
= 0;
15854 pyobj
= PyUnicode_FromWideChar((&wxPyFileSelectorPromptStr
)->c_str(), (&wxPyFileSelectorPromptStr
)->Len());
15856 pyobj
= PyString_FromStringAndSize((&wxPyFileSelectorPromptStr
)->c_str(), (&wxPyFileSelectorPromptStr
)->Len());
15863 SWIGINTERN
int DirSelectorPromptStr_set(PyObject
*) {
15864 SWIG_Error(SWIG_AttributeError
,"Variable DirSelectorPromptStr is read-only.");
15869 SWIGINTERN PyObject
*DirSelectorPromptStr_get(void) {
15870 PyObject
*pyobj
= 0;
15874 pyobj
= PyUnicode_FromWideChar((&wxPyDirSelectorPromptStr
)->c_str(), (&wxPyDirSelectorPromptStr
)->Len());
15876 pyobj
= PyString_FromStringAndSize((&wxPyDirSelectorPromptStr
)->c_str(), (&wxPyDirSelectorPromptStr
)->Len());
15883 SWIGINTERN
int DirDialogNameStr_set(PyObject
*) {
15884 SWIG_Error(SWIG_AttributeError
,"Variable DirDialogNameStr is read-only.");
15889 SWIGINTERN PyObject
*DirDialogNameStr_get(void) {
15890 PyObject
*pyobj
= 0;
15894 pyobj
= PyUnicode_FromWideChar((&wxPyDirDialogNameStr
)->c_str(), (&wxPyDirDialogNameStr
)->Len());
15896 pyobj
= PyString_FromStringAndSize((&wxPyDirDialogNameStr
)->c_str(), (&wxPyDirDialogNameStr
)->Len());
15903 SWIGINTERN
int FileSelectorDefaultWildcardStr_set(PyObject
*) {
15904 SWIG_Error(SWIG_AttributeError
,"Variable FileSelectorDefaultWildcardStr is read-only.");
15909 SWIGINTERN PyObject
*FileSelectorDefaultWildcardStr_get(void) {
15910 PyObject
*pyobj
= 0;
15914 pyobj
= PyUnicode_FromWideChar((&wxPyFileSelectorDefaultWildcardStr
)->c_str(), (&wxPyFileSelectorDefaultWildcardStr
)->Len());
15916 pyobj
= PyString_FromStringAndSize((&wxPyFileSelectorDefaultWildcardStr
)->c_str(), (&wxPyFileSelectorDefaultWildcardStr
)->Len());
15923 SWIGINTERN
int GetTextFromUserPromptStr_set(PyObject
*) {
15924 SWIG_Error(SWIG_AttributeError
,"Variable GetTextFromUserPromptStr is read-only.");
15929 SWIGINTERN PyObject
*GetTextFromUserPromptStr_get(void) {
15930 PyObject
*pyobj
= 0;
15934 pyobj
= PyUnicode_FromWideChar((&wxPyGetTextFromUserPromptStr
)->c_str(), (&wxPyGetTextFromUserPromptStr
)->Len());
15936 pyobj
= PyString_FromStringAndSize((&wxPyGetTextFromUserPromptStr
)->c_str(), (&wxPyGetTextFromUserPromptStr
)->Len());
15943 SWIGINTERN
int MessageBoxCaptionStr_set(PyObject
*) {
15944 SWIG_Error(SWIG_AttributeError
,"Variable MessageBoxCaptionStr is read-only.");
15949 SWIGINTERN PyObject
*MessageBoxCaptionStr_get(void) {
15950 PyObject
*pyobj
= 0;
15954 pyobj
= PyUnicode_FromWideChar((&wxPyMessageBoxCaptionStr
)->c_str(), (&wxPyMessageBoxCaptionStr
)->Len());
15956 pyobj
= PyString_FromStringAndSize((&wxPyMessageBoxCaptionStr
)->c_str(), (&wxPyMessageBoxCaptionStr
)->Len());
15963 SWIGINTERN PyObject
*_wrap_new_ColourData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15964 PyObject
*resultobj
= 0;
15965 wxColourData
*result
= 0 ;
15967 if (!SWIG_Python_UnpackTuple(args
,"new_ColourData",0,0,0)) SWIG_fail
;
15969 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15970 result
= (wxColourData
*)new wxColourData();
15971 wxPyEndAllowThreads(__tstate
);
15972 if (PyErr_Occurred()) SWIG_fail
;
15974 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColourData
, SWIG_POINTER_NEW
| 0 );
15981 SWIGINTERN PyObject
*_wrap_delete_ColourData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15982 PyObject
*resultobj
= 0;
15983 wxColourData
*arg1
= (wxColourData
*) 0 ;
15986 PyObject
*swig_obj
[1] ;
15988 if (!args
) SWIG_fail
;
15989 swig_obj
[0] = args
;
15990 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxColourData
, SWIG_POINTER_DISOWN
| 0 );
15991 if (!SWIG_IsOK(res1
)) {
15992 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_ColourData" "', expected argument " "1"" of type '" "wxColourData *""'");
15994 arg1
= reinterpret_cast< wxColourData
* >(argp1
);
15996 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15999 wxPyEndAllowThreads(__tstate
);
16000 if (PyErr_Occurred()) SWIG_fail
;
16002 resultobj
= SWIG_Py_Void();
16009 SWIGINTERN PyObject
*_wrap_ColourData_GetChooseFull(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16010 PyObject
*resultobj
= 0;
16011 wxColourData
*arg1
= (wxColourData
*) 0 ;
16015 PyObject
*swig_obj
[1] ;
16017 if (!args
) SWIG_fail
;
16018 swig_obj
[0] = args
;
16019 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxColourData
, 0 | 0 );
16020 if (!SWIG_IsOK(res1
)) {
16021 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ColourData_GetChooseFull" "', expected argument " "1"" of type '" "wxColourData *""'");
16023 arg1
= reinterpret_cast< wxColourData
* >(argp1
);
16025 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16026 result
= (bool)(arg1
)->GetChooseFull();
16027 wxPyEndAllowThreads(__tstate
);
16028 if (PyErr_Occurred()) SWIG_fail
;
16031 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16039 SWIGINTERN PyObject
*_wrap_ColourData_GetColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16040 PyObject
*resultobj
= 0;
16041 wxColourData
*arg1
= (wxColourData
*) 0 ;
16045 PyObject
*swig_obj
[1] ;
16047 if (!args
) SWIG_fail
;
16048 swig_obj
[0] = args
;
16049 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxColourData
, 0 | 0 );
16050 if (!SWIG_IsOK(res1
)) {
16051 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ColourData_GetColour" "', expected argument " "1"" of type '" "wxColourData *""'");
16053 arg1
= reinterpret_cast< wxColourData
* >(argp1
);
16055 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16056 result
= (arg1
)->GetColour();
16057 wxPyEndAllowThreads(__tstate
);
16058 if (PyErr_Occurred()) SWIG_fail
;
16060 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
16067 SWIGINTERN PyObject
*_wrap_ColourData_GetCustomColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16068 PyObject
*resultobj
= 0;
16069 wxColourData
*arg1
= (wxColourData
*) 0 ;
16076 PyObject
* obj0
= 0 ;
16077 PyObject
* obj1
= 0 ;
16078 char * kwnames
[] = {
16079 (char *) "self",(char *) "i", NULL
16082 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ColourData_GetCustomColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16083 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColourData
, 0 | 0 );
16084 if (!SWIG_IsOK(res1
)) {
16085 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ColourData_GetCustomColour" "', expected argument " "1"" of type '" "wxColourData *""'");
16087 arg1
= reinterpret_cast< wxColourData
* >(argp1
);
16088 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
16089 if (!SWIG_IsOK(ecode2
)) {
16090 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ColourData_GetCustomColour" "', expected argument " "2"" of type '" "int""'");
16092 arg2
= static_cast< int >(val2
);
16094 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16095 result
= (arg1
)->GetCustomColour(arg2
);
16096 wxPyEndAllowThreads(__tstate
);
16097 if (PyErr_Occurred()) SWIG_fail
;
16099 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
16106 SWIGINTERN PyObject
*_wrap_ColourData_SetChooseFull(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16107 PyObject
*resultobj
= 0;
16108 wxColourData
*arg1
= (wxColourData
*) 0 ;
16114 PyObject
* obj0
= 0 ;
16115 PyObject
* obj1
= 0 ;
16116 char * kwnames
[] = {
16117 (char *) "self",(char *) "flag", NULL
16120 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ColourData_SetChooseFull",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16121 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColourData
, 0 | 0 );
16122 if (!SWIG_IsOK(res1
)) {
16123 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ColourData_SetChooseFull" "', expected argument " "1"" of type '" "wxColourData *""'");
16125 arg1
= reinterpret_cast< wxColourData
* >(argp1
);
16126 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
16127 if (!SWIG_IsOK(ecode2
)) {
16128 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ColourData_SetChooseFull" "', expected argument " "2"" of type '" "int""'");
16130 arg2
= static_cast< int >(val2
);
16132 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16133 (arg1
)->SetChooseFull(arg2
);
16134 wxPyEndAllowThreads(__tstate
);
16135 if (PyErr_Occurred()) SWIG_fail
;
16137 resultobj
= SWIG_Py_Void();
16144 SWIGINTERN PyObject
*_wrap_ColourData_SetColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16145 PyObject
*resultobj
= 0;
16146 wxColourData
*arg1
= (wxColourData
*) 0 ;
16147 wxColour
*arg2
= 0 ;
16151 PyObject
* obj0
= 0 ;
16152 PyObject
* obj1
= 0 ;
16153 char * kwnames
[] = {
16154 (char *) "self",(char *) "colour", NULL
16157 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ColourData_SetColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16158 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColourData
, 0 | 0 );
16159 if (!SWIG_IsOK(res1
)) {
16160 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ColourData_SetColour" "', expected argument " "1"" of type '" "wxColourData *""'");
16162 arg1
= reinterpret_cast< wxColourData
* >(argp1
);
16165 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
16168 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16169 (arg1
)->SetColour((wxColour
const &)*arg2
);
16170 wxPyEndAllowThreads(__tstate
);
16171 if (PyErr_Occurred()) SWIG_fail
;
16173 resultobj
= SWIG_Py_Void();
16180 SWIGINTERN PyObject
*_wrap_ColourData_SetCustomColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16181 PyObject
*resultobj
= 0;
16182 wxColourData
*arg1
= (wxColourData
*) 0 ;
16184 wxColour
*arg3
= 0 ;
16190 PyObject
* obj0
= 0 ;
16191 PyObject
* obj1
= 0 ;
16192 PyObject
* obj2
= 0 ;
16193 char * kwnames
[] = {
16194 (char *) "self",(char *) "i",(char *) "colour", NULL
16197 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ColourData_SetCustomColour",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
16198 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColourData
, 0 | 0 );
16199 if (!SWIG_IsOK(res1
)) {
16200 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ColourData_SetCustomColour" "', expected argument " "1"" of type '" "wxColourData *""'");
16202 arg1
= reinterpret_cast< wxColourData
* >(argp1
);
16203 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
16204 if (!SWIG_IsOK(ecode2
)) {
16205 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ColourData_SetCustomColour" "', expected argument " "2"" of type '" "int""'");
16207 arg2
= static_cast< int >(val2
);
16210 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
16213 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16214 (arg1
)->SetCustomColour(arg2
,(wxColour
const &)*arg3
);
16215 wxPyEndAllowThreads(__tstate
);
16216 if (PyErr_Occurred()) SWIG_fail
;
16218 resultobj
= SWIG_Py_Void();
16225 SWIGINTERN PyObject
*ColourData_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16227 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
16228 SWIG_TypeNewClientData(SWIGTYPE_p_wxColourData
, SWIG_NewClientData(obj
));
16229 return SWIG_Py_Void();
16232 SWIGINTERN PyObject
*ColourData_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16233 return SWIG_Python_InitShadowInstance(args
);
16236 SWIGINTERN PyObject
*_wrap_new_ColourDialog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16237 PyObject
*resultobj
= 0;
16238 wxWindow
*arg1
= (wxWindow
*) 0 ;
16239 wxColourData
*arg2
= (wxColourData
*) NULL
;
16240 wxColourDialog
*result
= 0 ;
16245 PyObject
* obj0
= 0 ;
16246 PyObject
* obj1
= 0 ;
16247 char * kwnames
[] = {
16248 (char *) "parent",(char *) "data", NULL
16251 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_ColourDialog",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16252 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
16253 if (!SWIG_IsOK(res1
)) {
16254 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_ColourDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
16256 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
16258 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxColourData
, 0 | 0 );
16259 if (!SWIG_IsOK(res2
)) {
16260 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_ColourDialog" "', expected argument " "2"" of type '" "wxColourData *""'");
16262 arg2
= reinterpret_cast< wxColourData
* >(argp2
);
16265 if (!wxPyCheckForApp()) SWIG_fail
;
16266 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16267 result
= (wxColourDialog
*)new wxColourDialog(arg1
,arg2
);
16268 wxPyEndAllowThreads(__tstate
);
16269 if (PyErr_Occurred()) SWIG_fail
;
16271 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColourDialog
, SWIG_POINTER_NEW
| 0 );
16278 SWIGINTERN PyObject
*_wrap_ColourDialog_GetColourData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16279 PyObject
*resultobj
= 0;
16280 wxColourDialog
*arg1
= (wxColourDialog
*) 0 ;
16281 wxColourData
*result
= 0 ;
16284 PyObject
*swig_obj
[1] ;
16286 if (!args
) SWIG_fail
;
16287 swig_obj
[0] = args
;
16288 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxColourDialog
, 0 | 0 );
16289 if (!SWIG_IsOK(res1
)) {
16290 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ColourDialog_GetColourData" "', expected argument " "1"" of type '" "wxColourDialog *""'");
16292 arg1
= reinterpret_cast< wxColourDialog
* >(argp1
);
16294 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16296 wxColourData
&_result_ref
= (arg1
)->GetColourData();
16297 result
= (wxColourData
*) &_result_ref
;
16299 wxPyEndAllowThreads(__tstate
);
16300 if (PyErr_Occurred()) SWIG_fail
;
16302 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColourData
, 0 | 0 );
16309 SWIGINTERN PyObject
*ColourDialog_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16311 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
16312 SWIG_TypeNewClientData(SWIGTYPE_p_wxColourDialog
, SWIG_NewClientData(obj
));
16313 return SWIG_Py_Void();
16316 SWIGINTERN PyObject
*ColourDialog_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16317 return SWIG_Python_InitShadowInstance(args
);
16320 SWIGINTERN PyObject
*_wrap_GetColourFromUser(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16321 PyObject
*resultobj
= 0;
16322 wxWindow
*arg1
= (wxWindow
*) (wxWindow
*) NULL
;
16323 wxColour
const &arg2_defvalue
= wxNullColour
;
16324 wxColour
*arg2
= (wxColour
*) &arg2_defvalue
;
16325 wxString
const &arg3_defvalue
= wxPyEmptyString
;
16326 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
16331 bool temp3
= false ;
16332 PyObject
* obj0
= 0 ;
16333 PyObject
* obj1
= 0 ;
16334 PyObject
* obj2
= 0 ;
16335 char * kwnames
[] = {
16336 (char *) "parent",(char *) "colInit",(char *) "caption", NULL
16339 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:GetColourFromUser",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
16341 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
16342 if (!SWIG_IsOK(res1
)) {
16343 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GetColourFromUser" "', expected argument " "1"" of type '" "wxWindow *""'");
16345 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
16350 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
16355 arg3
= wxString_in_helper(obj2
);
16356 if (arg3
== NULL
) SWIG_fail
;
16361 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16362 result
= wxGetColourFromUser(arg1
,(wxColour
const &)*arg2
,(wxString
const &)*arg3
);
16363 wxPyEndAllowThreads(__tstate
);
16364 if (PyErr_Occurred()) SWIG_fail
;
16366 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
16381 SWIGINTERN PyObject
*_wrap_new_DirDialog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16382 PyObject
*resultobj
= 0;
16383 wxWindow
*arg1
= (wxWindow
*) 0 ;
16384 wxString
const &arg2_defvalue
= wxPyDirSelectorPromptStr
;
16385 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
16386 wxString
const &arg3_defvalue
= wxPyEmptyString
;
16387 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
16388 long arg4
= (long) 0 ;
16389 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
16390 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
16391 wxSize
const &arg6_defvalue
= wxDefaultSize
;
16392 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
16393 wxString
const &arg7_defvalue
= wxPyDirDialogNameStr
;
16394 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
16395 wxDirDialog
*result
= 0 ;
16398 bool temp2
= false ;
16399 bool temp3
= false ;
16404 bool temp7
= false ;
16405 PyObject
* obj0
= 0 ;
16406 PyObject
* obj1
= 0 ;
16407 PyObject
* obj2
= 0 ;
16408 PyObject
* obj3
= 0 ;
16409 PyObject
* obj4
= 0 ;
16410 PyObject
* obj5
= 0 ;
16411 PyObject
* obj6
= 0 ;
16412 char * kwnames
[] = {
16413 (char *) "parent",(char *) "message",(char *) "defaultPath",(char *) "style",(char *) "pos",(char *) "size",(char *) "name", NULL
16416 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_DirDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
16417 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
16418 if (!SWIG_IsOK(res1
)) {
16419 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_DirDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
16421 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
16424 arg2
= wxString_in_helper(obj1
);
16425 if (arg2
== NULL
) SWIG_fail
;
16431 arg3
= wxString_in_helper(obj2
);
16432 if (arg3
== NULL
) SWIG_fail
;
16437 ecode4
= SWIG_AsVal_long(obj3
, &val4
);
16438 if (!SWIG_IsOK(ecode4
)) {
16439 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_DirDialog" "', expected argument " "4"" of type '" "long""'");
16441 arg4
= static_cast< long >(val4
);
16446 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
16452 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
16457 arg7
= wxString_in_helper(obj6
);
16458 if (arg7
== NULL
) SWIG_fail
;
16463 if (!wxPyCheckForApp()) SWIG_fail
;
16464 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16465 result
= (wxDirDialog
*)new wxDirDialog(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,(wxString
const &)*arg7
);
16466 wxPyEndAllowThreads(__tstate
);
16467 if (PyErr_Occurred()) SWIG_fail
;
16469 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDirDialog
, SWIG_POINTER_NEW
| 0 );
16500 SWIGINTERN PyObject
*_wrap_DirDialog_GetPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16501 PyObject
*resultobj
= 0;
16502 wxDirDialog
*arg1
= (wxDirDialog
*) 0 ;
16506 PyObject
*swig_obj
[1] ;
16508 if (!args
) SWIG_fail
;
16509 swig_obj
[0] = args
;
16510 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDirDialog
, 0 | 0 );
16511 if (!SWIG_IsOK(res1
)) {
16512 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DirDialog_GetPath" "', expected argument " "1"" of type '" "wxDirDialog *""'");
16514 arg1
= reinterpret_cast< wxDirDialog
* >(argp1
);
16516 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16517 result
= (arg1
)->GetPath();
16518 wxPyEndAllowThreads(__tstate
);
16519 if (PyErr_Occurred()) SWIG_fail
;
16523 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
16525 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
16534 SWIGINTERN PyObject
*_wrap_DirDialog_GetMessage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16535 PyObject
*resultobj
= 0;
16536 wxDirDialog
*arg1
= (wxDirDialog
*) 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_wxDirDialog
, 0 | 0 );
16545 if (!SWIG_IsOK(res1
)) {
16546 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DirDialog_GetMessage" "', expected argument " "1"" of type '" "wxDirDialog *""'");
16548 arg1
= reinterpret_cast< wxDirDialog
* >(argp1
);
16550 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16551 result
= (arg1
)->GetMessage();
16552 wxPyEndAllowThreads(__tstate
);
16553 if (PyErr_Occurred()) SWIG_fail
;
16557 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
16559 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
16568 SWIGINTERN PyObject
*_wrap_DirDialog_GetStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16569 PyObject
*resultobj
= 0;
16570 wxDirDialog
*arg1
= (wxDirDialog
*) 0 ;
16574 PyObject
*swig_obj
[1] ;
16576 if (!args
) SWIG_fail
;
16577 swig_obj
[0] = args
;
16578 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDirDialog
, 0 | 0 );
16579 if (!SWIG_IsOK(res1
)) {
16580 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DirDialog_GetStyle" "', expected argument " "1"" of type '" "wxDirDialog *""'");
16582 arg1
= reinterpret_cast< wxDirDialog
* >(argp1
);
16584 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16585 result
= (long)(arg1
)->GetStyle();
16586 wxPyEndAllowThreads(__tstate
);
16587 if (PyErr_Occurred()) SWIG_fail
;
16589 resultobj
= SWIG_From_long(static_cast< long >(result
));
16596 SWIGINTERN PyObject
*_wrap_DirDialog_SetMessage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16597 PyObject
*resultobj
= 0;
16598 wxDirDialog
*arg1
= (wxDirDialog
*) 0 ;
16599 wxString
*arg2
= 0 ;
16602 bool temp2
= false ;
16603 PyObject
* obj0
= 0 ;
16604 PyObject
* obj1
= 0 ;
16605 char * kwnames
[] = {
16606 (char *) "self",(char *) "message", NULL
16609 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DirDialog_SetMessage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16610 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDirDialog
, 0 | 0 );
16611 if (!SWIG_IsOK(res1
)) {
16612 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DirDialog_SetMessage" "', expected argument " "1"" of type '" "wxDirDialog *""'");
16614 arg1
= reinterpret_cast< wxDirDialog
* >(argp1
);
16616 arg2
= wxString_in_helper(obj1
);
16617 if (arg2
== NULL
) SWIG_fail
;
16621 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16622 (arg1
)->SetMessage((wxString
const &)*arg2
);
16623 wxPyEndAllowThreads(__tstate
);
16624 if (PyErr_Occurred()) SWIG_fail
;
16626 resultobj
= SWIG_Py_Void();
16641 SWIGINTERN PyObject
*_wrap_DirDialog_SetPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16642 PyObject
*resultobj
= 0;
16643 wxDirDialog
*arg1
= (wxDirDialog
*) 0 ;
16644 wxString
*arg2
= 0 ;
16647 bool temp2
= false ;
16648 PyObject
* obj0
= 0 ;
16649 PyObject
* obj1
= 0 ;
16650 char * kwnames
[] = {
16651 (char *) "self",(char *) "path", NULL
16654 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DirDialog_SetPath",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16655 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDirDialog
, 0 | 0 );
16656 if (!SWIG_IsOK(res1
)) {
16657 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DirDialog_SetPath" "', expected argument " "1"" of type '" "wxDirDialog *""'");
16659 arg1
= reinterpret_cast< wxDirDialog
* >(argp1
);
16661 arg2
= wxString_in_helper(obj1
);
16662 if (arg2
== NULL
) SWIG_fail
;
16666 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16667 (arg1
)->SetPath((wxString
const &)*arg2
);
16668 wxPyEndAllowThreads(__tstate
);
16669 if (PyErr_Occurred()) SWIG_fail
;
16671 resultobj
= SWIG_Py_Void();
16686 SWIGINTERN PyObject
*DirDialog_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16688 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
16689 SWIG_TypeNewClientData(SWIGTYPE_p_wxDirDialog
, SWIG_NewClientData(obj
));
16690 return SWIG_Py_Void();
16693 SWIGINTERN PyObject
*DirDialog_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16694 return SWIG_Python_InitShadowInstance(args
);
16697 SWIGINTERN PyObject
*_wrap_new_FileDialog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16698 PyObject
*resultobj
= 0;
16699 wxWindow
*arg1
= (wxWindow
*) 0 ;
16700 wxString
const &arg2_defvalue
= wxPyFileSelectorPromptStr
;
16701 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
16702 wxString
const &arg3_defvalue
= wxPyEmptyString
;
16703 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
16704 wxString
const &arg4_defvalue
= wxPyEmptyString
;
16705 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
16706 wxString
const &arg5_defvalue
= wxPyFileSelectorDefaultWildcardStr
;
16707 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
16708 long arg6
= (long) 0 ;
16709 wxPoint
const &arg7_defvalue
= wxDefaultPosition
;
16710 wxPoint
*arg7
= (wxPoint
*) &arg7_defvalue
;
16711 wxFileDialog
*result
= 0 ;
16714 bool temp2
= false ;
16715 bool temp3
= false ;
16716 bool temp4
= false ;
16717 bool temp5
= false ;
16721 PyObject
* obj0
= 0 ;
16722 PyObject
* obj1
= 0 ;
16723 PyObject
* obj2
= 0 ;
16724 PyObject
* obj3
= 0 ;
16725 PyObject
* obj4
= 0 ;
16726 PyObject
* obj5
= 0 ;
16727 PyObject
* obj6
= 0 ;
16728 char * kwnames
[] = {
16729 (char *) "parent",(char *) "message",(char *) "defaultDir",(char *) "defaultFile",(char *) "wildcard",(char *) "style",(char *) "pos", NULL
16732 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_FileDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
16733 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
16734 if (!SWIG_IsOK(res1
)) {
16735 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_FileDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
16737 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
16740 arg2
= wxString_in_helper(obj1
);
16741 if (arg2
== NULL
) SWIG_fail
;
16747 arg3
= wxString_in_helper(obj2
);
16748 if (arg3
== NULL
) SWIG_fail
;
16754 arg4
= wxString_in_helper(obj3
);
16755 if (arg4
== NULL
) SWIG_fail
;
16761 arg5
= wxString_in_helper(obj4
);
16762 if (arg5
== NULL
) SWIG_fail
;
16767 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
16768 if (!SWIG_IsOK(ecode6
)) {
16769 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_FileDialog" "', expected argument " "6"" of type '" "long""'");
16771 arg6
= static_cast< long >(val6
);
16776 if ( ! wxPoint_helper(obj6
, &arg7
)) SWIG_fail
;
16780 if (!wxPyCheckForApp()) SWIG_fail
;
16781 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16782 result
= (wxFileDialog
*)new wxFileDialog(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,(wxString
const &)*arg5
,arg6
,(wxPoint
const &)*arg7
);
16783 wxPyEndAllowThreads(__tstate
);
16784 if (PyErr_Occurred()) SWIG_fail
;
16786 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFileDialog
, SWIG_POINTER_NEW
| 0 );
16825 SWIGINTERN PyObject
*_wrap_FileDialog_SetMessage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16826 PyObject
*resultobj
= 0;
16827 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
16828 wxString
*arg2
= 0 ;
16831 bool temp2
= false ;
16832 PyObject
* obj0
= 0 ;
16833 PyObject
* obj1
= 0 ;
16834 char * kwnames
[] = {
16835 (char *) "self",(char *) "message", NULL
16838 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileDialog_SetMessage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16839 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFileDialog
, 0 | 0 );
16840 if (!SWIG_IsOK(res1
)) {
16841 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileDialog_SetMessage" "', expected argument " "1"" of type '" "wxFileDialog *""'");
16843 arg1
= reinterpret_cast< wxFileDialog
* >(argp1
);
16845 arg2
= wxString_in_helper(obj1
);
16846 if (arg2
== NULL
) SWIG_fail
;
16850 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16851 (arg1
)->SetMessage((wxString
const &)*arg2
);
16852 wxPyEndAllowThreads(__tstate
);
16853 if (PyErr_Occurred()) SWIG_fail
;
16855 resultobj
= SWIG_Py_Void();
16870 SWIGINTERN PyObject
*_wrap_FileDialog_SetPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16871 PyObject
*resultobj
= 0;
16872 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
16873 wxString
*arg2
= 0 ;
16876 bool temp2
= false ;
16877 PyObject
* obj0
= 0 ;
16878 PyObject
* obj1
= 0 ;
16879 char * kwnames
[] = {
16880 (char *) "self",(char *) "path", NULL
16883 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileDialog_SetPath",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16884 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFileDialog
, 0 | 0 );
16885 if (!SWIG_IsOK(res1
)) {
16886 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileDialog_SetPath" "', expected argument " "1"" of type '" "wxFileDialog *""'");
16888 arg1
= reinterpret_cast< wxFileDialog
* >(argp1
);
16890 arg2
= wxString_in_helper(obj1
);
16891 if (arg2
== NULL
) SWIG_fail
;
16895 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16896 (arg1
)->SetPath((wxString
const &)*arg2
);
16897 wxPyEndAllowThreads(__tstate
);
16898 if (PyErr_Occurred()) SWIG_fail
;
16900 resultobj
= SWIG_Py_Void();
16915 SWIGINTERN PyObject
*_wrap_FileDialog_SetDirectory(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16916 PyObject
*resultobj
= 0;
16917 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
16918 wxString
*arg2
= 0 ;
16921 bool temp2
= false ;
16922 PyObject
* obj0
= 0 ;
16923 PyObject
* obj1
= 0 ;
16924 char * kwnames
[] = {
16925 (char *) "self",(char *) "dir", NULL
16928 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileDialog_SetDirectory",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16929 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFileDialog
, 0 | 0 );
16930 if (!SWIG_IsOK(res1
)) {
16931 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileDialog_SetDirectory" "', expected argument " "1"" of type '" "wxFileDialog *""'");
16933 arg1
= reinterpret_cast< wxFileDialog
* >(argp1
);
16935 arg2
= wxString_in_helper(obj1
);
16936 if (arg2
== NULL
) SWIG_fail
;
16940 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16941 (arg1
)->SetDirectory((wxString
const &)*arg2
);
16942 wxPyEndAllowThreads(__tstate
);
16943 if (PyErr_Occurred()) SWIG_fail
;
16945 resultobj
= SWIG_Py_Void();
16960 SWIGINTERN PyObject
*_wrap_FileDialog_SetFilename(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16961 PyObject
*resultobj
= 0;
16962 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
16963 wxString
*arg2
= 0 ;
16966 bool temp2
= false ;
16967 PyObject
* obj0
= 0 ;
16968 PyObject
* obj1
= 0 ;
16969 char * kwnames
[] = {
16970 (char *) "self",(char *) "name", NULL
16973 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileDialog_SetFilename",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16974 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFileDialog
, 0 | 0 );
16975 if (!SWIG_IsOK(res1
)) {
16976 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileDialog_SetFilename" "', expected argument " "1"" of type '" "wxFileDialog *""'");
16978 arg1
= reinterpret_cast< wxFileDialog
* >(argp1
);
16980 arg2
= wxString_in_helper(obj1
);
16981 if (arg2
== NULL
) SWIG_fail
;
16985 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16986 (arg1
)->SetFilename((wxString
const &)*arg2
);
16987 wxPyEndAllowThreads(__tstate
);
16988 if (PyErr_Occurred()) SWIG_fail
;
16990 resultobj
= SWIG_Py_Void();
17005 SWIGINTERN PyObject
*_wrap_FileDialog_SetWildcard(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17006 PyObject
*resultobj
= 0;
17007 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
17008 wxString
*arg2
= 0 ;
17011 bool temp2
= false ;
17012 PyObject
* obj0
= 0 ;
17013 PyObject
* obj1
= 0 ;
17014 char * kwnames
[] = {
17015 (char *) "self",(char *) "wildCard", NULL
17018 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileDialog_SetWildcard",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17019 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFileDialog
, 0 | 0 );
17020 if (!SWIG_IsOK(res1
)) {
17021 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileDialog_SetWildcard" "', expected argument " "1"" of type '" "wxFileDialog *""'");
17023 arg1
= reinterpret_cast< wxFileDialog
* >(argp1
);
17025 arg2
= wxString_in_helper(obj1
);
17026 if (arg2
== NULL
) SWIG_fail
;
17030 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17031 (arg1
)->SetWildcard((wxString
const &)*arg2
);
17032 wxPyEndAllowThreads(__tstate
);
17033 if (PyErr_Occurred()) SWIG_fail
;
17035 resultobj
= SWIG_Py_Void();
17050 SWIGINTERN PyObject
*_wrap_FileDialog_SetStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17051 PyObject
*resultobj
= 0;
17052 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
17058 PyObject
* obj0
= 0 ;
17059 PyObject
* obj1
= 0 ;
17060 char * kwnames
[] = {
17061 (char *) "self",(char *) "style", NULL
17064 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileDialog_SetStyle",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17065 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFileDialog
, 0 | 0 );
17066 if (!SWIG_IsOK(res1
)) {
17067 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileDialog_SetStyle" "', expected argument " "1"" of type '" "wxFileDialog *""'");
17069 arg1
= reinterpret_cast< wxFileDialog
* >(argp1
);
17070 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
17071 if (!SWIG_IsOK(ecode2
)) {
17072 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "FileDialog_SetStyle" "', expected argument " "2"" of type '" "long""'");
17074 arg2
= static_cast< long >(val2
);
17076 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17077 (arg1
)->SetStyle(arg2
);
17078 wxPyEndAllowThreads(__tstate
);
17079 if (PyErr_Occurred()) SWIG_fail
;
17081 resultobj
= SWIG_Py_Void();
17088 SWIGINTERN PyObject
*_wrap_FileDialog_SetFilterIndex(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17089 PyObject
*resultobj
= 0;
17090 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
17096 PyObject
* obj0
= 0 ;
17097 PyObject
* obj1
= 0 ;
17098 char * kwnames
[] = {
17099 (char *) "self",(char *) "filterIndex", NULL
17102 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileDialog_SetFilterIndex",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17103 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFileDialog
, 0 | 0 );
17104 if (!SWIG_IsOK(res1
)) {
17105 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileDialog_SetFilterIndex" "', expected argument " "1"" of type '" "wxFileDialog *""'");
17107 arg1
= reinterpret_cast< wxFileDialog
* >(argp1
);
17108 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
17109 if (!SWIG_IsOK(ecode2
)) {
17110 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "FileDialog_SetFilterIndex" "', expected argument " "2"" of type '" "int""'");
17112 arg2
= static_cast< int >(val2
);
17114 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17115 (arg1
)->SetFilterIndex(arg2
);
17116 wxPyEndAllowThreads(__tstate
);
17117 if (PyErr_Occurred()) SWIG_fail
;
17119 resultobj
= SWIG_Py_Void();
17126 SWIGINTERN PyObject
*_wrap_FileDialog_GetMessage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17127 PyObject
*resultobj
= 0;
17128 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
17132 PyObject
*swig_obj
[1] ;
17134 if (!args
) SWIG_fail
;
17135 swig_obj
[0] = args
;
17136 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFileDialog
, 0 | 0 );
17137 if (!SWIG_IsOK(res1
)) {
17138 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileDialog_GetMessage" "', expected argument " "1"" of type '" "wxFileDialog const *""'");
17140 arg1
= reinterpret_cast< wxFileDialog
* >(argp1
);
17142 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17143 result
= ((wxFileDialog
const *)arg1
)->GetMessage();
17144 wxPyEndAllowThreads(__tstate
);
17145 if (PyErr_Occurred()) SWIG_fail
;
17149 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
17151 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
17160 SWIGINTERN PyObject
*_wrap_FileDialog_GetPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17161 PyObject
*resultobj
= 0;
17162 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
17166 PyObject
*swig_obj
[1] ;
17168 if (!args
) SWIG_fail
;
17169 swig_obj
[0] = args
;
17170 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFileDialog
, 0 | 0 );
17171 if (!SWIG_IsOK(res1
)) {
17172 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileDialog_GetPath" "', expected argument " "1"" of type '" "wxFileDialog const *""'");
17174 arg1
= reinterpret_cast< wxFileDialog
* >(argp1
);
17176 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17177 result
= ((wxFileDialog
const *)arg1
)->GetPath();
17178 wxPyEndAllowThreads(__tstate
);
17179 if (PyErr_Occurred()) SWIG_fail
;
17183 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
17185 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
17194 SWIGINTERN PyObject
*_wrap_FileDialog_GetDirectory(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17195 PyObject
*resultobj
= 0;
17196 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
17200 PyObject
*swig_obj
[1] ;
17202 if (!args
) SWIG_fail
;
17203 swig_obj
[0] = args
;
17204 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFileDialog
, 0 | 0 );
17205 if (!SWIG_IsOK(res1
)) {
17206 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileDialog_GetDirectory" "', expected argument " "1"" of type '" "wxFileDialog const *""'");
17208 arg1
= reinterpret_cast< wxFileDialog
* >(argp1
);
17210 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17211 result
= ((wxFileDialog
const *)arg1
)->GetDirectory();
17212 wxPyEndAllowThreads(__tstate
);
17213 if (PyErr_Occurred()) SWIG_fail
;
17217 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
17219 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
17228 SWIGINTERN PyObject
*_wrap_FileDialog_GetFilename(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17229 PyObject
*resultobj
= 0;
17230 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
17234 PyObject
*swig_obj
[1] ;
17236 if (!args
) SWIG_fail
;
17237 swig_obj
[0] = args
;
17238 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFileDialog
, 0 | 0 );
17239 if (!SWIG_IsOK(res1
)) {
17240 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileDialog_GetFilename" "', expected argument " "1"" of type '" "wxFileDialog const *""'");
17242 arg1
= reinterpret_cast< wxFileDialog
* >(argp1
);
17244 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17245 result
= ((wxFileDialog
const *)arg1
)->GetFilename();
17246 wxPyEndAllowThreads(__tstate
);
17247 if (PyErr_Occurred()) SWIG_fail
;
17251 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
17253 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
17262 SWIGINTERN PyObject
*_wrap_FileDialog_GetWildcard(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17263 PyObject
*resultobj
= 0;
17264 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
17268 PyObject
*swig_obj
[1] ;
17270 if (!args
) SWIG_fail
;
17271 swig_obj
[0] = args
;
17272 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFileDialog
, 0 | 0 );
17273 if (!SWIG_IsOK(res1
)) {
17274 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileDialog_GetWildcard" "', expected argument " "1"" of type '" "wxFileDialog const *""'");
17276 arg1
= reinterpret_cast< wxFileDialog
* >(argp1
);
17278 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17279 result
= ((wxFileDialog
const *)arg1
)->GetWildcard();
17280 wxPyEndAllowThreads(__tstate
);
17281 if (PyErr_Occurred()) SWIG_fail
;
17285 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
17287 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
17296 SWIGINTERN PyObject
*_wrap_FileDialog_GetStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17297 PyObject
*resultobj
= 0;
17298 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
17302 PyObject
*swig_obj
[1] ;
17304 if (!args
) SWIG_fail
;
17305 swig_obj
[0] = args
;
17306 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFileDialog
, 0 | 0 );
17307 if (!SWIG_IsOK(res1
)) {
17308 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileDialog_GetStyle" "', expected argument " "1"" of type '" "wxFileDialog const *""'");
17310 arg1
= reinterpret_cast< wxFileDialog
* >(argp1
);
17312 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17313 result
= (long)((wxFileDialog
const *)arg1
)->GetStyle();
17314 wxPyEndAllowThreads(__tstate
);
17315 if (PyErr_Occurred()) SWIG_fail
;
17317 resultobj
= SWIG_From_long(static_cast< long >(result
));
17324 SWIGINTERN PyObject
*_wrap_FileDialog_GetFilterIndex(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17325 PyObject
*resultobj
= 0;
17326 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
17330 PyObject
*swig_obj
[1] ;
17332 if (!args
) SWIG_fail
;
17333 swig_obj
[0] = args
;
17334 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFileDialog
, 0 | 0 );
17335 if (!SWIG_IsOK(res1
)) {
17336 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileDialog_GetFilterIndex" "', expected argument " "1"" of type '" "wxFileDialog const *""'");
17338 arg1
= reinterpret_cast< wxFileDialog
* >(argp1
);
17340 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17341 result
= (int)((wxFileDialog
const *)arg1
)->GetFilterIndex();
17342 wxPyEndAllowThreads(__tstate
);
17343 if (PyErr_Occurred()) SWIG_fail
;
17345 resultobj
= SWIG_From_int(static_cast< int >(result
));
17352 SWIGINTERN PyObject
*_wrap_FileDialog_GetFilenames(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17353 PyObject
*resultobj
= 0;
17354 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
17355 PyObject
*result
= 0 ;
17358 PyObject
*swig_obj
[1] ;
17360 if (!args
) SWIG_fail
;
17361 swig_obj
[0] = args
;
17362 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFileDialog
, 0 | 0 );
17363 if (!SWIG_IsOK(res1
)) {
17364 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileDialog_GetFilenames" "', expected argument " "1"" of type '" "wxFileDialog *""'");
17366 arg1
= reinterpret_cast< wxFileDialog
* >(argp1
);
17368 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17369 result
= (PyObject
*)wxFileDialog_GetFilenames(arg1
);
17370 wxPyEndAllowThreads(__tstate
);
17371 if (PyErr_Occurred()) SWIG_fail
;
17373 resultobj
= result
;
17380 SWIGINTERN PyObject
*_wrap_FileDialog_GetPaths(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17381 PyObject
*resultobj
= 0;
17382 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
17383 PyObject
*result
= 0 ;
17386 PyObject
*swig_obj
[1] ;
17388 if (!args
) SWIG_fail
;
17389 swig_obj
[0] = args
;
17390 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFileDialog
, 0 | 0 );
17391 if (!SWIG_IsOK(res1
)) {
17392 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileDialog_GetPaths" "', expected argument " "1"" of type '" "wxFileDialog *""'");
17394 arg1
= reinterpret_cast< wxFileDialog
* >(argp1
);
17396 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17397 result
= (PyObject
*)wxFileDialog_GetPaths(arg1
);
17398 wxPyEndAllowThreads(__tstate
);
17399 if (PyErr_Occurred()) SWIG_fail
;
17401 resultobj
= result
;
17408 SWIGINTERN PyObject
*FileDialog_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17410 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
17411 SWIG_TypeNewClientData(SWIGTYPE_p_wxFileDialog
, SWIG_NewClientData(obj
));
17412 return SWIG_Py_Void();
17415 SWIGINTERN PyObject
*FileDialog_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17416 return SWIG_Python_InitShadowInstance(args
);
17419 SWIGINTERN PyObject
*_wrap_new_MultiChoiceDialog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17420 PyObject
*resultobj
= 0;
17421 wxWindow
*arg1
= (wxWindow
*) 0 ;
17422 wxString
*arg2
= 0 ;
17423 wxString
*arg3
= 0 ;
17424 int arg4
= (int) 0 ;
17425 wxString
*arg5
= (wxString
*) NULL
;
17426 long arg6
= (long) wxCHOICEDLG_STYLE
;
17427 wxPoint
const &arg7_defvalue
= wxDefaultPosition
;
17428 wxPoint
*arg7
= (wxPoint
*) &arg7_defvalue
;
17429 wxMultiChoiceDialog
*result
= 0 ;
17432 bool temp2
= false ;
17433 bool temp3
= false ;
17437 PyObject
* obj0
= 0 ;
17438 PyObject
* obj1
= 0 ;
17439 PyObject
* obj2
= 0 ;
17440 PyObject
* obj3
= 0 ;
17441 PyObject
* obj4
= 0 ;
17442 PyObject
* obj5
= 0 ;
17443 char * kwnames
[] = {
17444 (char *) "parent",(char *) "message",(char *) "caption",(char *) "choices",(char *) "style",(char *) "pos", NULL
17447 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOO:new_MultiChoiceDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
17448 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
17449 if (!SWIG_IsOK(res1
)) {
17450 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_MultiChoiceDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
17452 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
17454 arg2
= wxString_in_helper(obj1
);
17455 if (arg2
== NULL
) SWIG_fail
;
17459 arg3
= wxString_in_helper(obj2
);
17460 if (arg3
== NULL
) SWIG_fail
;
17465 arg4
= PyList_Size(obj3
);
17466 arg5
= wxString_LIST_helper(obj3
);
17467 if (arg5
== NULL
) SWIG_fail
;
17471 ecode6
= SWIG_AsVal_long(obj4
, &val6
);
17472 if (!SWIG_IsOK(ecode6
)) {
17473 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_MultiChoiceDialog" "', expected argument " "6"" of type '" "long""'");
17475 arg6
= static_cast< long >(val6
);
17480 if ( ! wxPoint_helper(obj5
, &arg7
)) SWIG_fail
;
17484 if (!wxPyCheckForApp()) SWIG_fail
;
17485 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17486 result
= (wxMultiChoiceDialog
*)new wxMultiChoiceDialog(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
,arg5
,arg6
,(wxPoint
const &)*arg7
);
17487 wxPyEndAllowThreads(__tstate
);
17488 if (PyErr_Occurred()) SWIG_fail
;
17490 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMultiChoiceDialog
, SWIG_POINTER_NEW
| 0 );
17500 if (arg5
) delete [] arg5
;
17513 if (arg5
) delete [] arg5
;
17519 SWIGINTERN PyObject
*_wrap_MultiChoiceDialog_SetSelections(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17520 PyObject
*resultobj
= 0;
17521 wxMultiChoiceDialog
*arg1
= (wxMultiChoiceDialog
*) 0 ;
17522 wxArrayInt
*arg2
= 0 ;
17525 bool temp2
= false ;
17526 PyObject
* obj0
= 0 ;
17527 PyObject
* obj1
= 0 ;
17528 char * kwnames
[] = {
17529 (char *) "self",(char *) "selections", NULL
17532 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MultiChoiceDialog_SetSelections",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17533 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMultiChoiceDialog
, 0 | 0 );
17534 if (!SWIG_IsOK(res1
)) {
17535 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MultiChoiceDialog_SetSelections" "', expected argument " "1"" of type '" "wxMultiChoiceDialog *""'");
17537 arg1
= reinterpret_cast< wxMultiChoiceDialog
* >(argp1
);
17539 if (! PySequence_Check(obj1
)) {
17540 PyErr_SetString(PyExc_TypeError
, "Sequence of integers expected.");
17543 arg2
= new wxArrayInt
;
17545 int i
, len
=PySequence_Length(obj1
);
17546 for (i
=0; i
<len
; i
++) {
17547 PyObject
* item
= PySequence_GetItem(obj1
, i
);
17548 PyObject
* number
= PyNumber_Int(item
);
17549 arg2
->Add(PyInt_AS_LONG(number
));
17555 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17556 (arg1
)->SetSelections((wxArrayInt
const &)*arg2
);
17557 wxPyEndAllowThreads(__tstate
);
17558 if (PyErr_Occurred()) SWIG_fail
;
17560 resultobj
= SWIG_Py_Void();
17562 if (temp2
) delete arg2
;
17567 if (temp2
) delete arg2
;
17573 SWIGINTERN PyObject
*_wrap_MultiChoiceDialog_GetSelections(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17574 PyObject
*resultobj
= 0;
17575 wxMultiChoiceDialog
*arg1
= (wxMultiChoiceDialog
*) 0 ;
17576 PyObject
*result
= 0 ;
17579 PyObject
*swig_obj
[1] ;
17581 if (!args
) SWIG_fail
;
17582 swig_obj
[0] = args
;
17583 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMultiChoiceDialog
, 0 | 0 );
17584 if (!SWIG_IsOK(res1
)) {
17585 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MultiChoiceDialog_GetSelections" "', expected argument " "1"" of type '" "wxMultiChoiceDialog *""'");
17587 arg1
= reinterpret_cast< wxMultiChoiceDialog
* >(argp1
);
17589 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17590 result
= (PyObject
*)wxMultiChoiceDialog_GetSelections(arg1
);
17591 wxPyEndAllowThreads(__tstate
);
17592 if (PyErr_Occurred()) SWIG_fail
;
17594 resultobj
= result
;
17601 SWIGINTERN PyObject
*MultiChoiceDialog_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17603 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
17604 SWIG_TypeNewClientData(SWIGTYPE_p_wxMultiChoiceDialog
, SWIG_NewClientData(obj
));
17605 return SWIG_Py_Void();
17608 SWIGINTERN PyObject
*MultiChoiceDialog_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17609 return SWIG_Python_InitShadowInstance(args
);
17612 SWIGINTERN PyObject
*_wrap_new_SingleChoiceDialog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17613 PyObject
*resultobj
= 0;
17614 wxWindow
*arg1
= (wxWindow
*) 0 ;
17615 wxString
*arg2
= 0 ;
17616 wxString
*arg3
= 0 ;
17618 wxString
*arg5
= (wxString
*) 0 ;
17619 long arg6
= (long) wxCHOICEDLG_STYLE
;
17620 wxPoint
const &arg7_defvalue
= wxDefaultPosition
;
17621 wxPoint
*arg7
= (wxPoint
*) &arg7_defvalue
;
17622 wxSingleChoiceDialog
*result
= 0 ;
17625 bool temp2
= false ;
17626 bool temp3
= false ;
17630 PyObject
* obj0
= 0 ;
17631 PyObject
* obj1
= 0 ;
17632 PyObject
* obj2
= 0 ;
17633 PyObject
* obj3
= 0 ;
17634 PyObject
* obj4
= 0 ;
17635 PyObject
* obj5
= 0 ;
17636 char * kwnames
[] = {
17637 (char *) "parent",(char *) "message",(char *) "caption",(char *) "choices",(char *) "style",(char *) "pos", NULL
17640 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:new_SingleChoiceDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
17641 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
17642 if (!SWIG_IsOK(res1
)) {
17643 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_SingleChoiceDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
17645 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
17647 arg2
= wxString_in_helper(obj1
);
17648 if (arg2
== NULL
) SWIG_fail
;
17652 arg3
= wxString_in_helper(obj2
);
17653 if (arg3
== NULL
) SWIG_fail
;
17657 arg4
= PyList_Size(obj3
);
17658 arg5
= wxString_LIST_helper(obj3
);
17659 if (arg5
== NULL
) SWIG_fail
;
17662 ecode6
= SWIG_AsVal_long(obj4
, &val6
);
17663 if (!SWIG_IsOK(ecode6
)) {
17664 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_SingleChoiceDialog" "', expected argument " "6"" of type '" "long""'");
17666 arg6
= static_cast< long >(val6
);
17671 if ( ! wxPoint_helper(obj5
, &arg7
)) SWIG_fail
;
17675 if (!wxPyCheckForApp()) SWIG_fail
;
17676 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17677 result
= (wxSingleChoiceDialog
*)new_wxSingleChoiceDialog(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
,arg5
,arg6
,(wxPoint
const &)*arg7
);
17678 wxPyEndAllowThreads(__tstate
);
17679 if (PyErr_Occurred()) SWIG_fail
;
17681 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSingleChoiceDialog
, SWIG_POINTER_NEW
| 0 );
17691 if (arg5
) delete [] arg5
;
17704 if (arg5
) delete [] arg5
;
17710 SWIGINTERN PyObject
*_wrap_SingleChoiceDialog_GetSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17711 PyObject
*resultobj
= 0;
17712 wxSingleChoiceDialog
*arg1
= (wxSingleChoiceDialog
*) 0 ;
17716 PyObject
*swig_obj
[1] ;
17718 if (!args
) SWIG_fail
;
17719 swig_obj
[0] = args
;
17720 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSingleChoiceDialog
, 0 | 0 );
17721 if (!SWIG_IsOK(res1
)) {
17722 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SingleChoiceDialog_GetSelection" "', expected argument " "1"" of type '" "wxSingleChoiceDialog *""'");
17724 arg1
= reinterpret_cast< wxSingleChoiceDialog
* >(argp1
);
17726 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17727 result
= (int)(arg1
)->GetSelection();
17728 wxPyEndAllowThreads(__tstate
);
17729 if (PyErr_Occurred()) SWIG_fail
;
17731 resultobj
= SWIG_From_int(static_cast< int >(result
));
17738 SWIGINTERN PyObject
*_wrap_SingleChoiceDialog_GetStringSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17739 PyObject
*resultobj
= 0;
17740 wxSingleChoiceDialog
*arg1
= (wxSingleChoiceDialog
*) 0 ;
17744 PyObject
*swig_obj
[1] ;
17746 if (!args
) SWIG_fail
;
17747 swig_obj
[0] = args
;
17748 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSingleChoiceDialog
, 0 | 0 );
17749 if (!SWIG_IsOK(res1
)) {
17750 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SingleChoiceDialog_GetStringSelection" "', expected argument " "1"" of type '" "wxSingleChoiceDialog *""'");
17752 arg1
= reinterpret_cast< wxSingleChoiceDialog
* >(argp1
);
17754 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17755 result
= (arg1
)->GetStringSelection();
17756 wxPyEndAllowThreads(__tstate
);
17757 if (PyErr_Occurred()) SWIG_fail
;
17761 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
17763 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
17772 SWIGINTERN PyObject
*_wrap_SingleChoiceDialog_SetSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17773 PyObject
*resultobj
= 0;
17774 wxSingleChoiceDialog
*arg1
= (wxSingleChoiceDialog
*) 0 ;
17780 PyObject
* obj0
= 0 ;
17781 PyObject
* obj1
= 0 ;
17782 char * kwnames
[] = {
17783 (char *) "self",(char *) "sel", NULL
17786 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SingleChoiceDialog_SetSelection",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17787 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSingleChoiceDialog
, 0 | 0 );
17788 if (!SWIG_IsOK(res1
)) {
17789 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SingleChoiceDialog_SetSelection" "', expected argument " "1"" of type '" "wxSingleChoiceDialog *""'");
17791 arg1
= reinterpret_cast< wxSingleChoiceDialog
* >(argp1
);
17792 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
17793 if (!SWIG_IsOK(ecode2
)) {
17794 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SingleChoiceDialog_SetSelection" "', expected argument " "2"" of type '" "int""'");
17796 arg2
= static_cast< int >(val2
);
17798 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17799 (arg1
)->SetSelection(arg2
);
17800 wxPyEndAllowThreads(__tstate
);
17801 if (PyErr_Occurred()) SWIG_fail
;
17803 resultobj
= SWIG_Py_Void();
17810 SWIGINTERN PyObject
*SingleChoiceDialog_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17812 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
17813 SWIG_TypeNewClientData(SWIGTYPE_p_wxSingleChoiceDialog
, SWIG_NewClientData(obj
));
17814 return SWIG_Py_Void();
17817 SWIGINTERN PyObject
*SingleChoiceDialog_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17818 return SWIG_Python_InitShadowInstance(args
);
17821 SWIGINTERN PyObject
*_wrap_new_TextEntryDialog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17822 PyObject
*resultobj
= 0;
17823 wxWindow
*arg1
= (wxWindow
*) 0 ;
17824 wxString
*arg2
= 0 ;
17825 wxString
const &arg3_defvalue
= wxPyGetTextFromUserPromptStr
;
17826 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
17827 wxString
const &arg4_defvalue
= wxPyEmptyString
;
17828 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
17829 long arg5
= (long) wxTextEntryDialogStyle
;
17830 wxPoint
const &arg6_defvalue
= wxDefaultPosition
;
17831 wxPoint
*arg6
= (wxPoint
*) &arg6_defvalue
;
17832 wxTextEntryDialog
*result
= 0 ;
17835 bool temp2
= false ;
17836 bool temp3
= false ;
17837 bool temp4
= false ;
17841 PyObject
* obj0
= 0 ;
17842 PyObject
* obj1
= 0 ;
17843 PyObject
* obj2
= 0 ;
17844 PyObject
* obj3
= 0 ;
17845 PyObject
* obj4
= 0 ;
17846 PyObject
* obj5
= 0 ;
17847 char * kwnames
[] = {
17848 (char *) "parent",(char *) "message",(char *) "caption",(char *) "defaultValue",(char *) "style",(char *) "pos", NULL
17851 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:new_TextEntryDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
17852 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
17853 if (!SWIG_IsOK(res1
)) {
17854 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_TextEntryDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
17856 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
17858 arg2
= wxString_in_helper(obj1
);
17859 if (arg2
== NULL
) SWIG_fail
;
17864 arg3
= wxString_in_helper(obj2
);
17865 if (arg3
== NULL
) SWIG_fail
;
17871 arg4
= wxString_in_helper(obj3
);
17872 if (arg4
== NULL
) SWIG_fail
;
17877 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
17878 if (!SWIG_IsOK(ecode5
)) {
17879 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_TextEntryDialog" "', expected argument " "5"" of type '" "long""'");
17881 arg5
= static_cast< long >(val5
);
17886 if ( ! wxPoint_helper(obj5
, &arg6
)) SWIG_fail
;
17890 if (!wxPyCheckForApp()) SWIG_fail
;
17891 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17892 result
= (wxTextEntryDialog
*)new wxTextEntryDialog(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,arg5
,(wxPoint
const &)*arg6
);
17893 wxPyEndAllowThreads(__tstate
);
17894 if (PyErr_Occurred()) SWIG_fail
;
17896 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTextEntryDialog
, SWIG_POINTER_NEW
| 0 );
17927 SWIGINTERN PyObject
*_wrap_TextEntryDialog_GetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17928 PyObject
*resultobj
= 0;
17929 wxTextEntryDialog
*arg1
= (wxTextEntryDialog
*) 0 ;
17933 PyObject
*swig_obj
[1] ;
17935 if (!args
) SWIG_fail
;
17936 swig_obj
[0] = args
;
17937 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextEntryDialog
, 0 | 0 );
17938 if (!SWIG_IsOK(res1
)) {
17939 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextEntryDialog_GetValue" "', expected argument " "1"" of type '" "wxTextEntryDialog *""'");
17941 arg1
= reinterpret_cast< wxTextEntryDialog
* >(argp1
);
17943 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17944 result
= (arg1
)->GetValue();
17945 wxPyEndAllowThreads(__tstate
);
17946 if (PyErr_Occurred()) SWIG_fail
;
17950 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
17952 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
17961 SWIGINTERN PyObject
*_wrap_TextEntryDialog_SetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17962 PyObject
*resultobj
= 0;
17963 wxTextEntryDialog
*arg1
= (wxTextEntryDialog
*) 0 ;
17964 wxString
*arg2
= 0 ;
17967 bool temp2
= false ;
17968 PyObject
* obj0
= 0 ;
17969 PyObject
* obj1
= 0 ;
17970 char * kwnames
[] = {
17971 (char *) "self",(char *) "value", NULL
17974 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextEntryDialog_SetValue",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17975 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextEntryDialog
, 0 | 0 );
17976 if (!SWIG_IsOK(res1
)) {
17977 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextEntryDialog_SetValue" "', expected argument " "1"" of type '" "wxTextEntryDialog *""'");
17979 arg1
= reinterpret_cast< wxTextEntryDialog
* >(argp1
);
17981 arg2
= wxString_in_helper(obj1
);
17982 if (arg2
== NULL
) SWIG_fail
;
17986 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17987 (arg1
)->SetValue((wxString
const &)*arg2
);
17988 wxPyEndAllowThreads(__tstate
);
17989 if (PyErr_Occurred()) SWIG_fail
;
17991 resultobj
= SWIG_Py_Void();
18006 SWIGINTERN PyObject
*TextEntryDialog_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18008 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
18009 SWIG_TypeNewClientData(SWIGTYPE_p_wxTextEntryDialog
, SWIG_NewClientData(obj
));
18010 return SWIG_Py_Void();
18013 SWIGINTERN PyObject
*TextEntryDialog_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18014 return SWIG_Python_InitShadowInstance(args
);
18017 SWIGINTERN
int GetPasswordFromUserPromptStr_set(PyObject
*) {
18018 SWIG_Error(SWIG_AttributeError
,"Variable GetPasswordFromUserPromptStr is read-only.");
18023 SWIGINTERN PyObject
*GetPasswordFromUserPromptStr_get(void) {
18024 PyObject
*pyobj
= 0;
18028 pyobj
= PyUnicode_FromWideChar((&wxPyGetPasswordFromUserPromptStr
)->c_str(), (&wxPyGetPasswordFromUserPromptStr
)->Len());
18030 pyobj
= PyString_FromStringAndSize((&wxPyGetPasswordFromUserPromptStr
)->c_str(), (&wxPyGetPasswordFromUserPromptStr
)->Len());
18037 SWIGINTERN PyObject
*_wrap_new_PasswordEntryDialog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18038 PyObject
*resultobj
= 0;
18039 wxWindow
*arg1
= (wxWindow
*) 0 ;
18040 wxString
*arg2
= 0 ;
18041 wxString
const &arg3_defvalue
= wxPyGetPasswordFromUserPromptStr
;
18042 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
18043 wxString
const &arg4_defvalue
= wxPyEmptyString
;
18044 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
18045 long arg5
= (long) wxTextEntryDialogStyle
;
18046 wxPoint
const &arg6_defvalue
= wxDefaultPosition
;
18047 wxPoint
*arg6
= (wxPoint
*) &arg6_defvalue
;
18048 wxPasswordEntryDialog
*result
= 0 ;
18051 bool temp2
= false ;
18052 bool temp3
= false ;
18053 bool temp4
= false ;
18057 PyObject
* obj0
= 0 ;
18058 PyObject
* obj1
= 0 ;
18059 PyObject
* obj2
= 0 ;
18060 PyObject
* obj3
= 0 ;
18061 PyObject
* obj4
= 0 ;
18062 PyObject
* obj5
= 0 ;
18063 char * kwnames
[] = {
18064 (char *) "parent",(char *) "message",(char *) "caption",(char *) "value",(char *) "style",(char *) "pos", NULL
18067 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:new_PasswordEntryDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
18068 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
18069 if (!SWIG_IsOK(res1
)) {
18070 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PasswordEntryDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
18072 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
18074 arg2
= wxString_in_helper(obj1
);
18075 if (arg2
== NULL
) SWIG_fail
;
18080 arg3
= wxString_in_helper(obj2
);
18081 if (arg3
== NULL
) SWIG_fail
;
18087 arg4
= wxString_in_helper(obj3
);
18088 if (arg4
== NULL
) SWIG_fail
;
18093 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
18094 if (!SWIG_IsOK(ecode5
)) {
18095 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_PasswordEntryDialog" "', expected argument " "5"" of type '" "long""'");
18097 arg5
= static_cast< long >(val5
);
18102 if ( ! wxPoint_helper(obj5
, &arg6
)) SWIG_fail
;
18106 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18107 result
= (wxPasswordEntryDialog
*)new wxPasswordEntryDialog(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,arg5
,(wxPoint
const &)*arg6
);
18108 wxPyEndAllowThreads(__tstate
);
18109 if (PyErr_Occurred()) SWIG_fail
;
18111 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPasswordEntryDialog
, SWIG_POINTER_NEW
| 0 );
18142 SWIGINTERN PyObject
*PasswordEntryDialog_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18144 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
18145 SWIG_TypeNewClientData(SWIGTYPE_p_wxPasswordEntryDialog
, SWIG_NewClientData(obj
));
18146 return SWIG_Py_Void();
18149 SWIGINTERN PyObject
*PasswordEntryDialog_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18150 return SWIG_Python_InitShadowInstance(args
);
18153 SWIGINTERN PyObject
*_wrap_new_FontData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18154 PyObject
*resultobj
= 0;
18155 wxFontData
*result
= 0 ;
18157 if (!SWIG_Python_UnpackTuple(args
,"new_FontData",0,0,0)) SWIG_fail
;
18159 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18160 result
= (wxFontData
*)new wxFontData();
18161 wxPyEndAllowThreads(__tstate
);
18162 if (PyErr_Occurred()) SWIG_fail
;
18164 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFontData
, SWIG_POINTER_NEW
| 0 );
18171 SWIGINTERN PyObject
*_wrap_delete_FontData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18172 PyObject
*resultobj
= 0;
18173 wxFontData
*arg1
= (wxFontData
*) 0 ;
18176 PyObject
*swig_obj
[1] ;
18178 if (!args
) SWIG_fail
;
18179 swig_obj
[0] = args
;
18180 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFontData
, SWIG_POINTER_DISOWN
| 0 );
18181 if (!SWIG_IsOK(res1
)) {
18182 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_FontData" "', expected argument " "1"" of type '" "wxFontData *""'");
18184 arg1
= reinterpret_cast< wxFontData
* >(argp1
);
18186 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18189 wxPyEndAllowThreads(__tstate
);
18190 if (PyErr_Occurred()) SWIG_fail
;
18192 resultobj
= SWIG_Py_Void();
18199 SWIGINTERN PyObject
*_wrap_FontData_EnableEffects(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18200 PyObject
*resultobj
= 0;
18201 wxFontData
*arg1
= (wxFontData
*) 0 ;
18207 PyObject
* obj0
= 0 ;
18208 PyObject
* obj1
= 0 ;
18209 char * kwnames
[] = {
18210 (char *) "self",(char *) "enable", NULL
18213 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontData_EnableEffects",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18214 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontData
, 0 | 0 );
18215 if (!SWIG_IsOK(res1
)) {
18216 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontData_EnableEffects" "', expected argument " "1"" of type '" "wxFontData *""'");
18218 arg1
= reinterpret_cast< wxFontData
* >(argp1
);
18219 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
18220 if (!SWIG_IsOK(ecode2
)) {
18221 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "FontData_EnableEffects" "', expected argument " "2"" of type '" "bool""'");
18223 arg2
= static_cast< bool >(val2
);
18225 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18226 (arg1
)->EnableEffects(arg2
);
18227 wxPyEndAllowThreads(__tstate
);
18228 if (PyErr_Occurred()) SWIG_fail
;
18230 resultobj
= SWIG_Py_Void();
18237 SWIGINTERN PyObject
*_wrap_FontData_GetAllowSymbols(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18238 PyObject
*resultobj
= 0;
18239 wxFontData
*arg1
= (wxFontData
*) 0 ;
18243 PyObject
*swig_obj
[1] ;
18245 if (!args
) SWIG_fail
;
18246 swig_obj
[0] = args
;
18247 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFontData
, 0 | 0 );
18248 if (!SWIG_IsOK(res1
)) {
18249 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontData_GetAllowSymbols" "', expected argument " "1"" of type '" "wxFontData *""'");
18251 arg1
= reinterpret_cast< wxFontData
* >(argp1
);
18253 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18254 result
= (bool)(arg1
)->GetAllowSymbols();
18255 wxPyEndAllowThreads(__tstate
);
18256 if (PyErr_Occurred()) SWIG_fail
;
18259 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18267 SWIGINTERN PyObject
*_wrap_FontData_GetColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18268 PyObject
*resultobj
= 0;
18269 wxFontData
*arg1
= (wxFontData
*) 0 ;
18273 PyObject
*swig_obj
[1] ;
18275 if (!args
) SWIG_fail
;
18276 swig_obj
[0] = args
;
18277 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFontData
, 0 | 0 );
18278 if (!SWIG_IsOK(res1
)) {
18279 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontData_GetColour" "', expected argument " "1"" of type '" "wxFontData *""'");
18281 arg1
= reinterpret_cast< wxFontData
* >(argp1
);
18283 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18284 result
= (arg1
)->GetColour();
18285 wxPyEndAllowThreads(__tstate
);
18286 if (PyErr_Occurred()) SWIG_fail
;
18288 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
18295 SWIGINTERN PyObject
*_wrap_FontData_GetChosenFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18296 PyObject
*resultobj
= 0;
18297 wxFontData
*arg1
= (wxFontData
*) 0 ;
18301 PyObject
*swig_obj
[1] ;
18303 if (!args
) SWIG_fail
;
18304 swig_obj
[0] = args
;
18305 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFontData
, 0 | 0 );
18306 if (!SWIG_IsOK(res1
)) {
18307 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontData_GetChosenFont" "', expected argument " "1"" of type '" "wxFontData *""'");
18309 arg1
= reinterpret_cast< wxFontData
* >(argp1
);
18311 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18312 result
= (arg1
)->GetChosenFont();
18313 wxPyEndAllowThreads(__tstate
);
18314 if (PyErr_Occurred()) SWIG_fail
;
18316 resultobj
= SWIG_NewPointerObj((new wxFont(static_cast< const wxFont
& >(result
))), SWIGTYPE_p_wxFont
, SWIG_POINTER_OWN
| 0 );
18323 SWIGINTERN PyObject
*_wrap_FontData_GetEnableEffects(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18324 PyObject
*resultobj
= 0;
18325 wxFontData
*arg1
= (wxFontData
*) 0 ;
18329 PyObject
*swig_obj
[1] ;
18331 if (!args
) SWIG_fail
;
18332 swig_obj
[0] = args
;
18333 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFontData
, 0 | 0 );
18334 if (!SWIG_IsOK(res1
)) {
18335 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontData_GetEnableEffects" "', expected argument " "1"" of type '" "wxFontData *""'");
18337 arg1
= reinterpret_cast< wxFontData
* >(argp1
);
18339 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18340 result
= (bool)(arg1
)->GetEnableEffects();
18341 wxPyEndAllowThreads(__tstate
);
18342 if (PyErr_Occurred()) SWIG_fail
;
18345 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18353 SWIGINTERN PyObject
*_wrap_FontData_GetInitialFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18354 PyObject
*resultobj
= 0;
18355 wxFontData
*arg1
= (wxFontData
*) 0 ;
18359 PyObject
*swig_obj
[1] ;
18361 if (!args
) SWIG_fail
;
18362 swig_obj
[0] = args
;
18363 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFontData
, 0 | 0 );
18364 if (!SWIG_IsOK(res1
)) {
18365 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontData_GetInitialFont" "', expected argument " "1"" of type '" "wxFontData *""'");
18367 arg1
= reinterpret_cast< wxFontData
* >(argp1
);
18369 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18370 result
= (arg1
)->GetInitialFont();
18371 wxPyEndAllowThreads(__tstate
);
18372 if (PyErr_Occurred()) SWIG_fail
;
18374 resultobj
= SWIG_NewPointerObj((new wxFont(static_cast< const wxFont
& >(result
))), SWIGTYPE_p_wxFont
, SWIG_POINTER_OWN
| 0 );
18381 SWIGINTERN PyObject
*_wrap_FontData_GetShowHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18382 PyObject
*resultobj
= 0;
18383 wxFontData
*arg1
= (wxFontData
*) 0 ;
18387 PyObject
*swig_obj
[1] ;
18389 if (!args
) SWIG_fail
;
18390 swig_obj
[0] = args
;
18391 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFontData
, 0 | 0 );
18392 if (!SWIG_IsOK(res1
)) {
18393 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontData_GetShowHelp" "', expected argument " "1"" of type '" "wxFontData *""'");
18395 arg1
= reinterpret_cast< wxFontData
* >(argp1
);
18397 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18398 result
= (bool)(arg1
)->GetShowHelp();
18399 wxPyEndAllowThreads(__tstate
);
18400 if (PyErr_Occurred()) SWIG_fail
;
18403 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18411 SWIGINTERN PyObject
*_wrap_FontData_SetAllowSymbols(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18412 PyObject
*resultobj
= 0;
18413 wxFontData
*arg1
= (wxFontData
*) 0 ;
18419 PyObject
* obj0
= 0 ;
18420 PyObject
* obj1
= 0 ;
18421 char * kwnames
[] = {
18422 (char *) "self",(char *) "allowSymbols", NULL
18425 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontData_SetAllowSymbols",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18426 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontData
, 0 | 0 );
18427 if (!SWIG_IsOK(res1
)) {
18428 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontData_SetAllowSymbols" "', expected argument " "1"" of type '" "wxFontData *""'");
18430 arg1
= reinterpret_cast< wxFontData
* >(argp1
);
18431 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
18432 if (!SWIG_IsOK(ecode2
)) {
18433 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "FontData_SetAllowSymbols" "', expected argument " "2"" of type '" "bool""'");
18435 arg2
= static_cast< bool >(val2
);
18437 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18438 (arg1
)->SetAllowSymbols(arg2
);
18439 wxPyEndAllowThreads(__tstate
);
18440 if (PyErr_Occurred()) SWIG_fail
;
18442 resultobj
= SWIG_Py_Void();
18449 SWIGINTERN PyObject
*_wrap_FontData_SetChosenFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18450 PyObject
*resultobj
= 0;
18451 wxFontData
*arg1
= (wxFontData
*) 0 ;
18457 PyObject
* obj0
= 0 ;
18458 PyObject
* obj1
= 0 ;
18459 char * kwnames
[] = {
18460 (char *) "self",(char *) "font", NULL
18463 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontData_SetChosenFont",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18464 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontData
, 0 | 0 );
18465 if (!SWIG_IsOK(res1
)) {
18466 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontData_SetChosenFont" "', expected argument " "1"" of type '" "wxFontData *""'");
18468 arg1
= reinterpret_cast< wxFontData
* >(argp1
);
18469 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxFont
, 0 | 0);
18470 if (!SWIG_IsOK(res2
)) {
18471 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "FontData_SetChosenFont" "', expected argument " "2"" of type '" "wxFont const &""'");
18474 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "FontData_SetChosenFont" "', expected argument " "2"" of type '" "wxFont const &""'");
18476 arg2
= reinterpret_cast< wxFont
* >(argp2
);
18478 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18479 (arg1
)->SetChosenFont((wxFont
const &)*arg2
);
18480 wxPyEndAllowThreads(__tstate
);
18481 if (PyErr_Occurred()) SWIG_fail
;
18483 resultobj
= SWIG_Py_Void();
18490 SWIGINTERN PyObject
*_wrap_FontData_SetColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18491 PyObject
*resultobj
= 0;
18492 wxFontData
*arg1
= (wxFontData
*) 0 ;
18493 wxColour
*arg2
= 0 ;
18497 PyObject
* obj0
= 0 ;
18498 PyObject
* obj1
= 0 ;
18499 char * kwnames
[] = {
18500 (char *) "self",(char *) "colour", NULL
18503 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontData_SetColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18504 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontData
, 0 | 0 );
18505 if (!SWIG_IsOK(res1
)) {
18506 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontData_SetColour" "', expected argument " "1"" of type '" "wxFontData *""'");
18508 arg1
= reinterpret_cast< wxFontData
* >(argp1
);
18511 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
18514 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18515 (arg1
)->SetColour((wxColour
const &)*arg2
);
18516 wxPyEndAllowThreads(__tstate
);
18517 if (PyErr_Occurred()) SWIG_fail
;
18519 resultobj
= SWIG_Py_Void();
18526 SWIGINTERN PyObject
*_wrap_FontData_SetInitialFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18527 PyObject
*resultobj
= 0;
18528 wxFontData
*arg1
= (wxFontData
*) 0 ;
18534 PyObject
* obj0
= 0 ;
18535 PyObject
* obj1
= 0 ;
18536 char * kwnames
[] = {
18537 (char *) "self",(char *) "font", NULL
18540 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontData_SetInitialFont",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18541 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontData
, 0 | 0 );
18542 if (!SWIG_IsOK(res1
)) {
18543 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontData_SetInitialFont" "', expected argument " "1"" of type '" "wxFontData *""'");
18545 arg1
= reinterpret_cast< wxFontData
* >(argp1
);
18546 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxFont
, 0 | 0);
18547 if (!SWIG_IsOK(res2
)) {
18548 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "FontData_SetInitialFont" "', expected argument " "2"" of type '" "wxFont const &""'");
18551 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "FontData_SetInitialFont" "', expected argument " "2"" of type '" "wxFont const &""'");
18553 arg2
= reinterpret_cast< wxFont
* >(argp2
);
18555 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18556 (arg1
)->SetInitialFont((wxFont
const &)*arg2
);
18557 wxPyEndAllowThreads(__tstate
);
18558 if (PyErr_Occurred()) SWIG_fail
;
18560 resultobj
= SWIG_Py_Void();
18567 SWIGINTERN PyObject
*_wrap_FontData_SetRange(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18568 PyObject
*resultobj
= 0;
18569 wxFontData
*arg1
= (wxFontData
*) 0 ;
18578 PyObject
* obj0
= 0 ;
18579 PyObject
* obj1
= 0 ;
18580 PyObject
* obj2
= 0 ;
18581 char * kwnames
[] = {
18582 (char *) "self",(char *) "min",(char *) "max", NULL
18585 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:FontData_SetRange",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
18586 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontData
, 0 | 0 );
18587 if (!SWIG_IsOK(res1
)) {
18588 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontData_SetRange" "', expected argument " "1"" of type '" "wxFontData *""'");
18590 arg1
= reinterpret_cast< wxFontData
* >(argp1
);
18591 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18592 if (!SWIG_IsOK(ecode2
)) {
18593 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "FontData_SetRange" "', expected argument " "2"" of type '" "int""'");
18595 arg2
= static_cast< int >(val2
);
18596 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
18597 if (!SWIG_IsOK(ecode3
)) {
18598 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "FontData_SetRange" "', expected argument " "3"" of type '" "int""'");
18600 arg3
= static_cast< int >(val3
);
18602 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18603 (arg1
)->SetRange(arg2
,arg3
);
18604 wxPyEndAllowThreads(__tstate
);
18605 if (PyErr_Occurred()) SWIG_fail
;
18607 resultobj
= SWIG_Py_Void();
18614 SWIGINTERN PyObject
*_wrap_FontData_SetShowHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18615 PyObject
*resultobj
= 0;
18616 wxFontData
*arg1
= (wxFontData
*) 0 ;
18622 PyObject
* obj0
= 0 ;
18623 PyObject
* obj1
= 0 ;
18624 char * kwnames
[] = {
18625 (char *) "self",(char *) "showHelp", NULL
18628 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontData_SetShowHelp",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18629 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontData
, 0 | 0 );
18630 if (!SWIG_IsOK(res1
)) {
18631 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontData_SetShowHelp" "', expected argument " "1"" of type '" "wxFontData *""'");
18633 arg1
= reinterpret_cast< wxFontData
* >(argp1
);
18634 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
18635 if (!SWIG_IsOK(ecode2
)) {
18636 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "FontData_SetShowHelp" "', expected argument " "2"" of type '" "bool""'");
18638 arg2
= static_cast< bool >(val2
);
18640 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18641 (arg1
)->SetShowHelp(arg2
);
18642 wxPyEndAllowThreads(__tstate
);
18643 if (PyErr_Occurred()) SWIG_fail
;
18645 resultobj
= SWIG_Py_Void();
18652 SWIGINTERN PyObject
*FontData_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18654 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
18655 SWIG_TypeNewClientData(SWIGTYPE_p_wxFontData
, SWIG_NewClientData(obj
));
18656 return SWIG_Py_Void();
18659 SWIGINTERN PyObject
*FontData_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18660 return SWIG_Python_InitShadowInstance(args
);
18663 SWIGINTERN PyObject
*_wrap_new_FontDialog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18664 PyObject
*resultobj
= 0;
18665 wxWindow
*arg1
= (wxWindow
*) 0 ;
18666 wxFontData
*arg2
= 0 ;
18667 wxFontDialog
*result
= 0 ;
18672 PyObject
* obj0
= 0 ;
18673 PyObject
* obj1
= 0 ;
18674 char * kwnames
[] = {
18675 (char *) "parent",(char *) "data", NULL
18678 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_FontDialog",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18679 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
18680 if (!SWIG_IsOK(res1
)) {
18681 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_FontDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
18683 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
18684 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxFontData
, 0 | 0);
18685 if (!SWIG_IsOK(res2
)) {
18686 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_FontDialog" "', expected argument " "2"" of type '" "wxFontData const &""'");
18689 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_FontDialog" "', expected argument " "2"" of type '" "wxFontData const &""'");
18691 arg2
= reinterpret_cast< wxFontData
* >(argp2
);
18693 if (!wxPyCheckForApp()) SWIG_fail
;
18694 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18695 result
= (wxFontDialog
*)new wxFontDialog(arg1
,(wxFontData
const &)*arg2
);
18696 wxPyEndAllowThreads(__tstate
);
18697 if (PyErr_Occurred()) SWIG_fail
;
18699 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFontDialog
, SWIG_POINTER_NEW
| 0 );
18706 SWIGINTERN PyObject
*_wrap_FontDialog_GetFontData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18707 PyObject
*resultobj
= 0;
18708 wxFontDialog
*arg1
= (wxFontDialog
*) 0 ;
18709 wxFontData
*result
= 0 ;
18712 PyObject
*swig_obj
[1] ;
18714 if (!args
) SWIG_fail
;
18715 swig_obj
[0] = args
;
18716 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFontDialog
, 0 | 0 );
18717 if (!SWIG_IsOK(res1
)) {
18718 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontDialog_GetFontData" "', expected argument " "1"" of type '" "wxFontDialog *""'");
18720 arg1
= reinterpret_cast< wxFontDialog
* >(argp1
);
18722 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18724 wxFontData
&_result_ref
= (arg1
)->GetFontData();
18725 result
= (wxFontData
*) &_result_ref
;
18727 wxPyEndAllowThreads(__tstate
);
18728 if (PyErr_Occurred()) SWIG_fail
;
18730 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFontData
, 0 | 0 );
18737 SWIGINTERN PyObject
*FontDialog_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18739 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
18740 SWIG_TypeNewClientData(SWIGTYPE_p_wxFontDialog
, SWIG_NewClientData(obj
));
18741 return SWIG_Py_Void();
18744 SWIGINTERN PyObject
*FontDialog_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18745 return SWIG_Python_InitShadowInstance(args
);
18748 SWIGINTERN PyObject
*_wrap_GetFontFromUser(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18749 PyObject
*resultobj
= 0;
18750 wxWindow
*arg1
= (wxWindow
*) NULL
;
18751 wxFont
const &arg2_defvalue
= wxNullFont
;
18752 wxFont
*arg2
= (wxFont
*) &arg2_defvalue
;
18753 wxString
const &arg3_defvalue
= wxPyEmptyString
;
18754 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
18760 bool temp3
= false ;
18761 PyObject
* obj0
= 0 ;
18762 PyObject
* obj1
= 0 ;
18763 PyObject
* obj2
= 0 ;
18764 char * kwnames
[] = {
18765 (char *) "parent",(char *) "fontInit",(char *) "caption", NULL
18768 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:GetFontFromUser",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
18770 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
18771 if (!SWIG_IsOK(res1
)) {
18772 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GetFontFromUser" "', expected argument " "1"" of type '" "wxWindow *""'");
18774 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
18777 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxFont
, 0 | 0);
18778 if (!SWIG_IsOK(res2
)) {
18779 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GetFontFromUser" "', expected argument " "2"" of type '" "wxFont const &""'");
18782 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GetFontFromUser" "', expected argument " "2"" of type '" "wxFont const &""'");
18784 arg2
= reinterpret_cast< wxFont
* >(argp2
);
18788 arg3
= wxString_in_helper(obj2
);
18789 if (arg3
== NULL
) SWIG_fail
;
18794 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18795 result
= wxGetFontFromUser(arg1
,(wxFont
const &)*arg2
,(wxString
const &)*arg3
);
18796 wxPyEndAllowThreads(__tstate
);
18797 if (PyErr_Occurred()) SWIG_fail
;
18799 resultobj
= SWIG_NewPointerObj((new wxFont(static_cast< const wxFont
& >(result
))), SWIGTYPE_p_wxFont
, SWIG_POINTER_OWN
| 0 );
18814 SWIGINTERN PyObject
*_wrap_new_MessageDialog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18815 PyObject
*resultobj
= 0;
18816 wxWindow
*arg1
= (wxWindow
*) 0 ;
18817 wxString
*arg2
= 0 ;
18818 wxString
const &arg3_defvalue
= wxPyMessageBoxCaptionStr
;
18819 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
18820 long arg4
= (long) wxOK
|wxCANCEL
|wxCENTRE
;
18821 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
18822 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
18823 wxMessageDialog
*result
= 0 ;
18826 bool temp2
= false ;
18827 bool temp3
= false ;
18831 PyObject
* obj0
= 0 ;
18832 PyObject
* obj1
= 0 ;
18833 PyObject
* obj2
= 0 ;
18834 PyObject
* obj3
= 0 ;
18835 PyObject
* obj4
= 0 ;
18836 char * kwnames
[] = {
18837 (char *) "parent",(char *) "message",(char *) "caption",(char *) "style",(char *) "pos", NULL
18840 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:new_MessageDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
18841 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
18842 if (!SWIG_IsOK(res1
)) {
18843 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_MessageDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
18845 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
18847 arg2
= wxString_in_helper(obj1
);
18848 if (arg2
== NULL
) SWIG_fail
;
18853 arg3
= wxString_in_helper(obj2
);
18854 if (arg3
== NULL
) SWIG_fail
;
18859 ecode4
= SWIG_AsVal_long(obj3
, &val4
);
18860 if (!SWIG_IsOK(ecode4
)) {
18861 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_MessageDialog" "', expected argument " "4"" of type '" "long""'");
18863 arg4
= static_cast< long >(val4
);
18868 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
18872 if (!wxPyCheckForApp()) SWIG_fail
;
18873 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18874 result
= (wxMessageDialog
*)new wxMessageDialog(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
,(wxPoint
const &)*arg5
);
18875 wxPyEndAllowThreads(__tstate
);
18876 if (PyErr_Occurred()) SWIG_fail
;
18878 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMessageDialog
, SWIG_POINTER_NEW
| 0 );
18901 SWIGINTERN PyObject
*MessageDialog_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18903 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
18904 SWIG_TypeNewClientData(SWIGTYPE_p_wxMessageDialog
, SWIG_NewClientData(obj
));
18905 return SWIG_Py_Void();
18908 SWIGINTERN PyObject
*MessageDialog_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18909 return SWIG_Python_InitShadowInstance(args
);
18912 SWIGINTERN PyObject
*_wrap_new_ProgressDialog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18913 PyObject
*resultobj
= 0;
18914 wxString
*arg1
= 0 ;
18915 wxString
*arg2
= 0 ;
18916 int arg3
= (int) 100 ;
18917 wxWindow
*arg4
= (wxWindow
*) NULL
;
18918 int arg5
= (int) wxPD_AUTO_HIDE
|wxPD_APP_MODAL
;
18919 wxProgressDialog
*result
= 0 ;
18920 bool temp1
= false ;
18921 bool temp2
= false ;
18928 PyObject
* obj0
= 0 ;
18929 PyObject
* obj1
= 0 ;
18930 PyObject
* obj2
= 0 ;
18931 PyObject
* obj3
= 0 ;
18932 PyObject
* obj4
= 0 ;
18933 char * kwnames
[] = {
18934 (char *) "title",(char *) "message",(char *) "maximum",(char *) "parent",(char *) "style", NULL
18937 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:new_ProgressDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
18939 arg1
= wxString_in_helper(obj0
);
18940 if (arg1
== NULL
) SWIG_fail
;
18944 arg2
= wxString_in_helper(obj1
);
18945 if (arg2
== NULL
) SWIG_fail
;
18949 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
18950 if (!SWIG_IsOK(ecode3
)) {
18951 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_ProgressDialog" "', expected argument " "3"" of type '" "int""'");
18953 arg3
= static_cast< int >(val3
);
18956 res4
= SWIG_ConvertPtr(obj3
, &argp4
,SWIGTYPE_p_wxWindow
, 0 | 0 );
18957 if (!SWIG_IsOK(res4
)) {
18958 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "new_ProgressDialog" "', expected argument " "4"" of type '" "wxWindow *""'");
18960 arg4
= reinterpret_cast< wxWindow
* >(argp4
);
18963 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
18964 if (!SWIG_IsOK(ecode5
)) {
18965 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_ProgressDialog" "', expected argument " "5"" of type '" "int""'");
18967 arg5
= static_cast< int >(val5
);
18970 if (!wxPyCheckForApp()) SWIG_fail
;
18971 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18972 result
= (wxProgressDialog
*)new wxProgressDialog((wxString
const &)*arg1
,(wxString
const &)*arg2
,arg3
,arg4
,arg5
);
18973 wxPyEndAllowThreads(__tstate
);
18974 if (PyErr_Occurred()) SWIG_fail
;
18976 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxProgressDialog
, SWIG_POINTER_NEW
| 0 );
18999 SWIGINTERN PyObject
*_wrap_ProgressDialog_Update(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19000 PyObject
*resultobj
= 0;
19001 wxProgressDialog
*arg1
= (wxProgressDialog
*) 0 ;
19003 wxString
const &arg3_defvalue
= wxPyEmptyString
;
19004 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
19010 bool temp3
= false ;
19011 PyObject
* obj0
= 0 ;
19012 PyObject
* obj1
= 0 ;
19013 PyObject
* obj2
= 0 ;
19014 char * kwnames
[] = {
19015 (char *) "self",(char *) "value",(char *) "newmsg", NULL
19018 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ProgressDialog_Update",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
19019 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxProgressDialog
, 0 | 0 );
19020 if (!SWIG_IsOK(res1
)) {
19021 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ProgressDialog_Update" "', expected argument " "1"" of type '" "wxProgressDialog *""'");
19023 arg1
= reinterpret_cast< wxProgressDialog
* >(argp1
);
19024 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
19025 if (!SWIG_IsOK(ecode2
)) {
19026 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ProgressDialog_Update" "', expected argument " "2"" of type '" "int""'");
19028 arg2
= static_cast< int >(val2
);
19031 arg3
= wxString_in_helper(obj2
);
19032 if (arg3
== NULL
) SWIG_fail
;
19037 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19038 result
= (bool)(arg1
)->Update(arg2
,(wxString
const &)*arg3
);
19039 wxPyEndAllowThreads(__tstate
);
19040 if (PyErr_Occurred()) SWIG_fail
;
19043 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19059 SWIGINTERN PyObject
*_wrap_ProgressDialog_Resume(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19060 PyObject
*resultobj
= 0;
19061 wxProgressDialog
*arg1
= (wxProgressDialog
*) 0 ;
19064 PyObject
*swig_obj
[1] ;
19066 if (!args
) SWIG_fail
;
19067 swig_obj
[0] = args
;
19068 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxProgressDialog
, 0 | 0 );
19069 if (!SWIG_IsOK(res1
)) {
19070 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ProgressDialog_Resume" "', expected argument " "1"" of type '" "wxProgressDialog *""'");
19072 arg1
= reinterpret_cast< wxProgressDialog
* >(argp1
);
19074 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19076 wxPyEndAllowThreads(__tstate
);
19077 if (PyErr_Occurred()) SWIG_fail
;
19079 resultobj
= SWIG_Py_Void();
19086 SWIGINTERN PyObject
*ProgressDialog_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19088 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
19089 SWIG_TypeNewClientData(SWIGTYPE_p_wxProgressDialog
, SWIG_NewClientData(obj
));
19090 return SWIG_Py_Void();
19093 SWIGINTERN PyObject
*ProgressDialog_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19094 return SWIG_Python_InitShadowInstance(args
);
19097 SWIGINTERN PyObject
*_wrap_new_FindDialogEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19098 PyObject
*resultobj
= 0;
19099 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
19100 int arg2
= (int) 0 ;
19101 wxFindDialogEvent
*result
= 0 ;
19106 PyObject
* obj0
= 0 ;
19107 PyObject
* obj1
= 0 ;
19108 char * kwnames
[] = {
19109 (char *) "commandType",(char *) "id", NULL
19112 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_FindDialogEvent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19114 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
19115 if (!SWIG_IsOK(ecode1
)) {
19116 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_FindDialogEvent" "', expected argument " "1"" of type '" "wxEventType""'");
19118 arg1
= static_cast< wxEventType
>(val1
);
19121 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
19122 if (!SWIG_IsOK(ecode2
)) {
19123 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_FindDialogEvent" "', expected argument " "2"" of type '" "int""'");
19125 arg2
= static_cast< int >(val2
);
19128 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19129 result
= (wxFindDialogEvent
*)new wxFindDialogEvent(arg1
,arg2
);
19130 wxPyEndAllowThreads(__tstate
);
19131 if (PyErr_Occurred()) SWIG_fail
;
19133 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFindDialogEvent
, SWIG_POINTER_NEW
| 0 );
19140 SWIGINTERN PyObject
*_wrap_FindDialogEvent_GetFlags(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19141 PyObject
*resultobj
= 0;
19142 wxFindDialogEvent
*arg1
= (wxFindDialogEvent
*) 0 ;
19146 PyObject
*swig_obj
[1] ;
19148 if (!args
) SWIG_fail
;
19149 swig_obj
[0] = args
;
19150 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFindDialogEvent
, 0 | 0 );
19151 if (!SWIG_IsOK(res1
)) {
19152 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FindDialogEvent_GetFlags" "', expected argument " "1"" of type '" "wxFindDialogEvent *""'");
19154 arg1
= reinterpret_cast< wxFindDialogEvent
* >(argp1
);
19156 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19157 result
= (int)(arg1
)->GetFlags();
19158 wxPyEndAllowThreads(__tstate
);
19159 if (PyErr_Occurred()) SWIG_fail
;
19161 resultobj
= SWIG_From_int(static_cast< int >(result
));
19168 SWIGINTERN PyObject
*_wrap_FindDialogEvent_GetFindString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19169 PyObject
*resultobj
= 0;
19170 wxFindDialogEvent
*arg1
= (wxFindDialogEvent
*) 0 ;
19171 wxString
*result
= 0 ;
19174 PyObject
*swig_obj
[1] ;
19176 if (!args
) SWIG_fail
;
19177 swig_obj
[0] = args
;
19178 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFindDialogEvent
, 0 | 0 );
19179 if (!SWIG_IsOK(res1
)) {
19180 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FindDialogEvent_GetFindString" "', expected argument " "1"" of type '" "wxFindDialogEvent *""'");
19182 arg1
= reinterpret_cast< wxFindDialogEvent
* >(argp1
);
19184 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19186 wxString
const &_result_ref
= (arg1
)->GetFindString();
19187 result
= (wxString
*) &_result_ref
;
19189 wxPyEndAllowThreads(__tstate
);
19190 if (PyErr_Occurred()) SWIG_fail
;
19194 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
19196 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
19205 SWIGINTERN PyObject
*_wrap_FindDialogEvent_GetReplaceString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19206 PyObject
*resultobj
= 0;
19207 wxFindDialogEvent
*arg1
= (wxFindDialogEvent
*) 0 ;
19208 wxString
*result
= 0 ;
19211 PyObject
*swig_obj
[1] ;
19213 if (!args
) SWIG_fail
;
19214 swig_obj
[0] = args
;
19215 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFindDialogEvent
, 0 | 0 );
19216 if (!SWIG_IsOK(res1
)) {
19217 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FindDialogEvent_GetReplaceString" "', expected argument " "1"" of type '" "wxFindDialogEvent *""'");
19219 arg1
= reinterpret_cast< wxFindDialogEvent
* >(argp1
);
19221 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19223 wxString
const &_result_ref
= (arg1
)->GetReplaceString();
19224 result
= (wxString
*) &_result_ref
;
19226 wxPyEndAllowThreads(__tstate
);
19227 if (PyErr_Occurred()) SWIG_fail
;
19231 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
19233 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
19242 SWIGINTERN PyObject
*_wrap_FindDialogEvent_GetDialog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19243 PyObject
*resultobj
= 0;
19244 wxFindDialogEvent
*arg1
= (wxFindDialogEvent
*) 0 ;
19245 wxFindReplaceDialog
*result
= 0 ;
19248 PyObject
*swig_obj
[1] ;
19250 if (!args
) SWIG_fail
;
19251 swig_obj
[0] = args
;
19252 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFindDialogEvent
, 0 | 0 );
19253 if (!SWIG_IsOK(res1
)) {
19254 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FindDialogEvent_GetDialog" "', expected argument " "1"" of type '" "wxFindDialogEvent *""'");
19256 arg1
= reinterpret_cast< wxFindDialogEvent
* >(argp1
);
19258 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19259 result
= (wxFindReplaceDialog
*)(arg1
)->GetDialog();
19260 wxPyEndAllowThreads(__tstate
);
19261 if (PyErr_Occurred()) SWIG_fail
;
19263 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFindReplaceDialog
, 0 | 0 );
19270 SWIGINTERN PyObject
*_wrap_FindDialogEvent_SetFlags(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19271 PyObject
*resultobj
= 0;
19272 wxFindDialogEvent
*arg1
= (wxFindDialogEvent
*) 0 ;
19278 PyObject
* obj0
= 0 ;
19279 PyObject
* obj1
= 0 ;
19280 char * kwnames
[] = {
19281 (char *) "self",(char *) "flags", NULL
19284 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FindDialogEvent_SetFlags",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19285 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFindDialogEvent
, 0 | 0 );
19286 if (!SWIG_IsOK(res1
)) {
19287 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FindDialogEvent_SetFlags" "', expected argument " "1"" of type '" "wxFindDialogEvent *""'");
19289 arg1
= reinterpret_cast< wxFindDialogEvent
* >(argp1
);
19290 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
19291 if (!SWIG_IsOK(ecode2
)) {
19292 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "FindDialogEvent_SetFlags" "', expected argument " "2"" of type '" "int""'");
19294 arg2
= static_cast< int >(val2
);
19296 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19297 (arg1
)->SetFlags(arg2
);
19298 wxPyEndAllowThreads(__tstate
);
19299 if (PyErr_Occurred()) SWIG_fail
;
19301 resultobj
= SWIG_Py_Void();
19308 SWIGINTERN PyObject
*_wrap_FindDialogEvent_SetFindString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19309 PyObject
*resultobj
= 0;
19310 wxFindDialogEvent
*arg1
= (wxFindDialogEvent
*) 0 ;
19311 wxString
*arg2
= 0 ;
19314 bool temp2
= false ;
19315 PyObject
* obj0
= 0 ;
19316 PyObject
* obj1
= 0 ;
19317 char * kwnames
[] = {
19318 (char *) "self",(char *) "str", NULL
19321 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FindDialogEvent_SetFindString",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19322 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFindDialogEvent
, 0 | 0 );
19323 if (!SWIG_IsOK(res1
)) {
19324 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FindDialogEvent_SetFindString" "', expected argument " "1"" of type '" "wxFindDialogEvent *""'");
19326 arg1
= reinterpret_cast< wxFindDialogEvent
* >(argp1
);
19328 arg2
= wxString_in_helper(obj1
);
19329 if (arg2
== NULL
) SWIG_fail
;
19333 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19334 (arg1
)->SetFindString((wxString
const &)*arg2
);
19335 wxPyEndAllowThreads(__tstate
);
19336 if (PyErr_Occurred()) SWIG_fail
;
19338 resultobj
= SWIG_Py_Void();
19353 SWIGINTERN PyObject
*_wrap_FindDialogEvent_SetReplaceString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19354 PyObject
*resultobj
= 0;
19355 wxFindDialogEvent
*arg1
= (wxFindDialogEvent
*) 0 ;
19356 wxString
*arg2
= 0 ;
19359 bool temp2
= false ;
19360 PyObject
* obj0
= 0 ;
19361 PyObject
* obj1
= 0 ;
19362 char * kwnames
[] = {
19363 (char *) "self",(char *) "str", NULL
19366 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FindDialogEvent_SetReplaceString",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19367 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFindDialogEvent
, 0 | 0 );
19368 if (!SWIG_IsOK(res1
)) {
19369 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FindDialogEvent_SetReplaceString" "', expected argument " "1"" of type '" "wxFindDialogEvent *""'");
19371 arg1
= reinterpret_cast< wxFindDialogEvent
* >(argp1
);
19373 arg2
= wxString_in_helper(obj1
);
19374 if (arg2
== NULL
) SWIG_fail
;
19378 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19379 (arg1
)->SetReplaceString((wxString
const &)*arg2
);
19380 wxPyEndAllowThreads(__tstate
);
19381 if (PyErr_Occurred()) SWIG_fail
;
19383 resultobj
= SWIG_Py_Void();
19398 SWIGINTERN PyObject
*FindDialogEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19400 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
19401 SWIG_TypeNewClientData(SWIGTYPE_p_wxFindDialogEvent
, SWIG_NewClientData(obj
));
19402 return SWIG_Py_Void();
19405 SWIGINTERN PyObject
*FindDialogEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19406 return SWIG_Python_InitShadowInstance(args
);
19409 SWIGINTERN PyObject
*_wrap_new_FindReplaceData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19410 PyObject
*resultobj
= 0;
19411 int arg1
= (int) 0 ;
19412 wxFindReplaceData
*result
= 0 ;
19415 PyObject
* obj0
= 0 ;
19416 char * kwnames
[] = {
19417 (char *) "flags", NULL
19420 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_FindReplaceData",kwnames
,&obj0
)) SWIG_fail
;
19422 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
19423 if (!SWIG_IsOK(ecode1
)) {
19424 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_FindReplaceData" "', expected argument " "1"" of type '" "int""'");
19426 arg1
= static_cast< int >(val1
);
19429 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19430 result
= (wxFindReplaceData
*)new wxFindReplaceData(arg1
);
19431 wxPyEndAllowThreads(__tstate
);
19432 if (PyErr_Occurred()) SWIG_fail
;
19434 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFindReplaceData
, SWIG_POINTER_NEW
| 0 );
19441 SWIGINTERN PyObject
*_wrap_delete_FindReplaceData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19442 PyObject
*resultobj
= 0;
19443 wxFindReplaceData
*arg1
= (wxFindReplaceData
*) 0 ;
19446 PyObject
*swig_obj
[1] ;
19448 if (!args
) SWIG_fail
;
19449 swig_obj
[0] = args
;
19450 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFindReplaceData
, SWIG_POINTER_DISOWN
| 0 );
19451 if (!SWIG_IsOK(res1
)) {
19452 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_FindReplaceData" "', expected argument " "1"" of type '" "wxFindReplaceData *""'");
19454 arg1
= reinterpret_cast< wxFindReplaceData
* >(argp1
);
19456 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19459 wxPyEndAllowThreads(__tstate
);
19460 if (PyErr_Occurred()) SWIG_fail
;
19462 resultobj
= SWIG_Py_Void();
19469 SWIGINTERN PyObject
*_wrap_FindReplaceData_GetFindString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19470 PyObject
*resultobj
= 0;
19471 wxFindReplaceData
*arg1
= (wxFindReplaceData
*) 0 ;
19472 wxString
*result
= 0 ;
19475 PyObject
*swig_obj
[1] ;
19477 if (!args
) SWIG_fail
;
19478 swig_obj
[0] = args
;
19479 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFindReplaceData
, 0 | 0 );
19480 if (!SWIG_IsOK(res1
)) {
19481 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FindReplaceData_GetFindString" "', expected argument " "1"" of type '" "wxFindReplaceData *""'");
19483 arg1
= reinterpret_cast< wxFindReplaceData
* >(argp1
);
19485 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19487 wxString
const &_result_ref
= (arg1
)->GetFindString();
19488 result
= (wxString
*) &_result_ref
;
19490 wxPyEndAllowThreads(__tstate
);
19491 if (PyErr_Occurred()) SWIG_fail
;
19495 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
19497 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
19506 SWIGINTERN PyObject
*_wrap_FindReplaceData_GetReplaceString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19507 PyObject
*resultobj
= 0;
19508 wxFindReplaceData
*arg1
= (wxFindReplaceData
*) 0 ;
19509 wxString
*result
= 0 ;
19512 PyObject
*swig_obj
[1] ;
19514 if (!args
) SWIG_fail
;
19515 swig_obj
[0] = args
;
19516 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFindReplaceData
, 0 | 0 );
19517 if (!SWIG_IsOK(res1
)) {
19518 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FindReplaceData_GetReplaceString" "', expected argument " "1"" of type '" "wxFindReplaceData *""'");
19520 arg1
= reinterpret_cast< wxFindReplaceData
* >(argp1
);
19522 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19524 wxString
const &_result_ref
= (arg1
)->GetReplaceString();
19525 result
= (wxString
*) &_result_ref
;
19527 wxPyEndAllowThreads(__tstate
);
19528 if (PyErr_Occurred()) SWIG_fail
;
19532 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
19534 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
19543 SWIGINTERN PyObject
*_wrap_FindReplaceData_GetFlags(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19544 PyObject
*resultobj
= 0;
19545 wxFindReplaceData
*arg1
= (wxFindReplaceData
*) 0 ;
19549 PyObject
*swig_obj
[1] ;
19551 if (!args
) SWIG_fail
;
19552 swig_obj
[0] = args
;
19553 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFindReplaceData
, 0 | 0 );
19554 if (!SWIG_IsOK(res1
)) {
19555 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FindReplaceData_GetFlags" "', expected argument " "1"" of type '" "wxFindReplaceData *""'");
19557 arg1
= reinterpret_cast< wxFindReplaceData
* >(argp1
);
19559 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19560 result
= (int)(arg1
)->GetFlags();
19561 wxPyEndAllowThreads(__tstate
);
19562 if (PyErr_Occurred()) SWIG_fail
;
19564 resultobj
= SWIG_From_int(static_cast< int >(result
));
19571 SWIGINTERN PyObject
*_wrap_FindReplaceData_SetFlags(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19572 PyObject
*resultobj
= 0;
19573 wxFindReplaceData
*arg1
= (wxFindReplaceData
*) 0 ;
19579 PyObject
* obj0
= 0 ;
19580 PyObject
* obj1
= 0 ;
19581 char * kwnames
[] = {
19582 (char *) "self",(char *) "flags", NULL
19585 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FindReplaceData_SetFlags",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19586 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFindReplaceData
, 0 | 0 );
19587 if (!SWIG_IsOK(res1
)) {
19588 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FindReplaceData_SetFlags" "', expected argument " "1"" of type '" "wxFindReplaceData *""'");
19590 arg1
= reinterpret_cast< wxFindReplaceData
* >(argp1
);
19591 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
19592 if (!SWIG_IsOK(ecode2
)) {
19593 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "FindReplaceData_SetFlags" "', expected argument " "2"" of type '" "int""'");
19595 arg2
= static_cast< int >(val2
);
19597 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19598 (arg1
)->SetFlags(arg2
);
19599 wxPyEndAllowThreads(__tstate
);
19600 if (PyErr_Occurred()) SWIG_fail
;
19602 resultobj
= SWIG_Py_Void();
19609 SWIGINTERN PyObject
*_wrap_FindReplaceData_SetFindString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19610 PyObject
*resultobj
= 0;
19611 wxFindReplaceData
*arg1
= (wxFindReplaceData
*) 0 ;
19612 wxString
*arg2
= 0 ;
19615 bool temp2
= false ;
19616 PyObject
* obj0
= 0 ;
19617 PyObject
* obj1
= 0 ;
19618 char * kwnames
[] = {
19619 (char *) "self",(char *) "str", NULL
19622 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FindReplaceData_SetFindString",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19623 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFindReplaceData
, 0 | 0 );
19624 if (!SWIG_IsOK(res1
)) {
19625 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FindReplaceData_SetFindString" "', expected argument " "1"" of type '" "wxFindReplaceData *""'");
19627 arg1
= reinterpret_cast< wxFindReplaceData
* >(argp1
);
19629 arg2
= wxString_in_helper(obj1
);
19630 if (arg2
== NULL
) SWIG_fail
;
19634 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19635 (arg1
)->SetFindString((wxString
const &)*arg2
);
19636 wxPyEndAllowThreads(__tstate
);
19637 if (PyErr_Occurred()) SWIG_fail
;
19639 resultobj
= SWIG_Py_Void();
19654 SWIGINTERN PyObject
*_wrap_FindReplaceData_SetReplaceString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19655 PyObject
*resultobj
= 0;
19656 wxFindReplaceData
*arg1
= (wxFindReplaceData
*) 0 ;
19657 wxString
*arg2
= 0 ;
19660 bool temp2
= false ;
19661 PyObject
* obj0
= 0 ;
19662 PyObject
* obj1
= 0 ;
19663 char * kwnames
[] = {
19664 (char *) "self",(char *) "str", NULL
19667 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FindReplaceData_SetReplaceString",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19668 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFindReplaceData
, 0 | 0 );
19669 if (!SWIG_IsOK(res1
)) {
19670 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FindReplaceData_SetReplaceString" "', expected argument " "1"" of type '" "wxFindReplaceData *""'");
19672 arg1
= reinterpret_cast< wxFindReplaceData
* >(argp1
);
19674 arg2
= wxString_in_helper(obj1
);
19675 if (arg2
== NULL
) SWIG_fail
;
19679 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19680 (arg1
)->SetReplaceString((wxString
const &)*arg2
);
19681 wxPyEndAllowThreads(__tstate
);
19682 if (PyErr_Occurred()) SWIG_fail
;
19684 resultobj
= SWIG_Py_Void();
19699 SWIGINTERN PyObject
*FindReplaceData_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19701 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
19702 SWIG_TypeNewClientData(SWIGTYPE_p_wxFindReplaceData
, SWIG_NewClientData(obj
));
19703 return SWIG_Py_Void();
19706 SWIGINTERN PyObject
*FindReplaceData_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19707 return SWIG_Python_InitShadowInstance(args
);
19710 SWIGINTERN PyObject
*_wrap_new_FindReplaceDialog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19711 PyObject
*resultobj
= 0;
19712 wxWindow
*arg1
= (wxWindow
*) 0 ;
19713 wxFindReplaceData
*arg2
= (wxFindReplaceData
*) 0 ;
19714 wxString
*arg3
= 0 ;
19715 int arg4
= (int) 0 ;
19716 wxFindReplaceDialog
*result
= 0 ;
19721 bool temp3
= false ;
19724 PyObject
* obj0
= 0 ;
19725 PyObject
* obj1
= 0 ;
19726 PyObject
* obj2
= 0 ;
19727 PyObject
* obj3
= 0 ;
19728 char * kwnames
[] = {
19729 (char *) "parent",(char *) "data",(char *) "title",(char *) "style", NULL
19732 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:new_FindReplaceDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
19733 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
19734 if (!SWIG_IsOK(res1
)) {
19735 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_FindReplaceDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
19737 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
19738 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxFindReplaceData
, 0 | 0 );
19739 if (!SWIG_IsOK(res2
)) {
19740 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_FindReplaceDialog" "', expected argument " "2"" of type '" "wxFindReplaceData *""'");
19742 arg2
= reinterpret_cast< wxFindReplaceData
* >(argp2
);
19744 arg3
= wxString_in_helper(obj2
);
19745 if (arg3
== NULL
) SWIG_fail
;
19749 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
19750 if (!SWIG_IsOK(ecode4
)) {
19751 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_FindReplaceDialog" "', expected argument " "4"" of type '" "int""'");
19753 arg4
= static_cast< int >(val4
);
19756 if (!wxPyCheckForApp()) SWIG_fail
;
19757 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19758 result
= (wxFindReplaceDialog
*)new wxFindReplaceDialog(arg1
,arg2
,(wxString
const &)*arg3
,arg4
);
19759 wxPyEndAllowThreads(__tstate
);
19760 if (PyErr_Occurred()) SWIG_fail
;
19762 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFindReplaceDialog
, SWIG_POINTER_NEW
| 0 );
19777 SWIGINTERN PyObject
*_wrap_new_PreFindReplaceDialog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19778 PyObject
*resultobj
= 0;
19779 wxFindReplaceDialog
*result
= 0 ;
19781 if (!SWIG_Python_UnpackTuple(args
,"new_PreFindReplaceDialog",0,0,0)) SWIG_fail
;
19783 if (!wxPyCheckForApp()) SWIG_fail
;
19784 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19785 result
= (wxFindReplaceDialog
*)new wxFindReplaceDialog();
19786 wxPyEndAllowThreads(__tstate
);
19787 if (PyErr_Occurred()) SWIG_fail
;
19789 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFindReplaceDialog
, SWIG_POINTER_OWN
| 0 );
19796 SWIGINTERN PyObject
*_wrap_FindReplaceDialog_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19797 PyObject
*resultobj
= 0;
19798 wxFindReplaceDialog
*arg1
= (wxFindReplaceDialog
*) 0 ;
19799 wxWindow
*arg2
= (wxWindow
*) 0 ;
19800 wxFindReplaceData
*arg3
= (wxFindReplaceData
*) 0 ;
19801 wxString
*arg4
= 0 ;
19802 int arg5
= (int) 0 ;
19810 bool temp4
= false ;
19813 PyObject
* obj0
= 0 ;
19814 PyObject
* obj1
= 0 ;
19815 PyObject
* obj2
= 0 ;
19816 PyObject
* obj3
= 0 ;
19817 PyObject
* obj4
= 0 ;
19818 char * kwnames
[] = {
19819 (char *) "self",(char *) "parent",(char *) "data",(char *) "title",(char *) "style", NULL
19822 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:FindReplaceDialog_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
19823 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFindReplaceDialog
, 0 | 0 );
19824 if (!SWIG_IsOK(res1
)) {
19825 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FindReplaceDialog_Create" "', expected argument " "1"" of type '" "wxFindReplaceDialog *""'");
19827 arg1
= reinterpret_cast< wxFindReplaceDialog
* >(argp1
);
19828 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
19829 if (!SWIG_IsOK(res2
)) {
19830 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "FindReplaceDialog_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
19832 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
19833 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxFindReplaceData
, 0 | 0 );
19834 if (!SWIG_IsOK(res3
)) {
19835 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "FindReplaceDialog_Create" "', expected argument " "3"" of type '" "wxFindReplaceData *""'");
19837 arg3
= reinterpret_cast< wxFindReplaceData
* >(argp3
);
19839 arg4
= wxString_in_helper(obj3
);
19840 if (arg4
== NULL
) SWIG_fail
;
19844 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
19845 if (!SWIG_IsOK(ecode5
)) {
19846 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "FindReplaceDialog_Create" "', expected argument " "5"" of type '" "int""'");
19848 arg5
= static_cast< int >(val5
);
19851 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19852 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,arg5
);
19853 wxPyEndAllowThreads(__tstate
);
19854 if (PyErr_Occurred()) SWIG_fail
;
19857 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19873 SWIGINTERN PyObject
*_wrap_FindReplaceDialog_GetData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19874 PyObject
*resultobj
= 0;
19875 wxFindReplaceDialog
*arg1
= (wxFindReplaceDialog
*) 0 ;
19876 wxFindReplaceData
*result
= 0 ;
19879 PyObject
*swig_obj
[1] ;
19881 if (!args
) SWIG_fail
;
19882 swig_obj
[0] = args
;
19883 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFindReplaceDialog
, 0 | 0 );
19884 if (!SWIG_IsOK(res1
)) {
19885 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FindReplaceDialog_GetData" "', expected argument " "1"" of type '" "wxFindReplaceDialog *""'");
19887 arg1
= reinterpret_cast< wxFindReplaceDialog
* >(argp1
);
19889 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19890 result
= (wxFindReplaceData
*)(arg1
)->GetData();
19891 wxPyEndAllowThreads(__tstate
);
19892 if (PyErr_Occurred()) SWIG_fail
;
19894 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFindReplaceData
, 0 | 0 );
19901 SWIGINTERN PyObject
*_wrap_FindReplaceDialog_SetData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19902 PyObject
*resultobj
= 0;
19903 wxFindReplaceDialog
*arg1
= (wxFindReplaceDialog
*) 0 ;
19904 wxFindReplaceData
*arg2
= (wxFindReplaceData
*) 0 ;
19909 PyObject
* obj0
= 0 ;
19910 PyObject
* obj1
= 0 ;
19911 char * kwnames
[] = {
19912 (char *) "self",(char *) "data", NULL
19915 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FindReplaceDialog_SetData",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19916 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFindReplaceDialog
, 0 | 0 );
19917 if (!SWIG_IsOK(res1
)) {
19918 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FindReplaceDialog_SetData" "', expected argument " "1"" of type '" "wxFindReplaceDialog *""'");
19920 arg1
= reinterpret_cast< wxFindReplaceDialog
* >(argp1
);
19921 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxFindReplaceData
, 0 | 0 );
19922 if (!SWIG_IsOK(res2
)) {
19923 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "FindReplaceDialog_SetData" "', expected argument " "2"" of type '" "wxFindReplaceData *""'");
19925 arg2
= reinterpret_cast< wxFindReplaceData
* >(argp2
);
19927 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19928 (arg1
)->SetData(arg2
);
19929 wxPyEndAllowThreads(__tstate
);
19930 if (PyErr_Occurred()) SWIG_fail
;
19932 resultobj
= SWIG_Py_Void();
19939 SWIGINTERN PyObject
*FindReplaceDialog_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19941 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
19942 SWIG_TypeNewClientData(SWIGTYPE_p_wxFindReplaceDialog
, SWIG_NewClientData(obj
));
19943 return SWIG_Py_Void();
19946 SWIGINTERN PyObject
*FindReplaceDialog_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19947 return SWIG_Python_InitShadowInstance(args
);
19950 SWIGINTERN PyObject
*_wrap_new_MDIParentFrame(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19951 PyObject
*resultobj
= 0;
19952 wxWindow
*arg1
= (wxWindow
*) 0 ;
19953 int arg2
= (int) (int)-1 ;
19954 wxString
const &arg3_defvalue
= wxPyEmptyString
;
19955 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
19956 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
19957 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
19958 wxSize
const &arg5_defvalue
= wxDefaultSize
;
19959 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
19960 long arg6
= (long) wxDEFAULT_FRAME_STYLE
|wxVSCROLL
|wxHSCROLL
;
19961 wxString
const &arg7_defvalue
= wxPyFrameNameStr
;
19962 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
19963 wxMDIParentFrame
*result
= 0 ;
19968 bool temp3
= false ;
19973 bool temp7
= false ;
19974 PyObject
* obj0
= 0 ;
19975 PyObject
* obj1
= 0 ;
19976 PyObject
* obj2
= 0 ;
19977 PyObject
* obj3
= 0 ;
19978 PyObject
* obj4
= 0 ;
19979 PyObject
* obj5
= 0 ;
19980 PyObject
* obj6
= 0 ;
19981 char * kwnames
[] = {
19982 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
19985 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_MDIParentFrame",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
19986 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
19987 if (!SWIG_IsOK(res1
)) {
19988 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_MDIParentFrame" "', expected argument " "1"" of type '" "wxWindow *""'");
19990 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
19992 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
19993 if (!SWIG_IsOK(ecode2
)) {
19994 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_MDIParentFrame" "', expected argument " "2"" of type '" "int""'");
19996 arg2
= static_cast< int >(val2
);
20000 arg3
= wxString_in_helper(obj2
);
20001 if (arg3
== NULL
) SWIG_fail
;
20008 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
20014 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
20018 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
20019 if (!SWIG_IsOK(ecode6
)) {
20020 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_MDIParentFrame" "', expected argument " "6"" of type '" "long""'");
20022 arg6
= static_cast< long >(val6
);
20026 arg7
= wxString_in_helper(obj6
);
20027 if (arg7
== NULL
) SWIG_fail
;
20032 if (!wxPyCheckForApp()) SWIG_fail
;
20033 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20034 result
= (wxMDIParentFrame
*)new wxMDIParentFrame(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
20035 wxPyEndAllowThreads(__tstate
);
20036 if (PyErr_Occurred()) SWIG_fail
;
20038 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMDIParentFrame
, SWIG_POINTER_NEW
| 0 );
20061 SWIGINTERN PyObject
*_wrap_new_PreMDIParentFrame(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20062 PyObject
*resultobj
= 0;
20063 wxMDIParentFrame
*result
= 0 ;
20065 if (!SWIG_Python_UnpackTuple(args
,"new_PreMDIParentFrame",0,0,0)) SWIG_fail
;
20067 if (!wxPyCheckForApp()) SWIG_fail
;
20068 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20069 result
= (wxMDIParentFrame
*)new wxMDIParentFrame();
20070 wxPyEndAllowThreads(__tstate
);
20071 if (PyErr_Occurred()) SWIG_fail
;
20073 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMDIParentFrame
, SWIG_POINTER_OWN
| 0 );
20080 SWIGINTERN PyObject
*_wrap_MDIParentFrame_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20081 PyObject
*resultobj
= 0;
20082 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
20083 wxWindow
*arg2
= (wxWindow
*) 0 ;
20084 int arg3
= (int) (int)-1 ;
20085 wxString
const &arg4_defvalue
= wxPyEmptyString
;
20086 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
20087 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
20088 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
20089 wxSize
const &arg6_defvalue
= wxDefaultSize
;
20090 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
20091 long arg7
= (long) wxDEFAULT_FRAME_STYLE
|wxVSCROLL
|wxHSCROLL
;
20092 wxString
const &arg8_defvalue
= wxPyFrameNameStr
;
20093 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
20101 bool temp4
= false ;
20106 bool temp8
= false ;
20107 PyObject
* obj0
= 0 ;
20108 PyObject
* obj1
= 0 ;
20109 PyObject
* obj2
= 0 ;
20110 PyObject
* obj3
= 0 ;
20111 PyObject
* obj4
= 0 ;
20112 PyObject
* obj5
= 0 ;
20113 PyObject
* obj6
= 0 ;
20114 PyObject
* obj7
= 0 ;
20115 char * kwnames
[] = {
20116 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
20119 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:MDIParentFrame_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
20120 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMDIParentFrame
, 0 | 0 );
20121 if (!SWIG_IsOK(res1
)) {
20122 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MDIParentFrame_Create" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
20124 arg1
= reinterpret_cast< wxMDIParentFrame
* >(argp1
);
20125 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
20126 if (!SWIG_IsOK(res2
)) {
20127 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "MDIParentFrame_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
20129 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
20131 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
20132 if (!SWIG_IsOK(ecode3
)) {
20133 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "MDIParentFrame_Create" "', expected argument " "3"" of type '" "int""'");
20135 arg3
= static_cast< int >(val3
);
20139 arg4
= wxString_in_helper(obj3
);
20140 if (arg4
== NULL
) SWIG_fail
;
20147 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
20153 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
20157 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
20158 if (!SWIG_IsOK(ecode7
)) {
20159 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "MDIParentFrame_Create" "', expected argument " "7"" of type '" "long""'");
20161 arg7
= static_cast< long >(val7
);
20165 arg8
= wxString_in_helper(obj7
);
20166 if (arg8
== NULL
) SWIG_fail
;
20171 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20172 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
20173 wxPyEndAllowThreads(__tstate
);
20174 if (PyErr_Occurred()) SWIG_fail
;
20177 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20201 SWIGINTERN PyObject
*_wrap_MDIParentFrame_ActivateNext(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20202 PyObject
*resultobj
= 0;
20203 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
20206 PyObject
*swig_obj
[1] ;
20208 if (!args
) SWIG_fail
;
20209 swig_obj
[0] = args
;
20210 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMDIParentFrame
, 0 | 0 );
20211 if (!SWIG_IsOK(res1
)) {
20212 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MDIParentFrame_ActivateNext" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
20214 arg1
= reinterpret_cast< wxMDIParentFrame
* >(argp1
);
20216 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20217 (arg1
)->ActivateNext();
20218 wxPyEndAllowThreads(__tstate
);
20219 if (PyErr_Occurred()) SWIG_fail
;
20221 resultobj
= SWIG_Py_Void();
20228 SWIGINTERN PyObject
*_wrap_MDIParentFrame_ActivatePrevious(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20229 PyObject
*resultobj
= 0;
20230 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
20233 PyObject
*swig_obj
[1] ;
20235 if (!args
) SWIG_fail
;
20236 swig_obj
[0] = args
;
20237 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMDIParentFrame
, 0 | 0 );
20238 if (!SWIG_IsOK(res1
)) {
20239 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MDIParentFrame_ActivatePrevious" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
20241 arg1
= reinterpret_cast< wxMDIParentFrame
* >(argp1
);
20243 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20244 (arg1
)->ActivatePrevious();
20245 wxPyEndAllowThreads(__tstate
);
20246 if (PyErr_Occurred()) SWIG_fail
;
20248 resultobj
= SWIG_Py_Void();
20255 SWIGINTERN PyObject
*_wrap_MDIParentFrame_ArrangeIcons(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20256 PyObject
*resultobj
= 0;
20257 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
20260 PyObject
*swig_obj
[1] ;
20262 if (!args
) SWIG_fail
;
20263 swig_obj
[0] = args
;
20264 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMDIParentFrame
, 0 | 0 );
20265 if (!SWIG_IsOK(res1
)) {
20266 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MDIParentFrame_ArrangeIcons" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
20268 arg1
= reinterpret_cast< wxMDIParentFrame
* >(argp1
);
20270 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20271 (arg1
)->ArrangeIcons();
20272 wxPyEndAllowThreads(__tstate
);
20273 if (PyErr_Occurred()) SWIG_fail
;
20275 resultobj
= SWIG_Py_Void();
20282 SWIGINTERN PyObject
*_wrap_MDIParentFrame_Cascade(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20283 PyObject
*resultobj
= 0;
20284 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
20287 PyObject
*swig_obj
[1] ;
20289 if (!args
) SWIG_fail
;
20290 swig_obj
[0] = args
;
20291 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMDIParentFrame
, 0 | 0 );
20292 if (!SWIG_IsOK(res1
)) {
20293 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MDIParentFrame_Cascade" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
20295 arg1
= reinterpret_cast< wxMDIParentFrame
* >(argp1
);
20297 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20299 wxPyEndAllowThreads(__tstate
);
20300 if (PyErr_Occurred()) SWIG_fail
;
20302 resultobj
= SWIG_Py_Void();
20309 SWIGINTERN PyObject
*_wrap_MDIParentFrame_GetActiveChild(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20310 PyObject
*resultobj
= 0;
20311 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
20312 wxMDIChildFrame
*result
= 0 ;
20315 PyObject
*swig_obj
[1] ;
20317 if (!args
) SWIG_fail
;
20318 swig_obj
[0] = args
;
20319 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMDIParentFrame
, 0 | 0 );
20320 if (!SWIG_IsOK(res1
)) {
20321 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MDIParentFrame_GetActiveChild" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
20323 arg1
= reinterpret_cast< wxMDIParentFrame
* >(argp1
);
20325 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20326 result
= (wxMDIChildFrame
*)(arg1
)->GetActiveChild();
20327 wxPyEndAllowThreads(__tstate
);
20328 if (PyErr_Occurred()) SWIG_fail
;
20331 resultobj
= wxPyMake_wxObject(result
, (bool)0);
20339 SWIGINTERN PyObject
*_wrap_MDIParentFrame_GetClientWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20340 PyObject
*resultobj
= 0;
20341 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
20342 wxMDIClientWindow
*result
= 0 ;
20345 PyObject
*swig_obj
[1] ;
20347 if (!args
) SWIG_fail
;
20348 swig_obj
[0] = args
;
20349 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMDIParentFrame
, 0 | 0 );
20350 if (!SWIG_IsOK(res1
)) {
20351 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MDIParentFrame_GetClientWindow" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
20353 arg1
= reinterpret_cast< wxMDIParentFrame
* >(argp1
);
20355 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20356 result
= (wxMDIClientWindow
*)(arg1
)->GetClientWindow();
20357 wxPyEndAllowThreads(__tstate
);
20358 if (PyErr_Occurred()) SWIG_fail
;
20361 resultobj
= wxPyMake_wxObject(result
, (bool)0);
20369 SWIGINTERN PyObject
*_wrap_MDIParentFrame_GetToolBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20370 PyObject
*resultobj
= 0;
20371 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
20372 wxWindow
*result
= 0 ;
20375 PyObject
*swig_obj
[1] ;
20377 if (!args
) SWIG_fail
;
20378 swig_obj
[0] = args
;
20379 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMDIParentFrame
, 0 | 0 );
20380 if (!SWIG_IsOK(res1
)) {
20381 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MDIParentFrame_GetToolBar" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
20383 arg1
= reinterpret_cast< wxMDIParentFrame
* >(argp1
);
20385 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20386 result
= (wxWindow
*)(arg1
)->GetToolBar();
20387 wxPyEndAllowThreads(__tstate
);
20388 if (PyErr_Occurred()) SWIG_fail
;
20391 resultobj
= wxPyMake_wxObject(result
, 0);
20399 SWIGINTERN PyObject
*_wrap_MDIParentFrame_Tile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20400 PyObject
*resultobj
= 0;
20401 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
20402 wxOrientation arg2
= (wxOrientation
) wxHORIZONTAL
;
20407 PyObject
* obj0
= 0 ;
20408 PyObject
* obj1
= 0 ;
20409 char * kwnames
[] = {
20410 (char *) "self",(char *) "orient", NULL
20413 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:MDIParentFrame_Tile",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20414 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMDIParentFrame
, 0 | 0 );
20415 if (!SWIG_IsOK(res1
)) {
20416 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MDIParentFrame_Tile" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
20418 arg1
= reinterpret_cast< wxMDIParentFrame
* >(argp1
);
20420 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
20421 if (!SWIG_IsOK(ecode2
)) {
20422 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "MDIParentFrame_Tile" "', expected argument " "2"" of type '" "wxOrientation""'");
20424 arg2
= static_cast< wxOrientation
>(val2
);
20427 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20428 (arg1
)->Tile(arg2
);
20429 wxPyEndAllowThreads(__tstate
);
20430 if (PyErr_Occurred()) SWIG_fail
;
20432 resultobj
= SWIG_Py_Void();
20439 SWIGINTERN PyObject
*MDIParentFrame_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20441 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
20442 SWIG_TypeNewClientData(SWIGTYPE_p_wxMDIParentFrame
, SWIG_NewClientData(obj
));
20443 return SWIG_Py_Void();
20446 SWIGINTERN PyObject
*MDIParentFrame_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20447 return SWIG_Python_InitShadowInstance(args
);
20450 SWIGINTERN PyObject
*_wrap_new_MDIChildFrame(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20451 PyObject
*resultobj
= 0;
20452 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
20453 int arg2
= (int) (int)-1 ;
20454 wxString
const &arg3_defvalue
= wxPyEmptyString
;
20455 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
20456 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
20457 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
20458 wxSize
const &arg5_defvalue
= wxDefaultSize
;
20459 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
20460 long arg6
= (long) wxDEFAULT_FRAME_STYLE
;
20461 wxString
const &arg7_defvalue
= wxPyFrameNameStr
;
20462 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
20463 wxMDIChildFrame
*result
= 0 ;
20468 bool temp3
= false ;
20473 bool temp7
= false ;
20474 PyObject
* obj0
= 0 ;
20475 PyObject
* obj1
= 0 ;
20476 PyObject
* obj2
= 0 ;
20477 PyObject
* obj3
= 0 ;
20478 PyObject
* obj4
= 0 ;
20479 PyObject
* obj5
= 0 ;
20480 PyObject
* obj6
= 0 ;
20481 char * kwnames
[] = {
20482 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
20485 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_MDIChildFrame",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
20486 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMDIParentFrame
, 0 | 0 );
20487 if (!SWIG_IsOK(res1
)) {
20488 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_MDIChildFrame" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
20490 arg1
= reinterpret_cast< wxMDIParentFrame
* >(argp1
);
20492 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
20493 if (!SWIG_IsOK(ecode2
)) {
20494 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_MDIChildFrame" "', expected argument " "2"" of type '" "int""'");
20496 arg2
= static_cast< int >(val2
);
20500 arg3
= wxString_in_helper(obj2
);
20501 if (arg3
== NULL
) SWIG_fail
;
20508 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
20514 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
20518 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
20519 if (!SWIG_IsOK(ecode6
)) {
20520 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_MDIChildFrame" "', expected argument " "6"" of type '" "long""'");
20522 arg6
= static_cast< long >(val6
);
20526 arg7
= wxString_in_helper(obj6
);
20527 if (arg7
== NULL
) SWIG_fail
;
20532 if (!wxPyCheckForApp()) SWIG_fail
;
20533 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20534 result
= (wxMDIChildFrame
*)new wxMDIChildFrame(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
20535 wxPyEndAllowThreads(__tstate
);
20536 if (PyErr_Occurred()) SWIG_fail
;
20538 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMDIChildFrame
, SWIG_POINTER_NEW
| 0 );
20561 SWIGINTERN PyObject
*_wrap_new_PreMDIChildFrame(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20562 PyObject
*resultobj
= 0;
20563 wxMDIChildFrame
*result
= 0 ;
20565 if (!SWIG_Python_UnpackTuple(args
,"new_PreMDIChildFrame",0,0,0)) SWIG_fail
;
20567 if (!wxPyCheckForApp()) SWIG_fail
;
20568 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20569 result
= (wxMDIChildFrame
*)new wxMDIChildFrame();
20570 wxPyEndAllowThreads(__tstate
);
20571 if (PyErr_Occurred()) SWIG_fail
;
20573 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMDIChildFrame
, SWIG_POINTER_OWN
| 0 );
20580 SWIGINTERN PyObject
*_wrap_MDIChildFrame_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20581 PyObject
*resultobj
= 0;
20582 wxMDIChildFrame
*arg1
= (wxMDIChildFrame
*) 0 ;
20583 wxMDIParentFrame
*arg2
= (wxMDIParentFrame
*) 0 ;
20584 int arg3
= (int) (int)-1 ;
20585 wxString
const &arg4_defvalue
= wxPyEmptyString
;
20586 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
20587 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
20588 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
20589 wxSize
const &arg6_defvalue
= wxDefaultSize
;
20590 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
20591 long arg7
= (long) wxDEFAULT_FRAME_STYLE
;
20592 wxString
const &arg8_defvalue
= wxPyFrameNameStr
;
20593 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
20601 bool temp4
= false ;
20606 bool temp8
= false ;
20607 PyObject
* obj0
= 0 ;
20608 PyObject
* obj1
= 0 ;
20609 PyObject
* obj2
= 0 ;
20610 PyObject
* obj3
= 0 ;
20611 PyObject
* obj4
= 0 ;
20612 PyObject
* obj5
= 0 ;
20613 PyObject
* obj6
= 0 ;
20614 PyObject
* obj7
= 0 ;
20615 char * kwnames
[] = {
20616 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
20619 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:MDIChildFrame_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
20620 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMDIChildFrame
, 0 | 0 );
20621 if (!SWIG_IsOK(res1
)) {
20622 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MDIChildFrame_Create" "', expected argument " "1"" of type '" "wxMDIChildFrame *""'");
20624 arg1
= reinterpret_cast< wxMDIChildFrame
* >(argp1
);
20625 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxMDIParentFrame
, 0 | 0 );
20626 if (!SWIG_IsOK(res2
)) {
20627 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "MDIChildFrame_Create" "', expected argument " "2"" of type '" "wxMDIParentFrame *""'");
20629 arg2
= reinterpret_cast< wxMDIParentFrame
* >(argp2
);
20631 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
20632 if (!SWIG_IsOK(ecode3
)) {
20633 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "MDIChildFrame_Create" "', expected argument " "3"" of type '" "int""'");
20635 arg3
= static_cast< int >(val3
);
20639 arg4
= wxString_in_helper(obj3
);
20640 if (arg4
== NULL
) SWIG_fail
;
20647 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
20653 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
20657 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
20658 if (!SWIG_IsOK(ecode7
)) {
20659 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "MDIChildFrame_Create" "', expected argument " "7"" of type '" "long""'");
20661 arg7
= static_cast< long >(val7
);
20665 arg8
= wxString_in_helper(obj7
);
20666 if (arg8
== NULL
) SWIG_fail
;
20671 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20672 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
20673 wxPyEndAllowThreads(__tstate
);
20674 if (PyErr_Occurred()) SWIG_fail
;
20677 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20701 SWIGINTERN PyObject
*_wrap_MDIChildFrame_Activate(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20702 PyObject
*resultobj
= 0;
20703 wxMDIChildFrame
*arg1
= (wxMDIChildFrame
*) 0 ;
20706 PyObject
*swig_obj
[1] ;
20708 if (!args
) SWIG_fail
;
20709 swig_obj
[0] = args
;
20710 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMDIChildFrame
, 0 | 0 );
20711 if (!SWIG_IsOK(res1
)) {
20712 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MDIChildFrame_Activate" "', expected argument " "1"" of type '" "wxMDIChildFrame *""'");
20714 arg1
= reinterpret_cast< wxMDIChildFrame
* >(argp1
);
20716 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20717 (arg1
)->Activate();
20718 wxPyEndAllowThreads(__tstate
);
20719 if (PyErr_Occurred()) SWIG_fail
;
20721 resultobj
= SWIG_Py_Void();
20728 SWIGINTERN PyObject
*MDIChildFrame_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20730 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
20731 SWIG_TypeNewClientData(SWIGTYPE_p_wxMDIChildFrame
, SWIG_NewClientData(obj
));
20732 return SWIG_Py_Void();
20735 SWIGINTERN PyObject
*MDIChildFrame_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20736 return SWIG_Python_InitShadowInstance(args
);
20739 SWIGINTERN PyObject
*_wrap_new_MDIClientWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20740 PyObject
*resultobj
= 0;
20741 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
20742 long arg2
= (long) 0 ;
20743 wxMDIClientWindow
*result
= 0 ;
20748 PyObject
* obj0
= 0 ;
20749 PyObject
* obj1
= 0 ;
20750 char * kwnames
[] = {
20751 (char *) "parent",(char *) "style", NULL
20754 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_MDIClientWindow",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20755 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMDIParentFrame
, 0 | 0 );
20756 if (!SWIG_IsOK(res1
)) {
20757 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_MDIClientWindow" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
20759 arg1
= reinterpret_cast< wxMDIParentFrame
* >(argp1
);
20761 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
20762 if (!SWIG_IsOK(ecode2
)) {
20763 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_MDIClientWindow" "', expected argument " "2"" of type '" "long""'");
20765 arg2
= static_cast< long >(val2
);
20768 if (!wxPyCheckForApp()) SWIG_fail
;
20769 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20770 result
= (wxMDIClientWindow
*)new wxMDIClientWindow(arg1
,arg2
);
20771 wxPyEndAllowThreads(__tstate
);
20772 if (PyErr_Occurred()) SWIG_fail
;
20774 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMDIClientWindow
, SWIG_POINTER_NEW
| 0 );
20781 SWIGINTERN PyObject
*_wrap_new_PreMDIClientWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20782 PyObject
*resultobj
= 0;
20783 wxMDIClientWindow
*result
= 0 ;
20785 if (!SWIG_Python_UnpackTuple(args
,"new_PreMDIClientWindow",0,0,0)) SWIG_fail
;
20787 if (!wxPyCheckForApp()) SWIG_fail
;
20788 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20789 result
= (wxMDIClientWindow
*)new wxMDIClientWindow();
20790 wxPyEndAllowThreads(__tstate
);
20791 if (PyErr_Occurred()) SWIG_fail
;
20793 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMDIClientWindow
, SWIG_POINTER_OWN
| 0 );
20800 SWIGINTERN PyObject
*_wrap_MDIClientWindow_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20801 PyObject
*resultobj
= 0;
20802 wxMDIClientWindow
*arg1
= (wxMDIClientWindow
*) 0 ;
20803 wxMDIParentFrame
*arg2
= (wxMDIParentFrame
*) 0 ;
20804 long arg3
= (long) 0 ;
20812 PyObject
* obj0
= 0 ;
20813 PyObject
* obj1
= 0 ;
20814 PyObject
* obj2
= 0 ;
20815 char * kwnames
[] = {
20816 (char *) "self",(char *) "parent",(char *) "style", NULL
20819 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:MDIClientWindow_Create",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
20820 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMDIClientWindow
, 0 | 0 );
20821 if (!SWIG_IsOK(res1
)) {
20822 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MDIClientWindow_Create" "', expected argument " "1"" of type '" "wxMDIClientWindow *""'");
20824 arg1
= reinterpret_cast< wxMDIClientWindow
* >(argp1
);
20825 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxMDIParentFrame
, 0 | 0 );
20826 if (!SWIG_IsOK(res2
)) {
20827 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "MDIClientWindow_Create" "', expected argument " "2"" of type '" "wxMDIParentFrame *""'");
20829 arg2
= reinterpret_cast< wxMDIParentFrame
* >(argp2
);
20831 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
20832 if (!SWIG_IsOK(ecode3
)) {
20833 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "MDIClientWindow_Create" "', expected argument " "3"" of type '" "long""'");
20835 arg3
= static_cast< long >(val3
);
20838 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20839 result
= (bool)(arg1
)->Create(arg2
,arg3
);
20840 wxPyEndAllowThreads(__tstate
);
20841 if (PyErr_Occurred()) SWIG_fail
;
20844 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20852 SWIGINTERN PyObject
*MDIClientWindow_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20854 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
20855 SWIG_TypeNewClientData(SWIGTYPE_p_wxMDIClientWindow
, SWIG_NewClientData(obj
));
20856 return SWIG_Py_Void();
20859 SWIGINTERN PyObject
*MDIClientWindow_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20860 return SWIG_Python_InitShadowInstance(args
);
20863 SWIGINTERN PyObject
*_wrap_new_PyWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20864 PyObject
*resultobj
= 0;
20865 wxWindow
*arg1
= (wxWindow
*) 0 ;
20866 int arg2
= (int) (int)-1 ;
20867 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
20868 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
20869 wxSize
const &arg4_defvalue
= wxDefaultSize
;
20870 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
20871 long arg5
= (long) 0 ;
20872 wxString
const &arg6_defvalue
= wxPyPanelNameStr
;
20873 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
20874 wxPyWindow
*result
= 0 ;
20883 bool temp6
= false ;
20884 PyObject
* obj0
= 0 ;
20885 PyObject
* obj1
= 0 ;
20886 PyObject
* obj2
= 0 ;
20887 PyObject
* obj3
= 0 ;
20888 PyObject
* obj4
= 0 ;
20889 PyObject
* obj5
= 0 ;
20890 char * kwnames
[] = {
20891 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
20894 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_PyWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
20895 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
20896 if (!SWIG_IsOK(res1
)) {
20897 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PyWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
20899 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
20901 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
20902 if (!SWIG_IsOK(ecode2
)) {
20903 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_PyWindow" "', expected argument " "2"" of type '" "int""'");
20905 arg2
= static_cast< int >(val2
);
20910 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
20916 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
20920 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
20921 if (!SWIG_IsOK(ecode5
)) {
20922 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_PyWindow" "', expected argument " "5"" of type '" "long""'");
20924 arg5
= static_cast< long >(val5
);
20928 arg6
= wxString_in_helper(obj5
);
20929 if (arg6
== NULL
) SWIG_fail
;
20934 if (!wxPyCheckForApp()) SWIG_fail
;
20935 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20936 result
= (wxPyWindow
*)new wxPyWindow(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
20937 wxPyEndAllowThreads(__tstate
);
20938 if (PyErr_Occurred()) SWIG_fail
;
20940 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyWindow
, SWIG_POINTER_NEW
| 0 );
20955 SWIGINTERN PyObject
*_wrap_new_PrePyWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20956 PyObject
*resultobj
= 0;
20957 wxPyWindow
*result
= 0 ;
20959 if (!SWIG_Python_UnpackTuple(args
,"new_PrePyWindow",0,0,0)) SWIG_fail
;
20961 if (!wxPyCheckForApp()) SWIG_fail
;
20962 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20963 result
= (wxPyWindow
*)new wxPyWindow();
20964 wxPyEndAllowThreads(__tstate
);
20965 if (PyErr_Occurred()) SWIG_fail
;
20967 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyWindow
, SWIG_POINTER_OWN
| 0 );
20974 SWIGINTERN PyObject
*_wrap_PyWindow__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20975 PyObject
*resultobj
= 0;
20976 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
20977 PyObject
*arg2
= (PyObject
*) 0 ;
20978 PyObject
*arg3
= (PyObject
*) 0 ;
20981 PyObject
* obj0
= 0 ;
20982 PyObject
* obj1
= 0 ;
20983 PyObject
* obj2
= 0 ;
20984 char * kwnames
[] = {
20985 (char *) "self",(char *) "self",(char *) "_class", NULL
20988 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyWindow__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
20989 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyWindow
, 0 | 0 );
20990 if (!SWIG_IsOK(res1
)) {
20991 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyWindow__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyWindow *""'");
20993 arg1
= reinterpret_cast< wxPyWindow
* >(argp1
);
20997 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20998 (arg1
)->_setCallbackInfo(arg2
,arg3
);
20999 wxPyEndAllowThreads(__tstate
);
21000 if (PyErr_Occurred()) SWIG_fail
;
21002 resultobj
= SWIG_Py_Void();
21009 SWIGINTERN PyObject
*_wrap_PyWindow_SetBestSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21010 PyObject
*resultobj
= 0;
21011 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
21016 PyObject
* obj0
= 0 ;
21017 PyObject
* obj1
= 0 ;
21018 char * kwnames
[] = {
21019 (char *) "self",(char *) "size", NULL
21022 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyWindow_SetBestSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21023 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyWindow
, 0 | 0 );
21024 if (!SWIG_IsOK(res1
)) {
21025 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyWindow_SetBestSize" "', expected argument " "1"" of type '" "wxPyWindow *""'");
21027 arg1
= reinterpret_cast< wxPyWindow
* >(argp1
);
21030 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
21033 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21034 (arg1
)->SetBestSize((wxSize
const &)*arg2
);
21035 wxPyEndAllowThreads(__tstate
);
21036 if (PyErr_Occurred()) SWIG_fail
;
21038 resultobj
= SWIG_Py_Void();
21045 SWIGINTERN PyObject
*_wrap_PyWindow_DoEraseBackground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21046 PyObject
*resultobj
= 0;
21047 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
21048 wxDC
*arg2
= (wxDC
*) 0 ;
21054 PyObject
* obj0
= 0 ;
21055 PyObject
* obj1
= 0 ;
21056 char * kwnames
[] = {
21057 (char *) "self",(char *) "dc", NULL
21060 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyWindow_DoEraseBackground",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21061 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyWindow
, 0 | 0 );
21062 if (!SWIG_IsOK(res1
)) {
21063 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyWindow_DoEraseBackground" "', expected argument " "1"" of type '" "wxPyWindow *""'");
21065 arg1
= reinterpret_cast< wxPyWindow
* >(argp1
);
21066 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxDC
, 0 | 0 );
21067 if (!SWIG_IsOK(res2
)) {
21068 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PyWindow_DoEraseBackground" "', expected argument " "2"" of type '" "wxDC *""'");
21070 arg2
= reinterpret_cast< wxDC
* >(argp2
);
21072 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21073 result
= (bool)(arg1
)->DoEraseBackground(arg2
);
21074 wxPyEndAllowThreads(__tstate
);
21075 if (PyErr_Occurred()) SWIG_fail
;
21078 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21086 SWIGINTERN PyObject
*_wrap_PyWindow_DoMoveWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21087 PyObject
*resultobj
= 0;
21088 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
21103 PyObject
* obj0
= 0 ;
21104 PyObject
* obj1
= 0 ;
21105 PyObject
* obj2
= 0 ;
21106 PyObject
* obj3
= 0 ;
21107 PyObject
* obj4
= 0 ;
21108 char * kwnames
[] = {
21109 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
21112 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:PyWindow_DoMoveWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
21113 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyWindow
, 0 | 0 );
21114 if (!SWIG_IsOK(res1
)) {
21115 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyWindow_DoMoveWindow" "', expected argument " "1"" of type '" "wxPyWindow *""'");
21117 arg1
= reinterpret_cast< wxPyWindow
* >(argp1
);
21118 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21119 if (!SWIG_IsOK(ecode2
)) {
21120 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PyWindow_DoMoveWindow" "', expected argument " "2"" of type '" "int""'");
21122 arg2
= static_cast< int >(val2
);
21123 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
21124 if (!SWIG_IsOK(ecode3
)) {
21125 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PyWindow_DoMoveWindow" "', expected argument " "3"" of type '" "int""'");
21127 arg3
= static_cast< int >(val3
);
21128 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
21129 if (!SWIG_IsOK(ecode4
)) {
21130 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PyWindow_DoMoveWindow" "', expected argument " "4"" of type '" "int""'");
21132 arg4
= static_cast< int >(val4
);
21133 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
21134 if (!SWIG_IsOK(ecode5
)) {
21135 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PyWindow_DoMoveWindow" "', expected argument " "5"" of type '" "int""'");
21137 arg5
= static_cast< int >(val5
);
21139 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21140 (arg1
)->DoMoveWindow(arg2
,arg3
,arg4
,arg5
);
21141 wxPyEndAllowThreads(__tstate
);
21142 if (PyErr_Occurred()) SWIG_fail
;
21144 resultobj
= SWIG_Py_Void();
21151 SWIGINTERN PyObject
*_wrap_PyWindow_DoSetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21152 PyObject
*resultobj
= 0;
21153 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
21158 int arg6
= (int) wxSIZE_AUTO
;
21171 PyObject
* obj0
= 0 ;
21172 PyObject
* obj1
= 0 ;
21173 PyObject
* obj2
= 0 ;
21174 PyObject
* obj3
= 0 ;
21175 PyObject
* obj4
= 0 ;
21176 PyObject
* obj5
= 0 ;
21177 char * kwnames
[] = {
21178 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
21181 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:PyWindow_DoSetSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
21182 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyWindow
, 0 | 0 );
21183 if (!SWIG_IsOK(res1
)) {
21184 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyWindow_DoSetSize" "', expected argument " "1"" of type '" "wxPyWindow *""'");
21186 arg1
= reinterpret_cast< wxPyWindow
* >(argp1
);
21187 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21188 if (!SWIG_IsOK(ecode2
)) {
21189 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PyWindow_DoSetSize" "', expected argument " "2"" of type '" "int""'");
21191 arg2
= static_cast< int >(val2
);
21192 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
21193 if (!SWIG_IsOK(ecode3
)) {
21194 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PyWindow_DoSetSize" "', expected argument " "3"" of type '" "int""'");
21196 arg3
= static_cast< int >(val3
);
21197 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
21198 if (!SWIG_IsOK(ecode4
)) {
21199 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PyWindow_DoSetSize" "', expected argument " "4"" of type '" "int""'");
21201 arg4
= static_cast< int >(val4
);
21202 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
21203 if (!SWIG_IsOK(ecode5
)) {
21204 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PyWindow_DoSetSize" "', expected argument " "5"" of type '" "int""'");
21206 arg5
= static_cast< int >(val5
);
21208 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
21209 if (!SWIG_IsOK(ecode6
)) {
21210 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "PyWindow_DoSetSize" "', expected argument " "6"" of type '" "int""'");
21212 arg6
= static_cast< int >(val6
);
21215 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21216 (arg1
)->DoSetSize(arg2
,arg3
,arg4
,arg5
,arg6
);
21217 wxPyEndAllowThreads(__tstate
);
21218 if (PyErr_Occurred()) SWIG_fail
;
21220 resultobj
= SWIG_Py_Void();
21227 SWIGINTERN PyObject
*_wrap_PyWindow_DoSetClientSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21228 PyObject
*resultobj
= 0;
21229 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
21238 PyObject
* obj0
= 0 ;
21239 PyObject
* obj1
= 0 ;
21240 PyObject
* obj2
= 0 ;
21241 char * kwnames
[] = {
21242 (char *) "self",(char *) "width",(char *) "height", NULL
21245 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyWindow_DoSetClientSize",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
21246 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyWindow
, 0 | 0 );
21247 if (!SWIG_IsOK(res1
)) {
21248 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyWindow_DoSetClientSize" "', expected argument " "1"" of type '" "wxPyWindow *""'");
21250 arg1
= reinterpret_cast< wxPyWindow
* >(argp1
);
21251 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21252 if (!SWIG_IsOK(ecode2
)) {
21253 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PyWindow_DoSetClientSize" "', expected argument " "2"" of type '" "int""'");
21255 arg2
= static_cast< int >(val2
);
21256 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
21257 if (!SWIG_IsOK(ecode3
)) {
21258 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PyWindow_DoSetClientSize" "', expected argument " "3"" of type '" "int""'");
21260 arg3
= static_cast< int >(val3
);
21262 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21263 (arg1
)->DoSetClientSize(arg2
,arg3
);
21264 wxPyEndAllowThreads(__tstate
);
21265 if (PyErr_Occurred()) SWIG_fail
;
21267 resultobj
= SWIG_Py_Void();
21274 SWIGINTERN PyObject
*_wrap_PyWindow_DoSetVirtualSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21275 PyObject
*resultobj
= 0;
21276 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
21285 PyObject
* obj0
= 0 ;
21286 PyObject
* obj1
= 0 ;
21287 PyObject
* obj2
= 0 ;
21288 char * kwnames
[] = {
21289 (char *) "self",(char *) "x",(char *) "y", NULL
21292 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyWindow_DoSetVirtualSize",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
21293 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyWindow
, 0 | 0 );
21294 if (!SWIG_IsOK(res1
)) {
21295 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyWindow_DoSetVirtualSize" "', expected argument " "1"" of type '" "wxPyWindow *""'");
21297 arg1
= reinterpret_cast< wxPyWindow
* >(argp1
);
21298 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21299 if (!SWIG_IsOK(ecode2
)) {
21300 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PyWindow_DoSetVirtualSize" "', expected argument " "2"" of type '" "int""'");
21302 arg2
= static_cast< int >(val2
);
21303 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
21304 if (!SWIG_IsOK(ecode3
)) {
21305 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PyWindow_DoSetVirtualSize" "', expected argument " "3"" of type '" "int""'");
21307 arg3
= static_cast< int >(val3
);
21309 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21310 (arg1
)->DoSetVirtualSize(arg2
,arg3
);
21311 wxPyEndAllowThreads(__tstate
);
21312 if (PyErr_Occurred()) SWIG_fail
;
21314 resultobj
= SWIG_Py_Void();
21321 SWIGINTERN PyObject
*_wrap_PyWindow_DoGetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21322 PyObject
*resultobj
= 0;
21323 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
21324 int *arg2
= (int *) 0 ;
21325 int *arg3
= (int *) 0 ;
21329 int res2
= SWIG_TMPOBJ
;
21331 int res3
= SWIG_TMPOBJ
;
21332 PyObject
*swig_obj
[1] ;
21336 if (!args
) SWIG_fail
;
21337 swig_obj
[0] = args
;
21338 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyWindow
, 0 | 0 );
21339 if (!SWIG_IsOK(res1
)) {
21340 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyWindow_DoGetSize" "', expected argument " "1"" of type '" "wxPyWindow const *""'");
21342 arg1
= reinterpret_cast< wxPyWindow
* >(argp1
);
21344 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21345 ((wxPyWindow
const *)arg1
)->DoGetSize(arg2
,arg3
);
21346 wxPyEndAllowThreads(__tstate
);
21347 if (PyErr_Occurred()) SWIG_fail
;
21349 resultobj
= SWIG_Py_Void();
21350 if (SWIG_IsTmpObj(res2
)) {
21351 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
21353 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
21354 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
21356 if (SWIG_IsTmpObj(res3
)) {
21357 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
21359 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
21360 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
21368 SWIGINTERN PyObject
*_wrap_PyWindow_DoGetClientSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21369 PyObject
*resultobj
= 0;
21370 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
21371 int *arg2
= (int *) 0 ;
21372 int *arg3
= (int *) 0 ;
21376 int res2
= SWIG_TMPOBJ
;
21378 int res3
= SWIG_TMPOBJ
;
21379 PyObject
*swig_obj
[1] ;
21383 if (!args
) SWIG_fail
;
21384 swig_obj
[0] = args
;
21385 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyWindow
, 0 | 0 );
21386 if (!SWIG_IsOK(res1
)) {
21387 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyWindow_DoGetClientSize" "', expected argument " "1"" of type '" "wxPyWindow const *""'");
21389 arg1
= reinterpret_cast< wxPyWindow
* >(argp1
);
21391 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21392 ((wxPyWindow
const *)arg1
)->DoGetClientSize(arg2
,arg3
);
21393 wxPyEndAllowThreads(__tstate
);
21394 if (PyErr_Occurred()) SWIG_fail
;
21396 resultobj
= SWIG_Py_Void();
21397 if (SWIG_IsTmpObj(res2
)) {
21398 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
21400 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
21401 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
21403 if (SWIG_IsTmpObj(res3
)) {
21404 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
21406 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
21407 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
21415 SWIGINTERN PyObject
*_wrap_PyWindow_DoGetPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21416 PyObject
*resultobj
= 0;
21417 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
21418 int *arg2
= (int *) 0 ;
21419 int *arg3
= (int *) 0 ;
21423 int res2
= SWIG_TMPOBJ
;
21425 int res3
= SWIG_TMPOBJ
;
21426 PyObject
*swig_obj
[1] ;
21430 if (!args
) SWIG_fail
;
21431 swig_obj
[0] = args
;
21432 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyWindow
, 0 | 0 );
21433 if (!SWIG_IsOK(res1
)) {
21434 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyWindow_DoGetPosition" "', expected argument " "1"" of type '" "wxPyWindow const *""'");
21436 arg1
= reinterpret_cast< wxPyWindow
* >(argp1
);
21438 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21439 ((wxPyWindow
const *)arg1
)->DoGetPosition(arg2
,arg3
);
21440 wxPyEndAllowThreads(__tstate
);
21441 if (PyErr_Occurred()) SWIG_fail
;
21443 resultobj
= SWIG_Py_Void();
21444 if (SWIG_IsTmpObj(res2
)) {
21445 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
21447 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
21448 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
21450 if (SWIG_IsTmpObj(res3
)) {
21451 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
21453 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
21454 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
21462 SWIGINTERN PyObject
*_wrap_PyWindow_DoGetVirtualSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21463 PyObject
*resultobj
= 0;
21464 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
21468 PyObject
*swig_obj
[1] ;
21470 if (!args
) SWIG_fail
;
21471 swig_obj
[0] = args
;
21472 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyWindow
, 0 | 0 );
21473 if (!SWIG_IsOK(res1
)) {
21474 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyWindow_DoGetVirtualSize" "', expected argument " "1"" of type '" "wxPyWindow const *""'");
21476 arg1
= reinterpret_cast< wxPyWindow
* >(argp1
);
21478 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21479 result
= ((wxPyWindow
const *)arg1
)->DoGetVirtualSize();
21480 wxPyEndAllowThreads(__tstate
);
21481 if (PyErr_Occurred()) SWIG_fail
;
21483 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
21490 SWIGINTERN PyObject
*_wrap_PyWindow_DoGetBestSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21491 PyObject
*resultobj
= 0;
21492 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
21496 PyObject
*swig_obj
[1] ;
21498 if (!args
) SWIG_fail
;
21499 swig_obj
[0] = args
;
21500 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyWindow
, 0 | 0 );
21501 if (!SWIG_IsOK(res1
)) {
21502 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyWindow_DoGetBestSize" "', expected argument " "1"" of type '" "wxPyWindow const *""'");
21504 arg1
= reinterpret_cast< wxPyWindow
* >(argp1
);
21506 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21507 result
= ((wxPyWindow
const *)arg1
)->DoGetBestSize();
21508 wxPyEndAllowThreads(__tstate
);
21509 if (PyErr_Occurred()) SWIG_fail
;
21511 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
21518 SWIGINTERN PyObject
*_wrap_PyWindow_GetDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21519 PyObject
*resultobj
= 0;
21520 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
21521 SwigValueWrapper
<wxVisualAttributes
> result
;
21524 PyObject
*swig_obj
[1] ;
21526 if (!args
) SWIG_fail
;
21527 swig_obj
[0] = args
;
21528 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyWindow
, 0 | 0 );
21529 if (!SWIG_IsOK(res1
)) {
21530 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyWindow_GetDefaultAttributes" "', expected argument " "1"" of type '" "wxPyWindow *""'");
21532 arg1
= reinterpret_cast< wxPyWindow
* >(argp1
);
21534 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21535 result
= (arg1
)->GetDefaultAttributes();
21536 wxPyEndAllowThreads(__tstate
);
21537 if (PyErr_Occurred()) SWIG_fail
;
21539 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
21546 SWIGINTERN PyObject
*_wrap_PyWindow_OnInternalIdle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21547 PyObject
*resultobj
= 0;
21548 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
21551 PyObject
*swig_obj
[1] ;
21553 if (!args
) SWIG_fail
;
21554 swig_obj
[0] = args
;
21555 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyWindow
, 0 | 0 );
21556 if (!SWIG_IsOK(res1
)) {
21557 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyWindow_OnInternalIdle" "', expected argument " "1"" of type '" "wxPyWindow *""'");
21559 arg1
= reinterpret_cast< wxPyWindow
* >(argp1
);
21561 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21562 (arg1
)->OnInternalIdle();
21563 wxPyEndAllowThreads(__tstate
);
21564 if (PyErr_Occurred()) SWIG_fail
;
21566 resultobj
= SWIG_Py_Void();
21573 SWIGINTERN PyObject
*PyWindow_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21575 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
21576 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyWindow
, SWIG_NewClientData(obj
));
21577 return SWIG_Py_Void();
21580 SWIGINTERN PyObject
*PyWindow_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21581 return SWIG_Python_InitShadowInstance(args
);
21584 SWIGINTERN PyObject
*_wrap_new_PyPanel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21585 PyObject
*resultobj
= 0;
21586 wxWindow
*arg1
= (wxWindow
*) 0 ;
21587 int arg2
= (int) (int)-1 ;
21588 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
21589 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
21590 wxSize
const &arg4_defvalue
= wxDefaultSize
;
21591 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
21592 long arg5
= (long) 0 ;
21593 wxString
const &arg6_defvalue
= wxPyPanelNameStr
;
21594 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
21595 wxPyPanel
*result
= 0 ;
21604 bool temp6
= false ;
21605 PyObject
* obj0
= 0 ;
21606 PyObject
* obj1
= 0 ;
21607 PyObject
* obj2
= 0 ;
21608 PyObject
* obj3
= 0 ;
21609 PyObject
* obj4
= 0 ;
21610 PyObject
* obj5
= 0 ;
21611 char * kwnames
[] = {
21612 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
21615 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_PyPanel",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
21616 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
21617 if (!SWIG_IsOK(res1
)) {
21618 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PyPanel" "', expected argument " "1"" of type '" "wxWindow *""'");
21620 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
21622 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21623 if (!SWIG_IsOK(ecode2
)) {
21624 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_PyPanel" "', expected argument " "2"" of type '" "int""'");
21626 arg2
= static_cast< int >(val2
);
21631 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
21637 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
21641 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
21642 if (!SWIG_IsOK(ecode5
)) {
21643 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_PyPanel" "', expected argument " "5"" of type '" "long""'");
21645 arg5
= static_cast< long >(val5
);
21649 arg6
= wxString_in_helper(obj5
);
21650 if (arg6
== NULL
) SWIG_fail
;
21655 if (!wxPyCheckForApp()) SWIG_fail
;
21656 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21657 result
= (wxPyPanel
*)new wxPyPanel(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
21658 wxPyEndAllowThreads(__tstate
);
21659 if (PyErr_Occurred()) SWIG_fail
;
21661 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyPanel
, SWIG_POINTER_NEW
| 0 );
21676 SWIGINTERN PyObject
*_wrap_new_PrePyPanel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21677 PyObject
*resultobj
= 0;
21678 wxPyPanel
*result
= 0 ;
21680 if (!SWIG_Python_UnpackTuple(args
,"new_PrePyPanel",0,0,0)) SWIG_fail
;
21682 if (!wxPyCheckForApp()) SWIG_fail
;
21683 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21684 result
= (wxPyPanel
*)new wxPyPanel();
21685 wxPyEndAllowThreads(__tstate
);
21686 if (PyErr_Occurred()) SWIG_fail
;
21688 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyPanel
, SWIG_POINTER_OWN
| 0 );
21695 SWIGINTERN PyObject
*_wrap_PyPanel__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21696 PyObject
*resultobj
= 0;
21697 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
21698 PyObject
*arg2
= (PyObject
*) 0 ;
21699 PyObject
*arg3
= (PyObject
*) 0 ;
21702 PyObject
* obj0
= 0 ;
21703 PyObject
* obj1
= 0 ;
21704 PyObject
* obj2
= 0 ;
21705 char * kwnames
[] = {
21706 (char *) "self",(char *) "self",(char *) "_class", NULL
21709 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyPanel__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
21710 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPanel
, 0 | 0 );
21711 if (!SWIG_IsOK(res1
)) {
21712 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPanel__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyPanel *""'");
21714 arg1
= reinterpret_cast< wxPyPanel
* >(argp1
);
21718 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21719 (arg1
)->_setCallbackInfo(arg2
,arg3
);
21720 wxPyEndAllowThreads(__tstate
);
21721 if (PyErr_Occurred()) SWIG_fail
;
21723 resultobj
= SWIG_Py_Void();
21730 SWIGINTERN PyObject
*_wrap_PyPanel_SetBestSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21731 PyObject
*resultobj
= 0;
21732 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
21737 PyObject
* obj0
= 0 ;
21738 PyObject
* obj1
= 0 ;
21739 char * kwnames
[] = {
21740 (char *) "self",(char *) "size", NULL
21743 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPanel_SetBestSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21744 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPanel
, 0 | 0 );
21745 if (!SWIG_IsOK(res1
)) {
21746 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPanel_SetBestSize" "', expected argument " "1"" of type '" "wxPyPanel *""'");
21748 arg1
= reinterpret_cast< wxPyPanel
* >(argp1
);
21751 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
21754 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21755 (arg1
)->SetBestSize((wxSize
const &)*arg2
);
21756 wxPyEndAllowThreads(__tstate
);
21757 if (PyErr_Occurred()) SWIG_fail
;
21759 resultobj
= SWIG_Py_Void();
21766 SWIGINTERN PyObject
*_wrap_PyPanel_DoEraseBackground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21767 PyObject
*resultobj
= 0;
21768 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
21769 wxDC
*arg2
= (wxDC
*) 0 ;
21775 PyObject
* obj0
= 0 ;
21776 PyObject
* obj1
= 0 ;
21777 char * kwnames
[] = {
21778 (char *) "self",(char *) "dc", NULL
21781 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPanel_DoEraseBackground",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21782 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPanel
, 0 | 0 );
21783 if (!SWIG_IsOK(res1
)) {
21784 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPanel_DoEraseBackground" "', expected argument " "1"" of type '" "wxPyPanel *""'");
21786 arg1
= reinterpret_cast< wxPyPanel
* >(argp1
);
21787 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxDC
, 0 | 0 );
21788 if (!SWIG_IsOK(res2
)) {
21789 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PyPanel_DoEraseBackground" "', expected argument " "2"" of type '" "wxDC *""'");
21791 arg2
= reinterpret_cast< wxDC
* >(argp2
);
21793 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21794 result
= (bool)(arg1
)->DoEraseBackground(arg2
);
21795 wxPyEndAllowThreads(__tstate
);
21796 if (PyErr_Occurred()) SWIG_fail
;
21799 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21807 SWIGINTERN PyObject
*_wrap_PyPanel_DoMoveWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21808 PyObject
*resultobj
= 0;
21809 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
21824 PyObject
* obj0
= 0 ;
21825 PyObject
* obj1
= 0 ;
21826 PyObject
* obj2
= 0 ;
21827 PyObject
* obj3
= 0 ;
21828 PyObject
* obj4
= 0 ;
21829 char * kwnames
[] = {
21830 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
21833 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:PyPanel_DoMoveWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
21834 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPanel
, 0 | 0 );
21835 if (!SWIG_IsOK(res1
)) {
21836 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPanel_DoMoveWindow" "', expected argument " "1"" of type '" "wxPyPanel *""'");
21838 arg1
= reinterpret_cast< wxPyPanel
* >(argp1
);
21839 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21840 if (!SWIG_IsOK(ecode2
)) {
21841 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PyPanel_DoMoveWindow" "', expected argument " "2"" of type '" "int""'");
21843 arg2
= static_cast< int >(val2
);
21844 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
21845 if (!SWIG_IsOK(ecode3
)) {
21846 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PyPanel_DoMoveWindow" "', expected argument " "3"" of type '" "int""'");
21848 arg3
= static_cast< int >(val3
);
21849 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
21850 if (!SWIG_IsOK(ecode4
)) {
21851 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PyPanel_DoMoveWindow" "', expected argument " "4"" of type '" "int""'");
21853 arg4
= static_cast< int >(val4
);
21854 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
21855 if (!SWIG_IsOK(ecode5
)) {
21856 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PyPanel_DoMoveWindow" "', expected argument " "5"" of type '" "int""'");
21858 arg5
= static_cast< int >(val5
);
21860 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21861 (arg1
)->DoMoveWindow(arg2
,arg3
,arg4
,arg5
);
21862 wxPyEndAllowThreads(__tstate
);
21863 if (PyErr_Occurred()) SWIG_fail
;
21865 resultobj
= SWIG_Py_Void();
21872 SWIGINTERN PyObject
*_wrap_PyPanel_DoSetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21873 PyObject
*resultobj
= 0;
21874 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
21879 int arg6
= (int) wxSIZE_AUTO
;
21892 PyObject
* obj0
= 0 ;
21893 PyObject
* obj1
= 0 ;
21894 PyObject
* obj2
= 0 ;
21895 PyObject
* obj3
= 0 ;
21896 PyObject
* obj4
= 0 ;
21897 PyObject
* obj5
= 0 ;
21898 char * kwnames
[] = {
21899 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
21902 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:PyPanel_DoSetSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
21903 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPanel
, 0 | 0 );
21904 if (!SWIG_IsOK(res1
)) {
21905 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPanel_DoSetSize" "', expected argument " "1"" of type '" "wxPyPanel *""'");
21907 arg1
= reinterpret_cast< wxPyPanel
* >(argp1
);
21908 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21909 if (!SWIG_IsOK(ecode2
)) {
21910 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PyPanel_DoSetSize" "', expected argument " "2"" of type '" "int""'");
21912 arg2
= static_cast< int >(val2
);
21913 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
21914 if (!SWIG_IsOK(ecode3
)) {
21915 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PyPanel_DoSetSize" "', expected argument " "3"" of type '" "int""'");
21917 arg3
= static_cast< int >(val3
);
21918 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
21919 if (!SWIG_IsOK(ecode4
)) {
21920 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PyPanel_DoSetSize" "', expected argument " "4"" of type '" "int""'");
21922 arg4
= static_cast< int >(val4
);
21923 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
21924 if (!SWIG_IsOK(ecode5
)) {
21925 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PyPanel_DoSetSize" "', expected argument " "5"" of type '" "int""'");
21927 arg5
= static_cast< int >(val5
);
21929 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
21930 if (!SWIG_IsOK(ecode6
)) {
21931 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "PyPanel_DoSetSize" "', expected argument " "6"" of type '" "int""'");
21933 arg6
= static_cast< int >(val6
);
21936 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21937 (arg1
)->DoSetSize(arg2
,arg3
,arg4
,arg5
,arg6
);
21938 wxPyEndAllowThreads(__tstate
);
21939 if (PyErr_Occurred()) SWIG_fail
;
21941 resultobj
= SWIG_Py_Void();
21948 SWIGINTERN PyObject
*_wrap_PyPanel_DoSetClientSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21949 PyObject
*resultobj
= 0;
21950 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
21959 PyObject
* obj0
= 0 ;
21960 PyObject
* obj1
= 0 ;
21961 PyObject
* obj2
= 0 ;
21962 char * kwnames
[] = {
21963 (char *) "self",(char *) "width",(char *) "height", NULL
21966 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyPanel_DoSetClientSize",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
21967 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPanel
, 0 | 0 );
21968 if (!SWIG_IsOK(res1
)) {
21969 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPanel_DoSetClientSize" "', expected argument " "1"" of type '" "wxPyPanel *""'");
21971 arg1
= reinterpret_cast< wxPyPanel
* >(argp1
);
21972 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21973 if (!SWIG_IsOK(ecode2
)) {
21974 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PyPanel_DoSetClientSize" "', expected argument " "2"" of type '" "int""'");
21976 arg2
= static_cast< int >(val2
);
21977 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
21978 if (!SWIG_IsOK(ecode3
)) {
21979 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PyPanel_DoSetClientSize" "', expected argument " "3"" of type '" "int""'");
21981 arg3
= static_cast< int >(val3
);
21983 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21984 (arg1
)->DoSetClientSize(arg2
,arg3
);
21985 wxPyEndAllowThreads(__tstate
);
21986 if (PyErr_Occurred()) SWIG_fail
;
21988 resultobj
= SWIG_Py_Void();
21995 SWIGINTERN PyObject
*_wrap_PyPanel_DoSetVirtualSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21996 PyObject
*resultobj
= 0;
21997 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
22006 PyObject
* obj0
= 0 ;
22007 PyObject
* obj1
= 0 ;
22008 PyObject
* obj2
= 0 ;
22009 char * kwnames
[] = {
22010 (char *) "self",(char *) "x",(char *) "y", NULL
22013 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyPanel_DoSetVirtualSize",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
22014 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPanel
, 0 | 0 );
22015 if (!SWIG_IsOK(res1
)) {
22016 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPanel_DoSetVirtualSize" "', expected argument " "1"" of type '" "wxPyPanel *""'");
22018 arg1
= reinterpret_cast< wxPyPanel
* >(argp1
);
22019 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22020 if (!SWIG_IsOK(ecode2
)) {
22021 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PyPanel_DoSetVirtualSize" "', expected argument " "2"" of type '" "int""'");
22023 arg2
= static_cast< int >(val2
);
22024 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
22025 if (!SWIG_IsOK(ecode3
)) {
22026 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PyPanel_DoSetVirtualSize" "', expected argument " "3"" of type '" "int""'");
22028 arg3
= static_cast< int >(val3
);
22030 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22031 (arg1
)->DoSetVirtualSize(arg2
,arg3
);
22032 wxPyEndAllowThreads(__tstate
);
22033 if (PyErr_Occurred()) SWIG_fail
;
22035 resultobj
= SWIG_Py_Void();
22042 SWIGINTERN PyObject
*_wrap_PyPanel_DoGetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22043 PyObject
*resultobj
= 0;
22044 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
22045 int *arg2
= (int *) 0 ;
22046 int *arg3
= (int *) 0 ;
22050 int res2
= SWIG_TMPOBJ
;
22052 int res3
= SWIG_TMPOBJ
;
22053 PyObject
*swig_obj
[1] ;
22057 if (!args
) SWIG_fail
;
22058 swig_obj
[0] = args
;
22059 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPanel
, 0 | 0 );
22060 if (!SWIG_IsOK(res1
)) {
22061 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPanel_DoGetSize" "', expected argument " "1"" of type '" "wxPyPanel const *""'");
22063 arg1
= reinterpret_cast< wxPyPanel
* >(argp1
);
22065 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22066 ((wxPyPanel
const *)arg1
)->DoGetSize(arg2
,arg3
);
22067 wxPyEndAllowThreads(__tstate
);
22068 if (PyErr_Occurred()) SWIG_fail
;
22070 resultobj
= SWIG_Py_Void();
22071 if (SWIG_IsTmpObj(res2
)) {
22072 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
22074 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
22075 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
22077 if (SWIG_IsTmpObj(res3
)) {
22078 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
22080 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
22081 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
22089 SWIGINTERN PyObject
*_wrap_PyPanel_DoGetClientSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22090 PyObject
*resultobj
= 0;
22091 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
22092 int *arg2
= (int *) 0 ;
22093 int *arg3
= (int *) 0 ;
22097 int res2
= SWIG_TMPOBJ
;
22099 int res3
= SWIG_TMPOBJ
;
22100 PyObject
*swig_obj
[1] ;
22104 if (!args
) SWIG_fail
;
22105 swig_obj
[0] = args
;
22106 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPanel
, 0 | 0 );
22107 if (!SWIG_IsOK(res1
)) {
22108 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPanel_DoGetClientSize" "', expected argument " "1"" of type '" "wxPyPanel const *""'");
22110 arg1
= reinterpret_cast< wxPyPanel
* >(argp1
);
22112 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22113 ((wxPyPanel
const *)arg1
)->DoGetClientSize(arg2
,arg3
);
22114 wxPyEndAllowThreads(__tstate
);
22115 if (PyErr_Occurred()) SWIG_fail
;
22117 resultobj
= SWIG_Py_Void();
22118 if (SWIG_IsTmpObj(res2
)) {
22119 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
22121 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
22122 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
22124 if (SWIG_IsTmpObj(res3
)) {
22125 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
22127 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
22128 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
22136 SWIGINTERN PyObject
*_wrap_PyPanel_DoGetPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22137 PyObject
*resultobj
= 0;
22138 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
22139 int *arg2
= (int *) 0 ;
22140 int *arg3
= (int *) 0 ;
22144 int res2
= SWIG_TMPOBJ
;
22146 int res3
= SWIG_TMPOBJ
;
22147 PyObject
*swig_obj
[1] ;
22151 if (!args
) SWIG_fail
;
22152 swig_obj
[0] = args
;
22153 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPanel
, 0 | 0 );
22154 if (!SWIG_IsOK(res1
)) {
22155 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPanel_DoGetPosition" "', expected argument " "1"" of type '" "wxPyPanel const *""'");
22157 arg1
= reinterpret_cast< wxPyPanel
* >(argp1
);
22159 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22160 ((wxPyPanel
const *)arg1
)->DoGetPosition(arg2
,arg3
);
22161 wxPyEndAllowThreads(__tstate
);
22162 if (PyErr_Occurred()) SWIG_fail
;
22164 resultobj
= SWIG_Py_Void();
22165 if (SWIG_IsTmpObj(res2
)) {
22166 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
22168 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
22169 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
22171 if (SWIG_IsTmpObj(res3
)) {
22172 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
22174 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
22175 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
22183 SWIGINTERN PyObject
*_wrap_PyPanel_DoGetVirtualSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22184 PyObject
*resultobj
= 0;
22185 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
22189 PyObject
*swig_obj
[1] ;
22191 if (!args
) SWIG_fail
;
22192 swig_obj
[0] = args
;
22193 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPanel
, 0 | 0 );
22194 if (!SWIG_IsOK(res1
)) {
22195 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPanel_DoGetVirtualSize" "', expected argument " "1"" of type '" "wxPyPanel const *""'");
22197 arg1
= reinterpret_cast< wxPyPanel
* >(argp1
);
22199 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22200 result
= ((wxPyPanel
const *)arg1
)->DoGetVirtualSize();
22201 wxPyEndAllowThreads(__tstate
);
22202 if (PyErr_Occurred()) SWIG_fail
;
22204 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
22211 SWIGINTERN PyObject
*_wrap_PyPanel_DoGetBestSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22212 PyObject
*resultobj
= 0;
22213 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
22217 PyObject
*swig_obj
[1] ;
22219 if (!args
) SWIG_fail
;
22220 swig_obj
[0] = args
;
22221 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPanel
, 0 | 0 );
22222 if (!SWIG_IsOK(res1
)) {
22223 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPanel_DoGetBestSize" "', expected argument " "1"" of type '" "wxPyPanel const *""'");
22225 arg1
= reinterpret_cast< wxPyPanel
* >(argp1
);
22227 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22228 result
= ((wxPyPanel
const *)arg1
)->DoGetBestSize();
22229 wxPyEndAllowThreads(__tstate
);
22230 if (PyErr_Occurred()) SWIG_fail
;
22232 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
22239 SWIGINTERN PyObject
*_wrap_PyPanel_GetDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22240 PyObject
*resultobj
= 0;
22241 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
22242 SwigValueWrapper
<wxVisualAttributes
> result
;
22245 PyObject
*swig_obj
[1] ;
22247 if (!args
) SWIG_fail
;
22248 swig_obj
[0] = args
;
22249 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPanel
, 0 | 0 );
22250 if (!SWIG_IsOK(res1
)) {
22251 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPanel_GetDefaultAttributes" "', expected argument " "1"" of type '" "wxPyPanel *""'");
22253 arg1
= reinterpret_cast< wxPyPanel
* >(argp1
);
22255 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22256 result
= (arg1
)->GetDefaultAttributes();
22257 wxPyEndAllowThreads(__tstate
);
22258 if (PyErr_Occurred()) SWIG_fail
;
22260 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
22267 SWIGINTERN PyObject
*_wrap_PyPanel_OnInternalIdle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22268 PyObject
*resultobj
= 0;
22269 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
22272 PyObject
*swig_obj
[1] ;
22274 if (!args
) SWIG_fail
;
22275 swig_obj
[0] = args
;
22276 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPanel
, 0 | 0 );
22277 if (!SWIG_IsOK(res1
)) {
22278 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPanel_OnInternalIdle" "', expected argument " "1"" of type '" "wxPyPanel *""'");
22280 arg1
= reinterpret_cast< wxPyPanel
* >(argp1
);
22282 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22283 (arg1
)->OnInternalIdle();
22284 wxPyEndAllowThreads(__tstate
);
22285 if (PyErr_Occurred()) SWIG_fail
;
22287 resultobj
= SWIG_Py_Void();
22294 SWIGINTERN PyObject
*PyPanel_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22296 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
22297 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyPanel
, SWIG_NewClientData(obj
));
22298 return SWIG_Py_Void();
22301 SWIGINTERN PyObject
*PyPanel_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22302 return SWIG_Python_InitShadowInstance(args
);
22305 SWIGINTERN PyObject
*_wrap_new_PyScrolledWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22306 PyObject
*resultobj
= 0;
22307 wxWindow
*arg1
= (wxWindow
*) 0 ;
22308 int arg2
= (int) (int)-1 ;
22309 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
22310 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
22311 wxSize
const &arg4_defvalue
= wxDefaultSize
;
22312 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
22313 long arg5
= (long) 0 ;
22314 wxString
const &arg6_defvalue
= wxPyPanelNameStr
;
22315 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
22316 wxPyScrolledWindow
*result
= 0 ;
22325 bool temp6
= false ;
22326 PyObject
* obj0
= 0 ;
22327 PyObject
* obj1
= 0 ;
22328 PyObject
* obj2
= 0 ;
22329 PyObject
* obj3
= 0 ;
22330 PyObject
* obj4
= 0 ;
22331 PyObject
* obj5
= 0 ;
22332 char * kwnames
[] = {
22333 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
22336 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_PyScrolledWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
22337 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
22338 if (!SWIG_IsOK(res1
)) {
22339 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PyScrolledWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
22341 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
22343 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22344 if (!SWIG_IsOK(ecode2
)) {
22345 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_PyScrolledWindow" "', expected argument " "2"" of type '" "int""'");
22347 arg2
= static_cast< int >(val2
);
22352 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
22358 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
22362 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
22363 if (!SWIG_IsOK(ecode5
)) {
22364 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_PyScrolledWindow" "', expected argument " "5"" of type '" "long""'");
22366 arg5
= static_cast< long >(val5
);
22370 arg6
= wxString_in_helper(obj5
);
22371 if (arg6
== NULL
) SWIG_fail
;
22376 if (!wxPyCheckForApp()) SWIG_fail
;
22377 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22378 result
= (wxPyScrolledWindow
*)new wxPyScrolledWindow(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
22379 wxPyEndAllowThreads(__tstate
);
22380 if (PyErr_Occurred()) SWIG_fail
;
22382 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyScrolledWindow
, SWIG_POINTER_NEW
| 0 );
22397 SWIGINTERN PyObject
*_wrap_new_PrePyScrolledWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22398 PyObject
*resultobj
= 0;
22399 wxPyScrolledWindow
*result
= 0 ;
22401 if (!SWIG_Python_UnpackTuple(args
,"new_PrePyScrolledWindow",0,0,0)) SWIG_fail
;
22403 if (!wxPyCheckForApp()) SWIG_fail
;
22404 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22405 result
= (wxPyScrolledWindow
*)new wxPyScrolledWindow();
22406 wxPyEndAllowThreads(__tstate
);
22407 if (PyErr_Occurred()) SWIG_fail
;
22409 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyScrolledWindow
, SWIG_POINTER_OWN
| 0 );
22416 SWIGINTERN PyObject
*_wrap_PyScrolledWindow__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22417 PyObject
*resultobj
= 0;
22418 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
22419 PyObject
*arg2
= (PyObject
*) 0 ;
22420 PyObject
*arg3
= (PyObject
*) 0 ;
22423 PyObject
* obj0
= 0 ;
22424 PyObject
* obj1
= 0 ;
22425 PyObject
* obj2
= 0 ;
22426 char * kwnames
[] = {
22427 (char *) "self",(char *) "self",(char *) "_class", NULL
22430 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyScrolledWindow__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
22431 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyScrolledWindow
, 0 | 0 );
22432 if (!SWIG_IsOK(res1
)) {
22433 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyScrolledWindow__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyScrolledWindow *""'");
22435 arg1
= reinterpret_cast< wxPyScrolledWindow
* >(argp1
);
22439 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22440 (arg1
)->_setCallbackInfo(arg2
,arg3
);
22441 wxPyEndAllowThreads(__tstate
);
22442 if (PyErr_Occurred()) SWIG_fail
;
22444 resultobj
= SWIG_Py_Void();
22451 SWIGINTERN PyObject
*_wrap_PyScrolledWindow_SetBestSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22452 PyObject
*resultobj
= 0;
22453 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
22458 PyObject
* obj0
= 0 ;
22459 PyObject
* obj1
= 0 ;
22460 char * kwnames
[] = {
22461 (char *) "self",(char *) "size", NULL
22464 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyScrolledWindow_SetBestSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22465 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyScrolledWindow
, 0 | 0 );
22466 if (!SWIG_IsOK(res1
)) {
22467 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyScrolledWindow_SetBestSize" "', expected argument " "1"" of type '" "wxPyScrolledWindow *""'");
22469 arg1
= reinterpret_cast< wxPyScrolledWindow
* >(argp1
);
22472 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
22475 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22476 (arg1
)->SetBestSize((wxSize
const &)*arg2
);
22477 wxPyEndAllowThreads(__tstate
);
22478 if (PyErr_Occurred()) SWIG_fail
;
22480 resultobj
= SWIG_Py_Void();
22487 SWIGINTERN PyObject
*_wrap_PyScrolledWindow_DoEraseBackground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22488 PyObject
*resultobj
= 0;
22489 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
22490 wxDC
*arg2
= (wxDC
*) 0 ;
22496 PyObject
* obj0
= 0 ;
22497 PyObject
* obj1
= 0 ;
22498 char * kwnames
[] = {
22499 (char *) "self",(char *) "dc", NULL
22502 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyScrolledWindow_DoEraseBackground",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22503 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyScrolledWindow
, 0 | 0 );
22504 if (!SWIG_IsOK(res1
)) {
22505 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyScrolledWindow_DoEraseBackground" "', expected argument " "1"" of type '" "wxPyScrolledWindow *""'");
22507 arg1
= reinterpret_cast< wxPyScrolledWindow
* >(argp1
);
22508 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxDC
, 0 | 0 );
22509 if (!SWIG_IsOK(res2
)) {
22510 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PyScrolledWindow_DoEraseBackground" "', expected argument " "2"" of type '" "wxDC *""'");
22512 arg2
= reinterpret_cast< wxDC
* >(argp2
);
22514 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22515 result
= (bool)(arg1
)->DoEraseBackground(arg2
);
22516 wxPyEndAllowThreads(__tstate
);
22517 if (PyErr_Occurred()) SWIG_fail
;
22520 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22528 SWIGINTERN PyObject
*_wrap_PyScrolledWindow_DoMoveWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22529 PyObject
*resultobj
= 0;
22530 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
22545 PyObject
* obj0
= 0 ;
22546 PyObject
* obj1
= 0 ;
22547 PyObject
* obj2
= 0 ;
22548 PyObject
* obj3
= 0 ;
22549 PyObject
* obj4
= 0 ;
22550 char * kwnames
[] = {
22551 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
22554 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:PyScrolledWindow_DoMoveWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
22555 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyScrolledWindow
, 0 | 0 );
22556 if (!SWIG_IsOK(res1
)) {
22557 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyScrolledWindow_DoMoveWindow" "', expected argument " "1"" of type '" "wxPyScrolledWindow *""'");
22559 arg1
= reinterpret_cast< wxPyScrolledWindow
* >(argp1
);
22560 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22561 if (!SWIG_IsOK(ecode2
)) {
22562 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PyScrolledWindow_DoMoveWindow" "', expected argument " "2"" of type '" "int""'");
22564 arg2
= static_cast< int >(val2
);
22565 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
22566 if (!SWIG_IsOK(ecode3
)) {
22567 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PyScrolledWindow_DoMoveWindow" "', expected argument " "3"" of type '" "int""'");
22569 arg3
= static_cast< int >(val3
);
22570 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
22571 if (!SWIG_IsOK(ecode4
)) {
22572 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PyScrolledWindow_DoMoveWindow" "', expected argument " "4"" of type '" "int""'");
22574 arg4
= static_cast< int >(val4
);
22575 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
22576 if (!SWIG_IsOK(ecode5
)) {
22577 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PyScrolledWindow_DoMoveWindow" "', expected argument " "5"" of type '" "int""'");
22579 arg5
= static_cast< int >(val5
);
22581 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22582 (arg1
)->DoMoveWindow(arg2
,arg3
,arg4
,arg5
);
22583 wxPyEndAllowThreads(__tstate
);
22584 if (PyErr_Occurred()) SWIG_fail
;
22586 resultobj
= SWIG_Py_Void();
22593 SWIGINTERN PyObject
*_wrap_PyScrolledWindow_DoSetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22594 PyObject
*resultobj
= 0;
22595 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
22600 int arg6
= (int) wxSIZE_AUTO
;
22613 PyObject
* obj0
= 0 ;
22614 PyObject
* obj1
= 0 ;
22615 PyObject
* obj2
= 0 ;
22616 PyObject
* obj3
= 0 ;
22617 PyObject
* obj4
= 0 ;
22618 PyObject
* obj5
= 0 ;
22619 char * kwnames
[] = {
22620 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
22623 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:PyScrolledWindow_DoSetSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
22624 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyScrolledWindow
, 0 | 0 );
22625 if (!SWIG_IsOK(res1
)) {
22626 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyScrolledWindow_DoSetSize" "', expected argument " "1"" of type '" "wxPyScrolledWindow *""'");
22628 arg1
= reinterpret_cast< wxPyScrolledWindow
* >(argp1
);
22629 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22630 if (!SWIG_IsOK(ecode2
)) {
22631 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PyScrolledWindow_DoSetSize" "', expected argument " "2"" of type '" "int""'");
22633 arg2
= static_cast< int >(val2
);
22634 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
22635 if (!SWIG_IsOK(ecode3
)) {
22636 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PyScrolledWindow_DoSetSize" "', expected argument " "3"" of type '" "int""'");
22638 arg3
= static_cast< int >(val3
);
22639 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
22640 if (!SWIG_IsOK(ecode4
)) {
22641 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PyScrolledWindow_DoSetSize" "', expected argument " "4"" of type '" "int""'");
22643 arg4
= static_cast< int >(val4
);
22644 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
22645 if (!SWIG_IsOK(ecode5
)) {
22646 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PyScrolledWindow_DoSetSize" "', expected argument " "5"" of type '" "int""'");
22648 arg5
= static_cast< int >(val5
);
22650 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
22651 if (!SWIG_IsOK(ecode6
)) {
22652 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "PyScrolledWindow_DoSetSize" "', expected argument " "6"" of type '" "int""'");
22654 arg6
= static_cast< int >(val6
);
22657 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22658 (arg1
)->DoSetSize(arg2
,arg3
,arg4
,arg5
,arg6
);
22659 wxPyEndAllowThreads(__tstate
);
22660 if (PyErr_Occurred()) SWIG_fail
;
22662 resultobj
= SWIG_Py_Void();
22669 SWIGINTERN PyObject
*_wrap_PyScrolledWindow_DoSetClientSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22670 PyObject
*resultobj
= 0;
22671 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
22680 PyObject
* obj0
= 0 ;
22681 PyObject
* obj1
= 0 ;
22682 PyObject
* obj2
= 0 ;
22683 char * kwnames
[] = {
22684 (char *) "self",(char *) "width",(char *) "height", NULL
22687 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyScrolledWindow_DoSetClientSize",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
22688 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyScrolledWindow
, 0 | 0 );
22689 if (!SWIG_IsOK(res1
)) {
22690 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyScrolledWindow_DoSetClientSize" "', expected argument " "1"" of type '" "wxPyScrolledWindow *""'");
22692 arg1
= reinterpret_cast< wxPyScrolledWindow
* >(argp1
);
22693 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22694 if (!SWIG_IsOK(ecode2
)) {
22695 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PyScrolledWindow_DoSetClientSize" "', expected argument " "2"" of type '" "int""'");
22697 arg2
= static_cast< int >(val2
);
22698 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
22699 if (!SWIG_IsOK(ecode3
)) {
22700 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PyScrolledWindow_DoSetClientSize" "', expected argument " "3"" of type '" "int""'");
22702 arg3
= static_cast< int >(val3
);
22704 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22705 (arg1
)->DoSetClientSize(arg2
,arg3
);
22706 wxPyEndAllowThreads(__tstate
);
22707 if (PyErr_Occurred()) SWIG_fail
;
22709 resultobj
= SWIG_Py_Void();
22716 SWIGINTERN PyObject
*_wrap_PyScrolledWindow_DoSetVirtualSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22717 PyObject
*resultobj
= 0;
22718 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
22727 PyObject
* obj0
= 0 ;
22728 PyObject
* obj1
= 0 ;
22729 PyObject
* obj2
= 0 ;
22730 char * kwnames
[] = {
22731 (char *) "self",(char *) "x",(char *) "y", NULL
22734 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyScrolledWindow_DoSetVirtualSize",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
22735 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyScrolledWindow
, 0 | 0 );
22736 if (!SWIG_IsOK(res1
)) {
22737 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyScrolledWindow_DoSetVirtualSize" "', expected argument " "1"" of type '" "wxPyScrolledWindow *""'");
22739 arg1
= reinterpret_cast< wxPyScrolledWindow
* >(argp1
);
22740 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22741 if (!SWIG_IsOK(ecode2
)) {
22742 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PyScrolledWindow_DoSetVirtualSize" "', expected argument " "2"" of type '" "int""'");
22744 arg2
= static_cast< int >(val2
);
22745 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
22746 if (!SWIG_IsOK(ecode3
)) {
22747 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PyScrolledWindow_DoSetVirtualSize" "', expected argument " "3"" of type '" "int""'");
22749 arg3
= static_cast< int >(val3
);
22751 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22752 (arg1
)->DoSetVirtualSize(arg2
,arg3
);
22753 wxPyEndAllowThreads(__tstate
);
22754 if (PyErr_Occurred()) SWIG_fail
;
22756 resultobj
= SWIG_Py_Void();
22763 SWIGINTERN PyObject
*_wrap_PyScrolledWindow_DoGetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22764 PyObject
*resultobj
= 0;
22765 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 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_wxPyScrolledWindow
, 0 | 0 );
22781 if (!SWIG_IsOK(res1
)) {
22782 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyScrolledWindow_DoGetSize" "', expected argument " "1"" of type '" "wxPyScrolledWindow const *""'");
22784 arg1
= reinterpret_cast< wxPyScrolledWindow
* >(argp1
);
22786 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22787 ((wxPyScrolledWindow
const *)arg1
)->DoGetSize(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_PyScrolledWindow_DoGetClientSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22811 PyObject
*resultobj
= 0;
22812 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
22813 int *arg2
= (int *) 0 ;
22814 int *arg3
= (int *) 0 ;
22818 int res2
= SWIG_TMPOBJ
;
22820 int res3
= SWIG_TMPOBJ
;
22821 PyObject
*swig_obj
[1] ;
22825 if (!args
) SWIG_fail
;
22826 swig_obj
[0] = args
;
22827 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyScrolledWindow
, 0 | 0 );
22828 if (!SWIG_IsOK(res1
)) {
22829 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyScrolledWindow_DoGetClientSize" "', expected argument " "1"" of type '" "wxPyScrolledWindow const *""'");
22831 arg1
= reinterpret_cast< wxPyScrolledWindow
* >(argp1
);
22833 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22834 ((wxPyScrolledWindow
const *)arg1
)->DoGetClientSize(arg2
,arg3
);
22835 wxPyEndAllowThreads(__tstate
);
22836 if (PyErr_Occurred()) SWIG_fail
;
22838 resultobj
= SWIG_Py_Void();
22839 if (SWIG_IsTmpObj(res2
)) {
22840 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
22842 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
22843 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
22845 if (SWIG_IsTmpObj(res3
)) {
22846 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
22848 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
22849 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
22857 SWIGINTERN PyObject
*_wrap_PyScrolledWindow_DoGetPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22858 PyObject
*resultobj
= 0;
22859 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
22860 int *arg2
= (int *) 0 ;
22861 int *arg3
= (int *) 0 ;
22865 int res2
= SWIG_TMPOBJ
;
22867 int res3
= SWIG_TMPOBJ
;
22868 PyObject
*swig_obj
[1] ;
22872 if (!args
) SWIG_fail
;
22873 swig_obj
[0] = args
;
22874 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyScrolledWindow
, 0 | 0 );
22875 if (!SWIG_IsOK(res1
)) {
22876 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyScrolledWindow_DoGetPosition" "', expected argument " "1"" of type '" "wxPyScrolledWindow const *""'");
22878 arg1
= reinterpret_cast< wxPyScrolledWindow
* >(argp1
);
22880 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22881 ((wxPyScrolledWindow
const *)arg1
)->DoGetPosition(arg2
,arg3
);
22882 wxPyEndAllowThreads(__tstate
);
22883 if (PyErr_Occurred()) SWIG_fail
;
22885 resultobj
= SWIG_Py_Void();
22886 if (SWIG_IsTmpObj(res2
)) {
22887 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
22889 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
22890 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
22892 if (SWIG_IsTmpObj(res3
)) {
22893 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
22895 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
22896 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
22904 SWIGINTERN PyObject
*_wrap_PyScrolledWindow_DoGetVirtualSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22905 PyObject
*resultobj
= 0;
22906 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
22910 PyObject
*swig_obj
[1] ;
22912 if (!args
) SWIG_fail
;
22913 swig_obj
[0] = args
;
22914 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyScrolledWindow
, 0 | 0 );
22915 if (!SWIG_IsOK(res1
)) {
22916 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyScrolledWindow_DoGetVirtualSize" "', expected argument " "1"" of type '" "wxPyScrolledWindow const *""'");
22918 arg1
= reinterpret_cast< wxPyScrolledWindow
* >(argp1
);
22920 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22921 result
= ((wxPyScrolledWindow
const *)arg1
)->DoGetVirtualSize();
22922 wxPyEndAllowThreads(__tstate
);
22923 if (PyErr_Occurred()) SWIG_fail
;
22925 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
22932 SWIGINTERN PyObject
*_wrap_PyScrolledWindow_DoGetBestSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22933 PyObject
*resultobj
= 0;
22934 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
22938 PyObject
*swig_obj
[1] ;
22940 if (!args
) SWIG_fail
;
22941 swig_obj
[0] = args
;
22942 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyScrolledWindow
, 0 | 0 );
22943 if (!SWIG_IsOK(res1
)) {
22944 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyScrolledWindow_DoGetBestSize" "', expected argument " "1"" of type '" "wxPyScrolledWindow const *""'");
22946 arg1
= reinterpret_cast< wxPyScrolledWindow
* >(argp1
);
22948 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22949 result
= ((wxPyScrolledWindow
const *)arg1
)->DoGetBestSize();
22950 wxPyEndAllowThreads(__tstate
);
22951 if (PyErr_Occurred()) SWIG_fail
;
22953 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
22960 SWIGINTERN PyObject
*_wrap_PyScrolledWindow_GetDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22961 PyObject
*resultobj
= 0;
22962 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
22963 SwigValueWrapper
<wxVisualAttributes
> result
;
22966 PyObject
*swig_obj
[1] ;
22968 if (!args
) SWIG_fail
;
22969 swig_obj
[0] = args
;
22970 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyScrolledWindow
, 0 | 0 );
22971 if (!SWIG_IsOK(res1
)) {
22972 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyScrolledWindow_GetDefaultAttributes" "', expected argument " "1"" of type '" "wxPyScrolledWindow *""'");
22974 arg1
= reinterpret_cast< wxPyScrolledWindow
* >(argp1
);
22976 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22977 result
= (arg1
)->GetDefaultAttributes();
22978 wxPyEndAllowThreads(__tstate
);
22979 if (PyErr_Occurred()) SWIG_fail
;
22981 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
22988 SWIGINTERN PyObject
*_wrap_PyScrolledWindow_OnInternalIdle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22989 PyObject
*resultobj
= 0;
22990 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
22993 PyObject
*swig_obj
[1] ;
22995 if (!args
) SWIG_fail
;
22996 swig_obj
[0] = args
;
22997 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyScrolledWindow
, 0 | 0 );
22998 if (!SWIG_IsOK(res1
)) {
22999 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyScrolledWindow_OnInternalIdle" "', expected argument " "1"" of type '" "wxPyScrolledWindow *""'");
23001 arg1
= reinterpret_cast< wxPyScrolledWindow
* >(argp1
);
23003 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23004 (arg1
)->OnInternalIdle();
23005 wxPyEndAllowThreads(__tstate
);
23006 if (PyErr_Occurred()) SWIG_fail
;
23008 resultobj
= SWIG_Py_Void();
23015 SWIGINTERN PyObject
*PyScrolledWindow_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23017 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
23018 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyScrolledWindow
, SWIG_NewClientData(obj
));
23019 return SWIG_Py_Void();
23022 SWIGINTERN PyObject
*PyScrolledWindow_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23023 return SWIG_Python_InitShadowInstance(args
);
23026 SWIGINTERN
int PrintoutTitleStr_set(PyObject
*) {
23027 SWIG_Error(SWIG_AttributeError
,"Variable PrintoutTitleStr is read-only.");
23032 SWIGINTERN PyObject
*PrintoutTitleStr_get(void) {
23033 PyObject
*pyobj
= 0;
23037 pyobj
= PyUnicode_FromWideChar((&wxPyPrintoutTitleStr
)->c_str(), (&wxPyPrintoutTitleStr
)->Len());
23039 pyobj
= PyString_FromStringAndSize((&wxPyPrintoutTitleStr
)->c_str(), (&wxPyPrintoutTitleStr
)->Len());
23046 SWIGINTERN
int PreviewCanvasNameStr_set(PyObject
*) {
23047 SWIG_Error(SWIG_AttributeError
,"Variable PreviewCanvasNameStr is read-only.");
23052 SWIGINTERN PyObject
*PreviewCanvasNameStr_get(void) {
23053 PyObject
*pyobj
= 0;
23057 pyobj
= PyUnicode_FromWideChar((&wxPyPreviewCanvasNameStr
)->c_str(), (&wxPyPreviewCanvasNameStr
)->Len());
23059 pyobj
= PyString_FromStringAndSize((&wxPyPreviewCanvasNameStr
)->c_str(), (&wxPyPreviewCanvasNameStr
)->Len());
23066 SWIGINTERN PyObject
*_wrap_new_PrintData__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**SWIGUNUSEDPARM(swig_obj
)) {
23067 PyObject
*resultobj
= 0;
23068 wxPrintData
*result
= 0 ;
23070 if ((nobjs
< 0) || (nobjs
> 0)) SWIG_fail
;
23072 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23073 result
= (wxPrintData
*)new wxPrintData();
23074 wxPyEndAllowThreads(__tstate
);
23075 if (PyErr_Occurred()) SWIG_fail
;
23077 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPrintData
, SWIG_POINTER_NEW
| 0 );
23084 SWIGINTERN PyObject
*_wrap_new_PrintData__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
23085 PyObject
*resultobj
= 0;
23086 wxPrintData
*arg1
= 0 ;
23087 wxPrintData
*result
= 0 ;
23091 if ((nobjs
< 1) || (nobjs
> 1)) SWIG_fail
;
23092 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxPrintData
, 0 | 0);
23093 if (!SWIG_IsOK(res1
)) {
23094 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PrintData" "', expected argument " "1"" of type '" "wxPrintData const &""'");
23097 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_PrintData" "', expected argument " "1"" of type '" "wxPrintData const &""'");
23099 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
23101 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23102 result
= (wxPrintData
*)new wxPrintData((wxPrintData
const &)*arg1
);
23103 wxPyEndAllowThreads(__tstate
);
23104 if (PyErr_Occurred()) SWIG_fail
;
23106 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPrintData
, SWIG_POINTER_NEW
| 0 );
23113 SWIGINTERN PyObject
*_wrap_new_PrintData(PyObject
*self
, PyObject
*args
) {
23117 if (!(argc
= SWIG_Python_UnpackTuple(args
,"new_PrintData",0,1,argv
))) SWIG_fail
;
23120 return _wrap_new_PrintData__SWIG_0(self
, argc
, argv
);
23123 return _wrap_new_PrintData__SWIG_1(self
, argc
, argv
);
23127 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'new_PrintData'");
23132 SWIGINTERN PyObject
*_wrap_delete_PrintData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23133 PyObject
*resultobj
= 0;
23134 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
23137 PyObject
*swig_obj
[1] ;
23139 if (!args
) SWIG_fail
;
23140 swig_obj
[0] = args
;
23141 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintData
, SWIG_POINTER_DISOWN
| 0 );
23142 if (!SWIG_IsOK(res1
)) {
23143 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_PrintData" "', expected argument " "1"" of type '" "wxPrintData *""'");
23145 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
23147 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23150 wxPyEndAllowThreads(__tstate
);
23151 if (PyErr_Occurred()) SWIG_fail
;
23153 resultobj
= SWIG_Py_Void();
23160 SWIGINTERN PyObject
*_wrap_PrintData_GetNoCopies(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23161 PyObject
*resultobj
= 0;
23162 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
23166 PyObject
*swig_obj
[1] ;
23168 if (!args
) SWIG_fail
;
23169 swig_obj
[0] = args
;
23170 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
23171 if (!SWIG_IsOK(res1
)) {
23172 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_GetNoCopies" "', expected argument " "1"" of type '" "wxPrintData *""'");
23174 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
23176 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23177 result
= (int)(arg1
)->GetNoCopies();
23178 wxPyEndAllowThreads(__tstate
);
23179 if (PyErr_Occurred()) SWIG_fail
;
23181 resultobj
= SWIG_From_int(static_cast< int >(result
));
23188 SWIGINTERN PyObject
*_wrap_PrintData_GetCollate(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23189 PyObject
*resultobj
= 0;
23190 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
23194 PyObject
*swig_obj
[1] ;
23196 if (!args
) SWIG_fail
;
23197 swig_obj
[0] = args
;
23198 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
23199 if (!SWIG_IsOK(res1
)) {
23200 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_GetCollate" "', expected argument " "1"" of type '" "wxPrintData *""'");
23202 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
23204 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23205 result
= (bool)(arg1
)->GetCollate();
23206 wxPyEndAllowThreads(__tstate
);
23207 if (PyErr_Occurred()) SWIG_fail
;
23210 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23218 SWIGINTERN PyObject
*_wrap_PrintData_GetOrientation(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23219 PyObject
*resultobj
= 0;
23220 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
23224 PyObject
*swig_obj
[1] ;
23226 if (!args
) SWIG_fail
;
23227 swig_obj
[0] = args
;
23228 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
23229 if (!SWIG_IsOK(res1
)) {
23230 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_GetOrientation" "', expected argument " "1"" of type '" "wxPrintData *""'");
23232 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
23234 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23235 result
= (int)(arg1
)->GetOrientation();
23236 wxPyEndAllowThreads(__tstate
);
23237 if (PyErr_Occurred()) SWIG_fail
;
23239 resultobj
= SWIG_From_int(static_cast< int >(result
));
23246 SWIGINTERN PyObject
*_wrap_PrintData_Ok(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23247 PyObject
*resultobj
= 0;
23248 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
23252 PyObject
*swig_obj
[1] ;
23254 if (!args
) SWIG_fail
;
23255 swig_obj
[0] = args
;
23256 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
23257 if (!SWIG_IsOK(res1
)) {
23258 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_Ok" "', expected argument " "1"" of type '" "wxPrintData *""'");
23260 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
23262 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23263 result
= (bool)(arg1
)->Ok();
23264 wxPyEndAllowThreads(__tstate
);
23265 if (PyErr_Occurred()) SWIG_fail
;
23268 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23276 SWIGINTERN PyObject
*_wrap_PrintData_GetPrinterName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23277 PyObject
*resultobj
= 0;
23278 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
23279 wxString
*result
= 0 ;
23282 PyObject
*swig_obj
[1] ;
23284 if (!args
) SWIG_fail
;
23285 swig_obj
[0] = args
;
23286 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
23287 if (!SWIG_IsOK(res1
)) {
23288 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_GetPrinterName" "', expected argument " "1"" of type '" "wxPrintData *""'");
23290 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
23292 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23294 wxString
const &_result_ref
= (arg1
)->GetPrinterName();
23295 result
= (wxString
*) &_result_ref
;
23297 wxPyEndAllowThreads(__tstate
);
23298 if (PyErr_Occurred()) SWIG_fail
;
23302 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
23304 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
23313 SWIGINTERN PyObject
*_wrap_PrintData_GetColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23314 PyObject
*resultobj
= 0;
23315 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
23319 PyObject
*swig_obj
[1] ;
23321 if (!args
) SWIG_fail
;
23322 swig_obj
[0] = args
;
23323 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
23324 if (!SWIG_IsOK(res1
)) {
23325 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_GetColour" "', expected argument " "1"" of type '" "wxPrintData *""'");
23327 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
23329 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23330 result
= (bool)(arg1
)->GetColour();
23331 wxPyEndAllowThreads(__tstate
);
23332 if (PyErr_Occurred()) SWIG_fail
;
23335 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23343 SWIGINTERN PyObject
*_wrap_PrintData_GetDuplex(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23344 PyObject
*resultobj
= 0;
23345 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
23346 wxDuplexMode result
;
23349 PyObject
*swig_obj
[1] ;
23351 if (!args
) SWIG_fail
;
23352 swig_obj
[0] = args
;
23353 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
23354 if (!SWIG_IsOK(res1
)) {
23355 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_GetDuplex" "', expected argument " "1"" of type '" "wxPrintData *""'");
23357 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
23359 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23360 result
= (wxDuplexMode
)(arg1
)->GetDuplex();
23361 wxPyEndAllowThreads(__tstate
);
23362 if (PyErr_Occurred()) SWIG_fail
;
23364 resultobj
= SWIG_From_int(static_cast< int >(result
));
23371 SWIGINTERN PyObject
*_wrap_PrintData_GetPaperId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23372 PyObject
*resultobj
= 0;
23373 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
23374 wxPaperSize result
;
23377 PyObject
*swig_obj
[1] ;
23379 if (!args
) SWIG_fail
;
23380 swig_obj
[0] = args
;
23381 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
23382 if (!SWIG_IsOK(res1
)) {
23383 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_GetPaperId" "', expected argument " "1"" of type '" "wxPrintData *""'");
23385 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
23387 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23388 result
= (wxPaperSize
)(arg1
)->GetPaperId();
23389 wxPyEndAllowThreads(__tstate
);
23390 if (PyErr_Occurred()) SWIG_fail
;
23392 resultobj
= SWIG_From_int(static_cast< int >(result
));
23399 SWIGINTERN PyObject
*_wrap_PrintData_GetPaperSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23400 PyObject
*resultobj
= 0;
23401 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
23402 wxSize
*result
= 0 ;
23405 PyObject
*swig_obj
[1] ;
23407 if (!args
) SWIG_fail
;
23408 swig_obj
[0] = args
;
23409 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
23410 if (!SWIG_IsOK(res1
)) {
23411 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_GetPaperSize" "', expected argument " "1"" of type '" "wxPrintData *""'");
23413 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
23415 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23417 wxSize
const &_result_ref
= (arg1
)->GetPaperSize();
23418 result
= (wxSize
*) &_result_ref
;
23420 wxPyEndAllowThreads(__tstate
);
23421 if (PyErr_Occurred()) SWIG_fail
;
23423 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSize
, 0 | 0 );
23430 SWIGINTERN PyObject
*_wrap_PrintData_GetQuality(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23431 PyObject
*resultobj
= 0;
23432 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
23436 PyObject
*swig_obj
[1] ;
23438 if (!args
) SWIG_fail
;
23439 swig_obj
[0] = args
;
23440 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
23441 if (!SWIG_IsOK(res1
)) {
23442 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_GetQuality" "', expected argument " "1"" of type '" "wxPrintData *""'");
23444 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
23446 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23447 result
= (int)(arg1
)->GetQuality();
23448 wxPyEndAllowThreads(__tstate
);
23449 if (PyErr_Occurred()) SWIG_fail
;
23451 resultobj
= SWIG_From_int(static_cast< int >(result
));
23458 SWIGINTERN PyObject
*_wrap_PrintData_GetBin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23459 PyObject
*resultobj
= 0;
23460 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
23464 PyObject
*swig_obj
[1] ;
23466 if (!args
) SWIG_fail
;
23467 swig_obj
[0] = args
;
23468 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
23469 if (!SWIG_IsOK(res1
)) {
23470 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_GetBin" "', expected argument " "1"" of type '" "wxPrintData *""'");
23472 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
23474 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23475 result
= (wxPrintBin
)(arg1
)->GetBin();
23476 wxPyEndAllowThreads(__tstate
);
23477 if (PyErr_Occurred()) SWIG_fail
;
23479 resultobj
= SWIG_From_int(static_cast< int >(result
));
23486 SWIGINTERN PyObject
*_wrap_PrintData_GetPrintMode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23487 PyObject
*resultobj
= 0;
23488 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
23489 wxPrintMode result
;
23492 PyObject
*swig_obj
[1] ;
23494 if (!args
) SWIG_fail
;
23495 swig_obj
[0] = args
;
23496 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
23497 if (!SWIG_IsOK(res1
)) {
23498 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_GetPrintMode" "', expected argument " "1"" of type '" "wxPrintData const *""'");
23500 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
23502 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23503 result
= (wxPrintMode
)((wxPrintData
const *)arg1
)->GetPrintMode();
23504 wxPyEndAllowThreads(__tstate
);
23505 if (PyErr_Occurred()) SWIG_fail
;
23507 resultobj
= SWIG_From_int(static_cast< int >(result
));
23514 SWIGINTERN PyObject
*_wrap_PrintData_SetNoCopies(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23515 PyObject
*resultobj
= 0;
23516 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
23522 PyObject
* obj0
= 0 ;
23523 PyObject
* obj1
= 0 ;
23524 char * kwnames
[] = {
23525 (char *) "self",(char *) "v", NULL
23528 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetNoCopies",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23529 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
23530 if (!SWIG_IsOK(res1
)) {
23531 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_SetNoCopies" "', expected argument " "1"" of type '" "wxPrintData *""'");
23533 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
23534 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
23535 if (!SWIG_IsOK(ecode2
)) {
23536 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintData_SetNoCopies" "', expected argument " "2"" of type '" "int""'");
23538 arg2
= static_cast< int >(val2
);
23540 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23541 (arg1
)->SetNoCopies(arg2
);
23542 wxPyEndAllowThreads(__tstate
);
23543 if (PyErr_Occurred()) SWIG_fail
;
23545 resultobj
= SWIG_Py_Void();
23552 SWIGINTERN PyObject
*_wrap_PrintData_SetCollate(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23553 PyObject
*resultobj
= 0;
23554 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
23560 PyObject
* obj0
= 0 ;
23561 PyObject
* obj1
= 0 ;
23562 char * kwnames
[] = {
23563 (char *) "self",(char *) "flag", NULL
23566 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetCollate",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23567 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
23568 if (!SWIG_IsOK(res1
)) {
23569 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_SetCollate" "', expected argument " "1"" of type '" "wxPrintData *""'");
23571 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
23572 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
23573 if (!SWIG_IsOK(ecode2
)) {
23574 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintData_SetCollate" "', expected argument " "2"" of type '" "bool""'");
23576 arg2
= static_cast< bool >(val2
);
23578 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23579 (arg1
)->SetCollate(arg2
);
23580 wxPyEndAllowThreads(__tstate
);
23581 if (PyErr_Occurred()) SWIG_fail
;
23583 resultobj
= SWIG_Py_Void();
23590 SWIGINTERN PyObject
*_wrap_PrintData_SetOrientation(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23591 PyObject
*resultobj
= 0;
23592 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
23598 PyObject
* obj0
= 0 ;
23599 PyObject
* obj1
= 0 ;
23600 char * kwnames
[] = {
23601 (char *) "self",(char *) "orient", NULL
23604 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetOrientation",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23605 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
23606 if (!SWIG_IsOK(res1
)) {
23607 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_SetOrientation" "', expected argument " "1"" of type '" "wxPrintData *""'");
23609 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
23610 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
23611 if (!SWIG_IsOK(ecode2
)) {
23612 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintData_SetOrientation" "', expected argument " "2"" of type '" "int""'");
23614 arg2
= static_cast< int >(val2
);
23616 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23617 (arg1
)->SetOrientation(arg2
);
23618 wxPyEndAllowThreads(__tstate
);
23619 if (PyErr_Occurred()) SWIG_fail
;
23621 resultobj
= SWIG_Py_Void();
23628 SWIGINTERN PyObject
*_wrap_PrintData_SetPrinterName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23629 PyObject
*resultobj
= 0;
23630 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
23631 wxString
*arg2
= 0 ;
23634 bool temp2
= false ;
23635 PyObject
* obj0
= 0 ;
23636 PyObject
* obj1
= 0 ;
23637 char * kwnames
[] = {
23638 (char *) "self",(char *) "name", NULL
23641 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPrinterName",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23642 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
23643 if (!SWIG_IsOK(res1
)) {
23644 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_SetPrinterName" "', expected argument " "1"" of type '" "wxPrintData *""'");
23646 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
23648 arg2
= wxString_in_helper(obj1
);
23649 if (arg2
== NULL
) SWIG_fail
;
23653 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23654 (arg1
)->SetPrinterName((wxString
const &)*arg2
);
23655 wxPyEndAllowThreads(__tstate
);
23656 if (PyErr_Occurred()) SWIG_fail
;
23658 resultobj
= SWIG_Py_Void();
23673 SWIGINTERN PyObject
*_wrap_PrintData_SetColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23674 PyObject
*resultobj
= 0;
23675 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
23681 PyObject
* obj0
= 0 ;
23682 PyObject
* obj1
= 0 ;
23683 char * kwnames
[] = {
23684 (char *) "self",(char *) "colour", NULL
23687 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23688 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
23689 if (!SWIG_IsOK(res1
)) {
23690 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_SetColour" "', expected argument " "1"" of type '" "wxPrintData *""'");
23692 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
23693 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
23694 if (!SWIG_IsOK(ecode2
)) {
23695 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintData_SetColour" "', expected argument " "2"" of type '" "bool""'");
23697 arg2
= static_cast< bool >(val2
);
23699 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23700 (arg1
)->SetColour(arg2
);
23701 wxPyEndAllowThreads(__tstate
);
23702 if (PyErr_Occurred()) SWIG_fail
;
23704 resultobj
= SWIG_Py_Void();
23711 SWIGINTERN PyObject
*_wrap_PrintData_SetDuplex(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23712 PyObject
*resultobj
= 0;
23713 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
23714 wxDuplexMode arg2
;
23719 PyObject
* obj0
= 0 ;
23720 PyObject
* obj1
= 0 ;
23721 char * kwnames
[] = {
23722 (char *) "self",(char *) "duplex", NULL
23725 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetDuplex",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23726 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
23727 if (!SWIG_IsOK(res1
)) {
23728 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_SetDuplex" "', expected argument " "1"" of type '" "wxPrintData *""'");
23730 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
23731 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
23732 if (!SWIG_IsOK(ecode2
)) {
23733 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintData_SetDuplex" "', expected argument " "2"" of type '" "wxDuplexMode""'");
23735 arg2
= static_cast< wxDuplexMode
>(val2
);
23737 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23738 (arg1
)->SetDuplex(arg2
);
23739 wxPyEndAllowThreads(__tstate
);
23740 if (PyErr_Occurred()) SWIG_fail
;
23742 resultobj
= SWIG_Py_Void();
23749 SWIGINTERN PyObject
*_wrap_PrintData_SetPaperId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23750 PyObject
*resultobj
= 0;
23751 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
23757 PyObject
* obj0
= 0 ;
23758 PyObject
* obj1
= 0 ;
23759 char * kwnames
[] = {
23760 (char *) "self",(char *) "sizeId", NULL
23763 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPaperId",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23764 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
23765 if (!SWIG_IsOK(res1
)) {
23766 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_SetPaperId" "', expected argument " "1"" of type '" "wxPrintData *""'");
23768 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
23769 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
23770 if (!SWIG_IsOK(ecode2
)) {
23771 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintData_SetPaperId" "', expected argument " "2"" of type '" "wxPaperSize""'");
23773 arg2
= static_cast< wxPaperSize
>(val2
);
23775 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23776 (arg1
)->SetPaperId(arg2
);
23777 wxPyEndAllowThreads(__tstate
);
23778 if (PyErr_Occurred()) SWIG_fail
;
23780 resultobj
= SWIG_Py_Void();
23787 SWIGINTERN PyObject
*_wrap_PrintData_SetPaperSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23788 PyObject
*resultobj
= 0;
23789 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
23794 PyObject
* obj0
= 0 ;
23795 PyObject
* obj1
= 0 ;
23796 char * kwnames
[] = {
23797 (char *) "self",(char *) "sz", NULL
23800 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPaperSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23801 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
23802 if (!SWIG_IsOK(res1
)) {
23803 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_SetPaperSize" "', expected argument " "1"" of type '" "wxPrintData *""'");
23805 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
23808 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
23811 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23812 (arg1
)->SetPaperSize((wxSize
const &)*arg2
);
23813 wxPyEndAllowThreads(__tstate
);
23814 if (PyErr_Occurred()) SWIG_fail
;
23816 resultobj
= SWIG_Py_Void();
23823 SWIGINTERN PyObject
*_wrap_PrintData_SetQuality(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23824 PyObject
*resultobj
= 0;
23825 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
23831 PyObject
* obj0
= 0 ;
23832 PyObject
* obj1
= 0 ;
23833 char * kwnames
[] = {
23834 (char *) "self",(char *) "quality", NULL
23837 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetQuality",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23838 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
23839 if (!SWIG_IsOK(res1
)) {
23840 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_SetQuality" "', expected argument " "1"" of type '" "wxPrintData *""'");
23842 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
23843 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
23844 if (!SWIG_IsOK(ecode2
)) {
23845 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintData_SetQuality" "', expected argument " "2"" of type '" "int""'");
23847 arg2
= static_cast< int >(val2
);
23849 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23850 (arg1
)->SetQuality(arg2
);
23851 wxPyEndAllowThreads(__tstate
);
23852 if (PyErr_Occurred()) SWIG_fail
;
23854 resultobj
= SWIG_Py_Void();
23861 SWIGINTERN PyObject
*_wrap_PrintData_SetBin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23862 PyObject
*resultobj
= 0;
23863 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
23869 PyObject
* obj0
= 0 ;
23870 PyObject
* obj1
= 0 ;
23871 char * kwnames
[] = {
23872 (char *) "self",(char *) "bin", NULL
23875 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetBin",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23876 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
23877 if (!SWIG_IsOK(res1
)) {
23878 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_SetBin" "', expected argument " "1"" of type '" "wxPrintData *""'");
23880 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
23881 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
23882 if (!SWIG_IsOK(ecode2
)) {
23883 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintData_SetBin" "', expected argument " "2"" of type '" "wxPrintBin""'");
23885 arg2
= static_cast< wxPrintBin
>(val2
);
23887 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23888 (arg1
)->SetBin(arg2
);
23889 wxPyEndAllowThreads(__tstate
);
23890 if (PyErr_Occurred()) SWIG_fail
;
23892 resultobj
= SWIG_Py_Void();
23899 SWIGINTERN PyObject
*_wrap_PrintData_SetPrintMode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23900 PyObject
*resultobj
= 0;
23901 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
23907 PyObject
* obj0
= 0 ;
23908 PyObject
* obj1
= 0 ;
23909 char * kwnames
[] = {
23910 (char *) "self",(char *) "printMode", NULL
23913 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPrintMode",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23914 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
23915 if (!SWIG_IsOK(res1
)) {
23916 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_SetPrintMode" "', expected argument " "1"" of type '" "wxPrintData *""'");
23918 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
23919 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
23920 if (!SWIG_IsOK(ecode2
)) {
23921 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintData_SetPrintMode" "', expected argument " "2"" of type '" "wxPrintMode""'");
23923 arg2
= static_cast< wxPrintMode
>(val2
);
23925 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23926 (arg1
)->SetPrintMode(arg2
);
23927 wxPyEndAllowThreads(__tstate
);
23928 if (PyErr_Occurred()) SWIG_fail
;
23930 resultobj
= SWIG_Py_Void();
23937 SWIGINTERN PyObject
*_wrap_PrintData_GetFilename(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23938 PyObject
*resultobj
= 0;
23939 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
23943 PyObject
*swig_obj
[1] ;
23945 if (!args
) SWIG_fail
;
23946 swig_obj
[0] = args
;
23947 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
23948 if (!SWIG_IsOK(res1
)) {
23949 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_GetFilename" "', expected argument " "1"" of type '" "wxPrintData const *""'");
23951 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
23953 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23954 result
= ((wxPrintData
const *)arg1
)->GetFilename();
23955 wxPyEndAllowThreads(__tstate
);
23956 if (PyErr_Occurred()) SWIG_fail
;
23960 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
23962 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
23971 SWIGINTERN PyObject
*_wrap_PrintData_SetFilename(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23972 PyObject
*resultobj
= 0;
23973 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
23974 wxString
*arg2
= 0 ;
23977 bool temp2
= false ;
23978 PyObject
* obj0
= 0 ;
23979 PyObject
* obj1
= 0 ;
23980 char * kwnames
[] = {
23981 (char *) "self",(char *) "filename", NULL
23984 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetFilename",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23985 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
23986 if (!SWIG_IsOK(res1
)) {
23987 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_SetFilename" "', expected argument " "1"" of type '" "wxPrintData *""'");
23989 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
23991 arg2
= wxString_in_helper(obj1
);
23992 if (arg2
== NULL
) SWIG_fail
;
23996 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23997 (arg1
)->SetFilename((wxString
const &)*arg2
);
23998 wxPyEndAllowThreads(__tstate
);
23999 if (PyErr_Occurred()) SWIG_fail
;
24001 resultobj
= SWIG_Py_Void();
24016 SWIGINTERN PyObject
*_wrap_PrintData_GetPrivData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24017 PyObject
*resultobj
= 0;
24018 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
24019 PyObject
*result
= 0 ;
24022 PyObject
*swig_obj
[1] ;
24024 if (!args
) SWIG_fail
;
24025 swig_obj
[0] = args
;
24026 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
24027 if (!SWIG_IsOK(res1
)) {
24028 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_GetPrivData" "', expected argument " "1"" of type '" "wxPrintData *""'");
24030 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
24032 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24033 result
= (PyObject
*)wxPrintData_GetPrivData(arg1
);
24034 wxPyEndAllowThreads(__tstate
);
24035 if (PyErr_Occurred()) SWIG_fail
;
24037 resultobj
= result
;
24044 SWIGINTERN PyObject
*_wrap_PrintData_SetPrivData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24045 PyObject
*resultobj
= 0;
24046 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
24047 PyObject
*arg2
= (PyObject
*) 0 ;
24050 PyObject
* obj0
= 0 ;
24051 PyObject
* obj1
= 0 ;
24052 char * kwnames
[] = {
24053 (char *) "self",(char *) "data", NULL
24056 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPrivData",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24057 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
24058 if (!SWIG_IsOK(res1
)) {
24059 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_SetPrivData" "', expected argument " "1"" of type '" "wxPrintData *""'");
24061 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
24064 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24065 wxPrintData_SetPrivData(arg1
,arg2
);
24066 wxPyEndAllowThreads(__tstate
);
24067 if (PyErr_Occurred()) SWIG_fail
;
24069 resultobj
= SWIG_Py_Void();
24076 SWIGINTERN PyObject
*PrintData_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24078 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
24079 SWIG_TypeNewClientData(SWIGTYPE_p_wxPrintData
, SWIG_NewClientData(obj
));
24080 return SWIG_Py_Void();
24083 SWIGINTERN PyObject
*PrintData_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24084 return SWIG_Python_InitShadowInstance(args
);
24087 SWIGINTERN PyObject
*_wrap_new_PageSetupDialogData__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**SWIGUNUSEDPARM(swig_obj
)) {
24088 PyObject
*resultobj
= 0;
24089 wxPageSetupDialogData
*result
= 0 ;
24091 if ((nobjs
< 0) || (nobjs
> 0)) SWIG_fail
;
24093 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24094 result
= (wxPageSetupDialogData
*)new wxPageSetupDialogData();
24095 wxPyEndAllowThreads(__tstate
);
24096 if (PyErr_Occurred()) SWIG_fail
;
24098 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPageSetupDialogData
, SWIG_POINTER_NEW
| 0 );
24105 SWIGINTERN PyObject
*_wrap_new_PageSetupDialogData__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
24106 PyObject
*resultobj
= 0;
24107 wxPageSetupDialogData
*arg1
= 0 ;
24108 wxPageSetupDialogData
*result
= 0 ;
24112 if ((nobjs
< 1) || (nobjs
> 1)) SWIG_fail
;
24113 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0);
24114 if (!SWIG_IsOK(res1
)) {
24115 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PageSetupDialogData" "', expected argument " "1"" of type '" "wxPageSetupDialogData const &""'");
24118 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_PageSetupDialogData" "', expected argument " "1"" of type '" "wxPageSetupDialogData const &""'");
24120 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
24122 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24123 result
= (wxPageSetupDialogData
*)new wxPageSetupDialogData((wxPageSetupDialogData
const &)*arg1
);
24124 wxPyEndAllowThreads(__tstate
);
24125 if (PyErr_Occurred()) SWIG_fail
;
24127 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPageSetupDialogData
, SWIG_POINTER_NEW
| 0 );
24134 SWIGINTERN PyObject
*_wrap_new_PageSetupDialogData__SWIG_2(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
24135 PyObject
*resultobj
= 0;
24136 wxPrintData
*arg1
= 0 ;
24137 wxPageSetupDialogData
*result
= 0 ;
24141 if ((nobjs
< 1) || (nobjs
> 1)) SWIG_fail
;
24142 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxPrintData
, 0 | 0);
24143 if (!SWIG_IsOK(res1
)) {
24144 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PageSetupDialogData" "', expected argument " "1"" of type '" "wxPrintData const &""'");
24147 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_PageSetupDialogData" "', expected argument " "1"" of type '" "wxPrintData const &""'");
24149 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
24151 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24152 result
= (wxPageSetupDialogData
*)new wxPageSetupDialogData((wxPrintData
const &)*arg1
);
24153 wxPyEndAllowThreads(__tstate
);
24154 if (PyErr_Occurred()) SWIG_fail
;
24156 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPageSetupDialogData
, SWIG_POINTER_NEW
| 0 );
24163 SWIGINTERN PyObject
*_wrap_new_PageSetupDialogData(PyObject
*self
, PyObject
*args
) {
24167 if (!(argc
= SWIG_Python_UnpackTuple(args
,"new_PageSetupDialogData",0,1,argv
))) SWIG_fail
;
24170 return _wrap_new_PageSetupDialogData__SWIG_0(self
, argc
, argv
);
24175 int res
= SWIG_ConvertPtr(argv
[0], 0, SWIGTYPE_p_wxPageSetupDialogData
, 0);
24176 _v
= SWIG_CheckState(res
);
24178 if (!_v
) goto check_2
;
24179 return _wrap_new_PageSetupDialogData__SWIG_1(self
, argc
, argv
);
24184 return _wrap_new_PageSetupDialogData__SWIG_2(self
, argc
, argv
);
24188 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'new_PageSetupDialogData'");
24193 SWIGINTERN PyObject
*_wrap_delete_PageSetupDialogData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24194 PyObject
*resultobj
= 0;
24195 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
24198 PyObject
*swig_obj
[1] ;
24200 if (!args
) SWIG_fail
;
24201 swig_obj
[0] = args
;
24202 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, SWIG_POINTER_DISOWN
| 0 );
24203 if (!SWIG_IsOK(res1
)) {
24204 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_PageSetupDialogData" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
24206 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
24208 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24211 wxPyEndAllowThreads(__tstate
);
24212 if (PyErr_Occurred()) SWIG_fail
;
24214 resultobj
= SWIG_Py_Void();
24221 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_EnableHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24222 PyObject
*resultobj
= 0;
24223 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
24229 PyObject
* obj0
= 0 ;
24230 PyObject
* obj1
= 0 ;
24231 char * kwnames
[] = {
24232 (char *) "self",(char *) "flag", NULL
24235 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_EnableHelp",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24236 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
24237 if (!SWIG_IsOK(res1
)) {
24238 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_EnableHelp" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
24240 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
24241 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
24242 if (!SWIG_IsOK(ecode2
)) {
24243 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PageSetupDialogData_EnableHelp" "', expected argument " "2"" of type '" "bool""'");
24245 arg2
= static_cast< bool >(val2
);
24247 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24248 (arg1
)->EnableHelp(arg2
);
24249 wxPyEndAllowThreads(__tstate
);
24250 if (PyErr_Occurred()) SWIG_fail
;
24252 resultobj
= SWIG_Py_Void();
24259 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_EnableMargins(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24260 PyObject
*resultobj
= 0;
24261 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
24267 PyObject
* obj0
= 0 ;
24268 PyObject
* obj1
= 0 ;
24269 char * kwnames
[] = {
24270 (char *) "self",(char *) "flag", NULL
24273 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_EnableMargins",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24274 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
24275 if (!SWIG_IsOK(res1
)) {
24276 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_EnableMargins" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
24278 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
24279 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
24280 if (!SWIG_IsOK(ecode2
)) {
24281 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PageSetupDialogData_EnableMargins" "', expected argument " "2"" of type '" "bool""'");
24283 arg2
= static_cast< bool >(val2
);
24285 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24286 (arg1
)->EnableMargins(arg2
);
24287 wxPyEndAllowThreads(__tstate
);
24288 if (PyErr_Occurred()) SWIG_fail
;
24290 resultobj
= SWIG_Py_Void();
24297 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_EnableOrientation(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24298 PyObject
*resultobj
= 0;
24299 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
24305 PyObject
* obj0
= 0 ;
24306 PyObject
* obj1
= 0 ;
24307 char * kwnames
[] = {
24308 (char *) "self",(char *) "flag", NULL
24311 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_EnableOrientation",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24312 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
24313 if (!SWIG_IsOK(res1
)) {
24314 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_EnableOrientation" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
24316 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
24317 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
24318 if (!SWIG_IsOK(ecode2
)) {
24319 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PageSetupDialogData_EnableOrientation" "', expected argument " "2"" of type '" "bool""'");
24321 arg2
= static_cast< bool >(val2
);
24323 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24324 (arg1
)->EnableOrientation(arg2
);
24325 wxPyEndAllowThreads(__tstate
);
24326 if (PyErr_Occurred()) SWIG_fail
;
24328 resultobj
= SWIG_Py_Void();
24335 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_EnablePaper(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24336 PyObject
*resultobj
= 0;
24337 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
24343 PyObject
* obj0
= 0 ;
24344 PyObject
* obj1
= 0 ;
24345 char * kwnames
[] = {
24346 (char *) "self",(char *) "flag", NULL
24349 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_EnablePaper",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24350 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
24351 if (!SWIG_IsOK(res1
)) {
24352 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_EnablePaper" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
24354 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
24355 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
24356 if (!SWIG_IsOK(ecode2
)) {
24357 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PageSetupDialogData_EnablePaper" "', expected argument " "2"" of type '" "bool""'");
24359 arg2
= static_cast< bool >(val2
);
24361 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24362 (arg1
)->EnablePaper(arg2
);
24363 wxPyEndAllowThreads(__tstate
);
24364 if (PyErr_Occurred()) SWIG_fail
;
24366 resultobj
= SWIG_Py_Void();
24373 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_EnablePrinter(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24374 PyObject
*resultobj
= 0;
24375 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
24381 PyObject
* obj0
= 0 ;
24382 PyObject
* obj1
= 0 ;
24383 char * kwnames
[] = {
24384 (char *) "self",(char *) "flag", NULL
24387 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_EnablePrinter",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24388 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
24389 if (!SWIG_IsOK(res1
)) {
24390 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_EnablePrinter" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
24392 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
24393 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
24394 if (!SWIG_IsOK(ecode2
)) {
24395 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PageSetupDialogData_EnablePrinter" "', expected argument " "2"" of type '" "bool""'");
24397 arg2
= static_cast< bool >(val2
);
24399 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24400 (arg1
)->EnablePrinter(arg2
);
24401 wxPyEndAllowThreads(__tstate
);
24402 if (PyErr_Occurred()) SWIG_fail
;
24404 resultobj
= SWIG_Py_Void();
24411 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_GetDefaultMinMargins(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24412 PyObject
*resultobj
= 0;
24413 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
24417 PyObject
*swig_obj
[1] ;
24419 if (!args
) SWIG_fail
;
24420 swig_obj
[0] = args
;
24421 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
24422 if (!SWIG_IsOK(res1
)) {
24423 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_GetDefaultMinMargins" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
24425 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
24427 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24428 result
= (bool)(arg1
)->GetDefaultMinMargins();
24429 wxPyEndAllowThreads(__tstate
);
24430 if (PyErr_Occurred()) SWIG_fail
;
24433 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24441 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_GetEnableMargins(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24442 PyObject
*resultobj
= 0;
24443 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
24447 PyObject
*swig_obj
[1] ;
24449 if (!args
) SWIG_fail
;
24450 swig_obj
[0] = args
;
24451 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
24452 if (!SWIG_IsOK(res1
)) {
24453 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_GetEnableMargins" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
24455 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
24457 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24458 result
= (bool)(arg1
)->GetEnableMargins();
24459 wxPyEndAllowThreads(__tstate
);
24460 if (PyErr_Occurred()) SWIG_fail
;
24463 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24471 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_GetEnableOrientation(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24472 PyObject
*resultobj
= 0;
24473 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
24477 PyObject
*swig_obj
[1] ;
24479 if (!args
) SWIG_fail
;
24480 swig_obj
[0] = args
;
24481 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
24482 if (!SWIG_IsOK(res1
)) {
24483 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_GetEnableOrientation" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
24485 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
24487 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24488 result
= (bool)(arg1
)->GetEnableOrientation();
24489 wxPyEndAllowThreads(__tstate
);
24490 if (PyErr_Occurred()) SWIG_fail
;
24493 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24501 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_GetEnablePaper(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24502 PyObject
*resultobj
= 0;
24503 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
24507 PyObject
*swig_obj
[1] ;
24509 if (!args
) SWIG_fail
;
24510 swig_obj
[0] = args
;
24511 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
24512 if (!SWIG_IsOK(res1
)) {
24513 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_GetEnablePaper" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
24515 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
24517 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24518 result
= (bool)(arg1
)->GetEnablePaper();
24519 wxPyEndAllowThreads(__tstate
);
24520 if (PyErr_Occurred()) SWIG_fail
;
24523 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24531 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_GetEnablePrinter(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24532 PyObject
*resultobj
= 0;
24533 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
24537 PyObject
*swig_obj
[1] ;
24539 if (!args
) SWIG_fail
;
24540 swig_obj
[0] = args
;
24541 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
24542 if (!SWIG_IsOK(res1
)) {
24543 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_GetEnablePrinter" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
24545 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
24547 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24548 result
= (bool)(arg1
)->GetEnablePrinter();
24549 wxPyEndAllowThreads(__tstate
);
24550 if (PyErr_Occurred()) SWIG_fail
;
24553 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24561 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_GetEnableHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24562 PyObject
*resultobj
= 0;
24563 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
24567 PyObject
*swig_obj
[1] ;
24569 if (!args
) SWIG_fail
;
24570 swig_obj
[0] = args
;
24571 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
24572 if (!SWIG_IsOK(res1
)) {
24573 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_GetEnableHelp" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
24575 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
24577 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24578 result
= (bool)(arg1
)->GetEnableHelp();
24579 wxPyEndAllowThreads(__tstate
);
24580 if (PyErr_Occurred()) SWIG_fail
;
24583 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24591 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_GetDefaultInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24592 PyObject
*resultobj
= 0;
24593 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
24597 PyObject
*swig_obj
[1] ;
24599 if (!args
) SWIG_fail
;
24600 swig_obj
[0] = args
;
24601 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
24602 if (!SWIG_IsOK(res1
)) {
24603 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_GetDefaultInfo" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
24605 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
24607 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24608 result
= (bool)(arg1
)->GetDefaultInfo();
24609 wxPyEndAllowThreads(__tstate
);
24610 if (PyErr_Occurred()) SWIG_fail
;
24613 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24621 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_GetMarginTopLeft(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24622 PyObject
*resultobj
= 0;
24623 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
24627 PyObject
*swig_obj
[1] ;
24629 if (!args
) SWIG_fail
;
24630 swig_obj
[0] = args
;
24631 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
24632 if (!SWIG_IsOK(res1
)) {
24633 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_GetMarginTopLeft" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
24635 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
24637 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24638 result
= (arg1
)->GetMarginTopLeft();
24639 wxPyEndAllowThreads(__tstate
);
24640 if (PyErr_Occurred()) SWIG_fail
;
24642 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
24649 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_GetMarginBottomRight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24650 PyObject
*resultobj
= 0;
24651 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
24655 PyObject
*swig_obj
[1] ;
24657 if (!args
) SWIG_fail
;
24658 swig_obj
[0] = args
;
24659 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
24660 if (!SWIG_IsOK(res1
)) {
24661 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_GetMarginBottomRight" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
24663 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
24665 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24666 result
= (arg1
)->GetMarginBottomRight();
24667 wxPyEndAllowThreads(__tstate
);
24668 if (PyErr_Occurred()) SWIG_fail
;
24670 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
24677 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_GetMinMarginTopLeft(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24678 PyObject
*resultobj
= 0;
24679 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
24683 PyObject
*swig_obj
[1] ;
24685 if (!args
) SWIG_fail
;
24686 swig_obj
[0] = args
;
24687 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
24688 if (!SWIG_IsOK(res1
)) {
24689 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_GetMinMarginTopLeft" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
24691 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
24693 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24694 result
= (arg1
)->GetMinMarginTopLeft();
24695 wxPyEndAllowThreads(__tstate
);
24696 if (PyErr_Occurred()) SWIG_fail
;
24698 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
24705 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_GetMinMarginBottomRight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24706 PyObject
*resultobj
= 0;
24707 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
24711 PyObject
*swig_obj
[1] ;
24713 if (!args
) SWIG_fail
;
24714 swig_obj
[0] = args
;
24715 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
24716 if (!SWIG_IsOK(res1
)) {
24717 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_GetMinMarginBottomRight" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
24719 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
24721 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24722 result
= (arg1
)->GetMinMarginBottomRight();
24723 wxPyEndAllowThreads(__tstate
);
24724 if (PyErr_Occurred()) SWIG_fail
;
24726 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
24733 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_GetPaperId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24734 PyObject
*resultobj
= 0;
24735 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
24736 wxPaperSize result
;
24739 PyObject
*swig_obj
[1] ;
24741 if (!args
) SWIG_fail
;
24742 swig_obj
[0] = args
;
24743 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
24744 if (!SWIG_IsOK(res1
)) {
24745 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_GetPaperId" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
24747 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
24749 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24750 result
= (wxPaperSize
)(arg1
)->GetPaperId();
24751 wxPyEndAllowThreads(__tstate
);
24752 if (PyErr_Occurred()) SWIG_fail
;
24754 resultobj
= SWIG_From_int(static_cast< int >(result
));
24761 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_GetPaperSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24762 PyObject
*resultobj
= 0;
24763 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
24767 PyObject
*swig_obj
[1] ;
24769 if (!args
) SWIG_fail
;
24770 swig_obj
[0] = args
;
24771 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
24772 if (!SWIG_IsOK(res1
)) {
24773 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_GetPaperSize" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
24775 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
24777 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24778 result
= (arg1
)->GetPaperSize();
24779 wxPyEndAllowThreads(__tstate
);
24780 if (PyErr_Occurred()) SWIG_fail
;
24782 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
24789 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_GetPrintData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24790 PyObject
*resultobj
= 0;
24791 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
24792 wxPrintData
*result
= 0 ;
24795 PyObject
*swig_obj
[1] ;
24797 if (!args
) SWIG_fail
;
24798 swig_obj
[0] = args
;
24799 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
24800 if (!SWIG_IsOK(res1
)) {
24801 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_GetPrintData" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
24803 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
24805 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24807 wxPrintData
&_result_ref
= (arg1
)->GetPrintData();
24808 result
= (wxPrintData
*) &_result_ref
;
24810 wxPyEndAllowThreads(__tstate
);
24811 if (PyErr_Occurred()) SWIG_fail
;
24813 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPrintData
, 0 | 0 );
24820 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_Ok(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24821 PyObject
*resultobj
= 0;
24822 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
24826 PyObject
*swig_obj
[1] ;
24828 if (!args
) SWIG_fail
;
24829 swig_obj
[0] = args
;
24830 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
24831 if (!SWIG_IsOK(res1
)) {
24832 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_Ok" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
24834 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
24836 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24837 result
= (bool)(arg1
)->Ok();
24838 wxPyEndAllowThreads(__tstate
);
24839 if (PyErr_Occurred()) SWIG_fail
;
24842 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24850 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_SetDefaultInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24851 PyObject
*resultobj
= 0;
24852 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
24858 PyObject
* obj0
= 0 ;
24859 PyObject
* obj1
= 0 ;
24860 char * kwnames
[] = {
24861 (char *) "self",(char *) "flag", NULL
24864 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetDefaultInfo",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24865 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
24866 if (!SWIG_IsOK(res1
)) {
24867 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_SetDefaultInfo" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
24869 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
24870 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
24871 if (!SWIG_IsOK(ecode2
)) {
24872 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PageSetupDialogData_SetDefaultInfo" "', expected argument " "2"" of type '" "bool""'");
24874 arg2
= static_cast< bool >(val2
);
24876 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24877 (arg1
)->SetDefaultInfo(arg2
);
24878 wxPyEndAllowThreads(__tstate
);
24879 if (PyErr_Occurred()) SWIG_fail
;
24881 resultobj
= SWIG_Py_Void();
24888 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_SetDefaultMinMargins(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24889 PyObject
*resultobj
= 0;
24890 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
24896 PyObject
* obj0
= 0 ;
24897 PyObject
* obj1
= 0 ;
24898 char * kwnames
[] = {
24899 (char *) "self",(char *) "flag", NULL
24902 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetDefaultMinMargins",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24903 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
24904 if (!SWIG_IsOK(res1
)) {
24905 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_SetDefaultMinMargins" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
24907 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
24908 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
24909 if (!SWIG_IsOK(ecode2
)) {
24910 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PageSetupDialogData_SetDefaultMinMargins" "', expected argument " "2"" of type '" "bool""'");
24912 arg2
= static_cast< bool >(val2
);
24914 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24915 (arg1
)->SetDefaultMinMargins(arg2
);
24916 wxPyEndAllowThreads(__tstate
);
24917 if (PyErr_Occurred()) SWIG_fail
;
24919 resultobj
= SWIG_Py_Void();
24926 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_SetMarginTopLeft(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24927 PyObject
*resultobj
= 0;
24928 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
24929 wxPoint
*arg2
= 0 ;
24933 PyObject
* obj0
= 0 ;
24934 PyObject
* obj1
= 0 ;
24935 char * kwnames
[] = {
24936 (char *) "self",(char *) "pt", NULL
24939 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetMarginTopLeft",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24940 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
24941 if (!SWIG_IsOK(res1
)) {
24942 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_SetMarginTopLeft" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
24944 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
24947 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
24950 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24951 (arg1
)->SetMarginTopLeft((wxPoint
const &)*arg2
);
24952 wxPyEndAllowThreads(__tstate
);
24953 if (PyErr_Occurred()) SWIG_fail
;
24955 resultobj
= SWIG_Py_Void();
24962 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_SetMarginBottomRight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24963 PyObject
*resultobj
= 0;
24964 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
24965 wxPoint
*arg2
= 0 ;
24969 PyObject
* obj0
= 0 ;
24970 PyObject
* obj1
= 0 ;
24971 char * kwnames
[] = {
24972 (char *) "self",(char *) "pt", NULL
24975 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetMarginBottomRight",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24976 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
24977 if (!SWIG_IsOK(res1
)) {
24978 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_SetMarginBottomRight" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
24980 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
24983 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
24986 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24987 (arg1
)->SetMarginBottomRight((wxPoint
const &)*arg2
);
24988 wxPyEndAllowThreads(__tstate
);
24989 if (PyErr_Occurred()) SWIG_fail
;
24991 resultobj
= SWIG_Py_Void();
24998 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_SetMinMarginTopLeft(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24999 PyObject
*resultobj
= 0;
25000 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
25001 wxPoint
*arg2
= 0 ;
25005 PyObject
* obj0
= 0 ;
25006 PyObject
* obj1
= 0 ;
25007 char * kwnames
[] = {
25008 (char *) "self",(char *) "pt", NULL
25011 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetMinMarginTopLeft",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25012 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
25013 if (!SWIG_IsOK(res1
)) {
25014 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_SetMinMarginTopLeft" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25016 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
25019 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
25022 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25023 (arg1
)->SetMinMarginTopLeft((wxPoint
const &)*arg2
);
25024 wxPyEndAllowThreads(__tstate
);
25025 if (PyErr_Occurred()) SWIG_fail
;
25027 resultobj
= SWIG_Py_Void();
25034 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_SetMinMarginBottomRight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25035 PyObject
*resultobj
= 0;
25036 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
25037 wxPoint
*arg2
= 0 ;
25041 PyObject
* obj0
= 0 ;
25042 PyObject
* obj1
= 0 ;
25043 char * kwnames
[] = {
25044 (char *) "self",(char *) "pt", NULL
25047 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetMinMarginBottomRight",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25048 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
25049 if (!SWIG_IsOK(res1
)) {
25050 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_SetMinMarginBottomRight" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25052 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
25055 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
25058 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25059 (arg1
)->SetMinMarginBottomRight((wxPoint
const &)*arg2
);
25060 wxPyEndAllowThreads(__tstate
);
25061 if (PyErr_Occurred()) SWIG_fail
;
25063 resultobj
= SWIG_Py_Void();
25070 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_SetPaperId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25071 PyObject
*resultobj
= 0;
25072 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
25078 PyObject
* obj0
= 0 ;
25079 PyObject
* obj1
= 0 ;
25080 char * kwnames
[] = {
25081 (char *) "self",(char *) "id", NULL
25084 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetPaperId",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25085 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
25086 if (!SWIG_IsOK(res1
)) {
25087 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_SetPaperId" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25089 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
25090 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
25091 if (!SWIG_IsOK(ecode2
)) {
25092 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PageSetupDialogData_SetPaperId" "', expected argument " "2"" of type '" "wxPaperSize""'");
25094 arg2
= static_cast< wxPaperSize
>(val2
);
25096 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25097 (arg1
)->SetPaperId(arg2
);
25098 wxPyEndAllowThreads(__tstate
);
25099 if (PyErr_Occurred()) SWIG_fail
;
25101 resultobj
= SWIG_Py_Void();
25108 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_SetPaperSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25109 PyObject
*resultobj
= 0;
25110 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
25115 PyObject
* obj0
= 0 ;
25116 PyObject
* obj1
= 0 ;
25117 char * kwnames
[] = {
25118 (char *) "self",(char *) "size", NULL
25121 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetPaperSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25122 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
25123 if (!SWIG_IsOK(res1
)) {
25124 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_SetPaperSize" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25126 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
25129 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
25132 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25133 (arg1
)->SetPaperSize((wxSize
const &)*arg2
);
25134 wxPyEndAllowThreads(__tstate
);
25135 if (PyErr_Occurred()) SWIG_fail
;
25137 resultobj
= SWIG_Py_Void();
25144 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_SetPrintData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25145 PyObject
*resultobj
= 0;
25146 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
25147 wxPrintData
*arg2
= 0 ;
25152 PyObject
* obj0
= 0 ;
25153 PyObject
* obj1
= 0 ;
25154 char * kwnames
[] = {
25155 (char *) "self",(char *) "printData", NULL
25158 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetPrintData",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25159 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
25160 if (!SWIG_IsOK(res1
)) {
25161 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_SetPrintData" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25163 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
25164 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxPrintData
, 0 | 0);
25165 if (!SWIG_IsOK(res2
)) {
25166 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PageSetupDialogData_SetPrintData" "', expected argument " "2"" of type '" "wxPrintData const &""'");
25169 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PageSetupDialogData_SetPrintData" "', expected argument " "2"" of type '" "wxPrintData const &""'");
25171 arg2
= reinterpret_cast< wxPrintData
* >(argp2
);
25173 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25174 (arg1
)->SetPrintData((wxPrintData
const &)*arg2
);
25175 wxPyEndAllowThreads(__tstate
);
25176 if (PyErr_Occurred()) SWIG_fail
;
25178 resultobj
= SWIG_Py_Void();
25185 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_CalculateIdFromPaperSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25186 PyObject
*resultobj
= 0;
25187 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
25190 PyObject
*swig_obj
[1] ;
25192 if (!args
) SWIG_fail
;
25193 swig_obj
[0] = args
;
25194 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
25195 if (!SWIG_IsOK(res1
)) {
25196 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_CalculateIdFromPaperSize" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25198 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
25200 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25201 (arg1
)->CalculateIdFromPaperSize();
25202 wxPyEndAllowThreads(__tstate
);
25203 if (PyErr_Occurred()) SWIG_fail
;
25205 resultobj
= SWIG_Py_Void();
25212 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_CalculatePaperSizeFromId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25213 PyObject
*resultobj
= 0;
25214 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
25217 PyObject
*swig_obj
[1] ;
25219 if (!args
) SWIG_fail
;
25220 swig_obj
[0] = args
;
25221 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
25222 if (!SWIG_IsOK(res1
)) {
25223 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_CalculatePaperSizeFromId" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25225 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
25227 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25228 (arg1
)->CalculatePaperSizeFromId();
25229 wxPyEndAllowThreads(__tstate
);
25230 if (PyErr_Occurred()) SWIG_fail
;
25232 resultobj
= SWIG_Py_Void();
25239 SWIGINTERN PyObject
*PageSetupDialogData_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25241 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
25242 SWIG_TypeNewClientData(SWIGTYPE_p_wxPageSetupDialogData
, SWIG_NewClientData(obj
));
25243 return SWIG_Py_Void();
25246 SWIGINTERN PyObject
*PageSetupDialogData_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25247 return SWIG_Python_InitShadowInstance(args
);
25250 SWIGINTERN PyObject
*_wrap_new_PageSetupDialog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25251 PyObject
*resultobj
= 0;
25252 wxWindow
*arg1
= (wxWindow
*) 0 ;
25253 wxPageSetupDialogData
*arg2
= (wxPageSetupDialogData
*) NULL
;
25254 wxPageSetupDialog
*result
= 0 ;
25259 PyObject
* obj0
= 0 ;
25260 PyObject
* obj1
= 0 ;
25261 char * kwnames
[] = {
25262 (char *) "parent",(char *) "data", NULL
25265 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_PageSetupDialog",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25266 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
25267 if (!SWIG_IsOK(res1
)) {
25268 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PageSetupDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
25270 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
25272 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
25273 if (!SWIG_IsOK(res2
)) {
25274 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_PageSetupDialog" "', expected argument " "2"" of type '" "wxPageSetupDialogData *""'");
25276 arg2
= reinterpret_cast< wxPageSetupDialogData
* >(argp2
);
25279 if (!wxPyCheckForApp()) SWIG_fail
;
25280 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25281 result
= (wxPageSetupDialog
*)new wxPageSetupDialog(arg1
,arg2
);
25282 wxPyEndAllowThreads(__tstate
);
25283 if (PyErr_Occurred()) SWIG_fail
;
25285 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPageSetupDialog
, SWIG_POINTER_NEW
| 0 );
25292 SWIGINTERN PyObject
*_wrap_PageSetupDialog_GetPageSetupData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25293 PyObject
*resultobj
= 0;
25294 wxPageSetupDialog
*arg1
= (wxPageSetupDialog
*) 0 ;
25295 wxPageSetupDialogData
*result
= 0 ;
25298 PyObject
*swig_obj
[1] ;
25300 if (!args
) SWIG_fail
;
25301 swig_obj
[0] = args
;
25302 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialog
, 0 | 0 );
25303 if (!SWIG_IsOK(res1
)) {
25304 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialog_GetPageSetupData" "', expected argument " "1"" of type '" "wxPageSetupDialog *""'");
25306 arg1
= reinterpret_cast< wxPageSetupDialog
* >(argp1
);
25308 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25310 wxPageSetupDialogData
&_result_ref
= (arg1
)->GetPageSetupData();
25311 result
= (wxPageSetupDialogData
*) &_result_ref
;
25313 wxPyEndAllowThreads(__tstate
);
25314 if (PyErr_Occurred()) SWIG_fail
;
25316 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
25323 SWIGINTERN PyObject
*_wrap_PageSetupDialog_GetPageSetupDialogData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25324 PyObject
*resultobj
= 0;
25325 wxPageSetupDialog
*arg1
= (wxPageSetupDialog
*) 0 ;
25326 wxPageSetupDialogData
*result
= 0 ;
25329 PyObject
*swig_obj
[1] ;
25331 if (!args
) SWIG_fail
;
25332 swig_obj
[0] = args
;
25333 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialog
, 0 | 0 );
25334 if (!SWIG_IsOK(res1
)) {
25335 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialog_GetPageSetupDialogData" "', expected argument " "1"" of type '" "wxPageSetupDialog *""'");
25337 arg1
= reinterpret_cast< wxPageSetupDialog
* >(argp1
);
25339 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25341 wxPageSetupDialogData
&_result_ref
= (arg1
)->GetPageSetupDialogData();
25342 result
= (wxPageSetupDialogData
*) &_result_ref
;
25344 wxPyEndAllowThreads(__tstate
);
25345 if (PyErr_Occurred()) SWIG_fail
;
25347 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
25354 SWIGINTERN PyObject
*_wrap_PageSetupDialog_ShowModal(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25355 PyObject
*resultobj
= 0;
25356 wxPageSetupDialog
*arg1
= (wxPageSetupDialog
*) 0 ;
25360 PyObject
*swig_obj
[1] ;
25362 if (!args
) SWIG_fail
;
25363 swig_obj
[0] = args
;
25364 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialog
, 0 | 0 );
25365 if (!SWIG_IsOK(res1
)) {
25366 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialog_ShowModal" "', expected argument " "1"" of type '" "wxPageSetupDialog *""'");
25368 arg1
= reinterpret_cast< wxPageSetupDialog
* >(argp1
);
25370 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25371 result
= (int)(arg1
)->ShowModal();
25372 wxPyEndAllowThreads(__tstate
);
25373 if (PyErr_Occurred()) SWIG_fail
;
25375 resultobj
= SWIG_From_int(static_cast< int >(result
));
25382 SWIGINTERN PyObject
*PageSetupDialog_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25384 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
25385 SWIG_TypeNewClientData(SWIGTYPE_p_wxPageSetupDialog
, SWIG_NewClientData(obj
));
25386 return SWIG_Py_Void();
25389 SWIGINTERN PyObject
*PageSetupDialog_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25390 return SWIG_Python_InitShadowInstance(args
);
25393 SWIGINTERN PyObject
*_wrap_new_PrintDialogData__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**SWIGUNUSEDPARM(swig_obj
)) {
25394 PyObject
*resultobj
= 0;
25395 wxPrintDialogData
*result
= 0 ;
25397 if ((nobjs
< 0) || (nobjs
> 0)) SWIG_fail
;
25399 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25400 result
= (wxPrintDialogData
*)new wxPrintDialogData();
25401 wxPyEndAllowThreads(__tstate
);
25402 if (PyErr_Occurred()) SWIG_fail
;
25404 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPrintDialogData
, SWIG_POINTER_NEW
| 0 );
25411 SWIGINTERN PyObject
*_wrap_new_PrintDialogData__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
25412 PyObject
*resultobj
= 0;
25413 wxPrintData
*arg1
= 0 ;
25414 wxPrintDialogData
*result
= 0 ;
25418 if ((nobjs
< 1) || (nobjs
> 1)) SWIG_fail
;
25419 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxPrintData
, 0 | 0);
25420 if (!SWIG_IsOK(res1
)) {
25421 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PrintDialogData" "', expected argument " "1"" of type '" "wxPrintData const &""'");
25424 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_PrintDialogData" "', expected argument " "1"" of type '" "wxPrintData const &""'");
25426 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
25428 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25429 result
= (wxPrintDialogData
*)new wxPrintDialogData((wxPrintData
const &)*arg1
);
25430 wxPyEndAllowThreads(__tstate
);
25431 if (PyErr_Occurred()) SWIG_fail
;
25433 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPrintDialogData
, SWIG_POINTER_NEW
| 0 );
25440 SWIGINTERN PyObject
*_wrap_new_PrintDialogData__SWIG_2(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
25441 PyObject
*resultobj
= 0;
25442 wxPrintDialogData
*arg1
= 0 ;
25443 wxPrintDialogData
*result
= 0 ;
25447 if ((nobjs
< 1) || (nobjs
> 1)) SWIG_fail
;
25448 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxPrintDialogData
, 0 | 0);
25449 if (!SWIG_IsOK(res1
)) {
25450 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PrintDialogData" "', expected argument " "1"" of type '" "wxPrintDialogData const &""'");
25453 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_PrintDialogData" "', expected argument " "1"" of type '" "wxPrintDialogData const &""'");
25455 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
25457 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25458 result
= (wxPrintDialogData
*)new wxPrintDialogData((wxPrintDialogData
const &)*arg1
);
25459 wxPyEndAllowThreads(__tstate
);
25460 if (PyErr_Occurred()) SWIG_fail
;
25462 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPrintDialogData
, SWIG_POINTER_NEW
| 0 );
25469 SWIGINTERN PyObject
*_wrap_new_PrintDialogData(PyObject
*self
, PyObject
*args
) {
25473 if (!(argc
= SWIG_Python_UnpackTuple(args
,"new_PrintDialogData",0,1,argv
))) SWIG_fail
;
25476 return _wrap_new_PrintDialogData__SWIG_0(self
, argc
, argv
);
25481 int res
= SWIG_ConvertPtr(argv
[0], 0, SWIGTYPE_p_wxPrintData
, 0);
25482 _v
= SWIG_CheckState(res
);
25484 if (!_v
) goto check_2
;
25485 return _wrap_new_PrintDialogData__SWIG_1(self
, argc
, argv
);
25490 return _wrap_new_PrintDialogData__SWIG_2(self
, argc
, argv
);
25494 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'new_PrintDialogData'");
25499 SWIGINTERN PyObject
*_wrap_delete_PrintDialogData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25500 PyObject
*resultobj
= 0;
25501 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
25504 PyObject
*swig_obj
[1] ;
25506 if (!args
) SWIG_fail
;
25507 swig_obj
[0] = args
;
25508 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialogData
, SWIG_POINTER_DISOWN
| 0 );
25509 if (!SWIG_IsOK(res1
)) {
25510 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_PrintDialogData" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
25512 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
25514 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25517 wxPyEndAllowThreads(__tstate
);
25518 if (PyErr_Occurred()) SWIG_fail
;
25520 resultobj
= SWIG_Py_Void();
25527 SWIGINTERN PyObject
*_wrap_PrintDialogData_GetFromPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25528 PyObject
*resultobj
= 0;
25529 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
25533 PyObject
*swig_obj
[1] ;
25535 if (!args
) SWIG_fail
;
25536 swig_obj
[0] = args
;
25537 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
25538 if (!SWIG_IsOK(res1
)) {
25539 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_GetFromPage" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
25541 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
25543 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25544 result
= (int)((wxPrintDialogData
const *)arg1
)->GetFromPage();
25545 wxPyEndAllowThreads(__tstate
);
25546 if (PyErr_Occurred()) SWIG_fail
;
25548 resultobj
= SWIG_From_int(static_cast< int >(result
));
25555 SWIGINTERN PyObject
*_wrap_PrintDialogData_GetToPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25556 PyObject
*resultobj
= 0;
25557 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
25561 PyObject
*swig_obj
[1] ;
25563 if (!args
) SWIG_fail
;
25564 swig_obj
[0] = args
;
25565 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
25566 if (!SWIG_IsOK(res1
)) {
25567 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_GetToPage" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
25569 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
25571 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25572 result
= (int)((wxPrintDialogData
const *)arg1
)->GetToPage();
25573 wxPyEndAllowThreads(__tstate
);
25574 if (PyErr_Occurred()) SWIG_fail
;
25576 resultobj
= SWIG_From_int(static_cast< int >(result
));
25583 SWIGINTERN PyObject
*_wrap_PrintDialogData_GetMinPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25584 PyObject
*resultobj
= 0;
25585 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
25589 PyObject
*swig_obj
[1] ;
25591 if (!args
) SWIG_fail
;
25592 swig_obj
[0] = args
;
25593 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
25594 if (!SWIG_IsOK(res1
)) {
25595 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_GetMinPage" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
25597 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
25599 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25600 result
= (int)((wxPrintDialogData
const *)arg1
)->GetMinPage();
25601 wxPyEndAllowThreads(__tstate
);
25602 if (PyErr_Occurred()) SWIG_fail
;
25604 resultobj
= SWIG_From_int(static_cast< int >(result
));
25611 SWIGINTERN PyObject
*_wrap_PrintDialogData_GetMaxPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25612 PyObject
*resultobj
= 0;
25613 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
25617 PyObject
*swig_obj
[1] ;
25619 if (!args
) SWIG_fail
;
25620 swig_obj
[0] = args
;
25621 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
25622 if (!SWIG_IsOK(res1
)) {
25623 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_GetMaxPage" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
25625 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
25627 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25628 result
= (int)((wxPrintDialogData
const *)arg1
)->GetMaxPage();
25629 wxPyEndAllowThreads(__tstate
);
25630 if (PyErr_Occurred()) SWIG_fail
;
25632 resultobj
= SWIG_From_int(static_cast< int >(result
));
25639 SWIGINTERN PyObject
*_wrap_PrintDialogData_GetNoCopies(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25640 PyObject
*resultobj
= 0;
25641 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
25645 PyObject
*swig_obj
[1] ;
25647 if (!args
) SWIG_fail
;
25648 swig_obj
[0] = args
;
25649 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
25650 if (!SWIG_IsOK(res1
)) {
25651 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_GetNoCopies" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
25653 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
25655 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25656 result
= (int)((wxPrintDialogData
const *)arg1
)->GetNoCopies();
25657 wxPyEndAllowThreads(__tstate
);
25658 if (PyErr_Occurred()) SWIG_fail
;
25660 resultobj
= SWIG_From_int(static_cast< int >(result
));
25667 SWIGINTERN PyObject
*_wrap_PrintDialogData_GetAllPages(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25668 PyObject
*resultobj
= 0;
25669 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
25673 PyObject
*swig_obj
[1] ;
25675 if (!args
) SWIG_fail
;
25676 swig_obj
[0] = args
;
25677 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
25678 if (!SWIG_IsOK(res1
)) {
25679 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_GetAllPages" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
25681 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
25683 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25684 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetAllPages();
25685 wxPyEndAllowThreads(__tstate
);
25686 if (PyErr_Occurred()) SWIG_fail
;
25689 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25697 SWIGINTERN PyObject
*_wrap_PrintDialogData_GetSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25698 PyObject
*resultobj
= 0;
25699 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
25703 PyObject
*swig_obj
[1] ;
25705 if (!args
) SWIG_fail
;
25706 swig_obj
[0] = args
;
25707 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
25708 if (!SWIG_IsOK(res1
)) {
25709 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_GetSelection" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
25711 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
25713 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25714 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetSelection();
25715 wxPyEndAllowThreads(__tstate
);
25716 if (PyErr_Occurred()) SWIG_fail
;
25719 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25727 SWIGINTERN PyObject
*_wrap_PrintDialogData_GetCollate(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25728 PyObject
*resultobj
= 0;
25729 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
25733 PyObject
*swig_obj
[1] ;
25735 if (!args
) SWIG_fail
;
25736 swig_obj
[0] = args
;
25737 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
25738 if (!SWIG_IsOK(res1
)) {
25739 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_GetCollate" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
25741 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
25743 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25744 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetCollate();
25745 wxPyEndAllowThreads(__tstate
);
25746 if (PyErr_Occurred()) SWIG_fail
;
25749 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25757 SWIGINTERN PyObject
*_wrap_PrintDialogData_GetPrintToFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25758 PyObject
*resultobj
= 0;
25759 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
25763 PyObject
*swig_obj
[1] ;
25765 if (!args
) SWIG_fail
;
25766 swig_obj
[0] = args
;
25767 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
25768 if (!SWIG_IsOK(res1
)) {
25769 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_GetPrintToFile" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
25771 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
25773 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25774 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetPrintToFile();
25775 wxPyEndAllowThreads(__tstate
);
25776 if (PyErr_Occurred()) SWIG_fail
;
25779 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25787 SWIGINTERN PyObject
*_wrap_PrintDialogData_SetFromPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25788 PyObject
*resultobj
= 0;
25789 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
25795 PyObject
* obj0
= 0 ;
25796 PyObject
* obj1
= 0 ;
25797 char * kwnames
[] = {
25798 (char *) "self",(char *) "v", NULL
25801 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetFromPage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25802 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
25803 if (!SWIG_IsOK(res1
)) {
25804 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_SetFromPage" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
25806 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
25807 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
25808 if (!SWIG_IsOK(ecode2
)) {
25809 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintDialogData_SetFromPage" "', expected argument " "2"" of type '" "int""'");
25811 arg2
= static_cast< int >(val2
);
25813 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25814 (arg1
)->SetFromPage(arg2
);
25815 wxPyEndAllowThreads(__tstate
);
25816 if (PyErr_Occurred()) SWIG_fail
;
25818 resultobj
= SWIG_Py_Void();
25825 SWIGINTERN PyObject
*_wrap_PrintDialogData_SetToPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25826 PyObject
*resultobj
= 0;
25827 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
25833 PyObject
* obj0
= 0 ;
25834 PyObject
* obj1
= 0 ;
25835 char * kwnames
[] = {
25836 (char *) "self",(char *) "v", NULL
25839 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetToPage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25840 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
25841 if (!SWIG_IsOK(res1
)) {
25842 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_SetToPage" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
25844 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
25845 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
25846 if (!SWIG_IsOK(ecode2
)) {
25847 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintDialogData_SetToPage" "', expected argument " "2"" of type '" "int""'");
25849 arg2
= static_cast< int >(val2
);
25851 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25852 (arg1
)->SetToPage(arg2
);
25853 wxPyEndAllowThreads(__tstate
);
25854 if (PyErr_Occurred()) SWIG_fail
;
25856 resultobj
= SWIG_Py_Void();
25863 SWIGINTERN PyObject
*_wrap_PrintDialogData_SetMinPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25864 PyObject
*resultobj
= 0;
25865 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
25871 PyObject
* obj0
= 0 ;
25872 PyObject
* obj1
= 0 ;
25873 char * kwnames
[] = {
25874 (char *) "self",(char *) "v", NULL
25877 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetMinPage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25878 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
25879 if (!SWIG_IsOK(res1
)) {
25880 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_SetMinPage" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
25882 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
25883 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
25884 if (!SWIG_IsOK(ecode2
)) {
25885 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintDialogData_SetMinPage" "', expected argument " "2"" of type '" "int""'");
25887 arg2
= static_cast< int >(val2
);
25889 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25890 (arg1
)->SetMinPage(arg2
);
25891 wxPyEndAllowThreads(__tstate
);
25892 if (PyErr_Occurred()) SWIG_fail
;
25894 resultobj
= SWIG_Py_Void();
25901 SWIGINTERN PyObject
*_wrap_PrintDialogData_SetMaxPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25902 PyObject
*resultobj
= 0;
25903 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
25909 PyObject
* obj0
= 0 ;
25910 PyObject
* obj1
= 0 ;
25911 char * kwnames
[] = {
25912 (char *) "self",(char *) "v", NULL
25915 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetMaxPage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25916 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
25917 if (!SWIG_IsOK(res1
)) {
25918 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_SetMaxPage" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
25920 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
25921 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
25922 if (!SWIG_IsOK(ecode2
)) {
25923 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintDialogData_SetMaxPage" "', expected argument " "2"" of type '" "int""'");
25925 arg2
= static_cast< int >(val2
);
25927 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25928 (arg1
)->SetMaxPage(arg2
);
25929 wxPyEndAllowThreads(__tstate
);
25930 if (PyErr_Occurred()) SWIG_fail
;
25932 resultobj
= SWIG_Py_Void();
25939 SWIGINTERN PyObject
*_wrap_PrintDialogData_SetNoCopies(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25940 PyObject
*resultobj
= 0;
25941 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
25947 PyObject
* obj0
= 0 ;
25948 PyObject
* obj1
= 0 ;
25949 char * kwnames
[] = {
25950 (char *) "self",(char *) "v", NULL
25953 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetNoCopies",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25954 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
25955 if (!SWIG_IsOK(res1
)) {
25956 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_SetNoCopies" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
25958 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
25959 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
25960 if (!SWIG_IsOK(ecode2
)) {
25961 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintDialogData_SetNoCopies" "', expected argument " "2"" of type '" "int""'");
25963 arg2
= static_cast< int >(val2
);
25965 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25966 (arg1
)->SetNoCopies(arg2
);
25967 wxPyEndAllowThreads(__tstate
);
25968 if (PyErr_Occurred()) SWIG_fail
;
25970 resultobj
= SWIG_Py_Void();
25977 SWIGINTERN PyObject
*_wrap_PrintDialogData_SetAllPages(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25978 PyObject
*resultobj
= 0;
25979 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
25985 PyObject
* obj0
= 0 ;
25986 PyObject
* obj1
= 0 ;
25987 char * kwnames
[] = {
25988 (char *) "self",(char *) "flag", NULL
25991 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetAllPages",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25992 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
25993 if (!SWIG_IsOK(res1
)) {
25994 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_SetAllPages" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
25996 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
25997 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
25998 if (!SWIG_IsOK(ecode2
)) {
25999 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintDialogData_SetAllPages" "', expected argument " "2"" of type '" "bool""'");
26001 arg2
= static_cast< bool >(val2
);
26003 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26004 (arg1
)->SetAllPages(arg2
);
26005 wxPyEndAllowThreads(__tstate
);
26006 if (PyErr_Occurred()) SWIG_fail
;
26008 resultobj
= SWIG_Py_Void();
26015 SWIGINTERN PyObject
*_wrap_PrintDialogData_SetSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26016 PyObject
*resultobj
= 0;
26017 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
26023 PyObject
* obj0
= 0 ;
26024 PyObject
* obj1
= 0 ;
26025 char * kwnames
[] = {
26026 (char *) "self",(char *) "flag", NULL
26029 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetSelection",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26030 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
26031 if (!SWIG_IsOK(res1
)) {
26032 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_SetSelection" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26034 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
26035 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
26036 if (!SWIG_IsOK(ecode2
)) {
26037 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintDialogData_SetSelection" "', expected argument " "2"" of type '" "bool""'");
26039 arg2
= static_cast< bool >(val2
);
26041 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26042 (arg1
)->SetSelection(arg2
);
26043 wxPyEndAllowThreads(__tstate
);
26044 if (PyErr_Occurred()) SWIG_fail
;
26046 resultobj
= SWIG_Py_Void();
26053 SWIGINTERN PyObject
*_wrap_PrintDialogData_SetCollate(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26054 PyObject
*resultobj
= 0;
26055 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
26061 PyObject
* obj0
= 0 ;
26062 PyObject
* obj1
= 0 ;
26063 char * kwnames
[] = {
26064 (char *) "self",(char *) "flag", NULL
26067 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetCollate",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26068 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
26069 if (!SWIG_IsOK(res1
)) {
26070 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_SetCollate" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26072 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
26073 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
26074 if (!SWIG_IsOK(ecode2
)) {
26075 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintDialogData_SetCollate" "', expected argument " "2"" of type '" "bool""'");
26077 arg2
= static_cast< bool >(val2
);
26079 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26080 (arg1
)->SetCollate(arg2
);
26081 wxPyEndAllowThreads(__tstate
);
26082 if (PyErr_Occurred()) SWIG_fail
;
26084 resultobj
= SWIG_Py_Void();
26091 SWIGINTERN PyObject
*_wrap_PrintDialogData_SetPrintToFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26092 PyObject
*resultobj
= 0;
26093 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
26099 PyObject
* obj0
= 0 ;
26100 PyObject
* obj1
= 0 ;
26101 char * kwnames
[] = {
26102 (char *) "self",(char *) "flag", NULL
26105 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetPrintToFile",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26106 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
26107 if (!SWIG_IsOK(res1
)) {
26108 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_SetPrintToFile" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26110 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
26111 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
26112 if (!SWIG_IsOK(ecode2
)) {
26113 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintDialogData_SetPrintToFile" "', expected argument " "2"" of type '" "bool""'");
26115 arg2
= static_cast< bool >(val2
);
26117 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26118 (arg1
)->SetPrintToFile(arg2
);
26119 wxPyEndAllowThreads(__tstate
);
26120 if (PyErr_Occurred()) SWIG_fail
;
26122 resultobj
= SWIG_Py_Void();
26129 SWIGINTERN PyObject
*_wrap_PrintDialogData_EnablePrintToFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26130 PyObject
*resultobj
= 0;
26131 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
26137 PyObject
* obj0
= 0 ;
26138 PyObject
* obj1
= 0 ;
26139 char * kwnames
[] = {
26140 (char *) "self",(char *) "flag", NULL
26143 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_EnablePrintToFile",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26144 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
26145 if (!SWIG_IsOK(res1
)) {
26146 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_EnablePrintToFile" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26148 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
26149 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
26150 if (!SWIG_IsOK(ecode2
)) {
26151 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintDialogData_EnablePrintToFile" "', expected argument " "2"" of type '" "bool""'");
26153 arg2
= static_cast< bool >(val2
);
26155 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26156 (arg1
)->EnablePrintToFile(arg2
);
26157 wxPyEndAllowThreads(__tstate
);
26158 if (PyErr_Occurred()) SWIG_fail
;
26160 resultobj
= SWIG_Py_Void();
26167 SWIGINTERN PyObject
*_wrap_PrintDialogData_EnableSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26168 PyObject
*resultobj
= 0;
26169 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
26175 PyObject
* obj0
= 0 ;
26176 PyObject
* obj1
= 0 ;
26177 char * kwnames
[] = {
26178 (char *) "self",(char *) "flag", NULL
26181 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_EnableSelection",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26182 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
26183 if (!SWIG_IsOK(res1
)) {
26184 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_EnableSelection" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26186 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
26187 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
26188 if (!SWIG_IsOK(ecode2
)) {
26189 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintDialogData_EnableSelection" "', expected argument " "2"" of type '" "bool""'");
26191 arg2
= static_cast< bool >(val2
);
26193 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26194 (arg1
)->EnableSelection(arg2
);
26195 wxPyEndAllowThreads(__tstate
);
26196 if (PyErr_Occurred()) SWIG_fail
;
26198 resultobj
= SWIG_Py_Void();
26205 SWIGINTERN PyObject
*_wrap_PrintDialogData_EnablePageNumbers(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26206 PyObject
*resultobj
= 0;
26207 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
26213 PyObject
* obj0
= 0 ;
26214 PyObject
* obj1
= 0 ;
26215 char * kwnames
[] = {
26216 (char *) "self",(char *) "flag", NULL
26219 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_EnablePageNumbers",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26220 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
26221 if (!SWIG_IsOK(res1
)) {
26222 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_EnablePageNumbers" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26224 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
26225 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
26226 if (!SWIG_IsOK(ecode2
)) {
26227 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintDialogData_EnablePageNumbers" "', expected argument " "2"" of type '" "bool""'");
26229 arg2
= static_cast< bool >(val2
);
26231 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26232 (arg1
)->EnablePageNumbers(arg2
);
26233 wxPyEndAllowThreads(__tstate
);
26234 if (PyErr_Occurred()) SWIG_fail
;
26236 resultobj
= SWIG_Py_Void();
26243 SWIGINTERN PyObject
*_wrap_PrintDialogData_EnableHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26244 PyObject
*resultobj
= 0;
26245 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
26251 PyObject
* obj0
= 0 ;
26252 PyObject
* obj1
= 0 ;
26253 char * kwnames
[] = {
26254 (char *) "self",(char *) "flag", NULL
26257 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_EnableHelp",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26258 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
26259 if (!SWIG_IsOK(res1
)) {
26260 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_EnableHelp" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26262 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
26263 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
26264 if (!SWIG_IsOK(ecode2
)) {
26265 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintDialogData_EnableHelp" "', expected argument " "2"" of type '" "bool""'");
26267 arg2
= static_cast< bool >(val2
);
26269 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26270 (arg1
)->EnableHelp(arg2
);
26271 wxPyEndAllowThreads(__tstate
);
26272 if (PyErr_Occurred()) SWIG_fail
;
26274 resultobj
= SWIG_Py_Void();
26281 SWIGINTERN PyObject
*_wrap_PrintDialogData_GetEnablePrintToFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26282 PyObject
*resultobj
= 0;
26283 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
26287 PyObject
*swig_obj
[1] ;
26289 if (!args
) SWIG_fail
;
26290 swig_obj
[0] = args
;
26291 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
26292 if (!SWIG_IsOK(res1
)) {
26293 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_GetEnablePrintToFile" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
26295 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
26297 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26298 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetEnablePrintToFile();
26299 wxPyEndAllowThreads(__tstate
);
26300 if (PyErr_Occurred()) SWIG_fail
;
26303 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26311 SWIGINTERN PyObject
*_wrap_PrintDialogData_GetEnableSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26312 PyObject
*resultobj
= 0;
26313 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
26317 PyObject
*swig_obj
[1] ;
26319 if (!args
) SWIG_fail
;
26320 swig_obj
[0] = args
;
26321 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
26322 if (!SWIG_IsOK(res1
)) {
26323 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_GetEnableSelection" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
26325 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
26327 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26328 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetEnableSelection();
26329 wxPyEndAllowThreads(__tstate
);
26330 if (PyErr_Occurred()) SWIG_fail
;
26333 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26341 SWIGINTERN PyObject
*_wrap_PrintDialogData_GetEnablePageNumbers(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26342 PyObject
*resultobj
= 0;
26343 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
26347 PyObject
*swig_obj
[1] ;
26349 if (!args
) SWIG_fail
;
26350 swig_obj
[0] = args
;
26351 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
26352 if (!SWIG_IsOK(res1
)) {
26353 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_GetEnablePageNumbers" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
26355 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
26357 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26358 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetEnablePageNumbers();
26359 wxPyEndAllowThreads(__tstate
);
26360 if (PyErr_Occurred()) SWIG_fail
;
26363 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26371 SWIGINTERN PyObject
*_wrap_PrintDialogData_GetEnableHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26372 PyObject
*resultobj
= 0;
26373 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
26377 PyObject
*swig_obj
[1] ;
26379 if (!args
) SWIG_fail
;
26380 swig_obj
[0] = args
;
26381 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
26382 if (!SWIG_IsOK(res1
)) {
26383 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_GetEnableHelp" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
26385 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
26387 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26388 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetEnableHelp();
26389 wxPyEndAllowThreads(__tstate
);
26390 if (PyErr_Occurred()) SWIG_fail
;
26393 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26401 SWIGINTERN PyObject
*_wrap_PrintDialogData_Ok(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26402 PyObject
*resultobj
= 0;
26403 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
26407 PyObject
*swig_obj
[1] ;
26409 if (!args
) SWIG_fail
;
26410 swig_obj
[0] = args
;
26411 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
26412 if (!SWIG_IsOK(res1
)) {
26413 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_Ok" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
26415 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
26417 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26418 result
= (bool)((wxPrintDialogData
const *)arg1
)->Ok();
26419 wxPyEndAllowThreads(__tstate
);
26420 if (PyErr_Occurred()) SWIG_fail
;
26423 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26431 SWIGINTERN PyObject
*_wrap_PrintDialogData_GetPrintData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26432 PyObject
*resultobj
= 0;
26433 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
26434 wxPrintData
*result
= 0 ;
26437 PyObject
*swig_obj
[1] ;
26439 if (!args
) SWIG_fail
;
26440 swig_obj
[0] = args
;
26441 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
26442 if (!SWIG_IsOK(res1
)) {
26443 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_GetPrintData" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26445 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
26447 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26449 wxPrintData
&_result_ref
= (arg1
)->GetPrintData();
26450 result
= (wxPrintData
*) &_result_ref
;
26452 wxPyEndAllowThreads(__tstate
);
26453 if (PyErr_Occurred()) SWIG_fail
;
26455 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPrintData
, 0 | 0 );
26462 SWIGINTERN PyObject
*_wrap_PrintDialogData_SetPrintData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26463 PyObject
*resultobj
= 0;
26464 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
26465 wxPrintData
*arg2
= 0 ;
26470 PyObject
* obj0
= 0 ;
26471 PyObject
* obj1
= 0 ;
26472 char * kwnames
[] = {
26473 (char *) "self",(char *) "printData", NULL
26476 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetPrintData",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26477 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
26478 if (!SWIG_IsOK(res1
)) {
26479 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_SetPrintData" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26481 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
26482 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxPrintData
, 0 | 0);
26483 if (!SWIG_IsOK(res2
)) {
26484 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PrintDialogData_SetPrintData" "', expected argument " "2"" of type '" "wxPrintData const &""'");
26487 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PrintDialogData_SetPrintData" "', expected argument " "2"" of type '" "wxPrintData const &""'");
26489 arg2
= reinterpret_cast< wxPrintData
* >(argp2
);
26491 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26492 (arg1
)->SetPrintData((wxPrintData
const &)*arg2
);
26493 wxPyEndAllowThreads(__tstate
);
26494 if (PyErr_Occurred()) SWIG_fail
;
26496 resultobj
= SWIG_Py_Void();
26503 SWIGINTERN PyObject
*PrintDialogData_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26505 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
26506 SWIG_TypeNewClientData(SWIGTYPE_p_wxPrintDialogData
, SWIG_NewClientData(obj
));
26507 return SWIG_Py_Void();
26510 SWIGINTERN PyObject
*PrintDialogData_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26511 return SWIG_Python_InitShadowInstance(args
);
26514 SWIGINTERN PyObject
*_wrap_new_PrintDialog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26515 PyObject
*resultobj
= 0;
26516 wxWindow
*arg1
= (wxWindow
*) 0 ;
26517 wxPrintDialogData
*arg2
= (wxPrintDialogData
*) NULL
;
26518 wxPrintDialog
*result
= 0 ;
26523 PyObject
* obj0
= 0 ;
26524 PyObject
* obj1
= 0 ;
26525 char * kwnames
[] = {
26526 (char *) "parent",(char *) "data", NULL
26529 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_PrintDialog",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26530 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
26531 if (!SWIG_IsOK(res1
)) {
26532 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PrintDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
26534 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
26536 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
26537 if (!SWIG_IsOK(res2
)) {
26538 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_PrintDialog" "', expected argument " "2"" of type '" "wxPrintDialogData *""'");
26540 arg2
= reinterpret_cast< wxPrintDialogData
* >(argp2
);
26543 if (!wxPyCheckForApp()) SWIG_fail
;
26544 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26545 result
= (wxPrintDialog
*)new wxPrintDialog(arg1
,arg2
);
26546 wxPyEndAllowThreads(__tstate
);
26547 if (PyErr_Occurred()) SWIG_fail
;
26549 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPrintDialog
, SWIG_POINTER_NEW
| 0 );
26556 SWIGINTERN PyObject
*_wrap_PrintDialog_ShowModal(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26557 PyObject
*resultobj
= 0;
26558 wxPrintDialog
*arg1
= (wxPrintDialog
*) 0 ;
26562 PyObject
*swig_obj
[1] ;
26564 if (!args
) SWIG_fail
;
26565 swig_obj
[0] = args
;
26566 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialog
, 0 | 0 );
26567 if (!SWIG_IsOK(res1
)) {
26568 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialog_ShowModal" "', expected argument " "1"" of type '" "wxPrintDialog *""'");
26570 arg1
= reinterpret_cast< wxPrintDialog
* >(argp1
);
26572 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26573 result
= (int)(arg1
)->ShowModal();
26574 wxPyEndAllowThreads(__tstate
);
26575 if (PyErr_Occurred()) SWIG_fail
;
26577 resultobj
= SWIG_From_int(static_cast< int >(result
));
26584 SWIGINTERN PyObject
*_wrap_PrintDialog_GetPrintDialogData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26585 PyObject
*resultobj
= 0;
26586 wxPrintDialog
*arg1
= (wxPrintDialog
*) 0 ;
26587 wxPrintDialogData
*result
= 0 ;
26590 PyObject
*swig_obj
[1] ;
26592 if (!args
) SWIG_fail
;
26593 swig_obj
[0] = args
;
26594 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialog
, 0 | 0 );
26595 if (!SWIG_IsOK(res1
)) {
26596 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialog_GetPrintDialogData" "', expected argument " "1"" of type '" "wxPrintDialog *""'");
26598 arg1
= reinterpret_cast< wxPrintDialog
* >(argp1
);
26600 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26602 wxPrintDialogData
&_result_ref
= (arg1
)->GetPrintDialogData();
26603 result
= (wxPrintDialogData
*) &_result_ref
;
26605 wxPyEndAllowThreads(__tstate
);
26606 if (PyErr_Occurred()) SWIG_fail
;
26608 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
26615 SWIGINTERN PyObject
*_wrap_PrintDialog_GetPrintData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26616 PyObject
*resultobj
= 0;
26617 wxPrintDialog
*arg1
= (wxPrintDialog
*) 0 ;
26618 wxPrintData
*result
= 0 ;
26621 PyObject
*swig_obj
[1] ;
26623 if (!args
) SWIG_fail
;
26624 swig_obj
[0] = args
;
26625 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialog
, 0 | 0 );
26626 if (!SWIG_IsOK(res1
)) {
26627 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialog_GetPrintData" "', expected argument " "1"" of type '" "wxPrintDialog *""'");
26629 arg1
= reinterpret_cast< wxPrintDialog
* >(argp1
);
26631 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26633 wxPrintData
&_result_ref
= (arg1
)->GetPrintData();
26634 result
= (wxPrintData
*) &_result_ref
;
26636 wxPyEndAllowThreads(__tstate
);
26637 if (PyErr_Occurred()) SWIG_fail
;
26639 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPrintData
, 0 | 0 );
26646 SWIGINTERN PyObject
*_wrap_PrintDialog_GetPrintDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26647 PyObject
*resultobj
= 0;
26648 wxPrintDialog
*arg1
= (wxPrintDialog
*) 0 ;
26652 PyObject
*swig_obj
[1] ;
26654 if (!args
) SWIG_fail
;
26655 swig_obj
[0] = args
;
26656 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialog
, 0 | 0 );
26657 if (!SWIG_IsOK(res1
)) {
26658 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialog_GetPrintDC" "', expected argument " "1"" of type '" "wxPrintDialog *""'");
26660 arg1
= reinterpret_cast< wxPrintDialog
* >(argp1
);
26662 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26663 result
= (wxDC
*)(arg1
)->GetPrintDC();
26664 wxPyEndAllowThreads(__tstate
);
26665 if (PyErr_Occurred()) SWIG_fail
;
26668 resultobj
= wxPyMake_wxObject(result
, (bool)SWIG_POINTER_OWN
);
26676 SWIGINTERN PyObject
*PrintDialog_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26678 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
26679 SWIG_TypeNewClientData(SWIGTYPE_p_wxPrintDialog
, SWIG_NewClientData(obj
));
26680 return SWIG_Py_Void();
26683 SWIGINTERN PyObject
*PrintDialog_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26684 return SWIG_Python_InitShadowInstance(args
);
26687 SWIGINTERN PyObject
*_wrap_new_Printer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26688 PyObject
*resultobj
= 0;
26689 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) NULL
;
26690 wxPrinter
*result
= 0 ;
26693 PyObject
* obj0
= 0 ;
26694 char * kwnames
[] = {
26695 (char *) "data", NULL
26698 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_Printer",kwnames
,&obj0
)) SWIG_fail
;
26700 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
26701 if (!SWIG_IsOK(res1
)) {
26702 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_Printer" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26704 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
26707 if (!wxPyCheckForApp()) SWIG_fail
;
26708 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26709 result
= (wxPrinter
*)new wxPrinter(arg1
);
26710 wxPyEndAllowThreads(__tstate
);
26711 if (PyErr_Occurred()) SWIG_fail
;
26713 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPrinter
, SWIG_POINTER_NEW
| 0 );
26720 SWIGINTERN PyObject
*_wrap_delete_Printer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26721 PyObject
*resultobj
= 0;
26722 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
26725 PyObject
*swig_obj
[1] ;
26727 if (!args
) SWIG_fail
;
26728 swig_obj
[0] = args
;
26729 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrinter
, SWIG_POINTER_DISOWN
| 0 );
26730 if (!SWIG_IsOK(res1
)) {
26731 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Printer" "', expected argument " "1"" of type '" "wxPrinter *""'");
26733 arg1
= reinterpret_cast< wxPrinter
* >(argp1
);
26735 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26738 wxPyEndAllowThreads(__tstate
);
26739 if (PyErr_Occurred()) SWIG_fail
;
26741 resultobj
= SWIG_Py_Void();
26748 SWIGINTERN PyObject
*_wrap_Printer_CreateAbortWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26749 PyObject
*resultobj
= 0;
26750 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
26751 wxWindow
*arg2
= (wxWindow
*) 0 ;
26752 wxPyPrintout
*arg3
= (wxPyPrintout
*) 0 ;
26753 wxWindow
*result
= 0 ;
26760 PyObject
* obj0
= 0 ;
26761 PyObject
* obj1
= 0 ;
26762 PyObject
* obj2
= 0 ;
26763 char * kwnames
[] = {
26764 (char *) "self",(char *) "parent",(char *) "printout", NULL
26767 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Printer_CreateAbortWindow",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
26768 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrinter
, 0 | 0 );
26769 if (!SWIG_IsOK(res1
)) {
26770 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printer_CreateAbortWindow" "', expected argument " "1"" of type '" "wxPrinter *""'");
26772 arg1
= reinterpret_cast< wxPrinter
* >(argp1
);
26773 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
26774 if (!SWIG_IsOK(res2
)) {
26775 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Printer_CreateAbortWindow" "', expected argument " "2"" of type '" "wxWindow *""'");
26777 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
26778 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
26779 if (!SWIG_IsOK(res3
)) {
26780 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "Printer_CreateAbortWindow" "', expected argument " "3"" of type '" "wxPyPrintout *""'");
26782 arg3
= reinterpret_cast< wxPyPrintout
* >(argp3
);
26784 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26785 result
= (wxWindow
*)(arg1
)->CreateAbortWindow(arg2
,arg3
);
26786 wxPyEndAllowThreads(__tstate
);
26787 if (PyErr_Occurred()) SWIG_fail
;
26790 resultobj
= wxPyMake_wxObject(result
, 0);
26798 SWIGINTERN PyObject
*_wrap_Printer_ReportError(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26799 PyObject
*resultobj
= 0;
26800 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
26801 wxWindow
*arg2
= (wxWindow
*) 0 ;
26802 wxPyPrintout
*arg3
= (wxPyPrintout
*) 0 ;
26803 wxString
*arg4
= 0 ;
26810 bool temp4
= false ;
26811 PyObject
* obj0
= 0 ;
26812 PyObject
* obj1
= 0 ;
26813 PyObject
* obj2
= 0 ;
26814 PyObject
* obj3
= 0 ;
26815 char * kwnames
[] = {
26816 (char *) "self",(char *) "parent",(char *) "printout",(char *) "message", NULL
26819 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Printer_ReportError",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
26820 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrinter
, 0 | 0 );
26821 if (!SWIG_IsOK(res1
)) {
26822 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printer_ReportError" "', expected argument " "1"" of type '" "wxPrinter *""'");
26824 arg1
= reinterpret_cast< wxPrinter
* >(argp1
);
26825 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
26826 if (!SWIG_IsOK(res2
)) {
26827 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Printer_ReportError" "', expected argument " "2"" of type '" "wxWindow *""'");
26829 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
26830 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
26831 if (!SWIG_IsOK(res3
)) {
26832 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "Printer_ReportError" "', expected argument " "3"" of type '" "wxPyPrintout *""'");
26834 arg3
= reinterpret_cast< wxPyPrintout
* >(argp3
);
26836 arg4
= wxString_in_helper(obj3
);
26837 if (arg4
== NULL
) SWIG_fail
;
26841 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26842 (arg1
)->ReportError(arg2
,arg3
,(wxString
const &)*arg4
);
26843 wxPyEndAllowThreads(__tstate
);
26844 if (PyErr_Occurred()) SWIG_fail
;
26846 resultobj
= SWIG_Py_Void();
26861 SWIGINTERN PyObject
*_wrap_Printer_Setup(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26862 PyObject
*resultobj
= 0;
26863 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
26864 wxWindow
*arg2
= (wxWindow
*) 0 ;
26870 PyObject
* obj0
= 0 ;
26871 PyObject
* obj1
= 0 ;
26872 char * kwnames
[] = {
26873 (char *) "self",(char *) "parent", NULL
26876 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Printer_Setup",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26877 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrinter
, 0 | 0 );
26878 if (!SWIG_IsOK(res1
)) {
26879 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printer_Setup" "', expected argument " "1"" of type '" "wxPrinter *""'");
26881 arg1
= reinterpret_cast< wxPrinter
* >(argp1
);
26882 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
26883 if (!SWIG_IsOK(res2
)) {
26884 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Printer_Setup" "', expected argument " "2"" of type '" "wxWindow *""'");
26886 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
26888 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26889 result
= (bool)(arg1
)->Setup(arg2
);
26890 wxPyEndAllowThreads(__tstate
);
26891 if (PyErr_Occurred()) SWIG_fail
;
26894 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26902 SWIGINTERN PyObject
*_wrap_Printer_Print(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26903 PyObject
*resultobj
= 0;
26904 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
26905 wxWindow
*arg2
= (wxWindow
*) 0 ;
26906 wxPyPrintout
*arg3
= (wxPyPrintout
*) 0 ;
26907 bool arg4
= (bool) true ;
26917 PyObject
* obj0
= 0 ;
26918 PyObject
* obj1
= 0 ;
26919 PyObject
* obj2
= 0 ;
26920 PyObject
* obj3
= 0 ;
26921 char * kwnames
[] = {
26922 (char *) "self",(char *) "parent",(char *) "printout",(char *) "prompt", NULL
26925 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Printer_Print",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
26926 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrinter
, 0 | 0 );
26927 if (!SWIG_IsOK(res1
)) {
26928 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printer_Print" "', expected argument " "1"" of type '" "wxPrinter *""'");
26930 arg1
= reinterpret_cast< wxPrinter
* >(argp1
);
26931 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
26932 if (!SWIG_IsOK(res2
)) {
26933 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Printer_Print" "', expected argument " "2"" of type '" "wxWindow *""'");
26935 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
26936 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
26937 if (!SWIG_IsOK(res3
)) {
26938 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "Printer_Print" "', expected argument " "3"" of type '" "wxPyPrintout *""'");
26940 arg3
= reinterpret_cast< wxPyPrintout
* >(argp3
);
26942 ecode4
= SWIG_AsVal_bool(obj3
, &val4
);
26943 if (!SWIG_IsOK(ecode4
)) {
26944 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Printer_Print" "', expected argument " "4"" of type '" "bool""'");
26946 arg4
= static_cast< bool >(val4
);
26949 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26950 result
= (bool)(arg1
)->Print(arg2
,arg3
,arg4
);
26951 wxPyEndAllowThreads(__tstate
);
26952 if (PyErr_Occurred()) SWIG_fail
;
26955 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26963 SWIGINTERN PyObject
*_wrap_Printer_PrintDialog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26964 PyObject
*resultobj
= 0;
26965 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
26966 wxWindow
*arg2
= (wxWindow
*) 0 ;
26972 PyObject
* obj0
= 0 ;
26973 PyObject
* obj1
= 0 ;
26974 char * kwnames
[] = {
26975 (char *) "self",(char *) "parent", NULL
26978 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Printer_PrintDialog",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26979 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrinter
, 0 | 0 );
26980 if (!SWIG_IsOK(res1
)) {
26981 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printer_PrintDialog" "', expected argument " "1"" of type '" "wxPrinter *""'");
26983 arg1
= reinterpret_cast< wxPrinter
* >(argp1
);
26984 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
26985 if (!SWIG_IsOK(res2
)) {
26986 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Printer_PrintDialog" "', expected argument " "2"" of type '" "wxWindow *""'");
26988 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
26990 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26991 result
= (wxDC
*)(arg1
)->PrintDialog(arg2
);
26992 wxPyEndAllowThreads(__tstate
);
26993 if (PyErr_Occurred()) SWIG_fail
;
26996 resultobj
= wxPyMake_wxObject(result
, (bool)0);
27004 SWIGINTERN PyObject
*_wrap_Printer_GetPrintDialogData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27005 PyObject
*resultobj
= 0;
27006 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
27007 wxPrintDialogData
*result
= 0 ;
27010 PyObject
*swig_obj
[1] ;
27012 if (!args
) SWIG_fail
;
27013 swig_obj
[0] = args
;
27014 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrinter
, 0 | 0 );
27015 if (!SWIG_IsOK(res1
)) {
27016 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printer_GetPrintDialogData" "', expected argument " "1"" of type '" "wxPrinter const *""'");
27018 arg1
= reinterpret_cast< wxPrinter
* >(argp1
);
27020 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27022 wxPrintDialogData
&_result_ref
= ((wxPrinter
const *)arg1
)->GetPrintDialogData();
27023 result
= (wxPrintDialogData
*) &_result_ref
;
27025 wxPyEndAllowThreads(__tstate
);
27026 if (PyErr_Occurred()) SWIG_fail
;
27028 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
27035 SWIGINTERN PyObject
*_wrap_Printer_GetAbort(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27036 PyObject
*resultobj
= 0;
27037 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
27041 PyObject
*swig_obj
[1] ;
27043 if (!args
) SWIG_fail
;
27044 swig_obj
[0] = args
;
27045 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrinter
, 0 | 0 );
27046 if (!SWIG_IsOK(res1
)) {
27047 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printer_GetAbort" "', expected argument " "1"" of type '" "wxPrinter *""'");
27049 arg1
= reinterpret_cast< wxPrinter
* >(argp1
);
27051 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27052 result
= (bool)(arg1
)->GetAbort();
27053 wxPyEndAllowThreads(__tstate
);
27054 if (PyErr_Occurred()) SWIG_fail
;
27057 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27065 SWIGINTERN PyObject
*_wrap_Printer_GetLastError(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27066 PyObject
*resultobj
= 0;
27067 wxPrinterError result
;
27069 if (!SWIG_Python_UnpackTuple(args
,"Printer_GetLastError",0,0,0)) SWIG_fail
;
27071 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27072 result
= (wxPrinterError
)wxPrinter::GetLastError();
27073 wxPyEndAllowThreads(__tstate
);
27074 if (PyErr_Occurred()) SWIG_fail
;
27076 resultobj
= SWIG_From_int(static_cast< int >(result
));
27083 SWIGINTERN PyObject
*Printer_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27085 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
27086 SWIG_TypeNewClientData(SWIGTYPE_p_wxPrinter
, SWIG_NewClientData(obj
));
27087 return SWIG_Py_Void();
27090 SWIGINTERN PyObject
*Printer_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27091 return SWIG_Python_InitShadowInstance(args
);
27094 SWIGINTERN PyObject
*_wrap_new_Printout(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27095 PyObject
*resultobj
= 0;
27096 wxString
const &arg1_defvalue
= wxPyPrintoutTitleStr
;
27097 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
27098 wxPyPrintout
*result
= 0 ;
27099 bool temp1
= false ;
27100 PyObject
* obj0
= 0 ;
27101 char * kwnames
[] = {
27102 (char *) "title", NULL
27105 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_Printout",kwnames
,&obj0
)) SWIG_fail
;
27108 arg1
= wxString_in_helper(obj0
);
27109 if (arg1
== NULL
) SWIG_fail
;
27114 if (!wxPyCheckForApp()) SWIG_fail
;
27115 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27116 result
= (wxPyPrintout
*)new wxPyPrintout((wxString
const &)*arg1
);
27117 wxPyEndAllowThreads(__tstate
);
27118 if (PyErr_Occurred()) SWIG_fail
;
27120 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_NEW
| 0 );
27135 SWIGINTERN PyObject
*_wrap_delete_Printout(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27136 PyObject
*resultobj
= 0;
27137 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
27140 PyObject
*swig_obj
[1] ;
27142 if (!args
) SWIG_fail
;
27143 swig_obj
[0] = args
;
27144 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_DISOWN
| 0 );
27145 if (!SWIG_IsOK(res1
)) {
27146 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Printout" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
27148 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
27150 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27153 wxPyEndAllowThreads(__tstate
);
27154 if (PyErr_Occurred()) SWIG_fail
;
27156 resultobj
= SWIG_Py_Void();
27163 SWIGINTERN PyObject
*_wrap_Printout__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27164 PyObject
*resultobj
= 0;
27165 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
27166 PyObject
*arg2
= (PyObject
*) 0 ;
27167 PyObject
*arg3
= (PyObject
*) 0 ;
27170 PyObject
* obj0
= 0 ;
27171 PyObject
* obj1
= 0 ;
27172 PyObject
* obj2
= 0 ;
27173 char * kwnames
[] = {
27174 (char *) "self",(char *) "self",(char *) "_class", NULL
27177 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Printout__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
27178 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
27179 if (!SWIG_IsOK(res1
)) {
27180 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
27182 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
27186 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27187 (arg1
)->_setCallbackInfo(arg2
,arg3
);
27188 wxPyEndAllowThreads(__tstate
);
27189 if (PyErr_Occurred()) SWIG_fail
;
27191 resultobj
= SWIG_Py_Void();
27198 SWIGINTERN PyObject
*_wrap_Printout_GetTitle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27199 PyObject
*resultobj
= 0;
27200 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
27204 PyObject
*swig_obj
[1] ;
27206 if (!args
) SWIG_fail
;
27207 swig_obj
[0] = args
;
27208 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
27209 if (!SWIG_IsOK(res1
)) {
27210 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_GetTitle" "', expected argument " "1"" of type '" "wxPyPrintout const *""'");
27212 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
27214 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27215 result
= ((wxPyPrintout
const *)arg1
)->GetTitle();
27216 wxPyEndAllowThreads(__tstate
);
27217 if (PyErr_Occurred()) SWIG_fail
;
27221 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
27223 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
27232 SWIGINTERN PyObject
*_wrap_Printout_GetDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27233 PyObject
*resultobj
= 0;
27234 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
27238 PyObject
*swig_obj
[1] ;
27240 if (!args
) SWIG_fail
;
27241 swig_obj
[0] = args
;
27242 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
27243 if (!SWIG_IsOK(res1
)) {
27244 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_GetDC" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
27246 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
27248 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27249 result
= (wxDC
*)(arg1
)->GetDC();
27250 wxPyEndAllowThreads(__tstate
);
27251 if (PyErr_Occurred()) SWIG_fail
;
27254 resultobj
= wxPyMake_wxObject(result
, (bool)0);
27262 SWIGINTERN PyObject
*_wrap_Printout_SetDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27263 PyObject
*resultobj
= 0;
27264 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
27265 wxDC
*arg2
= (wxDC
*) 0 ;
27270 PyObject
* obj0
= 0 ;
27271 PyObject
* obj1
= 0 ;
27272 char * kwnames
[] = {
27273 (char *) "self",(char *) "dc", NULL
27276 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Printout_SetDC",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
27277 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
27278 if (!SWIG_IsOK(res1
)) {
27279 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_SetDC" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
27281 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
27282 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxDC
, 0 | 0 );
27283 if (!SWIG_IsOK(res2
)) {
27284 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Printout_SetDC" "', expected argument " "2"" of type '" "wxDC *""'");
27286 arg2
= reinterpret_cast< wxDC
* >(argp2
);
27288 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27289 (arg1
)->SetDC(arg2
);
27290 wxPyEndAllowThreads(__tstate
);
27291 if (PyErr_Occurred()) SWIG_fail
;
27293 resultobj
= SWIG_Py_Void();
27300 SWIGINTERN PyObject
*_wrap_Printout_SetPageSizePixels(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27301 PyObject
*resultobj
= 0;
27302 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
27311 PyObject
* obj0
= 0 ;
27312 PyObject
* obj1
= 0 ;
27313 PyObject
* obj2
= 0 ;
27314 char * kwnames
[] = {
27315 (char *) "self",(char *) "w",(char *) "h", NULL
27318 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Printout_SetPageSizePixels",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
27319 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
27320 if (!SWIG_IsOK(res1
)) {
27321 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_SetPageSizePixels" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
27323 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
27324 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
27325 if (!SWIG_IsOK(ecode2
)) {
27326 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Printout_SetPageSizePixels" "', expected argument " "2"" of type '" "int""'");
27328 arg2
= static_cast< int >(val2
);
27329 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
27330 if (!SWIG_IsOK(ecode3
)) {
27331 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Printout_SetPageSizePixels" "', expected argument " "3"" of type '" "int""'");
27333 arg3
= static_cast< int >(val3
);
27335 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27336 (arg1
)->SetPageSizePixels(arg2
,arg3
);
27337 wxPyEndAllowThreads(__tstate
);
27338 if (PyErr_Occurred()) SWIG_fail
;
27340 resultobj
= SWIG_Py_Void();
27347 SWIGINTERN PyObject
*_wrap_Printout_GetPageSizePixels(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27348 PyObject
*resultobj
= 0;
27349 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
27350 int *arg2
= (int *) 0 ;
27351 int *arg3
= (int *) 0 ;
27355 int res2
= SWIG_TMPOBJ
;
27357 int res3
= SWIG_TMPOBJ
;
27358 PyObject
*swig_obj
[1] ;
27362 if (!args
) SWIG_fail
;
27363 swig_obj
[0] = args
;
27364 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
27365 if (!SWIG_IsOK(res1
)) {
27366 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_GetPageSizePixels" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
27368 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
27370 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27371 (arg1
)->GetPageSizePixels(arg2
,arg3
);
27372 wxPyEndAllowThreads(__tstate
);
27373 if (PyErr_Occurred()) SWIG_fail
;
27375 resultobj
= SWIG_Py_Void();
27376 if (SWIG_IsTmpObj(res2
)) {
27377 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
27379 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
27380 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
27382 if (SWIG_IsTmpObj(res3
)) {
27383 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
27385 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
27386 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
27394 SWIGINTERN PyObject
*_wrap_Printout_SetPageSizeMM(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27395 PyObject
*resultobj
= 0;
27396 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
27405 PyObject
* obj0
= 0 ;
27406 PyObject
* obj1
= 0 ;
27407 PyObject
* obj2
= 0 ;
27408 char * kwnames
[] = {
27409 (char *) "self",(char *) "w",(char *) "h", NULL
27412 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Printout_SetPageSizeMM",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
27413 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
27414 if (!SWIG_IsOK(res1
)) {
27415 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_SetPageSizeMM" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
27417 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
27418 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
27419 if (!SWIG_IsOK(ecode2
)) {
27420 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Printout_SetPageSizeMM" "', expected argument " "2"" of type '" "int""'");
27422 arg2
= static_cast< int >(val2
);
27423 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
27424 if (!SWIG_IsOK(ecode3
)) {
27425 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Printout_SetPageSizeMM" "', expected argument " "3"" of type '" "int""'");
27427 arg3
= static_cast< int >(val3
);
27429 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27430 (arg1
)->SetPageSizeMM(arg2
,arg3
);
27431 wxPyEndAllowThreads(__tstate
);
27432 if (PyErr_Occurred()) SWIG_fail
;
27434 resultobj
= SWIG_Py_Void();
27441 SWIGINTERN PyObject
*_wrap_Printout_GetPageSizeMM(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27442 PyObject
*resultobj
= 0;
27443 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
27444 int *arg2
= (int *) 0 ;
27445 int *arg3
= (int *) 0 ;
27449 int res2
= SWIG_TMPOBJ
;
27451 int res3
= SWIG_TMPOBJ
;
27452 PyObject
*swig_obj
[1] ;
27456 if (!args
) SWIG_fail
;
27457 swig_obj
[0] = args
;
27458 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
27459 if (!SWIG_IsOK(res1
)) {
27460 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_GetPageSizeMM" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
27462 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
27464 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27465 (arg1
)->GetPageSizeMM(arg2
,arg3
);
27466 wxPyEndAllowThreads(__tstate
);
27467 if (PyErr_Occurred()) SWIG_fail
;
27469 resultobj
= SWIG_Py_Void();
27470 if (SWIG_IsTmpObj(res2
)) {
27471 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
27473 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
27474 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
27476 if (SWIG_IsTmpObj(res3
)) {
27477 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
27479 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
27480 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
27488 SWIGINTERN PyObject
*_wrap_Printout_SetPPIScreen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27489 PyObject
*resultobj
= 0;
27490 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
27499 PyObject
* obj0
= 0 ;
27500 PyObject
* obj1
= 0 ;
27501 PyObject
* obj2
= 0 ;
27502 char * kwnames
[] = {
27503 (char *) "self",(char *) "x",(char *) "y", NULL
27506 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Printout_SetPPIScreen",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
27507 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
27508 if (!SWIG_IsOK(res1
)) {
27509 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_SetPPIScreen" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
27511 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
27512 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
27513 if (!SWIG_IsOK(ecode2
)) {
27514 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Printout_SetPPIScreen" "', expected argument " "2"" of type '" "int""'");
27516 arg2
= static_cast< int >(val2
);
27517 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
27518 if (!SWIG_IsOK(ecode3
)) {
27519 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Printout_SetPPIScreen" "', expected argument " "3"" of type '" "int""'");
27521 arg3
= static_cast< int >(val3
);
27523 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27524 (arg1
)->SetPPIScreen(arg2
,arg3
);
27525 wxPyEndAllowThreads(__tstate
);
27526 if (PyErr_Occurred()) SWIG_fail
;
27528 resultobj
= SWIG_Py_Void();
27535 SWIGINTERN PyObject
*_wrap_Printout_GetPPIScreen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27536 PyObject
*resultobj
= 0;
27537 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
27538 int *arg2
= (int *) 0 ;
27539 int *arg3
= (int *) 0 ;
27543 int res2
= SWIG_TMPOBJ
;
27545 int res3
= SWIG_TMPOBJ
;
27546 PyObject
*swig_obj
[1] ;
27550 if (!args
) SWIG_fail
;
27551 swig_obj
[0] = args
;
27552 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
27553 if (!SWIG_IsOK(res1
)) {
27554 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_GetPPIScreen" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
27556 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
27558 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27559 (arg1
)->GetPPIScreen(arg2
,arg3
);
27560 wxPyEndAllowThreads(__tstate
);
27561 if (PyErr_Occurred()) SWIG_fail
;
27563 resultobj
= SWIG_Py_Void();
27564 if (SWIG_IsTmpObj(res2
)) {
27565 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
27567 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
27568 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
27570 if (SWIG_IsTmpObj(res3
)) {
27571 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
27573 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
27574 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
27582 SWIGINTERN PyObject
*_wrap_Printout_SetPPIPrinter(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27583 PyObject
*resultobj
= 0;
27584 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
27593 PyObject
* obj0
= 0 ;
27594 PyObject
* obj1
= 0 ;
27595 PyObject
* obj2
= 0 ;
27596 char * kwnames
[] = {
27597 (char *) "self",(char *) "x",(char *) "y", NULL
27600 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Printout_SetPPIPrinter",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
27601 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
27602 if (!SWIG_IsOK(res1
)) {
27603 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_SetPPIPrinter" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
27605 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
27606 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
27607 if (!SWIG_IsOK(ecode2
)) {
27608 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Printout_SetPPIPrinter" "', expected argument " "2"" of type '" "int""'");
27610 arg2
= static_cast< int >(val2
);
27611 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
27612 if (!SWIG_IsOK(ecode3
)) {
27613 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Printout_SetPPIPrinter" "', expected argument " "3"" of type '" "int""'");
27615 arg3
= static_cast< int >(val3
);
27617 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27618 (arg1
)->SetPPIPrinter(arg2
,arg3
);
27619 wxPyEndAllowThreads(__tstate
);
27620 if (PyErr_Occurred()) SWIG_fail
;
27622 resultobj
= SWIG_Py_Void();
27629 SWIGINTERN PyObject
*_wrap_Printout_GetPPIPrinter(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27630 PyObject
*resultobj
= 0;
27631 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
27632 int *arg2
= (int *) 0 ;
27633 int *arg3
= (int *) 0 ;
27637 int res2
= SWIG_TMPOBJ
;
27639 int res3
= SWIG_TMPOBJ
;
27640 PyObject
*swig_obj
[1] ;
27644 if (!args
) SWIG_fail
;
27645 swig_obj
[0] = args
;
27646 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
27647 if (!SWIG_IsOK(res1
)) {
27648 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_GetPPIPrinter" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
27650 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
27652 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27653 (arg1
)->GetPPIPrinter(arg2
,arg3
);
27654 wxPyEndAllowThreads(__tstate
);
27655 if (PyErr_Occurred()) SWIG_fail
;
27657 resultobj
= SWIG_Py_Void();
27658 if (SWIG_IsTmpObj(res2
)) {
27659 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
27661 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
27662 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
27664 if (SWIG_IsTmpObj(res3
)) {
27665 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
27667 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
27668 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
27676 SWIGINTERN PyObject
*_wrap_Printout_IsPreview(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27677 PyObject
*resultobj
= 0;
27678 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
27682 PyObject
*swig_obj
[1] ;
27684 if (!args
) SWIG_fail
;
27685 swig_obj
[0] = args
;
27686 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
27687 if (!SWIG_IsOK(res1
)) {
27688 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_IsPreview" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
27690 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
27692 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27693 result
= (bool)(arg1
)->IsPreview();
27694 wxPyEndAllowThreads(__tstate
);
27695 if (PyErr_Occurred()) SWIG_fail
;
27698 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27706 SWIGINTERN PyObject
*_wrap_Printout_SetIsPreview(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27707 PyObject
*resultobj
= 0;
27708 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
27714 PyObject
* obj0
= 0 ;
27715 PyObject
* obj1
= 0 ;
27716 char * kwnames
[] = {
27717 (char *) "self",(char *) "p", NULL
27720 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Printout_SetIsPreview",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
27721 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
27722 if (!SWIG_IsOK(res1
)) {
27723 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_SetIsPreview" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
27725 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
27726 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
27727 if (!SWIG_IsOK(ecode2
)) {
27728 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Printout_SetIsPreview" "', expected argument " "2"" of type '" "bool""'");
27730 arg2
= static_cast< bool >(val2
);
27732 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27733 (arg1
)->SetIsPreview(arg2
);
27734 wxPyEndAllowThreads(__tstate
);
27735 if (PyErr_Occurred()) SWIG_fail
;
27737 resultobj
= SWIG_Py_Void();
27744 SWIGINTERN PyObject
*_wrap_Printout_OnBeginDocument(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27745 PyObject
*resultobj
= 0;
27746 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
27756 PyObject
* obj0
= 0 ;
27757 PyObject
* obj1
= 0 ;
27758 PyObject
* obj2
= 0 ;
27759 char * kwnames
[] = {
27760 (char *) "self",(char *) "startPage",(char *) "endPage", NULL
27763 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Printout_OnBeginDocument",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
27764 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
27765 if (!SWIG_IsOK(res1
)) {
27766 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_OnBeginDocument" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
27768 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
27769 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
27770 if (!SWIG_IsOK(ecode2
)) {
27771 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Printout_OnBeginDocument" "', expected argument " "2"" of type '" "int""'");
27773 arg2
= static_cast< int >(val2
);
27774 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
27775 if (!SWIG_IsOK(ecode3
)) {
27776 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Printout_OnBeginDocument" "', expected argument " "3"" of type '" "int""'");
27778 arg3
= static_cast< int >(val3
);
27780 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27781 result
= (bool)(arg1
)->OnBeginDocument(arg2
,arg3
);
27782 wxPyEndAllowThreads(__tstate
);
27783 if (PyErr_Occurred()) SWIG_fail
;
27786 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27794 SWIGINTERN PyObject
*_wrap_Printout_OnEndDocument(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27795 PyObject
*resultobj
= 0;
27796 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
27799 PyObject
*swig_obj
[1] ;
27801 if (!args
) SWIG_fail
;
27802 swig_obj
[0] = args
;
27803 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
27804 if (!SWIG_IsOK(res1
)) {
27805 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_OnEndDocument" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
27807 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
27809 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27810 (arg1
)->OnEndDocument();
27811 wxPyEndAllowThreads(__tstate
);
27812 if (PyErr_Occurred()) SWIG_fail
;
27814 resultobj
= SWIG_Py_Void();
27821 SWIGINTERN PyObject
*_wrap_Printout_OnBeginPrinting(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27822 PyObject
*resultobj
= 0;
27823 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
27826 PyObject
*swig_obj
[1] ;
27828 if (!args
) SWIG_fail
;
27829 swig_obj
[0] = args
;
27830 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
27831 if (!SWIG_IsOK(res1
)) {
27832 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_OnBeginPrinting" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
27834 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
27836 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27837 (arg1
)->OnBeginPrinting();
27838 wxPyEndAllowThreads(__tstate
);
27839 if (PyErr_Occurred()) SWIG_fail
;
27841 resultobj
= SWIG_Py_Void();
27848 SWIGINTERN PyObject
*_wrap_Printout_OnEndPrinting(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27849 PyObject
*resultobj
= 0;
27850 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
27853 PyObject
*swig_obj
[1] ;
27855 if (!args
) SWIG_fail
;
27856 swig_obj
[0] = args
;
27857 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
27858 if (!SWIG_IsOK(res1
)) {
27859 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_OnEndPrinting" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
27861 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
27863 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27864 (arg1
)->OnEndPrinting();
27865 wxPyEndAllowThreads(__tstate
);
27866 if (PyErr_Occurred()) SWIG_fail
;
27868 resultobj
= SWIG_Py_Void();
27875 SWIGINTERN PyObject
*_wrap_Printout_OnPreparePrinting(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27876 PyObject
*resultobj
= 0;
27877 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
27880 PyObject
*swig_obj
[1] ;
27882 if (!args
) SWIG_fail
;
27883 swig_obj
[0] = args
;
27884 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
27885 if (!SWIG_IsOK(res1
)) {
27886 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_OnPreparePrinting" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
27888 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
27890 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27891 (arg1
)->OnPreparePrinting();
27892 wxPyEndAllowThreads(__tstate
);
27893 if (PyErr_Occurred()) SWIG_fail
;
27895 resultobj
= SWIG_Py_Void();
27902 SWIGINTERN PyObject
*_wrap_Printout_HasPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27903 PyObject
*resultobj
= 0;
27904 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
27911 PyObject
* obj0
= 0 ;
27912 PyObject
* obj1
= 0 ;
27913 char * kwnames
[] = {
27914 (char *) "self",(char *) "page", NULL
27917 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Printout_HasPage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
27918 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
27919 if (!SWIG_IsOK(res1
)) {
27920 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_HasPage" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
27922 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
27923 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
27924 if (!SWIG_IsOK(ecode2
)) {
27925 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Printout_HasPage" "', expected argument " "2"" of type '" "int""'");
27927 arg2
= static_cast< int >(val2
);
27929 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27930 result
= (bool)(arg1
)->HasPage(arg2
);
27931 wxPyEndAllowThreads(__tstate
);
27932 if (PyErr_Occurred()) SWIG_fail
;
27935 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27943 SWIGINTERN PyObject
*_wrap_Printout_GetPageInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27944 PyObject
*resultobj
= 0;
27945 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
27946 int *arg2
= (int *) 0 ;
27947 int *arg3
= (int *) 0 ;
27948 int *arg4
= (int *) 0 ;
27949 int *arg5
= (int *) 0 ;
27953 int res2
= SWIG_TMPOBJ
;
27955 int res3
= SWIG_TMPOBJ
;
27957 int res4
= SWIG_TMPOBJ
;
27959 int res5
= SWIG_TMPOBJ
;
27960 PyObject
*swig_obj
[1] ;
27966 if (!args
) SWIG_fail
;
27967 swig_obj
[0] = args
;
27968 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
27969 if (!SWIG_IsOK(res1
)) {
27970 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_GetPageInfo" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
27972 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
27974 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27975 (arg1
)->GetPageInfo(arg2
,arg3
,arg4
,arg5
);
27976 wxPyEndAllowThreads(__tstate
);
27977 if (PyErr_Occurred()) SWIG_fail
;
27979 resultobj
= SWIG_Py_Void();
27980 if (SWIG_IsTmpObj(res2
)) {
27981 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
27983 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
27984 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
27986 if (SWIG_IsTmpObj(res3
)) {
27987 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
27989 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
27990 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
27992 if (SWIG_IsTmpObj(res4
)) {
27993 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg4
)));
27995 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
27996 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, new_flags
));
27998 if (SWIG_IsTmpObj(res5
)) {
27999 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg5
)));
28001 int new_flags
= SWIG_IsNewObj(res5
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
28002 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg5
), SWIGTYPE_p_int
, new_flags
));
28010 SWIGINTERN PyObject
*Printout_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28012 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
28013 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyPrintout
, SWIG_NewClientData(obj
));
28014 return SWIG_Py_Void();
28017 SWIGINTERN PyObject
*Printout_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28018 return SWIG_Python_InitShadowInstance(args
);
28021 SWIGINTERN PyObject
*_wrap_new_PreviewCanvas(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28022 PyObject
*resultobj
= 0;
28023 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
28024 wxWindow
*arg2
= (wxWindow
*) 0 ;
28025 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
28026 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
28027 wxSize
const &arg4_defvalue
= wxDefaultSize
;
28028 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
28029 long arg5
= (long) 0 ;
28030 wxString
const &arg6_defvalue
= wxPyPreviewCanvasNameStr
;
28031 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
28032 wxPreviewCanvas
*result
= 0 ;
28041 bool temp6
= false ;
28042 PyObject
* obj0
= 0 ;
28043 PyObject
* obj1
= 0 ;
28044 PyObject
* obj2
= 0 ;
28045 PyObject
* obj3
= 0 ;
28046 PyObject
* obj4
= 0 ;
28047 PyObject
* obj5
= 0 ;
28048 char * kwnames
[] = {
28049 (char *) "preview",(char *) "parent",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
28052 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:new_PreviewCanvas",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
28053 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
28054 if (!SWIG_IsOK(res1
)) {
28055 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PreviewCanvas" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
28057 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
28058 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
28059 if (!SWIG_IsOK(res2
)) {
28060 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_PreviewCanvas" "', expected argument " "2"" of type '" "wxWindow *""'");
28062 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
28066 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
28072 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
28076 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
28077 if (!SWIG_IsOK(ecode5
)) {
28078 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_PreviewCanvas" "', expected argument " "5"" of type '" "long""'");
28080 arg5
= static_cast< long >(val5
);
28084 arg6
= wxString_in_helper(obj5
);
28085 if (arg6
== NULL
) SWIG_fail
;
28090 if (!wxPyCheckForApp()) SWIG_fail
;
28091 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28092 result
= (wxPreviewCanvas
*)new wxPreviewCanvas(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
28093 wxPyEndAllowThreads(__tstate
);
28094 if (PyErr_Occurred()) SWIG_fail
;
28096 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPreviewCanvas
, SWIG_POINTER_NEW
| 0 );
28111 SWIGINTERN PyObject
*PreviewCanvas_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28113 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
28114 SWIG_TypeNewClientData(SWIGTYPE_p_wxPreviewCanvas
, SWIG_NewClientData(obj
));
28115 return SWIG_Py_Void();
28118 SWIGINTERN PyObject
*PreviewCanvas_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28119 return SWIG_Python_InitShadowInstance(args
);
28122 SWIGINTERN PyObject
*_wrap_new_PreviewFrame(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28123 PyObject
*resultobj
= 0;
28124 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
28125 wxFrame
*arg2
= (wxFrame
*) 0 ;
28126 wxString
*arg3
= 0 ;
28127 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
28128 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
28129 wxSize
const &arg5_defvalue
= wxDefaultSize
;
28130 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
28131 long arg6
= (long) wxDEFAULT_FRAME_STYLE
;
28132 wxString
const &arg7_defvalue
= wxPyFrameNameStr
;
28133 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
28134 wxPreviewFrame
*result
= 0 ;
28138 bool temp3
= false ;
28143 bool temp7
= false ;
28144 PyObject
* obj0
= 0 ;
28145 PyObject
* obj1
= 0 ;
28146 PyObject
* obj2
= 0 ;
28147 PyObject
* obj3
= 0 ;
28148 PyObject
* obj4
= 0 ;
28149 PyObject
* obj5
= 0 ;
28150 PyObject
* obj6
= 0 ;
28151 char * kwnames
[] = {
28152 (char *) "preview",(char *) "parent",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
28155 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:new_PreviewFrame",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
28156 res1
= SWIG_ConvertPtr(obj0
, SWIG_as_voidptrptr(&arg1
), SWIGTYPE_p_wxPrintPreview
, SWIG_POINTER_DISOWN
| 0 );
28157 if (!SWIG_IsOK(res1
)) {
28158 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PreviewFrame" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
28160 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxFrame
, 0 | 0 );
28161 if (!SWIG_IsOK(res2
)) {
28162 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_PreviewFrame" "', expected argument " "2"" of type '" "wxFrame *""'");
28164 arg2
= reinterpret_cast< wxFrame
* >(argp2
);
28166 arg3
= wxString_in_helper(obj2
);
28167 if (arg3
== NULL
) SWIG_fail
;
28173 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
28179 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
28183 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
28184 if (!SWIG_IsOK(ecode6
)) {
28185 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_PreviewFrame" "', expected argument " "6"" of type '" "long""'");
28187 arg6
= static_cast< long >(val6
);
28191 arg7
= wxString_in_helper(obj6
);
28192 if (arg7
== NULL
) SWIG_fail
;
28197 if (!wxPyCheckForApp()) SWIG_fail
;
28198 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28199 result
= (wxPreviewFrame
*)new wxPreviewFrame(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
28200 wxPyEndAllowThreads(__tstate
);
28201 if (PyErr_Occurred()) SWIG_fail
;
28203 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPreviewFrame
, SWIG_POINTER_NEW
| 0 );
28226 SWIGINTERN PyObject
*_wrap_PreviewFrame_Initialize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28227 PyObject
*resultobj
= 0;
28228 wxPreviewFrame
*arg1
= (wxPreviewFrame
*) 0 ;
28231 PyObject
*swig_obj
[1] ;
28233 if (!args
) SWIG_fail
;
28234 swig_obj
[0] = args
;
28235 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPreviewFrame
, 0 | 0 );
28236 if (!SWIG_IsOK(res1
)) {
28237 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PreviewFrame_Initialize" "', expected argument " "1"" of type '" "wxPreviewFrame *""'");
28239 arg1
= reinterpret_cast< wxPreviewFrame
* >(argp1
);
28241 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28242 (arg1
)->Initialize();
28243 wxPyEndAllowThreads(__tstate
);
28244 if (PyErr_Occurred()) SWIG_fail
;
28246 resultobj
= SWIG_Py_Void();
28253 SWIGINTERN PyObject
*_wrap_PreviewFrame_CreateControlBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28254 PyObject
*resultobj
= 0;
28255 wxPreviewFrame
*arg1
= (wxPreviewFrame
*) 0 ;
28258 PyObject
*swig_obj
[1] ;
28260 if (!args
) SWIG_fail
;
28261 swig_obj
[0] = args
;
28262 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPreviewFrame
, 0 | 0 );
28263 if (!SWIG_IsOK(res1
)) {
28264 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PreviewFrame_CreateControlBar" "', expected argument " "1"" of type '" "wxPreviewFrame *""'");
28266 arg1
= reinterpret_cast< wxPreviewFrame
* >(argp1
);
28268 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28269 (arg1
)->CreateControlBar();
28270 wxPyEndAllowThreads(__tstate
);
28271 if (PyErr_Occurred()) SWIG_fail
;
28273 resultobj
= SWIG_Py_Void();
28280 SWIGINTERN PyObject
*_wrap_PreviewFrame_CreateCanvas(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28281 PyObject
*resultobj
= 0;
28282 wxPreviewFrame
*arg1
= (wxPreviewFrame
*) 0 ;
28285 PyObject
*swig_obj
[1] ;
28287 if (!args
) SWIG_fail
;
28288 swig_obj
[0] = args
;
28289 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPreviewFrame
, 0 | 0 );
28290 if (!SWIG_IsOK(res1
)) {
28291 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PreviewFrame_CreateCanvas" "', expected argument " "1"" of type '" "wxPreviewFrame *""'");
28293 arg1
= reinterpret_cast< wxPreviewFrame
* >(argp1
);
28295 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28296 (arg1
)->CreateCanvas();
28297 wxPyEndAllowThreads(__tstate
);
28298 if (PyErr_Occurred()) SWIG_fail
;
28300 resultobj
= SWIG_Py_Void();
28307 SWIGINTERN PyObject
*_wrap_PreviewFrame_GetControlBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28308 PyObject
*resultobj
= 0;
28309 wxPreviewFrame
*arg1
= (wxPreviewFrame
*) 0 ;
28310 wxPreviewControlBar
*result
= 0 ;
28313 PyObject
*swig_obj
[1] ;
28315 if (!args
) SWIG_fail
;
28316 swig_obj
[0] = args
;
28317 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPreviewFrame
, 0 | 0 );
28318 if (!SWIG_IsOK(res1
)) {
28319 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PreviewFrame_GetControlBar" "', expected argument " "1"" of type '" "wxPreviewFrame const *""'");
28321 arg1
= reinterpret_cast< wxPreviewFrame
* >(argp1
);
28323 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28324 result
= (wxPreviewControlBar
*)((wxPreviewFrame
const *)arg1
)->GetControlBar();
28325 wxPyEndAllowThreads(__tstate
);
28326 if (PyErr_Occurred()) SWIG_fail
;
28328 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPreviewControlBar
, 0 | 0 );
28335 SWIGINTERN PyObject
*PreviewFrame_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28337 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
28338 SWIG_TypeNewClientData(SWIGTYPE_p_wxPreviewFrame
, SWIG_NewClientData(obj
));
28339 return SWIG_Py_Void();
28342 SWIGINTERN PyObject
*PreviewFrame_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28343 return SWIG_Python_InitShadowInstance(args
);
28346 SWIGINTERN PyObject
*_wrap_new_PreviewControlBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28347 PyObject
*resultobj
= 0;
28348 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
28350 wxWindow
*arg3
= (wxWindow
*) 0 ;
28351 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
28352 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
28353 wxSize
const &arg5_defvalue
= wxDefaultSize
;
28354 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
28355 long arg6
= (long) wxTAB_TRAVERSAL
;
28356 wxString
const &arg7_defvalue
= wxPyPanelNameStr
;
28357 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
28358 wxPreviewControlBar
*result
= 0 ;
28369 bool temp7
= false ;
28370 PyObject
* obj0
= 0 ;
28371 PyObject
* obj1
= 0 ;
28372 PyObject
* obj2
= 0 ;
28373 PyObject
* obj3
= 0 ;
28374 PyObject
* obj4
= 0 ;
28375 PyObject
* obj5
= 0 ;
28376 PyObject
* obj6
= 0 ;
28377 char * kwnames
[] = {
28378 (char *) "preview",(char *) "buttons",(char *) "parent",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
28381 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:new_PreviewControlBar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
28382 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
28383 if (!SWIG_IsOK(res1
)) {
28384 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PreviewControlBar" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
28386 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
28387 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
28388 if (!SWIG_IsOK(ecode2
)) {
28389 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_PreviewControlBar" "', expected argument " "2"" of type '" "long""'");
28391 arg2
= static_cast< long >(val2
);
28392 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxWindow
, 0 | 0 );
28393 if (!SWIG_IsOK(res3
)) {
28394 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "new_PreviewControlBar" "', expected argument " "3"" of type '" "wxWindow *""'");
28396 arg3
= reinterpret_cast< wxWindow
* >(argp3
);
28400 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
28406 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
28410 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
28411 if (!SWIG_IsOK(ecode6
)) {
28412 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_PreviewControlBar" "', expected argument " "6"" of type '" "long""'");
28414 arg6
= static_cast< long >(val6
);
28418 arg7
= wxString_in_helper(obj6
);
28419 if (arg7
== NULL
) SWIG_fail
;
28424 if (!wxPyCheckForApp()) SWIG_fail
;
28425 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28426 result
= (wxPreviewControlBar
*)new wxPreviewControlBar(arg1
,arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
28427 wxPyEndAllowThreads(__tstate
);
28428 if (PyErr_Occurred()) SWIG_fail
;
28430 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPreviewControlBar
, SWIG_POINTER_NEW
| 0 );
28445 SWIGINTERN PyObject
*_wrap_PreviewControlBar_GetZoomControl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28446 PyObject
*resultobj
= 0;
28447 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 0 ;
28451 PyObject
*swig_obj
[1] ;
28453 if (!args
) SWIG_fail
;
28454 swig_obj
[0] = args
;
28455 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPreviewControlBar
, 0 | 0 );
28456 if (!SWIG_IsOK(res1
)) {
28457 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PreviewControlBar_GetZoomControl" "', expected argument " "1"" of type '" "wxPreviewControlBar *""'");
28459 arg1
= reinterpret_cast< wxPreviewControlBar
* >(argp1
);
28461 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28462 result
= (int)(arg1
)->GetZoomControl();
28463 wxPyEndAllowThreads(__tstate
);
28464 if (PyErr_Occurred()) SWIG_fail
;
28466 resultobj
= SWIG_From_int(static_cast< int >(result
));
28473 SWIGINTERN PyObject
*_wrap_PreviewControlBar_SetZoomControl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28474 PyObject
*resultobj
= 0;
28475 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 0 ;
28481 PyObject
* obj0
= 0 ;
28482 PyObject
* obj1
= 0 ;
28483 char * kwnames
[] = {
28484 (char *) "self",(char *) "zoom", NULL
28487 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PreviewControlBar_SetZoomControl",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28488 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPreviewControlBar
, 0 | 0 );
28489 if (!SWIG_IsOK(res1
)) {
28490 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PreviewControlBar_SetZoomControl" "', expected argument " "1"" of type '" "wxPreviewControlBar *""'");
28492 arg1
= reinterpret_cast< wxPreviewControlBar
* >(argp1
);
28493 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
28494 if (!SWIG_IsOK(ecode2
)) {
28495 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PreviewControlBar_SetZoomControl" "', expected argument " "2"" of type '" "int""'");
28497 arg2
= static_cast< int >(val2
);
28499 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28500 (arg1
)->SetZoomControl(arg2
);
28501 wxPyEndAllowThreads(__tstate
);
28502 if (PyErr_Occurred()) SWIG_fail
;
28504 resultobj
= SWIG_Py_Void();
28511 SWIGINTERN PyObject
*_wrap_PreviewControlBar_GetPrintPreview(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28512 PyObject
*resultobj
= 0;
28513 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 0 ;
28514 wxPrintPreview
*result
= 0 ;
28517 PyObject
*swig_obj
[1] ;
28519 if (!args
) SWIG_fail
;
28520 swig_obj
[0] = args
;
28521 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPreviewControlBar
, 0 | 0 );
28522 if (!SWIG_IsOK(res1
)) {
28523 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PreviewControlBar_GetPrintPreview" "', expected argument " "1"" of type '" "wxPreviewControlBar *""'");
28525 arg1
= reinterpret_cast< wxPreviewControlBar
* >(argp1
);
28527 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28528 result
= (wxPrintPreview
*)(arg1
)->GetPrintPreview();
28529 wxPyEndAllowThreads(__tstate
);
28530 if (PyErr_Occurred()) SWIG_fail
;
28532 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
28539 SWIGINTERN PyObject
*_wrap_PreviewControlBar_OnNext(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28540 PyObject
*resultobj
= 0;
28541 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 0 ;
28544 PyObject
*swig_obj
[1] ;
28546 if (!args
) SWIG_fail
;
28547 swig_obj
[0] = args
;
28548 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPreviewControlBar
, 0 | 0 );
28549 if (!SWIG_IsOK(res1
)) {
28550 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PreviewControlBar_OnNext" "', expected argument " "1"" of type '" "wxPreviewControlBar *""'");
28552 arg1
= reinterpret_cast< wxPreviewControlBar
* >(argp1
);
28554 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28556 wxPyEndAllowThreads(__tstate
);
28557 if (PyErr_Occurred()) SWIG_fail
;
28559 resultobj
= SWIG_Py_Void();
28566 SWIGINTERN PyObject
*_wrap_PreviewControlBar_OnPrevious(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28567 PyObject
*resultobj
= 0;
28568 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 0 ;
28571 PyObject
*swig_obj
[1] ;
28573 if (!args
) SWIG_fail
;
28574 swig_obj
[0] = args
;
28575 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPreviewControlBar
, 0 | 0 );
28576 if (!SWIG_IsOK(res1
)) {
28577 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PreviewControlBar_OnPrevious" "', expected argument " "1"" of type '" "wxPreviewControlBar *""'");
28579 arg1
= reinterpret_cast< wxPreviewControlBar
* >(argp1
);
28581 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28582 (arg1
)->OnPrevious();
28583 wxPyEndAllowThreads(__tstate
);
28584 if (PyErr_Occurred()) SWIG_fail
;
28586 resultobj
= SWIG_Py_Void();
28593 SWIGINTERN PyObject
*_wrap_PreviewControlBar_OnFirst(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28594 PyObject
*resultobj
= 0;
28595 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 0 ;
28598 PyObject
*swig_obj
[1] ;
28600 if (!args
) SWIG_fail
;
28601 swig_obj
[0] = args
;
28602 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPreviewControlBar
, 0 | 0 );
28603 if (!SWIG_IsOK(res1
)) {
28604 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PreviewControlBar_OnFirst" "', expected argument " "1"" of type '" "wxPreviewControlBar *""'");
28606 arg1
= reinterpret_cast< wxPreviewControlBar
* >(argp1
);
28608 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28610 wxPyEndAllowThreads(__tstate
);
28611 if (PyErr_Occurred()) SWIG_fail
;
28613 resultobj
= SWIG_Py_Void();
28620 SWIGINTERN PyObject
*_wrap_PreviewControlBar_OnLast(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28621 PyObject
*resultobj
= 0;
28622 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 0 ;
28625 PyObject
*swig_obj
[1] ;
28627 if (!args
) SWIG_fail
;
28628 swig_obj
[0] = args
;
28629 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPreviewControlBar
, 0 | 0 );
28630 if (!SWIG_IsOK(res1
)) {
28631 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PreviewControlBar_OnLast" "', expected argument " "1"" of type '" "wxPreviewControlBar *""'");
28633 arg1
= reinterpret_cast< wxPreviewControlBar
* >(argp1
);
28635 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28637 wxPyEndAllowThreads(__tstate
);
28638 if (PyErr_Occurred()) SWIG_fail
;
28640 resultobj
= SWIG_Py_Void();
28647 SWIGINTERN PyObject
*_wrap_PreviewControlBar_OnGoto(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28648 PyObject
*resultobj
= 0;
28649 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 0 ;
28652 PyObject
*swig_obj
[1] ;
28654 if (!args
) SWIG_fail
;
28655 swig_obj
[0] = args
;
28656 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPreviewControlBar
, 0 | 0 );
28657 if (!SWIG_IsOK(res1
)) {
28658 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PreviewControlBar_OnGoto" "', expected argument " "1"" of type '" "wxPreviewControlBar *""'");
28660 arg1
= reinterpret_cast< wxPreviewControlBar
* >(argp1
);
28662 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28664 wxPyEndAllowThreads(__tstate
);
28665 if (PyErr_Occurred()) SWIG_fail
;
28667 resultobj
= SWIG_Py_Void();
28674 SWIGINTERN PyObject
*PreviewControlBar_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28676 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
28677 SWIG_TypeNewClientData(SWIGTYPE_p_wxPreviewControlBar
, SWIG_NewClientData(obj
));
28678 return SWIG_Py_Void();
28681 SWIGINTERN PyObject
*PreviewControlBar_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28682 return SWIG_Python_InitShadowInstance(args
);
28685 SWIGINTERN PyObject
*_wrap_new_PrintPreview__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
28686 PyObject
*resultobj
= 0;
28687 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
28688 wxPyPrintout
*arg2
= (wxPyPrintout
*) 0 ;
28689 wxPrintDialogData
*arg3
= (wxPrintDialogData
*) NULL
;
28690 wxPrintPreview
*result
= 0 ;
28696 if ((nobjs
< 2) || (nobjs
> 3)) SWIG_fail
;
28697 res1
= SWIG_ConvertPtr(swig_obj
[0], SWIG_as_voidptrptr(&arg1
), SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_DISOWN
| 0 );
28698 if (!SWIG_IsOK(res1
)) {
28699 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PrintPreview" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28701 res2
= SWIG_ConvertPtr(swig_obj
[1], SWIG_as_voidptrptr(&arg2
), SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_DISOWN
| 0 );
28702 if (!SWIG_IsOK(res2
)) {
28703 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_PrintPreview" "', expected argument " "2"" of type '" "wxPyPrintout *""'");
28706 res3
= SWIG_ConvertPtr(swig_obj
[2], &argp3
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
28707 if (!SWIG_IsOK(res3
)) {
28708 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "new_PrintPreview" "', expected argument " "3"" of type '" "wxPrintDialogData *""'");
28710 arg3
= reinterpret_cast< wxPrintDialogData
* >(argp3
);
28713 if (!wxPyCheckForApp()) SWIG_fail
;
28714 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28715 result
= (wxPrintPreview
*)new wxPrintPreview(arg1
,arg2
,arg3
);
28716 wxPyEndAllowThreads(__tstate
);
28717 if (PyErr_Occurred()) SWIG_fail
;
28719 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPrintPreview
, SWIG_POINTER_NEW
| 0 );
28726 SWIGINTERN PyObject
*_wrap_new_PrintPreview__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
28727 PyObject
*resultobj
= 0;
28728 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
28729 wxPyPrintout
*arg2
= (wxPyPrintout
*) 0 ;
28730 wxPrintData
*arg3
= (wxPrintData
*) 0 ;
28731 wxPrintPreview
*result
= 0 ;
28737 if ((nobjs
< 3) || (nobjs
> 3)) SWIG_fail
;
28738 res1
= SWIG_ConvertPtr(swig_obj
[0], SWIG_as_voidptrptr(&arg1
), SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_DISOWN
| 0 );
28739 if (!SWIG_IsOK(res1
)) {
28740 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PrintPreview" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28742 res2
= SWIG_ConvertPtr(swig_obj
[1], SWIG_as_voidptrptr(&arg2
), SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_DISOWN
| 0 );
28743 if (!SWIG_IsOK(res2
)) {
28744 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_PrintPreview" "', expected argument " "2"" of type '" "wxPyPrintout *""'");
28746 res3
= SWIG_ConvertPtr(swig_obj
[2], &argp3
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
28747 if (!SWIG_IsOK(res3
)) {
28748 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "new_PrintPreview" "', expected argument " "3"" of type '" "wxPrintData *""'");
28750 arg3
= reinterpret_cast< wxPrintData
* >(argp3
);
28752 if (!wxPyCheckForApp()) SWIG_fail
;
28753 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28754 result
= (wxPrintPreview
*)new wxPrintPreview(arg1
,arg2
,arg3
);
28755 wxPyEndAllowThreads(__tstate
);
28756 if (PyErr_Occurred()) SWIG_fail
;
28758 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPrintPreview
, SWIG_POINTER_NEW
| 0 );
28765 SWIGINTERN PyObject
*_wrap_new_PrintPreview(PyObject
*self
, PyObject
*args
) {
28769 if (!(argc
= SWIG_Python_UnpackTuple(args
,"new_PrintPreview",0,3,argv
))) SWIG_fail
;
28771 if ((argc
>= 2) && (argc
<= 3)) {
28776 int res
= SWIG_ConvertPtr(argv
[2], &vptr
, SWIGTYPE_p_wxPrintDialogData
, 0);
28777 _v
= SWIG_CheckState(res
);
28779 if (!_v
) goto check_1
;
28781 return _wrap_new_PrintPreview__SWIG_0(self
, argc
, argv
);
28786 return _wrap_new_PrintPreview__SWIG_1(self
, argc
, argv
);
28790 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'new_PrintPreview'");
28795 SWIGINTERN PyObject
*_wrap_delete_PrintPreview(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28796 PyObject
*resultobj
= 0;
28797 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
28800 PyObject
*swig_obj
[1] ;
28802 if (!args
) SWIG_fail
;
28803 swig_obj
[0] = args
;
28804 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintPreview
, SWIG_POINTER_DISOWN
| 0 );
28805 if (!SWIG_IsOK(res1
)) {
28806 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_PrintPreview" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
28808 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
28810 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28813 wxPyEndAllowThreads(__tstate
);
28814 if (PyErr_Occurred()) SWIG_fail
;
28816 resultobj
= SWIG_Py_Void();
28823 SWIGINTERN PyObject
*_wrap_PrintPreview_SetCurrentPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28824 PyObject
*resultobj
= 0;
28825 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
28832 PyObject
* obj0
= 0 ;
28833 PyObject
* obj1
= 0 ;
28834 char * kwnames
[] = {
28835 (char *) "self",(char *) "pageNum", NULL
28838 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_SetCurrentPage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28839 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
28840 if (!SWIG_IsOK(res1
)) {
28841 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_SetCurrentPage" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
28843 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
28844 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
28845 if (!SWIG_IsOK(ecode2
)) {
28846 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintPreview_SetCurrentPage" "', expected argument " "2"" of type '" "int""'");
28848 arg2
= static_cast< int >(val2
);
28850 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28851 result
= (bool)(arg1
)->SetCurrentPage(arg2
);
28852 wxPyEndAllowThreads(__tstate
);
28853 if (PyErr_Occurred()) SWIG_fail
;
28856 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28864 SWIGINTERN PyObject
*_wrap_PrintPreview_GetCurrentPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28865 PyObject
*resultobj
= 0;
28866 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
28870 PyObject
*swig_obj
[1] ;
28872 if (!args
) SWIG_fail
;
28873 swig_obj
[0] = args
;
28874 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
28875 if (!SWIG_IsOK(res1
)) {
28876 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_GetCurrentPage" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
28878 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
28880 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28881 result
= (int)(arg1
)->GetCurrentPage();
28882 wxPyEndAllowThreads(__tstate
);
28883 if (PyErr_Occurred()) SWIG_fail
;
28885 resultobj
= SWIG_From_int(static_cast< int >(result
));
28892 SWIGINTERN PyObject
*_wrap_PrintPreview_SetPrintout(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28893 PyObject
*resultobj
= 0;
28894 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
28895 wxPyPrintout
*arg2
= (wxPyPrintout
*) 0 ;
28899 PyObject
* obj0
= 0 ;
28900 PyObject
* obj1
= 0 ;
28901 char * kwnames
[] = {
28902 (char *) "self",(char *) "printout", NULL
28905 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_SetPrintout",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28906 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
28907 if (!SWIG_IsOK(res1
)) {
28908 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_SetPrintout" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
28910 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
28911 res2
= SWIG_ConvertPtr(obj1
, SWIG_as_voidptrptr(&arg2
), SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_DISOWN
| 0 );
28912 if (!SWIG_IsOK(res2
)) {
28913 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PrintPreview_SetPrintout" "', expected argument " "2"" of type '" "wxPyPrintout *""'");
28916 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28917 (arg1
)->SetPrintout(arg2
);
28918 wxPyEndAllowThreads(__tstate
);
28919 if (PyErr_Occurred()) SWIG_fail
;
28921 resultobj
= SWIG_Py_Void();
28928 SWIGINTERN PyObject
*_wrap_PrintPreview_GetPrintout(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28929 PyObject
*resultobj
= 0;
28930 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
28931 wxPyPrintout
*result
= 0 ;
28934 PyObject
*swig_obj
[1] ;
28936 if (!args
) SWIG_fail
;
28937 swig_obj
[0] = args
;
28938 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
28939 if (!SWIG_IsOK(res1
)) {
28940 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_GetPrintout" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
28942 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
28944 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28945 result
= (wxPyPrintout
*)(arg1
)->GetPrintout();
28946 wxPyEndAllowThreads(__tstate
);
28947 if (PyErr_Occurred()) SWIG_fail
;
28950 resultobj
= wxPyMake_wxObject(result
, 0);
28958 SWIGINTERN PyObject
*_wrap_PrintPreview_GetPrintoutForPrinting(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28959 PyObject
*resultobj
= 0;
28960 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
28961 wxPyPrintout
*result
= 0 ;
28964 PyObject
*swig_obj
[1] ;
28966 if (!args
) SWIG_fail
;
28967 swig_obj
[0] = args
;
28968 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
28969 if (!SWIG_IsOK(res1
)) {
28970 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_GetPrintoutForPrinting" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
28972 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
28974 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28975 result
= (wxPyPrintout
*)(arg1
)->GetPrintoutForPrinting();
28976 wxPyEndAllowThreads(__tstate
);
28977 if (PyErr_Occurred()) SWIG_fail
;
28980 resultobj
= wxPyMake_wxObject(result
, 0);
28988 SWIGINTERN PyObject
*_wrap_PrintPreview_SetFrame(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28989 PyObject
*resultobj
= 0;
28990 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
28991 wxFrame
*arg2
= (wxFrame
*) 0 ;
28996 PyObject
* obj0
= 0 ;
28997 PyObject
* obj1
= 0 ;
28998 char * kwnames
[] = {
28999 (char *) "self",(char *) "frame", NULL
29002 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_SetFrame",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29003 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
29004 if (!SWIG_IsOK(res1
)) {
29005 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_SetFrame" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29007 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
29008 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxFrame
, 0 | 0 );
29009 if (!SWIG_IsOK(res2
)) {
29010 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PrintPreview_SetFrame" "', expected argument " "2"" of type '" "wxFrame *""'");
29012 arg2
= reinterpret_cast< wxFrame
* >(argp2
);
29014 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29015 (arg1
)->SetFrame(arg2
);
29016 wxPyEndAllowThreads(__tstate
);
29017 if (PyErr_Occurred()) SWIG_fail
;
29019 resultobj
= SWIG_Py_Void();
29026 SWIGINTERN PyObject
*_wrap_PrintPreview_SetCanvas(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29027 PyObject
*resultobj
= 0;
29028 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
29029 wxPreviewCanvas
*arg2
= (wxPreviewCanvas
*) 0 ;
29034 PyObject
* obj0
= 0 ;
29035 PyObject
* obj1
= 0 ;
29036 char * kwnames
[] = {
29037 (char *) "self",(char *) "canvas", NULL
29040 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_SetCanvas",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29041 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
29042 if (!SWIG_IsOK(res1
)) {
29043 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_SetCanvas" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29045 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
29046 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxPreviewCanvas
, 0 | 0 );
29047 if (!SWIG_IsOK(res2
)) {
29048 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PrintPreview_SetCanvas" "', expected argument " "2"" of type '" "wxPreviewCanvas *""'");
29050 arg2
= reinterpret_cast< wxPreviewCanvas
* >(argp2
);
29052 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29053 (arg1
)->SetCanvas(arg2
);
29054 wxPyEndAllowThreads(__tstate
);
29055 if (PyErr_Occurred()) SWIG_fail
;
29057 resultobj
= SWIG_Py_Void();
29064 SWIGINTERN PyObject
*_wrap_PrintPreview_GetFrame(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29065 PyObject
*resultobj
= 0;
29066 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
29067 wxFrame
*result
= 0 ;
29070 PyObject
*swig_obj
[1] ;
29072 if (!args
) SWIG_fail
;
29073 swig_obj
[0] = args
;
29074 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
29075 if (!SWIG_IsOK(res1
)) {
29076 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_GetFrame" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29078 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
29080 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29081 result
= (wxFrame
*)(arg1
)->GetFrame();
29082 wxPyEndAllowThreads(__tstate
);
29083 if (PyErr_Occurred()) SWIG_fail
;
29086 resultobj
= wxPyMake_wxObject(result
, 0);
29094 SWIGINTERN PyObject
*_wrap_PrintPreview_GetCanvas(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29095 PyObject
*resultobj
= 0;
29096 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
29097 wxPreviewCanvas
*result
= 0 ;
29100 PyObject
*swig_obj
[1] ;
29102 if (!args
) SWIG_fail
;
29103 swig_obj
[0] = args
;
29104 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
29105 if (!SWIG_IsOK(res1
)) {
29106 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_GetCanvas" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29108 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
29110 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29111 result
= (wxPreviewCanvas
*)(arg1
)->GetCanvas();
29112 wxPyEndAllowThreads(__tstate
);
29113 if (PyErr_Occurred()) SWIG_fail
;
29115 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPreviewCanvas
, 0 | 0 );
29122 SWIGINTERN PyObject
*_wrap_PrintPreview_PaintPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29123 PyObject
*resultobj
= 0;
29124 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
29125 wxPreviewCanvas
*arg2
= (wxPreviewCanvas
*) 0 ;
29134 PyObject
* obj0
= 0 ;
29135 PyObject
* obj1
= 0 ;
29136 PyObject
* obj2
= 0 ;
29137 char * kwnames
[] = {
29138 (char *) "self",(char *) "canvas",(char *) "dc", NULL
29141 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PrintPreview_PaintPage",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
29142 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
29143 if (!SWIG_IsOK(res1
)) {
29144 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_PaintPage" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29146 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
29147 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxPreviewCanvas
, 0 | 0 );
29148 if (!SWIG_IsOK(res2
)) {
29149 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PrintPreview_PaintPage" "', expected argument " "2"" of type '" "wxPreviewCanvas *""'");
29151 arg2
= reinterpret_cast< wxPreviewCanvas
* >(argp2
);
29152 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
29153 if (!SWIG_IsOK(res3
)) {
29154 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "PrintPreview_PaintPage" "', expected argument " "3"" of type '" "wxDC &""'");
29157 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PrintPreview_PaintPage" "', expected argument " "3"" of type '" "wxDC &""'");
29159 arg3
= reinterpret_cast< wxDC
* >(argp3
);
29161 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29162 result
= (bool)(arg1
)->PaintPage(arg2
,*arg3
);
29163 wxPyEndAllowThreads(__tstate
);
29164 if (PyErr_Occurred()) SWIG_fail
;
29167 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29175 SWIGINTERN PyObject
*_wrap_PrintPreview_DrawBlankPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29176 PyObject
*resultobj
= 0;
29177 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
29178 wxPreviewCanvas
*arg2
= (wxPreviewCanvas
*) 0 ;
29187 PyObject
* obj0
= 0 ;
29188 PyObject
* obj1
= 0 ;
29189 PyObject
* obj2
= 0 ;
29190 char * kwnames
[] = {
29191 (char *) "self",(char *) "canvas",(char *) "dc", NULL
29194 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PrintPreview_DrawBlankPage",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
29195 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
29196 if (!SWIG_IsOK(res1
)) {
29197 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_DrawBlankPage" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29199 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
29200 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxPreviewCanvas
, 0 | 0 );
29201 if (!SWIG_IsOK(res2
)) {
29202 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PrintPreview_DrawBlankPage" "', expected argument " "2"" of type '" "wxPreviewCanvas *""'");
29204 arg2
= reinterpret_cast< wxPreviewCanvas
* >(argp2
);
29205 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
29206 if (!SWIG_IsOK(res3
)) {
29207 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "PrintPreview_DrawBlankPage" "', expected argument " "3"" of type '" "wxDC &""'");
29210 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PrintPreview_DrawBlankPage" "', expected argument " "3"" of type '" "wxDC &""'");
29212 arg3
= reinterpret_cast< wxDC
* >(argp3
);
29214 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29215 result
= (bool)(arg1
)->DrawBlankPage(arg2
,*arg3
);
29216 wxPyEndAllowThreads(__tstate
);
29217 if (PyErr_Occurred()) SWIG_fail
;
29220 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29228 SWIGINTERN PyObject
*_wrap_PrintPreview_RenderPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29229 PyObject
*resultobj
= 0;
29230 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
29237 PyObject
* obj0
= 0 ;
29238 PyObject
* obj1
= 0 ;
29239 char * kwnames
[] = {
29240 (char *) "self",(char *) "pageNum", NULL
29243 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_RenderPage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29244 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
29245 if (!SWIG_IsOK(res1
)) {
29246 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_RenderPage" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29248 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
29249 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
29250 if (!SWIG_IsOK(ecode2
)) {
29251 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintPreview_RenderPage" "', expected argument " "2"" of type '" "int""'");
29253 arg2
= static_cast< int >(val2
);
29255 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29256 result
= (bool)(arg1
)->RenderPage(arg2
);
29257 wxPyEndAllowThreads(__tstate
);
29258 if (PyErr_Occurred()) SWIG_fail
;
29261 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29269 SWIGINTERN PyObject
*_wrap_PrintPreview_AdjustScrollbars(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29270 PyObject
*resultobj
= 0;
29271 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
29272 wxPreviewCanvas
*arg2
= (wxPreviewCanvas
*) 0 ;
29277 PyObject
* obj0
= 0 ;
29278 PyObject
* obj1
= 0 ;
29279 char * kwnames
[] = {
29280 (char *) "self",(char *) "canvas", NULL
29283 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_AdjustScrollbars",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29284 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
29285 if (!SWIG_IsOK(res1
)) {
29286 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_AdjustScrollbars" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29288 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
29289 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxPreviewCanvas
, 0 | 0 );
29290 if (!SWIG_IsOK(res2
)) {
29291 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PrintPreview_AdjustScrollbars" "', expected argument " "2"" of type '" "wxPreviewCanvas *""'");
29293 arg2
= reinterpret_cast< wxPreviewCanvas
* >(argp2
);
29295 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29296 (arg1
)->AdjustScrollbars(arg2
);
29297 wxPyEndAllowThreads(__tstate
);
29298 if (PyErr_Occurred()) SWIG_fail
;
29300 resultobj
= SWIG_Py_Void();
29307 SWIGINTERN PyObject
*_wrap_PrintPreview_GetPrintDialogData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29308 PyObject
*resultobj
= 0;
29309 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
29310 wxPrintDialogData
*result
= 0 ;
29313 PyObject
*swig_obj
[1] ;
29315 if (!args
) SWIG_fail
;
29316 swig_obj
[0] = args
;
29317 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
29318 if (!SWIG_IsOK(res1
)) {
29319 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_GetPrintDialogData" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29321 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
29323 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29325 wxPrintDialogData
&_result_ref
= (arg1
)->GetPrintDialogData();
29326 result
= (wxPrintDialogData
*) &_result_ref
;
29328 wxPyEndAllowThreads(__tstate
);
29329 if (PyErr_Occurred()) SWIG_fail
;
29331 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
29338 SWIGINTERN PyObject
*_wrap_PrintPreview_SetZoom(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29339 PyObject
*resultobj
= 0;
29340 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
29346 PyObject
* obj0
= 0 ;
29347 PyObject
* obj1
= 0 ;
29348 char * kwnames
[] = {
29349 (char *) "self",(char *) "percent", NULL
29352 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_SetZoom",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29353 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
29354 if (!SWIG_IsOK(res1
)) {
29355 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_SetZoom" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29357 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
29358 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
29359 if (!SWIG_IsOK(ecode2
)) {
29360 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintPreview_SetZoom" "', expected argument " "2"" of type '" "int""'");
29362 arg2
= static_cast< int >(val2
);
29364 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29365 (arg1
)->SetZoom(arg2
);
29366 wxPyEndAllowThreads(__tstate
);
29367 if (PyErr_Occurred()) SWIG_fail
;
29369 resultobj
= SWIG_Py_Void();
29376 SWIGINTERN PyObject
*_wrap_PrintPreview_GetZoom(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29377 PyObject
*resultobj
= 0;
29378 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
29382 PyObject
*swig_obj
[1] ;
29384 if (!args
) SWIG_fail
;
29385 swig_obj
[0] = args
;
29386 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
29387 if (!SWIG_IsOK(res1
)) {
29388 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_GetZoom" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29390 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
29392 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29393 result
= (int)(arg1
)->GetZoom();
29394 wxPyEndAllowThreads(__tstate
);
29395 if (PyErr_Occurred()) SWIG_fail
;
29397 resultobj
= SWIG_From_int(static_cast< int >(result
));
29404 SWIGINTERN PyObject
*_wrap_PrintPreview_GetMaxPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29405 PyObject
*resultobj
= 0;
29406 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
29410 PyObject
*swig_obj
[1] ;
29412 if (!args
) SWIG_fail
;
29413 swig_obj
[0] = args
;
29414 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
29415 if (!SWIG_IsOK(res1
)) {
29416 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_GetMaxPage" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29418 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
29420 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29421 result
= (int)(arg1
)->GetMaxPage();
29422 wxPyEndAllowThreads(__tstate
);
29423 if (PyErr_Occurred()) SWIG_fail
;
29425 resultobj
= SWIG_From_int(static_cast< int >(result
));
29432 SWIGINTERN PyObject
*_wrap_PrintPreview_GetMinPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29433 PyObject
*resultobj
= 0;
29434 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
29438 PyObject
*swig_obj
[1] ;
29440 if (!args
) SWIG_fail
;
29441 swig_obj
[0] = args
;
29442 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
29443 if (!SWIG_IsOK(res1
)) {
29444 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_GetMinPage" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29446 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
29448 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29449 result
= (int)(arg1
)->GetMinPage();
29450 wxPyEndAllowThreads(__tstate
);
29451 if (PyErr_Occurred()) SWIG_fail
;
29453 resultobj
= SWIG_From_int(static_cast< int >(result
));
29460 SWIGINTERN PyObject
*_wrap_PrintPreview_Ok(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29461 PyObject
*resultobj
= 0;
29462 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
29466 PyObject
*swig_obj
[1] ;
29468 if (!args
) SWIG_fail
;
29469 swig_obj
[0] = args
;
29470 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
29471 if (!SWIG_IsOK(res1
)) {
29472 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_Ok" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29474 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
29476 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29477 result
= (bool)(arg1
)->Ok();
29478 wxPyEndAllowThreads(__tstate
);
29479 if (PyErr_Occurred()) SWIG_fail
;
29482 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29490 SWIGINTERN PyObject
*_wrap_PrintPreview_SetOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29491 PyObject
*resultobj
= 0;
29492 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
29498 PyObject
* obj0
= 0 ;
29499 PyObject
* obj1
= 0 ;
29500 char * kwnames
[] = {
29501 (char *) "self",(char *) "ok", NULL
29504 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_SetOk",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29505 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
29506 if (!SWIG_IsOK(res1
)) {
29507 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_SetOk" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29509 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
29510 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
29511 if (!SWIG_IsOK(ecode2
)) {
29512 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintPreview_SetOk" "', expected argument " "2"" of type '" "bool""'");
29514 arg2
= static_cast< bool >(val2
);
29516 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29517 (arg1
)->SetOk(arg2
);
29518 wxPyEndAllowThreads(__tstate
);
29519 if (PyErr_Occurred()) SWIG_fail
;
29521 resultobj
= SWIG_Py_Void();
29528 SWIGINTERN PyObject
*_wrap_PrintPreview_Print(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29529 PyObject
*resultobj
= 0;
29530 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
29537 PyObject
* obj0
= 0 ;
29538 PyObject
* obj1
= 0 ;
29539 char * kwnames
[] = {
29540 (char *) "self",(char *) "interactive", NULL
29543 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_Print",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29544 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
29545 if (!SWIG_IsOK(res1
)) {
29546 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_Print" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29548 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
29549 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
29550 if (!SWIG_IsOK(ecode2
)) {
29551 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintPreview_Print" "', expected argument " "2"" of type '" "bool""'");
29553 arg2
= static_cast< bool >(val2
);
29555 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29556 result
= (bool)(arg1
)->Print(arg2
);
29557 wxPyEndAllowThreads(__tstate
);
29558 if (PyErr_Occurred()) SWIG_fail
;
29561 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29569 SWIGINTERN PyObject
*_wrap_PrintPreview_DetermineScaling(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29570 PyObject
*resultobj
= 0;
29571 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
29574 PyObject
*swig_obj
[1] ;
29576 if (!args
) SWIG_fail
;
29577 swig_obj
[0] = args
;
29578 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
29579 if (!SWIG_IsOK(res1
)) {
29580 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_DetermineScaling" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29582 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
29584 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29585 (arg1
)->DetermineScaling();
29586 wxPyEndAllowThreads(__tstate
);
29587 if (PyErr_Occurred()) SWIG_fail
;
29589 resultobj
= SWIG_Py_Void();
29596 SWIGINTERN PyObject
*PrintPreview_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29598 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
29599 SWIG_TypeNewClientData(SWIGTYPE_p_wxPrintPreview
, SWIG_NewClientData(obj
));
29600 return SWIG_Py_Void();
29603 SWIGINTERN PyObject
*PrintPreview_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29604 return SWIG_Python_InitShadowInstance(args
);
29607 SWIGINTERN PyObject
*_wrap_new_PyPrintPreview__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
29608 PyObject
*resultobj
= 0;
29609 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
29610 wxPyPrintout
*arg2
= (wxPyPrintout
*) 0 ;
29611 wxPrintDialogData
*arg3
= (wxPrintDialogData
*) NULL
;
29612 wxPyPrintPreview
*result
= 0 ;
29618 if ((nobjs
< 2) || (nobjs
> 3)) SWIG_fail
;
29619 res1
= SWIG_ConvertPtr(swig_obj
[0], SWIG_as_voidptrptr(&arg1
), SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_DISOWN
| 0 );
29620 if (!SWIG_IsOK(res1
)) {
29621 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PyPrintPreview" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
29623 res2
= SWIG_ConvertPtr(swig_obj
[1], SWIG_as_voidptrptr(&arg2
), SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_DISOWN
| 0 );
29624 if (!SWIG_IsOK(res2
)) {
29625 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_PyPrintPreview" "', expected argument " "2"" of type '" "wxPyPrintout *""'");
29628 res3
= SWIG_ConvertPtr(swig_obj
[2], &argp3
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
29629 if (!SWIG_IsOK(res3
)) {
29630 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "new_PyPrintPreview" "', expected argument " "3"" of type '" "wxPrintDialogData *""'");
29632 arg3
= reinterpret_cast< wxPrintDialogData
* >(argp3
);
29635 if (!wxPyCheckForApp()) SWIG_fail
;
29636 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29637 result
= (wxPyPrintPreview
*)new wxPyPrintPreview(arg1
,arg2
,arg3
);
29638 wxPyEndAllowThreads(__tstate
);
29639 if (PyErr_Occurred()) SWIG_fail
;
29641 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyPrintPreview
, SWIG_POINTER_NEW
| 0 );
29648 SWIGINTERN PyObject
*_wrap_new_PyPrintPreview__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
29649 PyObject
*resultobj
= 0;
29650 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
29651 wxPyPrintout
*arg2
= (wxPyPrintout
*) 0 ;
29652 wxPrintData
*arg3
= (wxPrintData
*) 0 ;
29653 wxPyPrintPreview
*result
= 0 ;
29659 if ((nobjs
< 3) || (nobjs
> 3)) SWIG_fail
;
29660 res1
= SWIG_ConvertPtr(swig_obj
[0], SWIG_as_voidptrptr(&arg1
), SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_DISOWN
| 0 );
29661 if (!SWIG_IsOK(res1
)) {
29662 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PyPrintPreview" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
29664 res2
= SWIG_ConvertPtr(swig_obj
[1], SWIG_as_voidptrptr(&arg2
), SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_DISOWN
| 0 );
29665 if (!SWIG_IsOK(res2
)) {
29666 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_PyPrintPreview" "', expected argument " "2"" of type '" "wxPyPrintout *""'");
29668 res3
= SWIG_ConvertPtr(swig_obj
[2], &argp3
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
29669 if (!SWIG_IsOK(res3
)) {
29670 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "new_PyPrintPreview" "', expected argument " "3"" of type '" "wxPrintData *""'");
29672 arg3
= reinterpret_cast< wxPrintData
* >(argp3
);
29674 if (!wxPyCheckForApp()) SWIG_fail
;
29675 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29676 result
= (wxPyPrintPreview
*)new wxPyPrintPreview(arg1
,arg2
,arg3
);
29677 wxPyEndAllowThreads(__tstate
);
29678 if (PyErr_Occurred()) SWIG_fail
;
29680 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyPrintPreview
, SWIG_POINTER_NEW
| 0 );
29687 SWIGINTERN PyObject
*_wrap_new_PyPrintPreview(PyObject
*self
, PyObject
*args
) {
29691 if (!(argc
= SWIG_Python_UnpackTuple(args
,"new_PyPrintPreview",0,3,argv
))) SWIG_fail
;
29693 if ((argc
>= 2) && (argc
<= 3)) {
29698 int res
= SWIG_ConvertPtr(argv
[2], &vptr
, SWIGTYPE_p_wxPrintDialogData
, 0);
29699 _v
= SWIG_CheckState(res
);
29701 if (!_v
) goto check_1
;
29703 return _wrap_new_PyPrintPreview__SWIG_0(self
, argc
, argv
);
29708 return _wrap_new_PyPrintPreview__SWIG_1(self
, argc
, argv
);
29712 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'new_PyPrintPreview'");
29717 SWIGINTERN PyObject
*_wrap_PyPrintPreview__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29718 PyObject
*resultobj
= 0;
29719 wxPyPrintPreview
*arg1
= (wxPyPrintPreview
*) 0 ;
29720 PyObject
*arg2
= (PyObject
*) 0 ;
29721 PyObject
*arg3
= (PyObject
*) 0 ;
29724 PyObject
* obj0
= 0 ;
29725 PyObject
* obj1
= 0 ;
29726 PyObject
* obj2
= 0 ;
29727 char * kwnames
[] = {
29728 (char *) "self",(char *) "self",(char *) "_class", NULL
29731 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyPrintPreview__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
29732 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPrintPreview
, 0 | 0 );
29733 if (!SWIG_IsOK(res1
)) {
29734 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPrintPreview__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyPrintPreview *""'");
29736 arg1
= reinterpret_cast< wxPyPrintPreview
* >(argp1
);
29740 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29741 (arg1
)->_setCallbackInfo(arg2
,arg3
);
29742 wxPyEndAllowThreads(__tstate
);
29743 if (PyErr_Occurred()) SWIG_fail
;
29745 resultobj
= SWIG_Py_Void();
29752 SWIGINTERN PyObject
*PyPrintPreview_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29754 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
29755 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyPrintPreview
, SWIG_NewClientData(obj
));
29756 return SWIG_Py_Void();
29759 SWIGINTERN PyObject
*PyPrintPreview_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29760 return SWIG_Python_InitShadowInstance(args
);
29763 SWIGINTERN PyObject
*_wrap_new_PyPreviewFrame(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29764 PyObject
*resultobj
= 0;
29765 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
29766 wxFrame
*arg2
= (wxFrame
*) 0 ;
29767 wxString
*arg3
= 0 ;
29768 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
29769 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
29770 wxSize
const &arg5_defvalue
= wxDefaultSize
;
29771 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
29772 long arg6
= (long) wxDEFAULT_FRAME_STYLE
;
29773 wxString
const &arg7_defvalue
= wxPyFrameNameStr
;
29774 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
29775 wxPyPreviewFrame
*result
= 0 ;
29780 bool temp3
= false ;
29785 bool temp7
= false ;
29786 PyObject
* obj0
= 0 ;
29787 PyObject
* obj1
= 0 ;
29788 PyObject
* obj2
= 0 ;
29789 PyObject
* obj3
= 0 ;
29790 PyObject
* obj4
= 0 ;
29791 PyObject
* obj5
= 0 ;
29792 PyObject
* obj6
= 0 ;
29793 char * kwnames
[] = {
29794 (char *) "preview",(char *) "parent",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
29797 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:new_PyPreviewFrame",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
29798 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
29799 if (!SWIG_IsOK(res1
)) {
29800 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PyPreviewFrame" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29802 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
29803 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxFrame
, 0 | 0 );
29804 if (!SWIG_IsOK(res2
)) {
29805 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_PyPreviewFrame" "', expected argument " "2"" of type '" "wxFrame *""'");
29807 arg2
= reinterpret_cast< wxFrame
* >(argp2
);
29809 arg3
= wxString_in_helper(obj2
);
29810 if (arg3
== NULL
) SWIG_fail
;
29816 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
29822 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
29826 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
29827 if (!SWIG_IsOK(ecode6
)) {
29828 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_PyPreviewFrame" "', expected argument " "6"" of type '" "long""'");
29830 arg6
= static_cast< long >(val6
);
29834 arg7
= wxString_in_helper(obj6
);
29835 if (arg7
== NULL
) SWIG_fail
;
29840 if (!wxPyCheckForApp()) SWIG_fail
;
29841 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29842 result
= (wxPyPreviewFrame
*)new wxPyPreviewFrame(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
29843 wxPyEndAllowThreads(__tstate
);
29844 if (PyErr_Occurred()) SWIG_fail
;
29846 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyPreviewFrame
, SWIG_POINTER_NEW
| 0 );
29869 SWIGINTERN PyObject
*_wrap_PyPreviewFrame__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29870 PyObject
*resultobj
= 0;
29871 wxPyPreviewFrame
*arg1
= (wxPyPreviewFrame
*) 0 ;
29872 PyObject
*arg2
= (PyObject
*) 0 ;
29873 PyObject
*arg3
= (PyObject
*) 0 ;
29876 PyObject
* obj0
= 0 ;
29877 PyObject
* obj1
= 0 ;
29878 PyObject
* obj2
= 0 ;
29879 char * kwnames
[] = {
29880 (char *) "self",(char *) "self",(char *) "_class", NULL
29883 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyPreviewFrame__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
29884 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPreviewFrame
, 0 | 0 );
29885 if (!SWIG_IsOK(res1
)) {
29886 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPreviewFrame__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyPreviewFrame *""'");
29888 arg1
= reinterpret_cast< wxPyPreviewFrame
* >(argp1
);
29892 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29893 (arg1
)->_setCallbackInfo(arg2
,arg3
);
29894 wxPyEndAllowThreads(__tstate
);
29895 if (PyErr_Occurred()) SWIG_fail
;
29897 resultobj
= SWIG_Py_Void();
29904 SWIGINTERN PyObject
*_wrap_PyPreviewFrame_SetPreviewCanvas(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29905 PyObject
*resultobj
= 0;
29906 wxPyPreviewFrame
*arg1
= (wxPyPreviewFrame
*) 0 ;
29907 wxPreviewCanvas
*arg2
= (wxPreviewCanvas
*) 0 ;
29912 PyObject
* obj0
= 0 ;
29913 PyObject
* obj1
= 0 ;
29914 char * kwnames
[] = {
29915 (char *) "self",(char *) "canvas", NULL
29918 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPreviewFrame_SetPreviewCanvas",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29919 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPreviewFrame
, 0 | 0 );
29920 if (!SWIG_IsOK(res1
)) {
29921 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPreviewFrame_SetPreviewCanvas" "', expected argument " "1"" of type '" "wxPyPreviewFrame *""'");
29923 arg1
= reinterpret_cast< wxPyPreviewFrame
* >(argp1
);
29924 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxPreviewCanvas
, 0 | 0 );
29925 if (!SWIG_IsOK(res2
)) {
29926 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PyPreviewFrame_SetPreviewCanvas" "', expected argument " "2"" of type '" "wxPreviewCanvas *""'");
29928 arg2
= reinterpret_cast< wxPreviewCanvas
* >(argp2
);
29930 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29931 (arg1
)->SetPreviewCanvas(arg2
);
29932 wxPyEndAllowThreads(__tstate
);
29933 if (PyErr_Occurred()) SWIG_fail
;
29935 resultobj
= SWIG_Py_Void();
29942 SWIGINTERN PyObject
*_wrap_PyPreviewFrame_SetControlBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29943 PyObject
*resultobj
= 0;
29944 wxPyPreviewFrame
*arg1
= (wxPyPreviewFrame
*) 0 ;
29945 wxPreviewControlBar
*arg2
= (wxPreviewControlBar
*) 0 ;
29950 PyObject
* obj0
= 0 ;
29951 PyObject
* obj1
= 0 ;
29952 char * kwnames
[] = {
29953 (char *) "self",(char *) "bar", NULL
29956 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPreviewFrame_SetControlBar",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29957 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPreviewFrame
, 0 | 0 );
29958 if (!SWIG_IsOK(res1
)) {
29959 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPreviewFrame_SetControlBar" "', expected argument " "1"" of type '" "wxPyPreviewFrame *""'");
29961 arg1
= reinterpret_cast< wxPyPreviewFrame
* >(argp1
);
29962 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxPreviewControlBar
, 0 | 0 );
29963 if (!SWIG_IsOK(res2
)) {
29964 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PyPreviewFrame_SetControlBar" "', expected argument " "2"" of type '" "wxPreviewControlBar *""'");
29966 arg2
= reinterpret_cast< wxPreviewControlBar
* >(argp2
);
29968 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29969 (arg1
)->SetControlBar(arg2
);
29970 wxPyEndAllowThreads(__tstate
);
29971 if (PyErr_Occurred()) SWIG_fail
;
29973 resultobj
= SWIG_Py_Void();
29980 SWIGINTERN PyObject
*_wrap_PyPreviewFrame_Initialize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29981 PyObject
*resultobj
= 0;
29982 wxPyPreviewFrame
*arg1
= (wxPyPreviewFrame
*) 0 ;
29985 PyObject
*swig_obj
[1] ;
29987 if (!args
) SWIG_fail
;
29988 swig_obj
[0] = args
;
29989 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPreviewFrame
, 0 | 0 );
29990 if (!SWIG_IsOK(res1
)) {
29991 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPreviewFrame_Initialize" "', expected argument " "1"" of type '" "wxPyPreviewFrame *""'");
29993 arg1
= reinterpret_cast< wxPyPreviewFrame
* >(argp1
);
29995 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29996 (arg1
)->Initialize();
29997 wxPyEndAllowThreads(__tstate
);
29998 if (PyErr_Occurred()) SWIG_fail
;
30000 resultobj
= SWIG_Py_Void();
30007 SWIGINTERN PyObject
*_wrap_PyPreviewFrame_CreateCanvas(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30008 PyObject
*resultobj
= 0;
30009 wxPyPreviewFrame
*arg1
= (wxPyPreviewFrame
*) 0 ;
30012 PyObject
*swig_obj
[1] ;
30014 if (!args
) SWIG_fail
;
30015 swig_obj
[0] = args
;
30016 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPreviewFrame
, 0 | 0 );
30017 if (!SWIG_IsOK(res1
)) {
30018 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPreviewFrame_CreateCanvas" "', expected argument " "1"" of type '" "wxPyPreviewFrame *""'");
30020 arg1
= reinterpret_cast< wxPyPreviewFrame
* >(argp1
);
30022 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30023 (arg1
)->CreateCanvas();
30024 wxPyEndAllowThreads(__tstate
);
30025 if (PyErr_Occurred()) SWIG_fail
;
30027 resultobj
= SWIG_Py_Void();
30034 SWIGINTERN PyObject
*_wrap_PyPreviewFrame_CreateControlBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30035 PyObject
*resultobj
= 0;
30036 wxPyPreviewFrame
*arg1
= (wxPyPreviewFrame
*) 0 ;
30039 PyObject
*swig_obj
[1] ;
30041 if (!args
) SWIG_fail
;
30042 swig_obj
[0] = args
;
30043 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPreviewFrame
, 0 | 0 );
30044 if (!SWIG_IsOK(res1
)) {
30045 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPreviewFrame_CreateControlBar" "', expected argument " "1"" of type '" "wxPyPreviewFrame *""'");
30047 arg1
= reinterpret_cast< wxPyPreviewFrame
* >(argp1
);
30049 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30050 (arg1
)->CreateControlBar();
30051 wxPyEndAllowThreads(__tstate
);
30052 if (PyErr_Occurred()) SWIG_fail
;
30054 resultobj
= SWIG_Py_Void();
30061 SWIGINTERN PyObject
*PyPreviewFrame_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30063 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
30064 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyPreviewFrame
, SWIG_NewClientData(obj
));
30065 return SWIG_Py_Void();
30068 SWIGINTERN PyObject
*PyPreviewFrame_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30069 return SWIG_Python_InitShadowInstance(args
);
30072 SWIGINTERN PyObject
*_wrap_new_PyPreviewControlBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30073 PyObject
*resultobj
= 0;
30074 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
30076 wxWindow
*arg3
= (wxWindow
*) 0 ;
30077 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
30078 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
30079 wxSize
const &arg5_defvalue
= wxDefaultSize
;
30080 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
30081 long arg6
= (long) 0 ;
30082 wxString
const &arg7_defvalue
= wxPyPanelNameStr
;
30083 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
30084 wxPyPreviewControlBar
*result
= 0 ;
30095 bool temp7
= false ;
30096 PyObject
* obj0
= 0 ;
30097 PyObject
* obj1
= 0 ;
30098 PyObject
* obj2
= 0 ;
30099 PyObject
* obj3
= 0 ;
30100 PyObject
* obj4
= 0 ;
30101 PyObject
* obj5
= 0 ;
30102 PyObject
* obj6
= 0 ;
30103 char * kwnames
[] = {
30104 (char *) "preview",(char *) "buttons",(char *) "parent",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
30107 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:new_PyPreviewControlBar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
30108 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
30109 if (!SWIG_IsOK(res1
)) {
30110 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PyPreviewControlBar" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
30112 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
30113 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
30114 if (!SWIG_IsOK(ecode2
)) {
30115 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_PyPreviewControlBar" "', expected argument " "2"" of type '" "long""'");
30117 arg2
= static_cast< long >(val2
);
30118 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxWindow
, 0 | 0 );
30119 if (!SWIG_IsOK(res3
)) {
30120 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "new_PyPreviewControlBar" "', expected argument " "3"" of type '" "wxWindow *""'");
30122 arg3
= reinterpret_cast< wxWindow
* >(argp3
);
30126 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
30132 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
30136 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
30137 if (!SWIG_IsOK(ecode6
)) {
30138 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_PyPreviewControlBar" "', expected argument " "6"" of type '" "long""'");
30140 arg6
= static_cast< long >(val6
);
30144 arg7
= wxString_in_helper(obj6
);
30145 if (arg7
== NULL
) SWIG_fail
;
30150 if (!wxPyCheckForApp()) SWIG_fail
;
30151 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30152 result
= (wxPyPreviewControlBar
*)new wxPyPreviewControlBar(arg1
,arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
30153 wxPyEndAllowThreads(__tstate
);
30154 if (PyErr_Occurred()) SWIG_fail
;
30156 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyPreviewControlBar
, SWIG_POINTER_NEW
| 0 );
30171 SWIGINTERN PyObject
*_wrap_PyPreviewControlBar__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30172 PyObject
*resultobj
= 0;
30173 wxPyPreviewControlBar
*arg1
= (wxPyPreviewControlBar
*) 0 ;
30174 PyObject
*arg2
= (PyObject
*) 0 ;
30175 PyObject
*arg3
= (PyObject
*) 0 ;
30178 PyObject
* obj0
= 0 ;
30179 PyObject
* obj1
= 0 ;
30180 PyObject
* obj2
= 0 ;
30181 char * kwnames
[] = {
30182 (char *) "self",(char *) "self",(char *) "_class", NULL
30185 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyPreviewControlBar__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
30186 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPreviewControlBar
, 0 | 0 );
30187 if (!SWIG_IsOK(res1
)) {
30188 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPreviewControlBar__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyPreviewControlBar *""'");
30190 arg1
= reinterpret_cast< wxPyPreviewControlBar
* >(argp1
);
30194 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30195 (arg1
)->_setCallbackInfo(arg2
,arg3
);
30196 wxPyEndAllowThreads(__tstate
);
30197 if (PyErr_Occurred()) SWIG_fail
;
30199 resultobj
= SWIG_Py_Void();
30206 SWIGINTERN PyObject
*_wrap_PyPreviewControlBar_SetPrintPreview(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30207 PyObject
*resultobj
= 0;
30208 wxPyPreviewControlBar
*arg1
= (wxPyPreviewControlBar
*) 0 ;
30209 wxPrintPreview
*arg2
= (wxPrintPreview
*) 0 ;
30214 PyObject
* obj0
= 0 ;
30215 PyObject
* obj1
= 0 ;
30216 char * kwnames
[] = {
30217 (char *) "self",(char *) "preview", NULL
30220 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPreviewControlBar_SetPrintPreview",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30221 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPreviewControlBar
, 0 | 0 );
30222 if (!SWIG_IsOK(res1
)) {
30223 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPreviewControlBar_SetPrintPreview" "', expected argument " "1"" of type '" "wxPyPreviewControlBar *""'");
30225 arg1
= reinterpret_cast< wxPyPreviewControlBar
* >(argp1
);
30226 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
30227 if (!SWIG_IsOK(res2
)) {
30228 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PyPreviewControlBar_SetPrintPreview" "', expected argument " "2"" of type '" "wxPrintPreview *""'");
30230 arg2
= reinterpret_cast< wxPrintPreview
* >(argp2
);
30232 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30233 (arg1
)->SetPrintPreview(arg2
);
30234 wxPyEndAllowThreads(__tstate
);
30235 if (PyErr_Occurred()) SWIG_fail
;
30237 resultobj
= SWIG_Py_Void();
30244 SWIGINTERN PyObject
*_wrap_PyPreviewControlBar_CreateButtons(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30245 PyObject
*resultobj
= 0;
30246 wxPyPreviewControlBar
*arg1
= (wxPyPreviewControlBar
*) 0 ;
30249 PyObject
*swig_obj
[1] ;
30251 if (!args
) SWIG_fail
;
30252 swig_obj
[0] = args
;
30253 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPreviewControlBar
, 0 | 0 );
30254 if (!SWIG_IsOK(res1
)) {
30255 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPreviewControlBar_CreateButtons" "', expected argument " "1"" of type '" "wxPyPreviewControlBar *""'");
30257 arg1
= reinterpret_cast< wxPyPreviewControlBar
* >(argp1
);
30259 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30260 (arg1
)->CreateButtons();
30261 wxPyEndAllowThreads(__tstate
);
30262 if (PyErr_Occurred()) SWIG_fail
;
30264 resultobj
= SWIG_Py_Void();
30271 SWIGINTERN PyObject
*_wrap_PyPreviewControlBar_SetZoomControl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30272 PyObject
*resultobj
= 0;
30273 wxPyPreviewControlBar
*arg1
= (wxPyPreviewControlBar
*) 0 ;
30279 PyObject
* obj0
= 0 ;
30280 PyObject
* obj1
= 0 ;
30281 char * kwnames
[] = {
30282 (char *) "self",(char *) "zoom", NULL
30285 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPreviewControlBar_SetZoomControl",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30286 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPreviewControlBar
, 0 | 0 );
30287 if (!SWIG_IsOK(res1
)) {
30288 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPreviewControlBar_SetZoomControl" "', expected argument " "1"" of type '" "wxPyPreviewControlBar *""'");
30290 arg1
= reinterpret_cast< wxPyPreviewControlBar
* >(argp1
);
30291 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
30292 if (!SWIG_IsOK(ecode2
)) {
30293 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PyPreviewControlBar_SetZoomControl" "', expected argument " "2"" of type '" "int""'");
30295 arg2
= static_cast< int >(val2
);
30297 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30298 (arg1
)->SetZoomControl(arg2
);
30299 wxPyEndAllowThreads(__tstate
);
30300 if (PyErr_Occurred()) SWIG_fail
;
30302 resultobj
= SWIG_Py_Void();
30309 SWIGINTERN PyObject
*PyPreviewControlBar_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30311 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
30312 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyPreviewControlBar
, SWIG_NewClientData(obj
));
30313 return SWIG_Py_Void();
30316 SWIGINTERN PyObject
*PyPreviewControlBar_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30317 return SWIG_Python_InitShadowInstance(args
);
30320 static PyMethodDef SwigMethods
[] = {
30321 { (char *)"new_Panel", (PyCFunction
) _wrap_new_Panel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30322 { (char *)"new_PrePanel", (PyCFunction
)_wrap_new_PrePanel
, METH_NOARGS
, NULL
},
30323 { (char *)"Panel_Create", (PyCFunction
) _wrap_Panel_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30324 { (char *)"Panel_SetFocusIgnoringChildren", (PyCFunction
)_wrap_Panel_SetFocusIgnoringChildren
, METH_O
, NULL
},
30325 { (char *)"Panel_GetClassDefaultAttributes", (PyCFunction
) _wrap_Panel_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30326 { (char *)"Panel_swigregister", Panel_swigregister
, METH_VARARGS
, NULL
},
30327 { (char *)"Panel_swiginit", Panel_swiginit
, METH_VARARGS
, NULL
},
30328 { (char *)"new_ScrolledWindow", (PyCFunction
) _wrap_new_ScrolledWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30329 { (char *)"new_PreScrolledWindow", (PyCFunction
)_wrap_new_PreScrolledWindow
, METH_NOARGS
, NULL
},
30330 { (char *)"ScrolledWindow_Create", (PyCFunction
) _wrap_ScrolledWindow_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30331 { (char *)"ScrolledWindow_SetScrollbars", (PyCFunction
) _wrap_ScrolledWindow_SetScrollbars
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30332 { (char *)"ScrolledWindow_Scroll", (PyCFunction
) _wrap_ScrolledWindow_Scroll
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30333 { (char *)"ScrolledWindow_GetScrollPageSize", (PyCFunction
) _wrap_ScrolledWindow_GetScrollPageSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30334 { (char *)"ScrolledWindow_SetScrollPageSize", (PyCFunction
) _wrap_ScrolledWindow_SetScrollPageSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30335 { (char *)"ScrolledWindow_SetScrollRate", (PyCFunction
) _wrap_ScrolledWindow_SetScrollRate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30336 { (char *)"ScrolledWindow_GetScrollPixelsPerUnit", (PyCFunction
)_wrap_ScrolledWindow_GetScrollPixelsPerUnit
, METH_O
, NULL
},
30337 { (char *)"ScrolledWindow_EnableScrolling", (PyCFunction
) _wrap_ScrolledWindow_EnableScrolling
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30338 { (char *)"ScrolledWindow_GetViewStart", (PyCFunction
)_wrap_ScrolledWindow_GetViewStart
, METH_O
, NULL
},
30339 { (char *)"ScrolledWindow_SetScale", (PyCFunction
) _wrap_ScrolledWindow_SetScale
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30340 { (char *)"ScrolledWindow_GetScaleX", (PyCFunction
)_wrap_ScrolledWindow_GetScaleX
, METH_O
, NULL
},
30341 { (char *)"ScrolledWindow_GetScaleY", (PyCFunction
)_wrap_ScrolledWindow_GetScaleY
, METH_O
, NULL
},
30342 { (char *)"ScrolledWindow_CalcScrolledPosition", _wrap_ScrolledWindow_CalcScrolledPosition
, METH_VARARGS
, NULL
},
30343 { (char *)"ScrolledWindow_CalcUnscrolledPosition", _wrap_ScrolledWindow_CalcUnscrolledPosition
, METH_VARARGS
, NULL
},
30344 { (char *)"ScrolledWindow_AdjustScrollbars", (PyCFunction
)_wrap_ScrolledWindow_AdjustScrollbars
, METH_O
, NULL
},
30345 { (char *)"ScrolledWindow_CalcScrollInc", (PyCFunction
) _wrap_ScrolledWindow_CalcScrollInc
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30346 { (char *)"ScrolledWindow_SetTargetWindow", (PyCFunction
) _wrap_ScrolledWindow_SetTargetWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30347 { (char *)"ScrolledWindow_GetTargetWindow", (PyCFunction
)_wrap_ScrolledWindow_GetTargetWindow
, METH_O
, NULL
},
30348 { (char *)"ScrolledWindow_SetTargetRect", (PyCFunction
) _wrap_ScrolledWindow_SetTargetRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30349 { (char *)"ScrolledWindow_GetTargetRect", (PyCFunction
)_wrap_ScrolledWindow_GetTargetRect
, METH_O
, NULL
},
30350 { (char *)"ScrolledWindow_DoPrepareDC", (PyCFunction
) _wrap_ScrolledWindow_DoPrepareDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30351 { (char *)"ScrolledWindow_GetClassDefaultAttributes", (PyCFunction
) _wrap_ScrolledWindow_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30352 { (char *)"ScrolledWindow_swigregister", ScrolledWindow_swigregister
, METH_VARARGS
, NULL
},
30353 { (char *)"ScrolledWindow_swiginit", ScrolledWindow_swiginit
, METH_VARARGS
, NULL
},
30354 { (char *)"TopLevelWindow_Maximize", (PyCFunction
) _wrap_TopLevelWindow_Maximize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30355 { (char *)"TopLevelWindow_Restore", (PyCFunction
)_wrap_TopLevelWindow_Restore
, METH_O
, NULL
},
30356 { (char *)"TopLevelWindow_Iconize", (PyCFunction
) _wrap_TopLevelWindow_Iconize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30357 { (char *)"TopLevelWindow_IsMaximized", (PyCFunction
)_wrap_TopLevelWindow_IsMaximized
, METH_O
, NULL
},
30358 { (char *)"TopLevelWindow_IsIconized", (PyCFunction
)_wrap_TopLevelWindow_IsIconized
, METH_O
, NULL
},
30359 { (char *)"TopLevelWindow_GetIcon", (PyCFunction
)_wrap_TopLevelWindow_GetIcon
, METH_O
, NULL
},
30360 { (char *)"TopLevelWindow_SetIcon", (PyCFunction
) _wrap_TopLevelWindow_SetIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30361 { (char *)"TopLevelWindow_SetIcons", (PyCFunction
) _wrap_TopLevelWindow_SetIcons
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30362 { (char *)"TopLevelWindow_ShowFullScreen", (PyCFunction
) _wrap_TopLevelWindow_ShowFullScreen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30363 { (char *)"TopLevelWindow_IsFullScreen", (PyCFunction
)_wrap_TopLevelWindow_IsFullScreen
, METH_O
, NULL
},
30364 { (char *)"TopLevelWindow_SetTitle", (PyCFunction
) _wrap_TopLevelWindow_SetTitle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30365 { (char *)"TopLevelWindow_GetTitle", (PyCFunction
)_wrap_TopLevelWindow_GetTitle
, METH_O
, NULL
},
30366 { (char *)"TopLevelWindow_SetShape", (PyCFunction
) _wrap_TopLevelWindow_SetShape
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30367 { (char *)"TopLevelWindow_RequestUserAttention", (PyCFunction
) _wrap_TopLevelWindow_RequestUserAttention
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30368 { (char *)"TopLevelWindow_IsActive", (PyCFunction
)_wrap_TopLevelWindow_IsActive
, METH_O
, NULL
},
30369 { (char *)"TopLevelWindow_MacSetMetalAppearance", (PyCFunction
) _wrap_TopLevelWindow_MacSetMetalAppearance
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30370 { (char *)"TopLevelWindow_MacGetMetalAppearance", (PyCFunction
)_wrap_TopLevelWindow_MacGetMetalAppearance
, METH_O
, NULL
},
30371 { (char *)"TopLevelWindow_CenterOnScreen", (PyCFunction
) _wrap_TopLevelWindow_CenterOnScreen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30372 { (char *)"TopLevelWindow_swigregister", TopLevelWindow_swigregister
, METH_VARARGS
, NULL
},
30373 { (char *)"new_Frame", (PyCFunction
) _wrap_new_Frame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30374 { (char *)"new_PreFrame", (PyCFunction
)_wrap_new_PreFrame
, METH_NOARGS
, NULL
},
30375 { (char *)"Frame_Create", (PyCFunction
) _wrap_Frame_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30376 { (char *)"Frame_SendSizeEvent", (PyCFunction
)_wrap_Frame_SendSizeEvent
, METH_O
, NULL
},
30377 { (char *)"Frame_SetMenuBar", (PyCFunction
) _wrap_Frame_SetMenuBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30378 { (char *)"Frame_GetMenuBar", (PyCFunction
)_wrap_Frame_GetMenuBar
, METH_O
, NULL
},
30379 { (char *)"Frame_ProcessCommand", (PyCFunction
) _wrap_Frame_ProcessCommand
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30380 { (char *)"Frame_CreateStatusBar", (PyCFunction
) _wrap_Frame_CreateStatusBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30381 { (char *)"Frame_GetStatusBar", (PyCFunction
)_wrap_Frame_GetStatusBar
, METH_O
, NULL
},
30382 { (char *)"Frame_SetStatusBar", (PyCFunction
) _wrap_Frame_SetStatusBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30383 { (char *)"Frame_SetStatusText", (PyCFunction
) _wrap_Frame_SetStatusText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30384 { (char *)"Frame_SetStatusWidths", (PyCFunction
) _wrap_Frame_SetStatusWidths
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30385 { (char *)"Frame_PushStatusText", (PyCFunction
) _wrap_Frame_PushStatusText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30386 { (char *)"Frame_PopStatusText", (PyCFunction
) _wrap_Frame_PopStatusText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30387 { (char *)"Frame_SetStatusBarPane", (PyCFunction
) _wrap_Frame_SetStatusBarPane
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30388 { (char *)"Frame_GetStatusBarPane", (PyCFunction
)_wrap_Frame_GetStatusBarPane
, METH_O
, NULL
},
30389 { (char *)"Frame_CreateToolBar", (PyCFunction
) _wrap_Frame_CreateToolBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30390 { (char *)"Frame_GetToolBar", (PyCFunction
)_wrap_Frame_GetToolBar
, METH_O
, NULL
},
30391 { (char *)"Frame_SetToolBar", (PyCFunction
) _wrap_Frame_SetToolBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30392 { (char *)"Frame_DoGiveHelp", (PyCFunction
) _wrap_Frame_DoGiveHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30393 { (char *)"Frame_DoMenuUpdates", (PyCFunction
) _wrap_Frame_DoMenuUpdates
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30394 { (char *)"Frame_GetClassDefaultAttributes", (PyCFunction
) _wrap_Frame_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30395 { (char *)"Frame_swigregister", Frame_swigregister
, METH_VARARGS
, NULL
},
30396 { (char *)"Frame_swiginit", Frame_swiginit
, METH_VARARGS
, NULL
},
30397 { (char *)"new_Dialog", (PyCFunction
) _wrap_new_Dialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30398 { (char *)"new_PreDialog", (PyCFunction
)_wrap_new_PreDialog
, METH_NOARGS
, NULL
},
30399 { (char *)"Dialog_Create", (PyCFunction
) _wrap_Dialog_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30400 { (char *)"Dialog_SetReturnCode", (PyCFunction
) _wrap_Dialog_SetReturnCode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30401 { (char *)"Dialog_GetReturnCode", (PyCFunction
)_wrap_Dialog_GetReturnCode
, METH_O
, NULL
},
30402 { (char *)"Dialog_SetAffirmativeId", (PyCFunction
) _wrap_Dialog_SetAffirmativeId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30403 { (char *)"Dialog_GetAffirmativeId", (PyCFunction
)_wrap_Dialog_GetAffirmativeId
, METH_O
, NULL
},
30404 { (char *)"Dialog_SetEscapeId", (PyCFunction
) _wrap_Dialog_SetEscapeId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30405 { (char *)"Dialog_GetEscapeId", (PyCFunction
)_wrap_Dialog_GetEscapeId
, METH_O
, NULL
},
30406 { (char *)"Dialog_CreateTextSizer", (PyCFunction
) _wrap_Dialog_CreateTextSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30407 { (char *)"Dialog_CreateButtonSizer", (PyCFunction
) _wrap_Dialog_CreateButtonSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30408 { (char *)"Dialog_CreateStdDialogButtonSizer", (PyCFunction
) _wrap_Dialog_CreateStdDialogButtonSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30409 { (char *)"Dialog_IsModal", (PyCFunction
)_wrap_Dialog_IsModal
, METH_O
, NULL
},
30410 { (char *)"Dialog_ShowModal", (PyCFunction
)_wrap_Dialog_ShowModal
, METH_O
, NULL
},
30411 { (char *)"Dialog_EndModal", (PyCFunction
) _wrap_Dialog_EndModal
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30412 { (char *)"Dialog_GetClassDefaultAttributes", (PyCFunction
) _wrap_Dialog_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30413 { (char *)"Dialog_swigregister", Dialog_swigregister
, METH_VARARGS
, NULL
},
30414 { (char *)"Dialog_swiginit", Dialog_swiginit
, METH_VARARGS
, NULL
},
30415 { (char *)"new_MiniFrame", (PyCFunction
) _wrap_new_MiniFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30416 { (char *)"new_PreMiniFrame", (PyCFunction
)_wrap_new_PreMiniFrame
, METH_NOARGS
, NULL
},
30417 { (char *)"MiniFrame_Create", (PyCFunction
) _wrap_MiniFrame_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30418 { (char *)"MiniFrame_swigregister", MiniFrame_swigregister
, METH_VARARGS
, NULL
},
30419 { (char *)"MiniFrame_swiginit", MiniFrame_swiginit
, METH_VARARGS
, NULL
},
30420 { (char *)"new_SplashScreenWindow", (PyCFunction
) _wrap_new_SplashScreenWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30421 { (char *)"SplashScreenWindow_SetBitmap", (PyCFunction
) _wrap_SplashScreenWindow_SetBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30422 { (char *)"SplashScreenWindow_GetBitmap", (PyCFunction
)_wrap_SplashScreenWindow_GetBitmap
, METH_O
, NULL
},
30423 { (char *)"SplashScreenWindow_swigregister", SplashScreenWindow_swigregister
, METH_VARARGS
, NULL
},
30424 { (char *)"SplashScreenWindow_swiginit", SplashScreenWindow_swiginit
, METH_VARARGS
, NULL
},
30425 { (char *)"new_SplashScreen", (PyCFunction
) _wrap_new_SplashScreen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30426 { (char *)"SplashScreen_GetSplashStyle", (PyCFunction
)_wrap_SplashScreen_GetSplashStyle
, METH_O
, NULL
},
30427 { (char *)"SplashScreen_GetSplashWindow", (PyCFunction
)_wrap_SplashScreen_GetSplashWindow
, METH_O
, NULL
},
30428 { (char *)"SplashScreen_GetTimeout", (PyCFunction
)_wrap_SplashScreen_GetTimeout
, METH_O
, NULL
},
30429 { (char *)"SplashScreen_swigregister", SplashScreen_swigregister
, METH_VARARGS
, NULL
},
30430 { (char *)"SplashScreen_swiginit", SplashScreen_swiginit
, METH_VARARGS
, NULL
},
30431 { (char *)"new_StatusBar", (PyCFunction
) _wrap_new_StatusBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30432 { (char *)"new_PreStatusBar", (PyCFunction
)_wrap_new_PreStatusBar
, METH_NOARGS
, NULL
},
30433 { (char *)"StatusBar_Create", (PyCFunction
) _wrap_StatusBar_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30434 { (char *)"StatusBar_SetFieldsCount", (PyCFunction
) _wrap_StatusBar_SetFieldsCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30435 { (char *)"StatusBar_GetFieldsCount", (PyCFunction
)_wrap_StatusBar_GetFieldsCount
, METH_O
, NULL
},
30436 { (char *)"StatusBar_SetStatusText", (PyCFunction
) _wrap_StatusBar_SetStatusText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30437 { (char *)"StatusBar_GetStatusText", (PyCFunction
) _wrap_StatusBar_GetStatusText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30438 { (char *)"StatusBar_PushStatusText", (PyCFunction
) _wrap_StatusBar_PushStatusText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30439 { (char *)"StatusBar_PopStatusText", (PyCFunction
) _wrap_StatusBar_PopStatusText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30440 { (char *)"StatusBar_SetStatusWidths", (PyCFunction
) _wrap_StatusBar_SetStatusWidths
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30441 { (char *)"StatusBar_SetStatusStyles", (PyCFunction
) _wrap_StatusBar_SetStatusStyles
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30442 { (char *)"StatusBar_GetFieldRect", (PyCFunction
) _wrap_StatusBar_GetFieldRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30443 { (char *)"StatusBar_SetMinHeight", (PyCFunction
) _wrap_StatusBar_SetMinHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30444 { (char *)"StatusBar_GetBorderX", (PyCFunction
)_wrap_StatusBar_GetBorderX
, METH_O
, NULL
},
30445 { (char *)"StatusBar_GetBorderY", (PyCFunction
)_wrap_StatusBar_GetBorderY
, METH_O
, NULL
},
30446 { (char *)"StatusBar_GetClassDefaultAttributes", (PyCFunction
) _wrap_StatusBar_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30447 { (char *)"StatusBar_swigregister", StatusBar_swigregister
, METH_VARARGS
, NULL
},
30448 { (char *)"StatusBar_swiginit", StatusBar_swiginit
, METH_VARARGS
, NULL
},
30449 { (char *)"new_SplitterWindow", (PyCFunction
) _wrap_new_SplitterWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30450 { (char *)"new_PreSplitterWindow", (PyCFunction
)_wrap_new_PreSplitterWindow
, METH_NOARGS
, NULL
},
30451 { (char *)"SplitterWindow_Create", (PyCFunction
) _wrap_SplitterWindow_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30452 { (char *)"SplitterWindow_GetWindow1", (PyCFunction
)_wrap_SplitterWindow_GetWindow1
, METH_O
, NULL
},
30453 { (char *)"SplitterWindow_GetWindow2", (PyCFunction
)_wrap_SplitterWindow_GetWindow2
, METH_O
, NULL
},
30454 { (char *)"SplitterWindow_SetSplitMode", (PyCFunction
) _wrap_SplitterWindow_SetSplitMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30455 { (char *)"SplitterWindow_GetSplitMode", (PyCFunction
)_wrap_SplitterWindow_GetSplitMode
, METH_O
, NULL
},
30456 { (char *)"SplitterWindow_Initialize", (PyCFunction
) _wrap_SplitterWindow_Initialize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30457 { (char *)"SplitterWindow_SplitVertically", (PyCFunction
) _wrap_SplitterWindow_SplitVertically
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30458 { (char *)"SplitterWindow_SplitHorizontally", (PyCFunction
) _wrap_SplitterWindow_SplitHorizontally
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30459 { (char *)"SplitterWindow_Unsplit", (PyCFunction
) _wrap_SplitterWindow_Unsplit
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30460 { (char *)"SplitterWindow_ReplaceWindow", (PyCFunction
) _wrap_SplitterWindow_ReplaceWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30461 { (char *)"SplitterWindow_UpdateSize", (PyCFunction
)_wrap_SplitterWindow_UpdateSize
, METH_O
, NULL
},
30462 { (char *)"SplitterWindow_IsSplit", (PyCFunction
)_wrap_SplitterWindow_IsSplit
, METH_O
, NULL
},
30463 { (char *)"SplitterWindow_SetSashSize", (PyCFunction
) _wrap_SplitterWindow_SetSashSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30464 { (char *)"SplitterWindow_SetBorderSize", (PyCFunction
) _wrap_SplitterWindow_SetBorderSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30465 { (char *)"SplitterWindow_GetSashSize", (PyCFunction
)_wrap_SplitterWindow_GetSashSize
, METH_O
, NULL
},
30466 { (char *)"SplitterWindow_GetBorderSize", (PyCFunction
)_wrap_SplitterWindow_GetBorderSize
, METH_O
, NULL
},
30467 { (char *)"SplitterWindow_SetSashPosition", (PyCFunction
) _wrap_SplitterWindow_SetSashPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30468 { (char *)"SplitterWindow_GetSashPosition", (PyCFunction
)_wrap_SplitterWindow_GetSashPosition
, METH_O
, NULL
},
30469 { (char *)"SplitterWindow_SetSashGravity", (PyCFunction
) _wrap_SplitterWindow_SetSashGravity
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30470 { (char *)"SplitterWindow_GetSashGravity", (PyCFunction
)_wrap_SplitterWindow_GetSashGravity
, METH_O
, NULL
},
30471 { (char *)"SplitterWindow_SetMinimumPaneSize", (PyCFunction
) _wrap_SplitterWindow_SetMinimumPaneSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30472 { (char *)"SplitterWindow_GetMinimumPaneSize", (PyCFunction
)_wrap_SplitterWindow_GetMinimumPaneSize
, METH_O
, NULL
},
30473 { (char *)"SplitterWindow_SashHitTest", (PyCFunction
) _wrap_SplitterWindow_SashHitTest
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30474 { (char *)"SplitterWindow_SizeWindows", (PyCFunction
)_wrap_SplitterWindow_SizeWindows
, METH_O
, NULL
},
30475 { (char *)"SplitterWindow_SetNeedUpdating", (PyCFunction
) _wrap_SplitterWindow_SetNeedUpdating
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30476 { (char *)"SplitterWindow_GetNeedUpdating", (PyCFunction
)_wrap_SplitterWindow_GetNeedUpdating
, METH_O
, NULL
},
30477 { (char *)"SplitterWindow_GetClassDefaultAttributes", (PyCFunction
) _wrap_SplitterWindow_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30478 { (char *)"SplitterWindow_swigregister", SplitterWindow_swigregister
, METH_VARARGS
, NULL
},
30479 { (char *)"SplitterWindow_swiginit", SplitterWindow_swiginit
, METH_VARARGS
, NULL
},
30480 { (char *)"new_SplitterEvent", (PyCFunction
) _wrap_new_SplitterEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30481 { (char *)"SplitterEvent_SetSashPosition", (PyCFunction
) _wrap_SplitterEvent_SetSashPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30482 { (char *)"SplitterEvent_GetSashPosition", (PyCFunction
)_wrap_SplitterEvent_GetSashPosition
, METH_O
, NULL
},
30483 { (char *)"SplitterEvent_GetWindowBeingRemoved", (PyCFunction
)_wrap_SplitterEvent_GetWindowBeingRemoved
, METH_O
, NULL
},
30484 { (char *)"SplitterEvent_GetX", (PyCFunction
)_wrap_SplitterEvent_GetX
, METH_O
, NULL
},
30485 { (char *)"SplitterEvent_GetY", (PyCFunction
)_wrap_SplitterEvent_GetY
, METH_O
, NULL
},
30486 { (char *)"SplitterEvent_swigregister", SplitterEvent_swigregister
, METH_VARARGS
, NULL
},
30487 { (char *)"SplitterEvent_swiginit", SplitterEvent_swiginit
, METH_VARARGS
, NULL
},
30488 { (char *)"new_SashWindow", (PyCFunction
) _wrap_new_SashWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30489 { (char *)"new_PreSashWindow", (PyCFunction
)_wrap_new_PreSashWindow
, METH_NOARGS
, NULL
},
30490 { (char *)"SashWindow_Create", (PyCFunction
) _wrap_SashWindow_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30491 { (char *)"SashWindow_SetSashVisible", (PyCFunction
) _wrap_SashWindow_SetSashVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30492 { (char *)"SashWindow_GetSashVisible", (PyCFunction
) _wrap_SashWindow_GetSashVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30493 { (char *)"SashWindow_SetSashBorder", (PyCFunction
) _wrap_SashWindow_SetSashBorder
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30494 { (char *)"SashWindow_HasBorder", (PyCFunction
) _wrap_SashWindow_HasBorder
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30495 { (char *)"SashWindow_GetEdgeMargin", (PyCFunction
) _wrap_SashWindow_GetEdgeMargin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30496 { (char *)"SashWindow_SetDefaultBorderSize", (PyCFunction
) _wrap_SashWindow_SetDefaultBorderSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30497 { (char *)"SashWindow_GetDefaultBorderSize", (PyCFunction
)_wrap_SashWindow_GetDefaultBorderSize
, METH_O
, NULL
},
30498 { (char *)"SashWindow_SetExtraBorderSize", (PyCFunction
) _wrap_SashWindow_SetExtraBorderSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30499 { (char *)"SashWindow_GetExtraBorderSize", (PyCFunction
)_wrap_SashWindow_GetExtraBorderSize
, METH_O
, NULL
},
30500 { (char *)"SashWindow_SetMinimumSizeX", (PyCFunction
) _wrap_SashWindow_SetMinimumSizeX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30501 { (char *)"SashWindow_SetMinimumSizeY", (PyCFunction
) _wrap_SashWindow_SetMinimumSizeY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30502 { (char *)"SashWindow_GetMinimumSizeX", (PyCFunction
)_wrap_SashWindow_GetMinimumSizeX
, METH_O
, NULL
},
30503 { (char *)"SashWindow_GetMinimumSizeY", (PyCFunction
)_wrap_SashWindow_GetMinimumSizeY
, METH_O
, NULL
},
30504 { (char *)"SashWindow_SetMaximumSizeX", (PyCFunction
) _wrap_SashWindow_SetMaximumSizeX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30505 { (char *)"SashWindow_SetMaximumSizeY", (PyCFunction
) _wrap_SashWindow_SetMaximumSizeY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30506 { (char *)"SashWindow_GetMaximumSizeX", (PyCFunction
)_wrap_SashWindow_GetMaximumSizeX
, METH_O
, NULL
},
30507 { (char *)"SashWindow_GetMaximumSizeY", (PyCFunction
)_wrap_SashWindow_GetMaximumSizeY
, METH_O
, NULL
},
30508 { (char *)"SashWindow_SashHitTest", (PyCFunction
) _wrap_SashWindow_SashHitTest
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30509 { (char *)"SashWindow_SizeWindows", (PyCFunction
)_wrap_SashWindow_SizeWindows
, METH_O
, NULL
},
30510 { (char *)"SashWindow_swigregister", SashWindow_swigregister
, METH_VARARGS
, NULL
},
30511 { (char *)"SashWindow_swiginit", SashWindow_swiginit
, METH_VARARGS
, NULL
},
30512 { (char *)"new_SashEvent", (PyCFunction
) _wrap_new_SashEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30513 { (char *)"SashEvent_SetEdge", (PyCFunction
) _wrap_SashEvent_SetEdge
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30514 { (char *)"SashEvent_GetEdge", (PyCFunction
)_wrap_SashEvent_GetEdge
, METH_O
, NULL
},
30515 { (char *)"SashEvent_SetDragRect", (PyCFunction
) _wrap_SashEvent_SetDragRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30516 { (char *)"SashEvent_GetDragRect", (PyCFunction
)_wrap_SashEvent_GetDragRect
, METH_O
, NULL
},
30517 { (char *)"SashEvent_SetDragStatus", (PyCFunction
) _wrap_SashEvent_SetDragStatus
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30518 { (char *)"SashEvent_GetDragStatus", (PyCFunction
)_wrap_SashEvent_GetDragStatus
, METH_O
, NULL
},
30519 { (char *)"SashEvent_swigregister", SashEvent_swigregister
, METH_VARARGS
, NULL
},
30520 { (char *)"SashEvent_swiginit", SashEvent_swiginit
, METH_VARARGS
, NULL
},
30521 { (char *)"new_QueryLayoutInfoEvent", (PyCFunction
) _wrap_new_QueryLayoutInfoEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30522 { (char *)"QueryLayoutInfoEvent_SetRequestedLength", (PyCFunction
) _wrap_QueryLayoutInfoEvent_SetRequestedLength
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30523 { (char *)"QueryLayoutInfoEvent_GetRequestedLength", (PyCFunction
)_wrap_QueryLayoutInfoEvent_GetRequestedLength
, METH_O
, NULL
},
30524 { (char *)"QueryLayoutInfoEvent_SetFlags", (PyCFunction
) _wrap_QueryLayoutInfoEvent_SetFlags
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30525 { (char *)"QueryLayoutInfoEvent_GetFlags", (PyCFunction
)_wrap_QueryLayoutInfoEvent_GetFlags
, METH_O
, NULL
},
30526 { (char *)"QueryLayoutInfoEvent_SetSize", (PyCFunction
) _wrap_QueryLayoutInfoEvent_SetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30527 { (char *)"QueryLayoutInfoEvent_GetSize", (PyCFunction
)_wrap_QueryLayoutInfoEvent_GetSize
, METH_O
, NULL
},
30528 { (char *)"QueryLayoutInfoEvent_SetOrientation", (PyCFunction
) _wrap_QueryLayoutInfoEvent_SetOrientation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30529 { (char *)"QueryLayoutInfoEvent_GetOrientation", (PyCFunction
)_wrap_QueryLayoutInfoEvent_GetOrientation
, METH_O
, NULL
},
30530 { (char *)"QueryLayoutInfoEvent_SetAlignment", (PyCFunction
) _wrap_QueryLayoutInfoEvent_SetAlignment
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30531 { (char *)"QueryLayoutInfoEvent_GetAlignment", (PyCFunction
)_wrap_QueryLayoutInfoEvent_GetAlignment
, METH_O
, NULL
},
30532 { (char *)"QueryLayoutInfoEvent_swigregister", QueryLayoutInfoEvent_swigregister
, METH_VARARGS
, NULL
},
30533 { (char *)"QueryLayoutInfoEvent_swiginit", QueryLayoutInfoEvent_swiginit
, METH_VARARGS
, NULL
},
30534 { (char *)"new_CalculateLayoutEvent", (PyCFunction
) _wrap_new_CalculateLayoutEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30535 { (char *)"CalculateLayoutEvent_SetFlags", (PyCFunction
) _wrap_CalculateLayoutEvent_SetFlags
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30536 { (char *)"CalculateLayoutEvent_GetFlags", (PyCFunction
)_wrap_CalculateLayoutEvent_GetFlags
, METH_O
, NULL
},
30537 { (char *)"CalculateLayoutEvent_SetRect", (PyCFunction
) _wrap_CalculateLayoutEvent_SetRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30538 { (char *)"CalculateLayoutEvent_GetRect", (PyCFunction
)_wrap_CalculateLayoutEvent_GetRect
, METH_O
, NULL
},
30539 { (char *)"CalculateLayoutEvent_swigregister", CalculateLayoutEvent_swigregister
, METH_VARARGS
, NULL
},
30540 { (char *)"CalculateLayoutEvent_swiginit", CalculateLayoutEvent_swiginit
, METH_VARARGS
, NULL
},
30541 { (char *)"new_SashLayoutWindow", (PyCFunction
) _wrap_new_SashLayoutWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30542 { (char *)"new_PreSashLayoutWindow", (PyCFunction
)_wrap_new_PreSashLayoutWindow
, METH_NOARGS
, NULL
},
30543 { (char *)"SashLayoutWindow_Create", (PyCFunction
) _wrap_SashLayoutWindow_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30544 { (char *)"SashLayoutWindow_GetAlignment", (PyCFunction
)_wrap_SashLayoutWindow_GetAlignment
, METH_O
, NULL
},
30545 { (char *)"SashLayoutWindow_GetOrientation", (PyCFunction
)_wrap_SashLayoutWindow_GetOrientation
, METH_O
, NULL
},
30546 { (char *)"SashLayoutWindow_SetAlignment", (PyCFunction
) _wrap_SashLayoutWindow_SetAlignment
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30547 { (char *)"SashLayoutWindow_SetDefaultSize", (PyCFunction
) _wrap_SashLayoutWindow_SetDefaultSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30548 { (char *)"SashLayoutWindow_SetOrientation", (PyCFunction
) _wrap_SashLayoutWindow_SetOrientation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30549 { (char *)"SashLayoutWindow_swigregister", SashLayoutWindow_swigregister
, METH_VARARGS
, NULL
},
30550 { (char *)"SashLayoutWindow_swiginit", SashLayoutWindow_swiginit
, METH_VARARGS
, NULL
},
30551 { (char *)"new_LayoutAlgorithm", (PyCFunction
)_wrap_new_LayoutAlgorithm
, METH_NOARGS
, NULL
},
30552 { (char *)"delete_LayoutAlgorithm", (PyCFunction
)_wrap_delete_LayoutAlgorithm
, METH_O
, NULL
},
30553 { (char *)"LayoutAlgorithm_LayoutMDIFrame", (PyCFunction
) _wrap_LayoutAlgorithm_LayoutMDIFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30554 { (char *)"LayoutAlgorithm_LayoutFrame", (PyCFunction
) _wrap_LayoutAlgorithm_LayoutFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30555 { (char *)"LayoutAlgorithm_LayoutWindow", (PyCFunction
) _wrap_LayoutAlgorithm_LayoutWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30556 { (char *)"LayoutAlgorithm_swigregister", LayoutAlgorithm_swigregister
, METH_VARARGS
, NULL
},
30557 { (char *)"LayoutAlgorithm_swiginit", LayoutAlgorithm_swiginit
, METH_VARARGS
, NULL
},
30558 { (char *)"new_PopupWindow", (PyCFunction
) _wrap_new_PopupWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30559 { (char *)"new_PrePopupWindow", (PyCFunction
)_wrap_new_PrePopupWindow
, METH_NOARGS
, NULL
},
30560 { (char *)"PopupWindow_swigregister", PopupWindow_swigregister
, METH_VARARGS
, NULL
},
30561 { (char *)"PopupWindow_swiginit", PopupWindow_swiginit
, METH_VARARGS
, NULL
},
30562 { (char *)"new_PopupTransientWindow", (PyCFunction
) _wrap_new_PopupTransientWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30563 { (char *)"new_PrePopupTransientWindow", (PyCFunction
)_wrap_new_PrePopupTransientWindow
, METH_NOARGS
, NULL
},
30564 { (char *)"PopupTransientWindow_swigregister", PopupTransientWindow_swigregister
, METH_VARARGS
, NULL
},
30565 { (char *)"PopupTransientWindow_swiginit", PopupTransientWindow_swiginit
, METH_VARARGS
, NULL
},
30566 { (char *)"new_TipWindow", (PyCFunction
) _wrap_new_TipWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30567 { (char *)"TipWindow_SetBoundingRect", (PyCFunction
) _wrap_TipWindow_SetBoundingRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30568 { (char *)"TipWindow_Close", (PyCFunction
)_wrap_TipWindow_Close
, METH_O
, NULL
},
30569 { (char *)"TipWindow_swigregister", TipWindow_swigregister
, METH_VARARGS
, NULL
},
30570 { (char *)"TipWindow_swiginit", TipWindow_swiginit
, METH_VARARGS
, NULL
},
30571 { (char *)"new_VScrolledWindow", (PyCFunction
) _wrap_new_VScrolledWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30572 { (char *)"new_PreVScrolledWindow", (PyCFunction
)_wrap_new_PreVScrolledWindow
, METH_NOARGS
, NULL
},
30573 { (char *)"VScrolledWindow__setCallbackInfo", (PyCFunction
) _wrap_VScrolledWindow__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30574 { (char *)"VScrolledWindow_Create", (PyCFunction
) _wrap_VScrolledWindow_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30575 { (char *)"VScrolledWindow_SetLineCount", (PyCFunction
) _wrap_VScrolledWindow_SetLineCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30576 { (char *)"VScrolledWindow_ScrollToLine", (PyCFunction
) _wrap_VScrolledWindow_ScrollToLine
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30577 { (char *)"VScrolledWindow_RefreshLine", (PyCFunction
) _wrap_VScrolledWindow_RefreshLine
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30578 { (char *)"VScrolledWindow_RefreshLines", (PyCFunction
) _wrap_VScrolledWindow_RefreshLines
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30579 { (char *)"VScrolledWindow_HitTestXY", (PyCFunction
) _wrap_VScrolledWindow_HitTestXY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30580 { (char *)"VScrolledWindow_HitTest", (PyCFunction
) _wrap_VScrolledWindow_HitTest
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30581 { (char *)"VScrolledWindow_RefreshAll", (PyCFunction
)_wrap_VScrolledWindow_RefreshAll
, METH_O
, NULL
},
30582 { (char *)"VScrolledWindow_GetLineCount", (PyCFunction
)_wrap_VScrolledWindow_GetLineCount
, METH_O
, NULL
},
30583 { (char *)"VScrolledWindow_GetVisibleBegin", (PyCFunction
)_wrap_VScrolledWindow_GetVisibleBegin
, METH_O
, NULL
},
30584 { (char *)"VScrolledWindow_GetVisibleEnd", (PyCFunction
)_wrap_VScrolledWindow_GetVisibleEnd
, METH_O
, NULL
},
30585 { (char *)"VScrolledWindow_IsVisible", (PyCFunction
) _wrap_VScrolledWindow_IsVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30586 { (char *)"VScrolledWindow_GetFirstVisibleLine", (PyCFunction
)_wrap_VScrolledWindow_GetFirstVisibleLine
, METH_O
, NULL
},
30587 { (char *)"VScrolledWindow_GetLastVisibleLine", (PyCFunction
)_wrap_VScrolledWindow_GetLastVisibleLine
, METH_O
, NULL
},
30588 { (char *)"VScrolledWindow_FindFirstFromBottom", (PyCFunction
) _wrap_VScrolledWindow_FindFirstFromBottom
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30589 { (char *)"VScrolledWindow_GetLinesHeight", (PyCFunction
) _wrap_VScrolledWindow_GetLinesHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30590 { (char *)"VScrolledWindow_swigregister", VScrolledWindow_swigregister
, METH_VARARGS
, NULL
},
30591 { (char *)"VScrolledWindow_swiginit", VScrolledWindow_swiginit
, METH_VARARGS
, NULL
},
30592 { (char *)"new_VListBox", (PyCFunction
) _wrap_new_VListBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30593 { (char *)"new_PreVListBox", (PyCFunction
)_wrap_new_PreVListBox
, METH_NOARGS
, NULL
},
30594 { (char *)"VListBox__setCallbackInfo", (PyCFunction
) _wrap_VListBox__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30595 { (char *)"VListBox_Create", (PyCFunction
) _wrap_VListBox_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30596 { (char *)"VListBox_GetItemCount", (PyCFunction
)_wrap_VListBox_GetItemCount
, METH_O
, NULL
},
30597 { (char *)"VListBox_HasMultipleSelection", (PyCFunction
)_wrap_VListBox_HasMultipleSelection
, METH_O
, NULL
},
30598 { (char *)"VListBox_GetSelection", (PyCFunction
)_wrap_VListBox_GetSelection
, METH_O
, NULL
},
30599 { (char *)"VListBox_IsCurrent", (PyCFunction
) _wrap_VListBox_IsCurrent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30600 { (char *)"VListBox_IsSelected", (PyCFunction
) _wrap_VListBox_IsSelected
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30601 { (char *)"VListBox_GetSelectedCount", (PyCFunction
)_wrap_VListBox_GetSelectedCount
, METH_O
, NULL
},
30602 { (char *)"VListBox_GetFirstSelected", (PyCFunction
)_wrap_VListBox_GetFirstSelected
, METH_O
, NULL
},
30603 { (char *)"VListBox_GetNextSelected", (PyCFunction
) _wrap_VListBox_GetNextSelected
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30604 { (char *)"VListBox_GetMargins", (PyCFunction
)_wrap_VListBox_GetMargins
, METH_O
, NULL
},
30605 { (char *)"VListBox_GetSelectionBackground", (PyCFunction
)_wrap_VListBox_GetSelectionBackground
, METH_O
, NULL
},
30606 { (char *)"VListBox_SetItemCount", (PyCFunction
) _wrap_VListBox_SetItemCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30607 { (char *)"VListBox_Clear", (PyCFunction
)_wrap_VListBox_Clear
, METH_O
, NULL
},
30608 { (char *)"VListBox_SetSelection", (PyCFunction
) _wrap_VListBox_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30609 { (char *)"VListBox_Select", (PyCFunction
) _wrap_VListBox_Select
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30610 { (char *)"VListBox_SelectRange", (PyCFunction
) _wrap_VListBox_SelectRange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30611 { (char *)"VListBox_Toggle", (PyCFunction
) _wrap_VListBox_Toggle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30612 { (char *)"VListBox_SelectAll", (PyCFunction
)_wrap_VListBox_SelectAll
, METH_O
, NULL
},
30613 { (char *)"VListBox_DeselectAll", (PyCFunction
)_wrap_VListBox_DeselectAll
, METH_O
, NULL
},
30614 { (char *)"VListBox_SetMargins", (PyCFunction
) _wrap_VListBox_SetMargins
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30615 { (char *)"VListBox_SetMarginsXY", (PyCFunction
) _wrap_VListBox_SetMarginsXY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30616 { (char *)"VListBox_SetSelectionBackground", (PyCFunction
) _wrap_VListBox_SetSelectionBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30617 { (char *)"VListBox_OnDrawSeparator", (PyCFunction
) _wrap_VListBox_OnDrawSeparator
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30618 { (char *)"VListBox_OnDrawBackground", (PyCFunction
) _wrap_VListBox_OnDrawBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30619 { (char *)"VListBox_swigregister", VListBox_swigregister
, METH_VARARGS
, NULL
},
30620 { (char *)"VListBox_swiginit", VListBox_swiginit
, METH_VARARGS
, NULL
},
30621 { (char *)"new_HtmlListBox", (PyCFunction
) _wrap_new_HtmlListBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30622 { (char *)"new_PreHtmlListBox", (PyCFunction
)_wrap_new_PreHtmlListBox
, METH_NOARGS
, NULL
},
30623 { (char *)"HtmlListBox__setCallbackInfo", (PyCFunction
) _wrap_HtmlListBox__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30624 { (char *)"HtmlListBox_Create", (PyCFunction
) _wrap_HtmlListBox_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30625 { (char *)"HtmlListBox_SetItemCount", (PyCFunction
) _wrap_HtmlListBox_SetItemCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30626 { (char *)"HtmlListBox_GetFileSystem", (PyCFunction
)_wrap_HtmlListBox_GetFileSystem
, METH_O
, NULL
},
30627 { (char *)"HtmlListBox_swigregister", HtmlListBox_swigregister
, METH_VARARGS
, NULL
},
30628 { (char *)"HtmlListBox_swiginit", HtmlListBox_swiginit
, METH_VARARGS
, NULL
},
30629 { (char *)"new_TaskBarIcon", (PyCFunction
)_wrap_new_TaskBarIcon
, METH_NOARGS
, NULL
},
30630 { (char *)"delete_TaskBarIcon", (PyCFunction
)_wrap_delete_TaskBarIcon
, METH_O
, NULL
},
30631 { (char *)"TaskBarIcon__setCallbackInfo", (PyCFunction
) _wrap_TaskBarIcon__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30632 { (char *)"TaskBarIcon_Destroy", (PyCFunction
)_wrap_TaskBarIcon_Destroy
, METH_O
, NULL
},
30633 { (char *)"TaskBarIcon_IsOk", (PyCFunction
)_wrap_TaskBarIcon_IsOk
, METH_O
, NULL
},
30634 { (char *)"TaskBarIcon_IsIconInstalled", (PyCFunction
)_wrap_TaskBarIcon_IsIconInstalled
, METH_O
, NULL
},
30635 { (char *)"TaskBarIcon_SetIcon", (PyCFunction
) _wrap_TaskBarIcon_SetIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30636 { (char *)"TaskBarIcon_RemoveIcon", (PyCFunction
)_wrap_TaskBarIcon_RemoveIcon
, METH_O
, NULL
},
30637 { (char *)"TaskBarIcon_PopupMenu", (PyCFunction
) _wrap_TaskBarIcon_PopupMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30638 { (char *)"TaskBarIcon_swigregister", TaskBarIcon_swigregister
, METH_VARARGS
, NULL
},
30639 { (char *)"TaskBarIcon_swiginit", TaskBarIcon_swiginit
, METH_VARARGS
, NULL
},
30640 { (char *)"new_TaskBarIconEvent", (PyCFunction
) _wrap_new_TaskBarIconEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30641 { (char *)"TaskBarIconEvent_swigregister", TaskBarIconEvent_swigregister
, METH_VARARGS
, NULL
},
30642 { (char *)"TaskBarIconEvent_swiginit", TaskBarIconEvent_swiginit
, METH_VARARGS
, NULL
},
30643 { (char *)"new_ColourData", (PyCFunction
)_wrap_new_ColourData
, METH_NOARGS
, NULL
},
30644 { (char *)"delete_ColourData", (PyCFunction
)_wrap_delete_ColourData
, METH_O
, NULL
},
30645 { (char *)"ColourData_GetChooseFull", (PyCFunction
)_wrap_ColourData_GetChooseFull
, METH_O
, NULL
},
30646 { (char *)"ColourData_GetColour", (PyCFunction
)_wrap_ColourData_GetColour
, METH_O
, NULL
},
30647 { (char *)"ColourData_GetCustomColour", (PyCFunction
) _wrap_ColourData_GetCustomColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30648 { (char *)"ColourData_SetChooseFull", (PyCFunction
) _wrap_ColourData_SetChooseFull
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30649 { (char *)"ColourData_SetColour", (PyCFunction
) _wrap_ColourData_SetColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30650 { (char *)"ColourData_SetCustomColour", (PyCFunction
) _wrap_ColourData_SetCustomColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30651 { (char *)"ColourData_swigregister", ColourData_swigregister
, METH_VARARGS
, NULL
},
30652 { (char *)"ColourData_swiginit", ColourData_swiginit
, METH_VARARGS
, NULL
},
30653 { (char *)"new_ColourDialog", (PyCFunction
) _wrap_new_ColourDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30654 { (char *)"ColourDialog_GetColourData", (PyCFunction
)_wrap_ColourDialog_GetColourData
, METH_O
, NULL
},
30655 { (char *)"ColourDialog_swigregister", ColourDialog_swigregister
, METH_VARARGS
, NULL
},
30656 { (char *)"ColourDialog_swiginit", ColourDialog_swiginit
, METH_VARARGS
, NULL
},
30657 { (char *)"GetColourFromUser", (PyCFunction
) _wrap_GetColourFromUser
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30658 { (char *)"new_DirDialog", (PyCFunction
) _wrap_new_DirDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30659 { (char *)"DirDialog_GetPath", (PyCFunction
)_wrap_DirDialog_GetPath
, METH_O
, NULL
},
30660 { (char *)"DirDialog_GetMessage", (PyCFunction
)_wrap_DirDialog_GetMessage
, METH_O
, NULL
},
30661 { (char *)"DirDialog_GetStyle", (PyCFunction
)_wrap_DirDialog_GetStyle
, METH_O
, NULL
},
30662 { (char *)"DirDialog_SetMessage", (PyCFunction
) _wrap_DirDialog_SetMessage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30663 { (char *)"DirDialog_SetPath", (PyCFunction
) _wrap_DirDialog_SetPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30664 { (char *)"DirDialog_swigregister", DirDialog_swigregister
, METH_VARARGS
, NULL
},
30665 { (char *)"DirDialog_swiginit", DirDialog_swiginit
, METH_VARARGS
, NULL
},
30666 { (char *)"new_FileDialog", (PyCFunction
) _wrap_new_FileDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30667 { (char *)"FileDialog_SetMessage", (PyCFunction
) _wrap_FileDialog_SetMessage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30668 { (char *)"FileDialog_SetPath", (PyCFunction
) _wrap_FileDialog_SetPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30669 { (char *)"FileDialog_SetDirectory", (PyCFunction
) _wrap_FileDialog_SetDirectory
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30670 { (char *)"FileDialog_SetFilename", (PyCFunction
) _wrap_FileDialog_SetFilename
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30671 { (char *)"FileDialog_SetWildcard", (PyCFunction
) _wrap_FileDialog_SetWildcard
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30672 { (char *)"FileDialog_SetStyle", (PyCFunction
) _wrap_FileDialog_SetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30673 { (char *)"FileDialog_SetFilterIndex", (PyCFunction
) _wrap_FileDialog_SetFilterIndex
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30674 { (char *)"FileDialog_GetMessage", (PyCFunction
)_wrap_FileDialog_GetMessage
, METH_O
, NULL
},
30675 { (char *)"FileDialog_GetPath", (PyCFunction
)_wrap_FileDialog_GetPath
, METH_O
, NULL
},
30676 { (char *)"FileDialog_GetDirectory", (PyCFunction
)_wrap_FileDialog_GetDirectory
, METH_O
, NULL
},
30677 { (char *)"FileDialog_GetFilename", (PyCFunction
)_wrap_FileDialog_GetFilename
, METH_O
, NULL
},
30678 { (char *)"FileDialog_GetWildcard", (PyCFunction
)_wrap_FileDialog_GetWildcard
, METH_O
, NULL
},
30679 { (char *)"FileDialog_GetStyle", (PyCFunction
)_wrap_FileDialog_GetStyle
, METH_O
, NULL
},
30680 { (char *)"FileDialog_GetFilterIndex", (PyCFunction
)_wrap_FileDialog_GetFilterIndex
, METH_O
, NULL
},
30681 { (char *)"FileDialog_GetFilenames", (PyCFunction
)_wrap_FileDialog_GetFilenames
, METH_O
, NULL
},
30682 { (char *)"FileDialog_GetPaths", (PyCFunction
)_wrap_FileDialog_GetPaths
, METH_O
, NULL
},
30683 { (char *)"FileDialog_swigregister", FileDialog_swigregister
, METH_VARARGS
, NULL
},
30684 { (char *)"FileDialog_swiginit", FileDialog_swiginit
, METH_VARARGS
, NULL
},
30685 { (char *)"new_MultiChoiceDialog", (PyCFunction
) _wrap_new_MultiChoiceDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30686 { (char *)"MultiChoiceDialog_SetSelections", (PyCFunction
) _wrap_MultiChoiceDialog_SetSelections
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30687 { (char *)"MultiChoiceDialog_GetSelections", (PyCFunction
)_wrap_MultiChoiceDialog_GetSelections
, METH_O
, NULL
},
30688 { (char *)"MultiChoiceDialog_swigregister", MultiChoiceDialog_swigregister
, METH_VARARGS
, NULL
},
30689 { (char *)"MultiChoiceDialog_swiginit", MultiChoiceDialog_swiginit
, METH_VARARGS
, NULL
},
30690 { (char *)"new_SingleChoiceDialog", (PyCFunction
) _wrap_new_SingleChoiceDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30691 { (char *)"SingleChoiceDialog_GetSelection", (PyCFunction
)_wrap_SingleChoiceDialog_GetSelection
, METH_O
, NULL
},
30692 { (char *)"SingleChoiceDialog_GetStringSelection", (PyCFunction
)_wrap_SingleChoiceDialog_GetStringSelection
, METH_O
, NULL
},
30693 { (char *)"SingleChoiceDialog_SetSelection", (PyCFunction
) _wrap_SingleChoiceDialog_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30694 { (char *)"SingleChoiceDialog_swigregister", SingleChoiceDialog_swigregister
, METH_VARARGS
, NULL
},
30695 { (char *)"SingleChoiceDialog_swiginit", SingleChoiceDialog_swiginit
, METH_VARARGS
, NULL
},
30696 { (char *)"new_TextEntryDialog", (PyCFunction
) _wrap_new_TextEntryDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30697 { (char *)"TextEntryDialog_GetValue", (PyCFunction
)_wrap_TextEntryDialog_GetValue
, METH_O
, NULL
},
30698 { (char *)"TextEntryDialog_SetValue", (PyCFunction
) _wrap_TextEntryDialog_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30699 { (char *)"TextEntryDialog_swigregister", TextEntryDialog_swigregister
, METH_VARARGS
, NULL
},
30700 { (char *)"TextEntryDialog_swiginit", TextEntryDialog_swiginit
, METH_VARARGS
, NULL
},
30701 { (char *)"new_PasswordEntryDialog", (PyCFunction
) _wrap_new_PasswordEntryDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30702 { (char *)"PasswordEntryDialog_swigregister", PasswordEntryDialog_swigregister
, METH_VARARGS
, NULL
},
30703 { (char *)"PasswordEntryDialog_swiginit", PasswordEntryDialog_swiginit
, METH_VARARGS
, NULL
},
30704 { (char *)"new_FontData", (PyCFunction
)_wrap_new_FontData
, METH_NOARGS
, NULL
},
30705 { (char *)"delete_FontData", (PyCFunction
)_wrap_delete_FontData
, METH_O
, NULL
},
30706 { (char *)"FontData_EnableEffects", (PyCFunction
) _wrap_FontData_EnableEffects
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30707 { (char *)"FontData_GetAllowSymbols", (PyCFunction
)_wrap_FontData_GetAllowSymbols
, METH_O
, NULL
},
30708 { (char *)"FontData_GetColour", (PyCFunction
)_wrap_FontData_GetColour
, METH_O
, NULL
},
30709 { (char *)"FontData_GetChosenFont", (PyCFunction
)_wrap_FontData_GetChosenFont
, METH_O
, NULL
},
30710 { (char *)"FontData_GetEnableEffects", (PyCFunction
)_wrap_FontData_GetEnableEffects
, METH_O
, NULL
},
30711 { (char *)"FontData_GetInitialFont", (PyCFunction
)_wrap_FontData_GetInitialFont
, METH_O
, NULL
},
30712 { (char *)"FontData_GetShowHelp", (PyCFunction
)_wrap_FontData_GetShowHelp
, METH_O
, NULL
},
30713 { (char *)"FontData_SetAllowSymbols", (PyCFunction
) _wrap_FontData_SetAllowSymbols
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30714 { (char *)"FontData_SetChosenFont", (PyCFunction
) _wrap_FontData_SetChosenFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30715 { (char *)"FontData_SetColour", (PyCFunction
) _wrap_FontData_SetColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30716 { (char *)"FontData_SetInitialFont", (PyCFunction
) _wrap_FontData_SetInitialFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30717 { (char *)"FontData_SetRange", (PyCFunction
) _wrap_FontData_SetRange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30718 { (char *)"FontData_SetShowHelp", (PyCFunction
) _wrap_FontData_SetShowHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30719 { (char *)"FontData_swigregister", FontData_swigregister
, METH_VARARGS
, NULL
},
30720 { (char *)"FontData_swiginit", FontData_swiginit
, METH_VARARGS
, NULL
},
30721 { (char *)"new_FontDialog", (PyCFunction
) _wrap_new_FontDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30722 { (char *)"FontDialog_GetFontData", (PyCFunction
)_wrap_FontDialog_GetFontData
, METH_O
, NULL
},
30723 { (char *)"FontDialog_swigregister", FontDialog_swigregister
, METH_VARARGS
, NULL
},
30724 { (char *)"FontDialog_swiginit", FontDialog_swiginit
, METH_VARARGS
, NULL
},
30725 { (char *)"GetFontFromUser", (PyCFunction
) _wrap_GetFontFromUser
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30726 { (char *)"new_MessageDialog", (PyCFunction
) _wrap_new_MessageDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30727 { (char *)"MessageDialog_swigregister", MessageDialog_swigregister
, METH_VARARGS
, NULL
},
30728 { (char *)"MessageDialog_swiginit", MessageDialog_swiginit
, METH_VARARGS
, NULL
},
30729 { (char *)"new_ProgressDialog", (PyCFunction
) _wrap_new_ProgressDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30730 { (char *)"ProgressDialog_Update", (PyCFunction
) _wrap_ProgressDialog_Update
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30731 { (char *)"ProgressDialog_Resume", (PyCFunction
)_wrap_ProgressDialog_Resume
, METH_O
, NULL
},
30732 { (char *)"ProgressDialog_swigregister", ProgressDialog_swigregister
, METH_VARARGS
, NULL
},
30733 { (char *)"ProgressDialog_swiginit", ProgressDialog_swiginit
, METH_VARARGS
, NULL
},
30734 { (char *)"new_FindDialogEvent", (PyCFunction
) _wrap_new_FindDialogEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30735 { (char *)"FindDialogEvent_GetFlags", (PyCFunction
)_wrap_FindDialogEvent_GetFlags
, METH_O
, NULL
},
30736 { (char *)"FindDialogEvent_GetFindString", (PyCFunction
)_wrap_FindDialogEvent_GetFindString
, METH_O
, NULL
},
30737 { (char *)"FindDialogEvent_GetReplaceString", (PyCFunction
)_wrap_FindDialogEvent_GetReplaceString
, METH_O
, NULL
},
30738 { (char *)"FindDialogEvent_GetDialog", (PyCFunction
)_wrap_FindDialogEvent_GetDialog
, METH_O
, NULL
},
30739 { (char *)"FindDialogEvent_SetFlags", (PyCFunction
) _wrap_FindDialogEvent_SetFlags
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30740 { (char *)"FindDialogEvent_SetFindString", (PyCFunction
) _wrap_FindDialogEvent_SetFindString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30741 { (char *)"FindDialogEvent_SetReplaceString", (PyCFunction
) _wrap_FindDialogEvent_SetReplaceString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30742 { (char *)"FindDialogEvent_swigregister", FindDialogEvent_swigregister
, METH_VARARGS
, NULL
},
30743 { (char *)"FindDialogEvent_swiginit", FindDialogEvent_swiginit
, METH_VARARGS
, NULL
},
30744 { (char *)"new_FindReplaceData", (PyCFunction
) _wrap_new_FindReplaceData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30745 { (char *)"delete_FindReplaceData", (PyCFunction
)_wrap_delete_FindReplaceData
, METH_O
, NULL
},
30746 { (char *)"FindReplaceData_GetFindString", (PyCFunction
)_wrap_FindReplaceData_GetFindString
, METH_O
, NULL
},
30747 { (char *)"FindReplaceData_GetReplaceString", (PyCFunction
)_wrap_FindReplaceData_GetReplaceString
, METH_O
, NULL
},
30748 { (char *)"FindReplaceData_GetFlags", (PyCFunction
)_wrap_FindReplaceData_GetFlags
, METH_O
, NULL
},
30749 { (char *)"FindReplaceData_SetFlags", (PyCFunction
) _wrap_FindReplaceData_SetFlags
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30750 { (char *)"FindReplaceData_SetFindString", (PyCFunction
) _wrap_FindReplaceData_SetFindString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30751 { (char *)"FindReplaceData_SetReplaceString", (PyCFunction
) _wrap_FindReplaceData_SetReplaceString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30752 { (char *)"FindReplaceData_swigregister", FindReplaceData_swigregister
, METH_VARARGS
, NULL
},
30753 { (char *)"FindReplaceData_swiginit", FindReplaceData_swiginit
, METH_VARARGS
, NULL
},
30754 { (char *)"new_FindReplaceDialog", (PyCFunction
) _wrap_new_FindReplaceDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30755 { (char *)"new_PreFindReplaceDialog", (PyCFunction
)_wrap_new_PreFindReplaceDialog
, METH_NOARGS
, NULL
},
30756 { (char *)"FindReplaceDialog_Create", (PyCFunction
) _wrap_FindReplaceDialog_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30757 { (char *)"FindReplaceDialog_GetData", (PyCFunction
)_wrap_FindReplaceDialog_GetData
, METH_O
, NULL
},
30758 { (char *)"FindReplaceDialog_SetData", (PyCFunction
) _wrap_FindReplaceDialog_SetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30759 { (char *)"FindReplaceDialog_swigregister", FindReplaceDialog_swigregister
, METH_VARARGS
, NULL
},
30760 { (char *)"FindReplaceDialog_swiginit", FindReplaceDialog_swiginit
, METH_VARARGS
, NULL
},
30761 { (char *)"new_MDIParentFrame", (PyCFunction
) _wrap_new_MDIParentFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30762 { (char *)"new_PreMDIParentFrame", (PyCFunction
)_wrap_new_PreMDIParentFrame
, METH_NOARGS
, NULL
},
30763 { (char *)"MDIParentFrame_Create", (PyCFunction
) _wrap_MDIParentFrame_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30764 { (char *)"MDIParentFrame_ActivateNext", (PyCFunction
)_wrap_MDIParentFrame_ActivateNext
, METH_O
, NULL
},
30765 { (char *)"MDIParentFrame_ActivatePrevious", (PyCFunction
)_wrap_MDIParentFrame_ActivatePrevious
, METH_O
, NULL
},
30766 { (char *)"MDIParentFrame_ArrangeIcons", (PyCFunction
)_wrap_MDIParentFrame_ArrangeIcons
, METH_O
, NULL
},
30767 { (char *)"MDIParentFrame_Cascade", (PyCFunction
)_wrap_MDIParentFrame_Cascade
, METH_O
, NULL
},
30768 { (char *)"MDIParentFrame_GetActiveChild", (PyCFunction
)_wrap_MDIParentFrame_GetActiveChild
, METH_O
, NULL
},
30769 { (char *)"MDIParentFrame_GetClientWindow", (PyCFunction
)_wrap_MDIParentFrame_GetClientWindow
, METH_O
, NULL
},
30770 { (char *)"MDIParentFrame_GetToolBar", (PyCFunction
)_wrap_MDIParentFrame_GetToolBar
, METH_O
, NULL
},
30771 { (char *)"MDIParentFrame_Tile", (PyCFunction
) _wrap_MDIParentFrame_Tile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30772 { (char *)"MDIParentFrame_swigregister", MDIParentFrame_swigregister
, METH_VARARGS
, NULL
},
30773 { (char *)"MDIParentFrame_swiginit", MDIParentFrame_swiginit
, METH_VARARGS
, NULL
},
30774 { (char *)"new_MDIChildFrame", (PyCFunction
) _wrap_new_MDIChildFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30775 { (char *)"new_PreMDIChildFrame", (PyCFunction
)_wrap_new_PreMDIChildFrame
, METH_NOARGS
, NULL
},
30776 { (char *)"MDIChildFrame_Create", (PyCFunction
) _wrap_MDIChildFrame_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30777 { (char *)"MDIChildFrame_Activate", (PyCFunction
)_wrap_MDIChildFrame_Activate
, METH_O
, NULL
},
30778 { (char *)"MDIChildFrame_swigregister", MDIChildFrame_swigregister
, METH_VARARGS
, NULL
},
30779 { (char *)"MDIChildFrame_swiginit", MDIChildFrame_swiginit
, METH_VARARGS
, NULL
},
30780 { (char *)"new_MDIClientWindow", (PyCFunction
) _wrap_new_MDIClientWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30781 { (char *)"new_PreMDIClientWindow", (PyCFunction
)_wrap_new_PreMDIClientWindow
, METH_NOARGS
, NULL
},
30782 { (char *)"MDIClientWindow_Create", (PyCFunction
) _wrap_MDIClientWindow_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30783 { (char *)"MDIClientWindow_swigregister", MDIClientWindow_swigregister
, METH_VARARGS
, NULL
},
30784 { (char *)"MDIClientWindow_swiginit", MDIClientWindow_swiginit
, METH_VARARGS
, NULL
},
30785 { (char *)"new_PyWindow", (PyCFunction
) _wrap_new_PyWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30786 { (char *)"new_PrePyWindow", (PyCFunction
)_wrap_new_PrePyWindow
, METH_NOARGS
, NULL
},
30787 { (char *)"PyWindow__setCallbackInfo", (PyCFunction
) _wrap_PyWindow__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30788 { (char *)"PyWindow_SetBestSize", (PyCFunction
) _wrap_PyWindow_SetBestSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30789 { (char *)"PyWindow_DoEraseBackground", (PyCFunction
) _wrap_PyWindow_DoEraseBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30790 { (char *)"PyWindow_DoMoveWindow", (PyCFunction
) _wrap_PyWindow_DoMoveWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30791 { (char *)"PyWindow_DoSetSize", (PyCFunction
) _wrap_PyWindow_DoSetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30792 { (char *)"PyWindow_DoSetClientSize", (PyCFunction
) _wrap_PyWindow_DoSetClientSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30793 { (char *)"PyWindow_DoSetVirtualSize", (PyCFunction
) _wrap_PyWindow_DoSetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30794 { (char *)"PyWindow_DoGetSize", (PyCFunction
)_wrap_PyWindow_DoGetSize
, METH_O
, NULL
},
30795 { (char *)"PyWindow_DoGetClientSize", (PyCFunction
)_wrap_PyWindow_DoGetClientSize
, METH_O
, NULL
},
30796 { (char *)"PyWindow_DoGetPosition", (PyCFunction
)_wrap_PyWindow_DoGetPosition
, METH_O
, NULL
},
30797 { (char *)"PyWindow_DoGetVirtualSize", (PyCFunction
)_wrap_PyWindow_DoGetVirtualSize
, METH_O
, NULL
},
30798 { (char *)"PyWindow_DoGetBestSize", (PyCFunction
)_wrap_PyWindow_DoGetBestSize
, METH_O
, NULL
},
30799 { (char *)"PyWindow_GetDefaultAttributes", (PyCFunction
)_wrap_PyWindow_GetDefaultAttributes
, METH_O
, NULL
},
30800 { (char *)"PyWindow_OnInternalIdle", (PyCFunction
)_wrap_PyWindow_OnInternalIdle
, METH_O
, NULL
},
30801 { (char *)"PyWindow_swigregister", PyWindow_swigregister
, METH_VARARGS
, NULL
},
30802 { (char *)"PyWindow_swiginit", PyWindow_swiginit
, METH_VARARGS
, NULL
},
30803 { (char *)"new_PyPanel", (PyCFunction
) _wrap_new_PyPanel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30804 { (char *)"new_PrePyPanel", (PyCFunction
)_wrap_new_PrePyPanel
, METH_NOARGS
, NULL
},
30805 { (char *)"PyPanel__setCallbackInfo", (PyCFunction
) _wrap_PyPanel__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30806 { (char *)"PyPanel_SetBestSize", (PyCFunction
) _wrap_PyPanel_SetBestSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30807 { (char *)"PyPanel_DoEraseBackground", (PyCFunction
) _wrap_PyPanel_DoEraseBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30808 { (char *)"PyPanel_DoMoveWindow", (PyCFunction
) _wrap_PyPanel_DoMoveWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30809 { (char *)"PyPanel_DoSetSize", (PyCFunction
) _wrap_PyPanel_DoSetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30810 { (char *)"PyPanel_DoSetClientSize", (PyCFunction
) _wrap_PyPanel_DoSetClientSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30811 { (char *)"PyPanel_DoSetVirtualSize", (PyCFunction
) _wrap_PyPanel_DoSetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30812 { (char *)"PyPanel_DoGetSize", (PyCFunction
)_wrap_PyPanel_DoGetSize
, METH_O
, NULL
},
30813 { (char *)"PyPanel_DoGetClientSize", (PyCFunction
)_wrap_PyPanel_DoGetClientSize
, METH_O
, NULL
},
30814 { (char *)"PyPanel_DoGetPosition", (PyCFunction
)_wrap_PyPanel_DoGetPosition
, METH_O
, NULL
},
30815 { (char *)"PyPanel_DoGetVirtualSize", (PyCFunction
)_wrap_PyPanel_DoGetVirtualSize
, METH_O
, NULL
},
30816 { (char *)"PyPanel_DoGetBestSize", (PyCFunction
)_wrap_PyPanel_DoGetBestSize
, METH_O
, NULL
},
30817 { (char *)"PyPanel_GetDefaultAttributes", (PyCFunction
)_wrap_PyPanel_GetDefaultAttributes
, METH_O
, NULL
},
30818 { (char *)"PyPanel_OnInternalIdle", (PyCFunction
)_wrap_PyPanel_OnInternalIdle
, METH_O
, NULL
},
30819 { (char *)"PyPanel_swigregister", PyPanel_swigregister
, METH_VARARGS
, NULL
},
30820 { (char *)"PyPanel_swiginit", PyPanel_swiginit
, METH_VARARGS
, NULL
},
30821 { (char *)"new_PyScrolledWindow", (PyCFunction
) _wrap_new_PyScrolledWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30822 { (char *)"new_PrePyScrolledWindow", (PyCFunction
)_wrap_new_PrePyScrolledWindow
, METH_NOARGS
, NULL
},
30823 { (char *)"PyScrolledWindow__setCallbackInfo", (PyCFunction
) _wrap_PyScrolledWindow__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30824 { (char *)"PyScrolledWindow_SetBestSize", (PyCFunction
) _wrap_PyScrolledWindow_SetBestSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30825 { (char *)"PyScrolledWindow_DoEraseBackground", (PyCFunction
) _wrap_PyScrolledWindow_DoEraseBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30826 { (char *)"PyScrolledWindow_DoMoveWindow", (PyCFunction
) _wrap_PyScrolledWindow_DoMoveWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30827 { (char *)"PyScrolledWindow_DoSetSize", (PyCFunction
) _wrap_PyScrolledWindow_DoSetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30828 { (char *)"PyScrolledWindow_DoSetClientSize", (PyCFunction
) _wrap_PyScrolledWindow_DoSetClientSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30829 { (char *)"PyScrolledWindow_DoSetVirtualSize", (PyCFunction
) _wrap_PyScrolledWindow_DoSetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30830 { (char *)"PyScrolledWindow_DoGetSize", (PyCFunction
)_wrap_PyScrolledWindow_DoGetSize
, METH_O
, NULL
},
30831 { (char *)"PyScrolledWindow_DoGetClientSize", (PyCFunction
)_wrap_PyScrolledWindow_DoGetClientSize
, METH_O
, NULL
},
30832 { (char *)"PyScrolledWindow_DoGetPosition", (PyCFunction
)_wrap_PyScrolledWindow_DoGetPosition
, METH_O
, NULL
},
30833 { (char *)"PyScrolledWindow_DoGetVirtualSize", (PyCFunction
)_wrap_PyScrolledWindow_DoGetVirtualSize
, METH_O
, NULL
},
30834 { (char *)"PyScrolledWindow_DoGetBestSize", (PyCFunction
)_wrap_PyScrolledWindow_DoGetBestSize
, METH_O
, NULL
},
30835 { (char *)"PyScrolledWindow_GetDefaultAttributes", (PyCFunction
)_wrap_PyScrolledWindow_GetDefaultAttributes
, METH_O
, NULL
},
30836 { (char *)"PyScrolledWindow_OnInternalIdle", (PyCFunction
)_wrap_PyScrolledWindow_OnInternalIdle
, METH_O
, NULL
},
30837 { (char *)"PyScrolledWindow_swigregister", PyScrolledWindow_swigregister
, METH_VARARGS
, NULL
},
30838 { (char *)"PyScrolledWindow_swiginit", PyScrolledWindow_swiginit
, METH_VARARGS
, NULL
},
30839 { (char *)"new_PrintData", _wrap_new_PrintData
, METH_VARARGS
, NULL
},
30840 { (char *)"delete_PrintData", (PyCFunction
)_wrap_delete_PrintData
, METH_O
, NULL
},
30841 { (char *)"PrintData_GetNoCopies", (PyCFunction
)_wrap_PrintData_GetNoCopies
, METH_O
, NULL
},
30842 { (char *)"PrintData_GetCollate", (PyCFunction
)_wrap_PrintData_GetCollate
, METH_O
, NULL
},
30843 { (char *)"PrintData_GetOrientation", (PyCFunction
)_wrap_PrintData_GetOrientation
, METH_O
, NULL
},
30844 { (char *)"PrintData_Ok", (PyCFunction
)_wrap_PrintData_Ok
, METH_O
, NULL
},
30845 { (char *)"PrintData_GetPrinterName", (PyCFunction
)_wrap_PrintData_GetPrinterName
, METH_O
, NULL
},
30846 { (char *)"PrintData_GetColour", (PyCFunction
)_wrap_PrintData_GetColour
, METH_O
, NULL
},
30847 { (char *)"PrintData_GetDuplex", (PyCFunction
)_wrap_PrintData_GetDuplex
, METH_O
, NULL
},
30848 { (char *)"PrintData_GetPaperId", (PyCFunction
)_wrap_PrintData_GetPaperId
, METH_O
, NULL
},
30849 { (char *)"PrintData_GetPaperSize", (PyCFunction
)_wrap_PrintData_GetPaperSize
, METH_O
, NULL
},
30850 { (char *)"PrintData_GetQuality", (PyCFunction
)_wrap_PrintData_GetQuality
, METH_O
, NULL
},
30851 { (char *)"PrintData_GetBin", (PyCFunction
)_wrap_PrintData_GetBin
, METH_O
, NULL
},
30852 { (char *)"PrintData_GetPrintMode", (PyCFunction
)_wrap_PrintData_GetPrintMode
, METH_O
, NULL
},
30853 { (char *)"PrintData_SetNoCopies", (PyCFunction
) _wrap_PrintData_SetNoCopies
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30854 { (char *)"PrintData_SetCollate", (PyCFunction
) _wrap_PrintData_SetCollate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30855 { (char *)"PrintData_SetOrientation", (PyCFunction
) _wrap_PrintData_SetOrientation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30856 { (char *)"PrintData_SetPrinterName", (PyCFunction
) _wrap_PrintData_SetPrinterName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30857 { (char *)"PrintData_SetColour", (PyCFunction
) _wrap_PrintData_SetColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30858 { (char *)"PrintData_SetDuplex", (PyCFunction
) _wrap_PrintData_SetDuplex
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30859 { (char *)"PrintData_SetPaperId", (PyCFunction
) _wrap_PrintData_SetPaperId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30860 { (char *)"PrintData_SetPaperSize", (PyCFunction
) _wrap_PrintData_SetPaperSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30861 { (char *)"PrintData_SetQuality", (PyCFunction
) _wrap_PrintData_SetQuality
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30862 { (char *)"PrintData_SetBin", (PyCFunction
) _wrap_PrintData_SetBin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30863 { (char *)"PrintData_SetPrintMode", (PyCFunction
) _wrap_PrintData_SetPrintMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30864 { (char *)"PrintData_GetFilename", (PyCFunction
)_wrap_PrintData_GetFilename
, METH_O
, NULL
},
30865 { (char *)"PrintData_SetFilename", (PyCFunction
) _wrap_PrintData_SetFilename
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30866 { (char *)"PrintData_GetPrivData", (PyCFunction
)_wrap_PrintData_GetPrivData
, METH_O
, NULL
},
30867 { (char *)"PrintData_SetPrivData", (PyCFunction
) _wrap_PrintData_SetPrivData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30868 { (char *)"PrintData_swigregister", PrintData_swigregister
, METH_VARARGS
, NULL
},
30869 { (char *)"PrintData_swiginit", PrintData_swiginit
, METH_VARARGS
, NULL
},
30870 { (char *)"new_PageSetupDialogData", _wrap_new_PageSetupDialogData
, METH_VARARGS
, NULL
},
30871 { (char *)"delete_PageSetupDialogData", (PyCFunction
)_wrap_delete_PageSetupDialogData
, METH_O
, NULL
},
30872 { (char *)"PageSetupDialogData_EnableHelp", (PyCFunction
) _wrap_PageSetupDialogData_EnableHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30873 { (char *)"PageSetupDialogData_EnableMargins", (PyCFunction
) _wrap_PageSetupDialogData_EnableMargins
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30874 { (char *)"PageSetupDialogData_EnableOrientation", (PyCFunction
) _wrap_PageSetupDialogData_EnableOrientation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30875 { (char *)"PageSetupDialogData_EnablePaper", (PyCFunction
) _wrap_PageSetupDialogData_EnablePaper
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30876 { (char *)"PageSetupDialogData_EnablePrinter", (PyCFunction
) _wrap_PageSetupDialogData_EnablePrinter
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30877 { (char *)"PageSetupDialogData_GetDefaultMinMargins", (PyCFunction
)_wrap_PageSetupDialogData_GetDefaultMinMargins
, METH_O
, NULL
},
30878 { (char *)"PageSetupDialogData_GetEnableMargins", (PyCFunction
)_wrap_PageSetupDialogData_GetEnableMargins
, METH_O
, NULL
},
30879 { (char *)"PageSetupDialogData_GetEnableOrientation", (PyCFunction
)_wrap_PageSetupDialogData_GetEnableOrientation
, METH_O
, NULL
},
30880 { (char *)"PageSetupDialogData_GetEnablePaper", (PyCFunction
)_wrap_PageSetupDialogData_GetEnablePaper
, METH_O
, NULL
},
30881 { (char *)"PageSetupDialogData_GetEnablePrinter", (PyCFunction
)_wrap_PageSetupDialogData_GetEnablePrinter
, METH_O
, NULL
},
30882 { (char *)"PageSetupDialogData_GetEnableHelp", (PyCFunction
)_wrap_PageSetupDialogData_GetEnableHelp
, METH_O
, NULL
},
30883 { (char *)"PageSetupDialogData_GetDefaultInfo", (PyCFunction
)_wrap_PageSetupDialogData_GetDefaultInfo
, METH_O
, NULL
},
30884 { (char *)"PageSetupDialogData_GetMarginTopLeft", (PyCFunction
)_wrap_PageSetupDialogData_GetMarginTopLeft
, METH_O
, NULL
},
30885 { (char *)"PageSetupDialogData_GetMarginBottomRight", (PyCFunction
)_wrap_PageSetupDialogData_GetMarginBottomRight
, METH_O
, NULL
},
30886 { (char *)"PageSetupDialogData_GetMinMarginTopLeft", (PyCFunction
)_wrap_PageSetupDialogData_GetMinMarginTopLeft
, METH_O
, NULL
},
30887 { (char *)"PageSetupDialogData_GetMinMarginBottomRight", (PyCFunction
)_wrap_PageSetupDialogData_GetMinMarginBottomRight
, METH_O
, NULL
},
30888 { (char *)"PageSetupDialogData_GetPaperId", (PyCFunction
)_wrap_PageSetupDialogData_GetPaperId
, METH_O
, NULL
},
30889 { (char *)"PageSetupDialogData_GetPaperSize", (PyCFunction
)_wrap_PageSetupDialogData_GetPaperSize
, METH_O
, NULL
},
30890 { (char *)"PageSetupDialogData_GetPrintData", (PyCFunction
)_wrap_PageSetupDialogData_GetPrintData
, METH_O
, NULL
},
30891 { (char *)"PageSetupDialogData_Ok", (PyCFunction
)_wrap_PageSetupDialogData_Ok
, METH_O
, NULL
},
30892 { (char *)"PageSetupDialogData_SetDefaultInfo", (PyCFunction
) _wrap_PageSetupDialogData_SetDefaultInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30893 { (char *)"PageSetupDialogData_SetDefaultMinMargins", (PyCFunction
) _wrap_PageSetupDialogData_SetDefaultMinMargins
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30894 { (char *)"PageSetupDialogData_SetMarginTopLeft", (PyCFunction
) _wrap_PageSetupDialogData_SetMarginTopLeft
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30895 { (char *)"PageSetupDialogData_SetMarginBottomRight", (PyCFunction
) _wrap_PageSetupDialogData_SetMarginBottomRight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30896 { (char *)"PageSetupDialogData_SetMinMarginTopLeft", (PyCFunction
) _wrap_PageSetupDialogData_SetMinMarginTopLeft
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30897 { (char *)"PageSetupDialogData_SetMinMarginBottomRight", (PyCFunction
) _wrap_PageSetupDialogData_SetMinMarginBottomRight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30898 { (char *)"PageSetupDialogData_SetPaperId", (PyCFunction
) _wrap_PageSetupDialogData_SetPaperId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30899 { (char *)"PageSetupDialogData_SetPaperSize", (PyCFunction
) _wrap_PageSetupDialogData_SetPaperSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30900 { (char *)"PageSetupDialogData_SetPrintData", (PyCFunction
) _wrap_PageSetupDialogData_SetPrintData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30901 { (char *)"PageSetupDialogData_CalculateIdFromPaperSize", (PyCFunction
)_wrap_PageSetupDialogData_CalculateIdFromPaperSize
, METH_O
, NULL
},
30902 { (char *)"PageSetupDialogData_CalculatePaperSizeFromId", (PyCFunction
)_wrap_PageSetupDialogData_CalculatePaperSizeFromId
, METH_O
, NULL
},
30903 { (char *)"PageSetupDialogData_swigregister", PageSetupDialogData_swigregister
, METH_VARARGS
, NULL
},
30904 { (char *)"PageSetupDialogData_swiginit", PageSetupDialogData_swiginit
, METH_VARARGS
, NULL
},
30905 { (char *)"new_PageSetupDialog", (PyCFunction
) _wrap_new_PageSetupDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30906 { (char *)"PageSetupDialog_GetPageSetupData", (PyCFunction
)_wrap_PageSetupDialog_GetPageSetupData
, METH_O
, NULL
},
30907 { (char *)"PageSetupDialog_GetPageSetupDialogData", (PyCFunction
)_wrap_PageSetupDialog_GetPageSetupDialogData
, METH_O
, NULL
},
30908 { (char *)"PageSetupDialog_ShowModal", (PyCFunction
)_wrap_PageSetupDialog_ShowModal
, METH_O
, NULL
},
30909 { (char *)"PageSetupDialog_swigregister", PageSetupDialog_swigregister
, METH_VARARGS
, NULL
},
30910 { (char *)"PageSetupDialog_swiginit", PageSetupDialog_swiginit
, METH_VARARGS
, NULL
},
30911 { (char *)"new_PrintDialogData", _wrap_new_PrintDialogData
, METH_VARARGS
, NULL
},
30912 { (char *)"delete_PrintDialogData", (PyCFunction
)_wrap_delete_PrintDialogData
, METH_O
, NULL
},
30913 { (char *)"PrintDialogData_GetFromPage", (PyCFunction
)_wrap_PrintDialogData_GetFromPage
, METH_O
, NULL
},
30914 { (char *)"PrintDialogData_GetToPage", (PyCFunction
)_wrap_PrintDialogData_GetToPage
, METH_O
, NULL
},
30915 { (char *)"PrintDialogData_GetMinPage", (PyCFunction
)_wrap_PrintDialogData_GetMinPage
, METH_O
, NULL
},
30916 { (char *)"PrintDialogData_GetMaxPage", (PyCFunction
)_wrap_PrintDialogData_GetMaxPage
, METH_O
, NULL
},
30917 { (char *)"PrintDialogData_GetNoCopies", (PyCFunction
)_wrap_PrintDialogData_GetNoCopies
, METH_O
, NULL
},
30918 { (char *)"PrintDialogData_GetAllPages", (PyCFunction
)_wrap_PrintDialogData_GetAllPages
, METH_O
, NULL
},
30919 { (char *)"PrintDialogData_GetSelection", (PyCFunction
)_wrap_PrintDialogData_GetSelection
, METH_O
, NULL
},
30920 { (char *)"PrintDialogData_GetCollate", (PyCFunction
)_wrap_PrintDialogData_GetCollate
, METH_O
, NULL
},
30921 { (char *)"PrintDialogData_GetPrintToFile", (PyCFunction
)_wrap_PrintDialogData_GetPrintToFile
, METH_O
, NULL
},
30922 { (char *)"PrintDialogData_SetFromPage", (PyCFunction
) _wrap_PrintDialogData_SetFromPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30923 { (char *)"PrintDialogData_SetToPage", (PyCFunction
) _wrap_PrintDialogData_SetToPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30924 { (char *)"PrintDialogData_SetMinPage", (PyCFunction
) _wrap_PrintDialogData_SetMinPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30925 { (char *)"PrintDialogData_SetMaxPage", (PyCFunction
) _wrap_PrintDialogData_SetMaxPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30926 { (char *)"PrintDialogData_SetNoCopies", (PyCFunction
) _wrap_PrintDialogData_SetNoCopies
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30927 { (char *)"PrintDialogData_SetAllPages", (PyCFunction
) _wrap_PrintDialogData_SetAllPages
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30928 { (char *)"PrintDialogData_SetSelection", (PyCFunction
) _wrap_PrintDialogData_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30929 { (char *)"PrintDialogData_SetCollate", (PyCFunction
) _wrap_PrintDialogData_SetCollate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30930 { (char *)"PrintDialogData_SetPrintToFile", (PyCFunction
) _wrap_PrintDialogData_SetPrintToFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30931 { (char *)"PrintDialogData_EnablePrintToFile", (PyCFunction
) _wrap_PrintDialogData_EnablePrintToFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30932 { (char *)"PrintDialogData_EnableSelection", (PyCFunction
) _wrap_PrintDialogData_EnableSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30933 { (char *)"PrintDialogData_EnablePageNumbers", (PyCFunction
) _wrap_PrintDialogData_EnablePageNumbers
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30934 { (char *)"PrintDialogData_EnableHelp", (PyCFunction
) _wrap_PrintDialogData_EnableHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30935 { (char *)"PrintDialogData_GetEnablePrintToFile", (PyCFunction
)_wrap_PrintDialogData_GetEnablePrintToFile
, METH_O
, NULL
},
30936 { (char *)"PrintDialogData_GetEnableSelection", (PyCFunction
)_wrap_PrintDialogData_GetEnableSelection
, METH_O
, NULL
},
30937 { (char *)"PrintDialogData_GetEnablePageNumbers", (PyCFunction
)_wrap_PrintDialogData_GetEnablePageNumbers
, METH_O
, NULL
},
30938 { (char *)"PrintDialogData_GetEnableHelp", (PyCFunction
)_wrap_PrintDialogData_GetEnableHelp
, METH_O
, NULL
},
30939 { (char *)"PrintDialogData_Ok", (PyCFunction
)_wrap_PrintDialogData_Ok
, METH_O
, NULL
},
30940 { (char *)"PrintDialogData_GetPrintData", (PyCFunction
)_wrap_PrintDialogData_GetPrintData
, METH_O
, NULL
},
30941 { (char *)"PrintDialogData_SetPrintData", (PyCFunction
) _wrap_PrintDialogData_SetPrintData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30942 { (char *)"PrintDialogData_swigregister", PrintDialogData_swigregister
, METH_VARARGS
, NULL
},
30943 { (char *)"PrintDialogData_swiginit", PrintDialogData_swiginit
, METH_VARARGS
, NULL
},
30944 { (char *)"new_PrintDialog", (PyCFunction
) _wrap_new_PrintDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30945 { (char *)"PrintDialog_ShowModal", (PyCFunction
)_wrap_PrintDialog_ShowModal
, METH_O
, NULL
},
30946 { (char *)"PrintDialog_GetPrintDialogData", (PyCFunction
)_wrap_PrintDialog_GetPrintDialogData
, METH_O
, NULL
},
30947 { (char *)"PrintDialog_GetPrintData", (PyCFunction
)_wrap_PrintDialog_GetPrintData
, METH_O
, NULL
},
30948 { (char *)"PrintDialog_GetPrintDC", (PyCFunction
)_wrap_PrintDialog_GetPrintDC
, METH_O
, NULL
},
30949 { (char *)"PrintDialog_swigregister", PrintDialog_swigregister
, METH_VARARGS
, NULL
},
30950 { (char *)"PrintDialog_swiginit", PrintDialog_swiginit
, METH_VARARGS
, NULL
},
30951 { (char *)"new_Printer", (PyCFunction
) _wrap_new_Printer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30952 { (char *)"delete_Printer", (PyCFunction
)_wrap_delete_Printer
, METH_O
, NULL
},
30953 { (char *)"Printer_CreateAbortWindow", (PyCFunction
) _wrap_Printer_CreateAbortWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30954 { (char *)"Printer_ReportError", (PyCFunction
) _wrap_Printer_ReportError
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30955 { (char *)"Printer_Setup", (PyCFunction
) _wrap_Printer_Setup
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30956 { (char *)"Printer_Print", (PyCFunction
) _wrap_Printer_Print
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30957 { (char *)"Printer_PrintDialog", (PyCFunction
) _wrap_Printer_PrintDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30958 { (char *)"Printer_GetPrintDialogData", (PyCFunction
)_wrap_Printer_GetPrintDialogData
, METH_O
, NULL
},
30959 { (char *)"Printer_GetAbort", (PyCFunction
)_wrap_Printer_GetAbort
, METH_O
, NULL
},
30960 { (char *)"Printer_GetLastError", (PyCFunction
)_wrap_Printer_GetLastError
, METH_NOARGS
, NULL
},
30961 { (char *)"Printer_swigregister", Printer_swigregister
, METH_VARARGS
, NULL
},
30962 { (char *)"Printer_swiginit", Printer_swiginit
, METH_VARARGS
, NULL
},
30963 { (char *)"new_Printout", (PyCFunction
) _wrap_new_Printout
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30964 { (char *)"delete_Printout", (PyCFunction
)_wrap_delete_Printout
, METH_O
, NULL
},
30965 { (char *)"Printout__setCallbackInfo", (PyCFunction
) _wrap_Printout__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30966 { (char *)"Printout_GetTitle", (PyCFunction
)_wrap_Printout_GetTitle
, METH_O
, NULL
},
30967 { (char *)"Printout_GetDC", (PyCFunction
)_wrap_Printout_GetDC
, METH_O
, NULL
},
30968 { (char *)"Printout_SetDC", (PyCFunction
) _wrap_Printout_SetDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30969 { (char *)"Printout_SetPageSizePixels", (PyCFunction
) _wrap_Printout_SetPageSizePixels
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30970 { (char *)"Printout_GetPageSizePixels", (PyCFunction
)_wrap_Printout_GetPageSizePixels
, METH_O
, NULL
},
30971 { (char *)"Printout_SetPageSizeMM", (PyCFunction
) _wrap_Printout_SetPageSizeMM
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30972 { (char *)"Printout_GetPageSizeMM", (PyCFunction
)_wrap_Printout_GetPageSizeMM
, METH_O
, NULL
},
30973 { (char *)"Printout_SetPPIScreen", (PyCFunction
) _wrap_Printout_SetPPIScreen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30974 { (char *)"Printout_GetPPIScreen", (PyCFunction
)_wrap_Printout_GetPPIScreen
, METH_O
, NULL
},
30975 { (char *)"Printout_SetPPIPrinter", (PyCFunction
) _wrap_Printout_SetPPIPrinter
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30976 { (char *)"Printout_GetPPIPrinter", (PyCFunction
)_wrap_Printout_GetPPIPrinter
, METH_O
, NULL
},
30977 { (char *)"Printout_IsPreview", (PyCFunction
)_wrap_Printout_IsPreview
, METH_O
, NULL
},
30978 { (char *)"Printout_SetIsPreview", (PyCFunction
) _wrap_Printout_SetIsPreview
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30979 { (char *)"Printout_OnBeginDocument", (PyCFunction
) _wrap_Printout_OnBeginDocument
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30980 { (char *)"Printout_OnEndDocument", (PyCFunction
)_wrap_Printout_OnEndDocument
, METH_O
, NULL
},
30981 { (char *)"Printout_OnBeginPrinting", (PyCFunction
)_wrap_Printout_OnBeginPrinting
, METH_O
, NULL
},
30982 { (char *)"Printout_OnEndPrinting", (PyCFunction
)_wrap_Printout_OnEndPrinting
, METH_O
, NULL
},
30983 { (char *)"Printout_OnPreparePrinting", (PyCFunction
)_wrap_Printout_OnPreparePrinting
, METH_O
, NULL
},
30984 { (char *)"Printout_HasPage", (PyCFunction
) _wrap_Printout_HasPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30985 { (char *)"Printout_GetPageInfo", (PyCFunction
)_wrap_Printout_GetPageInfo
, METH_O
, NULL
},
30986 { (char *)"Printout_swigregister", Printout_swigregister
, METH_VARARGS
, NULL
},
30987 { (char *)"Printout_swiginit", Printout_swiginit
, METH_VARARGS
, NULL
},
30988 { (char *)"new_PreviewCanvas", (PyCFunction
) _wrap_new_PreviewCanvas
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30989 { (char *)"PreviewCanvas_swigregister", PreviewCanvas_swigregister
, METH_VARARGS
, NULL
},
30990 { (char *)"PreviewCanvas_swiginit", PreviewCanvas_swiginit
, METH_VARARGS
, NULL
},
30991 { (char *)"new_PreviewFrame", (PyCFunction
) _wrap_new_PreviewFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30992 { (char *)"PreviewFrame_Initialize", (PyCFunction
)_wrap_PreviewFrame_Initialize
, METH_O
, NULL
},
30993 { (char *)"PreviewFrame_CreateControlBar", (PyCFunction
)_wrap_PreviewFrame_CreateControlBar
, METH_O
, NULL
},
30994 { (char *)"PreviewFrame_CreateCanvas", (PyCFunction
)_wrap_PreviewFrame_CreateCanvas
, METH_O
, NULL
},
30995 { (char *)"PreviewFrame_GetControlBar", (PyCFunction
)_wrap_PreviewFrame_GetControlBar
, METH_O
, NULL
},
30996 { (char *)"PreviewFrame_swigregister", PreviewFrame_swigregister
, METH_VARARGS
, NULL
},
30997 { (char *)"PreviewFrame_swiginit", PreviewFrame_swiginit
, METH_VARARGS
, NULL
},
30998 { (char *)"new_PreviewControlBar", (PyCFunction
) _wrap_new_PreviewControlBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30999 { (char *)"PreviewControlBar_GetZoomControl", (PyCFunction
)_wrap_PreviewControlBar_GetZoomControl
, METH_O
, NULL
},
31000 { (char *)"PreviewControlBar_SetZoomControl", (PyCFunction
) _wrap_PreviewControlBar_SetZoomControl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31001 { (char *)"PreviewControlBar_GetPrintPreview", (PyCFunction
)_wrap_PreviewControlBar_GetPrintPreview
, METH_O
, NULL
},
31002 { (char *)"PreviewControlBar_OnNext", (PyCFunction
)_wrap_PreviewControlBar_OnNext
, METH_O
, NULL
},
31003 { (char *)"PreviewControlBar_OnPrevious", (PyCFunction
)_wrap_PreviewControlBar_OnPrevious
, METH_O
, NULL
},
31004 { (char *)"PreviewControlBar_OnFirst", (PyCFunction
)_wrap_PreviewControlBar_OnFirst
, METH_O
, NULL
},
31005 { (char *)"PreviewControlBar_OnLast", (PyCFunction
)_wrap_PreviewControlBar_OnLast
, METH_O
, NULL
},
31006 { (char *)"PreviewControlBar_OnGoto", (PyCFunction
)_wrap_PreviewControlBar_OnGoto
, METH_O
, NULL
},
31007 { (char *)"PreviewControlBar_swigregister", PreviewControlBar_swigregister
, METH_VARARGS
, NULL
},
31008 { (char *)"PreviewControlBar_swiginit", PreviewControlBar_swiginit
, METH_VARARGS
, NULL
},
31009 { (char *)"new_PrintPreview", _wrap_new_PrintPreview
, METH_VARARGS
, NULL
},
31010 { (char *)"delete_PrintPreview", (PyCFunction
)_wrap_delete_PrintPreview
, METH_O
, NULL
},
31011 { (char *)"PrintPreview_SetCurrentPage", (PyCFunction
) _wrap_PrintPreview_SetCurrentPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31012 { (char *)"PrintPreview_GetCurrentPage", (PyCFunction
)_wrap_PrintPreview_GetCurrentPage
, METH_O
, NULL
},
31013 { (char *)"PrintPreview_SetPrintout", (PyCFunction
) _wrap_PrintPreview_SetPrintout
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31014 { (char *)"PrintPreview_GetPrintout", (PyCFunction
)_wrap_PrintPreview_GetPrintout
, METH_O
, NULL
},
31015 { (char *)"PrintPreview_GetPrintoutForPrinting", (PyCFunction
)_wrap_PrintPreview_GetPrintoutForPrinting
, METH_O
, NULL
},
31016 { (char *)"PrintPreview_SetFrame", (PyCFunction
) _wrap_PrintPreview_SetFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31017 { (char *)"PrintPreview_SetCanvas", (PyCFunction
) _wrap_PrintPreview_SetCanvas
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31018 { (char *)"PrintPreview_GetFrame", (PyCFunction
)_wrap_PrintPreview_GetFrame
, METH_O
, NULL
},
31019 { (char *)"PrintPreview_GetCanvas", (PyCFunction
)_wrap_PrintPreview_GetCanvas
, METH_O
, NULL
},
31020 { (char *)"PrintPreview_PaintPage", (PyCFunction
) _wrap_PrintPreview_PaintPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31021 { (char *)"PrintPreview_DrawBlankPage", (PyCFunction
) _wrap_PrintPreview_DrawBlankPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31022 { (char *)"PrintPreview_RenderPage", (PyCFunction
) _wrap_PrintPreview_RenderPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31023 { (char *)"PrintPreview_AdjustScrollbars", (PyCFunction
) _wrap_PrintPreview_AdjustScrollbars
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31024 { (char *)"PrintPreview_GetPrintDialogData", (PyCFunction
)_wrap_PrintPreview_GetPrintDialogData
, METH_O
, NULL
},
31025 { (char *)"PrintPreview_SetZoom", (PyCFunction
) _wrap_PrintPreview_SetZoom
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31026 { (char *)"PrintPreview_GetZoom", (PyCFunction
)_wrap_PrintPreview_GetZoom
, METH_O
, NULL
},
31027 { (char *)"PrintPreview_GetMaxPage", (PyCFunction
)_wrap_PrintPreview_GetMaxPage
, METH_O
, NULL
},
31028 { (char *)"PrintPreview_GetMinPage", (PyCFunction
)_wrap_PrintPreview_GetMinPage
, METH_O
, NULL
},
31029 { (char *)"PrintPreview_Ok", (PyCFunction
)_wrap_PrintPreview_Ok
, METH_O
, NULL
},
31030 { (char *)"PrintPreview_SetOk", (PyCFunction
) _wrap_PrintPreview_SetOk
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31031 { (char *)"PrintPreview_Print", (PyCFunction
) _wrap_PrintPreview_Print
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31032 { (char *)"PrintPreview_DetermineScaling", (PyCFunction
)_wrap_PrintPreview_DetermineScaling
, METH_O
, NULL
},
31033 { (char *)"PrintPreview_swigregister", PrintPreview_swigregister
, METH_VARARGS
, NULL
},
31034 { (char *)"PrintPreview_swiginit", PrintPreview_swiginit
, METH_VARARGS
, NULL
},
31035 { (char *)"new_PyPrintPreview", _wrap_new_PyPrintPreview
, METH_VARARGS
, NULL
},
31036 { (char *)"PyPrintPreview__setCallbackInfo", (PyCFunction
) _wrap_PyPrintPreview__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31037 { (char *)"PyPrintPreview_swigregister", PyPrintPreview_swigregister
, METH_VARARGS
, NULL
},
31038 { (char *)"PyPrintPreview_swiginit", PyPrintPreview_swiginit
, METH_VARARGS
, NULL
},
31039 { (char *)"new_PyPreviewFrame", (PyCFunction
) _wrap_new_PyPreviewFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31040 { (char *)"PyPreviewFrame__setCallbackInfo", (PyCFunction
) _wrap_PyPreviewFrame__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31041 { (char *)"PyPreviewFrame_SetPreviewCanvas", (PyCFunction
) _wrap_PyPreviewFrame_SetPreviewCanvas
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31042 { (char *)"PyPreviewFrame_SetControlBar", (PyCFunction
) _wrap_PyPreviewFrame_SetControlBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31043 { (char *)"PyPreviewFrame_Initialize", (PyCFunction
)_wrap_PyPreviewFrame_Initialize
, METH_O
, NULL
},
31044 { (char *)"PyPreviewFrame_CreateCanvas", (PyCFunction
)_wrap_PyPreviewFrame_CreateCanvas
, METH_O
, NULL
},
31045 { (char *)"PyPreviewFrame_CreateControlBar", (PyCFunction
)_wrap_PyPreviewFrame_CreateControlBar
, METH_O
, NULL
},
31046 { (char *)"PyPreviewFrame_swigregister", PyPreviewFrame_swigregister
, METH_VARARGS
, NULL
},
31047 { (char *)"PyPreviewFrame_swiginit", PyPreviewFrame_swiginit
, METH_VARARGS
, NULL
},
31048 { (char *)"new_PyPreviewControlBar", (PyCFunction
) _wrap_new_PyPreviewControlBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31049 { (char *)"PyPreviewControlBar__setCallbackInfo", (PyCFunction
) _wrap_PyPreviewControlBar__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31050 { (char *)"PyPreviewControlBar_SetPrintPreview", (PyCFunction
) _wrap_PyPreviewControlBar_SetPrintPreview
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31051 { (char *)"PyPreviewControlBar_CreateButtons", (PyCFunction
)_wrap_PyPreviewControlBar_CreateButtons
, METH_O
, NULL
},
31052 { (char *)"PyPreviewControlBar_SetZoomControl", (PyCFunction
) _wrap_PyPreviewControlBar_SetZoomControl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31053 { (char *)"PyPreviewControlBar_swigregister", PyPreviewControlBar_swigregister
, METH_VARARGS
, NULL
},
31054 { (char *)"PyPreviewControlBar_swiginit", PyPreviewControlBar_swiginit
, METH_VARARGS
, NULL
},
31055 { NULL
, NULL
, 0, NULL
}
31059 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
31061 static void *_p_wxPyPreviewFrameTo_p_wxPreviewFrame(void *x
) {
31062 return (void *)((wxPreviewFrame
*) ((wxPyPreviewFrame
*) x
));
31064 static void *_p_wxContextMenuEventTo_p_wxEvent(void *x
) {
31065 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
31067 static void *_p_wxMenuEventTo_p_wxEvent(void *x
) {
31068 return (void *)((wxEvent
*) ((wxMenuEvent
*) x
));
31070 static void *_p_wxCloseEventTo_p_wxEvent(void *x
) {
31071 return (void *)((wxEvent
*) ((wxCloseEvent
*) x
));
31073 static void *_p_wxMouseEventTo_p_wxEvent(void *x
) {
31074 return (void *)((wxEvent
*) ((wxMouseEvent
*) x
));
31076 static void *_p_wxEraseEventTo_p_wxEvent(void *x
) {
31077 return (void *)((wxEvent
*) ((wxEraseEvent
*) x
));
31079 static void *_p_wxSetCursorEventTo_p_wxEvent(void *x
) {
31080 return (void *)((wxEvent
*) ((wxSetCursorEvent
*) x
));
31082 static void *_p_wxSplitterEventTo_p_wxEvent(void *x
) {
31083 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*) ((wxSplitterEvent
*) x
));
31085 static void *_p_wxInitDialogEventTo_p_wxEvent(void *x
) {
31086 return (void *)((wxEvent
*) ((wxInitDialogEvent
*) x
));
31088 static void *_p_wxScrollEventTo_p_wxEvent(void *x
) {
31089 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxScrollEvent
*) x
));
31091 static void *_p_wxFindDialogEventTo_p_wxEvent(void *x
) {
31092 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxFindDialogEvent
*) x
));
31094 static void *_p_wxPyEventTo_p_wxEvent(void *x
) {
31095 return (void *)((wxEvent
*) ((wxPyEvent
*) x
));
31097 static void *_p_wxNotifyEventTo_p_wxEvent(void *x
) {
31098 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxNotifyEvent
*) x
));
31100 static void *_p_wxCalculateLayoutEventTo_p_wxEvent(void *x
) {
31101 return (void *)((wxEvent
*) ((wxCalculateLayoutEvent
*) x
));
31103 static void *_p_wxIdleEventTo_p_wxEvent(void *x
) {
31104 return (void *)((wxEvent
*) ((wxIdleEvent
*) x
));
31106 static void *_p_wxWindowCreateEventTo_p_wxEvent(void *x
) {
31107 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
31109 static void *_p_wxQueryNewPaletteEventTo_p_wxEvent(void *x
) {
31110 return (void *)((wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
31112 static void *_p_wxMaximizeEventTo_p_wxEvent(void *x
) {
31113 return (void *)((wxEvent
*) ((wxMaximizeEvent
*) x
));
31115 static void *_p_wxIconizeEventTo_p_wxEvent(void *x
) {
31116 return (void *)((wxEvent
*) ((wxIconizeEvent
*) x
));
31118 static void *_p_wxActivateEventTo_p_wxEvent(void *x
) {
31119 return (void *)((wxEvent
*) ((wxActivateEvent
*) x
));
31121 static void *_p_wxSizeEventTo_p_wxEvent(void *x
) {
31122 return (void *)((wxEvent
*) ((wxSizeEvent
*) x
));
31124 static void *_p_wxMoveEventTo_p_wxEvent(void *x
) {
31125 return (void *)((wxEvent
*) ((wxMoveEvent
*) x
));
31127 static void *_p_wxDateEventTo_p_wxEvent(void *x
) {
31128 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxDateEvent
*) x
));
31130 static void *_p_wxPaintEventTo_p_wxEvent(void *x
) {
31131 return (void *)((wxEvent
*) ((wxPaintEvent
*) x
));
31133 static void *_p_wxNcPaintEventTo_p_wxEvent(void *x
) {
31134 return (void *)((wxEvent
*) ((wxNcPaintEvent
*) x
));
31136 static void *_p_wxUpdateUIEventTo_p_wxEvent(void *x
) {
31137 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
31139 static void *_p_wxPaletteChangedEventTo_p_wxEvent(void *x
) {
31140 return (void *)((wxEvent
*) ((wxPaletteChangedEvent
*) x
));
31142 static void *_p_wxDisplayChangedEventTo_p_wxEvent(void *x
) {
31143 return (void *)((wxEvent
*) ((wxDisplayChangedEvent
*) x
));
31145 static void *_p_wxMouseCaptureChangedEventTo_p_wxEvent(void *x
) {
31146 return (void *)((wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
31148 static void *_p_wxSysColourChangedEventTo_p_wxEvent(void *x
) {
31149 return (void *)((wxEvent
*) ((wxSysColourChangedEvent
*) x
));
31151 static void *_p_wxDropFilesEventTo_p_wxEvent(void *x
) {
31152 return (void *)((wxEvent
*) ((wxDropFilesEvent
*) x
));
31154 static void *_p_wxFocusEventTo_p_wxEvent(void *x
) {
31155 return (void *)((wxEvent
*) ((wxFocusEvent
*) x
));
31157 static void *_p_wxChildFocusEventTo_p_wxEvent(void *x
) {
31158 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
31160 static void *_p_wxSashEventTo_p_wxEvent(void *x
) {
31161 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxSashEvent
*) x
));
31163 static void *_p_wxQueryLayoutInfoEventTo_p_wxEvent(void *x
) {
31164 return (void *)((wxEvent
*) ((wxQueryLayoutInfoEvent
*) x
));
31166 static void *_p_wxShowEventTo_p_wxEvent(void *x
) {
31167 return (void *)((wxEvent
*) ((wxShowEvent
*) x
));
31169 static void *_p_wxCommandEventTo_p_wxEvent(void *x
) {
31170 return (void *)((wxEvent
*) ((wxCommandEvent
*) x
));
31172 static void *_p_wxPyCommandEventTo_p_wxEvent(void *x
) {
31173 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
31175 static void *_p_wxWindowDestroyEventTo_p_wxEvent(void *x
) {
31176 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
31178 static void *_p_wxNavigationKeyEventTo_p_wxEvent(void *x
) {
31179 return (void *)((wxEvent
*) ((wxNavigationKeyEvent
*) x
));
31181 static void *_p_wxKeyEventTo_p_wxEvent(void *x
) {
31182 return (void *)((wxEvent
*) ((wxKeyEvent
*) x
));
31184 static void *_p_wxScrollWinEventTo_p_wxEvent(void *x
) {
31185 return (void *)((wxEvent
*) ((wxScrollWinEvent
*) x
));
31187 static void *_p_wxTaskBarIconEventTo_p_wxEvent(void *x
) {
31188 return (void *)((wxEvent
*) ((wxTaskBarIconEvent
*) x
));
31190 static void *_p_wxSplitterEventTo_p_wxNotifyEvent(void *x
) {
31191 return (void *)((wxNotifyEvent
*) ((wxSplitterEvent
*) x
));
31193 static void *_p_wxPasswordEntryDialogTo_p_wxTextEntryDialog(void *x
) {
31194 return (void *)((wxTextEntryDialog
*) ((wxPasswordEntryDialog
*) x
));
31196 static void *_p_wxSplashScreenTo_p_wxEvtHandler(void *x
) {
31197 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxSplashScreen
*) x
));
31199 static void *_p_wxMiniFrameTo_p_wxEvtHandler(void *x
) {
31200 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMiniFrame
*) x
));
31202 static void *_p_wxPyPanelTo_p_wxEvtHandler(void *x
) {
31203 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*) ((wxPyPanel
*) x
));
31205 static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x
) {
31206 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxMenuBar
*) x
));
31208 static void *_p_wxValidatorTo_p_wxEvtHandler(void *x
) {
31209 return (void *)((wxEvtHandler
*) ((wxValidator
*) x
));
31211 static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x
) {
31212 return (void *)((wxEvtHandler
*) (wxValidator
*) ((wxPyValidator
*) x
));
31214 static void *_p_wxMenuTo_p_wxEvtHandler(void *x
) {
31215 return (void *)((wxEvtHandler
*) ((wxMenu
*) x
));
31217 static void *_p_wxPasswordEntryDialogTo_p_wxEvtHandler(void *x
) {
31218 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*)(wxTextEntryDialog
*) ((wxPasswordEntryDialog
*) x
));
31220 static void *_p_wxTextEntryDialogTo_p_wxEvtHandler(void *x
) {
31221 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxTextEntryDialog
*) x
));
31223 static void *_p_wxSingleChoiceDialogTo_p_wxEvtHandler(void *x
) {
31224 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxSingleChoiceDialog
*) x
));
31226 static void *_p_wxMultiChoiceDialogTo_p_wxEvtHandler(void *x
) {
31227 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxMultiChoiceDialog
*) x
));
31229 static void *_p_wxFileDialogTo_p_wxEvtHandler(void *x
) {
31230 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFileDialog
*) x
));
31232 static void *_p_wxMessageDialogTo_p_wxEvtHandler(void *x
) {
31233 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxMessageDialog
*) x
));
31235 static void *_p_wxProgressDialogTo_p_wxEvtHandler(void *x
) {
31236 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxProgressDialog
*) x
));
31238 static void *_p_wxFindReplaceDialogTo_p_wxEvtHandler(void *x
) {
31239 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFindReplaceDialog
*) x
));
31241 static void *_p_wxPanelTo_p_wxEvtHandler(void *x
) {
31242 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxPanel
*) x
));
31244 static void *_p_wxStatusBarTo_p_wxEvtHandler(void *x
) {
31245 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxStatusBar
*) x
));
31247 static void *_p_wxPyVScrolledWindowTo_p_wxEvtHandler(void *x
) {
31248 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*) ((wxPyVScrolledWindow
*) x
));
31250 static void *_p_wxTipWindowTo_p_wxEvtHandler(void *x
) {
31251 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxTipWindow
*) x
));
31253 static void *_p_wxPyPopupTransientWindowTo_p_wxEvtHandler(void *x
) {
31254 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPopupWindow
*) ((wxPyPopupTransientWindow
*) x
));
31256 static void *_p_wxPopupWindowTo_p_wxEvtHandler(void *x
) {
31257 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxPopupWindow
*) x
));
31259 static void *_p_wxSashLayoutWindowTo_p_wxEvtHandler(void *x
) {
31260 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxSashWindow
*) ((wxSashLayoutWindow
*) x
));
31262 static void *_p_wxSashWindowTo_p_wxEvtHandler(void *x
) {
31263 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxSashWindow
*) x
));
31265 static void *_p_wxSplitterWindowTo_p_wxEvtHandler(void *x
) {
31266 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxSplitterWindow
*) x
));
31268 static void *_p_wxSplashScreenWindowTo_p_wxEvtHandler(void *x
) {
31269 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxSplashScreenWindow
*) x
));
31271 static void *_p_wxWindowTo_p_wxEvtHandler(void *x
) {
31272 return (void *)((wxEvtHandler
*) ((wxWindow
*) x
));
31274 static void *_p_wxScrolledWindowTo_p_wxEvtHandler(void *x
) {
31275 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*) ((wxScrolledWindow
*) x
));
31277 static void *_p_wxTopLevelWindowTo_p_wxEvtHandler(void *x
) {
31278 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxTopLevelWindow
*) x
));
31280 static void *_p_wxMDIClientWindowTo_p_wxEvtHandler(void *x
) {
31281 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxMDIClientWindow
*) x
));
31283 static void *_p_wxPyScrolledWindowTo_p_wxEvtHandler(void *x
) {
31284 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*)(wxScrolledWindow
*) ((wxPyScrolledWindow
*) x
));
31286 static void *_p_wxControlTo_p_wxEvtHandler(void *x
) {
31287 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxControl
*) x
));
31289 static void *_p_wxPreviewFrameTo_p_wxEvtHandler(void *x
) {
31290 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxPreviewFrame
*) x
));
31292 static void *_p_wxPyPreviewFrameTo_p_wxEvtHandler(void *x
) {
31293 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*)(wxPreviewFrame
*) ((wxPyPreviewFrame
*) x
));
31295 static void *_p_wxMDIChildFrameTo_p_wxEvtHandler(void *x
) {
31296 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMDIChildFrame
*) x
));
31298 static void *_p_wxPyAppTo_p_wxEvtHandler(void *x
) {
31299 return (void *)((wxEvtHandler
*) ((wxPyApp
*) x
));
31301 static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x
) {
31302 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
31304 static void *_p_wxPyWindowTo_p_wxEvtHandler(void *x
) {
31305 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxPyWindow
*) x
));
31307 static void *_p_wxPreviewCanvasTo_p_wxEvtHandler(void *x
) {
31308 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*)(wxScrolledWindow
*) ((wxPreviewCanvas
*) x
));
31310 static void *_p_wxPyHtmlListBoxTo_p_wxEvtHandler(void *x
) {
31311 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*)(wxPyVScrolledWindow
*)(wxPyVListBox
*) ((wxPyHtmlListBox
*) x
));
31313 static void *_p_wxPyVListBoxTo_p_wxEvtHandler(void *x
) {
31314 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*)(wxPyVScrolledWindow
*) ((wxPyVListBox
*) x
));
31316 static void *_p_wxPreviewControlBarTo_p_wxEvtHandler(void *x
) {
31317 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*) ((wxPreviewControlBar
*) x
));
31319 static void *_p_wxPyPreviewControlBarTo_p_wxEvtHandler(void *x
) {
31320 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*)(wxPreviewControlBar
*) ((wxPyPreviewControlBar
*) x
));
31322 static void *_p_wxPyTaskBarIconTo_p_wxEvtHandler(void *x
) {
31323 return (void *)((wxEvtHandler
*) ((wxPyTaskBarIcon
*) x
));
31325 static void *_p_wxFrameTo_p_wxEvtHandler(void *x
) {
31326 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*) ((wxFrame
*) x
));
31328 static void *_p_wxDirDialogTo_p_wxEvtHandler(void *x
) {
31329 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxDirDialog
*) x
));
31331 static void *_p_wxColourDialogTo_p_wxEvtHandler(void *x
) {
31332 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxColourDialog
*) x
));
31334 static void *_p_wxDialogTo_p_wxEvtHandler(void *x
) {
31335 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*) ((wxDialog
*) x
));
31337 static void *_p_wxFontDialogTo_p_wxEvtHandler(void *x
) {
31338 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFontDialog
*) x
));
31340 static void *_p_wxMDIParentFrameTo_p_wxEvtHandler(void *x
) {
31341 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMDIParentFrame
*) x
));
31343 static void *_p_wxPyHtmlListBoxTo_p_wxPyVListBox(void *x
) {
31344 return (void *)((wxPyVListBox
*) ((wxPyHtmlListBox
*) x
));
31346 static void *_p_wxMDIChildFrameTo_p_wxFrame(void *x
) {
31347 return (void *)((wxFrame
*) ((wxMDIChildFrame
*) x
));
31349 static void *_p_wxProgressDialogTo_p_wxFrame(void *x
) {
31350 return (void *)((wxFrame
*) ((wxProgressDialog
*) x
));
31352 static void *_p_wxTipWindowTo_p_wxFrame(void *x
) {
31353 return (void *)((wxFrame
*) ((wxTipWindow
*) x
));
31355 static void *_p_wxPreviewFrameTo_p_wxFrame(void *x
) {
31356 return (void *)((wxFrame
*) ((wxPreviewFrame
*) x
));
31358 static void *_p_wxPyPreviewFrameTo_p_wxFrame(void *x
) {
31359 return (void *)((wxFrame
*) (wxPreviewFrame
*) ((wxPyPreviewFrame
*) x
));
31361 static void *_p_wxMiniFrameTo_p_wxFrame(void *x
) {
31362 return (void *)((wxFrame
*) ((wxMiniFrame
*) x
));
31364 static void *_p_wxSplashScreenTo_p_wxFrame(void *x
) {
31365 return (void *)((wxFrame
*) ((wxSplashScreen
*) x
));
31367 static void *_p_wxMDIParentFrameTo_p_wxFrame(void *x
) {
31368 return (void *)((wxFrame
*) ((wxMDIParentFrame
*) x
));
31370 static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x
) {
31371 return (void *)((wxObject
*) ((wxLayoutConstraints
*) x
));
31373 static void *_p_wxQueryLayoutInfoEventTo_p_wxObject(void *x
) {
31374 return (void *)((wxObject
*) (wxEvent
*) ((wxQueryLayoutInfoEvent
*) x
));
31376 static void *_p_wxPreviewFrameTo_p_wxObject(void *x
) {
31377 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxPreviewFrame
*) x
));
31379 static void *_p_wxPyPreviewFrameTo_p_wxObject(void *x
) {
31380 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*)(wxPreviewFrame
*) ((wxPyPreviewFrame
*) x
));
31382 static void *_p_wxGBSizerItemTo_p_wxObject(void *x
) {
31383 return (void *)((wxObject
*) (wxSizerItem
*) ((wxGBSizerItem
*) x
));
31385 static void *_p_wxSizerItemTo_p_wxObject(void *x
) {
31386 return (void *)((wxObject
*) ((wxSizerItem
*) x
));
31388 static void *_p_wxScrollEventTo_p_wxObject(void *x
) {
31389 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxScrollEvent
*) x
));
31391 static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x
) {
31392 return (void *)((wxObject
*) ((wxIndividualLayoutConstraint
*) x
));
31394 static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x
) {
31395 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStaticBoxSizer
*) x
));
31397 static void *_p_wxBoxSizerTo_p_wxObject(void *x
) {
31398 return (void *)((wxObject
*) (wxSizer
*) ((wxBoxSizer
*) x
));
31400 static void *_p_wxSizerTo_p_wxObject(void *x
) {
31401 return (void *)((wxObject
*) ((wxSizer
*) x
));
31403 static void *_p_wxGridBagSizerTo_p_wxObject(void *x
) {
31404 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*)(wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
31406 static void *_p_wxUpdateUIEventTo_p_wxObject(void *x
) {
31407 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
31409 static void *_p_wxPyPanelTo_p_wxObject(void *x
) {
31410 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*) ((wxPyPanel
*) x
));
31412 static void *_p_wxEventTo_p_wxObject(void *x
) {
31413 return (void *)((wxObject
*) ((wxEvent
*) x
));
31415 static void *_p_wxFontDataTo_p_wxObject(void *x
) {
31416 return (void *)((wxObject
*) ((wxFontData
*) x
));
31418 static void *_p_wxPrintDataTo_p_wxObject(void *x
) {
31419 return (void *)((wxObject
*) ((wxPrintData
*) x
));
31421 static void *_p_wxFlexGridSizerTo_p_wxObject(void *x
) {
31422 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*) ((wxFlexGridSizer
*) x
));
31424 static void *_p_wxGridSizerTo_p_wxObject(void *x
) {
31425 return (void *)((wxObject
*) (wxSizer
*) ((wxGridSizer
*) x
));
31427 static void *_p_wxInitDialogEventTo_p_wxObject(void *x
) {
31428 return (void *)((wxObject
*) (wxEvent
*) ((wxInitDialogEvent
*) x
));
31430 static void *_p_wxLayoutAlgorithmTo_p_wxObject(void *x
) {
31431 return (void *)((wxObject
*) ((wxLayoutAlgorithm
*) x
));
31433 static void *_p_wxPyTaskBarIconTo_p_wxObject(void *x
) {
31434 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyTaskBarIcon
*) x
));
31436 static void *_p_wxFindDialogEventTo_p_wxObject(void *x
) {
31437 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxFindDialogEvent
*) x
));
31439 static void *_p_wxPaintEventTo_p_wxObject(void *x
) {
31440 return (void *)((wxObject
*) (wxEvent
*) ((wxPaintEvent
*) x
));
31442 static void *_p_wxNcPaintEventTo_p_wxObject(void *x
) {
31443 return (void *)((wxObject
*) (wxEvent
*) ((wxNcPaintEvent
*) x
));
31445 static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x
) {
31446 return (void *)((wxObject
*) (wxEvent
*) ((wxPaletteChangedEvent
*) x
));
31448 static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x
) {
31449 return (void *)((wxObject
*) (wxEvent
*) ((wxDisplayChangedEvent
*) x
));
31451 static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x
) {
31452 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
31454 static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x
) {
31455 return (void *)((wxObject
*) (wxEvent
*) ((wxSysColourChangedEvent
*) x
));
31457 static void *_p_wxPreviewCanvasTo_p_wxObject(void *x
) {
31458 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*)(wxScrolledWindow
*) ((wxPreviewCanvas
*) x
));
31460 static void *_p_wxControlTo_p_wxObject(void *x
) {
31461 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxControl
*) x
));
31463 static void *_p_wxSetCursorEventTo_p_wxObject(void *x
) {
31464 return (void *)((wxObject
*) (wxEvent
*) ((wxSetCursorEvent
*) x
));
31466 static void *_p_wxSplitterEventTo_p_wxObject(void *x
) {
31467 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*) ((wxSplitterEvent
*) x
));
31469 static void *_p_wxFSFileTo_p_wxObject(void *x
) {
31470 return (void *)((wxObject
*) ((wxFSFile
*) x
));
31472 static void *_p_wxFindReplaceDataTo_p_wxObject(void *x
) {
31473 return (void *)((wxObject
*) ((wxFindReplaceData
*) x
));
31475 static void *_p_wxPySizerTo_p_wxObject(void *x
) {
31476 return (void *)((wxObject
*) (wxSizer
*) ((wxPySizer
*) x
));
31478 static void *_p_wxMDIChildFrameTo_p_wxObject(void *x
) {
31479 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMDIChildFrame
*) x
));
31481 static void *_p_wxColourDataTo_p_wxObject(void *x
) {
31482 return (void *)((wxObject
*) ((wxColourData
*) x
));
31484 static void *_p_wxPyEventTo_p_wxObject(void *x
) {
31485 return (void *)((wxObject
*) (wxEvent
*) ((wxPyEvent
*) x
));
31487 static void *_p_wxNotifyEventTo_p_wxObject(void *x
) {
31488 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxNotifyEvent
*) x
));
31490 static void *_p_wxPyWindowTo_p_wxObject(void *x
) {
31491 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxPyWindow
*) x
));
31493 static void *_p_wxSplashScreenTo_p_wxObject(void *x
) {
31494 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxSplashScreen
*) x
));
31496 static void *_p_wxFileDialogTo_p_wxObject(void *x
) {
31497 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFileDialog
*) x
));
31499 static void *_p_wxMultiChoiceDialogTo_p_wxObject(void *x
) {
31500 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxMultiChoiceDialog
*) x
));
31502 static void *_p_wxSingleChoiceDialogTo_p_wxObject(void *x
) {
31503 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxSingleChoiceDialog
*) x
));
31505 static void *_p_wxTextEntryDialogTo_p_wxObject(void *x
) {
31506 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxTextEntryDialog
*) x
));
31508 static void *_p_wxPasswordEntryDialogTo_p_wxObject(void *x
) {
31509 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*)(wxTextEntryDialog
*) ((wxPasswordEntryDialog
*) x
));
31511 static void *_p_wxMessageDialogTo_p_wxObject(void *x
) {
31512 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxMessageDialog
*) x
));
31514 static void *_p_wxProgressDialogTo_p_wxObject(void *x
) {
31515 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxProgressDialog
*) x
));
31517 static void *_p_wxFindReplaceDialogTo_p_wxObject(void *x
) {
31518 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFindReplaceDialog
*) x
));
31520 static void *_p_wxShowEventTo_p_wxObject(void *x
) {
31521 return (void *)((wxObject
*) (wxEvent
*) ((wxShowEvent
*) x
));
31523 static void *_p_wxPrinterTo_p_wxObject(void *x
) {
31524 return (void *)((wxObject
*) ((wxPrinter
*) x
));
31526 static void *_p_wxMenuItemTo_p_wxObject(void *x
) {
31527 return (void *)((wxObject
*) ((wxMenuItem
*) x
));
31529 static void *_p_wxDateEventTo_p_wxObject(void *x
) {
31530 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxDateEvent
*) x
));
31532 static void *_p_wxIdleEventTo_p_wxObject(void *x
) {
31533 return (void *)((wxObject
*) (wxEvent
*) ((wxIdleEvent
*) x
));
31535 static void *_p_wxWindowCreateEventTo_p_wxObject(void *x
) {
31536 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
31538 static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x
) {
31539 return (void *)((wxObject
*) (wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
31541 static void *_p_wxMaximizeEventTo_p_wxObject(void *x
) {
31542 return (void *)((wxObject
*) (wxEvent
*) ((wxMaximizeEvent
*) x
));
31544 static void *_p_wxIconizeEventTo_p_wxObject(void *x
) {
31545 return (void *)((wxObject
*) (wxEvent
*) ((wxIconizeEvent
*) x
));
31547 static void *_p_wxSizeEventTo_p_wxObject(void *x
) {
31548 return (void *)((wxObject
*) (wxEvent
*) ((wxSizeEvent
*) x
));
31550 static void *_p_wxMoveEventTo_p_wxObject(void *x
) {
31551 return (void *)((wxObject
*) (wxEvent
*) ((wxMoveEvent
*) x
));
31553 static void *_p_wxActivateEventTo_p_wxObject(void *x
) {
31554 return (void *)((wxObject
*) (wxEvent
*) ((wxActivateEvent
*) x
));
31556 static void *_p_wxPNMHandlerTo_p_wxObject(void *x
) {
31557 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNMHandler
*) x
));
31559 static void *_p_wxJPEGHandlerTo_p_wxObject(void *x
) {
31560 return (void *)((wxObject
*) (wxImageHandler
*) ((wxJPEGHandler
*) x
));
31562 static void *_p_wxPCXHandlerTo_p_wxObject(void *x
) {
31563 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPCXHandler
*) x
));
31565 static void *_p_wxGIFHandlerTo_p_wxObject(void *x
) {
31566 return (void *)((wxObject
*) (wxImageHandler
*) ((wxGIFHandler
*) x
));
31568 static void *_p_wxPNGHandlerTo_p_wxObject(void *x
) {
31569 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNGHandler
*) x
));
31571 static void *_p_wxANIHandlerTo_p_wxObject(void *x
) {
31572 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*)(wxCURHandler
*) ((wxANIHandler
*) x
));
31574 static void *_p_wxCURHandlerTo_p_wxObject(void *x
) {
31575 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*) ((wxCURHandler
*) x
));
31577 static void *_p_wxICOHandlerTo_p_wxObject(void *x
) {
31578 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*) ((wxICOHandler
*) x
));
31580 static void *_p_wxBMPHandlerTo_p_wxObject(void *x
) {
31581 return (void *)((wxObject
*) (wxImageHandler
*) ((wxBMPHandler
*) x
));
31583 static void *_p_wxPyImageHandlerTo_p_wxObject(void *x
) {
31584 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPyImageHandler
*) x
));
31586 static void *_p_wxImageHandlerTo_p_wxObject(void *x
) {
31587 return (void *)((wxObject
*) ((wxImageHandler
*) x
));
31589 static void *_p_wxXPMHandlerTo_p_wxObject(void *x
) {
31590 return (void *)((wxObject
*) (wxImageHandler
*) ((wxXPMHandler
*) x
));
31592 static void *_p_wxTIFFHandlerTo_p_wxObject(void *x
) {
31593 return (void *)((wxObject
*) (wxImageHandler
*) ((wxTIFFHandler
*) x
));
31595 static void *_p_wxEvtHandlerTo_p_wxObject(void *x
) {
31596 return (void *)((wxObject
*) ((wxEvtHandler
*) x
));
31598 static void *_p_wxCalculateLayoutEventTo_p_wxObject(void *x
) {
31599 return (void *)((wxObject
*) (wxEvent
*) ((wxCalculateLayoutEvent
*) x
));
31601 static void *_p_wxPyVListBoxTo_p_wxObject(void *x
) {
31602 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*)(wxPyVScrolledWindow
*) ((wxPyVListBox
*) x
));
31604 static void *_p_wxPyHtmlListBoxTo_p_wxObject(void *x
) {
31605 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*)(wxPyVScrolledWindow
*)(wxPyVListBox
*) ((wxPyHtmlListBox
*) x
));
31607 static void *_p_wxStdDialogButtonSizerTo_p_wxObject(void *x
) {
31608 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStdDialogButtonSizer
*) x
));
31610 static void *_p_wxAcceleratorTableTo_p_wxObject(void *x
) {
31611 return (void *)((wxObject
*) ((wxAcceleratorTable
*) x
));
31613 static void *_p_wxMiniFrameTo_p_wxObject(void *x
) {
31614 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMiniFrame
*) x
));
31616 static void *_p_wxImageTo_p_wxObject(void *x
) {
31617 return (void *)((wxObject
*) ((wxImage
*) x
));
31619 static void *_p_wxFrameTo_p_wxObject(void *x
) {
31620 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*) ((wxFrame
*) x
));
31622 static void *_p_wxPyPrintoutTo_p_wxObject(void *x
) {
31623 return (void *)((wxObject
*) ((wxPyPrintout
*) x
));
31625 static void *_p_wxScrollWinEventTo_p_wxObject(void *x
) {
31626 return (void *)((wxObject
*) (wxEvent
*) ((wxScrollWinEvent
*) x
));
31628 static void *_p_wxTaskBarIconEventTo_p_wxObject(void *x
) {
31629 return (void *)((wxObject
*) (wxEvent
*) ((wxTaskBarIconEvent
*) x
));
31631 static void *_p_wxStatusBarTo_p_wxObject(void *x
) {
31632 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxStatusBar
*) x
));
31634 static void *_p_wxMDIParentFrameTo_p_wxObject(void *x
) {
31635 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMDIParentFrame
*) x
));
31637 static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x
) {
31638 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
31640 static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x
) {
31641 return (void *)((wxObject
*) (wxEvent
*) ((wxNavigationKeyEvent
*) x
));
31643 static void *_p_wxKeyEventTo_p_wxObject(void *x
) {
31644 return (void *)((wxObject
*) (wxEvent
*) ((wxKeyEvent
*) x
));
31646 static void *_p_wxWindowTo_p_wxObject(void *x
) {
31647 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxWindow
*) x
));
31649 static void *_p_wxMenuTo_p_wxObject(void *x
) {
31650 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxMenu
*) x
));
31652 static void *_p_wxMenuBarTo_p_wxObject(void *x
) {
31653 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxMenuBar
*) x
));
31655 static void *_p_wxScrolledWindowTo_p_wxObject(void *x
) {
31656 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*) ((wxScrolledWindow
*) x
));
31658 static void *_p_wxTopLevelWindowTo_p_wxObject(void *x
) {
31659 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxTopLevelWindow
*) x
));
31661 static void *_p_wxSplashScreenWindowTo_p_wxObject(void *x
) {
31662 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxSplashScreenWindow
*) x
));
31664 static void *_p_wxSplitterWindowTo_p_wxObject(void *x
) {
31665 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxSplitterWindow
*) x
));
31667 static void *_p_wxSashWindowTo_p_wxObject(void *x
) {
31668 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxSashWindow
*) x
));
31670 static void *_p_wxSashLayoutWindowTo_p_wxObject(void *x
) {
31671 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxSashWindow
*) ((wxSashLayoutWindow
*) x
));
31673 static void *_p_wxPopupWindowTo_p_wxObject(void *x
) {
31674 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxPopupWindow
*) x
));
31676 static void *_p_wxPyPopupTransientWindowTo_p_wxObject(void *x
) {
31677 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPopupWindow
*) ((wxPyPopupTransientWindow
*) x
));
31679 static void *_p_wxTipWindowTo_p_wxObject(void *x
) {
31680 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxTipWindow
*) x
));
31682 static void *_p_wxPyVScrolledWindowTo_p_wxObject(void *x
) {
31683 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*) ((wxPyVScrolledWindow
*) x
));
31685 static void *_p_wxMDIClientWindowTo_p_wxObject(void *x
) {
31686 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxMDIClientWindow
*) x
));
31688 static void *_p_wxPyScrolledWindowTo_p_wxObject(void *x
) {
31689 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*)(wxScrolledWindow
*) ((wxPyScrolledWindow
*) x
));
31691 static void *_p_wxSashEventTo_p_wxObject(void *x
) {
31692 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxSashEvent
*) x
));
31694 static void *_p_wxPrintPreviewTo_p_wxObject(void *x
) {
31695 return (void *)((wxObject
*) ((wxPrintPreview
*) x
));
31697 static void *_p_wxPyPrintPreviewTo_p_wxObject(void *x
) {
31698 return (void *)((wxObject
*) (wxPrintPreview
*) ((wxPyPrintPreview
*) x
));
31700 static void *_p_wxPanelTo_p_wxObject(void *x
) {
31701 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxPanel
*) x
));
31703 static void *_p_wxDialogTo_p_wxObject(void *x
) {
31704 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*) ((wxDialog
*) x
));
31706 static void *_p_wxColourDialogTo_p_wxObject(void *x
) {
31707 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxColourDialog
*) x
));
31709 static void *_p_wxDirDialogTo_p_wxObject(void *x
) {
31710 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxDirDialog
*) x
));
31712 static void *_p_wxFontDialogTo_p_wxObject(void *x
) {
31713 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFontDialog
*) x
));
31715 static void *_p_wxPageSetupDialogTo_p_wxObject(void *x
) {
31716 return (void *)((wxObject
*) ((wxPageSetupDialog
*) x
));
31718 static void *_p_wxPrintDialogTo_p_wxObject(void *x
) {
31719 return (void *)((wxObject
*) ((wxPrintDialog
*) x
));
31721 static void *_p_wxFileSystemTo_p_wxObject(void *x
) {
31722 return (void *)((wxObject
*) ((wxFileSystem
*) x
));
31724 static void *_p_wxContextMenuEventTo_p_wxObject(void *x
) {
31725 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
31727 static void *_p_wxMenuEventTo_p_wxObject(void *x
) {
31728 return (void *)((wxObject
*) (wxEvent
*) ((wxMenuEvent
*) x
));
31730 static void *_p_wxPyAppTo_p_wxObject(void *x
) {
31731 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyApp
*) x
));
31733 static void *_p_wxCloseEventTo_p_wxObject(void *x
) {
31734 return (void *)((wxObject
*) (wxEvent
*) ((wxCloseEvent
*) x
));
31736 static void *_p_wxMouseEventTo_p_wxObject(void *x
) {
31737 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseEvent
*) x
));
31739 static void *_p_wxEraseEventTo_p_wxObject(void *x
) {
31740 return (void *)((wxObject
*) (wxEvent
*) ((wxEraseEvent
*) x
));
31742 static void *_p_wxPyCommandEventTo_p_wxObject(void *x
) {
31743 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
31745 static void *_p_wxCommandEventTo_p_wxObject(void *x
) {
31746 return (void *)((wxObject
*) (wxEvent
*) ((wxCommandEvent
*) x
));
31748 static void *_p_wxPreviewControlBarTo_p_wxObject(void *x
) {
31749 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*) ((wxPreviewControlBar
*) x
));
31751 static void *_p_wxPyPreviewControlBarTo_p_wxObject(void *x
) {
31752 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*)(wxPreviewControlBar
*) ((wxPyPreviewControlBar
*) x
));
31754 static void *_p_wxDropFilesEventTo_p_wxObject(void *x
) {
31755 return (void *)((wxObject
*) (wxEvent
*) ((wxDropFilesEvent
*) x
));
31757 static void *_p_wxFocusEventTo_p_wxObject(void *x
) {
31758 return (void *)((wxObject
*) (wxEvent
*) ((wxFocusEvent
*) x
));
31760 static void *_p_wxChildFocusEventTo_p_wxObject(void *x
) {
31761 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
31763 static void *_p_wxControlWithItemsTo_p_wxObject(void *x
) {
31764 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
31766 static void *_p_wxPageSetupDialogDataTo_p_wxObject(void *x
) {
31767 return (void *)((wxObject
*) ((wxPageSetupDialogData
*) x
));
31769 static void *_p_wxPrintDialogDataTo_p_wxObject(void *x
) {
31770 return (void *)((wxObject
*) ((wxPrintDialogData
*) x
));
31772 static void *_p_wxPyValidatorTo_p_wxObject(void *x
) {
31773 return (void *)((wxObject
*) (wxEvtHandler
*)(wxValidator
*) ((wxPyValidator
*) x
));
31775 static void *_p_wxValidatorTo_p_wxObject(void *x
) {
31776 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxValidator
*) x
));
31778 static void *_p_wxPyVListBoxTo_p_wxPyVScrolledWindow(void *x
) {
31779 return (void *)((wxPyVScrolledWindow
*) ((wxPyVListBox
*) x
));
31781 static void *_p_wxPyHtmlListBoxTo_p_wxPyVScrolledWindow(void *x
) {
31782 return (void *)((wxPyVScrolledWindow
*) (wxPyVListBox
*) ((wxPyHtmlListBox
*) x
));
31784 static void *_p_wxPyPopupTransientWindowTo_p_wxPopupWindow(void *x
) {
31785 return (void *)((wxPopupWindow
*) ((wxPyPopupTransientWindow
*) x
));
31787 static void *_p_wxSashLayoutWindowTo_p_wxSashWindow(void *x
) {
31788 return (void *)((wxSashWindow
*) ((wxSashLayoutWindow
*) x
));
31790 static void *_p_wxFrameTo_p_wxTopLevelWindow(void *x
) {
31791 return (void *)((wxTopLevelWindow
*) ((wxFrame
*) x
));
31793 static void *_p_wxMiniFrameTo_p_wxTopLevelWindow(void *x
) {
31794 return (void *)((wxTopLevelWindow
*) (wxFrame
*) ((wxMiniFrame
*) x
));
31796 static void *_p_wxFontDialogTo_p_wxTopLevelWindow(void *x
) {
31797 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxFontDialog
*) x
));
31799 static void *_p_wxDirDialogTo_p_wxTopLevelWindow(void *x
) {
31800 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxDirDialog
*) x
));
31802 static void *_p_wxColourDialogTo_p_wxTopLevelWindow(void *x
) {
31803 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxColourDialog
*) x
));
31805 static void *_p_wxDialogTo_p_wxTopLevelWindow(void *x
) {
31806 return (void *)((wxTopLevelWindow
*) ((wxDialog
*) x
));
31808 static void *_p_wxSplashScreenTo_p_wxTopLevelWindow(void *x
) {
31809 return (void *)((wxTopLevelWindow
*) (wxFrame
*) ((wxSplashScreen
*) x
));
31811 static void *_p_wxTipWindowTo_p_wxTopLevelWindow(void *x
) {
31812 return (void *)((wxTopLevelWindow
*) (wxFrame
*) ((wxTipWindow
*) x
));
31814 static void *_p_wxMDIParentFrameTo_p_wxTopLevelWindow(void *x
) {
31815 return (void *)((wxTopLevelWindow
*) (wxFrame
*) ((wxMDIParentFrame
*) x
));
31817 static void *_p_wxMDIChildFrameTo_p_wxTopLevelWindow(void *x
) {
31818 return (void *)((wxTopLevelWindow
*) (wxFrame
*) ((wxMDIChildFrame
*) x
));
31820 static void *_p_wxMessageDialogTo_p_wxTopLevelWindow(void *x
) {
31821 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxMessageDialog
*) x
));
31823 static void *_p_wxPasswordEntryDialogTo_p_wxTopLevelWindow(void *x
) {
31824 return (void *)((wxTopLevelWindow
*) (wxDialog
*)(wxTextEntryDialog
*) ((wxPasswordEntryDialog
*) x
));
31826 static void *_p_wxTextEntryDialogTo_p_wxTopLevelWindow(void *x
) {
31827 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxTextEntryDialog
*) x
));
31829 static void *_p_wxSingleChoiceDialogTo_p_wxTopLevelWindow(void *x
) {
31830 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxSingleChoiceDialog
*) x
));
31832 static void *_p_wxMultiChoiceDialogTo_p_wxTopLevelWindow(void *x
) {
31833 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxMultiChoiceDialog
*) x
));
31835 static void *_p_wxFileDialogTo_p_wxTopLevelWindow(void *x
) {
31836 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxFileDialog
*) x
));
31838 static void *_p_wxProgressDialogTo_p_wxTopLevelWindow(void *x
) {
31839 return (void *)((wxTopLevelWindow
*) (wxFrame
*) ((wxProgressDialog
*) x
));
31841 static void *_p_wxFindReplaceDialogTo_p_wxTopLevelWindow(void *x
) {
31842 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxFindReplaceDialog
*) x
));
31844 static void *_p_wxPreviewFrameTo_p_wxTopLevelWindow(void *x
) {
31845 return (void *)((wxTopLevelWindow
*) (wxFrame
*) ((wxPreviewFrame
*) x
));
31847 static void *_p_wxPyPreviewFrameTo_p_wxTopLevelWindow(void *x
) {
31848 return (void *)((wxTopLevelWindow
*) (wxFrame
*)(wxPreviewFrame
*) ((wxPyPreviewFrame
*) x
));
31850 static void *_p_wxSplashScreenTo_p_wxWindow(void *x
) {
31851 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxSplashScreen
*) x
));
31853 static void *_p_wxMiniFrameTo_p_wxWindow(void *x
) {
31854 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxMiniFrame
*) x
));
31856 static void *_p_wxPyPanelTo_p_wxWindow(void *x
) {
31857 return (void *)((wxWindow
*) (wxPanel
*) ((wxPyPanel
*) x
));
31859 static void *_p_wxMenuBarTo_p_wxWindow(void *x
) {
31860 return (void *)((wxWindow
*) ((wxMenuBar
*) x
));
31862 static void *_p_wxFindReplaceDialogTo_p_wxWindow(void *x
) {
31863 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxFindReplaceDialog
*) x
));
31865 static void *_p_wxProgressDialogTo_p_wxWindow(void *x
) {
31866 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxProgressDialog
*) x
));
31868 static void *_p_wxMessageDialogTo_p_wxWindow(void *x
) {
31869 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxMessageDialog
*) x
));
31871 static void *_p_wxPasswordEntryDialogTo_p_wxWindow(void *x
) {
31872 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*)(wxTextEntryDialog
*) ((wxPasswordEntryDialog
*) x
));
31874 static void *_p_wxTextEntryDialogTo_p_wxWindow(void *x
) {
31875 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxTextEntryDialog
*) x
));
31877 static void *_p_wxSingleChoiceDialogTo_p_wxWindow(void *x
) {
31878 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxSingleChoiceDialog
*) x
));
31880 static void *_p_wxMultiChoiceDialogTo_p_wxWindow(void *x
) {
31881 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxMultiChoiceDialog
*) x
));
31883 static void *_p_wxFileDialogTo_p_wxWindow(void *x
) {
31884 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxFileDialog
*) x
));
31886 static void *_p_wxPanelTo_p_wxWindow(void *x
) {
31887 return (void *)((wxWindow
*) ((wxPanel
*) x
));
31889 static void *_p_wxStatusBarTo_p_wxWindow(void *x
) {
31890 return (void *)((wxWindow
*) ((wxStatusBar
*) x
));
31892 static void *_p_wxPyVScrolledWindowTo_p_wxWindow(void *x
) {
31893 return (void *)((wxWindow
*) (wxPanel
*) ((wxPyVScrolledWindow
*) x
));
31895 static void *_p_wxTipWindowTo_p_wxWindow(void *x
) {
31896 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxTipWindow
*) x
));
31898 static void *_p_wxPyPopupTransientWindowTo_p_wxWindow(void *x
) {
31899 return (void *)((wxWindow
*) (wxPopupWindow
*) ((wxPyPopupTransientWindow
*) x
));
31901 static void *_p_wxPopupWindowTo_p_wxWindow(void *x
) {
31902 return (void *)((wxWindow
*) ((wxPopupWindow
*) x
));
31904 static void *_p_wxSashLayoutWindowTo_p_wxWindow(void *x
) {
31905 return (void *)((wxWindow
*) (wxSashWindow
*) ((wxSashLayoutWindow
*) x
));
31907 static void *_p_wxScrolledWindowTo_p_wxWindow(void *x
) {
31908 return (void *)((wxWindow
*) (wxPanel
*) ((wxScrolledWindow
*) x
));
31910 static void *_p_wxTopLevelWindowTo_p_wxWindow(void *x
) {
31911 return (void *)((wxWindow
*) ((wxTopLevelWindow
*) x
));
31913 static void *_p_wxSplashScreenWindowTo_p_wxWindow(void *x
) {
31914 return (void *)((wxWindow
*) ((wxSplashScreenWindow
*) x
));
31916 static void *_p_wxSplitterWindowTo_p_wxWindow(void *x
) {
31917 return (void *)((wxWindow
*) ((wxSplitterWindow
*) x
));
31919 static void *_p_wxSashWindowTo_p_wxWindow(void *x
) {
31920 return (void *)((wxWindow
*) ((wxSashWindow
*) x
));
31922 static void *_p_wxMDIClientWindowTo_p_wxWindow(void *x
) {
31923 return (void *)((wxWindow
*) ((wxMDIClientWindow
*) x
));
31925 static void *_p_wxPyScrolledWindowTo_p_wxWindow(void *x
) {
31926 return (void *)((wxWindow
*) (wxPanel
*)(wxScrolledWindow
*) ((wxPyScrolledWindow
*) x
));
31928 static void *_p_wxControlTo_p_wxWindow(void *x
) {
31929 return (void *)((wxWindow
*) ((wxControl
*) x
));
31931 static void *_p_wxPreviewFrameTo_p_wxWindow(void *x
) {
31932 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxPreviewFrame
*) x
));
31934 static void *_p_wxPyPreviewFrameTo_p_wxWindow(void *x
) {
31935 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*)(wxPreviewFrame
*) ((wxPyPreviewFrame
*) x
));
31937 static void *_p_wxMDIChildFrameTo_p_wxWindow(void *x
) {
31938 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxMDIChildFrame
*) x
));
31940 static void *_p_wxControlWithItemsTo_p_wxWindow(void *x
) {
31941 return (void *)((wxWindow
*) (wxControl
*) ((wxControlWithItems
*) x
));
31943 static void *_p_wxPyWindowTo_p_wxWindow(void *x
) {
31944 return (void *)((wxWindow
*) ((wxPyWindow
*) x
));
31946 static void *_p_wxPreviewCanvasTo_p_wxWindow(void *x
) {
31947 return (void *)((wxWindow
*) (wxPanel
*)(wxScrolledWindow
*) ((wxPreviewCanvas
*) x
));
31949 static void *_p_wxPyHtmlListBoxTo_p_wxWindow(void *x
) {
31950 return (void *)((wxWindow
*) (wxPanel
*)(wxPyVScrolledWindow
*)(wxPyVListBox
*) ((wxPyHtmlListBox
*) x
));
31952 static void *_p_wxPyVListBoxTo_p_wxWindow(void *x
) {
31953 return (void *)((wxWindow
*) (wxPanel
*)(wxPyVScrolledWindow
*) ((wxPyVListBox
*) x
));
31955 static void *_p_wxPreviewControlBarTo_p_wxWindow(void *x
) {
31956 return (void *)((wxWindow
*) (wxPanel
*) ((wxPreviewControlBar
*) x
));
31958 static void *_p_wxPyPreviewControlBarTo_p_wxWindow(void *x
) {
31959 return (void *)((wxWindow
*) (wxPanel
*)(wxPreviewControlBar
*) ((wxPyPreviewControlBar
*) x
));
31961 static void *_p_wxFrameTo_p_wxWindow(void *x
) {
31962 return (void *)((wxWindow
*) (wxTopLevelWindow
*) ((wxFrame
*) x
));
31964 static void *_p_wxFontDialogTo_p_wxWindow(void *x
) {
31965 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxFontDialog
*) x
));
31967 static void *_p_wxDirDialogTo_p_wxWindow(void *x
) {
31968 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxDirDialog
*) x
));
31970 static void *_p_wxColourDialogTo_p_wxWindow(void *x
) {
31971 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxColourDialog
*) x
));
31973 static void *_p_wxDialogTo_p_wxWindow(void *x
) {
31974 return (void *)((wxWindow
*) (wxTopLevelWindow
*) ((wxDialog
*) x
));
31976 static void *_p_wxMDIParentFrameTo_p_wxWindow(void *x
) {
31977 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxMDIParentFrame
*) x
));
31979 static void *_p_wxPyScrolledWindowTo_p_wxScrolledWindow(void *x
) {
31980 return (void *)((wxScrolledWindow
*) ((wxPyScrolledWindow
*) x
));
31982 static void *_p_wxPreviewCanvasTo_p_wxScrolledWindow(void *x
) {
31983 return (void *)((wxScrolledWindow
*) ((wxPreviewCanvas
*) x
));
31985 static void *_p_wxPyPrintPreviewTo_p_wxPrintPreview(void *x
) {
31986 return (void *)((wxPrintPreview
*) ((wxPyPrintPreview
*) x
));
31988 static void *_p_wxColourDialogTo_p_wxDialog(void *x
) {
31989 return (void *)((wxDialog
*) ((wxColourDialog
*) x
));
31991 static void *_p_wxDirDialogTo_p_wxDialog(void *x
) {
31992 return (void *)((wxDialog
*) ((wxDirDialog
*) x
));
31994 static void *_p_wxFontDialogTo_p_wxDialog(void *x
) {
31995 return (void *)((wxDialog
*) ((wxFontDialog
*) x
));
31997 static void *_p_wxFileDialogTo_p_wxDialog(void *x
) {
31998 return (void *)((wxDialog
*) ((wxFileDialog
*) x
));
32000 static void *_p_wxMultiChoiceDialogTo_p_wxDialog(void *x
) {
32001 return (void *)((wxDialog
*) ((wxMultiChoiceDialog
*) x
));
32003 static void *_p_wxSingleChoiceDialogTo_p_wxDialog(void *x
) {
32004 return (void *)((wxDialog
*) ((wxSingleChoiceDialog
*) x
));
32006 static void *_p_wxTextEntryDialogTo_p_wxDialog(void *x
) {
32007 return (void *)((wxDialog
*) ((wxTextEntryDialog
*) x
));
32009 static void *_p_wxPasswordEntryDialogTo_p_wxDialog(void *x
) {
32010 return (void *)((wxDialog
*) (wxTextEntryDialog
*) ((wxPasswordEntryDialog
*) x
));
32012 static void *_p_wxMessageDialogTo_p_wxDialog(void *x
) {
32013 return (void *)((wxDialog
*) ((wxMessageDialog
*) x
));
32015 static void *_p_wxFindReplaceDialogTo_p_wxDialog(void *x
) {
32016 return (void *)((wxDialog
*) ((wxFindReplaceDialog
*) x
));
32018 static void *_p_wxScrolledWindowTo_p_wxPanel(void *x
) {
32019 return (void *)((wxPanel
*) ((wxScrolledWindow
*) x
));
32021 static void *_p_wxPyVScrolledWindowTo_p_wxPanel(void *x
) {
32022 return (void *)((wxPanel
*) ((wxPyVScrolledWindow
*) x
));
32024 static void *_p_wxPyScrolledWindowTo_p_wxPanel(void *x
) {
32025 return (void *)((wxPanel
*) (wxScrolledWindow
*) ((wxPyScrolledWindow
*) x
));
32027 static void *_p_wxPyVListBoxTo_p_wxPanel(void *x
) {
32028 return (void *)((wxPanel
*) (wxPyVScrolledWindow
*) ((wxPyVListBox
*) x
));
32030 static void *_p_wxPyHtmlListBoxTo_p_wxPanel(void *x
) {
32031 return (void *)((wxPanel
*) (wxPyVScrolledWindow
*)(wxPyVListBox
*) ((wxPyHtmlListBox
*) x
));
32033 static void *_p_wxPyPanelTo_p_wxPanel(void *x
) {
32034 return (void *)((wxPanel
*) ((wxPyPanel
*) x
));
32036 static void *_p_wxPreviewCanvasTo_p_wxPanel(void *x
) {
32037 return (void *)((wxPanel
*) (wxScrolledWindow
*) ((wxPreviewCanvas
*) x
));
32039 static void *_p_wxPreviewControlBarTo_p_wxPanel(void *x
) {
32040 return (void *)((wxPanel
*) ((wxPreviewControlBar
*) x
));
32042 static void *_p_wxPyPreviewControlBarTo_p_wxPanel(void *x
) {
32043 return (void *)((wxPanel
*) (wxPreviewControlBar
*) ((wxPyPreviewControlBar
*) x
));
32045 static void *_p_wxChildFocusEventTo_p_wxCommandEvent(void *x
) {
32046 return (void *)((wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
32048 static void *_p_wxScrollEventTo_p_wxCommandEvent(void *x
) {
32049 return (void *)((wxCommandEvent
*) ((wxScrollEvent
*) x
));
32051 static void *_p_wxWindowCreateEventTo_p_wxCommandEvent(void *x
) {
32052 return (void *)((wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
32054 static void *_p_wxDateEventTo_p_wxCommandEvent(void *x
) {
32055 return (void *)((wxCommandEvent
*) ((wxDateEvent
*) x
));
32057 static void *_p_wxUpdateUIEventTo_p_wxCommandEvent(void *x
) {
32058 return (void *)((wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
32060 static void *_p_wxFindDialogEventTo_p_wxCommandEvent(void *x
) {
32061 return (void *)((wxCommandEvent
*) ((wxFindDialogEvent
*) x
));
32063 static void *_p_wxWindowDestroyEventTo_p_wxCommandEvent(void *x
) {
32064 return (void *)((wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
32066 static void *_p_wxContextMenuEventTo_p_wxCommandEvent(void *x
) {
32067 return (void *)((wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
32069 static void *_p_wxSplitterEventTo_p_wxCommandEvent(void *x
) {
32070 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*) ((wxSplitterEvent
*) x
));
32072 static void *_p_wxNotifyEventTo_p_wxCommandEvent(void *x
) {
32073 return (void *)((wxCommandEvent
*) ((wxNotifyEvent
*) x
));
32075 static void *_p_wxPyCommandEventTo_p_wxCommandEvent(void *x
) {
32076 return (void *)((wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
32078 static void *_p_wxSashEventTo_p_wxCommandEvent(void *x
) {
32079 return (void *)((wxCommandEvent
*) ((wxSashEvent
*) x
));
32081 static void *_p_wxPyPreviewControlBarTo_p_wxPreviewControlBar(void *x
) {
32082 return (void *)((wxPreviewControlBar
*) ((wxPyPreviewControlBar
*) x
));
32084 static swig_type_info _swigt__p_char
= {"_p_char", "char *", 0, 0, (void*)0, 0};
32085 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};
32086 static swig_type_info _swigt__p_int
= {"_p_int", "int *", 0, 0, (void*)0, 0};
32087 static swig_type_info _swigt__p_unsigned_char
= {"_p_unsigned_char", "unsigned char *|byte *", 0, 0, (void*)0, 0};
32088 static swig_type_info _swigt__p_unsigned_int
= {"_p_unsigned_int", "unsigned int *|time_t *", 0, 0, (void*)0, 0};
32089 static swig_type_info _swigt__p_unsigned_long
= {"_p_unsigned_long", "unsigned long *|wxUIntPtr *", 0, 0, (void*)0, 0};
32090 static swig_type_info _swigt__p_wxArrayInt
= {"_p_wxArrayInt", "wxArrayInt *", 0, 0, (void*)0, 0};
32091 static swig_type_info _swigt__p_wxBitmap
= {"_p_wxBitmap", "wxBitmap *", 0, 0, (void*)0, 0};
32092 static swig_type_info _swigt__p_wxCalculateLayoutEvent
= {"_p_wxCalculateLayoutEvent", "wxCalculateLayoutEvent *", 0, 0, (void*)0, 0};
32093 static swig_type_info _swigt__p_wxColour
= {"_p_wxColour", "wxColour *", 0, 0, (void*)0, 0};
32094 static swig_type_info _swigt__p_wxColourData
= {"_p_wxColourData", "wxColourData *", 0, 0, (void*)0, 0};
32095 static swig_type_info _swigt__p_wxColourDialog
= {"_p_wxColourDialog", "wxColourDialog *", 0, 0, (void*)0, 0};
32096 static swig_type_info _swigt__p_wxCommandEvent
= {"_p_wxCommandEvent", "wxCommandEvent *", 0, 0, (void*)0, 0};
32097 static swig_type_info _swigt__p_wxChildFocusEvent
= {"_p_wxChildFocusEvent", 0, 0, 0, 0, 0};
32098 static swig_type_info _swigt__p_wxScrollEvent
= {"_p_wxScrollEvent", 0, 0, 0, 0, 0};
32099 static swig_type_info _swigt__p_wxWindowCreateEvent
= {"_p_wxWindowCreateEvent", 0, 0, 0, 0, 0};
32100 static swig_type_info _swigt__p_wxDateEvent
= {"_p_wxDateEvent", 0, 0, 0, 0, 0};
32101 static swig_type_info _swigt__p_wxUpdateUIEvent
= {"_p_wxUpdateUIEvent", 0, 0, 0, 0, 0};
32102 static swig_type_info _swigt__p_wxWindowDestroyEvent
= {"_p_wxWindowDestroyEvent", 0, 0, 0, 0, 0};
32103 static swig_type_info _swigt__p_wxContextMenuEvent
= {"_p_wxContextMenuEvent", 0, 0, 0, 0, 0};
32104 static swig_type_info _swigt__p_wxPyCommandEvent
= {"_p_wxPyCommandEvent", 0, 0, 0, 0, 0};
32105 static swig_type_info _swigt__p_wxDC
= {"_p_wxDC", "wxDC *", 0, 0, (void*)0, 0};
32106 static swig_type_info _swigt__p_wxDialog
= {"_p_wxDialog", "wxDialog *", 0, 0, (void*)0, 0};
32107 static swig_type_info _swigt__p_wxDirDialog
= {"_p_wxDirDialog", "wxDirDialog *", 0, 0, (void*)0, 0};
32108 static swig_type_info _swigt__p_wxDuplexMode
= {"_p_wxDuplexMode", "enum wxDuplexMode *|wxDuplexMode *", 0, 0, (void*)0, 0};
32109 static swig_type_info _swigt__p_wxEvent
= {"_p_wxEvent", "wxEvent *", 0, 0, (void*)0, 0};
32110 static swig_type_info _swigt__p_wxMenuEvent
= {"_p_wxMenuEvent", 0, 0, 0, 0, 0};
32111 static swig_type_info _swigt__p_wxCloseEvent
= {"_p_wxCloseEvent", 0, 0, 0, 0, 0};
32112 static swig_type_info _swigt__p_wxMouseEvent
= {"_p_wxMouseEvent", 0, 0, 0, 0, 0};
32113 static swig_type_info _swigt__p_wxEraseEvent
= {"_p_wxEraseEvent", 0, 0, 0, 0, 0};
32114 static swig_type_info _swigt__p_wxSetCursorEvent
= {"_p_wxSetCursorEvent", 0, 0, 0, 0, 0};
32115 static swig_type_info _swigt__p_wxInitDialogEvent
= {"_p_wxInitDialogEvent", 0, 0, 0, 0, 0};
32116 static swig_type_info _swigt__p_wxPyEvent
= {"_p_wxPyEvent", 0, 0, 0, 0, 0};
32117 static swig_type_info _swigt__p_wxIdleEvent
= {"_p_wxIdleEvent", 0, 0, 0, 0, 0};
32118 static swig_type_info _swigt__p_wxQueryNewPaletteEvent
= {"_p_wxQueryNewPaletteEvent", 0, 0, 0, 0, 0};
32119 static swig_type_info _swigt__p_wxMaximizeEvent
= {"_p_wxMaximizeEvent", 0, 0, 0, 0, 0};
32120 static swig_type_info _swigt__p_wxIconizeEvent
= {"_p_wxIconizeEvent", 0, 0, 0, 0, 0};
32121 static swig_type_info _swigt__p_wxActivateEvent
= {"_p_wxActivateEvent", 0, 0, 0, 0, 0};
32122 static swig_type_info _swigt__p_wxSizeEvent
= {"_p_wxSizeEvent", 0, 0, 0, 0, 0};
32123 static swig_type_info _swigt__p_wxMoveEvent
= {"_p_wxMoveEvent", 0, 0, 0, 0, 0};
32124 static swig_type_info _swigt__p_wxPaintEvent
= {"_p_wxPaintEvent", 0, 0, 0, 0, 0};
32125 static swig_type_info _swigt__p_wxNcPaintEvent
= {"_p_wxNcPaintEvent", 0, 0, 0, 0, 0};
32126 static swig_type_info _swigt__p_wxPaletteChangedEvent
= {"_p_wxPaletteChangedEvent", 0, 0, 0, 0, 0};
32127 static swig_type_info _swigt__p_wxDisplayChangedEvent
= {"_p_wxDisplayChangedEvent", 0, 0, 0, 0, 0};
32128 static swig_type_info _swigt__p_wxMouseCaptureChangedEvent
= {"_p_wxMouseCaptureChangedEvent", 0, 0, 0, 0, 0};
32129 static swig_type_info _swigt__p_wxSysColourChangedEvent
= {"_p_wxSysColourChangedEvent", 0, 0, 0, 0, 0};
32130 static swig_type_info _swigt__p_wxDropFilesEvent
= {"_p_wxDropFilesEvent", 0, 0, 0, 0, 0};
32131 static swig_type_info _swigt__p_wxFocusEvent
= {"_p_wxFocusEvent", 0, 0, 0, 0, 0};
32132 static swig_type_info _swigt__p_wxShowEvent
= {"_p_wxShowEvent", 0, 0, 0, 0, 0};
32133 static swig_type_info _swigt__p_wxNavigationKeyEvent
= {"_p_wxNavigationKeyEvent", 0, 0, 0, 0, 0};
32134 static swig_type_info _swigt__p_wxKeyEvent
= {"_p_wxKeyEvent", 0, 0, 0, 0, 0};
32135 static swig_type_info _swigt__p_wxEvtHandler
= {"_p_wxEvtHandler", "wxEvtHandler *", 0, 0, (void*)0, 0};
32136 static swig_type_info _swigt__p_wxValidator
= {"_p_wxValidator", 0, 0, 0, 0, 0};
32137 static swig_type_info _swigt__p_wxPyValidator
= {"_p_wxPyValidator", 0, 0, 0, 0, 0};
32138 static swig_type_info _swigt__p_wxControl
= {"_p_wxControl", 0, 0, 0, 0, 0};
32139 static swig_type_info _swigt__p_wxPyApp
= {"_p_wxPyApp", 0, 0, 0, 0, 0};
32140 static swig_type_info _swigt__p_wxControlWithItems
= {"_p_wxControlWithItems", 0, 0, 0, 0, 0};
32141 static swig_type_info _swigt__p_wxFileDialog
= {"_p_wxFileDialog", "wxFileDialog *", 0, 0, (void*)0, 0};
32142 static swig_type_info _swigt__p_wxFileSystem
= {"_p_wxFileSystem", "wxFileSystem *", 0, 0, (void*)0, 0};
32143 static swig_type_info _swigt__p_wxFindDialogEvent
= {"_p_wxFindDialogEvent", "wxFindDialogEvent *", 0, 0, (void*)0, 0};
32144 static swig_type_info _swigt__p_wxFindReplaceData
= {"_p_wxFindReplaceData", "wxFindReplaceData *", 0, 0, (void*)0, 0};
32145 static swig_type_info _swigt__p_wxFindReplaceDialog
= {"_p_wxFindReplaceDialog", "wxFindReplaceDialog *", 0, 0, (void*)0, 0};
32146 static swig_type_info _swigt__p_wxFont
= {"_p_wxFont", "wxFont *", 0, 0, (void*)0, 0};
32147 static swig_type_info _swigt__p_wxFontData
= {"_p_wxFontData", "wxFontData *", 0, 0, (void*)0, 0};
32148 static swig_type_info _swigt__p_wxFontDialog
= {"_p_wxFontDialog", "wxFontDialog *", 0, 0, (void*)0, 0};
32149 static swig_type_info _swigt__p_wxFrame
= {"_p_wxFrame", "wxFrame *", 0, 0, (void*)0, 0};
32150 static swig_type_info _swigt__p_wxIcon
= {"_p_wxIcon", "wxIcon *", 0, 0, (void*)0, 0};
32151 static swig_type_info _swigt__p_wxIconBundle
= {"_p_wxIconBundle", "wxIconBundle *", 0, 0, (void*)0, 0};
32152 static swig_type_info _swigt__p_wxLayoutAlgorithm
= {"_p_wxLayoutAlgorithm", "wxLayoutAlgorithm *", 0, 0, (void*)0, 0};
32153 static swig_type_info _swigt__p_wxMDIChildFrame
= {"_p_wxMDIChildFrame", "wxMDIChildFrame *", 0, 0, (void*)0, 0};
32154 static swig_type_info _swigt__p_wxMDIClientWindow
= {"_p_wxMDIClientWindow", "wxMDIClientWindow *", 0, 0, (void*)0, 0};
32155 static swig_type_info _swigt__p_wxMDIParentFrame
= {"_p_wxMDIParentFrame", "wxMDIParentFrame *", 0, 0, (void*)0, 0};
32156 static swig_type_info _swigt__p_wxMenu
= {"_p_wxMenu", "wxMenu *", 0, 0, (void*)0, 0};
32157 static swig_type_info _swigt__p_wxMenuBar
= {"_p_wxMenuBar", "wxMenuBar *", 0, 0, (void*)0, 0};
32158 static swig_type_info _swigt__p_wxMessageDialog
= {"_p_wxMessageDialog", "wxMessageDialog *", 0, 0, (void*)0, 0};
32159 static swig_type_info _swigt__p_wxMiniFrame
= {"_p_wxMiniFrame", "wxMiniFrame *", 0, 0, (void*)0, 0};
32160 static swig_type_info _swigt__p_wxMultiChoiceDialog
= {"_p_wxMultiChoiceDialog", "wxMultiChoiceDialog *", 0, 0, (void*)0, 0};
32161 static swig_type_info _swigt__p_wxNotifyEvent
= {"_p_wxNotifyEvent", "wxNotifyEvent *", 0, 0, (void*)0, 0};
32162 static swig_type_info _swigt__p_wxObject
= {"_p_wxObject", "wxObject *", 0, 0, (void*)0, 0};
32163 static swig_type_info _swigt__p_wxLayoutConstraints
= {"_p_wxLayoutConstraints", 0, 0, 0, 0, 0};
32164 static swig_type_info _swigt__p_wxGBSizerItem
= {"_p_wxGBSizerItem", 0, 0, 0, 0, 0};
32165 static swig_type_info _swigt__p_wxSizerItem
= {"_p_wxSizerItem", 0, 0, 0, 0, 0};
32166 static swig_type_info _swigt__p_wxIndividualLayoutConstraint
= {"_p_wxIndividualLayoutConstraint", 0, 0, 0, 0, 0};
32167 static swig_type_info _swigt__p_wxStaticBoxSizer
= {"_p_wxStaticBoxSizer", 0, 0, 0, 0, 0};
32168 static swig_type_info _swigt__p_wxBoxSizer
= {"_p_wxBoxSizer", 0, 0, 0, 0, 0};
32169 static swig_type_info _swigt__p_wxSizer
= {"_p_wxSizer", 0, 0, 0, 0, 0};
32170 static swig_type_info _swigt__p_wxGridBagSizer
= {"_p_wxGridBagSizer", 0, 0, 0, 0, 0};
32171 static swig_type_info _swigt__p_wxGridSizer
= {"_p_wxGridSizer", 0, 0, 0, 0, 0};
32172 static swig_type_info _swigt__p_wxFlexGridSizer
= {"_p_wxFlexGridSizer", 0, 0, 0, 0, 0};
32173 static swig_type_info _swigt__p_wxFSFile
= {"_p_wxFSFile", 0, 0, 0, 0, 0};
32174 static swig_type_info _swigt__p_wxPySizer
= {"_p_wxPySizer", 0, 0, 0, 0, 0};
32175 static swig_type_info _swigt__p_wxMenuItem
= {"_p_wxMenuItem", 0, 0, 0, 0, 0};
32176 static swig_type_info _swigt__p_wxImageHandler
= {"_p_wxImageHandler", 0, 0, 0, 0, 0};
32177 static swig_type_info _swigt__p_wxPyImageHandler
= {"_p_wxPyImageHandler", 0, 0, 0, 0, 0};
32178 static swig_type_info _swigt__p_wxBMPHandler
= {"_p_wxBMPHandler", 0, 0, 0, 0, 0};
32179 static swig_type_info _swigt__p_wxICOHandler
= {"_p_wxICOHandler", 0, 0, 0, 0, 0};
32180 static swig_type_info _swigt__p_wxCURHandler
= {"_p_wxCURHandler", 0, 0, 0, 0, 0};
32181 static swig_type_info _swigt__p_wxANIHandler
= {"_p_wxANIHandler", 0, 0, 0, 0, 0};
32182 static swig_type_info _swigt__p_wxPNGHandler
= {"_p_wxPNGHandler", 0, 0, 0, 0, 0};
32183 static swig_type_info _swigt__p_wxGIFHandler
= {"_p_wxGIFHandler", 0, 0, 0, 0, 0};
32184 static swig_type_info _swigt__p_wxPCXHandler
= {"_p_wxPCXHandler", 0, 0, 0, 0, 0};
32185 static swig_type_info _swigt__p_wxJPEGHandler
= {"_p_wxJPEGHandler", 0, 0, 0, 0, 0};
32186 static swig_type_info _swigt__p_wxPNMHandler
= {"_p_wxPNMHandler", 0, 0, 0, 0, 0};
32187 static swig_type_info _swigt__p_wxXPMHandler
= {"_p_wxXPMHandler", 0, 0, 0, 0, 0};
32188 static swig_type_info _swigt__p_wxTIFFHandler
= {"_p_wxTIFFHandler", 0, 0, 0, 0, 0};
32189 static swig_type_info _swigt__p_wxAcceleratorTable
= {"_p_wxAcceleratorTable", 0, 0, 0, 0, 0};
32190 static swig_type_info _swigt__p_wxImage
= {"_p_wxImage", 0, 0, 0, 0, 0};
32191 static swig_type_info _swigt__p_wxPageSetupDialog
= {"_p_wxPageSetupDialog", "wxPageSetupDialog *", 0, 0, (void*)0, 0};
32192 static swig_type_info _swigt__p_wxPageSetupDialogData
= {"_p_wxPageSetupDialogData", "wxPageSetupDialogData *", 0, 0, (void*)0, 0};
32193 static swig_type_info _swigt__p_wxPanel
= {"_p_wxPanel", "wxPanel *", 0, 0, (void*)0, 0};
32194 static swig_type_info _swigt__p_wxPaperSize
= {"_p_wxPaperSize", "enum wxPaperSize *|wxPaperSize *", 0, 0, (void*)0, 0};
32195 static swig_type_info _swigt__p_wxPasswordEntryDialog
= {"_p_wxPasswordEntryDialog", "wxPasswordEntryDialog *", 0, 0, (void*)0, 0};
32196 static swig_type_info _swigt__p_wxPoint
= {"_p_wxPoint", "wxPoint *", 0, 0, (void*)0, 0};
32197 static swig_type_info _swigt__p_wxPopupWindow
= {"_p_wxPopupWindow", "wxPopupWindow *", 0, 0, (void*)0, 0};
32198 static swig_type_info _swigt__p_wxPreviewCanvas
= {"_p_wxPreviewCanvas", "wxPreviewCanvas *", 0, 0, (void*)0, 0};
32199 static swig_type_info _swigt__p_wxPreviewControlBar
= {"_p_wxPreviewControlBar", "wxPreviewControlBar *", 0, 0, (void*)0, 0};
32200 static swig_type_info _swigt__p_wxPreviewFrame
= {"_p_wxPreviewFrame", "wxPreviewFrame *", 0, 0, (void*)0, 0};
32201 static swig_type_info _swigt__p_wxPrintData
= {"_p_wxPrintData", "wxPrintData *", 0, 0, (void*)0, 0};
32202 static swig_type_info _swigt__p_wxPrintDialog
= {"_p_wxPrintDialog", "wxPrintDialog *", 0, 0, (void*)0, 0};
32203 static swig_type_info _swigt__p_wxPrintDialogData
= {"_p_wxPrintDialogData", "wxPrintDialogData *", 0, 0, (void*)0, 0};
32204 static swig_type_info _swigt__p_wxPrintPreview
= {"_p_wxPrintPreview", "wxPrintPreview *", 0, 0, (void*)0, 0};
32205 static swig_type_info _swigt__p_wxPrinter
= {"_p_wxPrinter", "wxPrinter *", 0, 0, (void*)0, 0};
32206 static swig_type_info _swigt__p_wxProgressDialog
= {"_p_wxProgressDialog", "wxProgressDialog *", 0, 0, (void*)0, 0};
32207 static swig_type_info _swigt__p_wxPyHtmlListBox
= {"_p_wxPyHtmlListBox", "wxPyHtmlListBox *", 0, 0, (void*)0, 0};
32208 static swig_type_info _swigt__p_wxPyPanel
= {"_p_wxPyPanel", "wxPyPanel *", 0, 0, (void*)0, 0};
32209 static swig_type_info _swigt__p_wxPyPopupTransientWindow
= {"_p_wxPyPopupTransientWindow", "wxPyPopupTransientWindow *", 0, 0, (void*)0, 0};
32210 static swig_type_info _swigt__p_wxPyPreviewControlBar
= {"_p_wxPyPreviewControlBar", "wxPyPreviewControlBar *", 0, 0, (void*)0, 0};
32211 static swig_type_info _swigt__p_wxPyPreviewFrame
= {"_p_wxPyPreviewFrame", "wxPyPreviewFrame *", 0, 0, (void*)0, 0};
32212 static swig_type_info _swigt__p_wxPyPrintPreview
= {"_p_wxPyPrintPreview", "wxPyPrintPreview *", 0, 0, (void*)0, 0};
32213 static swig_type_info _swigt__p_wxPyPrintout
= {"_p_wxPyPrintout", "wxPyPrintout *", 0, 0, (void*)0, 0};
32214 static swig_type_info _swigt__p_wxPyScrolledWindow
= {"_p_wxPyScrolledWindow", "wxPyScrolledWindow *", 0, 0, (void*)0, 0};
32215 static swig_type_info _swigt__p_wxPyTaskBarIcon
= {"_p_wxPyTaskBarIcon", "wxPyTaskBarIcon *", 0, 0, (void*)0, 0};
32216 static swig_type_info _swigt__p_wxPyVListBox
= {"_p_wxPyVListBox", "wxPyVListBox *", 0, 0, (void*)0, 0};
32217 static swig_type_info _swigt__p_wxPyVScrolledWindow
= {"_p_wxPyVScrolledWindow", "wxPyVScrolledWindow *", 0, 0, (void*)0, 0};
32218 static swig_type_info _swigt__p_wxPyWindow
= {"_p_wxPyWindow", "wxPyWindow *", 0, 0, (void*)0, 0};
32219 static swig_type_info _swigt__p_wxQueryLayoutInfoEvent
= {"_p_wxQueryLayoutInfoEvent", "wxQueryLayoutInfoEvent *", 0, 0, (void*)0, 0};
32220 static swig_type_info _swigt__p_wxRect
= {"_p_wxRect", "wxRect *", 0, 0, (void*)0, 0};
32221 static swig_type_info _swigt__p_wxRegion
= {"_p_wxRegion", "wxRegion *", 0, 0, (void*)0, 0};
32222 static swig_type_info _swigt__p_wxSashEvent
= {"_p_wxSashEvent", "wxSashEvent *", 0, 0, (void*)0, 0};
32223 static swig_type_info _swigt__p_wxSashLayoutWindow
= {"_p_wxSashLayoutWindow", "wxSashLayoutWindow *", 0, 0, (void*)0, 0};
32224 static swig_type_info _swigt__p_wxSashWindow
= {"_p_wxSashWindow", "wxSashWindow *", 0, 0, (void*)0, 0};
32225 static swig_type_info _swigt__p_wxScrollWinEvent
= {"_p_wxScrollWinEvent", "wxScrollWinEvent *", 0, 0, (void*)0, 0};
32226 static swig_type_info _swigt__p_wxScrolledWindow
= {"_p_wxScrolledWindow", "wxScrolledWindow *", 0, 0, (void*)0, 0};
32227 static swig_type_info _swigt__p_wxSingleChoiceDialog
= {"_p_wxSingleChoiceDialog", "wxSingleChoiceDialog *", 0, 0, (void*)0, 0};
32228 static swig_type_info _swigt__p_wxSize
= {"_p_wxSize", "wxSize *", 0, 0, (void*)0, 0};
32229 static swig_type_info _swigt__p_wxSplashScreen
= {"_p_wxSplashScreen", "wxSplashScreen *", 0, 0, (void*)0, 0};
32230 static swig_type_info _swigt__p_wxSplashScreenWindow
= {"_p_wxSplashScreenWindow", "wxSplashScreenWindow *", 0, 0, (void*)0, 0};
32231 static swig_type_info _swigt__p_wxSplitterEvent
= {"_p_wxSplitterEvent", "wxSplitterEvent *", 0, 0, (void*)0, 0};
32232 static swig_type_info _swigt__p_wxSplitterWindow
= {"_p_wxSplitterWindow", "wxSplitterWindow *", 0, 0, (void*)0, 0};
32233 static swig_type_info _swigt__p_wxStatusBar
= {"_p_wxStatusBar", "wxStatusBar *", 0, 0, (void*)0, 0};
32234 static swig_type_info _swigt__p_wxStdDialogButtonSizer
= {"_p_wxStdDialogButtonSizer", "wxStdDialogButtonSizer *", 0, 0, (void*)0, 0};
32235 static swig_type_info _swigt__p_wxString
= {"_p_wxString", "wxString *", 0, 0, (void*)0, 0};
32236 static swig_type_info _swigt__p_wxTaskBarIcon
= {"_p_wxTaskBarIcon", "wxTaskBarIcon *", 0, 0, (void*)0, 0};
32237 static swig_type_info _swigt__p_wxTaskBarIconEvent
= {"_p_wxTaskBarIconEvent", "wxTaskBarIconEvent *", 0, 0, (void*)0, 0};
32238 static swig_type_info _swigt__p_wxTextEntryDialog
= {"_p_wxTextEntryDialog", "wxTextEntryDialog *", 0, 0, (void*)0, 0};
32239 static swig_type_info _swigt__p_wxTipWindow
= {"_p_wxTipWindow", "wxTipWindow *", 0, 0, (void*)0, 0};
32240 static swig_type_info _swigt__p_wxToolBar
= {"_p_wxToolBar", "wxToolBar *", 0, 0, (void*)0, 0};
32241 static swig_type_info _swigt__p_wxTopLevelWindow
= {"_p_wxTopLevelWindow", "wxTopLevelWindow *", 0, 0, (void*)0, 0};
32242 static swig_type_info _swigt__p_wxVisualAttributes
= {"_p_wxVisualAttributes", "wxVisualAttributes *", 0, 0, (void*)0, 0};
32243 static swig_type_info _swigt__p_wxWindow
= {"_p_wxWindow", "wxWindow *", 0, 0, (void*)0, 0};
32245 static swig_type_info
*swig_type_initial
[] = {
32247 &_swigt__p_form_ops_t
,
32249 &_swigt__p_unsigned_char
,
32250 &_swigt__p_unsigned_int
,
32251 &_swigt__p_unsigned_long
,
32252 &_swigt__p_wxANIHandler
,
32253 &_swigt__p_wxAcceleratorTable
,
32254 &_swigt__p_wxActivateEvent
,
32255 &_swigt__p_wxArrayInt
,
32256 &_swigt__p_wxBMPHandler
,
32257 &_swigt__p_wxBitmap
,
32258 &_swigt__p_wxBoxSizer
,
32259 &_swigt__p_wxCURHandler
,
32260 &_swigt__p_wxCalculateLayoutEvent
,
32261 &_swigt__p_wxChildFocusEvent
,
32262 &_swigt__p_wxCloseEvent
,
32263 &_swigt__p_wxColour
,
32264 &_swigt__p_wxColourData
,
32265 &_swigt__p_wxColourDialog
,
32266 &_swigt__p_wxCommandEvent
,
32267 &_swigt__p_wxContextMenuEvent
,
32268 &_swigt__p_wxControl
,
32269 &_swigt__p_wxControlWithItems
,
32271 &_swigt__p_wxDateEvent
,
32272 &_swigt__p_wxDialog
,
32273 &_swigt__p_wxDirDialog
,
32274 &_swigt__p_wxDisplayChangedEvent
,
32275 &_swigt__p_wxDropFilesEvent
,
32276 &_swigt__p_wxDuplexMode
,
32277 &_swigt__p_wxEraseEvent
,
32278 &_swigt__p_wxEvent
,
32279 &_swigt__p_wxEvtHandler
,
32280 &_swigt__p_wxFSFile
,
32281 &_swigt__p_wxFileDialog
,
32282 &_swigt__p_wxFileSystem
,
32283 &_swigt__p_wxFindDialogEvent
,
32284 &_swigt__p_wxFindReplaceData
,
32285 &_swigt__p_wxFindReplaceDialog
,
32286 &_swigt__p_wxFlexGridSizer
,
32287 &_swigt__p_wxFocusEvent
,
32289 &_swigt__p_wxFontData
,
32290 &_swigt__p_wxFontDialog
,
32291 &_swigt__p_wxFrame
,
32292 &_swigt__p_wxGBSizerItem
,
32293 &_swigt__p_wxGIFHandler
,
32294 &_swigt__p_wxGridBagSizer
,
32295 &_swigt__p_wxGridSizer
,
32296 &_swigt__p_wxICOHandler
,
32298 &_swigt__p_wxIconBundle
,
32299 &_swigt__p_wxIconizeEvent
,
32300 &_swigt__p_wxIdleEvent
,
32301 &_swigt__p_wxImage
,
32302 &_swigt__p_wxImageHandler
,
32303 &_swigt__p_wxIndividualLayoutConstraint
,
32304 &_swigt__p_wxInitDialogEvent
,
32305 &_swigt__p_wxJPEGHandler
,
32306 &_swigt__p_wxKeyEvent
,
32307 &_swigt__p_wxLayoutAlgorithm
,
32308 &_swigt__p_wxLayoutConstraints
,
32309 &_swigt__p_wxMDIChildFrame
,
32310 &_swigt__p_wxMDIClientWindow
,
32311 &_swigt__p_wxMDIParentFrame
,
32312 &_swigt__p_wxMaximizeEvent
,
32314 &_swigt__p_wxMenuBar
,
32315 &_swigt__p_wxMenuEvent
,
32316 &_swigt__p_wxMenuItem
,
32317 &_swigt__p_wxMessageDialog
,
32318 &_swigt__p_wxMiniFrame
,
32319 &_swigt__p_wxMouseCaptureChangedEvent
,
32320 &_swigt__p_wxMouseEvent
,
32321 &_swigt__p_wxMoveEvent
,
32322 &_swigt__p_wxMultiChoiceDialog
,
32323 &_swigt__p_wxNavigationKeyEvent
,
32324 &_swigt__p_wxNcPaintEvent
,
32325 &_swigt__p_wxNotifyEvent
,
32326 &_swigt__p_wxObject
,
32327 &_swigt__p_wxPCXHandler
,
32328 &_swigt__p_wxPNGHandler
,
32329 &_swigt__p_wxPNMHandler
,
32330 &_swigt__p_wxPageSetupDialog
,
32331 &_swigt__p_wxPageSetupDialogData
,
32332 &_swigt__p_wxPaintEvent
,
32333 &_swigt__p_wxPaletteChangedEvent
,
32334 &_swigt__p_wxPanel
,
32335 &_swigt__p_wxPaperSize
,
32336 &_swigt__p_wxPasswordEntryDialog
,
32337 &_swigt__p_wxPoint
,
32338 &_swigt__p_wxPopupWindow
,
32339 &_swigt__p_wxPreviewCanvas
,
32340 &_swigt__p_wxPreviewControlBar
,
32341 &_swigt__p_wxPreviewFrame
,
32342 &_swigt__p_wxPrintData
,
32343 &_swigt__p_wxPrintDialog
,
32344 &_swigt__p_wxPrintDialogData
,
32345 &_swigt__p_wxPrintPreview
,
32346 &_swigt__p_wxPrinter
,
32347 &_swigt__p_wxProgressDialog
,
32348 &_swigt__p_wxPyApp
,
32349 &_swigt__p_wxPyCommandEvent
,
32350 &_swigt__p_wxPyEvent
,
32351 &_swigt__p_wxPyHtmlListBox
,
32352 &_swigt__p_wxPyImageHandler
,
32353 &_swigt__p_wxPyPanel
,
32354 &_swigt__p_wxPyPopupTransientWindow
,
32355 &_swigt__p_wxPyPreviewControlBar
,
32356 &_swigt__p_wxPyPreviewFrame
,
32357 &_swigt__p_wxPyPrintPreview
,
32358 &_swigt__p_wxPyPrintout
,
32359 &_swigt__p_wxPyScrolledWindow
,
32360 &_swigt__p_wxPySizer
,
32361 &_swigt__p_wxPyTaskBarIcon
,
32362 &_swigt__p_wxPyVListBox
,
32363 &_swigt__p_wxPyVScrolledWindow
,
32364 &_swigt__p_wxPyValidator
,
32365 &_swigt__p_wxPyWindow
,
32366 &_swigt__p_wxQueryLayoutInfoEvent
,
32367 &_swigt__p_wxQueryNewPaletteEvent
,
32369 &_swigt__p_wxRegion
,
32370 &_swigt__p_wxSashEvent
,
32371 &_swigt__p_wxSashLayoutWindow
,
32372 &_swigt__p_wxSashWindow
,
32373 &_swigt__p_wxScrollEvent
,
32374 &_swigt__p_wxScrollWinEvent
,
32375 &_swigt__p_wxScrolledWindow
,
32376 &_swigt__p_wxSetCursorEvent
,
32377 &_swigt__p_wxShowEvent
,
32378 &_swigt__p_wxSingleChoiceDialog
,
32380 &_swigt__p_wxSizeEvent
,
32381 &_swigt__p_wxSizer
,
32382 &_swigt__p_wxSizerItem
,
32383 &_swigt__p_wxSplashScreen
,
32384 &_swigt__p_wxSplashScreenWindow
,
32385 &_swigt__p_wxSplitterEvent
,
32386 &_swigt__p_wxSplitterWindow
,
32387 &_swigt__p_wxStaticBoxSizer
,
32388 &_swigt__p_wxStatusBar
,
32389 &_swigt__p_wxStdDialogButtonSizer
,
32390 &_swigt__p_wxString
,
32391 &_swigt__p_wxSysColourChangedEvent
,
32392 &_swigt__p_wxTIFFHandler
,
32393 &_swigt__p_wxTaskBarIcon
,
32394 &_swigt__p_wxTaskBarIconEvent
,
32395 &_swigt__p_wxTextEntryDialog
,
32396 &_swigt__p_wxTipWindow
,
32397 &_swigt__p_wxToolBar
,
32398 &_swigt__p_wxTopLevelWindow
,
32399 &_swigt__p_wxUpdateUIEvent
,
32400 &_swigt__p_wxValidator
,
32401 &_swigt__p_wxVisualAttributes
,
32402 &_swigt__p_wxWindow
,
32403 &_swigt__p_wxWindowCreateEvent
,
32404 &_swigt__p_wxWindowDestroyEvent
,
32405 &_swigt__p_wxXPMHandler
,
32408 static swig_cast_info _swigc__p_char
[] = { {&_swigt__p_char
, 0, 0, 0},{0, 0, 0, 0}};
32409 static swig_cast_info _swigc__p_form_ops_t
[] = { {&_swigt__p_form_ops_t
, 0, 0, 0},{0, 0, 0, 0}};
32410 static swig_cast_info _swigc__p_int
[] = { {&_swigt__p_int
, 0, 0, 0},{0, 0, 0, 0}};
32411 static swig_cast_info _swigc__p_unsigned_char
[] = { {&_swigt__p_unsigned_char
, 0, 0, 0},{0, 0, 0, 0}};
32412 static swig_cast_info _swigc__p_unsigned_int
[] = { {&_swigt__p_unsigned_int
, 0, 0, 0},{0, 0, 0, 0}};
32413 static swig_cast_info _swigc__p_unsigned_long
[] = { {&_swigt__p_unsigned_long
, 0, 0, 0},{0, 0, 0, 0}};
32414 static swig_cast_info _swigc__p_wxArrayInt
[] = { {&_swigt__p_wxArrayInt
, 0, 0, 0},{0, 0, 0, 0}};
32415 static swig_cast_info _swigc__p_wxBitmap
[] = { {&_swigt__p_wxBitmap
, 0, 0, 0},{0, 0, 0, 0}};
32416 static swig_cast_info _swigc__p_wxCalculateLayoutEvent
[] = { {&_swigt__p_wxCalculateLayoutEvent
, 0, 0, 0},{0, 0, 0, 0}};
32417 static swig_cast_info _swigc__p_wxColour
[] = { {&_swigt__p_wxColour
, 0, 0, 0},{0, 0, 0, 0}};
32418 static swig_cast_info _swigc__p_wxColourData
[] = { {&_swigt__p_wxColourData
, 0, 0, 0},{0, 0, 0, 0}};
32419 static swig_cast_info _swigc__p_wxColourDialog
[] = { {&_swigt__p_wxColourDialog
, 0, 0, 0},{0, 0, 0, 0}};
32420 static swig_cast_info _swigc__p_wxChildFocusEvent
[] = {{&_swigt__p_wxChildFocusEvent
, 0, 0, 0},{0, 0, 0, 0}};
32421 static swig_cast_info _swigc__p_wxScrollEvent
[] = {{&_swigt__p_wxScrollEvent
, 0, 0, 0},{0, 0, 0, 0}};
32422 static swig_cast_info _swigc__p_wxWindowCreateEvent
[] = {{&_swigt__p_wxWindowCreateEvent
, 0, 0, 0},{0, 0, 0, 0}};
32423 static swig_cast_info _swigc__p_wxDateEvent
[] = {{&_swigt__p_wxDateEvent
, 0, 0, 0},{0, 0, 0, 0}};
32424 static swig_cast_info _swigc__p_wxUpdateUIEvent
[] = {{&_swigt__p_wxUpdateUIEvent
, 0, 0, 0},{0, 0, 0, 0}};
32425 static swig_cast_info _swigc__p_wxWindowDestroyEvent
[] = {{&_swigt__p_wxWindowDestroyEvent
, 0, 0, 0},{0, 0, 0, 0}};
32426 static swig_cast_info _swigc__p_wxContextMenuEvent
[] = {{&_swigt__p_wxContextMenuEvent
, 0, 0, 0},{0, 0, 0, 0}};
32427 static swig_cast_info _swigc__p_wxPyCommandEvent
[] = {{&_swigt__p_wxPyCommandEvent
, 0, 0, 0},{0, 0, 0, 0}};
32428 static swig_cast_info _swigc__p_wxCommandEvent
[] = { {&_swigt__p_wxChildFocusEvent
, _p_wxChildFocusEventTo_p_wxCommandEvent
, 0, 0}, {&_swigt__p_wxScrollEvent
, _p_wxScrollEventTo_p_wxCommandEvent
, 0, 0}, {&_swigt__p_wxWindowCreateEvent
, _p_wxWindowCreateEventTo_p_wxCommandEvent
, 0, 0}, {&_swigt__p_wxDateEvent
, _p_wxDateEventTo_p_wxCommandEvent
, 0, 0}, {&_swigt__p_wxUpdateUIEvent
, _p_wxUpdateUIEventTo_p_wxCommandEvent
, 0, 0}, {&_swigt__p_wxFindDialogEvent
, _p_wxFindDialogEventTo_p_wxCommandEvent
, 0, 0}, {&_swigt__p_wxWindowDestroyEvent
, _p_wxWindowDestroyEventTo_p_wxCommandEvent
, 0, 0}, {&_swigt__p_wxContextMenuEvent
, _p_wxContextMenuEventTo_p_wxCommandEvent
, 0, 0}, {&_swigt__p_wxSplitterEvent
, _p_wxSplitterEventTo_p_wxCommandEvent
, 0, 0}, {&_swigt__p_wxCommandEvent
, 0, 0, 0}, {&_swigt__p_wxNotifyEvent
, _p_wxNotifyEventTo_p_wxCommandEvent
, 0, 0}, {&_swigt__p_wxPyCommandEvent
, _p_wxPyCommandEventTo_p_wxCommandEvent
, 0, 0}, {&_swigt__p_wxSashEvent
, _p_wxSashEventTo_p_wxCommandEvent
, 0, 0},{0, 0, 0, 0}};
32429 static swig_cast_info _swigc__p_wxDC
[] = { {&_swigt__p_wxDC
, 0, 0, 0},{0, 0, 0, 0}};
32430 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_wxMessageDialog
, _p_wxMessageDialogTo_p_wxDialog
, 0, 0}, {&_swigt__p_wxFindReplaceDialog
, _p_wxFindReplaceDialogTo_p_wxDialog
, 0, 0},{0, 0, 0, 0}};
32431 static swig_cast_info _swigc__p_wxDirDialog
[] = { {&_swigt__p_wxDirDialog
, 0, 0, 0},{0, 0, 0, 0}};
32432 static swig_cast_info _swigc__p_wxDuplexMode
[] = { {&_swigt__p_wxDuplexMode
, 0, 0, 0},{0, 0, 0, 0}};
32433 static swig_cast_info _swigc__p_wxMenuEvent
[] = {{&_swigt__p_wxMenuEvent
, 0, 0, 0},{0, 0, 0, 0}};
32434 static swig_cast_info _swigc__p_wxCloseEvent
[] = {{&_swigt__p_wxCloseEvent
, 0, 0, 0},{0, 0, 0, 0}};
32435 static swig_cast_info _swigc__p_wxMouseEvent
[] = {{&_swigt__p_wxMouseEvent
, 0, 0, 0},{0, 0, 0, 0}};
32436 static swig_cast_info _swigc__p_wxEraseEvent
[] = {{&_swigt__p_wxEraseEvent
, 0, 0, 0},{0, 0, 0, 0}};
32437 static swig_cast_info _swigc__p_wxSetCursorEvent
[] = {{&_swigt__p_wxSetCursorEvent
, 0, 0, 0},{0, 0, 0, 0}};
32438 static swig_cast_info _swigc__p_wxInitDialogEvent
[] = {{&_swigt__p_wxInitDialogEvent
, 0, 0, 0},{0, 0, 0, 0}};
32439 static swig_cast_info _swigc__p_wxPyEvent
[] = {{&_swigt__p_wxPyEvent
, 0, 0, 0},{0, 0, 0, 0}};
32440 static swig_cast_info _swigc__p_wxIdleEvent
[] = {{&_swigt__p_wxIdleEvent
, 0, 0, 0},{0, 0, 0, 0}};
32441 static swig_cast_info _swigc__p_wxQueryNewPaletteEvent
[] = {{&_swigt__p_wxQueryNewPaletteEvent
, 0, 0, 0},{0, 0, 0, 0}};
32442 static swig_cast_info _swigc__p_wxMaximizeEvent
[] = {{&_swigt__p_wxMaximizeEvent
, 0, 0, 0},{0, 0, 0, 0}};
32443 static swig_cast_info _swigc__p_wxIconizeEvent
[] = {{&_swigt__p_wxIconizeEvent
, 0, 0, 0},{0, 0, 0, 0}};
32444 static swig_cast_info _swigc__p_wxActivateEvent
[] = {{&_swigt__p_wxActivateEvent
, 0, 0, 0},{0, 0, 0, 0}};
32445 static swig_cast_info _swigc__p_wxSizeEvent
[] = {{&_swigt__p_wxSizeEvent
, 0, 0, 0},{0, 0, 0, 0}};
32446 static swig_cast_info _swigc__p_wxMoveEvent
[] = {{&_swigt__p_wxMoveEvent
, 0, 0, 0},{0, 0, 0, 0}};
32447 static swig_cast_info _swigc__p_wxPaintEvent
[] = {{&_swigt__p_wxPaintEvent
, 0, 0, 0},{0, 0, 0, 0}};
32448 static swig_cast_info _swigc__p_wxNcPaintEvent
[] = {{&_swigt__p_wxNcPaintEvent
, 0, 0, 0},{0, 0, 0, 0}};
32449 static swig_cast_info _swigc__p_wxPaletteChangedEvent
[] = {{&_swigt__p_wxPaletteChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
32450 static swig_cast_info _swigc__p_wxDisplayChangedEvent
[] = {{&_swigt__p_wxDisplayChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
32451 static swig_cast_info _swigc__p_wxMouseCaptureChangedEvent
[] = {{&_swigt__p_wxMouseCaptureChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
32452 static swig_cast_info _swigc__p_wxSysColourChangedEvent
[] = {{&_swigt__p_wxSysColourChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
32453 static swig_cast_info _swigc__p_wxDropFilesEvent
[] = {{&_swigt__p_wxDropFilesEvent
, 0, 0, 0},{0, 0, 0, 0}};
32454 static swig_cast_info _swigc__p_wxFocusEvent
[] = {{&_swigt__p_wxFocusEvent
, 0, 0, 0},{0, 0, 0, 0}};
32455 static swig_cast_info _swigc__p_wxShowEvent
[] = {{&_swigt__p_wxShowEvent
, 0, 0, 0},{0, 0, 0, 0}};
32456 static swig_cast_info _swigc__p_wxNavigationKeyEvent
[] = {{&_swigt__p_wxNavigationKeyEvent
, 0, 0, 0},{0, 0, 0, 0}};
32457 static swig_cast_info _swigc__p_wxKeyEvent
[] = {{&_swigt__p_wxKeyEvent
, 0, 0, 0},{0, 0, 0, 0}};
32458 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_wxPyEvent
, _p_wxPyEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxNotifyEvent
, _p_wxNotifyEventTo_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_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}};
32459 static swig_cast_info _swigc__p_wxValidator
[] = {{&_swigt__p_wxValidator
, 0, 0, 0},{0, 0, 0, 0}};
32460 static swig_cast_info _swigc__p_wxPyValidator
[] = {{&_swigt__p_wxPyValidator
, 0, 0, 0},{0, 0, 0, 0}};
32461 static swig_cast_info _swigc__p_wxControl
[] = {{&_swigt__p_wxControl
, 0, 0, 0},{0, 0, 0, 0}};
32462 static swig_cast_info _swigc__p_wxPyApp
[] = {{&_swigt__p_wxPyApp
, 0, 0, 0},{0, 0, 0, 0}};
32463 static swig_cast_info _swigc__p_wxControlWithItems
[] = {{&_swigt__p_wxControlWithItems
, 0, 0, 0},{0, 0, 0, 0}};
32464 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_wxMessageDialog
, _p_wxMessageDialogTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxFindReplaceDialog
, _p_wxFindReplaceDialogTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxProgressDialog
, _p_wxProgressDialogTo_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_wxFileDialog
, _p_wxFileDialogTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxPanel
, _p_wxPanelTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxStatusBar
, _p_wxStatusBarTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxTipWindow
, _p_wxTipWindowTo_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_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}};
32465 static swig_cast_info _swigc__p_wxFileDialog
[] = { {&_swigt__p_wxFileDialog
, 0, 0, 0},{0, 0, 0, 0}};
32466 static swig_cast_info _swigc__p_wxFileSystem
[] = { {&_swigt__p_wxFileSystem
, 0, 0, 0},{0, 0, 0, 0}};
32467 static swig_cast_info _swigc__p_wxFindDialogEvent
[] = { {&_swigt__p_wxFindDialogEvent
, 0, 0, 0},{0, 0, 0, 0}};
32468 static swig_cast_info _swigc__p_wxFindReplaceData
[] = { {&_swigt__p_wxFindReplaceData
, 0, 0, 0},{0, 0, 0, 0}};
32469 static swig_cast_info _swigc__p_wxFindReplaceDialog
[] = { {&_swigt__p_wxFindReplaceDialog
, 0, 0, 0},{0, 0, 0, 0}};
32470 static swig_cast_info _swigc__p_wxFont
[] = { {&_swigt__p_wxFont
, 0, 0, 0},{0, 0, 0, 0}};
32471 static swig_cast_info _swigc__p_wxFontData
[] = { {&_swigt__p_wxFontData
, 0, 0, 0},{0, 0, 0, 0}};
32472 static swig_cast_info _swigc__p_wxFontDialog
[] = { {&_swigt__p_wxFontDialog
, 0, 0, 0},{0, 0, 0, 0}};
32473 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_wxTipWindow
, _p_wxTipWindowTo_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}};
32474 static swig_cast_info _swigc__p_wxIcon
[] = { {&_swigt__p_wxIcon
, 0, 0, 0},{0, 0, 0, 0}};
32475 static swig_cast_info _swigc__p_wxIconBundle
[] = { {&_swigt__p_wxIconBundle
, 0, 0, 0},{0, 0, 0, 0}};
32476 static swig_cast_info _swigc__p_wxLayoutAlgorithm
[] = { {&_swigt__p_wxLayoutAlgorithm
, 0, 0, 0},{0, 0, 0, 0}};
32477 static swig_cast_info _swigc__p_wxMDIChildFrame
[] = { {&_swigt__p_wxMDIChildFrame
, 0, 0, 0},{0, 0, 0, 0}};
32478 static swig_cast_info _swigc__p_wxMDIClientWindow
[] = { {&_swigt__p_wxMDIClientWindow
, 0, 0, 0},{0, 0, 0, 0}};
32479 static swig_cast_info _swigc__p_wxMDIParentFrame
[] = { {&_swigt__p_wxMDIParentFrame
, 0, 0, 0},{0, 0, 0, 0}};
32480 static swig_cast_info _swigc__p_wxMenu
[] = { {&_swigt__p_wxMenu
, 0, 0, 0},{0, 0, 0, 0}};
32481 static swig_cast_info _swigc__p_wxMenuBar
[] = { {&_swigt__p_wxMenuBar
, 0, 0, 0},{0, 0, 0, 0}};
32482 static swig_cast_info _swigc__p_wxMessageDialog
[] = { {&_swigt__p_wxMessageDialog
, 0, 0, 0},{0, 0, 0, 0}};
32483 static swig_cast_info _swigc__p_wxMiniFrame
[] = { {&_swigt__p_wxMiniFrame
, 0, 0, 0},{0, 0, 0, 0}};
32484 static swig_cast_info _swigc__p_wxMultiChoiceDialog
[] = { {&_swigt__p_wxMultiChoiceDialog
, 0, 0, 0},{0, 0, 0, 0}};
32485 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}};
32486 static swig_cast_info _swigc__p_wxLayoutConstraints
[] = {{&_swigt__p_wxLayoutConstraints
, 0, 0, 0},{0, 0, 0, 0}};
32487 static swig_cast_info _swigc__p_wxGBSizerItem
[] = {{&_swigt__p_wxGBSizerItem
, 0, 0, 0},{0, 0, 0, 0}};
32488 static swig_cast_info _swigc__p_wxSizerItem
[] = {{&_swigt__p_wxSizerItem
, 0, 0, 0},{0, 0, 0, 0}};
32489 static swig_cast_info _swigc__p_wxIndividualLayoutConstraint
[] = {{&_swigt__p_wxIndividualLayoutConstraint
, 0, 0, 0},{0, 0, 0, 0}};
32490 static swig_cast_info _swigc__p_wxStaticBoxSizer
[] = {{&_swigt__p_wxStaticBoxSizer
, 0, 0, 0},{0, 0, 0, 0}};
32491 static swig_cast_info _swigc__p_wxBoxSizer
[] = {{&_swigt__p_wxBoxSizer
, 0, 0, 0},{0, 0, 0, 0}};
32492 static swig_cast_info _swigc__p_wxSizer
[] = {{&_swigt__p_wxSizer
, 0, 0, 0},{0, 0, 0, 0}};
32493 static swig_cast_info _swigc__p_wxGridBagSizer
[] = {{&_swigt__p_wxGridBagSizer
, 0, 0, 0},{0, 0, 0, 0}};
32494 static swig_cast_info _swigc__p_wxGridSizer
[] = {{&_swigt__p_wxGridSizer
, 0, 0, 0},{0, 0, 0, 0}};
32495 static swig_cast_info _swigc__p_wxFlexGridSizer
[] = {{&_swigt__p_wxFlexGridSizer
, 0, 0, 0},{0, 0, 0, 0}};
32496 static swig_cast_info _swigc__p_wxFSFile
[] = {{&_swigt__p_wxFSFile
, 0, 0, 0},{0, 0, 0, 0}};
32497 static swig_cast_info _swigc__p_wxPySizer
[] = {{&_swigt__p_wxPySizer
, 0, 0, 0},{0, 0, 0, 0}};
32498 static swig_cast_info _swigc__p_wxMenuItem
[] = {{&_swigt__p_wxMenuItem
, 0, 0, 0},{0, 0, 0, 0}};
32499 static swig_cast_info _swigc__p_wxImageHandler
[] = {{&_swigt__p_wxImageHandler
, 0, 0, 0},{0, 0, 0, 0}};
32500 static swig_cast_info _swigc__p_wxPyImageHandler
[] = {{&_swigt__p_wxPyImageHandler
, 0, 0, 0},{0, 0, 0, 0}};
32501 static swig_cast_info _swigc__p_wxBMPHandler
[] = {{&_swigt__p_wxBMPHandler
, 0, 0, 0},{0, 0, 0, 0}};
32502 static swig_cast_info _swigc__p_wxICOHandler
[] = {{&_swigt__p_wxICOHandler
, 0, 0, 0},{0, 0, 0, 0}};
32503 static swig_cast_info _swigc__p_wxCURHandler
[] = {{&_swigt__p_wxCURHandler
, 0, 0, 0},{0, 0, 0, 0}};
32504 static swig_cast_info _swigc__p_wxANIHandler
[] = {{&_swigt__p_wxANIHandler
, 0, 0, 0},{0, 0, 0, 0}};
32505 static swig_cast_info _swigc__p_wxPNGHandler
[] = {{&_swigt__p_wxPNGHandler
, 0, 0, 0},{0, 0, 0, 0}};
32506 static swig_cast_info _swigc__p_wxGIFHandler
[] = {{&_swigt__p_wxGIFHandler
, 0, 0, 0},{0, 0, 0, 0}};
32507 static swig_cast_info _swigc__p_wxPCXHandler
[] = {{&_swigt__p_wxPCXHandler
, 0, 0, 0},{0, 0, 0, 0}};
32508 static swig_cast_info _swigc__p_wxJPEGHandler
[] = {{&_swigt__p_wxJPEGHandler
, 0, 0, 0},{0, 0, 0, 0}};
32509 static swig_cast_info _swigc__p_wxPNMHandler
[] = {{&_swigt__p_wxPNMHandler
, 0, 0, 0},{0, 0, 0, 0}};
32510 static swig_cast_info _swigc__p_wxXPMHandler
[] = {{&_swigt__p_wxXPMHandler
, 0, 0, 0},{0, 0, 0, 0}};
32511 static swig_cast_info _swigc__p_wxTIFFHandler
[] = {{&_swigt__p_wxTIFFHandler
, 0, 0, 0},{0, 0, 0, 0}};
32512 static swig_cast_info _swigc__p_wxAcceleratorTable
[] = {{&_swigt__p_wxAcceleratorTable
, 0, 0, 0},{0, 0, 0, 0}};
32513 static swig_cast_info _swigc__p_wxImage
[] = {{&_swigt__p_wxImage
, 0, 0, 0},{0, 0, 0, 0}};
32514 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_wxGBSizerItem
, _p_wxGBSizerItemTo_p_wxObject
, 0, 0}, {&_swigt__p_wxSizerItem
, _p_wxSizerItemTo_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_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_wxPyEvent
, _p_wxPyEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxNotifyEvent
, _p_wxNotifyEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyWindow
, _p_wxPyWindowTo_p_wxObject
, 0, 0}, {&_swigt__p_wxSplashScreen
, _p_wxSplashScreenTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMessageDialog
, _p_wxMessageDialogTo_p_wxObject
, 0, 0}, {&_swigt__p_wxProgressDialog
, _p_wxProgressDialogTo_p_wxObject
, 0, 0}, {&_swigt__p_wxFindReplaceDialog
, _p_wxFindReplaceDialogTo_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_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_wxActivateEvent
, _p_wxActivateEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMenuItem
, _p_wxMenuItemTo_p_wxObject
, 0, 0}, {&_swigt__p_wxCalculateLayoutEvent
, _p_wxCalculateLayoutEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxImageHandler
, _p_wxImageHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyImageHandler
, _p_wxPyImageHandlerTo_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_wxXPMHandler
, _p_wxXPMHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxTIFFHandler
, _p_wxTIFFHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxEvtHandler
, _p_wxEvtHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyVListBox
, _p_wxPyVListBoxTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyHtmlListBox
, _p_wxPyHtmlListBoxTo_p_wxObject
, 0, 0}, {&_swigt__p_wxStdDialogButtonSizer
, _p_wxStdDialogButtonSizerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxAcceleratorTable
, _p_wxAcceleratorTableTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMiniFrame
, _p_wxMiniFrameTo_p_wxObject
, 0, 0}, {&_swigt__p_wxImage
, _p_wxImageTo_p_wxObject
, 0, 0}, {&_swigt__p_wxFrame
, _p_wxFrameTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyPrintout
, _p_wxPyPrintoutTo_p_wxObject
, 0, 0}, {&_swigt__p_wxTaskBarIconEvent
, _p_wxTaskBarIconEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxScrollWinEvent
, _p_wxScrollWinEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxStatusBar
, _p_wxStatusBarTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMDIParentFrame
, _p_wxMDIParentFrameTo_p_wxObject
, 0, 0}, {&_swigt__p_wxObject
, 0, 0, 0}, {&_swigt__p_wxKeyEvent
, _p_wxKeyEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxNavigationKeyEvent
, _p_wxNavigationKeyEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxWindowDestroyEvent
, _p_wxWindowDestroyEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMenuBar
, _p_wxMenuBarTo_p_wxObject
, 0, 0}, {&_swigt__p_wxScrolledWindow
, _p_wxScrolledWindowTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyScrolledWindow
, _p_wxPyScrolledWindowTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyVScrolledWindow
, _p_wxPyVScrolledWindowTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMDIClientWindow
, _p_wxMDIClientWindowTo_p_wxObject
, 0, 0}, {&_swigt__p_wxTopLevelWindow
, _p_wxTopLevelWindowTo_p_wxObject
, 0, 0}, {&_swigt__p_wxTipWindow
, _p_wxTipWindowTo_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_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_wxDropFilesEvent
, _p_wxDropFilesEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxFocusEvent
, _p_wxFocusEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxChildFocusEvent
, _p_wxChildFocusEventTo_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}};
32515 static swig_cast_info _swigc__p_wxPageSetupDialog
[] = { {&_swigt__p_wxPageSetupDialog
, 0, 0, 0},{0, 0, 0, 0}};
32516 static swig_cast_info _swigc__p_wxPageSetupDialogData
[] = { {&_swigt__p_wxPageSetupDialogData
, 0, 0, 0},{0, 0, 0, 0}};
32517 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}};
32518 static swig_cast_info _swigc__p_wxPaperSize
[] = { {&_swigt__p_wxPaperSize
, 0, 0, 0},{0, 0, 0, 0}};
32519 static swig_cast_info _swigc__p_wxPasswordEntryDialog
[] = { {&_swigt__p_wxPasswordEntryDialog
, 0, 0, 0},{0, 0, 0, 0}};
32520 static swig_cast_info _swigc__p_wxPoint
[] = { {&_swigt__p_wxPoint
, 0, 0, 0},{0, 0, 0, 0}};
32521 static swig_cast_info _swigc__p_wxPopupWindow
[] = { {&_swigt__p_wxPopupWindow
, 0, 0, 0}, {&_swigt__p_wxPyPopupTransientWindow
, _p_wxPyPopupTransientWindowTo_p_wxPopupWindow
, 0, 0},{0, 0, 0, 0}};
32522 static swig_cast_info _swigc__p_wxPreviewCanvas
[] = { {&_swigt__p_wxPreviewCanvas
, 0, 0, 0},{0, 0, 0, 0}};
32523 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}};
32524 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}};
32525 static swig_cast_info _swigc__p_wxPrintData
[] = { {&_swigt__p_wxPrintData
, 0, 0, 0},{0, 0, 0, 0}};
32526 static swig_cast_info _swigc__p_wxPrintDialog
[] = { {&_swigt__p_wxPrintDialog
, 0, 0, 0},{0, 0, 0, 0}};
32527 static swig_cast_info _swigc__p_wxPrintDialogData
[] = { {&_swigt__p_wxPrintDialogData
, 0, 0, 0},{0, 0, 0, 0}};
32528 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}};
32529 static swig_cast_info _swigc__p_wxPrinter
[] = { {&_swigt__p_wxPrinter
, 0, 0, 0},{0, 0, 0, 0}};
32530 static swig_cast_info _swigc__p_wxProgressDialog
[] = { {&_swigt__p_wxProgressDialog
, 0, 0, 0},{0, 0, 0, 0}};
32531 static swig_cast_info _swigc__p_wxPyHtmlListBox
[] = { {&_swigt__p_wxPyHtmlListBox
, 0, 0, 0},{0, 0, 0, 0}};
32532 static swig_cast_info _swigc__p_wxPyPanel
[] = { {&_swigt__p_wxPyPanel
, 0, 0, 0},{0, 0, 0, 0}};
32533 static swig_cast_info _swigc__p_wxPyPopupTransientWindow
[] = { {&_swigt__p_wxPyPopupTransientWindow
, 0, 0, 0},{0, 0, 0, 0}};
32534 static swig_cast_info _swigc__p_wxPyPreviewControlBar
[] = { {&_swigt__p_wxPyPreviewControlBar
, 0, 0, 0},{0, 0, 0, 0}};
32535 static swig_cast_info _swigc__p_wxPyPreviewFrame
[] = { {&_swigt__p_wxPyPreviewFrame
, 0, 0, 0},{0, 0, 0, 0}};
32536 static swig_cast_info _swigc__p_wxPyPrintPreview
[] = { {&_swigt__p_wxPyPrintPreview
, 0, 0, 0},{0, 0, 0, 0}};
32537 static swig_cast_info _swigc__p_wxPyPrintout
[] = { {&_swigt__p_wxPyPrintout
, 0, 0, 0},{0, 0, 0, 0}};
32538 static swig_cast_info _swigc__p_wxPyScrolledWindow
[] = { {&_swigt__p_wxPyScrolledWindow
, 0, 0, 0},{0, 0, 0, 0}};
32539 static swig_cast_info _swigc__p_wxPyTaskBarIcon
[] = { {&_swigt__p_wxPyTaskBarIcon
, 0, 0, 0},{0, 0, 0, 0}};
32540 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}};
32541 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}};
32542 static swig_cast_info _swigc__p_wxPyWindow
[] = { {&_swigt__p_wxPyWindow
, 0, 0, 0},{0, 0, 0, 0}};
32543 static swig_cast_info _swigc__p_wxQueryLayoutInfoEvent
[] = { {&_swigt__p_wxQueryLayoutInfoEvent
, 0, 0, 0},{0, 0, 0, 0}};
32544 static swig_cast_info _swigc__p_wxRect
[] = { {&_swigt__p_wxRect
, 0, 0, 0},{0, 0, 0, 0}};
32545 static swig_cast_info _swigc__p_wxRegion
[] = { {&_swigt__p_wxRegion
, 0, 0, 0},{0, 0, 0, 0}};
32546 static swig_cast_info _swigc__p_wxSashEvent
[] = { {&_swigt__p_wxSashEvent
, 0, 0, 0},{0, 0, 0, 0}};
32547 static swig_cast_info _swigc__p_wxSashLayoutWindow
[] = { {&_swigt__p_wxSashLayoutWindow
, 0, 0, 0},{0, 0, 0, 0}};
32548 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}};
32549 static swig_cast_info _swigc__p_wxScrollWinEvent
[] = { {&_swigt__p_wxScrollWinEvent
, 0, 0, 0},{0, 0, 0, 0}};
32550 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}};
32551 static swig_cast_info _swigc__p_wxSingleChoiceDialog
[] = { {&_swigt__p_wxSingleChoiceDialog
, 0, 0, 0},{0, 0, 0, 0}};
32552 static swig_cast_info _swigc__p_wxSize
[] = { {&_swigt__p_wxSize
, 0, 0, 0},{0, 0, 0, 0}};
32553 static swig_cast_info _swigc__p_wxSplashScreen
[] = { {&_swigt__p_wxSplashScreen
, 0, 0, 0},{0, 0, 0, 0}};
32554 static swig_cast_info _swigc__p_wxSplashScreenWindow
[] = { {&_swigt__p_wxSplashScreenWindow
, 0, 0, 0},{0, 0, 0, 0}};
32555 static swig_cast_info _swigc__p_wxSplitterEvent
[] = { {&_swigt__p_wxSplitterEvent
, 0, 0, 0},{0, 0, 0, 0}};
32556 static swig_cast_info _swigc__p_wxSplitterWindow
[] = { {&_swigt__p_wxSplitterWindow
, 0, 0, 0},{0, 0, 0, 0}};
32557 static swig_cast_info _swigc__p_wxStatusBar
[] = { {&_swigt__p_wxStatusBar
, 0, 0, 0},{0, 0, 0, 0}};
32558 static swig_cast_info _swigc__p_wxStdDialogButtonSizer
[] = { {&_swigt__p_wxStdDialogButtonSizer
, 0, 0, 0},{0, 0, 0, 0}};
32559 static swig_cast_info _swigc__p_wxString
[] = { {&_swigt__p_wxString
, 0, 0, 0},{0, 0, 0, 0}};
32560 static swig_cast_info _swigc__p_wxTaskBarIcon
[] = { {&_swigt__p_wxTaskBarIcon
, 0, 0, 0},{0, 0, 0, 0}};
32561 static swig_cast_info _swigc__p_wxTaskBarIconEvent
[] = { {&_swigt__p_wxTaskBarIconEvent
, 0, 0, 0},{0, 0, 0, 0}};
32562 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}};
32563 static swig_cast_info _swigc__p_wxTipWindow
[] = { {&_swigt__p_wxTipWindow
, 0, 0, 0},{0, 0, 0, 0}};
32564 static swig_cast_info _swigc__p_wxToolBar
[] = { {&_swigt__p_wxToolBar
, 0, 0, 0},{0, 0, 0, 0}};
32565 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_wxTipWindow
, _p_wxTipWindowTo_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_wxProgressDialog
, _p_wxProgressDialogTo_p_wxTopLevelWindow
, 0, 0}, {&_swigt__p_wxFileDialog
, _p_wxFileDialogTo_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_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}};
32566 static swig_cast_info _swigc__p_wxVisualAttributes
[] = { {&_swigt__p_wxVisualAttributes
, 0, 0, 0},{0, 0, 0, 0}};
32567 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_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_wxTipWindow
, _p_wxTipWindowTo_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_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}};
32569 static swig_cast_info
*swig_cast_initial
[] = {
32571 _swigc__p_form_ops_t
,
32573 _swigc__p_unsigned_char
,
32574 _swigc__p_unsigned_int
,
32575 _swigc__p_unsigned_long
,
32576 _swigc__p_wxANIHandler
,
32577 _swigc__p_wxAcceleratorTable
,
32578 _swigc__p_wxActivateEvent
,
32579 _swigc__p_wxArrayInt
,
32580 _swigc__p_wxBMPHandler
,
32581 _swigc__p_wxBitmap
,
32582 _swigc__p_wxBoxSizer
,
32583 _swigc__p_wxCURHandler
,
32584 _swigc__p_wxCalculateLayoutEvent
,
32585 _swigc__p_wxChildFocusEvent
,
32586 _swigc__p_wxCloseEvent
,
32587 _swigc__p_wxColour
,
32588 _swigc__p_wxColourData
,
32589 _swigc__p_wxColourDialog
,
32590 _swigc__p_wxCommandEvent
,
32591 _swigc__p_wxContextMenuEvent
,
32592 _swigc__p_wxControl
,
32593 _swigc__p_wxControlWithItems
,
32595 _swigc__p_wxDateEvent
,
32596 _swigc__p_wxDialog
,
32597 _swigc__p_wxDirDialog
,
32598 _swigc__p_wxDisplayChangedEvent
,
32599 _swigc__p_wxDropFilesEvent
,
32600 _swigc__p_wxDuplexMode
,
32601 _swigc__p_wxEraseEvent
,
32603 _swigc__p_wxEvtHandler
,
32604 _swigc__p_wxFSFile
,
32605 _swigc__p_wxFileDialog
,
32606 _swigc__p_wxFileSystem
,
32607 _swigc__p_wxFindDialogEvent
,
32608 _swigc__p_wxFindReplaceData
,
32609 _swigc__p_wxFindReplaceDialog
,
32610 _swigc__p_wxFlexGridSizer
,
32611 _swigc__p_wxFocusEvent
,
32613 _swigc__p_wxFontData
,
32614 _swigc__p_wxFontDialog
,
32616 _swigc__p_wxGBSizerItem
,
32617 _swigc__p_wxGIFHandler
,
32618 _swigc__p_wxGridBagSizer
,
32619 _swigc__p_wxGridSizer
,
32620 _swigc__p_wxICOHandler
,
32622 _swigc__p_wxIconBundle
,
32623 _swigc__p_wxIconizeEvent
,
32624 _swigc__p_wxIdleEvent
,
32626 _swigc__p_wxImageHandler
,
32627 _swigc__p_wxIndividualLayoutConstraint
,
32628 _swigc__p_wxInitDialogEvent
,
32629 _swigc__p_wxJPEGHandler
,
32630 _swigc__p_wxKeyEvent
,
32631 _swigc__p_wxLayoutAlgorithm
,
32632 _swigc__p_wxLayoutConstraints
,
32633 _swigc__p_wxMDIChildFrame
,
32634 _swigc__p_wxMDIClientWindow
,
32635 _swigc__p_wxMDIParentFrame
,
32636 _swigc__p_wxMaximizeEvent
,
32638 _swigc__p_wxMenuBar
,
32639 _swigc__p_wxMenuEvent
,
32640 _swigc__p_wxMenuItem
,
32641 _swigc__p_wxMessageDialog
,
32642 _swigc__p_wxMiniFrame
,
32643 _swigc__p_wxMouseCaptureChangedEvent
,
32644 _swigc__p_wxMouseEvent
,
32645 _swigc__p_wxMoveEvent
,
32646 _swigc__p_wxMultiChoiceDialog
,
32647 _swigc__p_wxNavigationKeyEvent
,
32648 _swigc__p_wxNcPaintEvent
,
32649 _swigc__p_wxNotifyEvent
,
32650 _swigc__p_wxObject
,
32651 _swigc__p_wxPCXHandler
,
32652 _swigc__p_wxPNGHandler
,
32653 _swigc__p_wxPNMHandler
,
32654 _swigc__p_wxPageSetupDialog
,
32655 _swigc__p_wxPageSetupDialogData
,
32656 _swigc__p_wxPaintEvent
,
32657 _swigc__p_wxPaletteChangedEvent
,
32659 _swigc__p_wxPaperSize
,
32660 _swigc__p_wxPasswordEntryDialog
,
32662 _swigc__p_wxPopupWindow
,
32663 _swigc__p_wxPreviewCanvas
,
32664 _swigc__p_wxPreviewControlBar
,
32665 _swigc__p_wxPreviewFrame
,
32666 _swigc__p_wxPrintData
,
32667 _swigc__p_wxPrintDialog
,
32668 _swigc__p_wxPrintDialogData
,
32669 _swigc__p_wxPrintPreview
,
32670 _swigc__p_wxPrinter
,
32671 _swigc__p_wxProgressDialog
,
32673 _swigc__p_wxPyCommandEvent
,
32674 _swigc__p_wxPyEvent
,
32675 _swigc__p_wxPyHtmlListBox
,
32676 _swigc__p_wxPyImageHandler
,
32677 _swigc__p_wxPyPanel
,
32678 _swigc__p_wxPyPopupTransientWindow
,
32679 _swigc__p_wxPyPreviewControlBar
,
32680 _swigc__p_wxPyPreviewFrame
,
32681 _swigc__p_wxPyPrintPreview
,
32682 _swigc__p_wxPyPrintout
,
32683 _swigc__p_wxPyScrolledWindow
,
32684 _swigc__p_wxPySizer
,
32685 _swigc__p_wxPyTaskBarIcon
,
32686 _swigc__p_wxPyVListBox
,
32687 _swigc__p_wxPyVScrolledWindow
,
32688 _swigc__p_wxPyValidator
,
32689 _swigc__p_wxPyWindow
,
32690 _swigc__p_wxQueryLayoutInfoEvent
,
32691 _swigc__p_wxQueryNewPaletteEvent
,
32693 _swigc__p_wxRegion
,
32694 _swigc__p_wxSashEvent
,
32695 _swigc__p_wxSashLayoutWindow
,
32696 _swigc__p_wxSashWindow
,
32697 _swigc__p_wxScrollEvent
,
32698 _swigc__p_wxScrollWinEvent
,
32699 _swigc__p_wxScrolledWindow
,
32700 _swigc__p_wxSetCursorEvent
,
32701 _swigc__p_wxShowEvent
,
32702 _swigc__p_wxSingleChoiceDialog
,
32704 _swigc__p_wxSizeEvent
,
32706 _swigc__p_wxSizerItem
,
32707 _swigc__p_wxSplashScreen
,
32708 _swigc__p_wxSplashScreenWindow
,
32709 _swigc__p_wxSplitterEvent
,
32710 _swigc__p_wxSplitterWindow
,
32711 _swigc__p_wxStaticBoxSizer
,
32712 _swigc__p_wxStatusBar
,
32713 _swigc__p_wxStdDialogButtonSizer
,
32714 _swigc__p_wxString
,
32715 _swigc__p_wxSysColourChangedEvent
,
32716 _swigc__p_wxTIFFHandler
,
32717 _swigc__p_wxTaskBarIcon
,
32718 _swigc__p_wxTaskBarIconEvent
,
32719 _swigc__p_wxTextEntryDialog
,
32720 _swigc__p_wxTipWindow
,
32721 _swigc__p_wxToolBar
,
32722 _swigc__p_wxTopLevelWindow
,
32723 _swigc__p_wxUpdateUIEvent
,
32724 _swigc__p_wxValidator
,
32725 _swigc__p_wxVisualAttributes
,
32726 _swigc__p_wxWindow
,
32727 _swigc__p_wxWindowCreateEvent
,
32728 _swigc__p_wxWindowDestroyEvent
,
32729 _swigc__p_wxXPMHandler
,
32733 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
32735 static swig_const_info swig_const_table
[] = {
32736 {0, 0, 0, 0.0, 0, 0}};
32741 /* -----------------------------------------------------------------------------
32742 * Type initialization:
32743 * This problem is tough by the requirement that no dynamic
32744 * memory is used. Also, since swig_type_info structures store pointers to
32745 * swig_cast_info structures and swig_cast_info structures store pointers back
32746 * to swig_type_info structures, we need some lookup code at initialization.
32747 * The idea is that swig generates all the structures that are needed.
32748 * The runtime then collects these partially filled structures.
32749 * The SWIG_InitializeModule function takes these initial arrays out of
32750 * swig_module, and does all the lookup, filling in the swig_module.types
32751 * array with the correct data and linking the correct swig_cast_info
32752 * structures together.
32754 * The generated swig_type_info structures are assigned staticly to an initial
32755 * array. We just loop though that array, and handle each type individually.
32756 * First we lookup if this type has been already loaded, and if so, use the
32757 * loaded structure instead of the generated one. Then we have to fill in the
32758 * cast linked list. The cast data is initially stored in something like a
32759 * two-dimensional array. Each row corresponds to a type (there are the same
32760 * number of rows as there are in the swig_type_initial array). Each entry in
32761 * a column is one of the swig_cast_info structures for that type.
32762 * The cast_initial array is actually an array of arrays, because each row has
32763 * a variable number of columns. So to actually build the cast linked list,
32764 * we find the array of casts associated with the type, and loop through it
32765 * adding the casts to the list. The one last trick we need to do is making
32766 * sure the type pointer in the swig_cast_info struct is correct.
32768 * First off, we lookup the cast->type name to see if it is already loaded.
32769 * There are three cases to handle:
32770 * 1) If the cast->type has already been loaded AND the type we are adding
32771 * casting info to has not been loaded (it is in this module), THEN we
32772 * replace the cast->type pointer with the type pointer that has already
32774 * 2) If BOTH types (the one we are adding casting info to, and the
32775 * cast->type) are loaded, THEN the cast info has already been loaded by
32776 * the previous module so we just ignore it.
32777 * 3) Finally, if cast->type has not already been loaded, then we add that
32778 * swig_cast_info to the linked list (because the cast->type) pointer will
32780 * ----------------------------------------------------------------------------- */
32790 #define SWIGRUNTIME_DEBUG
32794 SWIG_InitializeModule(void *clientdata
) {
32796 swig_module_info
*module_head
;
32797 static int init_run
= 0;
32799 clientdata
= clientdata
;
32801 if (init_run
) return;
32804 /* Initialize the swig_module */
32805 swig_module
.type_initial
= swig_type_initial
;
32806 swig_module
.cast_initial
= swig_cast_initial
;
32808 /* Try and load any already created modules */
32809 module_head
= SWIG_GetModule(clientdata
);
32811 swig_module
.next
= module_head
->next
;
32812 module_head
->next
= &swig_module
;
32814 /* This is the first module loaded */
32815 swig_module
.next
= &swig_module
;
32816 SWIG_SetModule(clientdata
, &swig_module
);
32819 /* Now work on filling in swig_module.types */
32820 #ifdef SWIGRUNTIME_DEBUG
32821 printf("SWIG_InitializeModule: size %d\n", swig_module
.size
);
32823 for (i
= 0; i
< swig_module
.size
; ++i
) {
32824 swig_type_info
*type
= 0;
32825 swig_type_info
*ret
;
32826 swig_cast_info
*cast
;
32828 #ifdef SWIGRUNTIME_DEBUG
32829 printf("SWIG_InitializeModule: type %d %s\n", i
, swig_module
.type_initial
[i
]->name
);
32832 /* if there is another module already loaded */
32833 if (swig_module
.next
!= &swig_module
) {
32834 type
= SWIG_MangledTypeQueryModule(swig_module
.next
, &swig_module
, swig_module
.type_initial
[i
]->name
);
32837 /* Overwrite clientdata field */
32838 #ifdef SWIGRUNTIME_DEBUG
32839 printf("SWIG_InitializeModule: found type %s\n", type
->name
);
32841 if (swig_module
.type_initial
[i
]->clientdata
) {
32842 type
->clientdata
= swig_module
.type_initial
[i
]->clientdata
;
32843 #ifdef SWIGRUNTIME_DEBUG
32844 printf("SWIG_InitializeModule: found and overwrite type %s \n", type
->name
);
32848 type
= swig_module
.type_initial
[i
];
32851 /* Insert casting types */
32852 cast
= swig_module
.cast_initial
[i
];
32853 while (cast
->type
) {
32854 /* Don't need to add information already in the list */
32856 #ifdef SWIGRUNTIME_DEBUG
32857 printf("SWIG_InitializeModule: look cast %s\n", cast
->type
->name
);
32859 if (swig_module
.next
!= &swig_module
) {
32860 ret
= SWIG_MangledTypeQueryModule(swig_module
.next
, &swig_module
, cast
->type
->name
);
32861 #ifdef SWIGRUNTIME_DEBUG
32862 if (ret
) printf("SWIG_InitializeModule: found cast %s\n", ret
->name
);
32866 if (type
== swig_module
.type_initial
[i
]) {
32867 #ifdef SWIGRUNTIME_DEBUG
32868 printf("SWIG_InitializeModule: skip old type %s\n", ret
->name
);
32873 /* Check for casting already in the list */
32874 swig_cast_info
*ocast
= SWIG_TypeCheck(ret
->name
, type
);
32875 #ifdef SWIGRUNTIME_DEBUG
32876 if (ocast
) printf("SWIG_InitializeModule: skip old cast %s\n", ret
->name
);
32878 if (!ocast
) ret
= 0;
32883 #ifdef SWIGRUNTIME_DEBUG
32884 printf("SWIG_InitializeModule: adding cast %s\n", cast
->type
->name
);
32887 type
->cast
->prev
= cast
;
32888 cast
->next
= type
->cast
;
32894 /* Set entry in modules->types array equal to the type */
32895 swig_module
.types
[i
] = type
;
32897 swig_module
.types
[i
] = 0;
32899 #ifdef SWIGRUNTIME_DEBUG
32900 printf("**** SWIG_InitializeModule: Cast List ******\n");
32901 for (i
= 0; i
< swig_module
.size
; ++i
) {
32903 swig_cast_info
*cast
= swig_module
.cast_initial
[i
];
32904 printf("SWIG_InitializeModule: type %d %s\n", i
, swig_module
.type_initial
[i
]->name
);
32905 while (cast
->type
) {
32906 printf("SWIG_InitializeModule: cast type %s\n", cast
->type
->name
);
32910 printf("---- Total casts: %d\n",j
);
32912 printf("**** SWIG_InitializeModule: Cast List ******\n");
32916 /* This function will propagate the clientdata field of type to
32917 * any new swig_type_info structures that have been added into the list
32918 * of equivalent types. It is like calling
32919 * SWIG_TypeClientData(type, clientdata) a second time.
32922 SWIG_PropagateClientData(void) {
32924 swig_cast_info
*equiv
;
32925 static int init_run
= 0;
32927 if (init_run
) return;
32930 for (i
= 0; i
< swig_module
.size
; i
++) {
32931 if (swig_module
.types
[i
]->clientdata
) {
32932 equiv
= swig_module
.types
[i
]->cast
;
32934 if (!equiv
->converter
) {
32935 if (equiv
->type
&& !equiv
->type
->clientdata
)
32936 SWIG_TypeClientData(equiv
->type
, swig_module
.types
[i
]->clientdata
);
32938 equiv
= equiv
->next
;
32958 /* Python-specific SWIG API */
32959 #define SWIG_newvarlink() SWIG_Python_newvarlink()
32960 #define SWIG_addvarlink(p, name, get_attr, set_attr) SWIG_Python_addvarlink(p, name, get_attr, set_attr)
32961 #define SWIG_InstallConstants(d, constants) SWIG_Python_InstallConstants(d, constants)
32963 /* -----------------------------------------------------------------------------
32964 * global variable support code.
32965 * ----------------------------------------------------------------------------- */
32967 typedef struct swig_globalvar
{
32968 char *name
; /* Name of global variable */
32969 PyObject
*(*get_attr
)(void); /* Return the current value */
32970 int (*set_attr
)(PyObject
*); /* Set the value */
32971 struct swig_globalvar
*next
;
32974 typedef struct swig_varlinkobject
{
32976 swig_globalvar
*vars
;
32977 } swig_varlinkobject
;
32979 SWIGINTERN PyObject
*
32980 swig_varlink_repr(swig_varlinkobject
*SWIGUNUSEDPARM(v
)) {
32981 return PyString_FromString("<Swig global variables>");
32984 SWIGINTERN PyObject
*
32985 swig_varlink_str(swig_varlinkobject
*v
) {
32986 PyObject
*str
= PyString_FromString("(");
32987 swig_globalvar
*var
;
32988 for (var
= v
->vars
; var
; var
=var
->next
) {
32989 PyString_ConcatAndDel(&str
,PyString_FromString(var
->name
));
32990 if (var
->next
) PyString_ConcatAndDel(&str
,PyString_FromString(", "));
32992 PyString_ConcatAndDel(&str
,PyString_FromString(")"));
32997 swig_varlink_print(swig_varlinkobject
*v
, FILE *fp
, int SWIGUNUSEDPARM(flags
)) {
32998 PyObject
*str
= swig_varlink_str(v
);
32999 fprintf(fp
,"Swig global variables ");
33000 fprintf(fp
,"%s\n", PyString_AsString(str
));
33006 swig_varlink_dealloc(swig_varlinkobject
*v
) {
33007 swig_globalvar
*var
= v
->vars
;
33009 swig_globalvar
*n
= var
->next
;
33016 SWIGINTERN PyObject
*
33017 swig_varlink_getattr(swig_varlinkobject
*v
, char *n
) {
33018 PyObject
*res
= NULL
;
33019 swig_globalvar
*var
= v
->vars
;
33021 if (strcmp(var
->name
,n
) == 0) {
33022 res
= (*var
->get_attr
)();
33027 if (res
== NULL
&& !PyErr_Occurred()) {
33028 PyErr_SetString(PyExc_NameError
,"Unknown C global variable");
33034 swig_varlink_setattr(swig_varlinkobject
*v
, char *n
, PyObject
*p
) {
33036 swig_globalvar
*var
= v
->vars
;
33038 if (strcmp(var
->name
,n
) == 0) {
33039 res
= (*var
->set_attr
)(p
);
33044 if (res
== 1 && !PyErr_Occurred()) {
33045 PyErr_SetString(PyExc_NameError
,"Unknown C global variable");
33050 SWIGINTERN PyTypeObject
*
33051 swig_varlink_type(void) {
33052 static char varlink__doc__
[] = "Swig var link object";
33053 static PyTypeObject varlink_type
;
33054 static int type_init
= 0;
33056 const PyTypeObject tmp
33058 PyObject_HEAD_INIT(NULL
)
33059 0, /* Number of items in variable part (ob_size) */
33060 (char *)"swigvarlink", /* Type name (tp_name) */
33061 sizeof(swig_varlinkobject
), /* Basic size (tp_basicsize) */
33062 0, /* Itemsize (tp_itemsize) */
33063 (destructor
) swig_varlink_dealloc
, /* Deallocator (tp_dealloc) */
33064 (printfunc
) swig_varlink_print
, /* Print (tp_print) */
33065 (getattrfunc
) swig_varlink_getattr
, /* get attr (tp_getattr) */
33066 (setattrfunc
) swig_varlink_setattr
, /* Set attr (tp_setattr) */
33067 0, /* tp_compare */
33068 (reprfunc
) swig_varlink_repr
, /* tp_repr */
33069 0, /* tp_as_number */
33070 0, /* tp_as_sequence */
33071 0, /* tp_as_mapping */
33074 (reprfunc
)swig_varlink_str
, /* tp_str */
33075 0, /* tp_getattro */
33076 0, /* tp_setattro */
33077 0, /* tp_as_buffer */
33079 varlink__doc__
, /* tp_doc */
33080 0, /* tp_traverse */
33082 0, /* tp_richcompare */
33083 0, /* tp_weaklistoffset */
33084 #if PY_VERSION_HEX >= 0x02020000
33085 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, /* tp_iter -> tp_weaklist */
33087 #if PY_VERSION_HEX >= 0x02030000
33090 #ifdef COUNT_ALLOCS
33091 0,0,0,0 /* tp_alloc -> tp_next */
33094 varlink_type
= tmp
;
33095 varlink_type
.ob_type
= &PyType_Type
;
33098 return &varlink_type
;
33101 /* Create a variable linking object for use later */
33102 SWIGINTERN PyObject
*
33103 SWIG_Python_newvarlink(void) {
33104 swig_varlinkobject
*result
= PyObject_NEW(swig_varlinkobject
, swig_varlink_type());
33108 return ((PyObject
*) result
);
33112 SWIG_Python_addvarlink(PyObject
*p
, char *name
, PyObject
*(*get_attr
)(void), int (*set_attr
)(PyObject
*p
)) {
33113 swig_varlinkobject
*v
= (swig_varlinkobject
*) p
;
33114 swig_globalvar
*gv
= (swig_globalvar
*) malloc(sizeof(swig_globalvar
));
33116 size_t size
= strlen(name
)+1;
33117 gv
->name
= (char *)malloc(size
);
33119 strncpy(gv
->name
,name
,size
);
33120 gv
->get_attr
= get_attr
;
33121 gv
->set_attr
= set_attr
;
33122 gv
->next
= v
->vars
;
33128 SWIGINTERN PyObject
*
33130 static PyObject
*_SWIG_globals
= 0;
33131 if (!_SWIG_globals
) _SWIG_globals
= SWIG_newvarlink();
33132 return _SWIG_globals
;
33135 /* -----------------------------------------------------------------------------
33136 * constants/methods manipulation
33137 * ----------------------------------------------------------------------------- */
33139 /* Install Constants */
33141 SWIG_Python_InstallConstants(PyObject
*d
, swig_const_info constants
[]) {
33144 for (i
= 0; constants
[i
].type
; ++i
) {
33145 switch(constants
[i
].type
) {
33146 case SWIG_PY_POINTER
:
33147 obj
= SWIG_NewPointerObj(constants
[i
].pvalue
, *(constants
[i
]).ptype
,0);
33149 case SWIG_PY_BINARY
:
33150 obj
= SWIG_NewPackedObj(constants
[i
].pvalue
, constants
[i
].lvalue
, *(constants
[i
].ptype
));
33157 PyDict_SetItemString(d
, constants
[i
].name
, obj
);
33163 /* -----------------------------------------------------------------------------*/
33164 /* Fix SwigMethods to carry the callback ptrs when needed */
33165 /* -----------------------------------------------------------------------------*/
33168 SWIG_Python_FixMethods(PyMethodDef
*methods
,
33169 swig_const_info
*const_table
,
33170 swig_type_info
**types
,
33171 swig_type_info
**types_initial
) {
33173 for (i
= 0; methods
[i
].ml_name
; ++i
) {
33174 char *c
= methods
[i
].ml_doc
;
33175 if (c
&& (c
= strstr(c
, "swig_ptr: "))) {
33177 swig_const_info
*ci
= 0;
33178 char *name
= c
+ 10;
33179 for (j
= 0; const_table
[j
].type
; ++j
) {
33180 if (strncmp(const_table
[j
].name
, name
,
33181 strlen(const_table
[j
].name
)) == 0) {
33182 ci
= &(const_table
[j
]);
33187 size_t shift
= (ci
->ptype
) - types
;
33188 swig_type_info
*ty
= types_initial
[shift
];
33189 size_t ldoc
= (c
- methods
[i
].ml_doc
);
33190 size_t lptr
= strlen(ty
->name
)+2*sizeof(void*)+2;
33191 char *ndoc
= (char*)malloc(ldoc
+ lptr
+ 10);
33194 void *ptr
= (ci
->type
== SWIG_PY_POINTER
) ? ci
->pvalue
: 0;
33196 strncpy(buff
, methods
[i
].ml_doc
, ldoc
);
33198 strncpy(buff
, "swig_ptr: ", 10);
33200 SWIG_PackVoidPtr(buff
, ptr
, ty
->name
, lptr
);
33201 methods
[i
].ml_doc
= ndoc
;
33213 /* -----------------------------------------------------------------------------*
33214 * Partial Init method
33215 * -----------------------------------------------------------------------------*/
33220 SWIGEXPORT
void SWIG_init(void) {
33223 /* Fix SwigMethods to carry the callback ptrs when needed */
33224 SWIG_Python_FixMethods(SwigMethods
, swig_const_table
, swig_types
, swig_type_initial
);
33226 m
= Py_InitModule((char *) SWIG_name
, SwigMethods
);
33227 d
= PyModule_GetDict(m
);
33229 SWIG_InitializeModule(0);
33230 SWIG_InstallConstants(d
,swig_const_table
);
33233 PyDict_SetItemString(d
,(char*)"cvar", SWIG_globals());
33234 SWIG_addvarlink(SWIG_globals(),(char*)"FrameNameStr",FrameNameStr_get
, FrameNameStr_set
);
33235 SWIG_addvarlink(SWIG_globals(),(char*)"DialogNameStr",DialogNameStr_get
, DialogNameStr_set
);
33236 SWIG_addvarlink(SWIG_globals(),(char*)"StatusLineNameStr",StatusLineNameStr_get
, StatusLineNameStr_set
);
33237 SWIG_addvarlink(SWIG_globals(),(char*)"ToolBarNameStr",ToolBarNameStr_get
, ToolBarNameStr_set
);
33238 SWIG_Python_SetConstant(d
, "STAY_ON_TOP",SWIG_From_int(static_cast< int >(wxSTAY_ON_TOP
)));
33239 SWIG_Python_SetConstant(d
, "ICONIZE",SWIG_From_int(static_cast< int >(wxICONIZE
)));
33240 SWIG_Python_SetConstant(d
, "MINIMIZE",SWIG_From_int(static_cast< int >(wxMINIMIZE
)));
33241 SWIG_Python_SetConstant(d
, "MAXIMIZE",SWIG_From_int(static_cast< int >(wxMAXIMIZE
)));
33242 SWIG_Python_SetConstant(d
, "CLOSE_BOX",SWIG_From_int(static_cast< int >(wxCLOSE_BOX
)));
33243 SWIG_Python_SetConstant(d
, "THICK_FRAME",SWIG_From_int(static_cast< int >(wxTHICK_FRAME
)));
33244 SWIG_Python_SetConstant(d
, "SYSTEM_MENU",SWIG_From_int(static_cast< int >(wxSYSTEM_MENU
)));
33245 SWIG_Python_SetConstant(d
, "MINIMIZE_BOX",SWIG_From_int(static_cast< int >(wxMINIMIZE_BOX
)));
33246 SWIG_Python_SetConstant(d
, "MAXIMIZE_BOX",SWIG_From_int(static_cast< int >(wxMAXIMIZE_BOX
)));
33247 SWIG_Python_SetConstant(d
, "TINY_CAPTION_HORIZ",SWIG_From_int(static_cast< int >(wxTINY_CAPTION_HORIZ
)));
33248 SWIG_Python_SetConstant(d
, "TINY_CAPTION_VERT",SWIG_From_int(static_cast< int >(wxTINY_CAPTION_VERT
)));
33249 SWIG_Python_SetConstant(d
, "RESIZE_BOX",SWIG_From_int(static_cast< int >(wxRESIZE_BOX
)));
33250 SWIG_Python_SetConstant(d
, "RESIZE_BORDER",SWIG_From_int(static_cast< int >(wxRESIZE_BORDER
)));
33251 SWIG_Python_SetConstant(d
, "DIALOG_NO_PARENT",SWIG_From_int(static_cast< int >(wxDIALOG_NO_PARENT
)));
33252 SWIG_Python_SetConstant(d
, "DEFAULT_FRAME_STYLE",SWIG_From_int(static_cast< int >(wxDEFAULT_FRAME_STYLE
)));
33253 SWIG_Python_SetConstant(d
, "DEFAULT_DIALOG_STYLE",SWIG_From_int(static_cast< int >(wxDEFAULT_DIALOG_STYLE
)));
33254 SWIG_Python_SetConstant(d
, "FRAME_TOOL_WINDOW",SWIG_From_int(static_cast< int >(wxFRAME_TOOL_WINDOW
)));
33255 SWIG_Python_SetConstant(d
, "FRAME_FLOAT_ON_PARENT",SWIG_From_int(static_cast< int >(wxFRAME_FLOAT_ON_PARENT
)));
33256 SWIG_Python_SetConstant(d
, "FRAME_NO_WINDOW_MENU",SWIG_From_int(static_cast< int >(wxFRAME_NO_WINDOW_MENU
)));
33257 SWIG_Python_SetConstant(d
, "FRAME_NO_TASKBAR",SWIG_From_int(static_cast< int >(wxFRAME_NO_TASKBAR
)));
33258 SWIG_Python_SetConstant(d
, "FRAME_SHAPED",SWIG_From_int(static_cast< int >(wxFRAME_SHAPED
)));
33259 SWIG_Python_SetConstant(d
, "FRAME_DRAWER",SWIG_From_int(static_cast< int >(wxFRAME_DRAWER
)));
33260 SWIG_Python_SetConstant(d
, "FRAME_EX_METAL",SWIG_From_int(static_cast< int >(wxFRAME_EX_METAL
)));
33261 SWIG_Python_SetConstant(d
, "DIALOG_EX_METAL",SWIG_From_int(static_cast< int >(wxDIALOG_EX_METAL
)));
33262 SWIG_Python_SetConstant(d
, "DIALOG_MODAL",SWIG_From_int(static_cast< int >(wxDIALOG_MODAL
)));
33263 SWIG_Python_SetConstant(d
, "DIALOG_MODELESS",SWIG_From_int(static_cast< int >(wxDIALOG_MODELESS
)));
33264 SWIG_Python_SetConstant(d
, "USER_COLOURS",SWIG_From_int(static_cast< int >(wxUSER_COLOURS
)));
33265 SWIG_Python_SetConstant(d
, "NO_3D",SWIG_From_int(static_cast< int >(wxNO_3D
)));
33266 SWIG_Python_SetConstant(d
, "FULLSCREEN_NOMENUBAR",SWIG_From_int(static_cast< int >(wxFULLSCREEN_NOMENUBAR
)));
33267 SWIG_Python_SetConstant(d
, "FULLSCREEN_NOTOOLBAR",SWIG_From_int(static_cast< int >(wxFULLSCREEN_NOTOOLBAR
)));
33268 SWIG_Python_SetConstant(d
, "FULLSCREEN_NOSTATUSBAR",SWIG_From_int(static_cast< int >(wxFULLSCREEN_NOSTATUSBAR
)));
33269 SWIG_Python_SetConstant(d
, "FULLSCREEN_NOBORDER",SWIG_From_int(static_cast< int >(wxFULLSCREEN_NOBORDER
)));
33270 SWIG_Python_SetConstant(d
, "FULLSCREEN_NOCAPTION",SWIG_From_int(static_cast< int >(wxFULLSCREEN_NOCAPTION
)));
33271 SWIG_Python_SetConstant(d
, "FULLSCREEN_ALL",SWIG_From_int(static_cast< int >(wxFULLSCREEN_ALL
)));
33272 SWIG_Python_SetConstant(d
, "TOPLEVEL_EX_DIALOG",SWIG_From_int(static_cast< int >(wxTOPLEVEL_EX_DIALOG
)));
33273 SWIG_Python_SetConstant(d
, "USER_ATTENTION_INFO",SWIG_From_int(static_cast< int >(wxUSER_ATTENTION_INFO
)));
33274 SWIG_Python_SetConstant(d
, "USER_ATTENTION_ERROR",SWIG_From_int(static_cast< int >(wxUSER_ATTENTION_ERROR
)));
33275 SWIG_Python_SetConstant(d
, "Dialog_ButtonSizerFlags",SWIG_From_int(static_cast< int >(wxDialog::ButtonSizerFlags
)));
33276 SWIG_Python_SetConstant(d
, "SPLASH_CENTRE_ON_PARENT",SWIG_From_int(static_cast< int >(wxSPLASH_CENTRE_ON_PARENT
)));
33277 SWIG_Python_SetConstant(d
, "SPLASH_CENTRE_ON_SCREEN",SWIG_From_int(static_cast< int >(wxSPLASH_CENTRE_ON_SCREEN
)));
33278 SWIG_Python_SetConstant(d
, "SPLASH_NO_CENTRE",SWIG_From_int(static_cast< int >(wxSPLASH_NO_CENTRE
)));
33279 SWIG_Python_SetConstant(d
, "SPLASH_TIMEOUT",SWIG_From_int(static_cast< int >(wxSPLASH_TIMEOUT
)));
33280 SWIG_Python_SetConstant(d
, "SPLASH_NO_TIMEOUT",SWIG_From_int(static_cast< int >(wxSPLASH_NO_TIMEOUT
)));
33281 SWIG_Python_SetConstant(d
, "SB_NORMAL",SWIG_From_int(static_cast< int >(wxSB_NORMAL
)));
33282 SWIG_Python_SetConstant(d
, "SB_FLAT",SWIG_From_int(static_cast< int >(wxSB_FLAT
)));
33283 SWIG_Python_SetConstant(d
, "SB_RAISED",SWIG_From_int(static_cast< int >(wxSB_RAISED
)));
33284 SWIG_addvarlink(SWIG_globals(),(char*)"SplitterNameStr",SplitterNameStr_get
, SplitterNameStr_set
);
33285 SWIG_Python_SetConstant(d
, "SP_NOBORDER",SWIG_From_int(static_cast< int >(wxSP_NOBORDER
)));
33286 SWIG_Python_SetConstant(d
, "SP_NOSASH",SWIG_From_int(static_cast< int >(wxSP_NOSASH
)));
33287 SWIG_Python_SetConstant(d
, "SP_PERMIT_UNSPLIT",SWIG_From_int(static_cast< int >(wxSP_PERMIT_UNSPLIT
)));
33288 SWIG_Python_SetConstant(d
, "SP_LIVE_UPDATE",SWIG_From_int(static_cast< int >(wxSP_LIVE_UPDATE
)));
33289 SWIG_Python_SetConstant(d
, "SP_3DSASH",SWIG_From_int(static_cast< int >(wxSP_3DSASH
)));
33290 SWIG_Python_SetConstant(d
, "SP_3DBORDER",SWIG_From_int(static_cast< int >(wxSP_3DBORDER
)));
33291 SWIG_Python_SetConstant(d
, "SP_NO_XP_THEME",SWIG_From_int(static_cast< int >(wxSP_NO_XP_THEME
)));
33292 SWIG_Python_SetConstant(d
, "SP_BORDER",SWIG_From_int(static_cast< int >(wxSP_BORDER
)));
33293 SWIG_Python_SetConstant(d
, "SP_3D",SWIG_From_int(static_cast< int >(wxSP_3D
)));
33294 SWIG_Python_SetConstant(d
, "SPLIT_HORIZONTAL",SWIG_From_int(static_cast< int >(wxSPLIT_HORIZONTAL
)));
33295 SWIG_Python_SetConstant(d
, "SPLIT_VERTICAL",SWIG_From_int(static_cast< int >(wxSPLIT_VERTICAL
)));
33296 SWIG_Python_SetConstant(d
, "SPLIT_DRAG_NONE",SWIG_From_int(static_cast< int >(wxSPLIT_DRAG_NONE
)));
33297 SWIG_Python_SetConstant(d
, "SPLIT_DRAG_DRAGGING",SWIG_From_int(static_cast< int >(wxSPLIT_DRAG_DRAGGING
)));
33298 SWIG_Python_SetConstant(d
, "SPLIT_DRAG_LEFT_DOWN",SWIG_From_int(static_cast< int >(wxSPLIT_DRAG_LEFT_DOWN
)));
33299 PyDict_SetItemString(d
, "wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGED", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGED
));
33300 PyDict_SetItemString(d
, "wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGING", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGING
));
33301 PyDict_SetItemString(d
, "wxEVT_COMMAND_SPLITTER_DOUBLECLICKED", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_DOUBLECLICKED
));
33302 PyDict_SetItemString(d
, "wxEVT_COMMAND_SPLITTER_UNSPLIT", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_UNSPLIT
));
33303 SWIG_addvarlink(SWIG_globals(),(char*)"SashNameStr",SashNameStr_get
, SashNameStr_set
);
33304 SWIG_addvarlink(SWIG_globals(),(char*)"SashLayoutNameStr",SashLayoutNameStr_get
, SashLayoutNameStr_set
);
33305 SWIG_Python_SetConstant(d
, "SASH_DRAG_NONE",SWIG_From_int(static_cast< int >(wxSASH_DRAG_NONE
)));
33306 SWIG_Python_SetConstant(d
, "SASH_DRAG_DRAGGING",SWIG_From_int(static_cast< int >(wxSASH_DRAG_DRAGGING
)));
33307 SWIG_Python_SetConstant(d
, "SASH_DRAG_LEFT_DOWN",SWIG_From_int(static_cast< int >(wxSASH_DRAG_LEFT_DOWN
)));
33308 SWIG_Python_SetConstant(d
, "SW_NOBORDER",SWIG_From_int(static_cast< int >(wxSW_NOBORDER
)));
33309 SWIG_Python_SetConstant(d
, "SW_BORDER",SWIG_From_int(static_cast< int >(wxSW_BORDER
)));
33310 SWIG_Python_SetConstant(d
, "SW_3DSASH",SWIG_From_int(static_cast< int >(wxSW_3DSASH
)));
33311 SWIG_Python_SetConstant(d
, "SW_3DBORDER",SWIG_From_int(static_cast< int >(wxSW_3DBORDER
)));
33312 SWIG_Python_SetConstant(d
, "SW_3D",SWIG_From_int(static_cast< int >(wxSW_3D
)));
33313 SWIG_Python_SetConstant(d
, "SASH_TOP",SWIG_From_int(static_cast< int >(wxSASH_TOP
)));
33314 SWIG_Python_SetConstant(d
, "SASH_RIGHT",SWIG_From_int(static_cast< int >(wxSASH_RIGHT
)));
33315 SWIG_Python_SetConstant(d
, "SASH_BOTTOM",SWIG_From_int(static_cast< int >(wxSASH_BOTTOM
)));
33316 SWIG_Python_SetConstant(d
, "SASH_LEFT",SWIG_From_int(static_cast< int >(wxSASH_LEFT
)));
33317 SWIG_Python_SetConstant(d
, "SASH_NONE",SWIG_From_int(static_cast< int >(wxSASH_NONE
)));
33318 SWIG_Python_SetConstant(d
, "SASH_STATUS_OK",SWIG_From_int(static_cast< int >(wxSASH_STATUS_OK
)));
33319 SWIG_Python_SetConstant(d
, "SASH_STATUS_OUT_OF_RANGE",SWIG_From_int(static_cast< int >(wxSASH_STATUS_OUT_OF_RANGE
)));
33320 PyDict_SetItemString(d
, "wxEVT_SASH_DRAGGED", PyInt_FromLong(wxEVT_SASH_DRAGGED
));
33321 SWIG_Python_SetConstant(d
, "LAYOUT_HORIZONTAL",SWIG_From_int(static_cast< int >(wxLAYOUT_HORIZONTAL
)));
33322 SWIG_Python_SetConstant(d
, "LAYOUT_VERTICAL",SWIG_From_int(static_cast< int >(wxLAYOUT_VERTICAL
)));
33323 SWIG_Python_SetConstant(d
, "LAYOUT_NONE",SWIG_From_int(static_cast< int >(wxLAYOUT_NONE
)));
33324 SWIG_Python_SetConstant(d
, "LAYOUT_TOP",SWIG_From_int(static_cast< int >(wxLAYOUT_TOP
)));
33325 SWIG_Python_SetConstant(d
, "LAYOUT_LEFT",SWIG_From_int(static_cast< int >(wxLAYOUT_LEFT
)));
33326 SWIG_Python_SetConstant(d
, "LAYOUT_RIGHT",SWIG_From_int(static_cast< int >(wxLAYOUT_RIGHT
)));
33327 SWIG_Python_SetConstant(d
, "LAYOUT_BOTTOM",SWIG_From_int(static_cast< int >(wxLAYOUT_BOTTOM
)));
33328 SWIG_Python_SetConstant(d
, "LAYOUT_LENGTH_Y",SWIG_From_int(static_cast< int >(wxLAYOUT_LENGTH_Y
)));
33329 SWIG_Python_SetConstant(d
, "LAYOUT_LENGTH_X",SWIG_From_int(static_cast< int >(wxLAYOUT_LENGTH_X
)));
33330 SWIG_Python_SetConstant(d
, "LAYOUT_MRU_LENGTH",SWIG_From_int(static_cast< int >(wxLAYOUT_MRU_LENGTH
)));
33331 SWIG_Python_SetConstant(d
, "LAYOUT_QUERY",SWIG_From_int(static_cast< int >(wxLAYOUT_QUERY
)));
33332 PyDict_SetItemString(d
, "wxEVT_QUERY_LAYOUT_INFO", PyInt_FromLong(wxEVT_QUERY_LAYOUT_INFO
));
33333 PyDict_SetItemString(d
, "wxEVT_CALCULATE_LAYOUT", PyInt_FromLong(wxEVT_CALCULATE_LAYOUT
));
33334 SWIG_addvarlink(SWIG_globals(),(char*)"VListBoxNameStr",VListBoxNameStr_get
, VListBoxNameStr_set
);
33336 // Map renamed classes back to their common name for OOR
33337 wxPyPtrTypeMap_Add("wxHtmlListBox", "wxPyHtmlListBox");
33338 wxPyPtrTypeMap_Add("wxVListBox", "wxPyVListBox");
33339 wxPyPtrTypeMap_Add("wxVScrolledWindow", "wxPyVScrolledWindow");
33341 PyDict_SetItemString(d
, "wxEVT_TASKBAR_MOVE", PyInt_FromLong(wxEVT_TASKBAR_MOVE
));
33342 PyDict_SetItemString(d
, "wxEVT_TASKBAR_LEFT_DOWN", PyInt_FromLong(wxEVT_TASKBAR_LEFT_DOWN
));
33343 PyDict_SetItemString(d
, "wxEVT_TASKBAR_LEFT_UP", PyInt_FromLong(wxEVT_TASKBAR_LEFT_UP
));
33344 PyDict_SetItemString(d
, "wxEVT_TASKBAR_RIGHT_DOWN", PyInt_FromLong(wxEVT_TASKBAR_RIGHT_DOWN
));
33345 PyDict_SetItemString(d
, "wxEVT_TASKBAR_RIGHT_UP", PyInt_FromLong(wxEVT_TASKBAR_RIGHT_UP
));
33346 PyDict_SetItemString(d
, "wxEVT_TASKBAR_LEFT_DCLICK", PyInt_FromLong(wxEVT_TASKBAR_LEFT_DCLICK
));
33347 PyDict_SetItemString(d
, "wxEVT_TASKBAR_RIGHT_DCLICK", PyInt_FromLong(wxEVT_TASKBAR_RIGHT_DCLICK
));
33348 SWIG_addvarlink(SWIG_globals(),(char*)"FileSelectorPromptStr",FileSelectorPromptStr_get
, FileSelectorPromptStr_set
);
33349 SWIG_addvarlink(SWIG_globals(),(char*)"DirSelectorPromptStr",DirSelectorPromptStr_get
, DirSelectorPromptStr_set
);
33350 SWIG_addvarlink(SWIG_globals(),(char*)"DirDialogNameStr",DirDialogNameStr_get
, DirDialogNameStr_set
);
33351 SWIG_addvarlink(SWIG_globals(),(char*)"FileSelectorDefaultWildcardStr",FileSelectorDefaultWildcardStr_get
, FileSelectorDefaultWildcardStr_set
);
33352 SWIG_addvarlink(SWIG_globals(),(char*)"GetTextFromUserPromptStr",GetTextFromUserPromptStr_get
, GetTextFromUserPromptStr_set
);
33353 SWIG_addvarlink(SWIG_globals(),(char*)"MessageBoxCaptionStr",MessageBoxCaptionStr_get
, MessageBoxCaptionStr_set
);
33354 SWIG_Python_SetConstant(d
, "CHOICEDLG_STYLE",SWIG_From_int(static_cast< int >(wxCHOICEDLG_STYLE
)));
33355 SWIG_Python_SetConstant(d
, "TextEntryDialogStyle",SWIG_From_int(static_cast< int >(wxTextEntryDialogStyle
)));
33356 SWIG_addvarlink(SWIG_globals(),(char*)"GetPasswordFromUserPromptStr",GetPasswordFromUserPromptStr_get
, GetPasswordFromUserPromptStr_set
);
33357 SWIG_Python_SetConstant(d
, "FR_DOWN",SWIG_From_int(static_cast< int >(wxFR_DOWN
)));
33358 SWIG_Python_SetConstant(d
, "FR_WHOLEWORD",SWIG_From_int(static_cast< int >(wxFR_WHOLEWORD
)));
33359 SWIG_Python_SetConstant(d
, "FR_MATCHCASE",SWIG_From_int(static_cast< int >(wxFR_MATCHCASE
)));
33360 SWIG_Python_SetConstant(d
, "FR_REPLACEDIALOG",SWIG_From_int(static_cast< int >(wxFR_REPLACEDIALOG
)));
33361 SWIG_Python_SetConstant(d
, "FR_NOUPDOWN",SWIG_From_int(static_cast< int >(wxFR_NOUPDOWN
)));
33362 SWIG_Python_SetConstant(d
, "FR_NOMATCHCASE",SWIG_From_int(static_cast< int >(wxFR_NOMATCHCASE
)));
33363 SWIG_Python_SetConstant(d
, "FR_NOWHOLEWORD",SWIG_From_int(static_cast< int >(wxFR_NOWHOLEWORD
)));
33364 PyDict_SetItemString(d
, "wxEVT_COMMAND_FIND", PyInt_FromLong(wxEVT_COMMAND_FIND
));
33365 PyDict_SetItemString(d
, "wxEVT_COMMAND_FIND_NEXT", PyInt_FromLong(wxEVT_COMMAND_FIND_NEXT
));
33366 PyDict_SetItemString(d
, "wxEVT_COMMAND_FIND_REPLACE", PyInt_FromLong(wxEVT_COMMAND_FIND_REPLACE
));
33367 PyDict_SetItemString(d
, "wxEVT_COMMAND_FIND_REPLACE_ALL", PyInt_FromLong(wxEVT_COMMAND_FIND_REPLACE_ALL
));
33368 PyDict_SetItemString(d
, "wxEVT_COMMAND_FIND_CLOSE", PyInt_FromLong(wxEVT_COMMAND_FIND_CLOSE
));
33369 SWIG_Python_SetConstant(d
, "IDM_WINDOWTILE",SWIG_From_int(static_cast< int >(4001)));
33370 SWIG_Python_SetConstant(d
, "IDM_WINDOWTILEHOR",SWIG_From_int(static_cast< int >(4001)));
33371 SWIG_Python_SetConstant(d
, "IDM_WINDOWCASCADE",SWIG_From_int(static_cast< int >(4002)));
33372 SWIG_Python_SetConstant(d
, "IDM_WINDOWICONS",SWIG_From_int(static_cast< int >(4003)));
33373 SWIG_Python_SetConstant(d
, "IDM_WINDOWNEXT",SWIG_From_int(static_cast< int >(4004)));
33374 SWIG_Python_SetConstant(d
, "IDM_WINDOWTILEVERT",SWIG_From_int(static_cast< int >(4005)));
33375 SWIG_Python_SetConstant(d
, "IDM_WINDOWPREV",SWIG_From_int(static_cast< int >(4006)));
33376 SWIG_Python_SetConstant(d
, "FIRST_MDI_CHILD",SWIG_From_int(static_cast< int >(4100)));
33377 SWIG_Python_SetConstant(d
, "LAST_MDI_CHILD",SWIG_From_int(static_cast< int >(4600)));
33378 SWIG_addvarlink(SWIG_globals(),(char*)"PrintoutTitleStr",PrintoutTitleStr_get
, PrintoutTitleStr_set
);
33379 SWIG_addvarlink(SWIG_globals(),(char*)"PreviewCanvasNameStr",PreviewCanvasNameStr_get
, PreviewCanvasNameStr_set
);
33380 SWIG_Python_SetConstant(d
, "PRINT_MODE_NONE",SWIG_From_int(static_cast< int >(wxPRINT_MODE_NONE
)));
33381 SWIG_Python_SetConstant(d
, "PRINT_MODE_PREVIEW",SWIG_From_int(static_cast< int >(wxPRINT_MODE_PREVIEW
)));
33382 SWIG_Python_SetConstant(d
, "PRINT_MODE_FILE",SWIG_From_int(static_cast< int >(wxPRINT_MODE_FILE
)));
33383 SWIG_Python_SetConstant(d
, "PRINT_MODE_PRINTER",SWIG_From_int(static_cast< int >(wxPRINT_MODE_PRINTER
)));
33384 SWIG_Python_SetConstant(d
, "PRINT_MODE_STREAM",SWIG_From_int(static_cast< int >(wxPRINT_MODE_STREAM
)));
33385 SWIG_Python_SetConstant(d
, "PRINTBIN_DEFAULT",SWIG_From_int(static_cast< int >(wxPRINTBIN_DEFAULT
)));
33386 SWIG_Python_SetConstant(d
, "PRINTBIN_ONLYONE",SWIG_From_int(static_cast< int >(wxPRINTBIN_ONLYONE
)));
33387 SWIG_Python_SetConstant(d
, "PRINTBIN_LOWER",SWIG_From_int(static_cast< int >(wxPRINTBIN_LOWER
)));
33388 SWIG_Python_SetConstant(d
, "PRINTBIN_MIDDLE",SWIG_From_int(static_cast< int >(wxPRINTBIN_MIDDLE
)));
33389 SWIG_Python_SetConstant(d
, "PRINTBIN_MANUAL",SWIG_From_int(static_cast< int >(wxPRINTBIN_MANUAL
)));
33390 SWIG_Python_SetConstant(d
, "PRINTBIN_ENVELOPE",SWIG_From_int(static_cast< int >(wxPRINTBIN_ENVELOPE
)));
33391 SWIG_Python_SetConstant(d
, "PRINTBIN_ENVMANUAL",SWIG_From_int(static_cast< int >(wxPRINTBIN_ENVMANUAL
)));
33392 SWIG_Python_SetConstant(d
, "PRINTBIN_AUTO",SWIG_From_int(static_cast< int >(wxPRINTBIN_AUTO
)));
33393 SWIG_Python_SetConstant(d
, "PRINTBIN_TRACTOR",SWIG_From_int(static_cast< int >(wxPRINTBIN_TRACTOR
)));
33394 SWIG_Python_SetConstant(d
, "PRINTBIN_SMALLFMT",SWIG_From_int(static_cast< int >(wxPRINTBIN_SMALLFMT
)));
33395 SWIG_Python_SetConstant(d
, "PRINTBIN_LARGEFMT",SWIG_From_int(static_cast< int >(wxPRINTBIN_LARGEFMT
)));
33396 SWIG_Python_SetConstant(d
, "PRINTBIN_LARGECAPACITY",SWIG_From_int(static_cast< int >(wxPRINTBIN_LARGECAPACITY
)));
33397 SWIG_Python_SetConstant(d
, "PRINTBIN_CASSETTE",SWIG_From_int(static_cast< int >(wxPRINTBIN_CASSETTE
)));
33398 SWIG_Python_SetConstant(d
, "PRINTBIN_FORMSOURCE",SWIG_From_int(static_cast< int >(wxPRINTBIN_FORMSOURCE
)));
33399 SWIG_Python_SetConstant(d
, "PRINTBIN_USER",SWIG_From_int(static_cast< int >(wxPRINTBIN_USER
)));
33400 SWIG_Python_SetConstant(d
, "PRINTER_NO_ERROR",SWIG_From_int(static_cast< int >(wxPRINTER_NO_ERROR
)));
33401 SWIG_Python_SetConstant(d
, "PRINTER_CANCELLED",SWIG_From_int(static_cast< int >(wxPRINTER_CANCELLED
)));
33402 SWIG_Python_SetConstant(d
, "PRINTER_ERROR",SWIG_From_int(static_cast< int >(wxPRINTER_ERROR
)));
33403 SWIG_Python_SetConstant(d
, "PREVIEW_PRINT",SWIG_From_int(static_cast< int >(wxPREVIEW_PRINT
)));
33404 SWIG_Python_SetConstant(d
, "PREVIEW_PREVIOUS",SWIG_From_int(static_cast< int >(wxPREVIEW_PREVIOUS
)));
33405 SWIG_Python_SetConstant(d
, "PREVIEW_NEXT",SWIG_From_int(static_cast< int >(wxPREVIEW_NEXT
)));
33406 SWIG_Python_SetConstant(d
, "PREVIEW_ZOOM",SWIG_From_int(static_cast< int >(wxPREVIEW_ZOOM
)));
33407 SWIG_Python_SetConstant(d
, "PREVIEW_FIRST",SWIG_From_int(static_cast< int >(wxPREVIEW_FIRST
)));
33408 SWIG_Python_SetConstant(d
, "PREVIEW_LAST",SWIG_From_int(static_cast< int >(wxPREVIEW_LAST
)));
33409 SWIG_Python_SetConstant(d
, "PREVIEW_GOTO",SWIG_From_int(static_cast< int >(wxPREVIEW_GOTO
)));
33410 SWIG_Python_SetConstant(d
, "PREVIEW_DEFAULT",SWIG_From_int(static_cast< int >(wxPREVIEW_DEFAULT
)));
33411 SWIG_Python_SetConstant(d
, "ID_PREVIEW_CLOSE",SWIG_From_int(static_cast< int >(wxID_PREVIEW_CLOSE
)));
33412 SWIG_Python_SetConstant(d
, "ID_PREVIEW_NEXT",SWIG_From_int(static_cast< int >(wxID_PREVIEW_NEXT
)));
33413 SWIG_Python_SetConstant(d
, "ID_PREVIEW_PREVIOUS",SWIG_From_int(static_cast< int >(wxID_PREVIEW_PREVIOUS
)));
33414 SWIG_Python_SetConstant(d
, "ID_PREVIEW_PRINT",SWIG_From_int(static_cast< int >(wxID_PREVIEW_PRINT
)));
33415 SWIG_Python_SetConstant(d
, "ID_PREVIEW_ZOOM",SWIG_From_int(static_cast< int >(wxID_PREVIEW_ZOOM
)));
33416 SWIG_Python_SetConstant(d
, "ID_PREVIEW_FIRST",SWIG_From_int(static_cast< int >(wxID_PREVIEW_FIRST
)));
33417 SWIG_Python_SetConstant(d
, "ID_PREVIEW_LAST",SWIG_From_int(static_cast< int >(wxID_PREVIEW_LAST
)));
33418 SWIG_Python_SetConstant(d
, "ID_PREVIEW_GOTO",SWIG_From_int(static_cast< int >(wxID_PREVIEW_GOTO
)));
33420 wxPyPtrTypeMap_Add("wxPrintout", "wxPyPrintout");