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
){ /*wxPyRaiseNotImplemented();*/ }
2815 SWIGINTERN
bool wxTopLevelWindow_MacGetMetalAppearance(wxTopLevelWindow
const *self
){ /*wxPyRaiseNotImplemented();*/ return false; }
2818 SWIGINTERN wxRect
wxStatusBar_GetFieldRect(wxStatusBar
*self
,int i
){
2820 self
->GetFieldRect(i
, r
);
2823 static const wxString
wxPySplitterNameStr(wxT("splitter"));
2824 static const wxString
wxPySashNameStr(wxT("sashWindow"));
2825 static const wxString
wxPySashLayoutNameStr(wxT("layoutWindow"));
2827 #include <wx/popupwin.h>
2830 class wxPyPopupTransientWindow
: public wxPopupTransientWindow
2833 wxPyPopupTransientWindow() : wxPopupTransientWindow() {}
2834 wxPyPopupTransientWindow(wxWindow
* parent
, int style
= wxBORDER_NONE
)
2835 : wxPopupTransientWindow(parent
, style
) {}
2837 DEC_PYCALLBACK_BOOL_ME(ProcessLeftDown
);
2838 DEC_PYCALLBACK__(OnDismiss
);
2839 DEC_PYCALLBACK_BOOL_(CanDismiss
);
2844 IMP_PYCALLBACK_BOOL_ME(wxPyPopupTransientWindow
, wxPopupTransientWindow
, ProcessLeftDown
);
2845 IMP_PYCALLBACK__(wxPyPopupTransientWindow
, wxPopupTransientWindow
, OnDismiss
);
2846 IMP_PYCALLBACK_BOOL_(wxPyPopupTransientWindow
, wxPopupTransientWindow
, CanDismiss
);
2849 #include <wx/tipwin.h>
2851 SWIGINTERN wxTipWindow
*new_wxTipWindow(wxWindow
*parent
,wxString
const &text
,int maxLength
=100,wxRect
*rectBound
=NULL
){
2852 return new wxTipWindow(parent
, text
, maxLength
, NULL
, rectBound
);
2855 #include <wx/tipwin.h>
2858 #include <wx/vscroll.h>
2861 class wxPyVScrolledWindow
: public wxVScrolledWindow
2863 DECLARE_ABSTRACT_CLASS(wxPyVScrolledWindow
)
2865 wxPyVScrolledWindow() : wxVScrolledWindow() {}
2867 wxPyVScrolledWindow(wxWindow
*parent
,
2868 wxWindowID id
= wxID_ANY
,
2869 const wxPoint
& pos
= wxDefaultPosition
,
2870 const wxSize
& size
= wxDefaultSize
,
2872 const wxString
& name
= wxPyPanelNameStr
)
2873 : wxVScrolledWindow(parent
, id
, pos
, size
, style
, name
)
2876 // Overridable virtuals
2878 // this function must be overridden in the derived class and it should
2879 // return the height of the given line in pixels
2880 DEC_PYCALLBACK_COORD_SIZET_constpure(OnGetLineHeight
);
2883 // this function doesn't have to be overridden but it may be useful to do
2884 // it if calculating the lines heights is a relatively expensive operation
2885 // as it gives the user code a possibility to calculate several of them at
2888 // OnGetLinesHint() is normally called just before OnGetLineHeight() but you
2889 // shouldn't rely on the latter being called for all lines in the interval
2890 // specified here. It is also possible that OnGetLineHeight() will be
2891 // called for the lines outside of this interval, so this is really just a
2892 // hint, not a promise.
2894 // finally note that lineMin is inclusive, while lineMax is exclusive, as
2896 DEC_PYCALLBACK_VOID_SIZETSIZET_const(OnGetLinesHint
);
2899 // when the number of lines changes, we try to estimate the total height
2900 // of all lines which is a rather expensive operation in terms of lines
2901 // access, so if the user code may estimate the average height
2902 // better/faster than we do, it should override this function to implement
2905 // this function should return the best guess for the total height it may
2907 DEC_PYCALLBACK_COORD_const(EstimateTotalHeight
);
2910 // Also expose some other interesting protected methods
2913 // find the index of the line we need to show at the top of the window such
2914 // that the last (fully or partially) visible line is the given one
2915 size_t FindFirstFromBottom(size_t lineLast
, bool fullyVisible
= false)
2916 { return wxVScrolledWindow::FindFirstFromBottom(lineLast
, fullyVisible
); }
2918 // get the total height of the lines between lineMin (inclusive) and
2919 // lineMax (exclusive)
2920 wxCoord
GetLinesHeight(size_t lineMin
, size_t lineMax
) const
2921 { return wxVScrolledWindow::GetLinesHeight(lineMin
, lineMax
); }
2927 IMPLEMENT_ABSTRACT_CLASS(wxPyVScrolledWindow
, wxVScrolledWindow
);
2929 IMP_PYCALLBACK_COORD_SIZET_constpure(wxPyVScrolledWindow
, wxVScrolledWindow
, OnGetLineHeight
);
2930 IMP_PYCALLBACK_VOID_SIZETSIZET_const(wxPyVScrolledWindow
, wxVScrolledWindow
, OnGetLinesHint
);
2931 IMP_PYCALLBACK_COORD_const (wxPyVScrolledWindow
, wxVScrolledWindow
, EstimateTotalHeight
);
2935 SWIG_AsVal_unsigned_SS_long (PyObject
* obj
, unsigned long* val
)
2938 if (SWIG_AsVal_long(obj
, &v
) && v
< 0) {
2939 return SWIG_TypeError
;
2942 *val
= (unsigned long)v
;
2947 SWIGINTERNINLINE
int
2948 SWIG_AsVal_size_t (PyObject
* obj
, size_t *val
)
2951 int res
= SWIG_AsVal_unsigned_SS_long (obj
, val
? &v
: 0);
2952 if (SWIG_IsOK(res
) && val
) *val
= static_cast< size_t >(v
);
2957 SWIGINTERNINLINE PyObject
*
2958 SWIG_From_unsigned_SS_long (unsigned long value
)
2960 return (value
> LONG_MAX
) ?
2961 PyLong_FromUnsignedLong(value
) : PyInt_FromLong(static_cast< long >(value
));
2965 SWIGINTERNINLINE PyObject
*
2966 SWIG_From_size_t (size_t value
)
2968 return SWIG_From_unsigned_SS_long (static_cast< unsigned long >(value
));
2972 #include <wx/vlbox.h>
2974 static const wxString
wxPyVListBoxNameStr(wxVListBoxNameStr
);
2976 class wxPyVListBox
: public wxVListBox
2978 DECLARE_ABSTRACT_CLASS(wxPyVListBox
)
2980 wxPyVListBox() : wxVListBox() {}
2982 wxPyVListBox(wxWindow
*parent
,
2983 wxWindowID id
= wxID_ANY
,
2984 const wxPoint
& pos
= wxDefaultPosition
,
2985 const wxSize
& size
= wxDefaultSize
,
2987 const wxString
& name
= wxPyVListBoxNameStr
)
2988 : wxVListBox(parent
, id
, pos
, size
, style
, name
)
2991 // Overridable virtuals
2993 // the derived class must implement this function to actually draw the item
2994 // with the given index on the provided DC
2995 // virtual void OnDrawItem(wxDC& dc, const wxRect& rect, size_t n) const = 0;
2996 DEC_PYCALLBACK__DCRECTSIZET_constpure(OnDrawItem
);
2999 // the derived class must implement this method to return the height of the
3001 // virtual wxCoord OnMeasureItem(size_t n) const = 0;
3002 DEC_PYCALLBACK_COORD_SIZET_constpure(OnMeasureItem
);
3005 // this method may be used to draw separators between the lines; note that
3006 // the rectangle may be modified, typically to deflate it a bit before
3007 // passing to OnDrawItem()
3009 // the base class version doesn't do anything
3010 // virtual void OnDrawSeparator(wxDC& dc, wxRect& rect, size_t n) const;
3011 DEC_PYCALLBACK__DCRECTSIZET2_const(OnDrawSeparator
);
3014 // this method is used to draw the items background and, maybe, a border
3017 // the base class version implements a reasonable default behaviour which
3018 // consists in drawing the selected item with the standard background
3019 // colour and drawing a border around the item if it is either selected or
3021 // virtual void OnDrawBackground(wxDC& dc, const wxRect& rect, size_t n) const;
3022 DEC_PYCALLBACK__DCRECTSIZET_const(OnDrawBackground
);
3028 IMPLEMENT_ABSTRACT_CLASS(wxPyVListBox
, wxVListBox
);
3030 IMP_PYCALLBACK__DCRECTSIZET_constpure(wxPyVListBox
, wxVListBox
, OnDrawItem
);
3031 IMP_PYCALLBACK_COORD_SIZET_constpure (wxPyVListBox
, wxVListBox
, OnMeasureItem
);
3032 IMP_PYCALLBACK__DCRECTSIZET2_const (wxPyVListBox
, wxVListBox
, OnDrawSeparator
);
3033 IMP_PYCALLBACK__DCRECTSIZET_const (wxPyVListBox
, wxVListBox
, OnDrawBackground
);
3036 SWIGINTERN PyObject
*wxPyVListBox_GetFirstSelected(wxPyVListBox
*self
){
3037 unsigned long cookie
= 0;
3038 int selected
= self
->GetFirstSelected(cookie
);
3039 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3040 PyObject
* tup
= PyTuple_New(2);
3041 PyTuple_SET_ITEM(tup
, 0, PyInt_FromLong(selected
));
3042 PyTuple_SET_ITEM(tup
, 1, PyInt_FromLong(cookie
));
3043 wxPyEndBlockThreads(blocked
);
3046 SWIGINTERN PyObject
*wxPyVListBox_GetNextSelected(wxPyVListBox
*self
,unsigned long cookie
){
3047 int selected
= self
->GetNextSelected(cookie
);
3048 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3049 PyObject
* tup
= PyTuple_New(2);
3050 PyTuple_SET_ITEM(tup
, 0, PyInt_FromLong(selected
));
3051 PyTuple_SET_ITEM(tup
, 1, PyInt_FromLong(cookie
));
3052 wxPyEndBlockThreads(blocked
);
3056 #include <wx/htmllbox.h>
3059 class wxPyHtmlListBox
: public wxHtmlListBox
3061 DECLARE_ABSTRACT_CLASS(wxPyHtmlListBox
)
3063 wxPyHtmlListBox() : wxHtmlListBox() {}
3065 wxPyHtmlListBox(wxWindow
*parent
,
3066 wxWindowID id
= wxID_ANY
,
3067 const wxPoint
& pos
= wxDefaultPosition
,
3068 const wxSize
& size
= wxDefaultSize
,
3070 const wxString
& name
= wxPyVListBoxNameStr
)
3071 : wxHtmlListBox(parent
, id
, pos
, size
, style
, name
)
3074 // Overridable virtuals
3076 // this method must be implemented in the derived class and should return
3077 // the body (i.e. without <html>) of the HTML for the given item
3078 DEC_PYCALLBACK_STRING_SIZET_pure(OnGetItem
);
3080 // this function may be overridden to decorate HTML returned by OnGetItem()
3081 DEC_PYCALLBACK_STRING_SIZET(OnGetItemMarkup
);
3083 // These are from wxVListBox
3084 DEC_PYCALLBACK__DCRECTSIZET2_const(OnDrawSeparator
);
3085 DEC_PYCALLBACK__DCRECTSIZET_const(OnDrawBackground
);
3088 // // this method allows to customize the selection appearance: it may be used
3089 // // to specify the colour of the text which normally has the given colour
3090 // // colFg when it is inside the selection
3092 // // by default, the original colour is not used at all and all text has the
3093 // // same (default for this system) colour inside selection
3094 // virtual wxColour GetSelectedTextColour(const wxColour& colFg) const;
3096 // // this is the same as GetSelectedTextColour() but allows to customize the
3097 // // background colour -- this is even more rarely used as you can change it
3098 // // globally using SetSelectionBackground()
3099 // virtual wxColour GetSelectedTextBgColour(const wxColour& colBg) const;
3106 IMPLEMENT_ABSTRACT_CLASS(wxPyHtmlListBox
, wxHtmlListBox
)
3108 IMP_PYCALLBACK_STRING_SIZET_pure(wxPyHtmlListBox
, wxHtmlListBox
, OnGetItem
);
3109 IMP_PYCALLBACK_STRING_SIZET (wxPyHtmlListBox
, wxHtmlListBox
, OnGetItemMarkup
);
3110 IMP_PYCALLBACK__DCRECTSIZET2_const (wxPyHtmlListBox
, wxHtmlListBox
, OnDrawSeparator
);
3111 IMP_PYCALLBACK__DCRECTSIZET_const (wxPyHtmlListBox
, wxHtmlListBox
, OnDrawBackground
);
3117 #ifndef wxHAS_TASK_BAR_ICON
3118 // implement dummy classes for platforms that don't have it
3120 class wxTaskBarIcon
: public wxEvtHandler
3123 wxTaskBarIcon() { wxPyRaiseNotImplemented(); }
3127 class wxTaskBarIconEvent
: public wxEvent
3130 wxTaskBarIconEvent(wxEventType
, wxTaskBarIcon
*)
3131 { wxPyRaiseNotImplemented(); }
3132 virtual wxEvent
* Clone() const { return NULL
; }
3133 bool IsOk() const { return false; }
3134 bool IsIconInstalled() const { return false; }
3135 bool SetIcon(const wxIcon
& icon
, const wxString
& tooltip
= wxPyEmptyString
) { return false; }
3136 bool RemoveIcon() { return false; }
3137 bool PopupMenu(wxMenu
*menu
) { return false; }
3141 wxEVT_TASKBAR_MOVE
= 0,
3142 wxEVT_TASKBAR_LEFT_DOWN
= 0,
3143 wxEVT_TASKBAR_LEFT_UP
= 0,
3144 wxEVT_TASKBAR_RIGHT_DOWN
= 0,
3145 wxEVT_TASKBAR_RIGHT_UP
= 0,
3146 wxEVT_TASKBAR_LEFT_DCLICK
= 0,
3147 wxEVT_TASKBAR_RIGHT_DCLICK
= 0,
3152 // Otherwise make a class that can virtualize CreatePopupMenu
3153 class wxPyTaskBarIcon
: public wxTaskBarIcon
3155 DECLARE_ABSTRACT_CLASS(wxPyTaskBarIcon
)
3157 wxPyTaskBarIcon() : wxTaskBarIcon()
3160 wxMenu
* CreatePopupMenu() {
3161 wxMenu
*rval
= NULL
;
3163 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3164 if ((found
= wxPyCBH_findCallback(m_myInst
, "CreatePopupMenu"))) {
3167 ro
= wxPyCBH_callCallbackObj(m_myInst
, Py_BuildValue("()"));
3169 if (wxPyConvertSwigPtr(ro
, (void **)&ptr
, wxT("wxMenu")))
3174 wxPyEndBlockThreads(blocked
);
3176 rval
= wxTaskBarIcon::CreatePopupMenu();
3183 IMPLEMENT_ABSTRACT_CLASS(wxPyTaskBarIcon
, wxTaskBarIcon
);
3187 SWIGINTERN
void wxPyTaskBarIcon_Destroy(wxPyTaskBarIcon
*self
){
3191 static const wxString
wxPyFileSelectorPromptStr(wxFileSelectorPromptStr
);
3192 static const wxString
wxPyDirSelectorPromptStr(wxDirSelectorPromptStr
);
3193 static const wxString
wxPyDirDialogNameStr(wxDirDialogNameStr
);
3194 static const wxString
wxPyFileSelectorDefaultWildcardStr(wxFileSelectorDefaultWildcardStr
);
3195 static const wxString
wxPyGetTextFromUserPromptStr(wxGetTextFromUserPromptStr
);
3196 static const wxString
wxPyMessageBoxCaptionStr(wxMessageBoxCaptionStr
);
3197 SWIGINTERN PyObject
*wxFileDialog_GetFilenames(wxFileDialog
*self
){
3199 self
->GetFilenames(arr
);
3200 return wxArrayString2PyList_helper(arr
);
3202 SWIGINTERN PyObject
*wxFileDialog_GetPaths(wxFileDialog
*self
){
3204 self
->GetPaths(arr
);
3205 return wxArrayString2PyList_helper(arr
);
3207 SWIGINTERN PyObject
*wxMultiChoiceDialog_GetSelections(wxMultiChoiceDialog
*self
){
3208 return wxArrayInt2PyList_helper(self
->GetSelections());
3210 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
){
3211 return new wxSingleChoiceDialog(parent
, message
, caption
,
3212 choices
, choices_array
, NULL
, style
, pos
);
3214 static const wxString
wxPyGetPasswordFromUserPromptStr(wxGetPasswordFromUserPromptStr
);
3218 // C++ version of Python aware wxWindow
3219 class wxPyWindow
: public wxWindow
3221 DECLARE_DYNAMIC_CLASS(wxPyWindow
)
3223 wxPyWindow() : wxWindow() {}
3224 wxPyWindow(wxWindow
* parent
, const wxWindowID id
,
3225 const wxPoint
& pos
= wxDefaultPosition
,
3226 const wxSize
& size
= wxDefaultSize
,
3228 const wxString
& name
= wxPyPanelNameStr
)
3229 : wxWindow(parent
, id
, pos
, size
, style
, name
) {}
3231 void SetBestSize(const wxSize
& size
) { wxWindow::SetBestSize(size
); }
3233 bool DoEraseBackground(wxDC
* dc
) {
3235 return wxWindow::DoEraseBackground(dc
->GetHDC());
3237 dc
->SetBackground(wxBrush(GetBackgroundColour()));
3243 DEC_PYCALLBACK_VOID_INT4(DoMoveWindow
);
3244 DEC_PYCALLBACK_VOID_INT5(DoSetSize
);
3245 DEC_PYCALLBACK_VOID_INTINT(DoSetClientSize
);
3246 DEC_PYCALLBACK_VOID_INTINT(DoSetVirtualSize
);
3248 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetSize
);
3249 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetClientSize
);
3250 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetPosition
);
3252 DEC_PYCALLBACK_SIZE_const(DoGetVirtualSize
);
3253 DEC_PYCALLBACK_SIZE_const(DoGetBestSize
);
3255 DEC_PYCALLBACK__(InitDialog
);
3256 DEC_PYCALLBACK_BOOL_(TransferDataFromWindow
);
3257 DEC_PYCALLBACK_BOOL_(TransferDataToWindow
);
3258 DEC_PYCALLBACK_BOOL_(Validate
);
3260 DEC_PYCALLBACK_BOOL_const(AcceptsFocus
);
3261 DEC_PYCALLBACK_BOOL_const(AcceptsFocusFromKeyboard
);
3262 DEC_PYCALLBACK_SIZE_const(GetMaxSize
);
3264 DEC_PYCALLBACK_VOID_WXWINBASE(AddChild
);
3265 DEC_PYCALLBACK_VOID_WXWINBASE(RemoveChild
);
3267 DEC_PYCALLBACK_BOOL_const(ShouldInheritColours
);
3268 DEC_PYCALLBACK_VIZATTR_(GetDefaultAttributes
);
3270 DEC_PYCALLBACK_BOOL_(HasTransparentBackground
);
3272 DEC_PYCALLBACK_VOID_(OnInternalIdle
);
3277 IMPLEMENT_DYNAMIC_CLASS(wxPyWindow
, wxWindow
);
3279 IMP_PYCALLBACK_VOID_INT4(wxPyWindow
, wxWindow
, DoMoveWindow
);
3280 IMP_PYCALLBACK_VOID_INT5(wxPyWindow
, wxWindow
, DoSetSize
);
3281 IMP_PYCALLBACK_VOID_INTINT(wxPyWindow
, wxWindow
, DoSetClientSize
);
3282 IMP_PYCALLBACK_VOID_INTINT(wxPyWindow
, wxWindow
, DoSetVirtualSize
);
3284 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyWindow
, wxWindow
, DoGetSize
);
3285 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyWindow
, wxWindow
, DoGetClientSize
);
3286 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyWindow
, wxWindow
, DoGetPosition
);
3288 IMP_PYCALLBACK_SIZE_const(wxPyWindow
, wxWindow
, DoGetVirtualSize
);
3289 IMP_PYCALLBACK_SIZE_const(wxPyWindow
, wxWindow
, DoGetBestSize
);
3291 IMP_PYCALLBACK__(wxPyWindow
, wxWindow
, InitDialog
);
3292 IMP_PYCALLBACK_BOOL_(wxPyWindow
, wxWindow
, TransferDataFromWindow
);
3293 IMP_PYCALLBACK_BOOL_(wxPyWindow
, wxWindow
, TransferDataToWindow
);
3294 IMP_PYCALLBACK_BOOL_(wxPyWindow
, wxWindow
, Validate
);
3296 IMP_PYCALLBACK_BOOL_const(wxPyWindow
, wxWindow
, AcceptsFocus
);
3297 IMP_PYCALLBACK_BOOL_const(wxPyWindow
, wxWindow
, AcceptsFocusFromKeyboard
);
3298 IMP_PYCALLBACK_SIZE_const(wxPyWindow
, wxWindow
, GetMaxSize
);
3300 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyWindow
, wxWindow
, AddChild
);
3301 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyWindow
, wxWindow
, RemoveChild
);
3303 IMP_PYCALLBACK_BOOL_const(wxPyWindow
, wxWindow
, ShouldInheritColours
);
3304 IMP_PYCALLBACK_VIZATTR_(wxPyWindow
, wxWindow
, GetDefaultAttributes
);
3306 IMP_PYCALLBACK_BOOL_(wxPyWindow
, wxWindow
, HasTransparentBackground
);
3308 IMP_PYCALLBACK_VOID_(wxPyWindow
, wxWindow
, OnInternalIdle
);
3310 // C++ version of Python aware wxPanel
3311 class wxPyPanel
: public wxPanel
3313 DECLARE_DYNAMIC_CLASS(wxPyPanel
)
3315 wxPyPanel() : wxPanel() {}
3316 wxPyPanel(wxWindow
* parent
, const wxWindowID id
,
3317 const wxPoint
& pos
= wxDefaultPosition
,
3318 const wxSize
& size
= wxDefaultSize
,
3320 const wxString
& name
= wxPyPanelNameStr
)
3321 : wxPanel(parent
, id
, pos
, size
, style
, name
) {}
3323 void SetBestSize(const wxSize
& size
) { wxPanel::SetBestSize(size
); }
3324 bool DoEraseBackground(wxDC
* dc
) {
3326 return wxWindow::DoEraseBackground(dc
->GetHDC());
3328 dc
->SetBackground(wxBrush(GetBackgroundColour()));
3335 DEC_PYCALLBACK_VOID_INT4(DoMoveWindow
);
3336 DEC_PYCALLBACK_VOID_INT5(DoSetSize
);
3337 DEC_PYCALLBACK_VOID_INTINT(DoSetClientSize
);
3338 DEC_PYCALLBACK_VOID_INTINT(DoSetVirtualSize
);
3340 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetSize
);
3341 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetClientSize
);
3342 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetPosition
);
3344 DEC_PYCALLBACK_SIZE_const(DoGetVirtualSize
);
3345 DEC_PYCALLBACK_SIZE_const(DoGetBestSize
);
3347 DEC_PYCALLBACK__(InitDialog
);
3348 DEC_PYCALLBACK_BOOL_(TransferDataFromWindow
);
3349 DEC_PYCALLBACK_BOOL_(TransferDataToWindow
);
3350 DEC_PYCALLBACK_BOOL_(Validate
);
3352 DEC_PYCALLBACK_BOOL_const(AcceptsFocus
);
3353 DEC_PYCALLBACK_BOOL_const(AcceptsFocusFromKeyboard
);
3354 DEC_PYCALLBACK_SIZE_const(GetMaxSize
);
3356 DEC_PYCALLBACK_VOID_WXWINBASE(AddChild
);
3357 DEC_PYCALLBACK_VOID_WXWINBASE(RemoveChild
);
3359 DEC_PYCALLBACK_BOOL_const(ShouldInheritColours
);
3360 DEC_PYCALLBACK_VIZATTR_(GetDefaultAttributes
);
3362 DEC_PYCALLBACK_BOOL_(HasTransparentBackground
);
3364 DEC_PYCALLBACK_VOID_(OnInternalIdle
);
3369 IMPLEMENT_DYNAMIC_CLASS(wxPyPanel
, wxPanel
);
3371 IMP_PYCALLBACK_VOID_INT4(wxPyPanel
, wxPanel
, DoMoveWindow
);
3372 IMP_PYCALLBACK_VOID_INT5(wxPyPanel
, wxPanel
, DoSetSize
);
3373 IMP_PYCALLBACK_VOID_INTINT(wxPyPanel
, wxPanel
, DoSetClientSize
);
3374 IMP_PYCALLBACK_VOID_INTINT(wxPyPanel
, wxPanel
, DoSetVirtualSize
);
3376 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyPanel
, wxPanel
, DoGetSize
);
3377 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyPanel
, wxPanel
, DoGetClientSize
);
3378 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyPanel
, wxPanel
, DoGetPosition
);
3380 IMP_PYCALLBACK_SIZE_const(wxPyPanel
, wxPanel
, DoGetVirtualSize
);
3381 IMP_PYCALLBACK_SIZE_const(wxPyPanel
, wxPanel
, DoGetBestSize
);
3383 IMP_PYCALLBACK__(wxPyPanel
, wxPanel
, InitDialog
);
3384 IMP_PYCALLBACK_BOOL_(wxPyPanel
, wxPanel
, TransferDataFromWindow
);
3385 IMP_PYCALLBACK_BOOL_(wxPyPanel
, wxPanel
, TransferDataToWindow
);
3386 IMP_PYCALLBACK_BOOL_(wxPyPanel
, wxPanel
, Validate
);
3388 IMP_PYCALLBACK_BOOL_const(wxPyPanel
, wxPanel
, AcceptsFocus
);
3389 IMP_PYCALLBACK_BOOL_const(wxPyPanel
, wxPanel
, AcceptsFocusFromKeyboard
);
3390 IMP_PYCALLBACK_SIZE_const(wxPyPanel
, wxPanel
, GetMaxSize
);
3392 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyPanel
, wxPanel
, AddChild
);
3393 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyPanel
, wxPanel
, RemoveChild
);
3395 IMP_PYCALLBACK_BOOL_const(wxPyPanel
, wxPanel
, ShouldInheritColours
);
3396 IMP_PYCALLBACK_VIZATTR_(wxPyPanel
, wxPanel
, GetDefaultAttributes
);
3398 IMP_PYCALLBACK_BOOL_(wxPyPanel
, wxPanel
, HasTransparentBackground
);
3400 IMP_PYCALLBACK_VOID_(wxPyPanel
, wxPanel
, OnInternalIdle
);
3402 // C++ version of Python aware wxScrolledWindow
3403 class wxPyScrolledWindow
: public wxScrolledWindow
3405 DECLARE_DYNAMIC_CLASS(wxPyScrolledWindow
)
3407 wxPyScrolledWindow() : wxScrolledWindow() {}
3408 wxPyScrolledWindow(wxWindow
* parent
, const wxWindowID id
,
3409 const wxPoint
& pos
= wxDefaultPosition
,
3410 const wxSize
& size
= wxDefaultSize
,
3412 const wxString
& name
= wxPyPanelNameStr
)
3413 : wxScrolledWindow(parent
, id
, pos
, size
, style
, name
) {}
3415 void SetBestSize(const wxSize
& size
) { wxScrolledWindow::SetBestSize(size
); }
3416 bool DoEraseBackground(wxDC
* dc
) {
3418 return wxWindow::DoEraseBackground(dc
->GetHDC());
3420 dc
->SetBackground(wxBrush(GetBackgroundColour()));
3426 DEC_PYCALLBACK_VOID_INT4(DoMoveWindow
);
3427 DEC_PYCALLBACK_VOID_INT5(DoSetSize
);
3428 DEC_PYCALLBACK_VOID_INTINT(DoSetClientSize
);
3429 DEC_PYCALLBACK_VOID_INTINT(DoSetVirtualSize
);
3431 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetSize
);
3432 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetClientSize
);
3433 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetPosition
);
3435 DEC_PYCALLBACK_SIZE_const(DoGetVirtualSize
);
3436 DEC_PYCALLBACK_SIZE_const(DoGetBestSize
);
3438 DEC_PYCALLBACK__(InitDialog
);
3439 DEC_PYCALLBACK_BOOL_(TransferDataFromWindow
);
3440 DEC_PYCALLBACK_BOOL_(TransferDataToWindow
);
3441 DEC_PYCALLBACK_BOOL_(Validate
);
3443 DEC_PYCALLBACK_BOOL_const(AcceptsFocus
);
3444 DEC_PYCALLBACK_BOOL_const(AcceptsFocusFromKeyboard
);
3445 DEC_PYCALLBACK_SIZE_const(GetMaxSize
);
3447 DEC_PYCALLBACK_VOID_WXWINBASE(AddChild
);
3448 DEC_PYCALLBACK_VOID_WXWINBASE(RemoveChild
);
3450 DEC_PYCALLBACK_BOOL_const(ShouldInheritColours
);
3451 DEC_PYCALLBACK_VIZATTR_(GetDefaultAttributes
);
3453 DEC_PYCALLBACK_BOOL_(HasTransparentBackground
);
3455 DEC_PYCALLBACK_VOID_(OnInternalIdle
);
3460 IMPLEMENT_DYNAMIC_CLASS(wxPyScrolledWindow
, wxScrolledWindow
);
3462 IMP_PYCALLBACK_VOID_INT4(wxPyScrolledWindow
, wxScrolledWindow
, DoMoveWindow
);
3463 IMP_PYCALLBACK_VOID_INT5(wxPyScrolledWindow
, wxScrolledWindow
, DoSetSize
);
3464 IMP_PYCALLBACK_VOID_INTINT(wxPyScrolledWindow
, wxScrolledWindow
, DoSetClientSize
);
3465 IMP_PYCALLBACK_VOID_INTINT(wxPyScrolledWindow
, wxScrolledWindow
, DoSetVirtualSize
);
3467 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyScrolledWindow
, wxScrolledWindow
, DoGetSize
);
3468 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyScrolledWindow
, wxScrolledWindow
, DoGetClientSize
);
3469 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyScrolledWindow
, wxScrolledWindow
, DoGetPosition
);
3471 IMP_PYCALLBACK_SIZE_const(wxPyScrolledWindow
, wxScrolledWindow
, DoGetVirtualSize
);
3472 IMP_PYCALLBACK_SIZE_const(wxPyScrolledWindow
, wxScrolledWindow
, DoGetBestSize
);
3474 IMP_PYCALLBACK__(wxPyScrolledWindow
, wxScrolledWindow
, InitDialog
);
3475 IMP_PYCALLBACK_BOOL_(wxPyScrolledWindow
, wxScrolledWindow
, TransferDataFromWindow
);
3476 IMP_PYCALLBACK_BOOL_(wxPyScrolledWindow
, wxScrolledWindow
, TransferDataToWindow
);
3477 IMP_PYCALLBACK_BOOL_(wxPyScrolledWindow
, wxScrolledWindow
, Validate
);
3479 IMP_PYCALLBACK_BOOL_const(wxPyScrolledWindow
, wxScrolledWindow
, AcceptsFocus
);
3480 IMP_PYCALLBACK_BOOL_const(wxPyScrolledWindow
, wxScrolledWindow
, AcceptsFocusFromKeyboard
);
3481 IMP_PYCALLBACK_SIZE_const(wxPyScrolledWindow
, wxScrolledWindow
, GetMaxSize
);
3483 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyScrolledWindow
, wxScrolledWindow
, AddChild
);
3484 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyScrolledWindow
, wxScrolledWindow
, RemoveChild
);
3486 IMP_PYCALLBACK_BOOL_const(wxPyScrolledWindow
, wxScrolledWindow
, ShouldInheritColours
);
3487 IMP_PYCALLBACK_VIZATTR_(wxPyScrolledWindow
, wxScrolledWindow
, GetDefaultAttributes
);
3489 IMP_PYCALLBACK_BOOL_(wxPyScrolledWindow
, wxScrolledWindow
, HasTransparentBackground
);
3491 IMP_PYCALLBACK_VOID_(wxPyScrolledWindow
, wxScrolledWindow
, OnInternalIdle
);
3494 #include "wx/wxPython/printfw.h"
3497 static const wxString
wxPyPrintoutTitleStr(wxT("Printout"));
3498 static const wxString
wxPyPreviewCanvasNameStr(wxT("previewcanvas"));
3499 SWIGINTERN PyObject
*wxPrintData_GetPrivData(wxPrintData
*self
){
3501 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3502 data
= PyString_FromStringAndSize(self
->GetPrivData(),
3503 self
->GetPrivDataLen());
3504 wxPyEndBlockThreads(blocked
);
3507 SWIGINTERN
void wxPrintData_SetPrivData(wxPrintData
*self
,PyObject
*data
){
3508 if (! PyString_Check(data
)) {
3509 wxPyBLOCK_THREADS(PyErr_SetString(PyExc_TypeError
,
3510 "Expected string object"));
3514 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3515 self
->SetPrivData(PyString_AS_STRING(data
), PyString_GET_SIZE(data
));
3516 wxPyEndBlockThreads(blocked
);
3520 IMPLEMENT_ABSTRACT_CLASS(wxPyPrintout
, wxPrintout
);
3522 // Since this one would be tough and ugly to do with the Macros...
3523 void wxPyPrintout::GetPageInfo(int *minPage
, int *maxPage
, int *pageFrom
, int *pageTo
) {
3524 bool hadErr
= false;
3527 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3528 if ((found
= wxPyCBH_findCallback(m_myInst
, "GetPageInfo"))) {
3529 PyObject
* result
= wxPyCBH_callCallbackObj(m_myInst
, Py_BuildValue("()"));
3530 if (result
&& PyTuple_Check(result
) && PyTuple_Size(result
) == 4) {
3533 val
= PyTuple_GetItem(result
, 0);
3534 if (PyInt_Check(val
)) *minPage
= PyInt_AsLong(val
);
3537 val
= PyTuple_GetItem(result
, 1);
3538 if (PyInt_Check(val
)) *maxPage
= PyInt_AsLong(val
);
3541 val
= PyTuple_GetItem(result
, 2);
3542 if (PyInt_Check(val
)) *pageFrom
= PyInt_AsLong(val
);
3545 val
= PyTuple_GetItem(result
, 3);
3546 if (PyInt_Check(val
)) *pageTo
= PyInt_AsLong(val
);
3553 PyErr_SetString(PyExc_TypeError
, "GetPageInfo should return a tuple of 4 integers.");
3558 wxPyEndBlockThreads(blocked
);
3560 wxPrintout::GetPageInfo(minPage
, maxPage
, pageFrom
, pageTo
);
3565 IMP_PYCALLBACK_BOOL_INTINT(wxPyPrintout
, wxPrintout
, OnBeginDocument
);
3566 IMP_PYCALLBACK__(wxPyPrintout
, wxPrintout
, OnEndDocument
);
3567 IMP_PYCALLBACK__(wxPyPrintout
, wxPrintout
, OnBeginPrinting
);
3568 IMP_PYCALLBACK__(wxPyPrintout
, wxPrintout
, OnEndPrinting
);
3569 IMP_PYCALLBACK__(wxPyPrintout
, wxPrintout
, OnPreparePrinting
);
3570 IMP_PYCALLBACK_BOOL_INT_pure(wxPyPrintout
, wxPrintout
, OnPrintPage
);
3571 IMP_PYCALLBACK_BOOL_INT(wxPyPrintout
, wxPrintout
, HasPage
);
3577 #define DEC_PYCALLBACK_BOOL_PREWINDC(CBNAME) \
3578 bool CBNAME(wxPreviewCanvas* a, wxDC& b)
3581 #define IMP_PYCALLBACK_BOOL_PREWINDC(CLASS, PCLASS, CBNAME) \
3582 bool CLASS::CBNAME(wxPreviewCanvas* a, wxDC& b) { \
3585 wxPyBlock_t blocked = wxPyBeginBlockThreads(); \
3586 if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) { \
3587 PyObject* win = wxPyMake_wxObject(a,false); \
3588 PyObject* dc = wxPyMake_wxObject(&b,false); \
3589 rval = wxPyCBH_callCallback(m_myInst, Py_BuildValue("(OO)", win, dc)); \
3593 wxPyEndBlockThreads(blocked); \
3595 rval = PCLASS::CBNAME(a, b); \
3602 class wxPyPrintPreview
: public wxPrintPreview
3604 DECLARE_CLASS(wxPyPrintPreview
)
3606 wxPyPrintPreview(wxPyPrintout
* printout
,
3607 wxPyPrintout
* printoutForPrinting
,
3608 wxPrintDialogData
* data
=NULL
)
3609 : wxPrintPreview(printout
, printoutForPrinting
, data
)
3611 wxPyPrintPreview(wxPyPrintout
* printout
,
3612 wxPyPrintout
* printoutForPrinting
,
3614 : wxPrintPreview(printout
, printoutForPrinting
, data
)
3617 DEC_PYCALLBACK_BOOL_INT(SetCurrentPage
);
3618 DEC_PYCALLBACK_BOOL_PREWINDC(PaintPage
);
3619 DEC_PYCALLBACK_BOOL_PREWINDC(DrawBlankPage
);
3620 DEC_PYCALLBACK_BOOL_INT(RenderPage
);
3621 DEC_PYCALLBACK_VOID_INT(SetZoom
);
3622 DEC_PYCALLBACK_BOOL_BOOL(Print
);
3623 DEC_PYCALLBACK_VOID_(DetermineScaling
);
3628 // Stupid renamed classes... Fix this in 2.5...
3629 #if defined(__WXMSW__)
3630 IMPLEMENT_CLASS( wxPyPrintPreview
, wxWindowsPrintPreview
);
3631 #elif defined(__WXMAC__)
3632 IMPLEMENT_CLASS( wxPyPrintPreview
, wxMacPrintPreview
);
3634 IMPLEMENT_CLASS( wxPyPrintPreview
, wxPostScriptPrintPreview
);
3637 IMP_PYCALLBACK_BOOL_INT (wxPyPrintPreview
, wxPrintPreview
, SetCurrentPage
);
3638 IMP_PYCALLBACK_BOOL_PREWINDC(wxPyPrintPreview
, wxPrintPreview
, PaintPage
);
3639 IMP_PYCALLBACK_BOOL_PREWINDC(wxPyPrintPreview
, wxPrintPreview
, DrawBlankPage
);
3640 IMP_PYCALLBACK_BOOL_INT (wxPyPrintPreview
, wxPrintPreview
, RenderPage
);
3641 IMP_PYCALLBACK_VOID_INT (wxPyPrintPreview
, wxPrintPreview
, SetZoom
);
3642 IMP_PYCALLBACK_BOOL_BOOL (wxPyPrintPreview
, wxPrintPreview
, Print
);
3643 IMP_PYCALLBACK_VOID_ (wxPyPrintPreview
, wxPrintPreview
, DetermineScaling
);
3646 class wxPyPreviewFrame
: public wxPreviewFrame
3648 DECLARE_CLASS(wxPyPreviewFrame
)
3650 wxPyPreviewFrame(wxPrintPreview
* preview
, wxFrame
* parent
,
3651 const wxString
& title
,
3652 const wxPoint
& pos
= wxDefaultPosition
,
3653 const wxSize
& size
= wxDefaultSize
,
3654 long style
= wxDEFAULT_FRAME_STYLE
,
3655 const wxString
& name
= wxPyFrameNameStr
)
3656 : wxPreviewFrame(preview
, parent
, title
, pos
, size
, style
, name
)
3659 void SetPreviewCanvas(wxPreviewCanvas
* canvas
) { m_previewCanvas
= canvas
; }
3660 void SetControlBar(wxPreviewControlBar
* bar
) { m_controlBar
= bar
; }
3662 DEC_PYCALLBACK_VOID_(Initialize
);
3663 DEC_PYCALLBACK_VOID_(CreateCanvas
);
3664 DEC_PYCALLBACK_VOID_(CreateControlBar
);
3669 IMPLEMENT_CLASS(wxPyPreviewFrame
, wxPreviewFrame
);
3671 IMP_PYCALLBACK_VOID_(wxPyPreviewFrame
, wxPreviewFrame
, Initialize
);
3672 IMP_PYCALLBACK_VOID_(wxPyPreviewFrame
, wxPreviewFrame
, CreateCanvas
);
3673 IMP_PYCALLBACK_VOID_(wxPyPreviewFrame
, wxPreviewFrame
, CreateControlBar
);
3676 class wxPyPreviewControlBar
: public wxPreviewControlBar
3678 DECLARE_CLASS(wxPyPreviewControlBar
)
3680 wxPyPreviewControlBar(wxPrintPreview
*preview
,
3683 const wxPoint
& pos
= wxDefaultPosition
,
3684 const wxSize
& size
= wxDefaultSize
,
3686 const wxString
& name
= wxPyPanelNameStr
)
3687 : wxPreviewControlBar(preview
, buttons
, parent
, pos
, size
, style
, name
)
3690 void SetPrintPreview(wxPrintPreview
* preview
) { m_printPreview
= preview
; }
3692 DEC_PYCALLBACK_VOID_(CreateButtons
);
3693 DEC_PYCALLBACK_VOID_INT(SetZoomControl
);
3698 IMPLEMENT_CLASS(wxPyPreviewControlBar
, wxPreviewControlBar
);
3699 IMP_PYCALLBACK_VOID_(wxPyPreviewControlBar
, wxPreviewControlBar
, CreateButtons
);
3700 IMP_PYCALLBACK_VOID_INT(wxPyPreviewControlBar
, wxPreviewControlBar
, SetZoomControl
);
3705 SWIGINTERN PyObject
*_wrap_new_Panel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
3706 PyObject
*resultobj
= 0;
3707 wxWindow
*arg1
= (wxWindow
*) 0 ;
3708 int arg2
= (int) (int)-1 ;
3709 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
3710 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
3711 wxSize
const &arg4_defvalue
= wxDefaultSize
;
3712 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
3713 long arg5
= (long) wxTAB_TRAVERSAL
|wxNO_BORDER
;
3714 wxString
const &arg6_defvalue
= wxPyPanelNameStr
;
3715 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
3716 wxPanel
*result
= 0 ;
3725 bool temp6
= false ;
3726 PyObject
* obj0
= 0 ;
3727 PyObject
* obj1
= 0 ;
3728 PyObject
* obj2
= 0 ;
3729 PyObject
* obj3
= 0 ;
3730 PyObject
* obj4
= 0 ;
3731 PyObject
* obj5
= 0 ;
3732 char * kwnames
[] = {
3733 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
3736 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_Panel",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
3737 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
3738 if (!SWIG_IsOK(res1
)) {
3739 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_Panel" "', expected argument " "1"" of type '" "wxWindow *""'");
3741 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
3743 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
3744 if (!SWIG_IsOK(ecode2
)) {
3745 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Panel" "', expected argument " "2"" of type '" "int""'");
3747 arg2
= static_cast< int >(val2
);
3752 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
3758 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
3762 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
3763 if (!SWIG_IsOK(ecode5
)) {
3764 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_Panel" "', expected argument " "5"" of type '" "long""'");
3766 arg5
= static_cast< long >(val5
);
3770 arg6
= wxString_in_helper(obj5
);
3771 if (arg6
== NULL
) SWIG_fail
;
3776 if (!wxPyCheckForApp()) SWIG_fail
;
3777 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3778 result
= (wxPanel
*)new wxPanel(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
3779 wxPyEndAllowThreads(__tstate
);
3780 if (PyErr_Occurred()) SWIG_fail
;
3782 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPanel
, SWIG_POINTER_NEW
| 0 );
3797 SWIGINTERN PyObject
*_wrap_new_PrePanel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3798 PyObject
*resultobj
= 0;
3799 wxPanel
*result
= 0 ;
3801 if (!SWIG_Python_UnpackTuple(args
,"new_PrePanel",0,0,0)) SWIG_fail
;
3803 if (!wxPyCheckForApp()) SWIG_fail
;
3804 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3805 result
= (wxPanel
*)new wxPanel();
3806 wxPyEndAllowThreads(__tstate
);
3807 if (PyErr_Occurred()) SWIG_fail
;
3809 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPanel
, SWIG_POINTER_OWN
| 0 );
3816 SWIGINTERN PyObject
*_wrap_Panel_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
3817 PyObject
*resultobj
= 0;
3818 wxPanel
*arg1
= (wxPanel
*) 0 ;
3819 wxWindow
*arg2
= (wxWindow
*) 0 ;
3820 int arg3
= (int) (int)-1 ;
3821 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
3822 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
3823 wxSize
const &arg5_defvalue
= wxDefaultSize
;
3824 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
3825 long arg6
= (long) wxTAB_TRAVERSAL
|wxNO_BORDER
;
3826 wxString
const &arg7_defvalue
= wxPyPanelNameStr
;
3827 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
3839 bool temp7
= false ;
3840 PyObject
* obj0
= 0 ;
3841 PyObject
* obj1
= 0 ;
3842 PyObject
* obj2
= 0 ;
3843 PyObject
* obj3
= 0 ;
3844 PyObject
* obj4
= 0 ;
3845 PyObject
* obj5
= 0 ;
3846 PyObject
* obj6
= 0 ;
3847 char * kwnames
[] = {
3848 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
3851 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:Panel_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
3852 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPanel
, 0 | 0 );
3853 if (!SWIG_IsOK(res1
)) {
3854 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Panel_Create" "', expected argument " "1"" of type '" "wxPanel *""'");
3856 arg1
= reinterpret_cast< wxPanel
* >(argp1
);
3857 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
3858 if (!SWIG_IsOK(res2
)) {
3859 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Panel_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
3861 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
3863 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
3864 if (!SWIG_IsOK(ecode3
)) {
3865 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Panel_Create" "', expected argument " "3"" of type '" "int""'");
3867 arg3
= static_cast< int >(val3
);
3872 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
3878 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
3882 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
3883 if (!SWIG_IsOK(ecode6
)) {
3884 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "Panel_Create" "', expected argument " "6"" of type '" "long""'");
3886 arg6
= static_cast< long >(val6
);
3890 arg7
= wxString_in_helper(obj6
);
3891 if (arg7
== NULL
) SWIG_fail
;
3896 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3897 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
3898 wxPyEndAllowThreads(__tstate
);
3899 if (PyErr_Occurred()) SWIG_fail
;
3902 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3918 SWIGINTERN PyObject
*_wrap_Panel_SetFocusIgnoringChildren(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3919 PyObject
*resultobj
= 0;
3920 wxPanel
*arg1
= (wxPanel
*) 0 ;
3923 PyObject
*swig_obj
[1] ;
3925 if (!args
) SWIG_fail
;
3927 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPanel
, 0 | 0 );
3928 if (!SWIG_IsOK(res1
)) {
3929 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Panel_SetFocusIgnoringChildren" "', expected argument " "1"" of type '" "wxPanel *""'");
3931 arg1
= reinterpret_cast< wxPanel
* >(argp1
);
3933 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3934 (arg1
)->SetFocusIgnoringChildren();
3935 wxPyEndAllowThreads(__tstate
);
3936 if (PyErr_Occurred()) SWIG_fail
;
3938 resultobj
= SWIG_Py_Void();
3945 SWIGINTERN PyObject
*_wrap_Panel_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
3946 PyObject
*resultobj
= 0;
3947 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
3948 SwigValueWrapper
<wxVisualAttributes
> result
;
3951 PyObject
* obj0
= 0 ;
3952 char * kwnames
[] = {
3953 (char *) "variant", NULL
3956 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Panel_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
3958 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
3959 if (!SWIG_IsOK(ecode1
)) {
3960 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "Panel_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
3962 arg1
= static_cast< wxWindowVariant
>(val1
);
3965 if (!wxPyCheckForApp()) SWIG_fail
;
3966 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3967 result
= wxPanel::GetClassDefaultAttributes(arg1
);
3968 wxPyEndAllowThreads(__tstate
);
3969 if (PyErr_Occurred()) SWIG_fail
;
3971 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
3978 SWIGINTERN PyObject
*Panel_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3980 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
3981 SWIG_TypeNewClientData(SWIGTYPE_p_wxPanel
, SWIG_NewClientData(obj
));
3982 return SWIG_Py_Void();
3985 SWIGINTERN PyObject
*Panel_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3986 return SWIG_Python_InitShadowInstance(args
);
3989 SWIGINTERN PyObject
*_wrap_new_ScrolledWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
3990 PyObject
*resultobj
= 0;
3991 wxWindow
*arg1
= (wxWindow
*) 0 ;
3992 int arg2
= (int) (int)-1 ;
3993 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
3994 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
3995 wxSize
const &arg4_defvalue
= wxDefaultSize
;
3996 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
3997 long arg5
= (long) wxHSCROLL
|wxVSCROLL
;
3998 wxString
const &arg6_defvalue
= wxPyPanelNameStr
;
3999 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
4000 wxScrolledWindow
*result
= 0 ;
4009 bool temp6
= false ;
4010 PyObject
* obj0
= 0 ;
4011 PyObject
* obj1
= 0 ;
4012 PyObject
* obj2
= 0 ;
4013 PyObject
* obj3
= 0 ;
4014 PyObject
* obj4
= 0 ;
4015 PyObject
* obj5
= 0 ;
4016 char * kwnames
[] = {
4017 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4020 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_ScrolledWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
4021 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
4022 if (!SWIG_IsOK(res1
)) {
4023 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_ScrolledWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
4025 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
4027 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
4028 if (!SWIG_IsOK(ecode2
)) {
4029 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_ScrolledWindow" "', expected argument " "2"" of type '" "int""'");
4031 arg2
= static_cast< int >(val2
);
4036 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
4042 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
4046 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
4047 if (!SWIG_IsOK(ecode5
)) {
4048 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_ScrolledWindow" "', expected argument " "5"" of type '" "long""'");
4050 arg5
= static_cast< long >(val5
);
4054 arg6
= wxString_in_helper(obj5
);
4055 if (arg6
== NULL
) SWIG_fail
;
4060 if (!wxPyCheckForApp()) SWIG_fail
;
4061 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4062 result
= (wxScrolledWindow
*)new wxScrolledWindow(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
4063 wxPyEndAllowThreads(__tstate
);
4064 if (PyErr_Occurred()) SWIG_fail
;
4066 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxScrolledWindow
, SWIG_POINTER_NEW
| 0 );
4081 SWIGINTERN PyObject
*_wrap_new_PreScrolledWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4082 PyObject
*resultobj
= 0;
4083 wxScrolledWindow
*result
= 0 ;
4085 if (!SWIG_Python_UnpackTuple(args
,"new_PreScrolledWindow",0,0,0)) SWIG_fail
;
4087 if (!wxPyCheckForApp()) SWIG_fail
;
4088 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4089 result
= (wxScrolledWindow
*)new wxScrolledWindow();
4090 wxPyEndAllowThreads(__tstate
);
4091 if (PyErr_Occurred()) SWIG_fail
;
4093 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxScrolledWindow
, SWIG_POINTER_OWN
| 0 );
4100 SWIGINTERN PyObject
*_wrap_ScrolledWindow_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4101 PyObject
*resultobj
= 0;
4102 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
4103 wxWindow
*arg2
= (wxWindow
*) 0 ;
4104 int arg3
= (int) (int)-1 ;
4105 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
4106 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
4107 wxSize
const &arg5_defvalue
= wxDefaultSize
;
4108 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
4109 long arg6
= (long) wxHSCROLL
|wxVSCROLL
;
4110 wxString
const &arg7_defvalue
= wxPyPanelNameStr
;
4111 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
4123 bool temp7
= false ;
4124 PyObject
* obj0
= 0 ;
4125 PyObject
* obj1
= 0 ;
4126 PyObject
* obj2
= 0 ;
4127 PyObject
* obj3
= 0 ;
4128 PyObject
* obj4
= 0 ;
4129 PyObject
* obj5
= 0 ;
4130 PyObject
* obj6
= 0 ;
4131 char * kwnames
[] = {
4132 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4135 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:ScrolledWindow_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
4136 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 | 0 );
4137 if (!SWIG_IsOK(res1
)) {
4138 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_Create" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
4140 arg1
= reinterpret_cast< wxScrolledWindow
* >(argp1
);
4141 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
4142 if (!SWIG_IsOK(res2
)) {
4143 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ScrolledWindow_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
4145 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
4147 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
4148 if (!SWIG_IsOK(ecode3
)) {
4149 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ScrolledWindow_Create" "', expected argument " "3"" of type '" "int""'");
4151 arg3
= static_cast< int >(val3
);
4156 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
4162 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
4166 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
4167 if (!SWIG_IsOK(ecode6
)) {
4168 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "ScrolledWindow_Create" "', expected argument " "6"" of type '" "long""'");
4170 arg6
= static_cast< long >(val6
);
4174 arg7
= wxString_in_helper(obj6
);
4175 if (arg7
== NULL
) SWIG_fail
;
4180 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4181 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
4182 wxPyEndAllowThreads(__tstate
);
4183 if (PyErr_Occurred()) SWIG_fail
;
4186 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4202 SWIGINTERN PyObject
*_wrap_ScrolledWindow_SetScrollbars(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4203 PyObject
*resultobj
= 0;
4204 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
4209 int arg6
= (int) 0 ;
4210 int arg7
= (int) 0 ;
4211 bool arg8
= (bool) false ;
4228 PyObject
* obj0
= 0 ;
4229 PyObject
* obj1
= 0 ;
4230 PyObject
* obj2
= 0 ;
4231 PyObject
* obj3
= 0 ;
4232 PyObject
* obj4
= 0 ;
4233 PyObject
* obj5
= 0 ;
4234 PyObject
* obj6
= 0 ;
4235 PyObject
* obj7
= 0 ;
4236 char * kwnames
[] = {
4237 (char *) "self",(char *) "pixelsPerUnitX",(char *) "pixelsPerUnitY",(char *) "noUnitsX",(char *) "noUnitsY",(char *) "xPos",(char *) "yPos",(char *) "noRefresh", NULL
4240 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|OOO:ScrolledWindow_SetScrollbars",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
4241 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 | 0 );
4242 if (!SWIG_IsOK(res1
)) {
4243 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_SetScrollbars" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
4245 arg1
= reinterpret_cast< wxScrolledWindow
* >(argp1
);
4246 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
4247 if (!SWIG_IsOK(ecode2
)) {
4248 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ScrolledWindow_SetScrollbars" "', expected argument " "2"" of type '" "int""'");
4250 arg2
= static_cast< int >(val2
);
4251 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
4252 if (!SWIG_IsOK(ecode3
)) {
4253 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ScrolledWindow_SetScrollbars" "', expected argument " "3"" of type '" "int""'");
4255 arg3
= static_cast< int >(val3
);
4256 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
4257 if (!SWIG_IsOK(ecode4
)) {
4258 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "ScrolledWindow_SetScrollbars" "', expected argument " "4"" of type '" "int""'");
4260 arg4
= static_cast< int >(val4
);
4261 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
4262 if (!SWIG_IsOK(ecode5
)) {
4263 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "ScrolledWindow_SetScrollbars" "', expected argument " "5"" of type '" "int""'");
4265 arg5
= static_cast< int >(val5
);
4267 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
4268 if (!SWIG_IsOK(ecode6
)) {
4269 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "ScrolledWindow_SetScrollbars" "', expected argument " "6"" of type '" "int""'");
4271 arg6
= static_cast< int >(val6
);
4274 ecode7
= SWIG_AsVal_int(obj6
, &val7
);
4275 if (!SWIG_IsOK(ecode7
)) {
4276 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "ScrolledWindow_SetScrollbars" "', expected argument " "7"" of type '" "int""'");
4278 arg7
= static_cast< int >(val7
);
4281 ecode8
= SWIG_AsVal_bool(obj7
, &val8
);
4282 if (!SWIG_IsOK(ecode8
)) {
4283 SWIG_exception_fail(SWIG_ArgError(ecode8
), "in method '" "ScrolledWindow_SetScrollbars" "', expected argument " "8"" of type '" "bool""'");
4285 arg8
= static_cast< bool >(val8
);
4288 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4289 (arg1
)->SetScrollbars(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
,arg8
);
4290 wxPyEndAllowThreads(__tstate
);
4291 if (PyErr_Occurred()) SWIG_fail
;
4293 resultobj
= SWIG_Py_Void();
4300 SWIGINTERN PyObject
*_wrap_ScrolledWindow_Scroll(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4301 PyObject
*resultobj
= 0;
4302 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
4311 PyObject
* obj0
= 0 ;
4312 PyObject
* obj1
= 0 ;
4313 PyObject
* obj2
= 0 ;
4314 char * kwnames
[] = {
4315 (char *) "self",(char *) "x",(char *) "y", NULL
4318 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ScrolledWindow_Scroll",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
4319 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 | 0 );
4320 if (!SWIG_IsOK(res1
)) {
4321 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_Scroll" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
4323 arg1
= reinterpret_cast< wxScrolledWindow
* >(argp1
);
4324 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
4325 if (!SWIG_IsOK(ecode2
)) {
4326 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ScrolledWindow_Scroll" "', expected argument " "2"" of type '" "int""'");
4328 arg2
= static_cast< int >(val2
);
4329 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
4330 if (!SWIG_IsOK(ecode3
)) {
4331 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ScrolledWindow_Scroll" "', expected argument " "3"" of type '" "int""'");
4333 arg3
= static_cast< int >(val3
);
4335 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4336 (arg1
)->Scroll(arg2
,arg3
);
4337 wxPyEndAllowThreads(__tstate
);
4338 if (PyErr_Occurred()) SWIG_fail
;
4340 resultobj
= SWIG_Py_Void();
4347 SWIGINTERN PyObject
*_wrap_ScrolledWindow_GetScrollPageSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4348 PyObject
*resultobj
= 0;
4349 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
4356 PyObject
* obj0
= 0 ;
4357 PyObject
* obj1
= 0 ;
4358 char * kwnames
[] = {
4359 (char *) "self",(char *) "orient", NULL
4362 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScrolledWindow_GetScrollPageSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4363 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 | 0 );
4364 if (!SWIG_IsOK(res1
)) {
4365 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_GetScrollPageSize" "', expected argument " "1"" of type '" "wxScrolledWindow const *""'");
4367 arg1
= reinterpret_cast< wxScrolledWindow
* >(argp1
);
4368 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
4369 if (!SWIG_IsOK(ecode2
)) {
4370 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ScrolledWindow_GetScrollPageSize" "', expected argument " "2"" of type '" "int""'");
4372 arg2
= static_cast< int >(val2
);
4374 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4375 result
= (int)((wxScrolledWindow
const *)arg1
)->GetScrollPageSize(arg2
);
4376 wxPyEndAllowThreads(__tstate
);
4377 if (PyErr_Occurred()) SWIG_fail
;
4379 resultobj
= SWIG_From_int(static_cast< int >(result
));
4386 SWIGINTERN PyObject
*_wrap_ScrolledWindow_SetScrollPageSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4387 PyObject
*resultobj
= 0;
4388 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
4397 PyObject
* obj0
= 0 ;
4398 PyObject
* obj1
= 0 ;
4399 PyObject
* obj2
= 0 ;
4400 char * kwnames
[] = {
4401 (char *) "self",(char *) "orient",(char *) "pageSize", NULL
4404 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ScrolledWindow_SetScrollPageSize",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
4405 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 | 0 );
4406 if (!SWIG_IsOK(res1
)) {
4407 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_SetScrollPageSize" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
4409 arg1
= reinterpret_cast< wxScrolledWindow
* >(argp1
);
4410 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
4411 if (!SWIG_IsOK(ecode2
)) {
4412 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ScrolledWindow_SetScrollPageSize" "', expected argument " "2"" of type '" "int""'");
4414 arg2
= static_cast< int >(val2
);
4415 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
4416 if (!SWIG_IsOK(ecode3
)) {
4417 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ScrolledWindow_SetScrollPageSize" "', expected argument " "3"" of type '" "int""'");
4419 arg3
= static_cast< int >(val3
);
4421 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4422 (arg1
)->SetScrollPageSize(arg2
,arg3
);
4423 wxPyEndAllowThreads(__tstate
);
4424 if (PyErr_Occurred()) SWIG_fail
;
4426 resultobj
= SWIG_Py_Void();
4433 SWIGINTERN PyObject
*_wrap_ScrolledWindow_SetScrollRate(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4434 PyObject
*resultobj
= 0;
4435 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
4444 PyObject
* obj0
= 0 ;
4445 PyObject
* obj1
= 0 ;
4446 PyObject
* obj2
= 0 ;
4447 char * kwnames
[] = {
4448 (char *) "self",(char *) "xstep",(char *) "ystep", NULL
4451 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ScrolledWindow_SetScrollRate",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
4452 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 | 0 );
4453 if (!SWIG_IsOK(res1
)) {
4454 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_SetScrollRate" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
4456 arg1
= reinterpret_cast< wxScrolledWindow
* >(argp1
);
4457 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
4458 if (!SWIG_IsOK(ecode2
)) {
4459 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ScrolledWindow_SetScrollRate" "', expected argument " "2"" of type '" "int""'");
4461 arg2
= static_cast< int >(val2
);
4462 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
4463 if (!SWIG_IsOK(ecode3
)) {
4464 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ScrolledWindow_SetScrollRate" "', expected argument " "3"" of type '" "int""'");
4466 arg3
= static_cast< int >(val3
);
4468 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4469 (arg1
)->SetScrollRate(arg2
,arg3
);
4470 wxPyEndAllowThreads(__tstate
);
4471 if (PyErr_Occurred()) SWIG_fail
;
4473 resultobj
= SWIG_Py_Void();
4480 SWIGINTERN PyObject
*_wrap_ScrolledWindow_GetScrollPixelsPerUnit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4481 PyObject
*resultobj
= 0;
4482 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
4483 int *arg2
= (int *) 0 ;
4484 int *arg3
= (int *) 0 ;
4488 int res2
= SWIG_TMPOBJ
;
4490 int res3
= SWIG_TMPOBJ
;
4491 PyObject
*swig_obj
[1] ;
4495 if (!args
) SWIG_fail
;
4497 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 | 0 );
4498 if (!SWIG_IsOK(res1
)) {
4499 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_GetScrollPixelsPerUnit" "', expected argument " "1"" of type '" "wxScrolledWindow const *""'");
4501 arg1
= reinterpret_cast< wxScrolledWindow
* >(argp1
);
4503 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4504 ((wxScrolledWindow
const *)arg1
)->GetScrollPixelsPerUnit(arg2
,arg3
);
4505 wxPyEndAllowThreads(__tstate
);
4506 if (PyErr_Occurred()) SWIG_fail
;
4508 resultobj
= SWIG_Py_Void();
4509 if (SWIG_IsTmpObj(res2
)) {
4510 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
4512 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
4513 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
4515 if (SWIG_IsTmpObj(res3
)) {
4516 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
4518 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
4519 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
4527 SWIGINTERN PyObject
*_wrap_ScrolledWindow_EnableScrolling(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4528 PyObject
*resultobj
= 0;
4529 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
4538 PyObject
* obj0
= 0 ;
4539 PyObject
* obj1
= 0 ;
4540 PyObject
* obj2
= 0 ;
4541 char * kwnames
[] = {
4542 (char *) "self",(char *) "x_scrolling",(char *) "y_scrolling", NULL
4545 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ScrolledWindow_EnableScrolling",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
4546 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 | 0 );
4547 if (!SWIG_IsOK(res1
)) {
4548 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_EnableScrolling" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
4550 arg1
= reinterpret_cast< wxScrolledWindow
* >(argp1
);
4551 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
4552 if (!SWIG_IsOK(ecode2
)) {
4553 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ScrolledWindow_EnableScrolling" "', expected argument " "2"" of type '" "bool""'");
4555 arg2
= static_cast< bool >(val2
);
4556 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
4557 if (!SWIG_IsOK(ecode3
)) {
4558 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ScrolledWindow_EnableScrolling" "', expected argument " "3"" of type '" "bool""'");
4560 arg3
= static_cast< bool >(val3
);
4562 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4563 (arg1
)->EnableScrolling(arg2
,arg3
);
4564 wxPyEndAllowThreads(__tstate
);
4565 if (PyErr_Occurred()) SWIG_fail
;
4567 resultobj
= SWIG_Py_Void();
4574 SWIGINTERN PyObject
*_wrap_ScrolledWindow_GetViewStart(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4575 PyObject
*resultobj
= 0;
4576 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
4577 int *arg2
= (int *) 0 ;
4578 int *arg3
= (int *) 0 ;
4582 int res2
= SWIG_TMPOBJ
;
4584 int res3
= SWIG_TMPOBJ
;
4585 PyObject
*swig_obj
[1] ;
4589 if (!args
) SWIG_fail
;
4591 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 | 0 );
4592 if (!SWIG_IsOK(res1
)) {
4593 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_GetViewStart" "', expected argument " "1"" of type '" "wxScrolledWindow const *""'");
4595 arg1
= reinterpret_cast< wxScrolledWindow
* >(argp1
);
4597 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4598 ((wxScrolledWindow
const *)arg1
)->GetViewStart(arg2
,arg3
);
4599 wxPyEndAllowThreads(__tstate
);
4600 if (PyErr_Occurred()) SWIG_fail
;
4602 resultobj
= SWIG_Py_Void();
4603 if (SWIG_IsTmpObj(res2
)) {
4604 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
4606 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
4607 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
4609 if (SWIG_IsTmpObj(res3
)) {
4610 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
4612 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
4613 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
4621 SWIGINTERN PyObject
*_wrap_ScrolledWindow_SetScale(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4622 PyObject
*resultobj
= 0;
4623 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
4632 PyObject
* obj0
= 0 ;
4633 PyObject
* obj1
= 0 ;
4634 PyObject
* obj2
= 0 ;
4635 char * kwnames
[] = {
4636 (char *) "self",(char *) "xs",(char *) "ys", NULL
4639 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ScrolledWindow_SetScale",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
4640 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 | 0 );
4641 if (!SWIG_IsOK(res1
)) {
4642 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_SetScale" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
4644 arg1
= reinterpret_cast< wxScrolledWindow
* >(argp1
);
4645 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
4646 if (!SWIG_IsOK(ecode2
)) {
4647 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ScrolledWindow_SetScale" "', expected argument " "2"" of type '" "double""'");
4649 arg2
= static_cast< double >(val2
);
4650 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
4651 if (!SWIG_IsOK(ecode3
)) {
4652 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ScrolledWindow_SetScale" "', expected argument " "3"" of type '" "double""'");
4654 arg3
= static_cast< double >(val3
);
4656 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4657 (arg1
)->SetScale(arg2
,arg3
);
4658 wxPyEndAllowThreads(__tstate
);
4659 if (PyErr_Occurred()) SWIG_fail
;
4661 resultobj
= SWIG_Py_Void();
4668 SWIGINTERN PyObject
*_wrap_ScrolledWindow_GetScaleX(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4669 PyObject
*resultobj
= 0;
4670 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
4674 PyObject
*swig_obj
[1] ;
4676 if (!args
) SWIG_fail
;
4678 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 | 0 );
4679 if (!SWIG_IsOK(res1
)) {
4680 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_GetScaleX" "', expected argument " "1"" of type '" "wxScrolledWindow const *""'");
4682 arg1
= reinterpret_cast< wxScrolledWindow
* >(argp1
);
4684 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4685 result
= (double)((wxScrolledWindow
const *)arg1
)->GetScaleX();
4686 wxPyEndAllowThreads(__tstate
);
4687 if (PyErr_Occurred()) SWIG_fail
;
4689 resultobj
= SWIG_From_double(static_cast< double >(result
));
4696 SWIGINTERN PyObject
*_wrap_ScrolledWindow_GetScaleY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4697 PyObject
*resultobj
= 0;
4698 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
4702 PyObject
*swig_obj
[1] ;
4704 if (!args
) SWIG_fail
;
4706 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 | 0 );
4707 if (!SWIG_IsOK(res1
)) {
4708 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_GetScaleY" "', expected argument " "1"" of type '" "wxScrolledWindow const *""'");
4710 arg1
= reinterpret_cast< wxScrolledWindow
* >(argp1
);
4712 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4713 result
= (double)((wxScrolledWindow
const *)arg1
)->GetScaleY();
4714 wxPyEndAllowThreads(__tstate
);
4715 if (PyErr_Occurred()) SWIG_fail
;
4717 resultobj
= SWIG_From_double(static_cast< double >(result
));
4724 SWIGINTERN PyObject
*_wrap_ScrolledWindow_CalcScrolledPosition__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
4725 PyObject
*resultobj
= 0;
4726 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
4733 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
4734 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 | 0 );
4735 if (!SWIG_IsOK(res1
)) {
4736 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_CalcScrolledPosition" "', expected argument " "1"" of type '" "wxScrolledWindow const *""'");
4738 arg1
= reinterpret_cast< wxScrolledWindow
* >(argp1
);
4741 if ( ! wxPoint_helper(swig_obj
[1], &arg2
)) SWIG_fail
;
4744 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4745 result
= ((wxScrolledWindow
const *)arg1
)->CalcScrolledPosition((wxPoint
const &)*arg2
);
4746 wxPyEndAllowThreads(__tstate
);
4747 if (PyErr_Occurred()) SWIG_fail
;
4749 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
4756 SWIGINTERN PyObject
*_wrap_ScrolledWindow_CalcScrolledPosition__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
4757 PyObject
*resultobj
= 0;
4758 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
4761 int *arg4
= (int *) 0 ;
4762 int *arg5
= (int *) 0 ;
4770 int res4
= SWIG_TMPOBJ
;
4772 int res5
= SWIG_TMPOBJ
;
4776 if ((nobjs
< 3) || (nobjs
> 3)) SWIG_fail
;
4777 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 | 0 );
4778 if (!SWIG_IsOK(res1
)) {
4779 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_CalcScrolledPosition" "', expected argument " "1"" of type '" "wxScrolledWindow const *""'");
4781 arg1
= reinterpret_cast< wxScrolledWindow
* >(argp1
);
4782 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
4783 if (!SWIG_IsOK(ecode2
)) {
4784 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ScrolledWindow_CalcScrolledPosition" "', expected argument " "2"" of type '" "int""'");
4786 arg2
= static_cast< int >(val2
);
4787 ecode3
= SWIG_AsVal_int(swig_obj
[2], &val3
);
4788 if (!SWIG_IsOK(ecode3
)) {
4789 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ScrolledWindow_CalcScrolledPosition" "', expected argument " "3"" of type '" "int""'");
4791 arg3
= static_cast< int >(val3
);
4793 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4794 ((wxScrolledWindow
const *)arg1
)->CalcScrolledPosition(arg2
,arg3
,arg4
,arg5
);
4795 wxPyEndAllowThreads(__tstate
);
4796 if (PyErr_Occurred()) SWIG_fail
;
4798 resultobj
= SWIG_Py_Void();
4799 if (SWIG_IsTmpObj(res4
)) {
4800 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg4
)));
4802 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
4803 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, new_flags
));
4805 if (SWIG_IsTmpObj(res5
)) {
4806 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg5
)));
4808 int new_flags
= SWIG_IsNewObj(res5
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
4809 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg5
), SWIGTYPE_p_int
, new_flags
));
4817 SWIGINTERN PyObject
*_wrap_ScrolledWindow_CalcScrolledPosition(PyObject
*self
, PyObject
*args
) {
4821 if (!(argc
= SWIG_Python_UnpackTuple(args
,"ScrolledWindow_CalcScrolledPosition",0,3,argv
))) SWIG_fail
;
4824 return _wrap_ScrolledWindow_CalcScrolledPosition__SWIG_0(self
, argc
, argv
);
4827 return _wrap_ScrolledWindow_CalcScrolledPosition__SWIG_1(self
, argc
, argv
);
4831 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'ScrolledWindow_CalcScrolledPosition'");
4836 SWIGINTERN PyObject
*_wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
4837 PyObject
*resultobj
= 0;
4838 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
4845 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
4846 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 | 0 );
4847 if (!SWIG_IsOK(res1
)) {
4848 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_CalcUnscrolledPosition" "', expected argument " "1"" of type '" "wxScrolledWindow const *""'");
4850 arg1
= reinterpret_cast< wxScrolledWindow
* >(argp1
);
4853 if ( ! wxPoint_helper(swig_obj
[1], &arg2
)) SWIG_fail
;
4856 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4857 result
= ((wxScrolledWindow
const *)arg1
)->CalcUnscrolledPosition((wxPoint
const &)*arg2
);
4858 wxPyEndAllowThreads(__tstate
);
4859 if (PyErr_Occurred()) SWIG_fail
;
4861 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
4868 SWIGINTERN PyObject
*_wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
4869 PyObject
*resultobj
= 0;
4870 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
4873 int *arg4
= (int *) 0 ;
4874 int *arg5
= (int *) 0 ;
4882 int res4
= SWIG_TMPOBJ
;
4884 int res5
= SWIG_TMPOBJ
;
4888 if ((nobjs
< 3) || (nobjs
> 3)) SWIG_fail
;
4889 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 | 0 );
4890 if (!SWIG_IsOK(res1
)) {
4891 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_CalcUnscrolledPosition" "', expected argument " "1"" of type '" "wxScrolledWindow const *""'");
4893 arg1
= reinterpret_cast< wxScrolledWindow
* >(argp1
);
4894 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
4895 if (!SWIG_IsOK(ecode2
)) {
4896 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ScrolledWindow_CalcUnscrolledPosition" "', expected argument " "2"" of type '" "int""'");
4898 arg2
= static_cast< int >(val2
);
4899 ecode3
= SWIG_AsVal_int(swig_obj
[2], &val3
);
4900 if (!SWIG_IsOK(ecode3
)) {
4901 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ScrolledWindow_CalcUnscrolledPosition" "', expected argument " "3"" of type '" "int""'");
4903 arg3
= static_cast< int >(val3
);
4905 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4906 ((wxScrolledWindow
const *)arg1
)->CalcUnscrolledPosition(arg2
,arg3
,arg4
,arg5
);
4907 wxPyEndAllowThreads(__tstate
);
4908 if (PyErr_Occurred()) SWIG_fail
;
4910 resultobj
= SWIG_Py_Void();
4911 if (SWIG_IsTmpObj(res4
)) {
4912 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg4
)));
4914 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
4915 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, new_flags
));
4917 if (SWIG_IsTmpObj(res5
)) {
4918 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg5
)));
4920 int new_flags
= SWIG_IsNewObj(res5
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
4921 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg5
), SWIGTYPE_p_int
, new_flags
));
4929 SWIGINTERN PyObject
*_wrap_ScrolledWindow_CalcUnscrolledPosition(PyObject
*self
, PyObject
*args
) {
4933 if (!(argc
= SWIG_Python_UnpackTuple(args
,"ScrolledWindow_CalcUnscrolledPosition",0,3,argv
))) SWIG_fail
;
4936 return _wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_0(self
, argc
, argv
);
4939 return _wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_1(self
, argc
, argv
);
4943 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'ScrolledWindow_CalcUnscrolledPosition'");
4948 SWIGINTERN PyObject
*_wrap_ScrolledWindow_AdjustScrollbars(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4949 PyObject
*resultobj
= 0;
4950 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
4953 PyObject
*swig_obj
[1] ;
4955 if (!args
) SWIG_fail
;
4957 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 | 0 );
4958 if (!SWIG_IsOK(res1
)) {
4959 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_AdjustScrollbars" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
4961 arg1
= reinterpret_cast< wxScrolledWindow
* >(argp1
);
4963 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4964 (arg1
)->AdjustScrollbars();
4965 wxPyEndAllowThreads(__tstate
);
4966 if (PyErr_Occurred()) SWIG_fail
;
4968 resultobj
= SWIG_Py_Void();
4975 SWIGINTERN PyObject
*_wrap_ScrolledWindow_CalcScrollInc(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4976 PyObject
*resultobj
= 0;
4977 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
4978 wxScrollWinEvent
*arg2
= 0 ;
4984 PyObject
* obj0
= 0 ;
4985 PyObject
* obj1
= 0 ;
4986 char * kwnames
[] = {
4987 (char *) "self",(char *) "event", NULL
4990 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScrolledWindow_CalcScrollInc",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4991 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 | 0 );
4992 if (!SWIG_IsOK(res1
)) {
4993 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_CalcScrollInc" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
4995 arg1
= reinterpret_cast< wxScrolledWindow
* >(argp1
);
4996 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxScrollWinEvent
, 0 );
4997 if (!SWIG_IsOK(res2
)) {
4998 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ScrolledWindow_CalcScrollInc" "', expected argument " "2"" of type '" "wxScrollWinEvent &""'");
5001 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ScrolledWindow_CalcScrollInc" "', expected argument " "2"" of type '" "wxScrollWinEvent &""'");
5003 arg2
= reinterpret_cast< wxScrollWinEvent
* >(argp2
);
5005 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5006 result
= (int)(arg1
)->CalcScrollInc(*arg2
);
5007 wxPyEndAllowThreads(__tstate
);
5008 if (PyErr_Occurred()) SWIG_fail
;
5010 resultobj
= SWIG_From_int(static_cast< int >(result
));
5017 SWIGINTERN PyObject
*_wrap_ScrolledWindow_SetTargetWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5018 PyObject
*resultobj
= 0;
5019 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
5020 wxWindow
*arg2
= (wxWindow
*) 0 ;
5025 PyObject
* obj0
= 0 ;
5026 PyObject
* obj1
= 0 ;
5027 char * kwnames
[] = {
5028 (char *) "self",(char *) "target", NULL
5031 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScrolledWindow_SetTargetWindow",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5032 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 | 0 );
5033 if (!SWIG_IsOK(res1
)) {
5034 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_SetTargetWindow" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
5036 arg1
= reinterpret_cast< wxScrolledWindow
* >(argp1
);
5037 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
5038 if (!SWIG_IsOK(res2
)) {
5039 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ScrolledWindow_SetTargetWindow" "', expected argument " "2"" of type '" "wxWindow *""'");
5041 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
5043 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5044 (arg1
)->SetTargetWindow(arg2
);
5045 wxPyEndAllowThreads(__tstate
);
5046 if (PyErr_Occurred()) SWIG_fail
;
5048 resultobj
= SWIG_Py_Void();
5055 SWIGINTERN PyObject
*_wrap_ScrolledWindow_GetTargetWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5056 PyObject
*resultobj
= 0;
5057 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
5058 wxWindow
*result
= 0 ;
5061 PyObject
*swig_obj
[1] ;
5063 if (!args
) SWIG_fail
;
5065 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 | 0 );
5066 if (!SWIG_IsOK(res1
)) {
5067 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_GetTargetWindow" "', expected argument " "1"" of type '" "wxScrolledWindow const *""'");
5069 arg1
= reinterpret_cast< wxScrolledWindow
* >(argp1
);
5071 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5072 result
= (wxWindow
*)((wxScrolledWindow
const *)arg1
)->GetTargetWindow();
5073 wxPyEndAllowThreads(__tstate
);
5074 if (PyErr_Occurred()) SWIG_fail
;
5077 resultobj
= wxPyMake_wxObject(result
, 0);
5085 SWIGINTERN PyObject
*_wrap_ScrolledWindow_SetTargetRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5086 PyObject
*resultobj
= 0;
5087 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
5092 PyObject
* obj0
= 0 ;
5093 PyObject
* obj1
= 0 ;
5094 char * kwnames
[] = {
5095 (char *) "self",(char *) "rect", NULL
5098 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScrolledWindow_SetTargetRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5099 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 | 0 );
5100 if (!SWIG_IsOK(res1
)) {
5101 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_SetTargetRect" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
5103 arg1
= reinterpret_cast< wxScrolledWindow
* >(argp1
);
5106 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
5109 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5110 (arg1
)->SetTargetRect((wxRect
const &)*arg2
);
5111 wxPyEndAllowThreads(__tstate
);
5112 if (PyErr_Occurred()) SWIG_fail
;
5114 resultobj
= SWIG_Py_Void();
5121 SWIGINTERN PyObject
*_wrap_ScrolledWindow_GetTargetRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5122 PyObject
*resultobj
= 0;
5123 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
5127 PyObject
*swig_obj
[1] ;
5129 if (!args
) SWIG_fail
;
5131 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 | 0 );
5132 if (!SWIG_IsOK(res1
)) {
5133 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_GetTargetRect" "', expected argument " "1"" of type '" "wxScrolledWindow const *""'");
5135 arg1
= reinterpret_cast< wxScrolledWindow
* >(argp1
);
5137 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5138 result
= ((wxScrolledWindow
const *)arg1
)->GetTargetRect();
5139 wxPyEndAllowThreads(__tstate
);
5140 if (PyErr_Occurred()) SWIG_fail
;
5142 resultobj
= SWIG_NewPointerObj((new wxRect(static_cast< const wxRect
& >(result
))), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN
| 0 );
5149 SWIGINTERN PyObject
*_wrap_ScrolledWindow_DoPrepareDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5150 PyObject
*resultobj
= 0;
5151 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
5157 PyObject
* obj0
= 0 ;
5158 PyObject
* obj1
= 0 ;
5159 char * kwnames
[] = {
5160 (char *) "self",(char *) "dc", NULL
5163 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScrolledWindow_DoPrepareDC",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5164 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 | 0 );
5165 if (!SWIG_IsOK(res1
)) {
5166 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_DoPrepareDC" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
5168 arg1
= reinterpret_cast< wxScrolledWindow
* >(argp1
);
5169 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDC
, 0 );
5170 if (!SWIG_IsOK(res2
)) {
5171 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ScrolledWindow_DoPrepareDC" "', expected argument " "2"" of type '" "wxDC &""'");
5174 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ScrolledWindow_DoPrepareDC" "', expected argument " "2"" of type '" "wxDC &""'");
5176 arg2
= reinterpret_cast< wxDC
* >(argp2
);
5178 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5179 (arg1
)->DoPrepareDC(*arg2
);
5180 wxPyEndAllowThreads(__tstate
);
5181 if (PyErr_Occurred()) SWIG_fail
;
5183 resultobj
= SWIG_Py_Void();
5190 SWIGINTERN PyObject
*_wrap_ScrolledWindow_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5191 PyObject
*resultobj
= 0;
5192 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
5193 SwigValueWrapper
<wxVisualAttributes
> result
;
5196 PyObject
* obj0
= 0 ;
5197 char * kwnames
[] = {
5198 (char *) "variant", NULL
5201 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:ScrolledWindow_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
5203 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
5204 if (!SWIG_IsOK(ecode1
)) {
5205 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "ScrolledWindow_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
5207 arg1
= static_cast< wxWindowVariant
>(val1
);
5210 if (!wxPyCheckForApp()) SWIG_fail
;
5211 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5212 result
= wxScrolledWindow::GetClassDefaultAttributes(arg1
);
5213 wxPyEndAllowThreads(__tstate
);
5214 if (PyErr_Occurred()) SWIG_fail
;
5216 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
5223 SWIGINTERN PyObject
*ScrolledWindow_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5225 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
5226 SWIG_TypeNewClientData(SWIGTYPE_p_wxScrolledWindow
, SWIG_NewClientData(obj
));
5227 return SWIG_Py_Void();
5230 SWIGINTERN PyObject
*ScrolledWindow_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5231 return SWIG_Python_InitShadowInstance(args
);
5234 SWIGINTERN
int FrameNameStr_set(PyObject
*) {
5235 SWIG_Error(SWIG_AttributeError
,"Variable FrameNameStr is read-only.");
5240 SWIGINTERN PyObject
*FrameNameStr_get(void) {
5241 PyObject
*pyobj
= 0;
5245 pyobj
= PyUnicode_FromWideChar((&wxPyFrameNameStr
)->c_str(), (&wxPyFrameNameStr
)->Len());
5247 pyobj
= PyString_FromStringAndSize((&wxPyFrameNameStr
)->c_str(), (&wxPyFrameNameStr
)->Len());
5254 SWIGINTERN
int DialogNameStr_set(PyObject
*) {
5255 SWIG_Error(SWIG_AttributeError
,"Variable DialogNameStr is read-only.");
5260 SWIGINTERN PyObject
*DialogNameStr_get(void) {
5261 PyObject
*pyobj
= 0;
5265 pyobj
= PyUnicode_FromWideChar((&wxPyDialogNameStr
)->c_str(), (&wxPyDialogNameStr
)->Len());
5267 pyobj
= PyString_FromStringAndSize((&wxPyDialogNameStr
)->c_str(), (&wxPyDialogNameStr
)->Len());
5274 SWIGINTERN
int StatusLineNameStr_set(PyObject
*) {
5275 SWIG_Error(SWIG_AttributeError
,"Variable StatusLineNameStr is read-only.");
5280 SWIGINTERN PyObject
*StatusLineNameStr_get(void) {
5281 PyObject
*pyobj
= 0;
5285 pyobj
= PyUnicode_FromWideChar((&wxPyStatusLineNameStr
)->c_str(), (&wxPyStatusLineNameStr
)->Len());
5287 pyobj
= PyString_FromStringAndSize((&wxPyStatusLineNameStr
)->c_str(), (&wxPyStatusLineNameStr
)->Len());
5294 SWIGINTERN
int ToolBarNameStr_set(PyObject
*) {
5295 SWIG_Error(SWIG_AttributeError
,"Variable ToolBarNameStr is read-only.");
5300 SWIGINTERN PyObject
*ToolBarNameStr_get(void) {
5301 PyObject
*pyobj
= 0;
5305 pyobj
= PyUnicode_FromWideChar((&wxPyToolBarNameStr
)->c_str(), (&wxPyToolBarNameStr
)->Len());
5307 pyobj
= PyString_FromStringAndSize((&wxPyToolBarNameStr
)->c_str(), (&wxPyToolBarNameStr
)->Len());
5314 SWIGINTERN PyObject
*_wrap_TopLevelWindow_Maximize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5315 PyObject
*resultobj
= 0;
5316 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
5317 bool arg2
= (bool) true ;
5322 PyObject
* obj0
= 0 ;
5323 PyObject
* obj1
= 0 ;
5324 char * kwnames
[] = {
5325 (char *) "self",(char *) "maximize", NULL
5328 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:TopLevelWindow_Maximize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5329 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 | 0 );
5330 if (!SWIG_IsOK(res1
)) {
5331 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_Maximize" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5333 arg1
= reinterpret_cast< wxTopLevelWindow
* >(argp1
);
5335 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
5336 if (!SWIG_IsOK(ecode2
)) {
5337 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TopLevelWindow_Maximize" "', expected argument " "2"" of type '" "bool""'");
5339 arg2
= static_cast< bool >(val2
);
5342 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5343 (arg1
)->Maximize(arg2
);
5344 wxPyEndAllowThreads(__tstate
);
5345 if (PyErr_Occurred()) SWIG_fail
;
5347 resultobj
= SWIG_Py_Void();
5354 SWIGINTERN PyObject
*_wrap_TopLevelWindow_Restore(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5355 PyObject
*resultobj
= 0;
5356 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
5359 PyObject
*swig_obj
[1] ;
5361 if (!args
) SWIG_fail
;
5363 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 | 0 );
5364 if (!SWIG_IsOK(res1
)) {
5365 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_Restore" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5367 arg1
= reinterpret_cast< wxTopLevelWindow
* >(argp1
);
5369 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5371 wxPyEndAllowThreads(__tstate
);
5372 if (PyErr_Occurred()) SWIG_fail
;
5374 resultobj
= SWIG_Py_Void();
5381 SWIGINTERN PyObject
*_wrap_TopLevelWindow_Iconize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5382 PyObject
*resultobj
= 0;
5383 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
5384 bool arg2
= (bool) true ;
5389 PyObject
* obj0
= 0 ;
5390 PyObject
* obj1
= 0 ;
5391 char * kwnames
[] = {
5392 (char *) "self",(char *) "iconize", NULL
5395 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:TopLevelWindow_Iconize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5396 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 | 0 );
5397 if (!SWIG_IsOK(res1
)) {
5398 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_Iconize" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5400 arg1
= reinterpret_cast< wxTopLevelWindow
* >(argp1
);
5402 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
5403 if (!SWIG_IsOK(ecode2
)) {
5404 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TopLevelWindow_Iconize" "', expected argument " "2"" of type '" "bool""'");
5406 arg2
= static_cast< bool >(val2
);
5409 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5410 (arg1
)->Iconize(arg2
);
5411 wxPyEndAllowThreads(__tstate
);
5412 if (PyErr_Occurred()) SWIG_fail
;
5414 resultobj
= SWIG_Py_Void();
5421 SWIGINTERN PyObject
*_wrap_TopLevelWindow_IsMaximized(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5422 PyObject
*resultobj
= 0;
5423 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
5427 PyObject
*swig_obj
[1] ;
5429 if (!args
) SWIG_fail
;
5431 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 | 0 );
5432 if (!SWIG_IsOK(res1
)) {
5433 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_IsMaximized" "', expected argument " "1"" of type '" "wxTopLevelWindow const *""'");
5435 arg1
= reinterpret_cast< wxTopLevelWindow
* >(argp1
);
5437 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5438 result
= (bool)((wxTopLevelWindow
const *)arg1
)->IsMaximized();
5439 wxPyEndAllowThreads(__tstate
);
5440 if (PyErr_Occurred()) SWIG_fail
;
5443 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5451 SWIGINTERN PyObject
*_wrap_TopLevelWindow_IsIconized(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5452 PyObject
*resultobj
= 0;
5453 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
5457 PyObject
*swig_obj
[1] ;
5459 if (!args
) SWIG_fail
;
5461 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 | 0 );
5462 if (!SWIG_IsOK(res1
)) {
5463 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_IsIconized" "', expected argument " "1"" of type '" "wxTopLevelWindow const *""'");
5465 arg1
= reinterpret_cast< wxTopLevelWindow
* >(argp1
);
5467 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5468 result
= (bool)((wxTopLevelWindow
const *)arg1
)->IsIconized();
5469 wxPyEndAllowThreads(__tstate
);
5470 if (PyErr_Occurred()) SWIG_fail
;
5473 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5481 SWIGINTERN PyObject
*_wrap_TopLevelWindow_GetIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5482 PyObject
*resultobj
= 0;
5483 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
5487 PyObject
*swig_obj
[1] ;
5489 if (!args
) SWIG_fail
;
5491 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 | 0 );
5492 if (!SWIG_IsOK(res1
)) {
5493 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_GetIcon" "', expected argument " "1"" of type '" "wxTopLevelWindow const *""'");
5495 arg1
= reinterpret_cast< wxTopLevelWindow
* >(argp1
);
5497 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5498 result
= ((wxTopLevelWindow
const *)arg1
)->GetIcon();
5499 wxPyEndAllowThreads(__tstate
);
5500 if (PyErr_Occurred()) SWIG_fail
;
5502 resultobj
= SWIG_NewPointerObj((new wxIcon(static_cast< const wxIcon
& >(result
))), SWIGTYPE_p_wxIcon
, SWIG_POINTER_OWN
| 0 );
5509 SWIGINTERN PyObject
*_wrap_TopLevelWindow_SetIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5510 PyObject
*resultobj
= 0;
5511 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
5517 PyObject
* obj0
= 0 ;
5518 PyObject
* obj1
= 0 ;
5519 char * kwnames
[] = {
5520 (char *) "self",(char *) "icon", NULL
5523 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TopLevelWindow_SetIcon",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5524 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 | 0 );
5525 if (!SWIG_IsOK(res1
)) {
5526 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_SetIcon" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5528 arg1
= reinterpret_cast< wxTopLevelWindow
* >(argp1
);
5529 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxIcon
, 0 | 0);
5530 if (!SWIG_IsOK(res2
)) {
5531 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TopLevelWindow_SetIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
5534 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TopLevelWindow_SetIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
5536 arg2
= reinterpret_cast< wxIcon
* >(argp2
);
5538 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5539 (arg1
)->SetIcon((wxIcon
const &)*arg2
);
5540 wxPyEndAllowThreads(__tstate
);
5541 if (PyErr_Occurred()) SWIG_fail
;
5543 resultobj
= SWIG_Py_Void();
5550 SWIGINTERN PyObject
*_wrap_TopLevelWindow_SetIcons(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5551 PyObject
*resultobj
= 0;
5552 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
5553 wxIconBundle
*arg2
= 0 ;
5558 PyObject
* obj0
= 0 ;
5559 PyObject
* obj1
= 0 ;
5560 char * kwnames
[] = {
5561 (char *) "self",(char *) "icons", NULL
5564 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TopLevelWindow_SetIcons",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5565 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 | 0 );
5566 if (!SWIG_IsOK(res1
)) {
5567 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_SetIcons" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5569 arg1
= reinterpret_cast< wxTopLevelWindow
* >(argp1
);
5570 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxIconBundle
, 0 | 0);
5571 if (!SWIG_IsOK(res2
)) {
5572 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TopLevelWindow_SetIcons" "', expected argument " "2"" of type '" "wxIconBundle const &""'");
5575 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TopLevelWindow_SetIcons" "', expected argument " "2"" of type '" "wxIconBundle const &""'");
5577 arg2
= reinterpret_cast< wxIconBundle
* >(argp2
);
5579 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5580 (arg1
)->SetIcons((wxIconBundle
const &)*arg2
);
5581 wxPyEndAllowThreads(__tstate
);
5582 if (PyErr_Occurred()) SWIG_fail
;
5584 resultobj
= SWIG_Py_Void();
5591 SWIGINTERN PyObject
*_wrap_TopLevelWindow_ShowFullScreen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5592 PyObject
*resultobj
= 0;
5593 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
5595 long arg3
= (long) wxFULLSCREEN_ALL
;
5603 PyObject
* obj0
= 0 ;
5604 PyObject
* obj1
= 0 ;
5605 PyObject
* obj2
= 0 ;
5606 char * kwnames
[] = {
5607 (char *) "self",(char *) "show",(char *) "style", NULL
5610 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TopLevelWindow_ShowFullScreen",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
5611 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 | 0 );
5612 if (!SWIG_IsOK(res1
)) {
5613 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_ShowFullScreen" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5615 arg1
= reinterpret_cast< wxTopLevelWindow
* >(argp1
);
5616 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
5617 if (!SWIG_IsOK(ecode2
)) {
5618 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TopLevelWindow_ShowFullScreen" "', expected argument " "2"" of type '" "bool""'");
5620 arg2
= static_cast< bool >(val2
);
5622 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
5623 if (!SWIG_IsOK(ecode3
)) {
5624 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TopLevelWindow_ShowFullScreen" "', expected argument " "3"" of type '" "long""'");
5626 arg3
= static_cast< long >(val3
);
5629 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5630 result
= (bool)(arg1
)->ShowFullScreen(arg2
,arg3
);
5631 wxPyEndAllowThreads(__tstate
);
5632 if (PyErr_Occurred()) SWIG_fail
;
5635 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5643 SWIGINTERN PyObject
*_wrap_TopLevelWindow_IsFullScreen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5644 PyObject
*resultobj
= 0;
5645 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
5649 PyObject
*swig_obj
[1] ;
5651 if (!args
) SWIG_fail
;
5653 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 | 0 );
5654 if (!SWIG_IsOK(res1
)) {
5655 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_IsFullScreen" "', expected argument " "1"" of type '" "wxTopLevelWindow const *""'");
5657 arg1
= reinterpret_cast< wxTopLevelWindow
* >(argp1
);
5659 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5660 result
= (bool)((wxTopLevelWindow
const *)arg1
)->IsFullScreen();
5661 wxPyEndAllowThreads(__tstate
);
5662 if (PyErr_Occurred()) SWIG_fail
;
5665 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5673 SWIGINTERN PyObject
*_wrap_TopLevelWindow_SetTitle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5674 PyObject
*resultobj
= 0;
5675 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
5676 wxString
*arg2
= 0 ;
5679 bool temp2
= false ;
5680 PyObject
* obj0
= 0 ;
5681 PyObject
* obj1
= 0 ;
5682 char * kwnames
[] = {
5683 (char *) "self",(char *) "title", NULL
5686 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TopLevelWindow_SetTitle",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5687 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 | 0 );
5688 if (!SWIG_IsOK(res1
)) {
5689 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_SetTitle" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5691 arg1
= reinterpret_cast< wxTopLevelWindow
* >(argp1
);
5693 arg2
= wxString_in_helper(obj1
);
5694 if (arg2
== NULL
) SWIG_fail
;
5698 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5699 (arg1
)->SetTitle((wxString
const &)*arg2
);
5700 wxPyEndAllowThreads(__tstate
);
5701 if (PyErr_Occurred()) SWIG_fail
;
5703 resultobj
= SWIG_Py_Void();
5718 SWIGINTERN PyObject
*_wrap_TopLevelWindow_GetTitle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5719 PyObject
*resultobj
= 0;
5720 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
5724 PyObject
*swig_obj
[1] ;
5726 if (!args
) SWIG_fail
;
5728 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 | 0 );
5729 if (!SWIG_IsOK(res1
)) {
5730 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_GetTitle" "', expected argument " "1"" of type '" "wxTopLevelWindow const *""'");
5732 arg1
= reinterpret_cast< wxTopLevelWindow
* >(argp1
);
5734 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5735 result
= ((wxTopLevelWindow
const *)arg1
)->GetTitle();
5736 wxPyEndAllowThreads(__tstate
);
5737 if (PyErr_Occurred()) SWIG_fail
;
5741 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
5743 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
5752 SWIGINTERN PyObject
*_wrap_TopLevelWindow_SetShape(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5753 PyObject
*resultobj
= 0;
5754 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
5755 wxRegion
*arg2
= 0 ;
5761 PyObject
* obj0
= 0 ;
5762 PyObject
* obj1
= 0 ;
5763 char * kwnames
[] = {
5764 (char *) "self",(char *) "region", NULL
5767 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TopLevelWindow_SetShape",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5768 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 | 0 );
5769 if (!SWIG_IsOK(res1
)) {
5770 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_SetShape" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5772 arg1
= reinterpret_cast< wxTopLevelWindow
* >(argp1
);
5773 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxRegion
, 0 | 0);
5774 if (!SWIG_IsOK(res2
)) {
5775 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TopLevelWindow_SetShape" "', expected argument " "2"" of type '" "wxRegion const &""'");
5778 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TopLevelWindow_SetShape" "', expected argument " "2"" of type '" "wxRegion const &""'");
5780 arg2
= reinterpret_cast< wxRegion
* >(argp2
);
5782 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5783 result
= (bool)(arg1
)->SetShape((wxRegion
const &)*arg2
);
5784 wxPyEndAllowThreads(__tstate
);
5785 if (PyErr_Occurred()) SWIG_fail
;
5788 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5796 SWIGINTERN PyObject
*_wrap_TopLevelWindow_RequestUserAttention(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5797 PyObject
*resultobj
= 0;
5798 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
5799 int arg2
= (int) wxUSER_ATTENTION_INFO
;
5804 PyObject
* obj0
= 0 ;
5805 PyObject
* obj1
= 0 ;
5806 char * kwnames
[] = {
5807 (char *) "self",(char *) "flags", NULL
5810 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:TopLevelWindow_RequestUserAttention",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5811 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 | 0 );
5812 if (!SWIG_IsOK(res1
)) {
5813 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_RequestUserAttention" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5815 arg1
= reinterpret_cast< wxTopLevelWindow
* >(argp1
);
5817 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
5818 if (!SWIG_IsOK(ecode2
)) {
5819 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TopLevelWindow_RequestUserAttention" "', expected argument " "2"" of type '" "int""'");
5821 arg2
= static_cast< int >(val2
);
5824 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5825 (arg1
)->RequestUserAttention(arg2
);
5826 wxPyEndAllowThreads(__tstate
);
5827 if (PyErr_Occurred()) SWIG_fail
;
5829 resultobj
= SWIG_Py_Void();
5836 SWIGINTERN PyObject
*_wrap_TopLevelWindow_IsActive(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5837 PyObject
*resultobj
= 0;
5838 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
5842 PyObject
*swig_obj
[1] ;
5844 if (!args
) SWIG_fail
;
5846 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 | 0 );
5847 if (!SWIG_IsOK(res1
)) {
5848 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_IsActive" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5850 arg1
= reinterpret_cast< wxTopLevelWindow
* >(argp1
);
5852 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5853 result
= (bool)(arg1
)->IsActive();
5854 wxPyEndAllowThreads(__tstate
);
5855 if (PyErr_Occurred()) SWIG_fail
;
5858 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5866 SWIGINTERN PyObject
*_wrap_TopLevelWindow_MacSetMetalAppearance(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5867 PyObject
*resultobj
= 0;
5868 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
5874 PyObject
* obj0
= 0 ;
5875 PyObject
* obj1
= 0 ;
5876 char * kwnames
[] = {
5877 (char *) "self",(char *) "on", NULL
5880 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TopLevelWindow_MacSetMetalAppearance",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5881 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 | 0 );
5882 if (!SWIG_IsOK(res1
)) {
5883 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_MacSetMetalAppearance" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5885 arg1
= reinterpret_cast< wxTopLevelWindow
* >(argp1
);
5886 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
5887 if (!SWIG_IsOK(ecode2
)) {
5888 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TopLevelWindow_MacSetMetalAppearance" "', expected argument " "2"" of type '" "bool""'");
5890 arg2
= static_cast< bool >(val2
);
5892 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5893 wxTopLevelWindow_MacSetMetalAppearance(arg1
,arg2
);
5894 wxPyEndAllowThreads(__tstate
);
5895 if (PyErr_Occurred()) SWIG_fail
;
5897 resultobj
= SWIG_Py_Void();
5904 SWIGINTERN PyObject
*_wrap_TopLevelWindow_MacGetMetalAppearance(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5905 PyObject
*resultobj
= 0;
5906 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
5910 PyObject
*swig_obj
[1] ;
5912 if (!args
) SWIG_fail
;
5914 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 | 0 );
5915 if (!SWIG_IsOK(res1
)) {
5916 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_MacGetMetalAppearance" "', expected argument " "1"" of type '" "wxTopLevelWindow const *""'");
5918 arg1
= reinterpret_cast< wxTopLevelWindow
* >(argp1
);
5920 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5921 result
= (bool)wxTopLevelWindow_MacGetMetalAppearance((wxTopLevelWindow
const *)arg1
);
5922 wxPyEndAllowThreads(__tstate
);
5923 if (PyErr_Occurred()) SWIG_fail
;
5926 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5934 SWIGINTERN PyObject
*_wrap_TopLevelWindow_CenterOnScreen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5935 PyObject
*resultobj
= 0;
5936 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
5937 int arg2
= (int) wxBOTH
;
5942 PyObject
* obj0
= 0 ;
5943 PyObject
* obj1
= 0 ;
5944 char * kwnames
[] = {
5945 (char *) "self",(char *) "dir", NULL
5948 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:TopLevelWindow_CenterOnScreen",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5949 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 | 0 );
5950 if (!SWIG_IsOK(res1
)) {
5951 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_CenterOnScreen" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5953 arg1
= reinterpret_cast< wxTopLevelWindow
* >(argp1
);
5955 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
5956 if (!SWIG_IsOK(ecode2
)) {
5957 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TopLevelWindow_CenterOnScreen" "', expected argument " "2"" of type '" "int""'");
5959 arg2
= static_cast< int >(val2
);
5962 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5963 (arg1
)->CenterOnScreen(arg2
);
5964 wxPyEndAllowThreads(__tstate
);
5965 if (PyErr_Occurred()) SWIG_fail
;
5967 resultobj
= SWIG_Py_Void();
5974 SWIGINTERN PyObject
*TopLevelWindow_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5976 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
5977 SWIG_TypeNewClientData(SWIGTYPE_p_wxTopLevelWindow
, SWIG_NewClientData(obj
));
5978 return SWIG_Py_Void();
5981 SWIGINTERN PyObject
*_wrap_new_Frame(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5982 PyObject
*resultobj
= 0;
5983 wxWindow
*arg1
= (wxWindow
*) 0 ;
5984 int arg2
= (int) (int)-1 ;
5985 wxString
const &arg3_defvalue
= wxPyEmptyString
;
5986 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
5987 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
5988 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
5989 wxSize
const &arg5_defvalue
= wxDefaultSize
;
5990 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
5991 long arg6
= (long) wxDEFAULT_FRAME_STYLE
;
5992 wxString
const &arg7_defvalue
= wxPyFrameNameStr
;
5993 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
5994 wxFrame
*result
= 0 ;
5999 bool temp3
= false ;
6004 bool temp7
= false ;
6005 PyObject
* obj0
= 0 ;
6006 PyObject
* obj1
= 0 ;
6007 PyObject
* obj2
= 0 ;
6008 PyObject
* obj3
= 0 ;
6009 PyObject
* obj4
= 0 ;
6010 PyObject
* obj5
= 0 ;
6011 PyObject
* obj6
= 0 ;
6012 char * kwnames
[] = {
6013 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
6016 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_Frame",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
6017 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
6018 if (!SWIG_IsOK(res1
)) {
6019 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_Frame" "', expected argument " "1"" of type '" "wxWindow *""'");
6021 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
6023 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
6024 if (!SWIG_IsOK(ecode2
)) {
6025 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Frame" "', expected argument " "2"" of type '" "int""'");
6027 arg2
= static_cast< int >(val2
);
6031 arg3
= wxString_in_helper(obj2
);
6032 if (arg3
== NULL
) SWIG_fail
;
6039 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
6045 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
6049 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
6050 if (!SWIG_IsOK(ecode6
)) {
6051 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_Frame" "', expected argument " "6"" of type '" "long""'");
6053 arg6
= static_cast< long >(val6
);
6057 arg7
= wxString_in_helper(obj6
);
6058 if (arg7
== NULL
) SWIG_fail
;
6063 if (!wxPyCheckForApp()) SWIG_fail
;
6064 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6065 result
= (wxFrame
*)new wxFrame(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
6066 wxPyEndAllowThreads(__tstate
);
6067 if (PyErr_Occurred()) SWIG_fail
;
6069 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFrame
, SWIG_POINTER_NEW
| 0 );
6092 SWIGINTERN PyObject
*_wrap_new_PreFrame(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6093 PyObject
*resultobj
= 0;
6094 wxFrame
*result
= 0 ;
6096 if (!SWIG_Python_UnpackTuple(args
,"new_PreFrame",0,0,0)) SWIG_fail
;
6098 if (!wxPyCheckForApp()) SWIG_fail
;
6099 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6100 result
= (wxFrame
*)new wxFrame();
6101 wxPyEndAllowThreads(__tstate
);
6102 if (PyErr_Occurred()) SWIG_fail
;
6104 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFrame
, SWIG_POINTER_OWN
| 0 );
6111 SWIGINTERN PyObject
*_wrap_Frame_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6112 PyObject
*resultobj
= 0;
6113 wxFrame
*arg1
= (wxFrame
*) 0 ;
6114 wxWindow
*arg2
= (wxWindow
*) 0 ;
6115 int arg3
= (int) (int)-1 ;
6116 wxString
const &arg4_defvalue
= wxPyEmptyString
;
6117 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
6118 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
6119 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
6120 wxSize
const &arg6_defvalue
= wxDefaultSize
;
6121 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
6122 long arg7
= (long) wxDEFAULT_FRAME_STYLE
;
6123 wxString
const &arg8_defvalue
= wxPyFrameNameStr
;
6124 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
6132 bool temp4
= false ;
6137 bool temp8
= false ;
6138 PyObject
* obj0
= 0 ;
6139 PyObject
* obj1
= 0 ;
6140 PyObject
* obj2
= 0 ;
6141 PyObject
* obj3
= 0 ;
6142 PyObject
* obj4
= 0 ;
6143 PyObject
* obj5
= 0 ;
6144 PyObject
* obj6
= 0 ;
6145 PyObject
* obj7
= 0 ;
6146 char * kwnames
[] = {
6147 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
6150 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:Frame_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
6151 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFrame
, 0 | 0 );
6152 if (!SWIG_IsOK(res1
)) {
6153 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Frame_Create" "', expected argument " "1"" of type '" "wxFrame *""'");
6155 arg1
= reinterpret_cast< wxFrame
* >(argp1
);
6156 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
6157 if (!SWIG_IsOK(res2
)) {
6158 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Frame_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
6160 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
6162 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
6163 if (!SWIG_IsOK(ecode3
)) {
6164 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Frame_Create" "', expected argument " "3"" of type '" "int""'");
6166 arg3
= static_cast< int >(val3
);
6170 arg4
= wxString_in_helper(obj3
);
6171 if (arg4
== NULL
) SWIG_fail
;
6178 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
6184 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
6188 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
6189 if (!SWIG_IsOK(ecode7
)) {
6190 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "Frame_Create" "', expected argument " "7"" of type '" "long""'");
6192 arg7
= static_cast< long >(val7
);
6196 arg8
= wxString_in_helper(obj7
);
6197 if (arg8
== NULL
) SWIG_fail
;
6202 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6203 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
6204 wxPyEndAllowThreads(__tstate
);
6205 if (PyErr_Occurred()) SWIG_fail
;
6208 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6232 SWIGINTERN PyObject
*_wrap_Frame_SendSizeEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6233 PyObject
*resultobj
= 0;
6234 wxFrame
*arg1
= (wxFrame
*) 0 ;
6237 PyObject
*swig_obj
[1] ;
6239 if (!args
) SWIG_fail
;
6241 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFrame
, 0 | 0 );
6242 if (!SWIG_IsOK(res1
)) {
6243 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Frame_SendSizeEvent" "', expected argument " "1"" of type '" "wxFrame *""'");
6245 arg1
= reinterpret_cast< wxFrame
* >(argp1
);
6247 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6248 (arg1
)->SendSizeEvent();
6249 wxPyEndAllowThreads(__tstate
);
6250 if (PyErr_Occurred()) SWIG_fail
;
6252 resultobj
= SWIG_Py_Void();
6259 SWIGINTERN PyObject
*_wrap_Frame_SetMenuBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6260 PyObject
*resultobj
= 0;
6261 wxFrame
*arg1
= (wxFrame
*) 0 ;
6262 wxMenuBar
*arg2
= (wxMenuBar
*) 0 ;
6267 PyObject
* obj0
= 0 ;
6268 PyObject
* obj1
= 0 ;
6269 char * kwnames
[] = {
6270 (char *) "self",(char *) "menubar", NULL
6273 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Frame_SetMenuBar",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6274 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFrame
, 0 | 0 );
6275 if (!SWIG_IsOK(res1
)) {
6276 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Frame_SetMenuBar" "', expected argument " "1"" of type '" "wxFrame *""'");
6278 arg1
= reinterpret_cast< wxFrame
* >(argp1
);
6279 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxMenuBar
, 0 | 0 );
6280 if (!SWIG_IsOK(res2
)) {
6281 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Frame_SetMenuBar" "', expected argument " "2"" of type '" "wxMenuBar *""'");
6283 arg2
= reinterpret_cast< wxMenuBar
* >(argp2
);
6285 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6286 (arg1
)->SetMenuBar(arg2
);
6287 wxPyEndAllowThreads(__tstate
);
6288 if (PyErr_Occurred()) SWIG_fail
;
6290 resultobj
= SWIG_Py_Void();
6297 SWIGINTERN PyObject
*_wrap_Frame_GetMenuBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6298 PyObject
*resultobj
= 0;
6299 wxFrame
*arg1
= (wxFrame
*) 0 ;
6300 wxMenuBar
*result
= 0 ;
6303 PyObject
*swig_obj
[1] ;
6305 if (!args
) SWIG_fail
;
6307 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFrame
, 0 | 0 );
6308 if (!SWIG_IsOK(res1
)) {
6309 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Frame_GetMenuBar" "', expected argument " "1"" of type '" "wxFrame const *""'");
6311 arg1
= reinterpret_cast< wxFrame
* >(argp1
);
6313 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6314 result
= (wxMenuBar
*)((wxFrame
const *)arg1
)->GetMenuBar();
6315 wxPyEndAllowThreads(__tstate
);
6316 if (PyErr_Occurred()) SWIG_fail
;
6319 resultobj
= wxPyMake_wxObject(result
, 0);
6327 SWIGINTERN PyObject
*_wrap_Frame_ProcessCommand(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6328 PyObject
*resultobj
= 0;
6329 wxFrame
*arg1
= (wxFrame
*) 0 ;
6336 PyObject
* obj0
= 0 ;
6337 PyObject
* obj1
= 0 ;
6338 char * kwnames
[] = {
6339 (char *) "self",(char *) "winid", NULL
6342 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Frame_ProcessCommand",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6343 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFrame
, 0 | 0 );
6344 if (!SWIG_IsOK(res1
)) {
6345 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Frame_ProcessCommand" "', expected argument " "1"" of type '" "wxFrame *""'");
6347 arg1
= reinterpret_cast< wxFrame
* >(argp1
);
6348 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
6349 if (!SWIG_IsOK(ecode2
)) {
6350 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Frame_ProcessCommand" "', expected argument " "2"" of type '" "int""'");
6352 arg2
= static_cast< int >(val2
);
6354 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6355 result
= (bool)(arg1
)->ProcessCommand(arg2
);
6356 wxPyEndAllowThreads(__tstate
);
6357 if (PyErr_Occurred()) SWIG_fail
;
6360 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6368 SWIGINTERN PyObject
*_wrap_Frame_CreateStatusBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6369 PyObject
*resultobj
= 0;
6370 wxFrame
*arg1
= (wxFrame
*) 0 ;
6371 int arg2
= (int) 1 ;
6372 long arg3
= (long) wxDEFAULT_STATUSBAR_STYLE
;
6373 int arg4
= (int) 0 ;
6374 wxString
const &arg5_defvalue
= wxPyStatusLineNameStr
;
6375 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
6376 wxStatusBar
*result
= 0 ;
6385 bool temp5
= false ;
6386 PyObject
* obj0
= 0 ;
6387 PyObject
* obj1
= 0 ;
6388 PyObject
* obj2
= 0 ;
6389 PyObject
* obj3
= 0 ;
6390 PyObject
* obj4
= 0 ;
6391 char * kwnames
[] = {
6392 (char *) "self",(char *) "number",(char *) "style",(char *) "winid",(char *) "name", NULL
6395 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOO:Frame_CreateStatusBar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
6396 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFrame
, 0 | 0 );
6397 if (!SWIG_IsOK(res1
)) {
6398 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Frame_CreateStatusBar" "', expected argument " "1"" of type '" "wxFrame *""'");
6400 arg1
= reinterpret_cast< wxFrame
* >(argp1
);
6402 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
6403 if (!SWIG_IsOK(ecode2
)) {
6404 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Frame_CreateStatusBar" "', expected argument " "2"" of type '" "int""'");
6406 arg2
= static_cast< int >(val2
);
6409 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
6410 if (!SWIG_IsOK(ecode3
)) {
6411 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Frame_CreateStatusBar" "', expected argument " "3"" of type '" "long""'");
6413 arg3
= static_cast< long >(val3
);
6416 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
6417 if (!SWIG_IsOK(ecode4
)) {
6418 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Frame_CreateStatusBar" "', expected argument " "4"" of type '" "int""'");
6420 arg4
= static_cast< int >(val4
);
6424 arg5
= wxString_in_helper(obj4
);
6425 if (arg5
== NULL
) SWIG_fail
;
6430 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6431 result
= (wxStatusBar
*)(arg1
)->CreateStatusBar(arg2
,arg3
,arg4
,(wxString
const &)*arg5
);
6432 wxPyEndAllowThreads(__tstate
);
6433 if (PyErr_Occurred()) SWIG_fail
;
6436 resultobj
= wxPyMake_wxObject(result
, (bool)0);
6452 SWIGINTERN PyObject
*_wrap_Frame_GetStatusBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6453 PyObject
*resultobj
= 0;
6454 wxFrame
*arg1
= (wxFrame
*) 0 ;
6455 wxStatusBar
*result
= 0 ;
6458 PyObject
*swig_obj
[1] ;
6460 if (!args
) SWIG_fail
;
6462 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFrame
, 0 | 0 );
6463 if (!SWIG_IsOK(res1
)) {
6464 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Frame_GetStatusBar" "', expected argument " "1"" of type '" "wxFrame const *""'");
6466 arg1
= reinterpret_cast< wxFrame
* >(argp1
);
6468 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6469 result
= (wxStatusBar
*)((wxFrame
const *)arg1
)->GetStatusBar();
6470 wxPyEndAllowThreads(__tstate
);
6471 if (PyErr_Occurred()) SWIG_fail
;
6474 resultobj
= wxPyMake_wxObject(result
, (bool)0);
6482 SWIGINTERN PyObject
*_wrap_Frame_SetStatusBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6483 PyObject
*resultobj
= 0;
6484 wxFrame
*arg1
= (wxFrame
*) 0 ;
6485 wxStatusBar
*arg2
= (wxStatusBar
*) 0 ;
6490 PyObject
* obj0
= 0 ;
6491 PyObject
* obj1
= 0 ;
6492 char * kwnames
[] = {
6493 (char *) "self",(char *) "statBar", NULL
6496 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Frame_SetStatusBar",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6497 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFrame
, 0 | 0 );
6498 if (!SWIG_IsOK(res1
)) {
6499 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Frame_SetStatusBar" "', expected argument " "1"" of type '" "wxFrame *""'");
6501 arg1
= reinterpret_cast< wxFrame
* >(argp1
);
6502 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxStatusBar
, 0 | 0 );
6503 if (!SWIG_IsOK(res2
)) {
6504 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Frame_SetStatusBar" "', expected argument " "2"" of type '" "wxStatusBar *""'");
6506 arg2
= reinterpret_cast< wxStatusBar
* >(argp2
);
6508 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6509 (arg1
)->SetStatusBar(arg2
);
6510 wxPyEndAllowThreads(__tstate
);
6511 if (PyErr_Occurred()) SWIG_fail
;
6513 resultobj
= SWIG_Py_Void();
6520 SWIGINTERN PyObject
*_wrap_Frame_SetStatusText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6521 PyObject
*resultobj
= 0;
6522 wxFrame
*arg1
= (wxFrame
*) 0 ;
6523 wxString
*arg2
= 0 ;
6524 int arg3
= (int) 0 ;
6527 bool temp2
= false ;
6530 PyObject
* obj0
= 0 ;
6531 PyObject
* obj1
= 0 ;
6532 PyObject
* obj2
= 0 ;
6533 char * kwnames
[] = {
6534 (char *) "self",(char *) "text",(char *) "number", NULL
6537 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Frame_SetStatusText",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
6538 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFrame
, 0 | 0 );
6539 if (!SWIG_IsOK(res1
)) {
6540 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Frame_SetStatusText" "', expected argument " "1"" of type '" "wxFrame *""'");
6542 arg1
= reinterpret_cast< wxFrame
* >(argp1
);
6544 arg2
= wxString_in_helper(obj1
);
6545 if (arg2
== NULL
) SWIG_fail
;
6549 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
6550 if (!SWIG_IsOK(ecode3
)) {
6551 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Frame_SetStatusText" "', expected argument " "3"" of type '" "int""'");
6553 arg3
= static_cast< int >(val3
);
6556 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6557 (arg1
)->SetStatusText((wxString
const &)*arg2
,arg3
);
6558 wxPyEndAllowThreads(__tstate
);
6559 if (PyErr_Occurred()) SWIG_fail
;
6561 resultobj
= SWIG_Py_Void();
6576 SWIGINTERN PyObject
*_wrap_Frame_SetStatusWidths(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6577 PyObject
*resultobj
= 0;
6578 wxFrame
*arg1
= (wxFrame
*) 0 ;
6580 int *arg3
= (int *) 0 ;
6583 PyObject
* obj0
= 0 ;
6584 PyObject
* obj1
= 0 ;
6585 char * kwnames
[] = {
6586 (char *) "self",(char *) "widths", NULL
6589 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Frame_SetStatusWidths",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6590 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFrame
, 0 | 0 );
6591 if (!SWIG_IsOK(res1
)) {
6592 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Frame_SetStatusWidths" "', expected argument " "1"" of type '" "wxFrame *""'");
6594 arg1
= reinterpret_cast< wxFrame
* >(argp1
);
6596 arg2
= PyList_Size(obj1
);
6597 arg3
= int_LIST_helper(obj1
);
6598 if (arg3
== NULL
) SWIG_fail
;
6601 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6602 (arg1
)->SetStatusWidths(arg2
,(int const *)arg3
);
6603 wxPyEndAllowThreads(__tstate
);
6604 if (PyErr_Occurred()) SWIG_fail
;
6606 resultobj
= SWIG_Py_Void();
6608 if (arg3
) delete [] arg3
;
6613 if (arg3
) delete [] arg3
;
6619 SWIGINTERN PyObject
*_wrap_Frame_PushStatusText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6620 PyObject
*resultobj
= 0;
6621 wxFrame
*arg1
= (wxFrame
*) 0 ;
6622 wxString
*arg2
= 0 ;
6623 int arg3
= (int) 0 ;
6626 bool temp2
= false ;
6629 PyObject
* obj0
= 0 ;
6630 PyObject
* obj1
= 0 ;
6631 PyObject
* obj2
= 0 ;
6632 char * kwnames
[] = {
6633 (char *) "self",(char *) "text",(char *) "number", NULL
6636 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Frame_PushStatusText",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
6637 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFrame
, 0 | 0 );
6638 if (!SWIG_IsOK(res1
)) {
6639 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Frame_PushStatusText" "', expected argument " "1"" of type '" "wxFrame *""'");
6641 arg1
= reinterpret_cast< wxFrame
* >(argp1
);
6643 arg2
= wxString_in_helper(obj1
);
6644 if (arg2
== NULL
) SWIG_fail
;
6648 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
6649 if (!SWIG_IsOK(ecode3
)) {
6650 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Frame_PushStatusText" "', expected argument " "3"" of type '" "int""'");
6652 arg3
= static_cast< int >(val3
);
6655 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6656 (arg1
)->PushStatusText((wxString
const &)*arg2
,arg3
);
6657 wxPyEndAllowThreads(__tstate
);
6658 if (PyErr_Occurred()) SWIG_fail
;
6660 resultobj
= SWIG_Py_Void();
6675 SWIGINTERN PyObject
*_wrap_Frame_PopStatusText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6676 PyObject
*resultobj
= 0;
6677 wxFrame
*arg1
= (wxFrame
*) 0 ;
6678 int arg2
= (int) 0 ;
6683 PyObject
* obj0
= 0 ;
6684 PyObject
* obj1
= 0 ;
6685 char * kwnames
[] = {
6686 (char *) "self",(char *) "number", NULL
6689 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Frame_PopStatusText",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6690 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFrame
, 0 | 0 );
6691 if (!SWIG_IsOK(res1
)) {
6692 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Frame_PopStatusText" "', expected argument " "1"" of type '" "wxFrame *""'");
6694 arg1
= reinterpret_cast< wxFrame
* >(argp1
);
6696 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
6697 if (!SWIG_IsOK(ecode2
)) {
6698 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Frame_PopStatusText" "', expected argument " "2"" of type '" "int""'");
6700 arg2
= static_cast< int >(val2
);
6703 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6704 (arg1
)->PopStatusText(arg2
);
6705 wxPyEndAllowThreads(__tstate
);
6706 if (PyErr_Occurred()) SWIG_fail
;
6708 resultobj
= SWIG_Py_Void();
6715 SWIGINTERN PyObject
*_wrap_Frame_SetStatusBarPane(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6716 PyObject
*resultobj
= 0;
6717 wxFrame
*arg1
= (wxFrame
*) 0 ;
6723 PyObject
* obj0
= 0 ;
6724 PyObject
* obj1
= 0 ;
6725 char * kwnames
[] = {
6726 (char *) "self",(char *) "n", NULL
6729 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Frame_SetStatusBarPane",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6730 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFrame
, 0 | 0 );
6731 if (!SWIG_IsOK(res1
)) {
6732 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Frame_SetStatusBarPane" "', expected argument " "1"" of type '" "wxFrame *""'");
6734 arg1
= reinterpret_cast< wxFrame
* >(argp1
);
6735 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
6736 if (!SWIG_IsOK(ecode2
)) {
6737 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Frame_SetStatusBarPane" "', expected argument " "2"" of type '" "int""'");
6739 arg2
= static_cast< int >(val2
);
6741 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6742 (arg1
)->SetStatusBarPane(arg2
);
6743 wxPyEndAllowThreads(__tstate
);
6744 if (PyErr_Occurred()) SWIG_fail
;
6746 resultobj
= SWIG_Py_Void();
6753 SWIGINTERN PyObject
*_wrap_Frame_GetStatusBarPane(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6754 PyObject
*resultobj
= 0;
6755 wxFrame
*arg1
= (wxFrame
*) 0 ;
6759 PyObject
*swig_obj
[1] ;
6761 if (!args
) SWIG_fail
;
6763 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFrame
, 0 | 0 );
6764 if (!SWIG_IsOK(res1
)) {
6765 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Frame_GetStatusBarPane" "', expected argument " "1"" of type '" "wxFrame const *""'");
6767 arg1
= reinterpret_cast< wxFrame
* >(argp1
);
6769 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6770 result
= (int)((wxFrame
const *)arg1
)->GetStatusBarPane();
6771 wxPyEndAllowThreads(__tstate
);
6772 if (PyErr_Occurred()) SWIG_fail
;
6774 resultobj
= SWIG_From_int(static_cast< int >(result
));
6781 SWIGINTERN PyObject
*_wrap_Frame_CreateToolBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6782 PyObject
*resultobj
= 0;
6783 wxFrame
*arg1
= (wxFrame
*) 0 ;
6784 long arg2
= (long) -1 ;
6785 int arg3
= (int) -1 ;
6786 wxString
const &arg4_defvalue
= wxPyToolBarNameStr
;
6787 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
6788 wxToolBar
*result
= 0 ;
6795 bool temp4
= false ;
6796 PyObject
* obj0
= 0 ;
6797 PyObject
* obj1
= 0 ;
6798 PyObject
* obj2
= 0 ;
6799 PyObject
* obj3
= 0 ;
6800 char * kwnames
[] = {
6801 (char *) "self",(char *) "style",(char *) "winid",(char *) "name", NULL
6804 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOO:Frame_CreateToolBar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
6805 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFrame
, 0 | 0 );
6806 if (!SWIG_IsOK(res1
)) {
6807 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Frame_CreateToolBar" "', expected argument " "1"" of type '" "wxFrame *""'");
6809 arg1
= reinterpret_cast< wxFrame
* >(argp1
);
6811 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
6812 if (!SWIG_IsOK(ecode2
)) {
6813 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Frame_CreateToolBar" "', expected argument " "2"" of type '" "long""'");
6815 arg2
= static_cast< long >(val2
);
6818 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
6819 if (!SWIG_IsOK(ecode3
)) {
6820 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Frame_CreateToolBar" "', expected argument " "3"" of type '" "int""'");
6822 arg3
= static_cast< int >(val3
);
6826 arg4
= wxString_in_helper(obj3
);
6827 if (arg4
== NULL
) SWIG_fail
;
6832 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6833 result
= (wxToolBar
*)(arg1
)->CreateToolBar(arg2
,arg3
,(wxString
const &)*arg4
);
6834 wxPyEndAllowThreads(__tstate
);
6835 if (PyErr_Occurred()) SWIG_fail
;
6838 resultobj
= wxPyMake_wxObject(result
, (bool)0);
6854 SWIGINTERN PyObject
*_wrap_Frame_GetToolBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6855 PyObject
*resultobj
= 0;
6856 wxFrame
*arg1
= (wxFrame
*) 0 ;
6857 wxToolBar
*result
= 0 ;
6860 PyObject
*swig_obj
[1] ;
6862 if (!args
) SWIG_fail
;
6864 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFrame
, 0 | 0 );
6865 if (!SWIG_IsOK(res1
)) {
6866 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Frame_GetToolBar" "', expected argument " "1"" of type '" "wxFrame const *""'");
6868 arg1
= reinterpret_cast< wxFrame
* >(argp1
);
6870 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6871 result
= (wxToolBar
*)((wxFrame
const *)arg1
)->GetToolBar();
6872 wxPyEndAllowThreads(__tstate
);
6873 if (PyErr_Occurred()) SWIG_fail
;
6876 resultobj
= wxPyMake_wxObject(result
, (bool)0);
6884 SWIGINTERN PyObject
*_wrap_Frame_SetToolBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6885 PyObject
*resultobj
= 0;
6886 wxFrame
*arg1
= (wxFrame
*) 0 ;
6887 wxToolBar
*arg2
= (wxToolBar
*) 0 ;
6892 PyObject
* obj0
= 0 ;
6893 PyObject
* obj1
= 0 ;
6894 char * kwnames
[] = {
6895 (char *) "self",(char *) "toolbar", NULL
6898 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Frame_SetToolBar",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6899 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFrame
, 0 | 0 );
6900 if (!SWIG_IsOK(res1
)) {
6901 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Frame_SetToolBar" "', expected argument " "1"" of type '" "wxFrame *""'");
6903 arg1
= reinterpret_cast< wxFrame
* >(argp1
);
6904 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxToolBar
, 0 | 0 );
6905 if (!SWIG_IsOK(res2
)) {
6906 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Frame_SetToolBar" "', expected argument " "2"" of type '" "wxToolBar *""'");
6908 arg2
= reinterpret_cast< wxToolBar
* >(argp2
);
6910 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6911 (arg1
)->SetToolBar(arg2
);
6912 wxPyEndAllowThreads(__tstate
);
6913 if (PyErr_Occurred()) SWIG_fail
;
6915 resultobj
= SWIG_Py_Void();
6922 SWIGINTERN PyObject
*_wrap_Frame_DoGiveHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6923 PyObject
*resultobj
= 0;
6924 wxFrame
*arg1
= (wxFrame
*) 0 ;
6925 wxString
*arg2
= 0 ;
6929 bool temp2
= false ;
6932 PyObject
* obj0
= 0 ;
6933 PyObject
* obj1
= 0 ;
6934 PyObject
* obj2
= 0 ;
6935 char * kwnames
[] = {
6936 (char *) "self",(char *) "text",(char *) "show", NULL
6939 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Frame_DoGiveHelp",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
6940 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFrame
, 0 | 0 );
6941 if (!SWIG_IsOK(res1
)) {
6942 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Frame_DoGiveHelp" "', expected argument " "1"" of type '" "wxFrame *""'");
6944 arg1
= reinterpret_cast< wxFrame
* >(argp1
);
6946 arg2
= wxString_in_helper(obj1
);
6947 if (arg2
== NULL
) SWIG_fail
;
6950 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
6951 if (!SWIG_IsOK(ecode3
)) {
6952 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Frame_DoGiveHelp" "', expected argument " "3"" of type '" "bool""'");
6954 arg3
= static_cast< bool >(val3
);
6956 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6957 (arg1
)->DoGiveHelp((wxString
const &)*arg2
,arg3
);
6958 wxPyEndAllowThreads(__tstate
);
6959 if (PyErr_Occurred()) SWIG_fail
;
6961 resultobj
= SWIG_Py_Void();
6976 SWIGINTERN PyObject
*_wrap_Frame_DoMenuUpdates(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6977 PyObject
*resultobj
= 0;
6978 wxFrame
*arg1
= (wxFrame
*) 0 ;
6979 wxMenu
*arg2
= (wxMenu
*) NULL
;
6984 PyObject
* obj0
= 0 ;
6985 PyObject
* obj1
= 0 ;
6986 char * kwnames
[] = {
6987 (char *) "self",(char *) "menu", NULL
6990 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Frame_DoMenuUpdates",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6991 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFrame
, 0 | 0 );
6992 if (!SWIG_IsOK(res1
)) {
6993 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Frame_DoMenuUpdates" "', expected argument " "1"" of type '" "wxFrame *""'");
6995 arg1
= reinterpret_cast< wxFrame
* >(argp1
);
6997 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxMenu
, 0 | 0 );
6998 if (!SWIG_IsOK(res2
)) {
6999 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Frame_DoMenuUpdates" "', expected argument " "2"" of type '" "wxMenu *""'");
7001 arg2
= reinterpret_cast< wxMenu
* >(argp2
);
7004 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7005 (arg1
)->DoMenuUpdates(arg2
);
7006 wxPyEndAllowThreads(__tstate
);
7007 if (PyErr_Occurred()) SWIG_fail
;
7009 resultobj
= SWIG_Py_Void();
7016 SWIGINTERN PyObject
*_wrap_Frame_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7017 PyObject
*resultobj
= 0;
7018 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
7019 SwigValueWrapper
<wxVisualAttributes
> result
;
7022 PyObject
* obj0
= 0 ;
7023 char * kwnames
[] = {
7024 (char *) "variant", NULL
7027 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Frame_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
7029 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
7030 if (!SWIG_IsOK(ecode1
)) {
7031 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "Frame_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
7033 arg1
= static_cast< wxWindowVariant
>(val1
);
7036 if (!wxPyCheckForApp()) SWIG_fail
;
7037 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7038 result
= wxFrame::GetClassDefaultAttributes(arg1
);
7039 wxPyEndAllowThreads(__tstate
);
7040 if (PyErr_Occurred()) SWIG_fail
;
7042 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
7049 SWIGINTERN PyObject
*Frame_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7051 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
7052 SWIG_TypeNewClientData(SWIGTYPE_p_wxFrame
, SWIG_NewClientData(obj
));
7053 return SWIG_Py_Void();
7056 SWIGINTERN PyObject
*Frame_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7057 return SWIG_Python_InitShadowInstance(args
);
7060 SWIGINTERN PyObject
*_wrap_new_Dialog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7061 PyObject
*resultobj
= 0;
7062 wxWindow
*arg1
= (wxWindow
*) 0 ;
7063 int arg2
= (int) (int)-1 ;
7064 wxString
const &arg3_defvalue
= wxPyEmptyString
;
7065 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
7066 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
7067 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
7068 wxSize
const &arg5_defvalue
= wxDefaultSize
;
7069 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
7070 long arg6
= (long) wxDEFAULT_DIALOG_STYLE
;
7071 wxString
const &arg7_defvalue
= wxPyDialogNameStr
;
7072 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
7073 wxDialog
*result
= 0 ;
7078 bool temp3
= false ;
7083 bool temp7
= false ;
7084 PyObject
* obj0
= 0 ;
7085 PyObject
* obj1
= 0 ;
7086 PyObject
* obj2
= 0 ;
7087 PyObject
* obj3
= 0 ;
7088 PyObject
* obj4
= 0 ;
7089 PyObject
* obj5
= 0 ;
7090 PyObject
* obj6
= 0 ;
7091 char * kwnames
[] = {
7092 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
7095 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_Dialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
7096 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
7097 if (!SWIG_IsOK(res1
)) {
7098 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_Dialog" "', expected argument " "1"" of type '" "wxWindow *""'");
7100 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
7102 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
7103 if (!SWIG_IsOK(ecode2
)) {
7104 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Dialog" "', expected argument " "2"" of type '" "int""'");
7106 arg2
= static_cast< int >(val2
);
7110 arg3
= wxString_in_helper(obj2
);
7111 if (arg3
== NULL
) SWIG_fail
;
7118 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
7124 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
7128 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
7129 if (!SWIG_IsOK(ecode6
)) {
7130 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_Dialog" "', expected argument " "6"" of type '" "long""'");
7132 arg6
= static_cast< long >(val6
);
7136 arg7
= wxString_in_helper(obj6
);
7137 if (arg7
== NULL
) SWIG_fail
;
7142 if (!wxPyCheckForApp()) SWIG_fail
;
7143 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7144 result
= (wxDialog
*)new wxDialog(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
7145 wxPyEndAllowThreads(__tstate
);
7146 if (PyErr_Occurred()) SWIG_fail
;
7148 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDialog
, SWIG_POINTER_NEW
| 0 );
7171 SWIGINTERN PyObject
*_wrap_new_PreDialog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7172 PyObject
*resultobj
= 0;
7173 wxDialog
*result
= 0 ;
7175 if (!SWIG_Python_UnpackTuple(args
,"new_PreDialog",0,0,0)) SWIG_fail
;
7177 if (!wxPyCheckForApp()) SWIG_fail
;
7178 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7179 result
= (wxDialog
*)new wxDialog();
7180 wxPyEndAllowThreads(__tstate
);
7181 if (PyErr_Occurred()) SWIG_fail
;
7183 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDialog
, SWIG_POINTER_OWN
| 0 );
7190 SWIGINTERN PyObject
*_wrap_Dialog_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7191 PyObject
*resultobj
= 0;
7192 wxDialog
*arg1
= (wxDialog
*) 0 ;
7193 wxWindow
*arg2
= (wxWindow
*) 0 ;
7194 int arg3
= (int) (int)-1 ;
7195 wxString
const &arg4_defvalue
= wxPyEmptyString
;
7196 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
7197 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
7198 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
7199 wxSize
const &arg6_defvalue
= wxDefaultSize
;
7200 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
7201 long arg7
= (long) wxDEFAULT_DIALOG_STYLE
;
7202 wxString
const &arg8_defvalue
= wxPyDialogNameStr
;
7203 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
7211 bool temp4
= false ;
7216 bool temp8
= false ;
7217 PyObject
* obj0
= 0 ;
7218 PyObject
* obj1
= 0 ;
7219 PyObject
* obj2
= 0 ;
7220 PyObject
* obj3
= 0 ;
7221 PyObject
* obj4
= 0 ;
7222 PyObject
* obj5
= 0 ;
7223 PyObject
* obj6
= 0 ;
7224 PyObject
* obj7
= 0 ;
7225 char * kwnames
[] = {
7226 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
7229 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:Dialog_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
7230 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDialog
, 0 | 0 );
7231 if (!SWIG_IsOK(res1
)) {
7232 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Dialog_Create" "', expected argument " "1"" of type '" "wxDialog *""'");
7234 arg1
= reinterpret_cast< wxDialog
* >(argp1
);
7235 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
7236 if (!SWIG_IsOK(res2
)) {
7237 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Dialog_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
7239 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
7241 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
7242 if (!SWIG_IsOK(ecode3
)) {
7243 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Dialog_Create" "', expected argument " "3"" of type '" "int""'");
7245 arg3
= static_cast< int >(val3
);
7249 arg4
= wxString_in_helper(obj3
);
7250 if (arg4
== NULL
) SWIG_fail
;
7257 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
7263 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
7267 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
7268 if (!SWIG_IsOK(ecode7
)) {
7269 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "Dialog_Create" "', expected argument " "7"" of type '" "long""'");
7271 arg7
= static_cast< long >(val7
);
7275 arg8
= wxString_in_helper(obj7
);
7276 if (arg8
== NULL
) SWIG_fail
;
7281 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7282 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
7283 wxPyEndAllowThreads(__tstate
);
7284 if (PyErr_Occurred()) SWIG_fail
;
7287 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7311 SWIGINTERN PyObject
*_wrap_Dialog_SetReturnCode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7312 PyObject
*resultobj
= 0;
7313 wxDialog
*arg1
= (wxDialog
*) 0 ;
7319 PyObject
* obj0
= 0 ;
7320 PyObject
* obj1
= 0 ;
7321 char * kwnames
[] = {
7322 (char *) "self",(char *) "returnCode", NULL
7325 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Dialog_SetReturnCode",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7326 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDialog
, 0 | 0 );
7327 if (!SWIG_IsOK(res1
)) {
7328 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Dialog_SetReturnCode" "', expected argument " "1"" of type '" "wxDialog *""'");
7330 arg1
= reinterpret_cast< wxDialog
* >(argp1
);
7331 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
7332 if (!SWIG_IsOK(ecode2
)) {
7333 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Dialog_SetReturnCode" "', expected argument " "2"" of type '" "int""'");
7335 arg2
= static_cast< int >(val2
);
7337 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7338 (arg1
)->SetReturnCode(arg2
);
7339 wxPyEndAllowThreads(__tstate
);
7340 if (PyErr_Occurred()) SWIG_fail
;
7342 resultobj
= SWIG_Py_Void();
7349 SWIGINTERN PyObject
*_wrap_Dialog_GetReturnCode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7350 PyObject
*resultobj
= 0;
7351 wxDialog
*arg1
= (wxDialog
*) 0 ;
7355 PyObject
*swig_obj
[1] ;
7357 if (!args
) SWIG_fail
;
7359 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDialog
, 0 | 0 );
7360 if (!SWIG_IsOK(res1
)) {
7361 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Dialog_GetReturnCode" "', expected argument " "1"" of type '" "wxDialog const *""'");
7363 arg1
= reinterpret_cast< wxDialog
* >(argp1
);
7365 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7366 result
= (int)((wxDialog
const *)arg1
)->GetReturnCode();
7367 wxPyEndAllowThreads(__tstate
);
7368 if (PyErr_Occurred()) SWIG_fail
;
7370 resultobj
= SWIG_From_int(static_cast< int >(result
));
7377 SWIGINTERN PyObject
*_wrap_Dialog_SetAffirmativeId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7378 PyObject
*resultobj
= 0;
7379 wxDialog
*arg1
= (wxDialog
*) 0 ;
7385 PyObject
* obj0
= 0 ;
7386 PyObject
* obj1
= 0 ;
7387 char * kwnames
[] = {
7388 (char *) "self",(char *) "affirmativeId", NULL
7391 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Dialog_SetAffirmativeId",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7392 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDialog
, 0 | 0 );
7393 if (!SWIG_IsOK(res1
)) {
7394 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Dialog_SetAffirmativeId" "', expected argument " "1"" of type '" "wxDialog *""'");
7396 arg1
= reinterpret_cast< wxDialog
* >(argp1
);
7397 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
7398 if (!SWIG_IsOK(ecode2
)) {
7399 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Dialog_SetAffirmativeId" "', expected argument " "2"" of type '" "int""'");
7401 arg2
= static_cast< int >(val2
);
7403 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7404 (arg1
)->SetAffirmativeId(arg2
);
7405 wxPyEndAllowThreads(__tstate
);
7406 if (PyErr_Occurred()) SWIG_fail
;
7408 resultobj
= SWIG_Py_Void();
7415 SWIGINTERN PyObject
*_wrap_Dialog_GetAffirmativeId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7416 PyObject
*resultobj
= 0;
7417 wxDialog
*arg1
= (wxDialog
*) 0 ;
7421 PyObject
*swig_obj
[1] ;
7423 if (!args
) SWIG_fail
;
7425 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDialog
, 0 | 0 );
7426 if (!SWIG_IsOK(res1
)) {
7427 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Dialog_GetAffirmativeId" "', expected argument " "1"" of type '" "wxDialog const *""'");
7429 arg1
= reinterpret_cast< wxDialog
* >(argp1
);
7431 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7432 result
= (int)((wxDialog
const *)arg1
)->GetAffirmativeId();
7433 wxPyEndAllowThreads(__tstate
);
7434 if (PyErr_Occurred()) SWIG_fail
;
7436 resultobj
= SWIG_From_int(static_cast< int >(result
));
7443 SWIGINTERN PyObject
*_wrap_Dialog_SetEscapeId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7444 PyObject
*resultobj
= 0;
7445 wxDialog
*arg1
= (wxDialog
*) 0 ;
7451 PyObject
* obj0
= 0 ;
7452 PyObject
* obj1
= 0 ;
7453 char * kwnames
[] = {
7454 (char *) "self",(char *) "escapeId", NULL
7457 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Dialog_SetEscapeId",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7458 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDialog
, 0 | 0 );
7459 if (!SWIG_IsOK(res1
)) {
7460 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Dialog_SetEscapeId" "', expected argument " "1"" of type '" "wxDialog *""'");
7462 arg1
= reinterpret_cast< wxDialog
* >(argp1
);
7463 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
7464 if (!SWIG_IsOK(ecode2
)) {
7465 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Dialog_SetEscapeId" "', expected argument " "2"" of type '" "int""'");
7467 arg2
= static_cast< int >(val2
);
7469 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7470 (arg1
)->SetEscapeId(arg2
);
7471 wxPyEndAllowThreads(__tstate
);
7472 if (PyErr_Occurred()) SWIG_fail
;
7474 resultobj
= SWIG_Py_Void();
7481 SWIGINTERN PyObject
*_wrap_Dialog_GetEscapeId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7482 PyObject
*resultobj
= 0;
7483 wxDialog
*arg1
= (wxDialog
*) 0 ;
7487 PyObject
*swig_obj
[1] ;
7489 if (!args
) SWIG_fail
;
7491 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDialog
, 0 | 0 );
7492 if (!SWIG_IsOK(res1
)) {
7493 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Dialog_GetEscapeId" "', expected argument " "1"" of type '" "wxDialog const *""'");
7495 arg1
= reinterpret_cast< wxDialog
* >(argp1
);
7497 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7498 result
= (int)((wxDialog
const *)arg1
)->GetEscapeId();
7499 wxPyEndAllowThreads(__tstate
);
7500 if (PyErr_Occurred()) SWIG_fail
;
7502 resultobj
= SWIG_From_int(static_cast< int >(result
));
7509 SWIGINTERN PyObject
*_wrap_Dialog_CreateTextSizer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7510 PyObject
*resultobj
= 0;
7511 wxDialog
*arg1
= (wxDialog
*) 0 ;
7512 wxString
*arg2
= 0 ;
7513 wxSizer
*result
= 0 ;
7516 bool temp2
= false ;
7517 PyObject
* obj0
= 0 ;
7518 PyObject
* obj1
= 0 ;
7519 char * kwnames
[] = {
7520 (char *) "self",(char *) "message", NULL
7523 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Dialog_CreateTextSizer",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7524 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDialog
, 0 | 0 );
7525 if (!SWIG_IsOK(res1
)) {
7526 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Dialog_CreateTextSizer" "', expected argument " "1"" of type '" "wxDialog *""'");
7528 arg1
= reinterpret_cast< wxDialog
* >(argp1
);
7530 arg2
= wxString_in_helper(obj1
);
7531 if (arg2
== NULL
) SWIG_fail
;
7535 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7536 result
= (wxSizer
*)(arg1
)->CreateTextSizer((wxString
const &)*arg2
);
7537 wxPyEndAllowThreads(__tstate
);
7538 if (PyErr_Occurred()) SWIG_fail
;
7541 resultobj
= wxPyMake_wxObject(result
, (bool)0);
7557 SWIGINTERN PyObject
*_wrap_Dialog_CreateButtonSizer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7558 PyObject
*resultobj
= 0;
7559 wxDialog
*arg1
= (wxDialog
*) 0 ;
7561 bool arg3
= (bool) false ;
7562 int arg4
= (int) 0 ;
7563 wxSizer
*result
= 0 ;
7572 PyObject
* obj0
= 0 ;
7573 PyObject
* obj1
= 0 ;
7574 PyObject
* obj2
= 0 ;
7575 PyObject
* obj3
= 0 ;
7576 char * kwnames
[] = {
7577 (char *) "self",(char *) "flags",(char *) "separated",(char *) "distance", NULL
7580 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:Dialog_CreateButtonSizer",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
7581 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDialog
, 0 | 0 );
7582 if (!SWIG_IsOK(res1
)) {
7583 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Dialog_CreateButtonSizer" "', expected argument " "1"" of type '" "wxDialog *""'");
7585 arg1
= reinterpret_cast< wxDialog
* >(argp1
);
7586 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
7587 if (!SWIG_IsOK(ecode2
)) {
7588 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Dialog_CreateButtonSizer" "', expected argument " "2"" of type '" "long""'");
7590 arg2
= static_cast< long >(val2
);
7592 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
7593 if (!SWIG_IsOK(ecode3
)) {
7594 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Dialog_CreateButtonSizer" "', expected argument " "3"" of type '" "bool""'");
7596 arg3
= static_cast< bool >(val3
);
7599 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
7600 if (!SWIG_IsOK(ecode4
)) {
7601 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Dialog_CreateButtonSizer" "', expected argument " "4"" of type '" "int""'");
7603 arg4
= static_cast< int >(val4
);
7606 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7607 result
= (wxSizer
*)(arg1
)->CreateButtonSizer(arg2
,arg3
,arg4
);
7608 wxPyEndAllowThreads(__tstate
);
7609 if (PyErr_Occurred()) SWIG_fail
;
7612 resultobj
= wxPyMake_wxObject(result
, (bool)0);
7620 SWIGINTERN PyObject
*_wrap_Dialog_CreateStdDialogButtonSizer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7621 PyObject
*resultobj
= 0;
7622 wxDialog
*arg1
= (wxDialog
*) 0 ;
7624 wxStdDialogButtonSizer
*result
= 0 ;
7629 PyObject
* obj0
= 0 ;
7630 PyObject
* obj1
= 0 ;
7631 char * kwnames
[] = {
7632 (char *) "self",(char *) "flags", NULL
7635 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Dialog_CreateStdDialogButtonSizer",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7636 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDialog
, 0 | 0 );
7637 if (!SWIG_IsOK(res1
)) {
7638 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Dialog_CreateStdDialogButtonSizer" "', expected argument " "1"" of type '" "wxDialog *""'");
7640 arg1
= reinterpret_cast< wxDialog
* >(argp1
);
7641 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
7642 if (!SWIG_IsOK(ecode2
)) {
7643 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Dialog_CreateStdDialogButtonSizer" "', expected argument " "2"" of type '" "long""'");
7645 arg2
= static_cast< long >(val2
);
7647 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7648 result
= (wxStdDialogButtonSizer
*)(arg1
)->CreateStdDialogButtonSizer(arg2
);
7649 wxPyEndAllowThreads(__tstate
);
7650 if (PyErr_Occurred()) SWIG_fail
;
7652 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxStdDialogButtonSizer
, 0 | 0 );
7659 SWIGINTERN PyObject
*_wrap_Dialog_IsModal(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7660 PyObject
*resultobj
= 0;
7661 wxDialog
*arg1
= (wxDialog
*) 0 ;
7665 PyObject
*swig_obj
[1] ;
7667 if (!args
) SWIG_fail
;
7669 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDialog
, 0 | 0 );
7670 if (!SWIG_IsOK(res1
)) {
7671 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Dialog_IsModal" "', expected argument " "1"" of type '" "wxDialog const *""'");
7673 arg1
= reinterpret_cast< wxDialog
* >(argp1
);
7675 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7676 result
= (bool)((wxDialog
const *)arg1
)->IsModal();
7677 wxPyEndAllowThreads(__tstate
);
7678 if (PyErr_Occurred()) SWIG_fail
;
7681 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7689 SWIGINTERN PyObject
*_wrap_Dialog_ShowModal(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7690 PyObject
*resultobj
= 0;
7691 wxDialog
*arg1
= (wxDialog
*) 0 ;
7695 PyObject
*swig_obj
[1] ;
7697 if (!args
) SWIG_fail
;
7699 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDialog
, 0 | 0 );
7700 if (!SWIG_IsOK(res1
)) {
7701 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Dialog_ShowModal" "', expected argument " "1"" of type '" "wxDialog *""'");
7703 arg1
= reinterpret_cast< wxDialog
* >(argp1
);
7705 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7706 result
= (int)(arg1
)->ShowModal();
7707 wxPyEndAllowThreads(__tstate
);
7708 if (PyErr_Occurred()) SWIG_fail
;
7710 resultobj
= SWIG_From_int(static_cast< int >(result
));
7717 SWIGINTERN PyObject
*_wrap_Dialog_EndModal(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7718 PyObject
*resultobj
= 0;
7719 wxDialog
*arg1
= (wxDialog
*) 0 ;
7725 PyObject
* obj0
= 0 ;
7726 PyObject
* obj1
= 0 ;
7727 char * kwnames
[] = {
7728 (char *) "self",(char *) "retCode", NULL
7731 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Dialog_EndModal",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7732 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDialog
, 0 | 0 );
7733 if (!SWIG_IsOK(res1
)) {
7734 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Dialog_EndModal" "', expected argument " "1"" of type '" "wxDialog *""'");
7736 arg1
= reinterpret_cast< wxDialog
* >(argp1
);
7737 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
7738 if (!SWIG_IsOK(ecode2
)) {
7739 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Dialog_EndModal" "', expected argument " "2"" of type '" "int""'");
7741 arg2
= static_cast< int >(val2
);
7743 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7744 (arg1
)->EndModal(arg2
);
7745 wxPyEndAllowThreads(__tstate
);
7746 if (PyErr_Occurred()) SWIG_fail
;
7748 resultobj
= SWIG_Py_Void();
7755 SWIGINTERN PyObject
*_wrap_Dialog_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7756 PyObject
*resultobj
= 0;
7757 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
7758 SwigValueWrapper
<wxVisualAttributes
> result
;
7761 PyObject
* obj0
= 0 ;
7762 char * kwnames
[] = {
7763 (char *) "variant", NULL
7766 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Dialog_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
7768 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
7769 if (!SWIG_IsOK(ecode1
)) {
7770 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "Dialog_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
7772 arg1
= static_cast< wxWindowVariant
>(val1
);
7775 if (!wxPyCheckForApp()) SWIG_fail
;
7776 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7777 result
= wxDialog::GetClassDefaultAttributes(arg1
);
7778 wxPyEndAllowThreads(__tstate
);
7779 if (PyErr_Occurred()) SWIG_fail
;
7781 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
7788 SWIGINTERN PyObject
*Dialog_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7790 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
7791 SWIG_TypeNewClientData(SWIGTYPE_p_wxDialog
, SWIG_NewClientData(obj
));
7792 return SWIG_Py_Void();
7795 SWIGINTERN PyObject
*Dialog_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7796 return SWIG_Python_InitShadowInstance(args
);
7799 SWIGINTERN PyObject
*_wrap_new_MiniFrame(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7800 PyObject
*resultobj
= 0;
7801 wxWindow
*arg1
= (wxWindow
*) 0 ;
7802 int arg2
= (int) (int)-1 ;
7803 wxString
const &arg3_defvalue
= wxPyEmptyString
;
7804 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
7805 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
7806 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
7807 wxSize
const &arg5_defvalue
= wxDefaultSize
;
7808 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
7809 long arg6
= (long) wxDEFAULT_FRAME_STYLE
;
7810 wxString
const &arg7_defvalue
= wxPyFrameNameStr
;
7811 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
7812 wxMiniFrame
*result
= 0 ;
7817 bool temp3
= false ;
7822 bool temp7
= false ;
7823 PyObject
* obj0
= 0 ;
7824 PyObject
* obj1
= 0 ;
7825 PyObject
* obj2
= 0 ;
7826 PyObject
* obj3
= 0 ;
7827 PyObject
* obj4
= 0 ;
7828 PyObject
* obj5
= 0 ;
7829 PyObject
* obj6
= 0 ;
7830 char * kwnames
[] = {
7831 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
7834 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_MiniFrame",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
7835 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
7836 if (!SWIG_IsOK(res1
)) {
7837 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_MiniFrame" "', expected argument " "1"" of type '" "wxWindow *""'");
7839 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
7841 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
7842 if (!SWIG_IsOK(ecode2
)) {
7843 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_MiniFrame" "', expected argument " "2"" of type '" "int""'");
7845 arg2
= static_cast< int >(val2
);
7849 arg3
= wxString_in_helper(obj2
);
7850 if (arg3
== NULL
) SWIG_fail
;
7857 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
7863 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
7867 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
7868 if (!SWIG_IsOK(ecode6
)) {
7869 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_MiniFrame" "', expected argument " "6"" of type '" "long""'");
7871 arg6
= static_cast< long >(val6
);
7875 arg7
= wxString_in_helper(obj6
);
7876 if (arg7
== NULL
) SWIG_fail
;
7881 if (!wxPyCheckForApp()) SWIG_fail
;
7882 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7883 result
= (wxMiniFrame
*)new wxMiniFrame(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
7884 wxPyEndAllowThreads(__tstate
);
7885 if (PyErr_Occurred()) SWIG_fail
;
7887 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMiniFrame
, SWIG_POINTER_NEW
| 0 );
7910 SWIGINTERN PyObject
*_wrap_new_PreMiniFrame(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7911 PyObject
*resultobj
= 0;
7912 wxMiniFrame
*result
= 0 ;
7914 if (!SWIG_Python_UnpackTuple(args
,"new_PreMiniFrame",0,0,0)) SWIG_fail
;
7916 if (!wxPyCheckForApp()) SWIG_fail
;
7917 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7918 result
= (wxMiniFrame
*)new wxMiniFrame();
7919 wxPyEndAllowThreads(__tstate
);
7920 if (PyErr_Occurred()) SWIG_fail
;
7922 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMiniFrame
, SWIG_POINTER_OWN
| 0 );
7929 SWIGINTERN PyObject
*_wrap_MiniFrame_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7930 PyObject
*resultobj
= 0;
7931 wxMiniFrame
*arg1
= (wxMiniFrame
*) 0 ;
7932 wxWindow
*arg2
= (wxWindow
*) 0 ;
7933 int arg3
= (int) (int)-1 ;
7934 wxString
const &arg4_defvalue
= wxPyEmptyString
;
7935 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
7936 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
7937 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
7938 wxSize
const &arg6_defvalue
= wxDefaultSize
;
7939 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
7940 long arg7
= (long) wxDEFAULT_FRAME_STYLE
;
7941 wxString
const &arg8_defvalue
= wxPyFrameNameStr
;
7942 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
7950 bool temp4
= false ;
7955 bool temp8
= false ;
7956 PyObject
* obj0
= 0 ;
7957 PyObject
* obj1
= 0 ;
7958 PyObject
* obj2
= 0 ;
7959 PyObject
* obj3
= 0 ;
7960 PyObject
* obj4
= 0 ;
7961 PyObject
* obj5
= 0 ;
7962 PyObject
* obj6
= 0 ;
7963 PyObject
* obj7
= 0 ;
7964 char * kwnames
[] = {
7965 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
7968 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:MiniFrame_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
7969 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMiniFrame
, 0 | 0 );
7970 if (!SWIG_IsOK(res1
)) {
7971 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MiniFrame_Create" "', expected argument " "1"" of type '" "wxMiniFrame *""'");
7973 arg1
= reinterpret_cast< wxMiniFrame
* >(argp1
);
7974 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
7975 if (!SWIG_IsOK(res2
)) {
7976 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "MiniFrame_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
7978 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
7980 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
7981 if (!SWIG_IsOK(ecode3
)) {
7982 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "MiniFrame_Create" "', expected argument " "3"" of type '" "int""'");
7984 arg3
= static_cast< int >(val3
);
7988 arg4
= wxString_in_helper(obj3
);
7989 if (arg4
== NULL
) SWIG_fail
;
7996 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
8002 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
8006 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
8007 if (!SWIG_IsOK(ecode7
)) {
8008 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "MiniFrame_Create" "', expected argument " "7"" of type '" "long""'");
8010 arg7
= static_cast< long >(val7
);
8014 arg8
= wxString_in_helper(obj7
);
8015 if (arg8
== NULL
) SWIG_fail
;
8020 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8021 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
8022 wxPyEndAllowThreads(__tstate
);
8023 if (PyErr_Occurred()) SWIG_fail
;
8026 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8050 SWIGINTERN PyObject
*MiniFrame_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8052 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
8053 SWIG_TypeNewClientData(SWIGTYPE_p_wxMiniFrame
, SWIG_NewClientData(obj
));
8054 return SWIG_Py_Void();
8057 SWIGINTERN PyObject
*MiniFrame_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8058 return SWIG_Python_InitShadowInstance(args
);
8061 SWIGINTERN PyObject
*_wrap_new_SplashScreenWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8062 PyObject
*resultobj
= 0;
8063 wxBitmap
*arg1
= 0 ;
8064 wxWindow
*arg2
= (wxWindow
*) 0 ;
8066 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
8067 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
8068 wxSize
const &arg5_defvalue
= wxDefaultSize
;
8069 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
8070 long arg6
= (long) wxNO_BORDER
;
8071 wxSplashScreenWindow
*result
= 0 ;
8082 PyObject
* obj0
= 0 ;
8083 PyObject
* obj1
= 0 ;
8084 PyObject
* obj2
= 0 ;
8085 PyObject
* obj3
= 0 ;
8086 PyObject
* obj4
= 0 ;
8087 PyObject
* obj5
= 0 ;
8088 char * kwnames
[] = {
8089 (char *) "bitmap",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
8092 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOO:new_SplashScreenWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
8093 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxBitmap
, 0 | 0);
8094 if (!SWIG_IsOK(res1
)) {
8095 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_SplashScreenWindow" "', expected argument " "1"" of type '" "wxBitmap const &""'");
8098 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_SplashScreenWindow" "', expected argument " "1"" of type '" "wxBitmap const &""'");
8100 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
8101 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
8102 if (!SWIG_IsOK(res2
)) {
8103 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_SplashScreenWindow" "', expected argument " "2"" of type '" "wxWindow *""'");
8105 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
8106 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
8107 if (!SWIG_IsOK(ecode3
)) {
8108 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_SplashScreenWindow" "', expected argument " "3"" of type '" "int""'");
8110 arg3
= static_cast< int >(val3
);
8114 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
8120 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
8124 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
8125 if (!SWIG_IsOK(ecode6
)) {
8126 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_SplashScreenWindow" "', expected argument " "6"" of type '" "long""'");
8128 arg6
= static_cast< long >(val6
);
8131 if (!wxPyCheckForApp()) SWIG_fail
;
8132 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8133 result
= (wxSplashScreenWindow
*)new wxSplashScreenWindow((wxBitmap
const &)*arg1
,arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
);
8134 wxPyEndAllowThreads(__tstate
);
8135 if (PyErr_Occurred()) SWIG_fail
;
8137 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSplashScreenWindow
, SWIG_POINTER_NEW
| 0 );
8144 SWIGINTERN PyObject
*_wrap_SplashScreenWindow_SetBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8145 PyObject
*resultobj
= 0;
8146 wxSplashScreenWindow
*arg1
= (wxSplashScreenWindow
*) 0 ;
8147 wxBitmap
*arg2
= 0 ;
8152 PyObject
* obj0
= 0 ;
8153 PyObject
* obj1
= 0 ;
8154 char * kwnames
[] = {
8155 (char *) "self",(char *) "bitmap", NULL
8158 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplashScreenWindow_SetBitmap",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
8159 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSplashScreenWindow
, 0 | 0 );
8160 if (!SWIG_IsOK(res1
)) {
8161 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplashScreenWindow_SetBitmap" "', expected argument " "1"" of type '" "wxSplashScreenWindow *""'");
8163 arg1
= reinterpret_cast< wxSplashScreenWindow
* >(argp1
);
8164 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
8165 if (!SWIG_IsOK(res2
)) {
8166 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "SplashScreenWindow_SetBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
8169 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "SplashScreenWindow_SetBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
8171 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
8173 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8174 (arg1
)->SetBitmap((wxBitmap
const &)*arg2
);
8175 wxPyEndAllowThreads(__tstate
);
8176 if (PyErr_Occurred()) SWIG_fail
;
8178 resultobj
= SWIG_Py_Void();
8185 SWIGINTERN PyObject
*_wrap_SplashScreenWindow_GetBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8186 PyObject
*resultobj
= 0;
8187 wxSplashScreenWindow
*arg1
= (wxSplashScreenWindow
*) 0 ;
8188 wxBitmap
*result
= 0 ;
8191 PyObject
*swig_obj
[1] ;
8193 if (!args
) SWIG_fail
;
8195 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplashScreenWindow
, 0 | 0 );
8196 if (!SWIG_IsOK(res1
)) {
8197 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplashScreenWindow_GetBitmap" "', expected argument " "1"" of type '" "wxSplashScreenWindow *""'");
8199 arg1
= reinterpret_cast< wxSplashScreenWindow
* >(argp1
);
8201 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8203 wxBitmap
&_result_ref
= (arg1
)->GetBitmap();
8204 result
= (wxBitmap
*) &_result_ref
;
8206 wxPyEndAllowThreads(__tstate
);
8207 if (PyErr_Occurred()) SWIG_fail
;
8210 wxBitmap
* resultptr
= new wxBitmap(*result
);
8211 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
8219 SWIGINTERN PyObject
*SplashScreenWindow_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8221 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
8222 SWIG_TypeNewClientData(SWIGTYPE_p_wxSplashScreenWindow
, SWIG_NewClientData(obj
));
8223 return SWIG_Py_Void();
8226 SWIGINTERN PyObject
*SplashScreenWindow_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8227 return SWIG_Python_InitShadowInstance(args
);
8230 SWIGINTERN PyObject
*_wrap_new_SplashScreen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8231 PyObject
*resultobj
= 0;
8232 wxBitmap
*arg1
= 0 ;
8235 wxWindow
*arg4
= (wxWindow
*) 0 ;
8236 int arg5
= (int) -1 ;
8237 wxPoint
const &arg6_defvalue
= wxDefaultPosition
;
8238 wxPoint
*arg6
= (wxPoint
*) &arg6_defvalue
;
8239 wxSize
const &arg7_defvalue
= wxDefaultSize
;
8240 wxSize
*arg7
= (wxSize
*) &arg7_defvalue
;
8241 long arg8
= (long) wxSIMPLE_BORDER
|wxFRAME_NO_TASKBAR
|wxSTAY_ON_TOP
;
8242 wxSplashScreen
*result
= 0 ;
8257 PyObject
* obj0
= 0 ;
8258 PyObject
* obj1
= 0 ;
8259 PyObject
* obj2
= 0 ;
8260 PyObject
* obj3
= 0 ;
8261 PyObject
* obj4
= 0 ;
8262 PyObject
* obj5
= 0 ;
8263 PyObject
* obj6
= 0 ;
8264 PyObject
* obj7
= 0 ;
8265 char * kwnames
[] = {
8266 (char *) "bitmap",(char *) "splashStyle",(char *) "milliseconds",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
8269 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOOO:new_SplashScreen",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
8270 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxBitmap
, 0 | 0);
8271 if (!SWIG_IsOK(res1
)) {
8272 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_SplashScreen" "', expected argument " "1"" of type '" "wxBitmap const &""'");
8275 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_SplashScreen" "', expected argument " "1"" of type '" "wxBitmap const &""'");
8277 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
8278 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
8279 if (!SWIG_IsOK(ecode2
)) {
8280 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_SplashScreen" "', expected argument " "2"" of type '" "long""'");
8282 arg2
= static_cast< long >(val2
);
8283 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
8284 if (!SWIG_IsOK(ecode3
)) {
8285 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_SplashScreen" "', expected argument " "3"" of type '" "int""'");
8287 arg3
= static_cast< int >(val3
);
8288 res4
= SWIG_ConvertPtr(obj3
, &argp4
,SWIGTYPE_p_wxWindow
, 0 | 0 );
8289 if (!SWIG_IsOK(res4
)) {
8290 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "new_SplashScreen" "', expected argument " "4"" of type '" "wxWindow *""'");
8292 arg4
= reinterpret_cast< wxWindow
* >(argp4
);
8294 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
8295 if (!SWIG_IsOK(ecode5
)) {
8296 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_SplashScreen" "', expected argument " "5"" of type '" "int""'");
8298 arg5
= static_cast< int >(val5
);
8303 if ( ! wxPoint_helper(obj5
, &arg6
)) SWIG_fail
;
8309 if ( ! wxSize_helper(obj6
, &arg7
)) SWIG_fail
;
8313 ecode8
= SWIG_AsVal_long(obj7
, &val8
);
8314 if (!SWIG_IsOK(ecode8
)) {
8315 SWIG_exception_fail(SWIG_ArgError(ecode8
), "in method '" "new_SplashScreen" "', expected argument " "8"" of type '" "long""'");
8317 arg8
= static_cast< long >(val8
);
8320 if (!wxPyCheckForApp()) SWIG_fail
;
8321 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8322 result
= (wxSplashScreen
*)new wxSplashScreen((wxBitmap
const &)*arg1
,arg2
,arg3
,arg4
,arg5
,(wxPoint
const &)*arg6
,(wxSize
const &)*arg7
,arg8
);
8323 wxPyEndAllowThreads(__tstate
);
8324 if (PyErr_Occurred()) SWIG_fail
;
8326 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSplashScreen
, SWIG_POINTER_NEW
| 0 );
8333 SWIGINTERN PyObject
*_wrap_SplashScreen_GetSplashStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8334 PyObject
*resultobj
= 0;
8335 wxSplashScreen
*arg1
= (wxSplashScreen
*) 0 ;
8339 PyObject
*swig_obj
[1] ;
8341 if (!args
) SWIG_fail
;
8343 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplashScreen
, 0 | 0 );
8344 if (!SWIG_IsOK(res1
)) {
8345 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplashScreen_GetSplashStyle" "', expected argument " "1"" of type '" "wxSplashScreen const *""'");
8347 arg1
= reinterpret_cast< wxSplashScreen
* >(argp1
);
8349 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8350 result
= (long)((wxSplashScreen
const *)arg1
)->GetSplashStyle();
8351 wxPyEndAllowThreads(__tstate
);
8352 if (PyErr_Occurred()) SWIG_fail
;
8354 resultobj
= SWIG_From_long(static_cast< long >(result
));
8361 SWIGINTERN PyObject
*_wrap_SplashScreen_GetSplashWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8362 PyObject
*resultobj
= 0;
8363 wxSplashScreen
*arg1
= (wxSplashScreen
*) 0 ;
8364 wxSplashScreenWindow
*result
= 0 ;
8367 PyObject
*swig_obj
[1] ;
8369 if (!args
) SWIG_fail
;
8371 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplashScreen
, 0 | 0 );
8372 if (!SWIG_IsOK(res1
)) {
8373 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplashScreen_GetSplashWindow" "', expected argument " "1"" of type '" "wxSplashScreen const *""'");
8375 arg1
= reinterpret_cast< wxSplashScreen
* >(argp1
);
8377 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8378 result
= (wxSplashScreenWindow
*)((wxSplashScreen
const *)arg1
)->GetSplashWindow();
8379 wxPyEndAllowThreads(__tstate
);
8380 if (PyErr_Occurred()) SWIG_fail
;
8382 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSplashScreenWindow
, 0 | 0 );
8389 SWIGINTERN PyObject
*_wrap_SplashScreen_GetTimeout(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8390 PyObject
*resultobj
= 0;
8391 wxSplashScreen
*arg1
= (wxSplashScreen
*) 0 ;
8395 PyObject
*swig_obj
[1] ;
8397 if (!args
) SWIG_fail
;
8399 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplashScreen
, 0 | 0 );
8400 if (!SWIG_IsOK(res1
)) {
8401 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplashScreen_GetTimeout" "', expected argument " "1"" of type '" "wxSplashScreen const *""'");
8403 arg1
= reinterpret_cast< wxSplashScreen
* >(argp1
);
8405 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8406 result
= (int)((wxSplashScreen
const *)arg1
)->GetTimeout();
8407 wxPyEndAllowThreads(__tstate
);
8408 if (PyErr_Occurred()) SWIG_fail
;
8410 resultobj
= SWIG_From_int(static_cast< int >(result
));
8417 SWIGINTERN PyObject
*SplashScreen_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8419 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
8420 SWIG_TypeNewClientData(SWIGTYPE_p_wxSplashScreen
, SWIG_NewClientData(obj
));
8421 return SWIG_Py_Void();
8424 SWIGINTERN PyObject
*SplashScreen_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8425 return SWIG_Python_InitShadowInstance(args
);
8428 SWIGINTERN PyObject
*_wrap_new_StatusBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8429 PyObject
*resultobj
= 0;
8430 wxWindow
*arg1
= (wxWindow
*) 0 ;
8431 int arg2
= (int) -1 ;
8432 long arg3
= (long) wxDEFAULT_STATUSBAR_STYLE
;
8433 wxString
const &arg4_defvalue
= wxPyStatusLineNameStr
;
8434 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
8435 wxStatusBar
*result
= 0 ;
8442 bool temp4
= false ;
8443 PyObject
* obj0
= 0 ;
8444 PyObject
* obj1
= 0 ;
8445 PyObject
* obj2
= 0 ;
8446 PyObject
* obj3
= 0 ;
8447 char * kwnames
[] = {
8448 (char *) "parent",(char *) "id",(char *) "style",(char *) "name", NULL
8451 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOO:new_StatusBar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
8452 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
8453 if (!SWIG_IsOK(res1
)) {
8454 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_StatusBar" "', expected argument " "1"" of type '" "wxWindow *""'");
8456 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
8458 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
8459 if (!SWIG_IsOK(ecode2
)) {
8460 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_StatusBar" "', expected argument " "2"" of type '" "int""'");
8462 arg2
= static_cast< int >(val2
);
8465 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
8466 if (!SWIG_IsOK(ecode3
)) {
8467 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_StatusBar" "', expected argument " "3"" of type '" "long""'");
8469 arg3
= static_cast< long >(val3
);
8473 arg4
= wxString_in_helper(obj3
);
8474 if (arg4
== NULL
) SWIG_fail
;
8479 if (!wxPyCheckForApp()) SWIG_fail
;
8480 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8481 result
= (wxStatusBar
*)new wxStatusBar(arg1
,arg2
,arg3
,(wxString
const &)*arg4
);
8482 wxPyEndAllowThreads(__tstate
);
8483 if (PyErr_Occurred()) SWIG_fail
;
8485 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxStatusBar
, SWIG_POINTER_NEW
| 0 );
8500 SWIGINTERN PyObject
*_wrap_new_PreStatusBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8501 PyObject
*resultobj
= 0;
8502 wxStatusBar
*result
= 0 ;
8504 if (!SWIG_Python_UnpackTuple(args
,"new_PreStatusBar",0,0,0)) SWIG_fail
;
8506 if (!wxPyCheckForApp()) SWIG_fail
;
8507 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8508 result
= (wxStatusBar
*)new wxStatusBar();
8509 wxPyEndAllowThreads(__tstate
);
8510 if (PyErr_Occurred()) SWIG_fail
;
8512 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxStatusBar
, SWIG_POINTER_OWN
| 0 );
8519 SWIGINTERN PyObject
*_wrap_StatusBar_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8520 PyObject
*resultobj
= 0;
8521 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
8522 wxWindow
*arg2
= (wxWindow
*) 0 ;
8523 int arg3
= (int) -1 ;
8524 long arg4
= (long) wxST_SIZEGRIP
;
8525 wxString
const &arg5_defvalue
= wxPyStatusLineNameStr
;
8526 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
8536 bool temp5
= false ;
8537 PyObject
* obj0
= 0 ;
8538 PyObject
* obj1
= 0 ;
8539 PyObject
* obj2
= 0 ;
8540 PyObject
* obj3
= 0 ;
8541 PyObject
* obj4
= 0 ;
8542 char * kwnames
[] = {
8543 (char *) "self",(char *) "parent",(char *) "id",(char *) "style",(char *) "name", NULL
8546 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:StatusBar_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
8547 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStatusBar
, 0 | 0 );
8548 if (!SWIG_IsOK(res1
)) {
8549 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StatusBar_Create" "', expected argument " "1"" of type '" "wxStatusBar *""'");
8551 arg1
= reinterpret_cast< wxStatusBar
* >(argp1
);
8552 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
8553 if (!SWIG_IsOK(res2
)) {
8554 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "StatusBar_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
8556 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
8558 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
8559 if (!SWIG_IsOK(ecode3
)) {
8560 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "StatusBar_Create" "', expected argument " "3"" of type '" "int""'");
8562 arg3
= static_cast< int >(val3
);
8565 ecode4
= SWIG_AsVal_long(obj3
, &val4
);
8566 if (!SWIG_IsOK(ecode4
)) {
8567 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "StatusBar_Create" "', expected argument " "4"" of type '" "long""'");
8569 arg4
= static_cast< long >(val4
);
8573 arg5
= wxString_in_helper(obj4
);
8574 if (arg5
== NULL
) SWIG_fail
;
8579 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8580 result
= (bool)(arg1
)->Create(arg2
,arg3
,arg4
,(wxString
const &)*arg5
);
8581 wxPyEndAllowThreads(__tstate
);
8582 if (PyErr_Occurred()) SWIG_fail
;
8585 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8601 SWIGINTERN PyObject
*_wrap_StatusBar_SetFieldsCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8602 PyObject
*resultobj
= 0;
8603 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
8604 int arg2
= (int) 1 ;
8609 PyObject
* obj0
= 0 ;
8610 PyObject
* obj1
= 0 ;
8611 char * kwnames
[] = {
8612 (char *) "self",(char *) "number", NULL
8615 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:StatusBar_SetFieldsCount",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
8616 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStatusBar
, 0 | 0 );
8617 if (!SWIG_IsOK(res1
)) {
8618 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StatusBar_SetFieldsCount" "', expected argument " "1"" of type '" "wxStatusBar *""'");
8620 arg1
= reinterpret_cast< wxStatusBar
* >(argp1
);
8622 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
8623 if (!SWIG_IsOK(ecode2
)) {
8624 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "StatusBar_SetFieldsCount" "', expected argument " "2"" of type '" "int""'");
8626 arg2
= static_cast< int >(val2
);
8629 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8630 (arg1
)->SetFieldsCount(arg2
);
8631 wxPyEndAllowThreads(__tstate
);
8632 if (PyErr_Occurred()) SWIG_fail
;
8634 resultobj
= SWIG_Py_Void();
8641 SWIGINTERN PyObject
*_wrap_StatusBar_GetFieldsCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8642 PyObject
*resultobj
= 0;
8643 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
8647 PyObject
*swig_obj
[1] ;
8649 if (!args
) SWIG_fail
;
8651 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxStatusBar
, 0 | 0 );
8652 if (!SWIG_IsOK(res1
)) {
8653 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StatusBar_GetFieldsCount" "', expected argument " "1"" of type '" "wxStatusBar const *""'");
8655 arg1
= reinterpret_cast< wxStatusBar
* >(argp1
);
8657 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8658 result
= (int)((wxStatusBar
const *)arg1
)->GetFieldsCount();
8659 wxPyEndAllowThreads(__tstate
);
8660 if (PyErr_Occurred()) SWIG_fail
;
8662 resultobj
= SWIG_From_int(static_cast< int >(result
));
8669 SWIGINTERN PyObject
*_wrap_StatusBar_SetStatusText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8670 PyObject
*resultobj
= 0;
8671 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
8672 wxString
*arg2
= 0 ;
8673 int arg3
= (int) 0 ;
8676 bool temp2
= false ;
8679 PyObject
* obj0
= 0 ;
8680 PyObject
* obj1
= 0 ;
8681 PyObject
* obj2
= 0 ;
8682 char * kwnames
[] = {
8683 (char *) "self",(char *) "text",(char *) "number", NULL
8686 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:StatusBar_SetStatusText",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
8687 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStatusBar
, 0 | 0 );
8688 if (!SWIG_IsOK(res1
)) {
8689 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StatusBar_SetStatusText" "', expected argument " "1"" of type '" "wxStatusBar *""'");
8691 arg1
= reinterpret_cast< wxStatusBar
* >(argp1
);
8693 arg2
= wxString_in_helper(obj1
);
8694 if (arg2
== NULL
) SWIG_fail
;
8698 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
8699 if (!SWIG_IsOK(ecode3
)) {
8700 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "StatusBar_SetStatusText" "', expected argument " "3"" of type '" "int""'");
8702 arg3
= static_cast< int >(val3
);
8705 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8706 (arg1
)->SetStatusText((wxString
const &)*arg2
,arg3
);
8707 wxPyEndAllowThreads(__tstate
);
8708 if (PyErr_Occurred()) SWIG_fail
;
8710 resultobj
= SWIG_Py_Void();
8725 SWIGINTERN PyObject
*_wrap_StatusBar_GetStatusText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8726 PyObject
*resultobj
= 0;
8727 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
8728 int arg2
= (int) 0 ;
8734 PyObject
* obj0
= 0 ;
8735 PyObject
* obj1
= 0 ;
8736 char * kwnames
[] = {
8737 (char *) "self",(char *) "number", NULL
8740 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:StatusBar_GetStatusText",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
8741 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStatusBar
, 0 | 0 );
8742 if (!SWIG_IsOK(res1
)) {
8743 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StatusBar_GetStatusText" "', expected argument " "1"" of type '" "wxStatusBar const *""'");
8745 arg1
= reinterpret_cast< wxStatusBar
* >(argp1
);
8747 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
8748 if (!SWIG_IsOK(ecode2
)) {
8749 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "StatusBar_GetStatusText" "', expected argument " "2"" of type '" "int""'");
8751 arg2
= static_cast< int >(val2
);
8754 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8755 result
= ((wxStatusBar
const *)arg1
)->GetStatusText(arg2
);
8756 wxPyEndAllowThreads(__tstate
);
8757 if (PyErr_Occurred()) SWIG_fail
;
8761 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8763 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8772 SWIGINTERN PyObject
*_wrap_StatusBar_PushStatusText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8773 PyObject
*resultobj
= 0;
8774 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
8775 wxString
*arg2
= 0 ;
8776 int arg3
= (int) 0 ;
8779 bool temp2
= false ;
8782 PyObject
* obj0
= 0 ;
8783 PyObject
* obj1
= 0 ;
8784 PyObject
* obj2
= 0 ;
8785 char * kwnames
[] = {
8786 (char *) "self",(char *) "text",(char *) "number", NULL
8789 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:StatusBar_PushStatusText",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
8790 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStatusBar
, 0 | 0 );
8791 if (!SWIG_IsOK(res1
)) {
8792 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StatusBar_PushStatusText" "', expected argument " "1"" of type '" "wxStatusBar *""'");
8794 arg1
= reinterpret_cast< wxStatusBar
* >(argp1
);
8796 arg2
= wxString_in_helper(obj1
);
8797 if (arg2
== NULL
) SWIG_fail
;
8801 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
8802 if (!SWIG_IsOK(ecode3
)) {
8803 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "StatusBar_PushStatusText" "', expected argument " "3"" of type '" "int""'");
8805 arg3
= static_cast< int >(val3
);
8808 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8809 (arg1
)->PushStatusText((wxString
const &)*arg2
,arg3
);
8810 wxPyEndAllowThreads(__tstate
);
8811 if (PyErr_Occurred()) SWIG_fail
;
8813 resultobj
= SWIG_Py_Void();
8828 SWIGINTERN PyObject
*_wrap_StatusBar_PopStatusText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8829 PyObject
*resultobj
= 0;
8830 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
8831 int arg2
= (int) 0 ;
8836 PyObject
* obj0
= 0 ;
8837 PyObject
* obj1
= 0 ;
8838 char * kwnames
[] = {
8839 (char *) "self",(char *) "number", NULL
8842 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:StatusBar_PopStatusText",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
8843 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStatusBar
, 0 | 0 );
8844 if (!SWIG_IsOK(res1
)) {
8845 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StatusBar_PopStatusText" "', expected argument " "1"" of type '" "wxStatusBar *""'");
8847 arg1
= reinterpret_cast< wxStatusBar
* >(argp1
);
8849 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
8850 if (!SWIG_IsOK(ecode2
)) {
8851 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "StatusBar_PopStatusText" "', expected argument " "2"" of type '" "int""'");
8853 arg2
= static_cast< int >(val2
);
8856 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8857 (arg1
)->PopStatusText(arg2
);
8858 wxPyEndAllowThreads(__tstate
);
8859 if (PyErr_Occurred()) SWIG_fail
;
8861 resultobj
= SWIG_Py_Void();
8868 SWIGINTERN PyObject
*_wrap_StatusBar_SetStatusWidths(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8869 PyObject
*resultobj
= 0;
8870 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
8872 int *arg3
= (int *) 0 ;
8875 PyObject
* obj0
= 0 ;
8876 PyObject
* obj1
= 0 ;
8877 char * kwnames
[] = {
8878 (char *) "self",(char *) "widths", NULL
8881 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StatusBar_SetStatusWidths",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
8882 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStatusBar
, 0 | 0 );
8883 if (!SWIG_IsOK(res1
)) {
8884 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StatusBar_SetStatusWidths" "', expected argument " "1"" of type '" "wxStatusBar *""'");
8886 arg1
= reinterpret_cast< wxStatusBar
* >(argp1
);
8888 arg2
= PyList_Size(obj1
);
8889 arg3
= int_LIST_helper(obj1
);
8890 if (arg3
== NULL
) SWIG_fail
;
8893 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8894 (arg1
)->SetStatusWidths(arg2
,(int const *)arg3
);
8895 wxPyEndAllowThreads(__tstate
);
8896 if (PyErr_Occurred()) SWIG_fail
;
8898 resultobj
= SWIG_Py_Void();
8900 if (arg3
) delete [] arg3
;
8905 if (arg3
) delete [] arg3
;
8911 SWIGINTERN PyObject
*_wrap_StatusBar_SetStatusStyles(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8912 PyObject
*resultobj
= 0;
8913 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
8915 int *arg3
= (int *) 0 ;
8918 PyObject
* obj0
= 0 ;
8919 PyObject
* obj1
= 0 ;
8920 char * kwnames
[] = {
8921 (char *) "self",(char *) "styles", NULL
8924 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StatusBar_SetStatusStyles",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
8925 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStatusBar
, 0 | 0 );
8926 if (!SWIG_IsOK(res1
)) {
8927 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StatusBar_SetStatusStyles" "', expected argument " "1"" of type '" "wxStatusBar *""'");
8929 arg1
= reinterpret_cast< wxStatusBar
* >(argp1
);
8931 arg2
= PyList_Size(obj1
);
8932 arg3
= int_LIST_helper(obj1
);
8933 if (arg3
== NULL
) SWIG_fail
;
8936 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8937 (arg1
)->SetStatusStyles(arg2
,(int const *)arg3
);
8938 wxPyEndAllowThreads(__tstate
);
8939 if (PyErr_Occurred()) SWIG_fail
;
8941 resultobj
= SWIG_Py_Void();
8943 if (arg3
) delete [] arg3
;
8948 if (arg3
) delete [] arg3
;
8954 SWIGINTERN PyObject
*_wrap_StatusBar_GetFieldRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8955 PyObject
*resultobj
= 0;
8956 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
8963 PyObject
* obj0
= 0 ;
8964 PyObject
* obj1
= 0 ;
8965 char * kwnames
[] = {
8966 (char *) "self",(char *) "i", NULL
8969 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StatusBar_GetFieldRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
8970 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStatusBar
, 0 | 0 );
8971 if (!SWIG_IsOK(res1
)) {
8972 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StatusBar_GetFieldRect" "', expected argument " "1"" of type '" "wxStatusBar *""'");
8974 arg1
= reinterpret_cast< wxStatusBar
* >(argp1
);
8975 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
8976 if (!SWIG_IsOK(ecode2
)) {
8977 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "StatusBar_GetFieldRect" "', expected argument " "2"" of type '" "int""'");
8979 arg2
= static_cast< int >(val2
);
8981 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8982 result
= wxStatusBar_GetFieldRect(arg1
,arg2
);
8983 wxPyEndAllowThreads(__tstate
);
8984 if (PyErr_Occurred()) SWIG_fail
;
8986 resultobj
= SWIG_NewPointerObj((new wxRect(static_cast< const wxRect
& >(result
))), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN
| 0 );
8993 SWIGINTERN PyObject
*_wrap_StatusBar_SetMinHeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8994 PyObject
*resultobj
= 0;
8995 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
9001 PyObject
* obj0
= 0 ;
9002 PyObject
* obj1
= 0 ;
9003 char * kwnames
[] = {
9004 (char *) "self",(char *) "height", NULL
9007 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StatusBar_SetMinHeight",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9008 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStatusBar
, 0 | 0 );
9009 if (!SWIG_IsOK(res1
)) {
9010 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StatusBar_SetMinHeight" "', expected argument " "1"" of type '" "wxStatusBar *""'");
9012 arg1
= reinterpret_cast< wxStatusBar
* >(argp1
);
9013 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9014 if (!SWIG_IsOK(ecode2
)) {
9015 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "StatusBar_SetMinHeight" "', expected argument " "2"" of type '" "int""'");
9017 arg2
= static_cast< int >(val2
);
9019 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9020 (arg1
)->SetMinHeight(arg2
);
9021 wxPyEndAllowThreads(__tstate
);
9022 if (PyErr_Occurred()) SWIG_fail
;
9024 resultobj
= SWIG_Py_Void();
9031 SWIGINTERN PyObject
*_wrap_StatusBar_GetBorderX(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9032 PyObject
*resultobj
= 0;
9033 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
9037 PyObject
*swig_obj
[1] ;
9039 if (!args
) SWIG_fail
;
9041 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxStatusBar
, 0 | 0 );
9042 if (!SWIG_IsOK(res1
)) {
9043 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StatusBar_GetBorderX" "', expected argument " "1"" of type '" "wxStatusBar const *""'");
9045 arg1
= reinterpret_cast< wxStatusBar
* >(argp1
);
9047 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9048 result
= (int)((wxStatusBar
const *)arg1
)->GetBorderX();
9049 wxPyEndAllowThreads(__tstate
);
9050 if (PyErr_Occurred()) SWIG_fail
;
9052 resultobj
= SWIG_From_int(static_cast< int >(result
));
9059 SWIGINTERN PyObject
*_wrap_StatusBar_GetBorderY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9060 PyObject
*resultobj
= 0;
9061 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
9065 PyObject
*swig_obj
[1] ;
9067 if (!args
) SWIG_fail
;
9069 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxStatusBar
, 0 | 0 );
9070 if (!SWIG_IsOK(res1
)) {
9071 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StatusBar_GetBorderY" "', expected argument " "1"" of type '" "wxStatusBar const *""'");
9073 arg1
= reinterpret_cast< wxStatusBar
* >(argp1
);
9075 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9076 result
= (int)((wxStatusBar
const *)arg1
)->GetBorderY();
9077 wxPyEndAllowThreads(__tstate
);
9078 if (PyErr_Occurred()) SWIG_fail
;
9080 resultobj
= SWIG_From_int(static_cast< int >(result
));
9087 SWIGINTERN PyObject
*_wrap_StatusBar_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9088 PyObject
*resultobj
= 0;
9089 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
9090 SwigValueWrapper
<wxVisualAttributes
> result
;
9093 PyObject
* obj0
= 0 ;
9094 char * kwnames
[] = {
9095 (char *) "variant", NULL
9098 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:StatusBar_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
9100 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
9101 if (!SWIG_IsOK(ecode1
)) {
9102 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "StatusBar_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
9104 arg1
= static_cast< wxWindowVariant
>(val1
);
9107 if (!wxPyCheckForApp()) SWIG_fail
;
9108 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9109 result
= wxStatusBar::GetClassDefaultAttributes(arg1
);
9110 wxPyEndAllowThreads(__tstate
);
9111 if (PyErr_Occurred()) SWIG_fail
;
9113 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
9120 SWIGINTERN PyObject
*StatusBar_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9122 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
9123 SWIG_TypeNewClientData(SWIGTYPE_p_wxStatusBar
, SWIG_NewClientData(obj
));
9124 return SWIG_Py_Void();
9127 SWIGINTERN PyObject
*StatusBar_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9128 return SWIG_Python_InitShadowInstance(args
);
9131 SWIGINTERN
int SplitterNameStr_set(PyObject
*) {
9132 SWIG_Error(SWIG_AttributeError
,"Variable SplitterNameStr is read-only.");
9137 SWIGINTERN PyObject
*SplitterNameStr_get(void) {
9138 PyObject
*pyobj
= 0;
9142 pyobj
= PyUnicode_FromWideChar((&wxPySplitterNameStr
)->c_str(), (&wxPySplitterNameStr
)->Len());
9144 pyobj
= PyString_FromStringAndSize((&wxPySplitterNameStr
)->c_str(), (&wxPySplitterNameStr
)->Len());
9151 SWIGINTERN PyObject
*_wrap_new_SplitterWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9152 PyObject
*resultobj
= 0;
9153 wxWindow
*arg1
= (wxWindow
*) 0 ;
9154 int arg2
= (int) -1 ;
9155 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
9156 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
9157 wxSize
const &arg4_defvalue
= wxDefaultSize
;
9158 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
9159 long arg5
= (long) wxSP_3D
;
9160 wxString
const &arg6_defvalue
= wxPySplitterNameStr
;
9161 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
9162 wxSplitterWindow
*result
= 0 ;
9171 bool temp6
= false ;
9172 PyObject
* obj0
= 0 ;
9173 PyObject
* obj1
= 0 ;
9174 PyObject
* obj2
= 0 ;
9175 PyObject
* obj3
= 0 ;
9176 PyObject
* obj4
= 0 ;
9177 PyObject
* obj5
= 0 ;
9178 char * kwnames
[] = {
9179 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
9182 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_SplitterWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
9183 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
9184 if (!SWIG_IsOK(res1
)) {
9185 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_SplitterWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
9187 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
9189 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9190 if (!SWIG_IsOK(ecode2
)) {
9191 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_SplitterWindow" "', expected argument " "2"" of type '" "int""'");
9193 arg2
= static_cast< int >(val2
);
9198 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
9204 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
9208 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
9209 if (!SWIG_IsOK(ecode5
)) {
9210 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_SplitterWindow" "', expected argument " "5"" of type '" "long""'");
9212 arg5
= static_cast< long >(val5
);
9216 arg6
= wxString_in_helper(obj5
);
9217 if (arg6
== NULL
) SWIG_fail
;
9222 if (!wxPyCheckForApp()) SWIG_fail
;
9223 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9224 result
= (wxSplitterWindow
*)new wxSplitterWindow(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
9225 wxPyEndAllowThreads(__tstate
);
9226 if (PyErr_Occurred()) SWIG_fail
;
9228 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSplitterWindow
, SWIG_POINTER_NEW
| 0 );
9243 SWIGINTERN PyObject
*_wrap_new_PreSplitterWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9244 PyObject
*resultobj
= 0;
9245 wxSplitterWindow
*result
= 0 ;
9247 if (!SWIG_Python_UnpackTuple(args
,"new_PreSplitterWindow",0,0,0)) SWIG_fail
;
9249 if (!wxPyCheckForApp()) SWIG_fail
;
9250 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9251 result
= (wxSplitterWindow
*)new wxSplitterWindow();
9252 wxPyEndAllowThreads(__tstate
);
9253 if (PyErr_Occurred()) SWIG_fail
;
9255 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSplitterWindow
, SWIG_POINTER_OWN
| 0 );
9262 SWIGINTERN PyObject
*_wrap_SplitterWindow_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9263 PyObject
*resultobj
= 0;
9264 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
9265 wxWindow
*arg2
= (wxWindow
*) 0 ;
9266 int arg3
= (int) -1 ;
9267 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
9268 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
9269 wxSize
const &arg5_defvalue
= wxDefaultSize
;
9270 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
9271 long arg6
= (long) wxSP_3D
;
9272 wxString
const &arg7_defvalue
= wxPySplitterNameStr
;
9273 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
9285 bool temp7
= false ;
9286 PyObject
* obj0
= 0 ;
9287 PyObject
* obj1
= 0 ;
9288 PyObject
* obj2
= 0 ;
9289 PyObject
* obj3
= 0 ;
9290 PyObject
* obj4
= 0 ;
9291 PyObject
* obj5
= 0 ;
9292 PyObject
* obj6
= 0 ;
9293 char * kwnames
[] = {
9294 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
9297 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:SplitterWindow_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
9298 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
9299 if (!SWIG_IsOK(res1
)) {
9300 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_Create" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
9302 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
9303 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
9304 if (!SWIG_IsOK(res2
)) {
9305 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "SplitterWindow_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
9307 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
9309 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
9310 if (!SWIG_IsOK(ecode3
)) {
9311 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "SplitterWindow_Create" "', expected argument " "3"" of type '" "int""'");
9313 arg3
= static_cast< int >(val3
);
9318 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
9324 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
9328 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
9329 if (!SWIG_IsOK(ecode6
)) {
9330 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "SplitterWindow_Create" "', expected argument " "6"" of type '" "long""'");
9332 arg6
= static_cast< long >(val6
);
9336 arg7
= wxString_in_helper(obj6
);
9337 if (arg7
== NULL
) SWIG_fail
;
9342 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9343 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
9344 wxPyEndAllowThreads(__tstate
);
9345 if (PyErr_Occurred()) SWIG_fail
;
9348 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9364 SWIGINTERN PyObject
*_wrap_SplitterWindow_GetWindow1(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9365 PyObject
*resultobj
= 0;
9366 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
9367 wxWindow
*result
= 0 ;
9370 PyObject
*swig_obj
[1] ;
9372 if (!args
) SWIG_fail
;
9374 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
9375 if (!SWIG_IsOK(res1
)) {
9376 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_GetWindow1" "', expected argument " "1"" of type '" "wxSplitterWindow const *""'");
9378 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
9380 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9381 result
= (wxWindow
*)((wxSplitterWindow
const *)arg1
)->GetWindow1();
9382 wxPyEndAllowThreads(__tstate
);
9383 if (PyErr_Occurred()) SWIG_fail
;
9386 resultobj
= wxPyMake_wxObject(result
, 0);
9394 SWIGINTERN PyObject
*_wrap_SplitterWindow_GetWindow2(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9395 PyObject
*resultobj
= 0;
9396 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
9397 wxWindow
*result
= 0 ;
9400 PyObject
*swig_obj
[1] ;
9402 if (!args
) SWIG_fail
;
9404 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
9405 if (!SWIG_IsOK(res1
)) {
9406 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_GetWindow2" "', expected argument " "1"" of type '" "wxSplitterWindow const *""'");
9408 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
9410 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9411 result
= (wxWindow
*)((wxSplitterWindow
const *)arg1
)->GetWindow2();
9412 wxPyEndAllowThreads(__tstate
);
9413 if (PyErr_Occurred()) SWIG_fail
;
9416 resultobj
= wxPyMake_wxObject(result
, 0);
9424 SWIGINTERN PyObject
*_wrap_SplitterWindow_SetSplitMode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9425 PyObject
*resultobj
= 0;
9426 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
9432 PyObject
* obj0
= 0 ;
9433 PyObject
* obj1
= 0 ;
9434 char * kwnames
[] = {
9435 (char *) "self",(char *) "mode", NULL
9438 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplitterWindow_SetSplitMode",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9439 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
9440 if (!SWIG_IsOK(res1
)) {
9441 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_SetSplitMode" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
9443 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
9444 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9445 if (!SWIG_IsOK(ecode2
)) {
9446 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SplitterWindow_SetSplitMode" "', expected argument " "2"" of type '" "int""'");
9448 arg2
= static_cast< int >(val2
);
9450 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9451 (arg1
)->SetSplitMode(arg2
);
9452 wxPyEndAllowThreads(__tstate
);
9453 if (PyErr_Occurred()) SWIG_fail
;
9455 resultobj
= SWIG_Py_Void();
9462 SWIGINTERN PyObject
*_wrap_SplitterWindow_GetSplitMode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9463 PyObject
*resultobj
= 0;
9464 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
9468 PyObject
*swig_obj
[1] ;
9470 if (!args
) SWIG_fail
;
9472 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
9473 if (!SWIG_IsOK(res1
)) {
9474 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_GetSplitMode" "', expected argument " "1"" of type '" "wxSplitterWindow const *""'");
9476 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
9478 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9479 result
= (wxSplitMode
)((wxSplitterWindow
const *)arg1
)->GetSplitMode();
9480 wxPyEndAllowThreads(__tstate
);
9481 if (PyErr_Occurred()) SWIG_fail
;
9483 resultobj
= SWIG_From_int(static_cast< int >(result
));
9490 SWIGINTERN PyObject
*_wrap_SplitterWindow_Initialize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9491 PyObject
*resultobj
= 0;
9492 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
9493 wxWindow
*arg2
= (wxWindow
*) 0 ;
9498 PyObject
* obj0
= 0 ;
9499 PyObject
* obj1
= 0 ;
9500 char * kwnames
[] = {
9501 (char *) "self",(char *) "window", NULL
9504 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplitterWindow_Initialize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9505 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
9506 if (!SWIG_IsOK(res1
)) {
9507 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_Initialize" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
9509 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
9510 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
9511 if (!SWIG_IsOK(res2
)) {
9512 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "SplitterWindow_Initialize" "', expected argument " "2"" of type '" "wxWindow *""'");
9514 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
9516 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9517 (arg1
)->Initialize(arg2
);
9518 wxPyEndAllowThreads(__tstate
);
9519 if (PyErr_Occurred()) SWIG_fail
;
9521 resultobj
= SWIG_Py_Void();
9528 SWIGINTERN PyObject
*_wrap_SplitterWindow_SplitVertically(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9529 PyObject
*resultobj
= 0;
9530 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
9531 wxWindow
*arg2
= (wxWindow
*) 0 ;
9532 wxWindow
*arg3
= (wxWindow
*) 0 ;
9533 int arg4
= (int) 0 ;
9543 PyObject
* obj0
= 0 ;
9544 PyObject
* obj1
= 0 ;
9545 PyObject
* obj2
= 0 ;
9546 PyObject
* obj3
= 0 ;
9547 char * kwnames
[] = {
9548 (char *) "self",(char *) "window1",(char *) "window2",(char *) "sashPosition", NULL
9551 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:SplitterWindow_SplitVertically",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
9552 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
9553 if (!SWIG_IsOK(res1
)) {
9554 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_SplitVertically" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
9556 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
9557 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
9558 if (!SWIG_IsOK(res2
)) {
9559 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "SplitterWindow_SplitVertically" "', expected argument " "2"" of type '" "wxWindow *""'");
9561 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
9562 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxWindow
, 0 | 0 );
9563 if (!SWIG_IsOK(res3
)) {
9564 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "SplitterWindow_SplitVertically" "', expected argument " "3"" of type '" "wxWindow *""'");
9566 arg3
= reinterpret_cast< wxWindow
* >(argp3
);
9568 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
9569 if (!SWIG_IsOK(ecode4
)) {
9570 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "SplitterWindow_SplitVertically" "', expected argument " "4"" of type '" "int""'");
9572 arg4
= static_cast< int >(val4
);
9575 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9576 result
= (bool)(arg1
)->SplitVertically(arg2
,arg3
,arg4
);
9577 wxPyEndAllowThreads(__tstate
);
9578 if (PyErr_Occurred()) SWIG_fail
;
9581 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9589 SWIGINTERN PyObject
*_wrap_SplitterWindow_SplitHorizontally(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9590 PyObject
*resultobj
= 0;
9591 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
9592 wxWindow
*arg2
= (wxWindow
*) 0 ;
9593 wxWindow
*arg3
= (wxWindow
*) 0 ;
9594 int arg4
= (int) 0 ;
9604 PyObject
* obj0
= 0 ;
9605 PyObject
* obj1
= 0 ;
9606 PyObject
* obj2
= 0 ;
9607 PyObject
* obj3
= 0 ;
9608 char * kwnames
[] = {
9609 (char *) "self",(char *) "window1",(char *) "window2",(char *) "sashPosition", NULL
9612 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:SplitterWindow_SplitHorizontally",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
9613 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
9614 if (!SWIG_IsOK(res1
)) {
9615 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_SplitHorizontally" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
9617 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
9618 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
9619 if (!SWIG_IsOK(res2
)) {
9620 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "SplitterWindow_SplitHorizontally" "', expected argument " "2"" of type '" "wxWindow *""'");
9622 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
9623 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxWindow
, 0 | 0 );
9624 if (!SWIG_IsOK(res3
)) {
9625 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "SplitterWindow_SplitHorizontally" "', expected argument " "3"" of type '" "wxWindow *""'");
9627 arg3
= reinterpret_cast< wxWindow
* >(argp3
);
9629 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
9630 if (!SWIG_IsOK(ecode4
)) {
9631 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "SplitterWindow_SplitHorizontally" "', expected argument " "4"" of type '" "int""'");
9633 arg4
= static_cast< int >(val4
);
9636 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9637 result
= (bool)(arg1
)->SplitHorizontally(arg2
,arg3
,arg4
);
9638 wxPyEndAllowThreads(__tstate
);
9639 if (PyErr_Occurred()) SWIG_fail
;
9642 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9650 SWIGINTERN PyObject
*_wrap_SplitterWindow_Unsplit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9651 PyObject
*resultobj
= 0;
9652 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
9653 wxWindow
*arg2
= (wxWindow
*) NULL
;
9659 PyObject
* obj0
= 0 ;
9660 PyObject
* obj1
= 0 ;
9661 char * kwnames
[] = {
9662 (char *) "self",(char *) "toRemove", NULL
9665 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:SplitterWindow_Unsplit",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9666 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
9667 if (!SWIG_IsOK(res1
)) {
9668 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_Unsplit" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
9670 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
9672 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
9673 if (!SWIG_IsOK(res2
)) {
9674 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "SplitterWindow_Unsplit" "', expected argument " "2"" of type '" "wxWindow *""'");
9676 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
9679 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9680 result
= (bool)(arg1
)->Unsplit(arg2
);
9681 wxPyEndAllowThreads(__tstate
);
9682 if (PyErr_Occurred()) SWIG_fail
;
9685 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9693 SWIGINTERN PyObject
*_wrap_SplitterWindow_ReplaceWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9694 PyObject
*resultobj
= 0;
9695 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
9696 wxWindow
*arg2
= (wxWindow
*) 0 ;
9697 wxWindow
*arg3
= (wxWindow
*) 0 ;
9705 PyObject
* obj0
= 0 ;
9706 PyObject
* obj1
= 0 ;
9707 PyObject
* obj2
= 0 ;
9708 char * kwnames
[] = {
9709 (char *) "self",(char *) "winOld",(char *) "winNew", NULL
9712 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SplitterWindow_ReplaceWindow",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
9713 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
9714 if (!SWIG_IsOK(res1
)) {
9715 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_ReplaceWindow" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
9717 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
9718 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
9719 if (!SWIG_IsOK(res2
)) {
9720 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "SplitterWindow_ReplaceWindow" "', expected argument " "2"" of type '" "wxWindow *""'");
9722 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
9723 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxWindow
, 0 | 0 );
9724 if (!SWIG_IsOK(res3
)) {
9725 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "SplitterWindow_ReplaceWindow" "', expected argument " "3"" of type '" "wxWindow *""'");
9727 arg3
= reinterpret_cast< wxWindow
* >(argp3
);
9729 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9730 result
= (bool)(arg1
)->ReplaceWindow(arg2
,arg3
);
9731 wxPyEndAllowThreads(__tstate
);
9732 if (PyErr_Occurred()) SWIG_fail
;
9735 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9743 SWIGINTERN PyObject
*_wrap_SplitterWindow_UpdateSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9744 PyObject
*resultobj
= 0;
9745 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
9748 PyObject
*swig_obj
[1] ;
9750 if (!args
) SWIG_fail
;
9752 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
9753 if (!SWIG_IsOK(res1
)) {
9754 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_UpdateSize" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
9756 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
9758 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9759 (arg1
)->UpdateSize();
9760 wxPyEndAllowThreads(__tstate
);
9761 if (PyErr_Occurred()) SWIG_fail
;
9763 resultobj
= SWIG_Py_Void();
9770 SWIGINTERN PyObject
*_wrap_SplitterWindow_IsSplit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9771 PyObject
*resultobj
= 0;
9772 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
9776 PyObject
*swig_obj
[1] ;
9778 if (!args
) SWIG_fail
;
9780 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
9781 if (!SWIG_IsOK(res1
)) {
9782 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_IsSplit" "', expected argument " "1"" of type '" "wxSplitterWindow const *""'");
9784 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
9786 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9787 result
= (bool)((wxSplitterWindow
const *)arg1
)->IsSplit();
9788 wxPyEndAllowThreads(__tstate
);
9789 if (PyErr_Occurred()) SWIG_fail
;
9792 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9800 SWIGINTERN PyObject
*_wrap_SplitterWindow_SetSashSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9801 PyObject
*resultobj
= 0;
9802 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
9808 PyObject
* obj0
= 0 ;
9809 PyObject
* obj1
= 0 ;
9810 char * kwnames
[] = {
9811 (char *) "self",(char *) "width", NULL
9814 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplitterWindow_SetSashSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9815 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
9816 if (!SWIG_IsOK(res1
)) {
9817 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_SetSashSize" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
9819 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
9820 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9821 if (!SWIG_IsOK(ecode2
)) {
9822 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SplitterWindow_SetSashSize" "', expected argument " "2"" of type '" "int""'");
9824 arg2
= static_cast< int >(val2
);
9826 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9827 (arg1
)->SetSashSize(arg2
);
9828 wxPyEndAllowThreads(__tstate
);
9829 if (PyErr_Occurred()) SWIG_fail
;
9831 resultobj
= SWIG_Py_Void();
9838 SWIGINTERN PyObject
*_wrap_SplitterWindow_SetBorderSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9839 PyObject
*resultobj
= 0;
9840 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
9846 PyObject
* obj0
= 0 ;
9847 PyObject
* obj1
= 0 ;
9848 char * kwnames
[] = {
9849 (char *) "self",(char *) "width", NULL
9852 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplitterWindow_SetBorderSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9853 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
9854 if (!SWIG_IsOK(res1
)) {
9855 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_SetBorderSize" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
9857 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
9858 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9859 if (!SWIG_IsOK(ecode2
)) {
9860 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SplitterWindow_SetBorderSize" "', expected argument " "2"" of type '" "int""'");
9862 arg2
= static_cast< int >(val2
);
9864 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9865 (arg1
)->SetBorderSize(arg2
);
9866 wxPyEndAllowThreads(__tstate
);
9867 if (PyErr_Occurred()) SWIG_fail
;
9869 resultobj
= SWIG_Py_Void();
9876 SWIGINTERN PyObject
*_wrap_SplitterWindow_GetSashSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9877 PyObject
*resultobj
= 0;
9878 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
9882 PyObject
*swig_obj
[1] ;
9884 if (!args
) SWIG_fail
;
9886 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
9887 if (!SWIG_IsOK(res1
)) {
9888 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_GetSashSize" "', expected argument " "1"" of type '" "wxSplitterWindow const *""'");
9890 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
9892 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9893 result
= (int)((wxSplitterWindow
const *)arg1
)->GetSashSize();
9894 wxPyEndAllowThreads(__tstate
);
9895 if (PyErr_Occurred()) SWIG_fail
;
9897 resultobj
= SWIG_From_int(static_cast< int >(result
));
9904 SWIGINTERN PyObject
*_wrap_SplitterWindow_GetBorderSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9905 PyObject
*resultobj
= 0;
9906 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
9910 PyObject
*swig_obj
[1] ;
9912 if (!args
) SWIG_fail
;
9914 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
9915 if (!SWIG_IsOK(res1
)) {
9916 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_GetBorderSize" "', expected argument " "1"" of type '" "wxSplitterWindow const *""'");
9918 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
9920 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9921 result
= (int)((wxSplitterWindow
const *)arg1
)->GetBorderSize();
9922 wxPyEndAllowThreads(__tstate
);
9923 if (PyErr_Occurred()) SWIG_fail
;
9925 resultobj
= SWIG_From_int(static_cast< int >(result
));
9932 SWIGINTERN PyObject
*_wrap_SplitterWindow_SetSashPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9933 PyObject
*resultobj
= 0;
9934 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
9936 bool arg3
= (bool) true ;
9943 PyObject
* obj0
= 0 ;
9944 PyObject
* obj1
= 0 ;
9945 PyObject
* obj2
= 0 ;
9946 char * kwnames
[] = {
9947 (char *) "self",(char *) "position",(char *) "redraw", NULL
9950 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:SplitterWindow_SetSashPosition",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
9951 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
9952 if (!SWIG_IsOK(res1
)) {
9953 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_SetSashPosition" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
9955 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
9956 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9957 if (!SWIG_IsOK(ecode2
)) {
9958 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SplitterWindow_SetSashPosition" "', expected argument " "2"" of type '" "int""'");
9960 arg2
= static_cast< int >(val2
);
9962 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
9963 if (!SWIG_IsOK(ecode3
)) {
9964 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "SplitterWindow_SetSashPosition" "', expected argument " "3"" of type '" "bool""'");
9966 arg3
= static_cast< bool >(val3
);
9969 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9970 (arg1
)->SetSashPosition(arg2
,arg3
);
9971 wxPyEndAllowThreads(__tstate
);
9972 if (PyErr_Occurred()) SWIG_fail
;
9974 resultobj
= SWIG_Py_Void();
9981 SWIGINTERN PyObject
*_wrap_SplitterWindow_GetSashPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9982 PyObject
*resultobj
= 0;
9983 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
9987 PyObject
*swig_obj
[1] ;
9989 if (!args
) SWIG_fail
;
9991 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
9992 if (!SWIG_IsOK(res1
)) {
9993 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_GetSashPosition" "', expected argument " "1"" of type '" "wxSplitterWindow const *""'");
9995 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
9997 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9998 result
= (int)((wxSplitterWindow
const *)arg1
)->GetSashPosition();
9999 wxPyEndAllowThreads(__tstate
);
10000 if (PyErr_Occurred()) SWIG_fail
;
10002 resultobj
= SWIG_From_int(static_cast< int >(result
));
10009 SWIGINTERN PyObject
*_wrap_SplitterWindow_SetSashGravity(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10010 PyObject
*resultobj
= 0;
10011 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
10017 PyObject
* obj0
= 0 ;
10018 PyObject
* obj1
= 0 ;
10019 char * kwnames
[] = {
10020 (char *) "self",(char *) "gravity", NULL
10023 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplitterWindow_SetSashGravity",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10024 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
10025 if (!SWIG_IsOK(res1
)) {
10026 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_SetSashGravity" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
10028 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
10029 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
10030 if (!SWIG_IsOK(ecode2
)) {
10031 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SplitterWindow_SetSashGravity" "', expected argument " "2"" of type '" "double""'");
10033 arg2
= static_cast< double >(val2
);
10035 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10036 (arg1
)->SetSashGravity(arg2
);
10037 wxPyEndAllowThreads(__tstate
);
10038 if (PyErr_Occurred()) SWIG_fail
;
10040 resultobj
= SWIG_Py_Void();
10047 SWIGINTERN PyObject
*_wrap_SplitterWindow_GetSashGravity(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10048 PyObject
*resultobj
= 0;
10049 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
10053 PyObject
*swig_obj
[1] ;
10055 if (!args
) SWIG_fail
;
10056 swig_obj
[0] = args
;
10057 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
10058 if (!SWIG_IsOK(res1
)) {
10059 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_GetSashGravity" "', expected argument " "1"" of type '" "wxSplitterWindow const *""'");
10061 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
10063 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10064 result
= (double)((wxSplitterWindow
const *)arg1
)->GetSashGravity();
10065 wxPyEndAllowThreads(__tstate
);
10066 if (PyErr_Occurred()) SWIG_fail
;
10068 resultobj
= SWIG_From_double(static_cast< double >(result
));
10075 SWIGINTERN PyObject
*_wrap_SplitterWindow_SetMinimumPaneSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10076 PyObject
*resultobj
= 0;
10077 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
10083 PyObject
* obj0
= 0 ;
10084 PyObject
* obj1
= 0 ;
10085 char * kwnames
[] = {
10086 (char *) "self",(char *) "min", NULL
10089 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplitterWindow_SetMinimumPaneSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10090 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
10091 if (!SWIG_IsOK(res1
)) {
10092 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_SetMinimumPaneSize" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
10094 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
10095 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10096 if (!SWIG_IsOK(ecode2
)) {
10097 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SplitterWindow_SetMinimumPaneSize" "', expected argument " "2"" of type '" "int""'");
10099 arg2
= static_cast< int >(val2
);
10101 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10102 (arg1
)->SetMinimumPaneSize(arg2
);
10103 wxPyEndAllowThreads(__tstate
);
10104 if (PyErr_Occurred()) SWIG_fail
;
10106 resultobj
= SWIG_Py_Void();
10113 SWIGINTERN PyObject
*_wrap_SplitterWindow_GetMinimumPaneSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10114 PyObject
*resultobj
= 0;
10115 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
10119 PyObject
*swig_obj
[1] ;
10121 if (!args
) SWIG_fail
;
10122 swig_obj
[0] = args
;
10123 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
10124 if (!SWIG_IsOK(res1
)) {
10125 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_GetMinimumPaneSize" "', expected argument " "1"" of type '" "wxSplitterWindow const *""'");
10127 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
10129 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10130 result
= (int)((wxSplitterWindow
const *)arg1
)->GetMinimumPaneSize();
10131 wxPyEndAllowThreads(__tstate
);
10132 if (PyErr_Occurred()) SWIG_fail
;
10134 resultobj
= SWIG_From_int(static_cast< int >(result
));
10141 SWIGINTERN PyObject
*_wrap_SplitterWindow_SashHitTest(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10142 PyObject
*resultobj
= 0;
10143 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
10146 int arg4
= (int) 5 ;
10156 PyObject
* obj0
= 0 ;
10157 PyObject
* obj1
= 0 ;
10158 PyObject
* obj2
= 0 ;
10159 PyObject
* obj3
= 0 ;
10160 char * kwnames
[] = {
10161 (char *) "self",(char *) "x",(char *) "y",(char *) "tolerance", NULL
10164 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:SplitterWindow_SashHitTest",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
10165 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
10166 if (!SWIG_IsOK(res1
)) {
10167 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_SashHitTest" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
10169 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
10170 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10171 if (!SWIG_IsOK(ecode2
)) {
10172 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SplitterWindow_SashHitTest" "', expected argument " "2"" of type '" "int""'");
10174 arg2
= static_cast< int >(val2
);
10175 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
10176 if (!SWIG_IsOK(ecode3
)) {
10177 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "SplitterWindow_SashHitTest" "', expected argument " "3"" of type '" "int""'");
10179 arg3
= static_cast< int >(val3
);
10181 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
10182 if (!SWIG_IsOK(ecode4
)) {
10183 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "SplitterWindow_SashHitTest" "', expected argument " "4"" of type '" "int""'");
10185 arg4
= static_cast< int >(val4
);
10188 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10189 result
= (bool)(arg1
)->SashHitTest(arg2
,arg3
,arg4
);
10190 wxPyEndAllowThreads(__tstate
);
10191 if (PyErr_Occurred()) SWIG_fail
;
10194 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10202 SWIGINTERN PyObject
*_wrap_SplitterWindow_SizeWindows(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10203 PyObject
*resultobj
= 0;
10204 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
10207 PyObject
*swig_obj
[1] ;
10209 if (!args
) SWIG_fail
;
10210 swig_obj
[0] = args
;
10211 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
10212 if (!SWIG_IsOK(res1
)) {
10213 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_SizeWindows" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
10215 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
10217 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10218 (arg1
)->SizeWindows();
10219 wxPyEndAllowThreads(__tstate
);
10220 if (PyErr_Occurred()) SWIG_fail
;
10222 resultobj
= SWIG_Py_Void();
10229 SWIGINTERN PyObject
*_wrap_SplitterWindow_SetNeedUpdating(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10230 PyObject
*resultobj
= 0;
10231 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
10237 PyObject
* obj0
= 0 ;
10238 PyObject
* obj1
= 0 ;
10239 char * kwnames
[] = {
10240 (char *) "self",(char *) "needUpdating", NULL
10243 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplitterWindow_SetNeedUpdating",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10244 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
10245 if (!SWIG_IsOK(res1
)) {
10246 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_SetNeedUpdating" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
10248 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
10249 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
10250 if (!SWIG_IsOK(ecode2
)) {
10251 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SplitterWindow_SetNeedUpdating" "', expected argument " "2"" of type '" "bool""'");
10253 arg2
= static_cast< bool >(val2
);
10255 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10256 (arg1
)->SetNeedUpdating(arg2
);
10257 wxPyEndAllowThreads(__tstate
);
10258 if (PyErr_Occurred()) SWIG_fail
;
10260 resultobj
= SWIG_Py_Void();
10267 SWIGINTERN PyObject
*_wrap_SplitterWindow_GetNeedUpdating(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10268 PyObject
*resultobj
= 0;
10269 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
10273 PyObject
*swig_obj
[1] ;
10275 if (!args
) SWIG_fail
;
10276 swig_obj
[0] = args
;
10277 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
10278 if (!SWIG_IsOK(res1
)) {
10279 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_GetNeedUpdating" "', expected argument " "1"" of type '" "wxSplitterWindow const *""'");
10281 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
10283 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10284 result
= (bool)((wxSplitterWindow
const *)arg1
)->GetNeedUpdating();
10285 wxPyEndAllowThreads(__tstate
);
10286 if (PyErr_Occurred()) SWIG_fail
;
10289 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10297 SWIGINTERN PyObject
*_wrap_SplitterWindow_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10298 PyObject
*resultobj
= 0;
10299 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
10300 SwigValueWrapper
<wxVisualAttributes
> result
;
10303 PyObject
* obj0
= 0 ;
10304 char * kwnames
[] = {
10305 (char *) "variant", NULL
10308 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:SplitterWindow_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
10310 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
10311 if (!SWIG_IsOK(ecode1
)) {
10312 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "SplitterWindow_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
10314 arg1
= static_cast< wxWindowVariant
>(val1
);
10317 if (!wxPyCheckForApp()) SWIG_fail
;
10318 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10319 result
= wxSplitterWindow::GetClassDefaultAttributes(arg1
);
10320 wxPyEndAllowThreads(__tstate
);
10321 if (PyErr_Occurred()) SWIG_fail
;
10323 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
10330 SWIGINTERN PyObject
*SplitterWindow_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10332 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
10333 SWIG_TypeNewClientData(SWIGTYPE_p_wxSplitterWindow
, SWIG_NewClientData(obj
));
10334 return SWIG_Py_Void();
10337 SWIGINTERN PyObject
*SplitterWindow_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10338 return SWIG_Python_InitShadowInstance(args
);
10341 SWIGINTERN PyObject
*_wrap_new_SplitterEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10342 PyObject
*resultobj
= 0;
10343 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
10344 wxSplitterWindow
*arg2
= (wxSplitterWindow
*) (wxSplitterWindow
*) NULL
;
10345 wxSplitterEvent
*result
= 0 ;
10350 PyObject
* obj0
= 0 ;
10351 PyObject
* obj1
= 0 ;
10352 char * kwnames
[] = {
10353 (char *) "type",(char *) "splitter", NULL
10356 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_SplitterEvent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10358 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
10359 if (!SWIG_IsOK(ecode1
)) {
10360 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_SplitterEvent" "', expected argument " "1"" of type '" "wxEventType""'");
10362 arg1
= static_cast< wxEventType
>(val1
);
10365 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
10366 if (!SWIG_IsOK(res2
)) {
10367 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_SplitterEvent" "', expected argument " "2"" of type '" "wxSplitterWindow *""'");
10369 arg2
= reinterpret_cast< wxSplitterWindow
* >(argp2
);
10372 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10373 result
= (wxSplitterEvent
*)new wxSplitterEvent(arg1
,arg2
);
10374 wxPyEndAllowThreads(__tstate
);
10375 if (PyErr_Occurred()) SWIG_fail
;
10377 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSplitterEvent
, SWIG_POINTER_NEW
| 0 );
10384 SWIGINTERN PyObject
*_wrap_SplitterEvent_SetSashPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10385 PyObject
*resultobj
= 0;
10386 wxSplitterEvent
*arg1
= (wxSplitterEvent
*) 0 ;
10392 PyObject
* obj0
= 0 ;
10393 PyObject
* obj1
= 0 ;
10394 char * kwnames
[] = {
10395 (char *) "self",(char *) "pos", NULL
10398 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplitterEvent_SetSashPosition",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10399 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSplitterEvent
, 0 | 0 );
10400 if (!SWIG_IsOK(res1
)) {
10401 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterEvent_SetSashPosition" "', expected argument " "1"" of type '" "wxSplitterEvent *""'");
10403 arg1
= reinterpret_cast< wxSplitterEvent
* >(argp1
);
10404 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10405 if (!SWIG_IsOK(ecode2
)) {
10406 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SplitterEvent_SetSashPosition" "', expected argument " "2"" of type '" "int""'");
10408 arg2
= static_cast< int >(val2
);
10410 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10411 (arg1
)->SetSashPosition(arg2
);
10412 wxPyEndAllowThreads(__tstate
);
10413 if (PyErr_Occurred()) SWIG_fail
;
10415 resultobj
= SWIG_Py_Void();
10422 SWIGINTERN PyObject
*_wrap_SplitterEvent_GetSashPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10423 PyObject
*resultobj
= 0;
10424 wxSplitterEvent
*arg1
= (wxSplitterEvent
*) 0 ;
10428 PyObject
*swig_obj
[1] ;
10430 if (!args
) SWIG_fail
;
10431 swig_obj
[0] = args
;
10432 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterEvent
, 0 | 0 );
10433 if (!SWIG_IsOK(res1
)) {
10434 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterEvent_GetSashPosition" "', expected argument " "1"" of type '" "wxSplitterEvent const *""'");
10436 arg1
= reinterpret_cast< wxSplitterEvent
* >(argp1
);
10438 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10439 result
= (int)((wxSplitterEvent
const *)arg1
)->GetSashPosition();
10440 wxPyEndAllowThreads(__tstate
);
10441 if (PyErr_Occurred()) SWIG_fail
;
10443 resultobj
= SWIG_From_int(static_cast< int >(result
));
10450 SWIGINTERN PyObject
*_wrap_SplitterEvent_GetWindowBeingRemoved(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10451 PyObject
*resultobj
= 0;
10452 wxSplitterEvent
*arg1
= (wxSplitterEvent
*) 0 ;
10453 wxWindow
*result
= 0 ;
10456 PyObject
*swig_obj
[1] ;
10458 if (!args
) SWIG_fail
;
10459 swig_obj
[0] = args
;
10460 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterEvent
, 0 | 0 );
10461 if (!SWIG_IsOK(res1
)) {
10462 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterEvent_GetWindowBeingRemoved" "', expected argument " "1"" of type '" "wxSplitterEvent const *""'");
10464 arg1
= reinterpret_cast< wxSplitterEvent
* >(argp1
);
10466 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10467 result
= (wxWindow
*)((wxSplitterEvent
const *)arg1
)->GetWindowBeingRemoved();
10468 wxPyEndAllowThreads(__tstate
);
10469 if (PyErr_Occurred()) SWIG_fail
;
10472 resultobj
= wxPyMake_wxObject(result
, 0);
10480 SWIGINTERN PyObject
*_wrap_SplitterEvent_GetX(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10481 PyObject
*resultobj
= 0;
10482 wxSplitterEvent
*arg1
= (wxSplitterEvent
*) 0 ;
10486 PyObject
*swig_obj
[1] ;
10488 if (!args
) SWIG_fail
;
10489 swig_obj
[0] = args
;
10490 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterEvent
, 0 | 0 );
10491 if (!SWIG_IsOK(res1
)) {
10492 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterEvent_GetX" "', expected argument " "1"" of type '" "wxSplitterEvent const *""'");
10494 arg1
= reinterpret_cast< wxSplitterEvent
* >(argp1
);
10496 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10497 result
= (int)((wxSplitterEvent
const *)arg1
)->GetX();
10498 wxPyEndAllowThreads(__tstate
);
10499 if (PyErr_Occurred()) SWIG_fail
;
10501 resultobj
= SWIG_From_int(static_cast< int >(result
));
10508 SWIGINTERN PyObject
*_wrap_SplitterEvent_GetY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10509 PyObject
*resultobj
= 0;
10510 wxSplitterEvent
*arg1
= (wxSplitterEvent
*) 0 ;
10514 PyObject
*swig_obj
[1] ;
10516 if (!args
) SWIG_fail
;
10517 swig_obj
[0] = args
;
10518 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterEvent
, 0 | 0 );
10519 if (!SWIG_IsOK(res1
)) {
10520 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterEvent_GetY" "', expected argument " "1"" of type '" "wxSplitterEvent const *""'");
10522 arg1
= reinterpret_cast< wxSplitterEvent
* >(argp1
);
10524 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10525 result
= (int)((wxSplitterEvent
const *)arg1
)->GetY();
10526 wxPyEndAllowThreads(__tstate
);
10527 if (PyErr_Occurred()) SWIG_fail
;
10529 resultobj
= SWIG_From_int(static_cast< int >(result
));
10536 SWIGINTERN PyObject
*SplitterEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10538 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
10539 SWIG_TypeNewClientData(SWIGTYPE_p_wxSplitterEvent
, SWIG_NewClientData(obj
));
10540 return SWIG_Py_Void();
10543 SWIGINTERN PyObject
*SplitterEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10544 return SWIG_Python_InitShadowInstance(args
);
10547 SWIGINTERN
int SashNameStr_set(PyObject
*) {
10548 SWIG_Error(SWIG_AttributeError
,"Variable SashNameStr is read-only.");
10553 SWIGINTERN PyObject
*SashNameStr_get(void) {
10554 PyObject
*pyobj
= 0;
10558 pyobj
= PyUnicode_FromWideChar((&wxPySashNameStr
)->c_str(), (&wxPySashNameStr
)->Len());
10560 pyobj
= PyString_FromStringAndSize((&wxPySashNameStr
)->c_str(), (&wxPySashNameStr
)->Len());
10567 SWIGINTERN
int SashLayoutNameStr_set(PyObject
*) {
10568 SWIG_Error(SWIG_AttributeError
,"Variable SashLayoutNameStr is read-only.");
10573 SWIGINTERN PyObject
*SashLayoutNameStr_get(void) {
10574 PyObject
*pyobj
= 0;
10578 pyobj
= PyUnicode_FromWideChar((&wxPySashLayoutNameStr
)->c_str(), (&wxPySashLayoutNameStr
)->Len());
10580 pyobj
= PyString_FromStringAndSize((&wxPySashLayoutNameStr
)->c_str(), (&wxPySashLayoutNameStr
)->Len());
10587 SWIGINTERN PyObject
*_wrap_new_SashWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10588 PyObject
*resultobj
= 0;
10589 wxWindow
*arg1
= (wxWindow
*) 0 ;
10590 int arg2
= (int) -1 ;
10591 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
10592 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
10593 wxSize
const &arg4_defvalue
= wxDefaultSize
;
10594 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
10595 long arg5
= (long) wxCLIP_CHILDREN
|wxSW_3D
;
10596 wxString
const &arg6_defvalue
= wxPySashNameStr
;
10597 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
10598 wxSashWindow
*result
= 0 ;
10607 bool temp6
= false ;
10608 PyObject
* obj0
= 0 ;
10609 PyObject
* obj1
= 0 ;
10610 PyObject
* obj2
= 0 ;
10611 PyObject
* obj3
= 0 ;
10612 PyObject
* obj4
= 0 ;
10613 PyObject
* obj5
= 0 ;
10614 char * kwnames
[] = {
10615 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
10618 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_SashWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
10619 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
10620 if (!SWIG_IsOK(res1
)) {
10621 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_SashWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
10623 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
10625 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10626 if (!SWIG_IsOK(ecode2
)) {
10627 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_SashWindow" "', expected argument " "2"" of type '" "int""'");
10629 arg2
= static_cast< int >(val2
);
10634 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
10640 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
10644 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
10645 if (!SWIG_IsOK(ecode5
)) {
10646 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_SashWindow" "', expected argument " "5"" of type '" "long""'");
10648 arg5
= static_cast< long >(val5
);
10652 arg6
= wxString_in_helper(obj5
);
10653 if (arg6
== NULL
) SWIG_fail
;
10658 if (!wxPyCheckForApp()) SWIG_fail
;
10659 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10660 result
= (wxSashWindow
*)new wxSashWindow(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
10661 wxPyEndAllowThreads(__tstate
);
10662 if (PyErr_Occurred()) SWIG_fail
;
10664 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSashWindow
, SWIG_POINTER_NEW
| 0 );
10679 SWIGINTERN PyObject
*_wrap_new_PreSashWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10680 PyObject
*resultobj
= 0;
10681 wxSashWindow
*result
= 0 ;
10683 if (!SWIG_Python_UnpackTuple(args
,"new_PreSashWindow",0,0,0)) SWIG_fail
;
10685 if (!wxPyCheckForApp()) SWIG_fail
;
10686 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10687 result
= (wxSashWindow
*)new wxSashWindow();
10688 wxPyEndAllowThreads(__tstate
);
10689 if (PyErr_Occurred()) SWIG_fail
;
10691 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSashWindow
, SWIG_POINTER_OWN
| 0 );
10698 SWIGINTERN PyObject
*_wrap_SashWindow_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10699 PyObject
*resultobj
= 0;
10700 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
10701 wxWindow
*arg2
= (wxWindow
*) 0 ;
10702 int arg3
= (int) -1 ;
10703 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
10704 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
10705 wxSize
const &arg5_defvalue
= wxDefaultSize
;
10706 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
10707 long arg6
= (long) wxCLIP_CHILDREN
|wxSW_3D
;
10708 wxString
const &arg7_defvalue
= wxPySashNameStr
;
10709 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
10721 bool temp7
= false ;
10722 PyObject
* obj0
= 0 ;
10723 PyObject
* obj1
= 0 ;
10724 PyObject
* obj2
= 0 ;
10725 PyObject
* obj3
= 0 ;
10726 PyObject
* obj4
= 0 ;
10727 PyObject
* obj5
= 0 ;
10728 PyObject
* obj6
= 0 ;
10729 char * kwnames
[] = {
10730 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
10733 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:SashWindow_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
10734 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSashWindow
, 0 | 0 );
10735 if (!SWIG_IsOK(res1
)) {
10736 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashWindow_Create" "', expected argument " "1"" of type '" "wxSashWindow *""'");
10738 arg1
= reinterpret_cast< wxSashWindow
* >(argp1
);
10739 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
10740 if (!SWIG_IsOK(res2
)) {
10741 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "SashWindow_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
10743 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
10745 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
10746 if (!SWIG_IsOK(ecode3
)) {
10747 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "SashWindow_Create" "', expected argument " "3"" of type '" "int""'");
10749 arg3
= static_cast< int >(val3
);
10754 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
10760 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
10764 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
10765 if (!SWIG_IsOK(ecode6
)) {
10766 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "SashWindow_Create" "', expected argument " "6"" of type '" "long""'");
10768 arg6
= static_cast< long >(val6
);
10772 arg7
= wxString_in_helper(obj6
);
10773 if (arg7
== NULL
) SWIG_fail
;
10778 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10779 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
10780 wxPyEndAllowThreads(__tstate
);
10781 if (PyErr_Occurred()) SWIG_fail
;
10784 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10800 SWIGINTERN PyObject
*_wrap_SashWindow_SetSashVisible(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10801 PyObject
*resultobj
= 0;
10802 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
10803 wxSashEdgePosition arg2
;
10811 PyObject
* obj0
= 0 ;
10812 PyObject
* obj1
= 0 ;
10813 PyObject
* obj2
= 0 ;
10814 char * kwnames
[] = {
10815 (char *) "self",(char *) "edge",(char *) "sash", NULL
10818 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SashWindow_SetSashVisible",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
10819 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSashWindow
, 0 | 0 );
10820 if (!SWIG_IsOK(res1
)) {
10821 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashWindow_SetSashVisible" "', expected argument " "1"" of type '" "wxSashWindow *""'");
10823 arg1
= reinterpret_cast< wxSashWindow
* >(argp1
);
10824 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10825 if (!SWIG_IsOK(ecode2
)) {
10826 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SashWindow_SetSashVisible" "', expected argument " "2"" of type '" "wxSashEdgePosition""'");
10828 arg2
= static_cast< wxSashEdgePosition
>(val2
);
10829 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
10830 if (!SWIG_IsOK(ecode3
)) {
10831 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "SashWindow_SetSashVisible" "', expected argument " "3"" of type '" "bool""'");
10833 arg3
= static_cast< bool >(val3
);
10835 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10836 (arg1
)->SetSashVisible(arg2
,arg3
);
10837 wxPyEndAllowThreads(__tstate
);
10838 if (PyErr_Occurred()) SWIG_fail
;
10840 resultobj
= SWIG_Py_Void();
10847 SWIGINTERN PyObject
*_wrap_SashWindow_GetSashVisible(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10848 PyObject
*resultobj
= 0;
10849 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
10850 wxSashEdgePosition arg2
;
10856 PyObject
* obj0
= 0 ;
10857 PyObject
* obj1
= 0 ;
10858 char * kwnames
[] = {
10859 (char *) "self",(char *) "edge", NULL
10862 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_GetSashVisible",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10863 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSashWindow
, 0 | 0 );
10864 if (!SWIG_IsOK(res1
)) {
10865 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashWindow_GetSashVisible" "', expected argument " "1"" of type '" "wxSashWindow const *""'");
10867 arg1
= reinterpret_cast< wxSashWindow
* >(argp1
);
10868 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10869 if (!SWIG_IsOK(ecode2
)) {
10870 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SashWindow_GetSashVisible" "', expected argument " "2"" of type '" "wxSashEdgePosition""'");
10872 arg2
= static_cast< wxSashEdgePosition
>(val2
);
10874 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10875 result
= (bool)((wxSashWindow
const *)arg1
)->GetSashVisible(arg2
);
10876 wxPyEndAllowThreads(__tstate
);
10877 if (PyErr_Occurred()) SWIG_fail
;
10880 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10888 SWIGINTERN PyObject
*_wrap_SashWindow_SetSashBorder(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10889 PyObject
*resultobj
= 0;
10890 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
10891 wxSashEdgePosition arg2
;
10899 PyObject
* obj0
= 0 ;
10900 PyObject
* obj1
= 0 ;
10901 PyObject
* obj2
= 0 ;
10902 char * kwnames
[] = {
10903 (char *) "self",(char *) "edge",(char *) "border", NULL
10906 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SashWindow_SetSashBorder",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
10907 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSashWindow
, 0 | 0 );
10908 if (!SWIG_IsOK(res1
)) {
10909 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashWindow_SetSashBorder" "', expected argument " "1"" of type '" "wxSashWindow *""'");
10911 arg1
= reinterpret_cast< wxSashWindow
* >(argp1
);
10912 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10913 if (!SWIG_IsOK(ecode2
)) {
10914 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SashWindow_SetSashBorder" "', expected argument " "2"" of type '" "wxSashEdgePosition""'");
10916 arg2
= static_cast< wxSashEdgePosition
>(val2
);
10917 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
10918 if (!SWIG_IsOK(ecode3
)) {
10919 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "SashWindow_SetSashBorder" "', expected argument " "3"" of type '" "bool""'");
10921 arg3
= static_cast< bool >(val3
);
10923 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10924 (arg1
)->SetSashBorder(arg2
,arg3
);
10925 wxPyEndAllowThreads(__tstate
);
10926 if (PyErr_Occurred()) SWIG_fail
;
10928 resultobj
= SWIG_Py_Void();
10935 SWIGINTERN PyObject
*_wrap_SashWindow_HasBorder(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10936 PyObject
*resultobj
= 0;
10937 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
10938 wxSashEdgePosition arg2
;
10944 PyObject
* obj0
= 0 ;
10945 PyObject
* obj1
= 0 ;
10946 char * kwnames
[] = {
10947 (char *) "self",(char *) "edge", NULL
10950 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_HasBorder",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10951 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSashWindow
, 0 | 0 );
10952 if (!SWIG_IsOK(res1
)) {
10953 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashWindow_HasBorder" "', expected argument " "1"" of type '" "wxSashWindow const *""'");
10955 arg1
= reinterpret_cast< wxSashWindow
* >(argp1
);
10956 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10957 if (!SWIG_IsOK(ecode2
)) {
10958 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SashWindow_HasBorder" "', expected argument " "2"" of type '" "wxSashEdgePosition""'");
10960 arg2
= static_cast< wxSashEdgePosition
>(val2
);
10962 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10963 result
= (bool)((wxSashWindow
const *)arg1
)->HasBorder(arg2
);
10964 wxPyEndAllowThreads(__tstate
);
10965 if (PyErr_Occurred()) SWIG_fail
;
10968 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10976 SWIGINTERN PyObject
*_wrap_SashWindow_GetEdgeMargin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10977 PyObject
*resultobj
= 0;
10978 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
10979 wxSashEdgePosition arg2
;
10985 PyObject
* obj0
= 0 ;
10986 PyObject
* obj1
= 0 ;
10987 char * kwnames
[] = {
10988 (char *) "self",(char *) "edge", NULL
10991 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_GetEdgeMargin",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10992 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSashWindow
, 0 | 0 );
10993 if (!SWIG_IsOK(res1
)) {
10994 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashWindow_GetEdgeMargin" "', expected argument " "1"" of type '" "wxSashWindow const *""'");
10996 arg1
= reinterpret_cast< wxSashWindow
* >(argp1
);
10997 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10998 if (!SWIG_IsOK(ecode2
)) {
10999 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SashWindow_GetEdgeMargin" "', expected argument " "2"" of type '" "wxSashEdgePosition""'");
11001 arg2
= static_cast< wxSashEdgePosition
>(val2
);
11003 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11004 result
= (int)((wxSashWindow
const *)arg1
)->GetEdgeMargin(arg2
);
11005 wxPyEndAllowThreads(__tstate
);
11006 if (PyErr_Occurred()) SWIG_fail
;
11008 resultobj
= SWIG_From_int(static_cast< int >(result
));
11015 SWIGINTERN PyObject
*_wrap_SashWindow_SetDefaultBorderSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11016 PyObject
*resultobj
= 0;
11017 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
11023 PyObject
* obj0
= 0 ;
11024 PyObject
* obj1
= 0 ;
11025 char * kwnames
[] = {
11026 (char *) "self",(char *) "width", NULL
11029 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_SetDefaultBorderSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11030 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSashWindow
, 0 | 0 );
11031 if (!SWIG_IsOK(res1
)) {
11032 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashWindow_SetDefaultBorderSize" "', expected argument " "1"" of type '" "wxSashWindow *""'");
11034 arg1
= reinterpret_cast< wxSashWindow
* >(argp1
);
11035 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11036 if (!SWIG_IsOK(ecode2
)) {
11037 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SashWindow_SetDefaultBorderSize" "', expected argument " "2"" of type '" "int""'");
11039 arg2
= static_cast< int >(val2
);
11041 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11042 (arg1
)->SetDefaultBorderSize(arg2
);
11043 wxPyEndAllowThreads(__tstate
);
11044 if (PyErr_Occurred()) SWIG_fail
;
11046 resultobj
= SWIG_Py_Void();
11053 SWIGINTERN PyObject
*_wrap_SashWindow_GetDefaultBorderSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11054 PyObject
*resultobj
= 0;
11055 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
11059 PyObject
*swig_obj
[1] ;
11061 if (!args
) SWIG_fail
;
11062 swig_obj
[0] = args
;
11063 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSashWindow
, 0 | 0 );
11064 if (!SWIG_IsOK(res1
)) {
11065 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashWindow_GetDefaultBorderSize" "', expected argument " "1"" of type '" "wxSashWindow const *""'");
11067 arg1
= reinterpret_cast< wxSashWindow
* >(argp1
);
11069 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11070 result
= (int)((wxSashWindow
const *)arg1
)->GetDefaultBorderSize();
11071 wxPyEndAllowThreads(__tstate
);
11072 if (PyErr_Occurred()) SWIG_fail
;
11074 resultobj
= SWIG_From_int(static_cast< int >(result
));
11081 SWIGINTERN PyObject
*_wrap_SashWindow_SetExtraBorderSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11082 PyObject
*resultobj
= 0;
11083 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
11089 PyObject
* obj0
= 0 ;
11090 PyObject
* obj1
= 0 ;
11091 char * kwnames
[] = {
11092 (char *) "self",(char *) "width", NULL
11095 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_SetExtraBorderSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11096 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSashWindow
, 0 | 0 );
11097 if (!SWIG_IsOK(res1
)) {
11098 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashWindow_SetExtraBorderSize" "', expected argument " "1"" of type '" "wxSashWindow *""'");
11100 arg1
= reinterpret_cast< wxSashWindow
* >(argp1
);
11101 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11102 if (!SWIG_IsOK(ecode2
)) {
11103 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SashWindow_SetExtraBorderSize" "', expected argument " "2"" of type '" "int""'");
11105 arg2
= static_cast< int >(val2
);
11107 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11108 (arg1
)->SetExtraBorderSize(arg2
);
11109 wxPyEndAllowThreads(__tstate
);
11110 if (PyErr_Occurred()) SWIG_fail
;
11112 resultobj
= SWIG_Py_Void();
11119 SWIGINTERN PyObject
*_wrap_SashWindow_GetExtraBorderSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11120 PyObject
*resultobj
= 0;
11121 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
11125 PyObject
*swig_obj
[1] ;
11127 if (!args
) SWIG_fail
;
11128 swig_obj
[0] = args
;
11129 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSashWindow
, 0 | 0 );
11130 if (!SWIG_IsOK(res1
)) {
11131 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashWindow_GetExtraBorderSize" "', expected argument " "1"" of type '" "wxSashWindow const *""'");
11133 arg1
= reinterpret_cast< wxSashWindow
* >(argp1
);
11135 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11136 result
= (int)((wxSashWindow
const *)arg1
)->GetExtraBorderSize();
11137 wxPyEndAllowThreads(__tstate
);
11138 if (PyErr_Occurred()) SWIG_fail
;
11140 resultobj
= SWIG_From_int(static_cast< int >(result
));
11147 SWIGINTERN PyObject
*_wrap_SashWindow_SetMinimumSizeX(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11148 PyObject
*resultobj
= 0;
11149 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
11155 PyObject
* obj0
= 0 ;
11156 PyObject
* obj1
= 0 ;
11157 char * kwnames
[] = {
11158 (char *) "self",(char *) "min", NULL
11161 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_SetMinimumSizeX",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11162 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSashWindow
, 0 | 0 );
11163 if (!SWIG_IsOK(res1
)) {
11164 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashWindow_SetMinimumSizeX" "', expected argument " "1"" of type '" "wxSashWindow *""'");
11166 arg1
= reinterpret_cast< wxSashWindow
* >(argp1
);
11167 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11168 if (!SWIG_IsOK(ecode2
)) {
11169 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SashWindow_SetMinimumSizeX" "', expected argument " "2"" of type '" "int""'");
11171 arg2
= static_cast< int >(val2
);
11173 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11174 (arg1
)->SetMinimumSizeX(arg2
);
11175 wxPyEndAllowThreads(__tstate
);
11176 if (PyErr_Occurred()) SWIG_fail
;
11178 resultobj
= SWIG_Py_Void();
11185 SWIGINTERN PyObject
*_wrap_SashWindow_SetMinimumSizeY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11186 PyObject
*resultobj
= 0;
11187 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
11193 PyObject
* obj0
= 0 ;
11194 PyObject
* obj1
= 0 ;
11195 char * kwnames
[] = {
11196 (char *) "self",(char *) "min", NULL
11199 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_SetMinimumSizeY",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11200 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSashWindow
, 0 | 0 );
11201 if (!SWIG_IsOK(res1
)) {
11202 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashWindow_SetMinimumSizeY" "', expected argument " "1"" of type '" "wxSashWindow *""'");
11204 arg1
= reinterpret_cast< wxSashWindow
* >(argp1
);
11205 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11206 if (!SWIG_IsOK(ecode2
)) {
11207 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SashWindow_SetMinimumSizeY" "', expected argument " "2"" of type '" "int""'");
11209 arg2
= static_cast< int >(val2
);
11211 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11212 (arg1
)->SetMinimumSizeY(arg2
);
11213 wxPyEndAllowThreads(__tstate
);
11214 if (PyErr_Occurred()) SWIG_fail
;
11216 resultobj
= SWIG_Py_Void();
11223 SWIGINTERN PyObject
*_wrap_SashWindow_GetMinimumSizeX(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11224 PyObject
*resultobj
= 0;
11225 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
11229 PyObject
*swig_obj
[1] ;
11231 if (!args
) SWIG_fail
;
11232 swig_obj
[0] = args
;
11233 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSashWindow
, 0 | 0 );
11234 if (!SWIG_IsOK(res1
)) {
11235 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashWindow_GetMinimumSizeX" "', expected argument " "1"" of type '" "wxSashWindow const *""'");
11237 arg1
= reinterpret_cast< wxSashWindow
* >(argp1
);
11239 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11240 result
= (int)((wxSashWindow
const *)arg1
)->GetMinimumSizeX();
11241 wxPyEndAllowThreads(__tstate
);
11242 if (PyErr_Occurred()) SWIG_fail
;
11244 resultobj
= SWIG_From_int(static_cast< int >(result
));
11251 SWIGINTERN PyObject
*_wrap_SashWindow_GetMinimumSizeY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11252 PyObject
*resultobj
= 0;
11253 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
11257 PyObject
*swig_obj
[1] ;
11259 if (!args
) SWIG_fail
;
11260 swig_obj
[0] = args
;
11261 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSashWindow
, 0 | 0 );
11262 if (!SWIG_IsOK(res1
)) {
11263 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashWindow_GetMinimumSizeY" "', expected argument " "1"" of type '" "wxSashWindow const *""'");
11265 arg1
= reinterpret_cast< wxSashWindow
* >(argp1
);
11267 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11268 result
= (int)((wxSashWindow
const *)arg1
)->GetMinimumSizeY();
11269 wxPyEndAllowThreads(__tstate
);
11270 if (PyErr_Occurred()) SWIG_fail
;
11272 resultobj
= SWIG_From_int(static_cast< int >(result
));
11279 SWIGINTERN PyObject
*_wrap_SashWindow_SetMaximumSizeX(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11280 PyObject
*resultobj
= 0;
11281 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
11287 PyObject
* obj0
= 0 ;
11288 PyObject
* obj1
= 0 ;
11289 char * kwnames
[] = {
11290 (char *) "self",(char *) "max", NULL
11293 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_SetMaximumSizeX",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11294 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSashWindow
, 0 | 0 );
11295 if (!SWIG_IsOK(res1
)) {
11296 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashWindow_SetMaximumSizeX" "', expected argument " "1"" of type '" "wxSashWindow *""'");
11298 arg1
= reinterpret_cast< wxSashWindow
* >(argp1
);
11299 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11300 if (!SWIG_IsOK(ecode2
)) {
11301 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SashWindow_SetMaximumSizeX" "', expected argument " "2"" of type '" "int""'");
11303 arg2
= static_cast< int >(val2
);
11305 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11306 (arg1
)->SetMaximumSizeX(arg2
);
11307 wxPyEndAllowThreads(__tstate
);
11308 if (PyErr_Occurred()) SWIG_fail
;
11310 resultobj
= SWIG_Py_Void();
11317 SWIGINTERN PyObject
*_wrap_SashWindow_SetMaximumSizeY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11318 PyObject
*resultobj
= 0;
11319 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
11325 PyObject
* obj0
= 0 ;
11326 PyObject
* obj1
= 0 ;
11327 char * kwnames
[] = {
11328 (char *) "self",(char *) "max", NULL
11331 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_SetMaximumSizeY",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11332 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSashWindow
, 0 | 0 );
11333 if (!SWIG_IsOK(res1
)) {
11334 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashWindow_SetMaximumSizeY" "', expected argument " "1"" of type '" "wxSashWindow *""'");
11336 arg1
= reinterpret_cast< wxSashWindow
* >(argp1
);
11337 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11338 if (!SWIG_IsOK(ecode2
)) {
11339 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SashWindow_SetMaximumSizeY" "', expected argument " "2"" of type '" "int""'");
11341 arg2
= static_cast< int >(val2
);
11343 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11344 (arg1
)->SetMaximumSizeY(arg2
);
11345 wxPyEndAllowThreads(__tstate
);
11346 if (PyErr_Occurred()) SWIG_fail
;
11348 resultobj
= SWIG_Py_Void();
11355 SWIGINTERN PyObject
*_wrap_SashWindow_GetMaximumSizeX(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11356 PyObject
*resultobj
= 0;
11357 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
11361 PyObject
*swig_obj
[1] ;
11363 if (!args
) SWIG_fail
;
11364 swig_obj
[0] = args
;
11365 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSashWindow
, 0 | 0 );
11366 if (!SWIG_IsOK(res1
)) {
11367 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashWindow_GetMaximumSizeX" "', expected argument " "1"" of type '" "wxSashWindow const *""'");
11369 arg1
= reinterpret_cast< wxSashWindow
* >(argp1
);
11371 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11372 result
= (int)((wxSashWindow
const *)arg1
)->GetMaximumSizeX();
11373 wxPyEndAllowThreads(__tstate
);
11374 if (PyErr_Occurred()) SWIG_fail
;
11376 resultobj
= SWIG_From_int(static_cast< int >(result
));
11383 SWIGINTERN PyObject
*_wrap_SashWindow_GetMaximumSizeY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11384 PyObject
*resultobj
= 0;
11385 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
11389 PyObject
*swig_obj
[1] ;
11391 if (!args
) SWIG_fail
;
11392 swig_obj
[0] = args
;
11393 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSashWindow
, 0 | 0 );
11394 if (!SWIG_IsOK(res1
)) {
11395 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashWindow_GetMaximumSizeY" "', expected argument " "1"" of type '" "wxSashWindow const *""'");
11397 arg1
= reinterpret_cast< wxSashWindow
* >(argp1
);
11399 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11400 result
= (int)((wxSashWindow
const *)arg1
)->GetMaximumSizeY();
11401 wxPyEndAllowThreads(__tstate
);
11402 if (PyErr_Occurred()) SWIG_fail
;
11404 resultobj
= SWIG_From_int(static_cast< int >(result
));
11411 SWIGINTERN PyObject
*_wrap_SashWindow_SashHitTest(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11412 PyObject
*resultobj
= 0;
11413 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
11416 int arg4
= (int) 2 ;
11417 wxSashEdgePosition result
;
11426 PyObject
* obj0
= 0 ;
11427 PyObject
* obj1
= 0 ;
11428 PyObject
* obj2
= 0 ;
11429 PyObject
* obj3
= 0 ;
11430 char * kwnames
[] = {
11431 (char *) "self",(char *) "x",(char *) "y",(char *) "tolerance", NULL
11434 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:SashWindow_SashHitTest",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
11435 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSashWindow
, 0 | 0 );
11436 if (!SWIG_IsOK(res1
)) {
11437 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashWindow_SashHitTest" "', expected argument " "1"" of type '" "wxSashWindow *""'");
11439 arg1
= reinterpret_cast< wxSashWindow
* >(argp1
);
11440 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11441 if (!SWIG_IsOK(ecode2
)) {
11442 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SashWindow_SashHitTest" "', expected argument " "2"" of type '" "int""'");
11444 arg2
= static_cast< int >(val2
);
11445 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
11446 if (!SWIG_IsOK(ecode3
)) {
11447 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "SashWindow_SashHitTest" "', expected argument " "3"" of type '" "int""'");
11449 arg3
= static_cast< int >(val3
);
11451 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
11452 if (!SWIG_IsOK(ecode4
)) {
11453 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "SashWindow_SashHitTest" "', expected argument " "4"" of type '" "int""'");
11455 arg4
= static_cast< int >(val4
);
11458 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11459 result
= (wxSashEdgePosition
)(arg1
)->SashHitTest(arg2
,arg3
,arg4
);
11460 wxPyEndAllowThreads(__tstate
);
11461 if (PyErr_Occurred()) SWIG_fail
;
11463 resultobj
= SWIG_From_int(static_cast< int >(result
));
11470 SWIGINTERN PyObject
*_wrap_SashWindow_SizeWindows(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11471 PyObject
*resultobj
= 0;
11472 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
11475 PyObject
*swig_obj
[1] ;
11477 if (!args
) SWIG_fail
;
11478 swig_obj
[0] = args
;
11479 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSashWindow
, 0 | 0 );
11480 if (!SWIG_IsOK(res1
)) {
11481 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashWindow_SizeWindows" "', expected argument " "1"" of type '" "wxSashWindow *""'");
11483 arg1
= reinterpret_cast< wxSashWindow
* >(argp1
);
11485 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11486 (arg1
)->SizeWindows();
11487 wxPyEndAllowThreads(__tstate
);
11488 if (PyErr_Occurred()) SWIG_fail
;
11490 resultobj
= SWIG_Py_Void();
11497 SWIGINTERN PyObject
*SashWindow_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11499 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
11500 SWIG_TypeNewClientData(SWIGTYPE_p_wxSashWindow
, SWIG_NewClientData(obj
));
11501 return SWIG_Py_Void();
11504 SWIGINTERN PyObject
*SashWindow_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11505 return SWIG_Python_InitShadowInstance(args
);
11508 SWIGINTERN PyObject
*_wrap_new_SashEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11509 PyObject
*resultobj
= 0;
11510 int arg1
= (int) 0 ;
11511 wxSashEdgePosition arg2
= (wxSashEdgePosition
) wxSASH_NONE
;
11512 wxSashEvent
*result
= 0 ;
11517 PyObject
* obj0
= 0 ;
11518 PyObject
* obj1
= 0 ;
11519 char * kwnames
[] = {
11520 (char *) "id",(char *) "edge", NULL
11523 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_SashEvent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11525 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
11526 if (!SWIG_IsOK(ecode1
)) {
11527 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_SashEvent" "', expected argument " "1"" of type '" "int""'");
11529 arg1
= static_cast< int >(val1
);
11532 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11533 if (!SWIG_IsOK(ecode2
)) {
11534 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_SashEvent" "', expected argument " "2"" of type '" "wxSashEdgePosition""'");
11536 arg2
= static_cast< wxSashEdgePosition
>(val2
);
11539 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11540 result
= (wxSashEvent
*)new wxSashEvent(arg1
,arg2
);
11541 wxPyEndAllowThreads(__tstate
);
11542 if (PyErr_Occurred()) SWIG_fail
;
11544 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSashEvent
, SWIG_POINTER_NEW
| 0 );
11551 SWIGINTERN PyObject
*_wrap_SashEvent_SetEdge(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11552 PyObject
*resultobj
= 0;
11553 wxSashEvent
*arg1
= (wxSashEvent
*) 0 ;
11554 wxSashEdgePosition arg2
;
11559 PyObject
* obj0
= 0 ;
11560 PyObject
* obj1
= 0 ;
11561 char * kwnames
[] = {
11562 (char *) "self",(char *) "edge", NULL
11565 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashEvent_SetEdge",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11566 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSashEvent
, 0 | 0 );
11567 if (!SWIG_IsOK(res1
)) {
11568 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashEvent_SetEdge" "', expected argument " "1"" of type '" "wxSashEvent *""'");
11570 arg1
= reinterpret_cast< wxSashEvent
* >(argp1
);
11571 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11572 if (!SWIG_IsOK(ecode2
)) {
11573 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SashEvent_SetEdge" "', expected argument " "2"" of type '" "wxSashEdgePosition""'");
11575 arg2
= static_cast< wxSashEdgePosition
>(val2
);
11577 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11578 (arg1
)->SetEdge(arg2
);
11579 wxPyEndAllowThreads(__tstate
);
11580 if (PyErr_Occurred()) SWIG_fail
;
11582 resultobj
= SWIG_Py_Void();
11589 SWIGINTERN PyObject
*_wrap_SashEvent_GetEdge(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11590 PyObject
*resultobj
= 0;
11591 wxSashEvent
*arg1
= (wxSashEvent
*) 0 ;
11592 wxSashEdgePosition result
;
11595 PyObject
*swig_obj
[1] ;
11597 if (!args
) SWIG_fail
;
11598 swig_obj
[0] = args
;
11599 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSashEvent
, 0 | 0 );
11600 if (!SWIG_IsOK(res1
)) {
11601 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashEvent_GetEdge" "', expected argument " "1"" of type '" "wxSashEvent const *""'");
11603 arg1
= reinterpret_cast< wxSashEvent
* >(argp1
);
11605 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11606 result
= (wxSashEdgePosition
)((wxSashEvent
const *)arg1
)->GetEdge();
11607 wxPyEndAllowThreads(__tstate
);
11608 if (PyErr_Occurred()) SWIG_fail
;
11610 resultobj
= SWIG_From_int(static_cast< int >(result
));
11617 SWIGINTERN PyObject
*_wrap_SashEvent_SetDragRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11618 PyObject
*resultobj
= 0;
11619 wxSashEvent
*arg1
= (wxSashEvent
*) 0 ;
11624 PyObject
* obj0
= 0 ;
11625 PyObject
* obj1
= 0 ;
11626 char * kwnames
[] = {
11627 (char *) "self",(char *) "rect", NULL
11630 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashEvent_SetDragRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11631 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSashEvent
, 0 | 0 );
11632 if (!SWIG_IsOK(res1
)) {
11633 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashEvent_SetDragRect" "', expected argument " "1"" of type '" "wxSashEvent *""'");
11635 arg1
= reinterpret_cast< wxSashEvent
* >(argp1
);
11638 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
11641 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11642 (arg1
)->SetDragRect((wxRect
const &)*arg2
);
11643 wxPyEndAllowThreads(__tstate
);
11644 if (PyErr_Occurred()) SWIG_fail
;
11646 resultobj
= SWIG_Py_Void();
11653 SWIGINTERN PyObject
*_wrap_SashEvent_GetDragRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11654 PyObject
*resultobj
= 0;
11655 wxSashEvent
*arg1
= (wxSashEvent
*) 0 ;
11659 PyObject
*swig_obj
[1] ;
11661 if (!args
) SWIG_fail
;
11662 swig_obj
[0] = args
;
11663 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSashEvent
, 0 | 0 );
11664 if (!SWIG_IsOK(res1
)) {
11665 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashEvent_GetDragRect" "', expected argument " "1"" of type '" "wxSashEvent const *""'");
11667 arg1
= reinterpret_cast< wxSashEvent
* >(argp1
);
11669 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11670 result
= ((wxSashEvent
const *)arg1
)->GetDragRect();
11671 wxPyEndAllowThreads(__tstate
);
11672 if (PyErr_Occurred()) SWIG_fail
;
11674 resultobj
= SWIG_NewPointerObj((new wxRect(static_cast< const wxRect
& >(result
))), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN
| 0 );
11681 SWIGINTERN PyObject
*_wrap_SashEvent_SetDragStatus(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11682 PyObject
*resultobj
= 0;
11683 wxSashEvent
*arg1
= (wxSashEvent
*) 0 ;
11684 wxSashDragStatus arg2
;
11689 PyObject
* obj0
= 0 ;
11690 PyObject
* obj1
= 0 ;
11691 char * kwnames
[] = {
11692 (char *) "self",(char *) "status", NULL
11695 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashEvent_SetDragStatus",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11696 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSashEvent
, 0 | 0 );
11697 if (!SWIG_IsOK(res1
)) {
11698 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashEvent_SetDragStatus" "', expected argument " "1"" of type '" "wxSashEvent *""'");
11700 arg1
= reinterpret_cast< wxSashEvent
* >(argp1
);
11701 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11702 if (!SWIG_IsOK(ecode2
)) {
11703 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SashEvent_SetDragStatus" "', expected argument " "2"" of type '" "wxSashDragStatus""'");
11705 arg2
= static_cast< wxSashDragStatus
>(val2
);
11707 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11708 (arg1
)->SetDragStatus(arg2
);
11709 wxPyEndAllowThreads(__tstate
);
11710 if (PyErr_Occurred()) SWIG_fail
;
11712 resultobj
= SWIG_Py_Void();
11719 SWIGINTERN PyObject
*_wrap_SashEvent_GetDragStatus(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11720 PyObject
*resultobj
= 0;
11721 wxSashEvent
*arg1
= (wxSashEvent
*) 0 ;
11722 wxSashDragStatus result
;
11725 PyObject
*swig_obj
[1] ;
11727 if (!args
) SWIG_fail
;
11728 swig_obj
[0] = args
;
11729 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSashEvent
, 0 | 0 );
11730 if (!SWIG_IsOK(res1
)) {
11731 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashEvent_GetDragStatus" "', expected argument " "1"" of type '" "wxSashEvent const *""'");
11733 arg1
= reinterpret_cast< wxSashEvent
* >(argp1
);
11735 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11736 result
= (wxSashDragStatus
)((wxSashEvent
const *)arg1
)->GetDragStatus();
11737 wxPyEndAllowThreads(__tstate
);
11738 if (PyErr_Occurred()) SWIG_fail
;
11740 resultobj
= SWIG_From_int(static_cast< int >(result
));
11747 SWIGINTERN PyObject
*SashEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11749 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
11750 SWIG_TypeNewClientData(SWIGTYPE_p_wxSashEvent
, SWIG_NewClientData(obj
));
11751 return SWIG_Py_Void();
11754 SWIGINTERN PyObject
*SashEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11755 return SWIG_Python_InitShadowInstance(args
);
11758 SWIGINTERN PyObject
*_wrap_new_QueryLayoutInfoEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11759 PyObject
*resultobj
= 0;
11760 int arg1
= (int) 0 ;
11761 wxQueryLayoutInfoEvent
*result
= 0 ;
11764 PyObject
* obj0
= 0 ;
11765 char * kwnames
[] = {
11766 (char *) "id", NULL
11769 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_QueryLayoutInfoEvent",kwnames
,&obj0
)) SWIG_fail
;
11771 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
11772 if (!SWIG_IsOK(ecode1
)) {
11773 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_QueryLayoutInfoEvent" "', expected argument " "1"" of type '" "int""'");
11775 arg1
= static_cast< int >(val1
);
11778 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11779 result
= (wxQueryLayoutInfoEvent
*)new wxQueryLayoutInfoEvent(arg1
);
11780 wxPyEndAllowThreads(__tstate
);
11781 if (PyErr_Occurred()) SWIG_fail
;
11783 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxQueryLayoutInfoEvent
, SWIG_POINTER_NEW
| 0 );
11790 SWIGINTERN PyObject
*_wrap_QueryLayoutInfoEvent_SetRequestedLength(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11791 PyObject
*resultobj
= 0;
11792 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
11798 PyObject
* obj0
= 0 ;
11799 PyObject
* obj1
= 0 ;
11800 char * kwnames
[] = {
11801 (char *) "self",(char *) "length", NULL
11804 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:QueryLayoutInfoEvent_SetRequestedLength",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11805 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxQueryLayoutInfoEvent
, 0 | 0 );
11806 if (!SWIG_IsOK(res1
)) {
11807 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "QueryLayoutInfoEvent_SetRequestedLength" "', expected argument " "1"" of type '" "wxQueryLayoutInfoEvent *""'");
11809 arg1
= reinterpret_cast< wxQueryLayoutInfoEvent
* >(argp1
);
11810 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11811 if (!SWIG_IsOK(ecode2
)) {
11812 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "QueryLayoutInfoEvent_SetRequestedLength" "', expected argument " "2"" of type '" "int""'");
11814 arg2
= static_cast< int >(val2
);
11816 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11817 (arg1
)->SetRequestedLength(arg2
);
11818 wxPyEndAllowThreads(__tstate
);
11819 if (PyErr_Occurred()) SWIG_fail
;
11821 resultobj
= SWIG_Py_Void();
11828 SWIGINTERN PyObject
*_wrap_QueryLayoutInfoEvent_GetRequestedLength(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11829 PyObject
*resultobj
= 0;
11830 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
11834 PyObject
*swig_obj
[1] ;
11836 if (!args
) SWIG_fail
;
11837 swig_obj
[0] = args
;
11838 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxQueryLayoutInfoEvent
, 0 | 0 );
11839 if (!SWIG_IsOK(res1
)) {
11840 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "QueryLayoutInfoEvent_GetRequestedLength" "', expected argument " "1"" of type '" "wxQueryLayoutInfoEvent const *""'");
11842 arg1
= reinterpret_cast< wxQueryLayoutInfoEvent
* >(argp1
);
11844 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11845 result
= (int)((wxQueryLayoutInfoEvent
const *)arg1
)->GetRequestedLength();
11846 wxPyEndAllowThreads(__tstate
);
11847 if (PyErr_Occurred()) SWIG_fail
;
11849 resultobj
= SWIG_From_int(static_cast< int >(result
));
11856 SWIGINTERN PyObject
*_wrap_QueryLayoutInfoEvent_SetFlags(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11857 PyObject
*resultobj
= 0;
11858 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
11864 PyObject
* obj0
= 0 ;
11865 PyObject
* obj1
= 0 ;
11866 char * kwnames
[] = {
11867 (char *) "self",(char *) "flags", NULL
11870 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:QueryLayoutInfoEvent_SetFlags",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11871 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxQueryLayoutInfoEvent
, 0 | 0 );
11872 if (!SWIG_IsOK(res1
)) {
11873 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "QueryLayoutInfoEvent_SetFlags" "', expected argument " "1"" of type '" "wxQueryLayoutInfoEvent *""'");
11875 arg1
= reinterpret_cast< wxQueryLayoutInfoEvent
* >(argp1
);
11876 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11877 if (!SWIG_IsOK(ecode2
)) {
11878 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "QueryLayoutInfoEvent_SetFlags" "', expected argument " "2"" of type '" "int""'");
11880 arg2
= static_cast< int >(val2
);
11882 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11883 (arg1
)->SetFlags(arg2
);
11884 wxPyEndAllowThreads(__tstate
);
11885 if (PyErr_Occurred()) SWIG_fail
;
11887 resultobj
= SWIG_Py_Void();
11894 SWIGINTERN PyObject
*_wrap_QueryLayoutInfoEvent_GetFlags(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11895 PyObject
*resultobj
= 0;
11896 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
11900 PyObject
*swig_obj
[1] ;
11902 if (!args
) SWIG_fail
;
11903 swig_obj
[0] = args
;
11904 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxQueryLayoutInfoEvent
, 0 | 0 );
11905 if (!SWIG_IsOK(res1
)) {
11906 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "QueryLayoutInfoEvent_GetFlags" "', expected argument " "1"" of type '" "wxQueryLayoutInfoEvent const *""'");
11908 arg1
= reinterpret_cast< wxQueryLayoutInfoEvent
* >(argp1
);
11910 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11911 result
= (int)((wxQueryLayoutInfoEvent
const *)arg1
)->GetFlags();
11912 wxPyEndAllowThreads(__tstate
);
11913 if (PyErr_Occurred()) SWIG_fail
;
11915 resultobj
= SWIG_From_int(static_cast< int >(result
));
11922 SWIGINTERN PyObject
*_wrap_QueryLayoutInfoEvent_SetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11923 PyObject
*resultobj
= 0;
11924 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
11929 PyObject
* obj0
= 0 ;
11930 PyObject
* obj1
= 0 ;
11931 char * kwnames
[] = {
11932 (char *) "self",(char *) "size", NULL
11935 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:QueryLayoutInfoEvent_SetSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11936 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxQueryLayoutInfoEvent
, 0 | 0 );
11937 if (!SWIG_IsOK(res1
)) {
11938 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "QueryLayoutInfoEvent_SetSize" "', expected argument " "1"" of type '" "wxQueryLayoutInfoEvent *""'");
11940 arg1
= reinterpret_cast< wxQueryLayoutInfoEvent
* >(argp1
);
11943 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
11946 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11947 (arg1
)->SetSize((wxSize
const &)*arg2
);
11948 wxPyEndAllowThreads(__tstate
);
11949 if (PyErr_Occurred()) SWIG_fail
;
11951 resultobj
= SWIG_Py_Void();
11958 SWIGINTERN PyObject
*_wrap_QueryLayoutInfoEvent_GetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11959 PyObject
*resultobj
= 0;
11960 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
11964 PyObject
*swig_obj
[1] ;
11966 if (!args
) SWIG_fail
;
11967 swig_obj
[0] = args
;
11968 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxQueryLayoutInfoEvent
, 0 | 0 );
11969 if (!SWIG_IsOK(res1
)) {
11970 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "QueryLayoutInfoEvent_GetSize" "', expected argument " "1"" of type '" "wxQueryLayoutInfoEvent const *""'");
11972 arg1
= reinterpret_cast< wxQueryLayoutInfoEvent
* >(argp1
);
11974 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11975 result
= ((wxQueryLayoutInfoEvent
const *)arg1
)->GetSize();
11976 wxPyEndAllowThreads(__tstate
);
11977 if (PyErr_Occurred()) SWIG_fail
;
11979 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
11986 SWIGINTERN PyObject
*_wrap_QueryLayoutInfoEvent_SetOrientation(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11987 PyObject
*resultobj
= 0;
11988 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
11989 wxLayoutOrientation arg2
;
11994 PyObject
* obj0
= 0 ;
11995 PyObject
* obj1
= 0 ;
11996 char * kwnames
[] = {
11997 (char *) "self",(char *) "orient", NULL
12000 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:QueryLayoutInfoEvent_SetOrientation",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12001 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxQueryLayoutInfoEvent
, 0 | 0 );
12002 if (!SWIG_IsOK(res1
)) {
12003 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "QueryLayoutInfoEvent_SetOrientation" "', expected argument " "1"" of type '" "wxQueryLayoutInfoEvent *""'");
12005 arg1
= reinterpret_cast< wxQueryLayoutInfoEvent
* >(argp1
);
12006 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
12007 if (!SWIG_IsOK(ecode2
)) {
12008 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "QueryLayoutInfoEvent_SetOrientation" "', expected argument " "2"" of type '" "wxLayoutOrientation""'");
12010 arg2
= static_cast< wxLayoutOrientation
>(val2
);
12012 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12013 (arg1
)->SetOrientation(arg2
);
12014 wxPyEndAllowThreads(__tstate
);
12015 if (PyErr_Occurred()) SWIG_fail
;
12017 resultobj
= SWIG_Py_Void();
12024 SWIGINTERN PyObject
*_wrap_QueryLayoutInfoEvent_GetOrientation(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12025 PyObject
*resultobj
= 0;
12026 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
12027 wxLayoutOrientation result
;
12030 PyObject
*swig_obj
[1] ;
12032 if (!args
) SWIG_fail
;
12033 swig_obj
[0] = args
;
12034 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxQueryLayoutInfoEvent
, 0 | 0 );
12035 if (!SWIG_IsOK(res1
)) {
12036 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "QueryLayoutInfoEvent_GetOrientation" "', expected argument " "1"" of type '" "wxQueryLayoutInfoEvent const *""'");
12038 arg1
= reinterpret_cast< wxQueryLayoutInfoEvent
* >(argp1
);
12040 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12041 result
= (wxLayoutOrientation
)((wxQueryLayoutInfoEvent
const *)arg1
)->GetOrientation();
12042 wxPyEndAllowThreads(__tstate
);
12043 if (PyErr_Occurred()) SWIG_fail
;
12045 resultobj
= SWIG_From_int(static_cast< int >(result
));
12052 SWIGINTERN PyObject
*_wrap_QueryLayoutInfoEvent_SetAlignment(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12053 PyObject
*resultobj
= 0;
12054 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
12055 wxLayoutAlignment arg2
;
12060 PyObject
* obj0
= 0 ;
12061 PyObject
* obj1
= 0 ;
12062 char * kwnames
[] = {
12063 (char *) "self",(char *) "align", NULL
12066 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:QueryLayoutInfoEvent_SetAlignment",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12067 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxQueryLayoutInfoEvent
, 0 | 0 );
12068 if (!SWIG_IsOK(res1
)) {
12069 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "QueryLayoutInfoEvent_SetAlignment" "', expected argument " "1"" of type '" "wxQueryLayoutInfoEvent *""'");
12071 arg1
= reinterpret_cast< wxQueryLayoutInfoEvent
* >(argp1
);
12072 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
12073 if (!SWIG_IsOK(ecode2
)) {
12074 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "QueryLayoutInfoEvent_SetAlignment" "', expected argument " "2"" of type '" "wxLayoutAlignment""'");
12076 arg2
= static_cast< wxLayoutAlignment
>(val2
);
12078 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12079 (arg1
)->SetAlignment(arg2
);
12080 wxPyEndAllowThreads(__tstate
);
12081 if (PyErr_Occurred()) SWIG_fail
;
12083 resultobj
= SWIG_Py_Void();
12090 SWIGINTERN PyObject
*_wrap_QueryLayoutInfoEvent_GetAlignment(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12091 PyObject
*resultobj
= 0;
12092 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
12093 wxLayoutAlignment result
;
12096 PyObject
*swig_obj
[1] ;
12098 if (!args
) SWIG_fail
;
12099 swig_obj
[0] = args
;
12100 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxQueryLayoutInfoEvent
, 0 | 0 );
12101 if (!SWIG_IsOK(res1
)) {
12102 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "QueryLayoutInfoEvent_GetAlignment" "', expected argument " "1"" of type '" "wxQueryLayoutInfoEvent const *""'");
12104 arg1
= reinterpret_cast< wxQueryLayoutInfoEvent
* >(argp1
);
12106 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12107 result
= (wxLayoutAlignment
)((wxQueryLayoutInfoEvent
const *)arg1
)->GetAlignment();
12108 wxPyEndAllowThreads(__tstate
);
12109 if (PyErr_Occurred()) SWIG_fail
;
12111 resultobj
= SWIG_From_int(static_cast< int >(result
));
12118 SWIGINTERN PyObject
*QueryLayoutInfoEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12120 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
12121 SWIG_TypeNewClientData(SWIGTYPE_p_wxQueryLayoutInfoEvent
, SWIG_NewClientData(obj
));
12122 return SWIG_Py_Void();
12125 SWIGINTERN PyObject
*QueryLayoutInfoEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12126 return SWIG_Python_InitShadowInstance(args
);
12129 SWIGINTERN PyObject
*_wrap_new_CalculateLayoutEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12130 PyObject
*resultobj
= 0;
12131 int arg1
= (int) 0 ;
12132 wxCalculateLayoutEvent
*result
= 0 ;
12135 PyObject
* obj0
= 0 ;
12136 char * kwnames
[] = {
12137 (char *) "id", NULL
12140 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_CalculateLayoutEvent",kwnames
,&obj0
)) SWIG_fail
;
12142 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
12143 if (!SWIG_IsOK(ecode1
)) {
12144 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_CalculateLayoutEvent" "', expected argument " "1"" of type '" "int""'");
12146 arg1
= static_cast< int >(val1
);
12149 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12150 result
= (wxCalculateLayoutEvent
*)new wxCalculateLayoutEvent(arg1
);
12151 wxPyEndAllowThreads(__tstate
);
12152 if (PyErr_Occurred()) SWIG_fail
;
12154 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxCalculateLayoutEvent
, SWIG_POINTER_NEW
| 0 );
12161 SWIGINTERN PyObject
*_wrap_CalculateLayoutEvent_SetFlags(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12162 PyObject
*resultobj
= 0;
12163 wxCalculateLayoutEvent
*arg1
= (wxCalculateLayoutEvent
*) 0 ;
12169 PyObject
* obj0
= 0 ;
12170 PyObject
* obj1
= 0 ;
12171 char * kwnames
[] = {
12172 (char *) "self",(char *) "flags", NULL
12175 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CalculateLayoutEvent_SetFlags",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12176 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxCalculateLayoutEvent
, 0 | 0 );
12177 if (!SWIG_IsOK(res1
)) {
12178 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CalculateLayoutEvent_SetFlags" "', expected argument " "1"" of type '" "wxCalculateLayoutEvent *""'");
12180 arg1
= reinterpret_cast< wxCalculateLayoutEvent
* >(argp1
);
12181 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
12182 if (!SWIG_IsOK(ecode2
)) {
12183 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "CalculateLayoutEvent_SetFlags" "', expected argument " "2"" of type '" "int""'");
12185 arg2
= static_cast< int >(val2
);
12187 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12188 (arg1
)->SetFlags(arg2
);
12189 wxPyEndAllowThreads(__tstate
);
12190 if (PyErr_Occurred()) SWIG_fail
;
12192 resultobj
= SWIG_Py_Void();
12199 SWIGINTERN PyObject
*_wrap_CalculateLayoutEvent_GetFlags(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12200 PyObject
*resultobj
= 0;
12201 wxCalculateLayoutEvent
*arg1
= (wxCalculateLayoutEvent
*) 0 ;
12205 PyObject
*swig_obj
[1] ;
12207 if (!args
) SWIG_fail
;
12208 swig_obj
[0] = args
;
12209 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCalculateLayoutEvent
, 0 | 0 );
12210 if (!SWIG_IsOK(res1
)) {
12211 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CalculateLayoutEvent_GetFlags" "', expected argument " "1"" of type '" "wxCalculateLayoutEvent const *""'");
12213 arg1
= reinterpret_cast< wxCalculateLayoutEvent
* >(argp1
);
12215 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12216 result
= (int)((wxCalculateLayoutEvent
const *)arg1
)->GetFlags();
12217 wxPyEndAllowThreads(__tstate
);
12218 if (PyErr_Occurred()) SWIG_fail
;
12220 resultobj
= SWIG_From_int(static_cast< int >(result
));
12227 SWIGINTERN PyObject
*_wrap_CalculateLayoutEvent_SetRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12228 PyObject
*resultobj
= 0;
12229 wxCalculateLayoutEvent
*arg1
= (wxCalculateLayoutEvent
*) 0 ;
12234 PyObject
* obj0
= 0 ;
12235 PyObject
* obj1
= 0 ;
12236 char * kwnames
[] = {
12237 (char *) "self",(char *) "rect", NULL
12240 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CalculateLayoutEvent_SetRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12241 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxCalculateLayoutEvent
, 0 | 0 );
12242 if (!SWIG_IsOK(res1
)) {
12243 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CalculateLayoutEvent_SetRect" "', expected argument " "1"" of type '" "wxCalculateLayoutEvent *""'");
12245 arg1
= reinterpret_cast< wxCalculateLayoutEvent
* >(argp1
);
12248 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
12251 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12252 (arg1
)->SetRect((wxRect
const &)*arg2
);
12253 wxPyEndAllowThreads(__tstate
);
12254 if (PyErr_Occurred()) SWIG_fail
;
12256 resultobj
= SWIG_Py_Void();
12263 SWIGINTERN PyObject
*_wrap_CalculateLayoutEvent_GetRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12264 PyObject
*resultobj
= 0;
12265 wxCalculateLayoutEvent
*arg1
= (wxCalculateLayoutEvent
*) 0 ;
12269 PyObject
*swig_obj
[1] ;
12271 if (!args
) SWIG_fail
;
12272 swig_obj
[0] = args
;
12273 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCalculateLayoutEvent
, 0 | 0 );
12274 if (!SWIG_IsOK(res1
)) {
12275 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CalculateLayoutEvent_GetRect" "', expected argument " "1"" of type '" "wxCalculateLayoutEvent const *""'");
12277 arg1
= reinterpret_cast< wxCalculateLayoutEvent
* >(argp1
);
12279 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12280 result
= ((wxCalculateLayoutEvent
const *)arg1
)->GetRect();
12281 wxPyEndAllowThreads(__tstate
);
12282 if (PyErr_Occurred()) SWIG_fail
;
12284 resultobj
= SWIG_NewPointerObj((new wxRect(static_cast< const wxRect
& >(result
))), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN
| 0 );
12291 SWIGINTERN PyObject
*CalculateLayoutEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12293 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
12294 SWIG_TypeNewClientData(SWIGTYPE_p_wxCalculateLayoutEvent
, SWIG_NewClientData(obj
));
12295 return SWIG_Py_Void();
12298 SWIGINTERN PyObject
*CalculateLayoutEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12299 return SWIG_Python_InitShadowInstance(args
);
12302 SWIGINTERN PyObject
*_wrap_new_SashLayoutWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12303 PyObject
*resultobj
= 0;
12304 wxWindow
*arg1
= (wxWindow
*) 0 ;
12305 int arg2
= (int) -1 ;
12306 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
12307 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
12308 wxSize
const &arg4_defvalue
= wxDefaultSize
;
12309 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
12310 long arg5
= (long) wxCLIP_CHILDREN
|wxSW_3D
;
12311 wxString
const &arg6_defvalue
= wxPySashLayoutNameStr
;
12312 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
12313 wxSashLayoutWindow
*result
= 0 ;
12322 bool temp6
= false ;
12323 PyObject
* obj0
= 0 ;
12324 PyObject
* obj1
= 0 ;
12325 PyObject
* obj2
= 0 ;
12326 PyObject
* obj3
= 0 ;
12327 PyObject
* obj4
= 0 ;
12328 PyObject
* obj5
= 0 ;
12329 char * kwnames
[] = {
12330 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
12333 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_SashLayoutWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
12334 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
12335 if (!SWIG_IsOK(res1
)) {
12336 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_SashLayoutWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
12338 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
12340 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
12341 if (!SWIG_IsOK(ecode2
)) {
12342 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_SashLayoutWindow" "', expected argument " "2"" of type '" "int""'");
12344 arg2
= static_cast< int >(val2
);
12349 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
12355 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
12359 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
12360 if (!SWIG_IsOK(ecode5
)) {
12361 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_SashLayoutWindow" "', expected argument " "5"" of type '" "long""'");
12363 arg5
= static_cast< long >(val5
);
12367 arg6
= wxString_in_helper(obj5
);
12368 if (arg6
== NULL
) SWIG_fail
;
12373 if (!wxPyCheckForApp()) SWIG_fail
;
12374 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12375 result
= (wxSashLayoutWindow
*)new wxSashLayoutWindow(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
12376 wxPyEndAllowThreads(__tstate
);
12377 if (PyErr_Occurred()) SWIG_fail
;
12379 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSashLayoutWindow
, SWIG_POINTER_NEW
| 0 );
12394 SWIGINTERN PyObject
*_wrap_new_PreSashLayoutWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12395 PyObject
*resultobj
= 0;
12396 wxSashLayoutWindow
*result
= 0 ;
12398 if (!SWIG_Python_UnpackTuple(args
,"new_PreSashLayoutWindow",0,0,0)) SWIG_fail
;
12400 if (!wxPyCheckForApp()) SWIG_fail
;
12401 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12402 result
= (wxSashLayoutWindow
*)new wxSashLayoutWindow();
12403 wxPyEndAllowThreads(__tstate
);
12404 if (PyErr_Occurred()) SWIG_fail
;
12406 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSashLayoutWindow
, SWIG_POINTER_OWN
| 0 );
12413 SWIGINTERN PyObject
*_wrap_SashLayoutWindow_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12414 PyObject
*resultobj
= 0;
12415 wxSashLayoutWindow
*arg1
= (wxSashLayoutWindow
*) 0 ;
12416 wxWindow
*arg2
= (wxWindow
*) 0 ;
12417 int arg3
= (int) -1 ;
12418 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
12419 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
12420 wxSize
const &arg5_defvalue
= wxDefaultSize
;
12421 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
12422 long arg6
= (long) wxCLIP_CHILDREN
|wxSW_3D
;
12423 wxString
const &arg7_defvalue
= wxPySashLayoutNameStr
;
12424 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
12436 bool temp7
= false ;
12437 PyObject
* obj0
= 0 ;
12438 PyObject
* obj1
= 0 ;
12439 PyObject
* obj2
= 0 ;
12440 PyObject
* obj3
= 0 ;
12441 PyObject
* obj4
= 0 ;
12442 PyObject
* obj5
= 0 ;
12443 PyObject
* obj6
= 0 ;
12444 char * kwnames
[] = {
12445 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
12448 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:SashLayoutWindow_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
12449 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSashLayoutWindow
, 0 | 0 );
12450 if (!SWIG_IsOK(res1
)) {
12451 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashLayoutWindow_Create" "', expected argument " "1"" of type '" "wxSashLayoutWindow *""'");
12453 arg1
= reinterpret_cast< wxSashLayoutWindow
* >(argp1
);
12454 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
12455 if (!SWIG_IsOK(res2
)) {
12456 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "SashLayoutWindow_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
12458 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
12460 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
12461 if (!SWIG_IsOK(ecode3
)) {
12462 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "SashLayoutWindow_Create" "', expected argument " "3"" of type '" "int""'");
12464 arg3
= static_cast< int >(val3
);
12469 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
12475 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
12479 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
12480 if (!SWIG_IsOK(ecode6
)) {
12481 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "SashLayoutWindow_Create" "', expected argument " "6"" of type '" "long""'");
12483 arg6
= static_cast< long >(val6
);
12487 arg7
= wxString_in_helper(obj6
);
12488 if (arg7
== NULL
) SWIG_fail
;
12493 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12494 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
12495 wxPyEndAllowThreads(__tstate
);
12496 if (PyErr_Occurred()) SWIG_fail
;
12499 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12515 SWIGINTERN PyObject
*_wrap_SashLayoutWindow_GetAlignment(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12516 PyObject
*resultobj
= 0;
12517 wxSashLayoutWindow
*arg1
= (wxSashLayoutWindow
*) 0 ;
12518 wxLayoutAlignment result
;
12521 PyObject
*swig_obj
[1] ;
12523 if (!args
) SWIG_fail
;
12524 swig_obj
[0] = args
;
12525 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSashLayoutWindow
, 0 | 0 );
12526 if (!SWIG_IsOK(res1
)) {
12527 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashLayoutWindow_GetAlignment" "', expected argument " "1"" of type '" "wxSashLayoutWindow *""'");
12529 arg1
= reinterpret_cast< wxSashLayoutWindow
* >(argp1
);
12531 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12532 result
= (wxLayoutAlignment
)(arg1
)->GetAlignment();
12533 wxPyEndAllowThreads(__tstate
);
12534 if (PyErr_Occurred()) SWIG_fail
;
12536 resultobj
= SWIG_From_int(static_cast< int >(result
));
12543 SWIGINTERN PyObject
*_wrap_SashLayoutWindow_GetOrientation(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12544 PyObject
*resultobj
= 0;
12545 wxSashLayoutWindow
*arg1
= (wxSashLayoutWindow
*) 0 ;
12546 wxLayoutOrientation result
;
12549 PyObject
*swig_obj
[1] ;
12551 if (!args
) SWIG_fail
;
12552 swig_obj
[0] = args
;
12553 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSashLayoutWindow
, 0 | 0 );
12554 if (!SWIG_IsOK(res1
)) {
12555 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashLayoutWindow_GetOrientation" "', expected argument " "1"" of type '" "wxSashLayoutWindow *""'");
12557 arg1
= reinterpret_cast< wxSashLayoutWindow
* >(argp1
);
12559 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12560 result
= (wxLayoutOrientation
)(arg1
)->GetOrientation();
12561 wxPyEndAllowThreads(__tstate
);
12562 if (PyErr_Occurred()) SWIG_fail
;
12564 resultobj
= SWIG_From_int(static_cast< int >(result
));
12571 SWIGINTERN PyObject
*_wrap_SashLayoutWindow_SetAlignment(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12572 PyObject
*resultobj
= 0;
12573 wxSashLayoutWindow
*arg1
= (wxSashLayoutWindow
*) 0 ;
12574 wxLayoutAlignment arg2
;
12579 PyObject
* obj0
= 0 ;
12580 PyObject
* obj1
= 0 ;
12581 char * kwnames
[] = {
12582 (char *) "self",(char *) "alignment", NULL
12585 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashLayoutWindow_SetAlignment",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12586 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSashLayoutWindow
, 0 | 0 );
12587 if (!SWIG_IsOK(res1
)) {
12588 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashLayoutWindow_SetAlignment" "', expected argument " "1"" of type '" "wxSashLayoutWindow *""'");
12590 arg1
= reinterpret_cast< wxSashLayoutWindow
* >(argp1
);
12591 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
12592 if (!SWIG_IsOK(ecode2
)) {
12593 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SashLayoutWindow_SetAlignment" "', expected argument " "2"" of type '" "wxLayoutAlignment""'");
12595 arg2
= static_cast< wxLayoutAlignment
>(val2
);
12597 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12598 (arg1
)->SetAlignment(arg2
);
12599 wxPyEndAllowThreads(__tstate
);
12600 if (PyErr_Occurred()) SWIG_fail
;
12602 resultobj
= SWIG_Py_Void();
12609 SWIGINTERN PyObject
*_wrap_SashLayoutWindow_SetDefaultSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12610 PyObject
*resultobj
= 0;
12611 wxSashLayoutWindow
*arg1
= (wxSashLayoutWindow
*) 0 ;
12616 PyObject
* obj0
= 0 ;
12617 PyObject
* obj1
= 0 ;
12618 char * kwnames
[] = {
12619 (char *) "self",(char *) "size", NULL
12622 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashLayoutWindow_SetDefaultSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12623 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSashLayoutWindow
, 0 | 0 );
12624 if (!SWIG_IsOK(res1
)) {
12625 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashLayoutWindow_SetDefaultSize" "', expected argument " "1"" of type '" "wxSashLayoutWindow *""'");
12627 arg1
= reinterpret_cast< wxSashLayoutWindow
* >(argp1
);
12630 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
12633 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12634 (arg1
)->SetDefaultSize((wxSize
const &)*arg2
);
12635 wxPyEndAllowThreads(__tstate
);
12636 if (PyErr_Occurred()) SWIG_fail
;
12638 resultobj
= SWIG_Py_Void();
12645 SWIGINTERN PyObject
*_wrap_SashLayoutWindow_SetOrientation(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12646 PyObject
*resultobj
= 0;
12647 wxSashLayoutWindow
*arg1
= (wxSashLayoutWindow
*) 0 ;
12648 wxLayoutOrientation arg2
;
12653 PyObject
* obj0
= 0 ;
12654 PyObject
* obj1
= 0 ;
12655 char * kwnames
[] = {
12656 (char *) "self",(char *) "orientation", NULL
12659 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashLayoutWindow_SetOrientation",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12660 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSashLayoutWindow
, 0 | 0 );
12661 if (!SWIG_IsOK(res1
)) {
12662 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashLayoutWindow_SetOrientation" "', expected argument " "1"" of type '" "wxSashLayoutWindow *""'");
12664 arg1
= reinterpret_cast< wxSashLayoutWindow
* >(argp1
);
12665 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
12666 if (!SWIG_IsOK(ecode2
)) {
12667 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SashLayoutWindow_SetOrientation" "', expected argument " "2"" of type '" "wxLayoutOrientation""'");
12669 arg2
= static_cast< wxLayoutOrientation
>(val2
);
12671 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12672 (arg1
)->SetOrientation(arg2
);
12673 wxPyEndAllowThreads(__tstate
);
12674 if (PyErr_Occurred()) SWIG_fail
;
12676 resultobj
= SWIG_Py_Void();
12683 SWIGINTERN PyObject
*SashLayoutWindow_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12685 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
12686 SWIG_TypeNewClientData(SWIGTYPE_p_wxSashLayoutWindow
, SWIG_NewClientData(obj
));
12687 return SWIG_Py_Void();
12690 SWIGINTERN PyObject
*SashLayoutWindow_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12691 return SWIG_Python_InitShadowInstance(args
);
12694 SWIGINTERN PyObject
*_wrap_new_LayoutAlgorithm(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12695 PyObject
*resultobj
= 0;
12696 wxLayoutAlgorithm
*result
= 0 ;
12698 if (!SWIG_Python_UnpackTuple(args
,"new_LayoutAlgorithm",0,0,0)) SWIG_fail
;
12700 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12701 result
= (wxLayoutAlgorithm
*)new wxLayoutAlgorithm();
12702 wxPyEndAllowThreads(__tstate
);
12703 if (PyErr_Occurred()) SWIG_fail
;
12705 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxLayoutAlgorithm
, SWIG_POINTER_NEW
| 0 );
12712 SWIGINTERN PyObject
*_wrap_delete_LayoutAlgorithm(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12713 PyObject
*resultobj
= 0;
12714 wxLayoutAlgorithm
*arg1
= (wxLayoutAlgorithm
*) 0 ;
12717 PyObject
*swig_obj
[1] ;
12719 if (!args
) SWIG_fail
;
12720 swig_obj
[0] = args
;
12721 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLayoutAlgorithm
, SWIG_POINTER_DISOWN
| 0 );
12722 if (!SWIG_IsOK(res1
)) {
12723 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_LayoutAlgorithm" "', expected argument " "1"" of type '" "wxLayoutAlgorithm *""'");
12725 arg1
= reinterpret_cast< wxLayoutAlgorithm
* >(argp1
);
12727 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12730 wxPyEndAllowThreads(__tstate
);
12731 if (PyErr_Occurred()) SWIG_fail
;
12733 resultobj
= SWIG_Py_Void();
12740 SWIGINTERN PyObject
*_wrap_LayoutAlgorithm_LayoutMDIFrame(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12741 PyObject
*resultobj
= 0;
12742 wxLayoutAlgorithm
*arg1
= (wxLayoutAlgorithm
*) 0 ;
12743 wxMDIParentFrame
*arg2
= (wxMDIParentFrame
*) 0 ;
12744 wxRect
*arg3
= (wxRect
*) NULL
;
12752 PyObject
* obj0
= 0 ;
12753 PyObject
* obj1
= 0 ;
12754 PyObject
* obj2
= 0 ;
12755 char * kwnames
[] = {
12756 (char *) "self",(char *) "frame",(char *) "rect", NULL
12759 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:LayoutAlgorithm_LayoutMDIFrame",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
12760 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxLayoutAlgorithm
, 0 | 0 );
12761 if (!SWIG_IsOK(res1
)) {
12762 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "LayoutAlgorithm_LayoutMDIFrame" "', expected argument " "1"" of type '" "wxLayoutAlgorithm *""'");
12764 arg1
= reinterpret_cast< wxLayoutAlgorithm
* >(argp1
);
12765 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxMDIParentFrame
, 0 | 0 );
12766 if (!SWIG_IsOK(res2
)) {
12767 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "LayoutAlgorithm_LayoutMDIFrame" "', expected argument " "2"" of type '" "wxMDIParentFrame *""'");
12769 arg2
= reinterpret_cast< wxMDIParentFrame
* >(argp2
);
12771 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxRect
, 0 | 0 );
12772 if (!SWIG_IsOK(res3
)) {
12773 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "LayoutAlgorithm_LayoutMDIFrame" "', expected argument " "3"" of type '" "wxRect *""'");
12775 arg3
= reinterpret_cast< wxRect
* >(argp3
);
12778 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12779 result
= (bool)(arg1
)->LayoutMDIFrame(arg2
,arg3
);
12780 wxPyEndAllowThreads(__tstate
);
12781 if (PyErr_Occurred()) SWIG_fail
;
12784 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12792 SWIGINTERN PyObject
*_wrap_LayoutAlgorithm_LayoutFrame(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12793 PyObject
*resultobj
= 0;
12794 wxLayoutAlgorithm
*arg1
= (wxLayoutAlgorithm
*) 0 ;
12795 wxFrame
*arg2
= (wxFrame
*) 0 ;
12796 wxWindow
*arg3
= (wxWindow
*) NULL
;
12804 PyObject
* obj0
= 0 ;
12805 PyObject
* obj1
= 0 ;
12806 PyObject
* obj2
= 0 ;
12807 char * kwnames
[] = {
12808 (char *) "self",(char *) "frame",(char *) "mainWindow", NULL
12811 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:LayoutAlgorithm_LayoutFrame",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
12812 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxLayoutAlgorithm
, 0 | 0 );
12813 if (!SWIG_IsOK(res1
)) {
12814 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "LayoutAlgorithm_LayoutFrame" "', expected argument " "1"" of type '" "wxLayoutAlgorithm *""'");
12816 arg1
= reinterpret_cast< wxLayoutAlgorithm
* >(argp1
);
12817 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxFrame
, 0 | 0 );
12818 if (!SWIG_IsOK(res2
)) {
12819 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "LayoutAlgorithm_LayoutFrame" "', expected argument " "2"" of type '" "wxFrame *""'");
12821 arg2
= reinterpret_cast< wxFrame
* >(argp2
);
12823 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxWindow
, 0 | 0 );
12824 if (!SWIG_IsOK(res3
)) {
12825 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "LayoutAlgorithm_LayoutFrame" "', expected argument " "3"" of type '" "wxWindow *""'");
12827 arg3
= reinterpret_cast< wxWindow
* >(argp3
);
12830 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12831 result
= (bool)(arg1
)->LayoutFrame(arg2
,arg3
);
12832 wxPyEndAllowThreads(__tstate
);
12833 if (PyErr_Occurred()) SWIG_fail
;
12836 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12844 SWIGINTERN PyObject
*_wrap_LayoutAlgorithm_LayoutWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12845 PyObject
*resultobj
= 0;
12846 wxLayoutAlgorithm
*arg1
= (wxLayoutAlgorithm
*) 0 ;
12847 wxWindow
*arg2
= (wxWindow
*) 0 ;
12848 wxWindow
*arg3
= (wxWindow
*) NULL
;
12856 PyObject
* obj0
= 0 ;
12857 PyObject
* obj1
= 0 ;
12858 PyObject
* obj2
= 0 ;
12859 char * kwnames
[] = {
12860 (char *) "self",(char *) "parent",(char *) "mainWindow", NULL
12863 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:LayoutAlgorithm_LayoutWindow",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
12864 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxLayoutAlgorithm
, 0 | 0 );
12865 if (!SWIG_IsOK(res1
)) {
12866 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "LayoutAlgorithm_LayoutWindow" "', expected argument " "1"" of type '" "wxLayoutAlgorithm *""'");
12868 arg1
= reinterpret_cast< wxLayoutAlgorithm
* >(argp1
);
12869 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
12870 if (!SWIG_IsOK(res2
)) {
12871 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "LayoutAlgorithm_LayoutWindow" "', expected argument " "2"" of type '" "wxWindow *""'");
12873 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
12875 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxWindow
, 0 | 0 );
12876 if (!SWIG_IsOK(res3
)) {
12877 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "LayoutAlgorithm_LayoutWindow" "', expected argument " "3"" of type '" "wxWindow *""'");
12879 arg3
= reinterpret_cast< wxWindow
* >(argp3
);
12882 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12883 result
= (bool)(arg1
)->LayoutWindow(arg2
,arg3
);
12884 wxPyEndAllowThreads(__tstate
);
12885 if (PyErr_Occurred()) SWIG_fail
;
12888 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12896 SWIGINTERN PyObject
*LayoutAlgorithm_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12898 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
12899 SWIG_TypeNewClientData(SWIGTYPE_p_wxLayoutAlgorithm
, SWIG_NewClientData(obj
));
12900 return SWIG_Py_Void();
12903 SWIGINTERN PyObject
*LayoutAlgorithm_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12904 return SWIG_Python_InitShadowInstance(args
);
12907 SWIGINTERN PyObject
*_wrap_new_PopupWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12908 PyObject
*resultobj
= 0;
12909 wxWindow
*arg1
= (wxWindow
*) 0 ;
12910 int arg2
= (int) wxBORDER_NONE
;
12911 wxPopupWindow
*result
= 0 ;
12916 PyObject
* obj0
= 0 ;
12917 PyObject
* obj1
= 0 ;
12918 char * kwnames
[] = {
12919 (char *) "parent",(char *) "flags", NULL
12922 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_PopupWindow",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12923 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
12924 if (!SWIG_IsOK(res1
)) {
12925 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PopupWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
12927 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
12929 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
12930 if (!SWIG_IsOK(ecode2
)) {
12931 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_PopupWindow" "', expected argument " "2"" of type '" "int""'");
12933 arg2
= static_cast< int >(val2
);
12936 if (!wxPyCheckForApp()) SWIG_fail
;
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 if (!wxPyCheckForApp()) SWIG_fail
;
12956 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12957 result
= (wxPopupWindow
*)new wxPopupWindow();
12958 wxPyEndAllowThreads(__tstate
);
12959 if (PyErr_Occurred()) SWIG_fail
;
12961 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPopupWindow
, SWIG_POINTER_OWN
| 0 );
12968 SWIGINTERN PyObject
*_wrap_PopupWindow_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12969 PyObject
*resultobj
= 0;
12970 wxPopupWindow
*arg1
= (wxPopupWindow
*) 0 ;
12971 wxWindow
*arg2
= (wxWindow
*) 0 ;
12972 int arg3
= (int) wxBORDER_NONE
;
12980 PyObject
* obj0
= 0 ;
12981 PyObject
* obj1
= 0 ;
12982 PyObject
* obj2
= 0 ;
12983 char * kwnames
[] = {
12984 (char *) "self",(char *) "parent",(char *) "flags", NULL
12987 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:PopupWindow_Create",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
12988 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPopupWindow
, 0 | 0 );
12989 if (!SWIG_IsOK(res1
)) {
12990 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PopupWindow_Create" "', expected argument " "1"" of type '" "wxPopupWindow *""'");
12992 arg1
= reinterpret_cast< wxPopupWindow
* >(argp1
);
12993 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
12994 if (!SWIG_IsOK(res2
)) {
12995 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PopupWindow_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
12997 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
12999 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
13000 if (!SWIG_IsOK(ecode3
)) {
13001 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PopupWindow_Create" "', expected argument " "3"" of type '" "int""'");
13003 arg3
= static_cast< int >(val3
);
13006 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13007 result
= (bool)(arg1
)->Create(arg2
,arg3
);
13008 wxPyEndAllowThreads(__tstate
);
13009 if (PyErr_Occurred()) SWIG_fail
;
13012 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13020 SWIGINTERN PyObject
*_wrap_PopupWindow_Position(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13021 PyObject
*resultobj
= 0;
13022 wxPopupWindow
*arg1
= (wxPopupWindow
*) 0 ;
13023 wxPoint
*arg2
= 0 ;
13029 PyObject
* obj0
= 0 ;
13030 PyObject
* obj1
= 0 ;
13031 PyObject
* obj2
= 0 ;
13032 char * kwnames
[] = {
13033 (char *) "self",(char *) "ptOrigin",(char *) "size", NULL
13036 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PopupWindow_Position",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
13037 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPopupWindow
, 0 | 0 );
13038 if (!SWIG_IsOK(res1
)) {
13039 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PopupWindow_Position" "', expected argument " "1"" of type '" "wxPopupWindow *""'");
13041 arg1
= reinterpret_cast< wxPopupWindow
* >(argp1
);
13044 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
13048 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
13051 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13052 (arg1
)->Position((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
);
13053 wxPyEndAllowThreads(__tstate
);
13054 if (PyErr_Occurred()) SWIG_fail
;
13056 resultobj
= SWIG_Py_Void();
13063 SWIGINTERN PyObject
*PopupWindow_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13065 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
13066 SWIG_TypeNewClientData(SWIGTYPE_p_wxPopupWindow
, SWIG_NewClientData(obj
));
13067 return SWIG_Py_Void();
13070 SWIGINTERN PyObject
*PopupWindow_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13071 return SWIG_Python_InitShadowInstance(args
);
13074 SWIGINTERN PyObject
*_wrap_new_PopupTransientWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13075 PyObject
*resultobj
= 0;
13076 wxWindow
*arg1
= (wxWindow
*) 0 ;
13077 int arg2
= (int) wxBORDER_NONE
;
13078 wxPyPopupTransientWindow
*result
= 0 ;
13083 PyObject
* obj0
= 0 ;
13084 PyObject
* obj1
= 0 ;
13085 char * kwnames
[] = {
13086 (char *) "parent",(char *) "style", NULL
13089 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_PopupTransientWindow",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13090 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
13091 if (!SWIG_IsOK(res1
)) {
13092 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PopupTransientWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
13094 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
13096 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
13097 if (!SWIG_IsOK(ecode2
)) {
13098 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_PopupTransientWindow" "', expected argument " "2"" of type '" "int""'");
13100 arg2
= static_cast< int >(val2
);
13103 if (!wxPyCheckForApp()) SWIG_fail
;
13104 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13105 result
= (wxPyPopupTransientWindow
*)new wxPyPopupTransientWindow(arg1
,arg2
);
13106 wxPyEndAllowThreads(__tstate
);
13107 if (PyErr_Occurred()) SWIG_fail
;
13109 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyPopupTransientWindow
, SWIG_POINTER_NEW
| 0 );
13116 SWIGINTERN PyObject
*_wrap_new_PrePopupTransientWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13117 PyObject
*resultobj
= 0;
13118 wxPyPopupTransientWindow
*result
= 0 ;
13120 if (!SWIG_Python_UnpackTuple(args
,"new_PrePopupTransientWindow",0,0,0)) SWIG_fail
;
13122 if (!wxPyCheckForApp()) SWIG_fail
;
13123 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13124 result
= (wxPyPopupTransientWindow
*)new wxPyPopupTransientWindow();
13125 wxPyEndAllowThreads(__tstate
);
13126 if (PyErr_Occurred()) SWIG_fail
;
13128 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyPopupTransientWindow
, SWIG_POINTER_OWN
| 0 );
13135 SWIGINTERN PyObject
*_wrap_PopupTransientWindow__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13136 PyObject
*resultobj
= 0;
13137 wxPyPopupTransientWindow
*arg1
= (wxPyPopupTransientWindow
*) 0 ;
13138 PyObject
*arg2
= (PyObject
*) 0 ;
13139 PyObject
*arg3
= (PyObject
*) 0 ;
13142 PyObject
* obj0
= 0 ;
13143 PyObject
* obj1
= 0 ;
13144 PyObject
* obj2
= 0 ;
13145 char * kwnames
[] = {
13146 (char *) "self",(char *) "self",(char *) "_class", NULL
13149 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PopupTransientWindow__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
13150 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPopupTransientWindow
, 0 | 0 );
13151 if (!SWIG_IsOK(res1
)) {
13152 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PopupTransientWindow__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyPopupTransientWindow *""'");
13154 arg1
= reinterpret_cast< wxPyPopupTransientWindow
* >(argp1
);
13158 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13159 (arg1
)->_setCallbackInfo(arg2
,arg3
);
13160 wxPyEndAllowThreads(__tstate
);
13161 if (PyErr_Occurred()) SWIG_fail
;
13163 resultobj
= SWIG_Py_Void();
13170 SWIGINTERN PyObject
*_wrap_PopupTransientWindow_Popup(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13171 PyObject
*resultobj
= 0;
13172 wxPyPopupTransientWindow
*arg1
= (wxPyPopupTransientWindow
*) 0 ;
13173 wxWindow
*arg2
= (wxWindow
*) NULL
;
13178 PyObject
* obj0
= 0 ;
13179 PyObject
* obj1
= 0 ;
13180 char * kwnames
[] = {
13181 (char *) "self",(char *) "focus", NULL
13184 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:PopupTransientWindow_Popup",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13185 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPopupTransientWindow
, 0 | 0 );
13186 if (!SWIG_IsOK(res1
)) {
13187 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PopupTransientWindow_Popup" "', expected argument " "1"" of type '" "wxPyPopupTransientWindow *""'");
13189 arg1
= reinterpret_cast< wxPyPopupTransientWindow
* >(argp1
);
13191 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
13192 if (!SWIG_IsOK(res2
)) {
13193 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PopupTransientWindow_Popup" "', expected argument " "2"" of type '" "wxWindow *""'");
13195 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
13198 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13199 (arg1
)->Popup(arg2
);
13200 wxPyEndAllowThreads(__tstate
);
13201 if (PyErr_Occurred()) SWIG_fail
;
13203 resultobj
= SWIG_Py_Void();
13210 SWIGINTERN PyObject
*_wrap_PopupTransientWindow_Dismiss(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13211 PyObject
*resultobj
= 0;
13212 wxPyPopupTransientWindow
*arg1
= (wxPyPopupTransientWindow
*) 0 ;
13215 PyObject
*swig_obj
[1] ;
13217 if (!args
) SWIG_fail
;
13218 swig_obj
[0] = args
;
13219 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPopupTransientWindow
, 0 | 0 );
13220 if (!SWIG_IsOK(res1
)) {
13221 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PopupTransientWindow_Dismiss" "', expected argument " "1"" of type '" "wxPyPopupTransientWindow *""'");
13223 arg1
= reinterpret_cast< wxPyPopupTransientWindow
* >(argp1
);
13225 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13227 wxPyEndAllowThreads(__tstate
);
13228 if (PyErr_Occurred()) SWIG_fail
;
13230 resultobj
= SWIG_Py_Void();
13237 SWIGINTERN PyObject
*PopupTransientWindow_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13239 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
13240 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyPopupTransientWindow
, SWIG_NewClientData(obj
));
13241 return SWIG_Py_Void();
13244 SWIGINTERN PyObject
*PopupTransientWindow_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13245 return SWIG_Python_InitShadowInstance(args
);
13248 SWIGINTERN PyObject
*_wrap_new_TipWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13249 PyObject
*resultobj
= 0;
13250 wxWindow
*arg1
= (wxWindow
*) 0 ;
13251 wxString
*arg2
= 0 ;
13252 int arg3
= (int) 100 ;
13253 wxRect
*arg4
= (wxRect
*) NULL
;
13254 wxTipWindow
*result
= 0 ;
13257 bool temp2
= false ;
13262 PyObject
* obj0
= 0 ;
13263 PyObject
* obj1
= 0 ;
13264 PyObject
* obj2
= 0 ;
13265 PyObject
* obj3
= 0 ;
13266 char * kwnames
[] = {
13267 (char *) "parent",(char *) "text",(char *) "maxLength",(char *) "rectBound", NULL
13270 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:new_TipWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
13271 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
13272 if (!SWIG_IsOK(res1
)) {
13273 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_TipWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
13275 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
13277 arg2
= wxString_in_helper(obj1
);
13278 if (arg2
== NULL
) SWIG_fail
;
13282 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
13283 if (!SWIG_IsOK(ecode3
)) {
13284 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_TipWindow" "', expected argument " "3"" of type '" "int""'");
13286 arg3
= static_cast< int >(val3
);
13289 res4
= SWIG_ConvertPtr(obj3
, &argp4
,SWIGTYPE_p_wxRect
, 0 | 0 );
13290 if (!SWIG_IsOK(res4
)) {
13291 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "new_TipWindow" "', expected argument " "4"" of type '" "wxRect *""'");
13293 arg4
= reinterpret_cast< wxRect
* >(argp4
);
13296 if (!wxPyCheckForApp()) SWIG_fail
;
13297 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13298 result
= (wxTipWindow
*)new_wxTipWindow(arg1
,(wxString
const &)*arg2
,arg3
,arg4
);
13299 wxPyEndAllowThreads(__tstate
);
13300 if (PyErr_Occurred()) SWIG_fail
;
13302 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTipWindow
, SWIG_POINTER_NEW
| 0 );
13317 SWIGINTERN PyObject
*_wrap_TipWindow_SetBoundingRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13318 PyObject
*resultobj
= 0;
13319 wxTipWindow
*arg1
= (wxTipWindow
*) 0 ;
13324 PyObject
* obj0
= 0 ;
13325 PyObject
* obj1
= 0 ;
13326 char * kwnames
[] = {
13327 (char *) "self",(char *) "rectBound", NULL
13330 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TipWindow_SetBoundingRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13331 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTipWindow
, 0 | 0 );
13332 if (!SWIG_IsOK(res1
)) {
13333 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TipWindow_SetBoundingRect" "', expected argument " "1"" of type '" "wxTipWindow *""'");
13335 arg1
= reinterpret_cast< wxTipWindow
* >(argp1
);
13338 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
13341 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13342 (arg1
)->SetBoundingRect((wxRect
const &)*arg2
);
13343 wxPyEndAllowThreads(__tstate
);
13344 if (PyErr_Occurred()) SWIG_fail
;
13346 resultobj
= SWIG_Py_Void();
13353 SWIGINTERN PyObject
*_wrap_TipWindow_Close(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13354 PyObject
*resultobj
= 0;
13355 wxTipWindow
*arg1
= (wxTipWindow
*) 0 ;
13358 PyObject
*swig_obj
[1] ;
13360 if (!args
) SWIG_fail
;
13361 swig_obj
[0] = args
;
13362 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTipWindow
, 0 | 0 );
13363 if (!SWIG_IsOK(res1
)) {
13364 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TipWindow_Close" "', expected argument " "1"" of type '" "wxTipWindow *""'");
13366 arg1
= reinterpret_cast< wxTipWindow
* >(argp1
);
13368 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13370 wxPyEndAllowThreads(__tstate
);
13371 if (PyErr_Occurred()) SWIG_fail
;
13373 resultobj
= SWIG_Py_Void();
13380 SWIGINTERN PyObject
*TipWindow_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13382 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
13383 SWIG_TypeNewClientData(SWIGTYPE_p_wxTipWindow
, SWIG_NewClientData(obj
));
13384 return SWIG_Py_Void();
13387 SWIGINTERN PyObject
*TipWindow_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13388 return SWIG_Python_InitShadowInstance(args
);
13391 SWIGINTERN PyObject
*_wrap_new_VScrolledWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13392 PyObject
*resultobj
= 0;
13393 wxWindow
*arg1
= (wxWindow
*) 0 ;
13394 int arg2
= (int) wxID_ANY
;
13395 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
13396 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
13397 wxSize
const &arg4_defvalue
= wxDefaultSize
;
13398 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
13399 long arg5
= (long) 0 ;
13400 wxString
const &arg6_defvalue
= wxPyPanelNameStr
;
13401 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
13402 wxPyVScrolledWindow
*result
= 0 ;
13411 bool temp6
= false ;
13412 PyObject
* obj0
= 0 ;
13413 PyObject
* obj1
= 0 ;
13414 PyObject
* obj2
= 0 ;
13415 PyObject
* obj3
= 0 ;
13416 PyObject
* obj4
= 0 ;
13417 PyObject
* obj5
= 0 ;
13418 char * kwnames
[] = {
13419 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
13422 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_VScrolledWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
13423 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
13424 if (!SWIG_IsOK(res1
)) {
13425 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_VScrolledWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
13427 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
13429 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
13430 if (!SWIG_IsOK(ecode2
)) {
13431 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_VScrolledWindow" "', expected argument " "2"" of type '" "int""'");
13433 arg2
= static_cast< int >(val2
);
13438 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
13444 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
13448 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
13449 if (!SWIG_IsOK(ecode5
)) {
13450 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_VScrolledWindow" "', expected argument " "5"" of type '" "long""'");
13452 arg5
= static_cast< long >(val5
);
13456 arg6
= wxString_in_helper(obj5
);
13457 if (arg6
== NULL
) SWIG_fail
;
13462 if (!wxPyCheckForApp()) SWIG_fail
;
13463 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13464 result
= (wxPyVScrolledWindow
*)new wxPyVScrolledWindow(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
13465 wxPyEndAllowThreads(__tstate
);
13466 if (PyErr_Occurred()) SWIG_fail
;
13468 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyVScrolledWindow
, SWIG_POINTER_NEW
| 0 );
13483 SWIGINTERN PyObject
*_wrap_new_PreVScrolledWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13484 PyObject
*resultobj
= 0;
13485 wxPyVScrolledWindow
*result
= 0 ;
13487 if (!SWIG_Python_UnpackTuple(args
,"new_PreVScrolledWindow",0,0,0)) SWIG_fail
;
13489 if (!wxPyCheckForApp()) SWIG_fail
;
13490 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13491 result
= (wxPyVScrolledWindow
*)new wxPyVScrolledWindow();
13492 wxPyEndAllowThreads(__tstate
);
13493 if (PyErr_Occurred()) SWIG_fail
;
13495 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyVScrolledWindow
, SWIG_POINTER_OWN
| 0 );
13502 SWIGINTERN PyObject
*_wrap_VScrolledWindow__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13503 PyObject
*resultobj
= 0;
13504 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
13505 PyObject
*arg2
= (PyObject
*) 0 ;
13506 PyObject
*arg3
= (PyObject
*) 0 ;
13509 PyObject
* obj0
= 0 ;
13510 PyObject
* obj1
= 0 ;
13511 PyObject
* obj2
= 0 ;
13512 char * kwnames
[] = {
13513 (char *) "self",(char *) "self",(char *) "_class", NULL
13516 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:VScrolledWindow__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
13517 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVScrolledWindow
, 0 | 0 );
13518 if (!SWIG_IsOK(res1
)) {
13519 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VScrolledWindow__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyVScrolledWindow *""'");
13521 arg1
= reinterpret_cast< wxPyVScrolledWindow
* >(argp1
);
13525 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13526 (arg1
)->_setCallbackInfo(arg2
,arg3
);
13527 wxPyEndAllowThreads(__tstate
);
13528 if (PyErr_Occurred()) SWIG_fail
;
13530 resultobj
= SWIG_Py_Void();
13537 SWIGINTERN PyObject
*_wrap_VScrolledWindow_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13538 PyObject
*resultobj
= 0;
13539 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
13540 wxWindow
*arg2
= (wxWindow
*) 0 ;
13541 int arg3
= (int) wxID_ANY
;
13542 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
13543 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
13544 wxSize
const &arg5_defvalue
= wxDefaultSize
;
13545 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
13546 long arg6
= (long) 0 ;
13547 wxString
const &arg7_defvalue
= wxPyPanelNameStr
;
13548 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
13560 bool temp7
= false ;
13561 PyObject
* obj0
= 0 ;
13562 PyObject
* obj1
= 0 ;
13563 PyObject
* obj2
= 0 ;
13564 PyObject
* obj3
= 0 ;
13565 PyObject
* obj4
= 0 ;
13566 PyObject
* obj5
= 0 ;
13567 PyObject
* obj6
= 0 ;
13568 char * kwnames
[] = {
13569 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
13572 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:VScrolledWindow_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
13573 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVScrolledWindow
, 0 | 0 );
13574 if (!SWIG_IsOK(res1
)) {
13575 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VScrolledWindow_Create" "', expected argument " "1"" of type '" "wxPyVScrolledWindow *""'");
13577 arg1
= reinterpret_cast< wxPyVScrolledWindow
* >(argp1
);
13578 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
13579 if (!SWIG_IsOK(res2
)) {
13580 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "VScrolledWindow_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
13582 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
13584 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
13585 if (!SWIG_IsOK(ecode3
)) {
13586 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "VScrolledWindow_Create" "', expected argument " "3"" of type '" "int""'");
13588 arg3
= static_cast< int >(val3
);
13593 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
13599 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
13603 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
13604 if (!SWIG_IsOK(ecode6
)) {
13605 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "VScrolledWindow_Create" "', expected argument " "6"" of type '" "long""'");
13607 arg6
= static_cast< long >(val6
);
13611 arg7
= wxString_in_helper(obj6
);
13612 if (arg7
== NULL
) SWIG_fail
;
13617 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13618 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
13619 wxPyEndAllowThreads(__tstate
);
13620 if (PyErr_Occurred()) SWIG_fail
;
13623 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13639 SWIGINTERN PyObject
*_wrap_VScrolledWindow_SetLineCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13640 PyObject
*resultobj
= 0;
13641 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
13647 PyObject
* obj0
= 0 ;
13648 PyObject
* obj1
= 0 ;
13649 char * kwnames
[] = {
13650 (char *) "self",(char *) "count", NULL
13653 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VScrolledWindow_SetLineCount",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13654 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVScrolledWindow
, 0 | 0 );
13655 if (!SWIG_IsOK(res1
)) {
13656 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VScrolledWindow_SetLineCount" "', expected argument " "1"" of type '" "wxPyVScrolledWindow *""'");
13658 arg1
= reinterpret_cast< wxPyVScrolledWindow
* >(argp1
);
13659 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
13660 if (!SWIG_IsOK(ecode2
)) {
13661 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "VScrolledWindow_SetLineCount" "', expected argument " "2"" of type '" "size_t""'");
13663 arg2
= static_cast< size_t >(val2
);
13665 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13666 (arg1
)->SetLineCount(arg2
);
13667 wxPyEndAllowThreads(__tstate
);
13668 if (PyErr_Occurred()) SWIG_fail
;
13670 resultobj
= SWIG_Py_Void();
13677 SWIGINTERN PyObject
*_wrap_VScrolledWindow_ScrollToLine(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13678 PyObject
*resultobj
= 0;
13679 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
13686 PyObject
* obj0
= 0 ;
13687 PyObject
* obj1
= 0 ;
13688 char * kwnames
[] = {
13689 (char *) "self",(char *) "line", NULL
13692 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VScrolledWindow_ScrollToLine",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13693 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVScrolledWindow
, 0 | 0 );
13694 if (!SWIG_IsOK(res1
)) {
13695 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VScrolledWindow_ScrollToLine" "', expected argument " "1"" of type '" "wxPyVScrolledWindow *""'");
13697 arg1
= reinterpret_cast< wxPyVScrolledWindow
* >(argp1
);
13698 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
13699 if (!SWIG_IsOK(ecode2
)) {
13700 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "VScrolledWindow_ScrollToLine" "', expected argument " "2"" of type '" "size_t""'");
13702 arg2
= static_cast< size_t >(val2
);
13704 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13705 result
= (bool)(arg1
)->ScrollToLine(arg2
);
13706 wxPyEndAllowThreads(__tstate
);
13707 if (PyErr_Occurred()) SWIG_fail
;
13710 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13718 SWIGINTERN PyObject
*_wrap_VScrolledWindow_RefreshLine(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13719 PyObject
*resultobj
= 0;
13720 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
13726 PyObject
* obj0
= 0 ;
13727 PyObject
* obj1
= 0 ;
13728 char * kwnames
[] = {
13729 (char *) "self",(char *) "line", NULL
13732 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VScrolledWindow_RefreshLine",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13733 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVScrolledWindow
, 0 | 0 );
13734 if (!SWIG_IsOK(res1
)) {
13735 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VScrolledWindow_RefreshLine" "', expected argument " "1"" of type '" "wxPyVScrolledWindow *""'");
13737 arg1
= reinterpret_cast< wxPyVScrolledWindow
* >(argp1
);
13738 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
13739 if (!SWIG_IsOK(ecode2
)) {
13740 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "VScrolledWindow_RefreshLine" "', expected argument " "2"" of type '" "size_t""'");
13742 arg2
= static_cast< size_t >(val2
);
13744 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13745 (arg1
)->RefreshLine(arg2
);
13746 wxPyEndAllowThreads(__tstate
);
13747 if (PyErr_Occurred()) SWIG_fail
;
13749 resultobj
= SWIG_Py_Void();
13756 SWIGINTERN PyObject
*_wrap_VScrolledWindow_RefreshLines(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13757 PyObject
*resultobj
= 0;
13758 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
13767 PyObject
* obj0
= 0 ;
13768 PyObject
* obj1
= 0 ;
13769 PyObject
* obj2
= 0 ;
13770 char * kwnames
[] = {
13771 (char *) "self",(char *) "_from",(char *) "to", NULL
13774 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:VScrolledWindow_RefreshLines",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
13775 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVScrolledWindow
, 0 | 0 );
13776 if (!SWIG_IsOK(res1
)) {
13777 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VScrolledWindow_RefreshLines" "', expected argument " "1"" of type '" "wxPyVScrolledWindow *""'");
13779 arg1
= reinterpret_cast< wxPyVScrolledWindow
* >(argp1
);
13780 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
13781 if (!SWIG_IsOK(ecode2
)) {
13782 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "VScrolledWindow_RefreshLines" "', expected argument " "2"" of type '" "size_t""'");
13784 arg2
= static_cast< size_t >(val2
);
13785 ecode3
= SWIG_AsVal_size_t(obj2
, &val3
);
13786 if (!SWIG_IsOK(ecode3
)) {
13787 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "VScrolledWindow_RefreshLines" "', expected argument " "3"" of type '" "size_t""'");
13789 arg3
= static_cast< size_t >(val3
);
13791 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13792 (arg1
)->RefreshLines(arg2
,arg3
);
13793 wxPyEndAllowThreads(__tstate
);
13794 if (PyErr_Occurred()) SWIG_fail
;
13796 resultobj
= SWIG_Py_Void();
13803 SWIGINTERN PyObject
*_wrap_VScrolledWindow_HitTestXY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13804 PyObject
*resultobj
= 0;
13805 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
13815 PyObject
* obj0
= 0 ;
13816 PyObject
* obj1
= 0 ;
13817 PyObject
* obj2
= 0 ;
13818 char * kwnames
[] = {
13819 (char *) "self",(char *) "x",(char *) "y", NULL
13822 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:VScrolledWindow_HitTestXY",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
13823 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVScrolledWindow
, 0 | 0 );
13824 if (!SWIG_IsOK(res1
)) {
13825 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VScrolledWindow_HitTestXY" "', expected argument " "1"" of type '" "wxPyVScrolledWindow const *""'");
13827 arg1
= reinterpret_cast< wxPyVScrolledWindow
* >(argp1
);
13828 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
13829 if (!SWIG_IsOK(ecode2
)) {
13830 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "VScrolledWindow_HitTestXY" "', expected argument " "2"" of type '" "int""'");
13832 arg2
= static_cast< int >(val2
);
13833 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
13834 if (!SWIG_IsOK(ecode3
)) {
13835 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "VScrolledWindow_HitTestXY" "', expected argument " "3"" of type '" "int""'");
13837 arg3
= static_cast< int >(val3
);
13839 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13840 result
= (int)((wxPyVScrolledWindow
const *)arg1
)->HitTest(arg2
,arg3
);
13841 wxPyEndAllowThreads(__tstate
);
13842 if (PyErr_Occurred()) SWIG_fail
;
13844 resultobj
= SWIG_From_int(static_cast< int >(result
));
13851 SWIGINTERN PyObject
*_wrap_VScrolledWindow_HitTest(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13852 PyObject
*resultobj
= 0;
13853 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
13854 wxPoint
*arg2
= 0 ;
13859 PyObject
* obj0
= 0 ;
13860 PyObject
* obj1
= 0 ;
13861 char * kwnames
[] = {
13862 (char *) "self",(char *) "pt", NULL
13865 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VScrolledWindow_HitTest",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13866 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVScrolledWindow
, 0 | 0 );
13867 if (!SWIG_IsOK(res1
)) {
13868 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VScrolledWindow_HitTest" "', expected argument " "1"" of type '" "wxPyVScrolledWindow const *""'");
13870 arg1
= reinterpret_cast< wxPyVScrolledWindow
* >(argp1
);
13873 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
13876 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13877 result
= (int)((wxPyVScrolledWindow
const *)arg1
)->HitTest((wxPoint
const &)*arg2
);
13878 wxPyEndAllowThreads(__tstate
);
13879 if (PyErr_Occurred()) SWIG_fail
;
13881 resultobj
= SWIG_From_int(static_cast< int >(result
));
13888 SWIGINTERN PyObject
*_wrap_VScrolledWindow_RefreshAll(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13889 PyObject
*resultobj
= 0;
13890 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
13893 PyObject
*swig_obj
[1] ;
13895 if (!args
) SWIG_fail
;
13896 swig_obj
[0] = args
;
13897 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyVScrolledWindow
, 0 | 0 );
13898 if (!SWIG_IsOK(res1
)) {
13899 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VScrolledWindow_RefreshAll" "', expected argument " "1"" of type '" "wxPyVScrolledWindow *""'");
13901 arg1
= reinterpret_cast< wxPyVScrolledWindow
* >(argp1
);
13903 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13904 (arg1
)->RefreshAll();
13905 wxPyEndAllowThreads(__tstate
);
13906 if (PyErr_Occurred()) SWIG_fail
;
13908 resultobj
= SWIG_Py_Void();
13915 SWIGINTERN PyObject
*_wrap_VScrolledWindow_GetLineCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13916 PyObject
*resultobj
= 0;
13917 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
13921 PyObject
*swig_obj
[1] ;
13923 if (!args
) SWIG_fail
;
13924 swig_obj
[0] = args
;
13925 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyVScrolledWindow
, 0 | 0 );
13926 if (!SWIG_IsOK(res1
)) {
13927 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VScrolledWindow_GetLineCount" "', expected argument " "1"" of type '" "wxPyVScrolledWindow const *""'");
13929 arg1
= reinterpret_cast< wxPyVScrolledWindow
* >(argp1
);
13931 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13932 result
= (size_t)((wxPyVScrolledWindow
const *)arg1
)->GetLineCount();
13933 wxPyEndAllowThreads(__tstate
);
13934 if (PyErr_Occurred()) SWIG_fail
;
13936 resultobj
= SWIG_From_size_t(static_cast< size_t >(result
));
13943 SWIGINTERN PyObject
*_wrap_VScrolledWindow_GetVisibleBegin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13944 PyObject
*resultobj
= 0;
13945 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
13949 PyObject
*swig_obj
[1] ;
13951 if (!args
) SWIG_fail
;
13952 swig_obj
[0] = args
;
13953 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyVScrolledWindow
, 0 | 0 );
13954 if (!SWIG_IsOK(res1
)) {
13955 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VScrolledWindow_GetVisibleBegin" "', expected argument " "1"" of type '" "wxPyVScrolledWindow const *""'");
13957 arg1
= reinterpret_cast< wxPyVScrolledWindow
* >(argp1
);
13959 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13960 result
= (size_t)((wxPyVScrolledWindow
const *)arg1
)->GetVisibleBegin();
13961 wxPyEndAllowThreads(__tstate
);
13962 if (PyErr_Occurred()) SWIG_fail
;
13964 resultobj
= SWIG_From_size_t(static_cast< size_t >(result
));
13971 SWIGINTERN PyObject
*_wrap_VScrolledWindow_GetVisibleEnd(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13972 PyObject
*resultobj
= 0;
13973 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
13977 PyObject
*swig_obj
[1] ;
13979 if (!args
) SWIG_fail
;
13980 swig_obj
[0] = args
;
13981 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyVScrolledWindow
, 0 | 0 );
13982 if (!SWIG_IsOK(res1
)) {
13983 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VScrolledWindow_GetVisibleEnd" "', expected argument " "1"" of type '" "wxPyVScrolledWindow const *""'");
13985 arg1
= reinterpret_cast< wxPyVScrolledWindow
* >(argp1
);
13987 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13988 result
= (size_t)((wxPyVScrolledWindow
const *)arg1
)->GetVisibleEnd();
13989 wxPyEndAllowThreads(__tstate
);
13990 if (PyErr_Occurred()) SWIG_fail
;
13992 resultobj
= SWIG_From_size_t(static_cast< size_t >(result
));
13999 SWIGINTERN PyObject
*_wrap_VScrolledWindow_IsVisible(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14000 PyObject
*resultobj
= 0;
14001 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
14008 PyObject
* obj0
= 0 ;
14009 PyObject
* obj1
= 0 ;
14010 char * kwnames
[] = {
14011 (char *) "self",(char *) "line", NULL
14014 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VScrolledWindow_IsVisible",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14015 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVScrolledWindow
, 0 | 0 );
14016 if (!SWIG_IsOK(res1
)) {
14017 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VScrolledWindow_IsVisible" "', expected argument " "1"" of type '" "wxPyVScrolledWindow const *""'");
14019 arg1
= reinterpret_cast< wxPyVScrolledWindow
* >(argp1
);
14020 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
14021 if (!SWIG_IsOK(ecode2
)) {
14022 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "VScrolledWindow_IsVisible" "', expected argument " "2"" of type '" "size_t""'");
14024 arg2
= static_cast< size_t >(val2
);
14026 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14027 result
= (bool)((wxPyVScrolledWindow
const *)arg1
)->IsVisible(arg2
);
14028 wxPyEndAllowThreads(__tstate
);
14029 if (PyErr_Occurred()) SWIG_fail
;
14032 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14040 SWIGINTERN PyObject
*_wrap_VScrolledWindow_GetFirstVisibleLine(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14041 PyObject
*resultobj
= 0;
14042 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
14046 PyObject
*swig_obj
[1] ;
14048 if (!args
) SWIG_fail
;
14049 swig_obj
[0] = args
;
14050 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyVScrolledWindow
, 0 | 0 );
14051 if (!SWIG_IsOK(res1
)) {
14052 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VScrolledWindow_GetFirstVisibleLine" "', expected argument " "1"" of type '" "wxPyVScrolledWindow const *""'");
14054 arg1
= reinterpret_cast< wxPyVScrolledWindow
* >(argp1
);
14056 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14057 result
= (size_t)((wxPyVScrolledWindow
const *)arg1
)->GetFirstVisibleLine();
14058 wxPyEndAllowThreads(__tstate
);
14059 if (PyErr_Occurred()) SWIG_fail
;
14061 resultobj
= SWIG_From_size_t(static_cast< size_t >(result
));
14068 SWIGINTERN PyObject
*_wrap_VScrolledWindow_GetLastVisibleLine(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14069 PyObject
*resultobj
= 0;
14070 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
14074 PyObject
*swig_obj
[1] ;
14076 if (!args
) SWIG_fail
;
14077 swig_obj
[0] = args
;
14078 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyVScrolledWindow
, 0 | 0 );
14079 if (!SWIG_IsOK(res1
)) {
14080 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VScrolledWindow_GetLastVisibleLine" "', expected argument " "1"" of type '" "wxPyVScrolledWindow const *""'");
14082 arg1
= reinterpret_cast< wxPyVScrolledWindow
* >(argp1
);
14084 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14085 result
= (size_t)((wxPyVScrolledWindow
const *)arg1
)->GetLastVisibleLine();
14086 wxPyEndAllowThreads(__tstate
);
14087 if (PyErr_Occurred()) SWIG_fail
;
14089 resultobj
= SWIG_From_size_t(static_cast< size_t >(result
));
14096 SWIGINTERN PyObject
*_wrap_VScrolledWindow_FindFirstFromBottom(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14097 PyObject
*resultobj
= 0;
14098 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
14100 bool arg3
= (bool) false ;
14108 PyObject
* obj0
= 0 ;
14109 PyObject
* obj1
= 0 ;
14110 PyObject
* obj2
= 0 ;
14111 char * kwnames
[] = {
14112 (char *) "self",(char *) "lineLast",(char *) "fullyVisible", NULL
14115 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:VScrolledWindow_FindFirstFromBottom",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
14116 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVScrolledWindow
, 0 | 0 );
14117 if (!SWIG_IsOK(res1
)) {
14118 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VScrolledWindow_FindFirstFromBottom" "', expected argument " "1"" of type '" "wxPyVScrolledWindow *""'");
14120 arg1
= reinterpret_cast< wxPyVScrolledWindow
* >(argp1
);
14121 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
14122 if (!SWIG_IsOK(ecode2
)) {
14123 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "VScrolledWindow_FindFirstFromBottom" "', expected argument " "2"" of type '" "size_t""'");
14125 arg2
= static_cast< size_t >(val2
);
14127 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
14128 if (!SWIG_IsOK(ecode3
)) {
14129 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "VScrolledWindow_FindFirstFromBottom" "', expected argument " "3"" of type '" "bool""'");
14131 arg3
= static_cast< bool >(val3
);
14134 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14135 result
= (size_t)(arg1
)->FindFirstFromBottom(arg2
,arg3
);
14136 wxPyEndAllowThreads(__tstate
);
14137 if (PyErr_Occurred()) SWIG_fail
;
14139 resultobj
= SWIG_From_size_t(static_cast< size_t >(result
));
14146 SWIGINTERN PyObject
*_wrap_VScrolledWindow_GetLinesHeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14147 PyObject
*resultobj
= 0;
14148 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
14158 PyObject
* obj0
= 0 ;
14159 PyObject
* obj1
= 0 ;
14160 PyObject
* obj2
= 0 ;
14161 char * kwnames
[] = {
14162 (char *) "self",(char *) "lineMin",(char *) "lineMax", NULL
14165 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:VScrolledWindow_GetLinesHeight",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
14166 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVScrolledWindow
, 0 | 0 );
14167 if (!SWIG_IsOK(res1
)) {
14168 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VScrolledWindow_GetLinesHeight" "', expected argument " "1"" of type '" "wxPyVScrolledWindow const *""'");
14170 arg1
= reinterpret_cast< wxPyVScrolledWindow
* >(argp1
);
14171 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
14172 if (!SWIG_IsOK(ecode2
)) {
14173 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "VScrolledWindow_GetLinesHeight" "', expected argument " "2"" of type '" "size_t""'");
14175 arg2
= static_cast< size_t >(val2
);
14176 ecode3
= SWIG_AsVal_size_t(obj2
, &val3
);
14177 if (!SWIG_IsOK(ecode3
)) {
14178 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "VScrolledWindow_GetLinesHeight" "', expected argument " "3"" of type '" "size_t""'");
14180 arg3
= static_cast< size_t >(val3
);
14182 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14183 result
= (int)((wxPyVScrolledWindow
const *)arg1
)->GetLinesHeight(arg2
,arg3
);
14184 wxPyEndAllowThreads(__tstate
);
14185 if (PyErr_Occurred()) SWIG_fail
;
14187 resultobj
= SWIG_From_int(static_cast< int >(result
));
14194 SWIGINTERN PyObject
*VScrolledWindow_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14196 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
14197 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyVScrolledWindow
, SWIG_NewClientData(obj
));
14198 return SWIG_Py_Void();
14201 SWIGINTERN PyObject
*VScrolledWindow_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14202 return SWIG_Python_InitShadowInstance(args
);
14205 SWIGINTERN
int VListBoxNameStr_set(PyObject
*) {
14206 SWIG_Error(SWIG_AttributeError
,"Variable VListBoxNameStr is read-only.");
14211 SWIGINTERN PyObject
*VListBoxNameStr_get(void) {
14212 PyObject
*pyobj
= 0;
14216 pyobj
= PyUnicode_FromWideChar((&wxPyVListBoxNameStr
)->c_str(), (&wxPyVListBoxNameStr
)->Len());
14218 pyobj
= PyString_FromStringAndSize((&wxPyVListBoxNameStr
)->c_str(), (&wxPyVListBoxNameStr
)->Len());
14225 SWIGINTERN PyObject
*_wrap_new_VListBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14226 PyObject
*resultobj
= 0;
14227 wxWindow
*arg1
= (wxWindow
*) 0 ;
14228 int arg2
= (int) wxID_ANY
;
14229 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
14230 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
14231 wxSize
const &arg4_defvalue
= wxDefaultSize
;
14232 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
14233 long arg5
= (long) 0 ;
14234 wxString
const &arg6_defvalue
= wxPyVListBoxNameStr
;
14235 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
14236 wxPyVListBox
*result
= 0 ;
14245 bool temp6
= false ;
14246 PyObject
* obj0
= 0 ;
14247 PyObject
* obj1
= 0 ;
14248 PyObject
* obj2
= 0 ;
14249 PyObject
* obj3
= 0 ;
14250 PyObject
* obj4
= 0 ;
14251 PyObject
* obj5
= 0 ;
14252 char * kwnames
[] = {
14253 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
14256 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_VListBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
14257 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
14258 if (!SWIG_IsOK(res1
)) {
14259 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_VListBox" "', expected argument " "1"" of type '" "wxWindow *""'");
14261 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
14263 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
14264 if (!SWIG_IsOK(ecode2
)) {
14265 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_VListBox" "', expected argument " "2"" of type '" "int""'");
14267 arg2
= static_cast< int >(val2
);
14272 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
14278 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
14282 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
14283 if (!SWIG_IsOK(ecode5
)) {
14284 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_VListBox" "', expected argument " "5"" of type '" "long""'");
14286 arg5
= static_cast< long >(val5
);
14290 arg6
= wxString_in_helper(obj5
);
14291 if (arg6
== NULL
) SWIG_fail
;
14296 if (!wxPyCheckForApp()) SWIG_fail
;
14297 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14298 result
= (wxPyVListBox
*)new wxPyVListBox(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
14299 wxPyEndAllowThreads(__tstate
);
14300 if (PyErr_Occurred()) SWIG_fail
;
14302 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyVListBox
, SWIG_POINTER_NEW
| 0 );
14317 SWIGINTERN PyObject
*_wrap_new_PreVListBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14318 PyObject
*resultobj
= 0;
14319 wxPyVListBox
*result
= 0 ;
14321 if (!SWIG_Python_UnpackTuple(args
,"new_PreVListBox",0,0,0)) SWIG_fail
;
14323 if (!wxPyCheckForApp()) SWIG_fail
;
14324 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14325 result
= (wxPyVListBox
*)new wxPyVListBox();
14326 wxPyEndAllowThreads(__tstate
);
14327 if (PyErr_Occurred()) SWIG_fail
;
14329 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyVListBox
, SWIG_POINTER_OWN
| 0 );
14336 SWIGINTERN PyObject
*_wrap_VListBox__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14337 PyObject
*resultobj
= 0;
14338 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
14339 PyObject
*arg2
= (PyObject
*) 0 ;
14340 PyObject
*arg3
= (PyObject
*) 0 ;
14343 PyObject
* obj0
= 0 ;
14344 PyObject
* obj1
= 0 ;
14345 PyObject
* obj2
= 0 ;
14346 char * kwnames
[] = {
14347 (char *) "self",(char *) "self",(char *) "_class", NULL
14350 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:VListBox__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
14351 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
14352 if (!SWIG_IsOK(res1
)) {
14353 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
14355 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
14359 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14360 (arg1
)->_setCallbackInfo(arg2
,arg3
);
14361 wxPyEndAllowThreads(__tstate
);
14362 if (PyErr_Occurred()) SWIG_fail
;
14364 resultobj
= SWIG_Py_Void();
14371 SWIGINTERN PyObject
*_wrap_VListBox_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14372 PyObject
*resultobj
= 0;
14373 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
14374 wxWindow
*arg2
= (wxWindow
*) 0 ;
14375 int arg3
= (int) wxID_ANY
;
14376 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
14377 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
14378 wxSize
const &arg5_defvalue
= wxDefaultSize
;
14379 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
14380 long arg6
= (long) 0 ;
14381 wxString
const &arg7_defvalue
= wxPyVListBoxNameStr
;
14382 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
14394 bool temp7
= false ;
14395 PyObject
* obj0
= 0 ;
14396 PyObject
* obj1
= 0 ;
14397 PyObject
* obj2
= 0 ;
14398 PyObject
* obj3
= 0 ;
14399 PyObject
* obj4
= 0 ;
14400 PyObject
* obj5
= 0 ;
14401 PyObject
* obj6
= 0 ;
14402 char * kwnames
[] = {
14403 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
14406 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:VListBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
14407 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
14408 if (!SWIG_IsOK(res1
)) {
14409 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_Create" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
14411 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
14412 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
14413 if (!SWIG_IsOK(res2
)) {
14414 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "VListBox_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
14416 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
14418 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
14419 if (!SWIG_IsOK(ecode3
)) {
14420 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "VListBox_Create" "', expected argument " "3"" of type '" "int""'");
14422 arg3
= static_cast< int >(val3
);
14427 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
14433 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
14437 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
14438 if (!SWIG_IsOK(ecode6
)) {
14439 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "VListBox_Create" "', expected argument " "6"" of type '" "long""'");
14441 arg6
= static_cast< long >(val6
);
14445 arg7
= wxString_in_helper(obj6
);
14446 if (arg7
== NULL
) SWIG_fail
;
14451 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14452 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
14453 wxPyEndAllowThreads(__tstate
);
14454 if (PyErr_Occurred()) SWIG_fail
;
14457 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14473 SWIGINTERN PyObject
*_wrap_VListBox_GetItemCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14474 PyObject
*resultobj
= 0;
14475 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
14479 PyObject
*swig_obj
[1] ;
14481 if (!args
) SWIG_fail
;
14482 swig_obj
[0] = args
;
14483 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
14484 if (!SWIG_IsOK(res1
)) {
14485 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_GetItemCount" "', expected argument " "1"" of type '" "wxPyVListBox const *""'");
14487 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
14489 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14490 result
= (size_t)((wxPyVListBox
const *)arg1
)->GetItemCount();
14491 wxPyEndAllowThreads(__tstate
);
14492 if (PyErr_Occurred()) SWIG_fail
;
14494 resultobj
= SWIG_From_size_t(static_cast< size_t >(result
));
14501 SWIGINTERN PyObject
*_wrap_VListBox_HasMultipleSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14502 PyObject
*resultobj
= 0;
14503 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
14507 PyObject
*swig_obj
[1] ;
14509 if (!args
) SWIG_fail
;
14510 swig_obj
[0] = args
;
14511 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
14512 if (!SWIG_IsOK(res1
)) {
14513 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_HasMultipleSelection" "', expected argument " "1"" of type '" "wxPyVListBox const *""'");
14515 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
14517 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14518 result
= (bool)((wxPyVListBox
const *)arg1
)->HasMultipleSelection();
14519 wxPyEndAllowThreads(__tstate
);
14520 if (PyErr_Occurred()) SWIG_fail
;
14523 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14531 SWIGINTERN PyObject
*_wrap_VListBox_GetSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14532 PyObject
*resultobj
= 0;
14533 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
14537 PyObject
*swig_obj
[1] ;
14539 if (!args
) SWIG_fail
;
14540 swig_obj
[0] = args
;
14541 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
14542 if (!SWIG_IsOK(res1
)) {
14543 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_GetSelection" "', expected argument " "1"" of type '" "wxPyVListBox const *""'");
14545 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
14547 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14548 result
= (int)((wxPyVListBox
const *)arg1
)->GetSelection();
14549 wxPyEndAllowThreads(__tstate
);
14550 if (PyErr_Occurred()) SWIG_fail
;
14552 resultobj
= SWIG_From_int(static_cast< int >(result
));
14559 SWIGINTERN PyObject
*_wrap_VListBox_IsCurrent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14560 PyObject
*resultobj
= 0;
14561 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
14568 PyObject
* obj0
= 0 ;
14569 PyObject
* obj1
= 0 ;
14570 char * kwnames
[] = {
14571 (char *) "self",(char *) "item", NULL
14574 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_IsCurrent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14575 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
14576 if (!SWIG_IsOK(res1
)) {
14577 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_IsCurrent" "', expected argument " "1"" of type '" "wxPyVListBox const *""'");
14579 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
14580 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
14581 if (!SWIG_IsOK(ecode2
)) {
14582 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "VListBox_IsCurrent" "', expected argument " "2"" of type '" "size_t""'");
14584 arg2
= static_cast< size_t >(val2
);
14586 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14587 result
= (bool)((wxPyVListBox
const *)arg1
)->IsCurrent(arg2
);
14588 wxPyEndAllowThreads(__tstate
);
14589 if (PyErr_Occurred()) SWIG_fail
;
14592 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14600 SWIGINTERN PyObject
*_wrap_VListBox_IsSelected(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14601 PyObject
*resultobj
= 0;
14602 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
14609 PyObject
* obj0
= 0 ;
14610 PyObject
* obj1
= 0 ;
14611 char * kwnames
[] = {
14612 (char *) "self",(char *) "item", NULL
14615 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_IsSelected",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14616 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
14617 if (!SWIG_IsOK(res1
)) {
14618 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_IsSelected" "', expected argument " "1"" of type '" "wxPyVListBox const *""'");
14620 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
14621 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
14622 if (!SWIG_IsOK(ecode2
)) {
14623 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "VListBox_IsSelected" "', expected argument " "2"" of type '" "size_t""'");
14625 arg2
= static_cast< size_t >(val2
);
14627 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14628 result
= (bool)((wxPyVListBox
const *)arg1
)->IsSelected(arg2
);
14629 wxPyEndAllowThreads(__tstate
);
14630 if (PyErr_Occurred()) SWIG_fail
;
14633 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14641 SWIGINTERN PyObject
*_wrap_VListBox_GetSelectedCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14642 PyObject
*resultobj
= 0;
14643 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
14647 PyObject
*swig_obj
[1] ;
14649 if (!args
) SWIG_fail
;
14650 swig_obj
[0] = args
;
14651 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
14652 if (!SWIG_IsOK(res1
)) {
14653 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_GetSelectedCount" "', expected argument " "1"" of type '" "wxPyVListBox const *""'");
14655 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
14657 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14658 result
= (size_t)((wxPyVListBox
const *)arg1
)->GetSelectedCount();
14659 wxPyEndAllowThreads(__tstate
);
14660 if (PyErr_Occurred()) SWIG_fail
;
14662 resultobj
= SWIG_From_size_t(static_cast< size_t >(result
));
14669 SWIGINTERN PyObject
*_wrap_VListBox_GetFirstSelected(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14670 PyObject
*resultobj
= 0;
14671 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
14672 PyObject
*result
= 0 ;
14675 PyObject
*swig_obj
[1] ;
14677 if (!args
) SWIG_fail
;
14678 swig_obj
[0] = args
;
14679 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
14680 if (!SWIG_IsOK(res1
)) {
14681 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_GetFirstSelected" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
14683 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
14685 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14686 result
= (PyObject
*)wxPyVListBox_GetFirstSelected(arg1
);
14687 wxPyEndAllowThreads(__tstate
);
14688 if (PyErr_Occurred()) SWIG_fail
;
14690 resultobj
= result
;
14697 SWIGINTERN PyObject
*_wrap_VListBox_GetNextSelected(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14698 PyObject
*resultobj
= 0;
14699 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
14700 unsigned long arg2
;
14701 PyObject
*result
= 0 ;
14704 unsigned long val2
;
14706 PyObject
* obj0
= 0 ;
14707 PyObject
* obj1
= 0 ;
14708 char * kwnames
[] = {
14709 (char *) "self",(char *) "cookie", NULL
14712 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_GetNextSelected",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14713 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
14714 if (!SWIG_IsOK(res1
)) {
14715 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_GetNextSelected" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
14717 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
14718 ecode2
= SWIG_AsVal_unsigned_SS_long(obj1
, &val2
);
14719 if (!SWIG_IsOK(ecode2
)) {
14720 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "VListBox_GetNextSelected" "', expected argument " "2"" of type '" "unsigned long""'");
14722 arg2
= static_cast< unsigned long >(val2
);
14724 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14725 result
= (PyObject
*)wxPyVListBox_GetNextSelected(arg1
,arg2
);
14726 wxPyEndAllowThreads(__tstate
);
14727 if (PyErr_Occurred()) SWIG_fail
;
14729 resultobj
= result
;
14736 SWIGINTERN PyObject
*_wrap_VListBox_GetMargins(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14737 PyObject
*resultobj
= 0;
14738 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
14742 PyObject
*swig_obj
[1] ;
14744 if (!args
) SWIG_fail
;
14745 swig_obj
[0] = args
;
14746 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
14747 if (!SWIG_IsOK(res1
)) {
14748 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_GetMargins" "', expected argument " "1"" of type '" "wxPyVListBox const *""'");
14750 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
14752 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14753 result
= ((wxPyVListBox
const *)arg1
)->GetMargins();
14754 wxPyEndAllowThreads(__tstate
);
14755 if (PyErr_Occurred()) SWIG_fail
;
14757 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
14764 SWIGINTERN PyObject
*_wrap_VListBox_GetSelectionBackground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14765 PyObject
*resultobj
= 0;
14766 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
14767 wxColour
*result
= 0 ;
14770 PyObject
*swig_obj
[1] ;
14772 if (!args
) SWIG_fail
;
14773 swig_obj
[0] = args
;
14774 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
14775 if (!SWIG_IsOK(res1
)) {
14776 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_GetSelectionBackground" "', expected argument " "1"" of type '" "wxPyVListBox const *""'");
14778 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
14780 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14782 wxColour
const &_result_ref
= ((wxPyVListBox
const *)arg1
)->GetSelectionBackground();
14783 result
= (wxColour
*) &_result_ref
;
14785 wxPyEndAllowThreads(__tstate
);
14786 if (PyErr_Occurred()) SWIG_fail
;
14788 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColour
, 0 | 0 );
14795 SWIGINTERN PyObject
*_wrap_VListBox_SetItemCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14796 PyObject
*resultobj
= 0;
14797 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
14803 PyObject
* obj0
= 0 ;
14804 PyObject
* obj1
= 0 ;
14805 char * kwnames
[] = {
14806 (char *) "self",(char *) "count", NULL
14809 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_SetItemCount",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14810 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
14811 if (!SWIG_IsOK(res1
)) {
14812 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_SetItemCount" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
14814 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
14815 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
14816 if (!SWIG_IsOK(ecode2
)) {
14817 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "VListBox_SetItemCount" "', expected argument " "2"" of type '" "size_t""'");
14819 arg2
= static_cast< size_t >(val2
);
14821 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14822 (arg1
)->SetItemCount(arg2
);
14823 wxPyEndAllowThreads(__tstate
);
14824 if (PyErr_Occurred()) SWIG_fail
;
14826 resultobj
= SWIG_Py_Void();
14833 SWIGINTERN PyObject
*_wrap_VListBox_Clear(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14834 PyObject
*resultobj
= 0;
14835 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
14838 PyObject
*swig_obj
[1] ;
14840 if (!args
) SWIG_fail
;
14841 swig_obj
[0] = args
;
14842 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
14843 if (!SWIG_IsOK(res1
)) {
14844 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_Clear" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
14846 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
14848 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14850 wxPyEndAllowThreads(__tstate
);
14851 if (PyErr_Occurred()) SWIG_fail
;
14853 resultobj
= SWIG_Py_Void();
14860 SWIGINTERN PyObject
*_wrap_VListBox_SetSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14861 PyObject
*resultobj
= 0;
14862 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
14868 PyObject
* obj0
= 0 ;
14869 PyObject
* obj1
= 0 ;
14870 char * kwnames
[] = {
14871 (char *) "self",(char *) "selection", NULL
14874 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_SetSelection",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14875 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
14876 if (!SWIG_IsOK(res1
)) {
14877 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_SetSelection" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
14879 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
14880 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
14881 if (!SWIG_IsOK(ecode2
)) {
14882 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "VListBox_SetSelection" "', expected argument " "2"" of type '" "int""'");
14884 arg2
= static_cast< int >(val2
);
14886 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14887 (arg1
)->SetSelection(arg2
);
14888 wxPyEndAllowThreads(__tstate
);
14889 if (PyErr_Occurred()) SWIG_fail
;
14891 resultobj
= SWIG_Py_Void();
14898 SWIGINTERN PyObject
*_wrap_VListBox_Select(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14899 PyObject
*resultobj
= 0;
14900 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
14902 bool arg3
= (bool) true ;
14910 PyObject
* obj0
= 0 ;
14911 PyObject
* obj1
= 0 ;
14912 PyObject
* obj2
= 0 ;
14913 char * kwnames
[] = {
14914 (char *) "self",(char *) "item",(char *) "select", NULL
14917 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:VListBox_Select",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
14918 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
14919 if (!SWIG_IsOK(res1
)) {
14920 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_Select" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
14922 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
14923 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
14924 if (!SWIG_IsOK(ecode2
)) {
14925 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "VListBox_Select" "', expected argument " "2"" of type '" "size_t""'");
14927 arg2
= static_cast< size_t >(val2
);
14929 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
14930 if (!SWIG_IsOK(ecode3
)) {
14931 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "VListBox_Select" "', expected argument " "3"" of type '" "bool""'");
14933 arg3
= static_cast< bool >(val3
);
14936 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14937 result
= (bool)(arg1
)->Select(arg2
,arg3
);
14938 wxPyEndAllowThreads(__tstate
);
14939 if (PyErr_Occurred()) SWIG_fail
;
14942 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14950 SWIGINTERN PyObject
*_wrap_VListBox_SelectRange(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14951 PyObject
*resultobj
= 0;
14952 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
14962 PyObject
* obj0
= 0 ;
14963 PyObject
* obj1
= 0 ;
14964 PyObject
* obj2
= 0 ;
14965 char * kwnames
[] = {
14966 (char *) "self",(char *) "_from",(char *) "to", NULL
14969 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:VListBox_SelectRange",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
14970 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
14971 if (!SWIG_IsOK(res1
)) {
14972 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_SelectRange" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
14974 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
14975 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
14976 if (!SWIG_IsOK(ecode2
)) {
14977 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "VListBox_SelectRange" "', expected argument " "2"" of type '" "size_t""'");
14979 arg2
= static_cast< size_t >(val2
);
14980 ecode3
= SWIG_AsVal_size_t(obj2
, &val3
);
14981 if (!SWIG_IsOK(ecode3
)) {
14982 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "VListBox_SelectRange" "', expected argument " "3"" of type '" "size_t""'");
14984 arg3
= static_cast< size_t >(val3
);
14986 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14987 result
= (bool)(arg1
)->SelectRange(arg2
,arg3
);
14988 wxPyEndAllowThreads(__tstate
);
14989 if (PyErr_Occurred()) SWIG_fail
;
14992 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15000 SWIGINTERN PyObject
*_wrap_VListBox_Toggle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15001 PyObject
*resultobj
= 0;
15002 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
15008 PyObject
* obj0
= 0 ;
15009 PyObject
* obj1
= 0 ;
15010 char * kwnames
[] = {
15011 (char *) "self",(char *) "item", NULL
15014 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_Toggle",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15015 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
15016 if (!SWIG_IsOK(res1
)) {
15017 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_Toggle" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
15019 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
15020 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
15021 if (!SWIG_IsOK(ecode2
)) {
15022 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "VListBox_Toggle" "', expected argument " "2"" of type '" "size_t""'");
15024 arg2
= static_cast< size_t >(val2
);
15026 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15027 (arg1
)->Toggle(arg2
);
15028 wxPyEndAllowThreads(__tstate
);
15029 if (PyErr_Occurred()) SWIG_fail
;
15031 resultobj
= SWIG_Py_Void();
15038 SWIGINTERN PyObject
*_wrap_VListBox_SelectAll(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15039 PyObject
*resultobj
= 0;
15040 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
15044 PyObject
*swig_obj
[1] ;
15046 if (!args
) SWIG_fail
;
15047 swig_obj
[0] = args
;
15048 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
15049 if (!SWIG_IsOK(res1
)) {
15050 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_SelectAll" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
15052 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
15054 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15055 result
= (bool)(arg1
)->SelectAll();
15056 wxPyEndAllowThreads(__tstate
);
15057 if (PyErr_Occurred()) SWIG_fail
;
15060 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15068 SWIGINTERN PyObject
*_wrap_VListBox_DeselectAll(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15069 PyObject
*resultobj
= 0;
15070 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
15074 PyObject
*swig_obj
[1] ;
15076 if (!args
) SWIG_fail
;
15077 swig_obj
[0] = args
;
15078 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
15079 if (!SWIG_IsOK(res1
)) {
15080 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_DeselectAll" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
15082 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
15084 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15085 result
= (bool)(arg1
)->DeselectAll();
15086 wxPyEndAllowThreads(__tstate
);
15087 if (PyErr_Occurred()) SWIG_fail
;
15090 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15098 SWIGINTERN PyObject
*_wrap_VListBox_SetMargins(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15099 PyObject
*resultobj
= 0;
15100 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
15101 wxPoint
*arg2
= 0 ;
15105 PyObject
* obj0
= 0 ;
15106 PyObject
* obj1
= 0 ;
15107 char * kwnames
[] = {
15108 (char *) "self",(char *) "pt", NULL
15111 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_SetMargins",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15112 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
15113 if (!SWIG_IsOK(res1
)) {
15114 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_SetMargins" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
15116 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
15119 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
15122 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15123 (arg1
)->SetMargins((wxPoint
const &)*arg2
);
15124 wxPyEndAllowThreads(__tstate
);
15125 if (PyErr_Occurred()) SWIG_fail
;
15127 resultobj
= SWIG_Py_Void();
15134 SWIGINTERN PyObject
*_wrap_VListBox_SetMarginsXY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15135 PyObject
*resultobj
= 0;
15136 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
15145 PyObject
* obj0
= 0 ;
15146 PyObject
* obj1
= 0 ;
15147 PyObject
* obj2
= 0 ;
15148 char * kwnames
[] = {
15149 (char *) "self",(char *) "x",(char *) "y", NULL
15152 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:VListBox_SetMarginsXY",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
15153 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
15154 if (!SWIG_IsOK(res1
)) {
15155 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_SetMarginsXY" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
15157 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
15158 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15159 if (!SWIG_IsOK(ecode2
)) {
15160 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "VListBox_SetMarginsXY" "', expected argument " "2"" of type '" "int""'");
15162 arg2
= static_cast< int >(val2
);
15163 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
15164 if (!SWIG_IsOK(ecode3
)) {
15165 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "VListBox_SetMarginsXY" "', expected argument " "3"" of type '" "int""'");
15167 arg3
= static_cast< int >(val3
);
15169 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15170 (arg1
)->SetMargins(arg2
,arg3
);
15171 wxPyEndAllowThreads(__tstate
);
15172 if (PyErr_Occurred()) SWIG_fail
;
15174 resultobj
= SWIG_Py_Void();
15181 SWIGINTERN PyObject
*_wrap_VListBox_SetSelectionBackground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15182 PyObject
*resultobj
= 0;
15183 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
15184 wxColour
*arg2
= 0 ;
15188 PyObject
* obj0
= 0 ;
15189 PyObject
* obj1
= 0 ;
15190 char * kwnames
[] = {
15191 (char *) "self",(char *) "col", NULL
15194 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_SetSelectionBackground",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15195 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
15196 if (!SWIG_IsOK(res1
)) {
15197 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_SetSelectionBackground" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
15199 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
15202 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
15205 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15206 (arg1
)->SetSelectionBackground((wxColour
const &)*arg2
);
15207 wxPyEndAllowThreads(__tstate
);
15208 if (PyErr_Occurred()) SWIG_fail
;
15210 resultobj
= SWIG_Py_Void();
15217 SWIGINTERN PyObject
*_wrap_VListBox_OnDrawSeparator(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15218 PyObject
*resultobj
= 0;
15219 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
15230 PyObject
* obj0
= 0 ;
15231 PyObject
* obj1
= 0 ;
15232 PyObject
* obj2
= 0 ;
15233 PyObject
* obj3
= 0 ;
15234 char * kwnames
[] = {
15235 (char *) "self",(char *) "dc",(char *) "rect",(char *) "n", NULL
15238 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:VListBox_OnDrawSeparator",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
15239 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
15240 if (!SWIG_IsOK(res1
)) {
15241 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_OnDrawSeparator" "', expected argument " "1"" of type '" "wxPyVListBox const *""'");
15243 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
15244 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDC
, 0 );
15245 if (!SWIG_IsOK(res2
)) {
15246 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "VListBox_OnDrawSeparator" "', expected argument " "2"" of type '" "wxDC &""'");
15249 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "VListBox_OnDrawSeparator" "', expected argument " "2"" of type '" "wxDC &""'");
15251 arg2
= reinterpret_cast< wxDC
* >(argp2
);
15254 if ( ! wxRect_helper(obj2
, &arg3
)) SWIG_fail
;
15256 ecode4
= SWIG_AsVal_size_t(obj3
, &val4
);
15257 if (!SWIG_IsOK(ecode4
)) {
15258 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "VListBox_OnDrawSeparator" "', expected argument " "4"" of type '" "size_t""'");
15260 arg4
= static_cast< size_t >(val4
);
15262 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15263 ((wxPyVListBox
const *)arg1
)->OnDrawSeparator(*arg2
,*arg3
,arg4
);
15264 wxPyEndAllowThreads(__tstate
);
15265 if (PyErr_Occurred()) SWIG_fail
;
15267 resultobj
= SWIG_Py_Void();
15274 SWIGINTERN PyObject
*_wrap_VListBox_OnDrawBackground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15275 PyObject
*resultobj
= 0;
15276 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
15287 PyObject
* obj0
= 0 ;
15288 PyObject
* obj1
= 0 ;
15289 PyObject
* obj2
= 0 ;
15290 PyObject
* obj3
= 0 ;
15291 char * kwnames
[] = {
15292 (char *) "self",(char *) "dc",(char *) "rect",(char *) "n", NULL
15295 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:VListBox_OnDrawBackground",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
15296 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
15297 if (!SWIG_IsOK(res1
)) {
15298 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_OnDrawBackground" "', expected argument " "1"" of type '" "wxPyVListBox const *""'");
15300 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
15301 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDC
, 0 );
15302 if (!SWIG_IsOK(res2
)) {
15303 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "VListBox_OnDrawBackground" "', expected argument " "2"" of type '" "wxDC &""'");
15306 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "VListBox_OnDrawBackground" "', expected argument " "2"" of type '" "wxDC &""'");
15308 arg2
= reinterpret_cast< wxDC
* >(argp2
);
15311 if ( ! wxRect_helper(obj2
, &arg3
)) SWIG_fail
;
15313 ecode4
= SWIG_AsVal_size_t(obj3
, &val4
);
15314 if (!SWIG_IsOK(ecode4
)) {
15315 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "VListBox_OnDrawBackground" "', expected argument " "4"" of type '" "size_t""'");
15317 arg4
= static_cast< size_t >(val4
);
15319 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15320 ((wxPyVListBox
const *)arg1
)->OnDrawBackground(*arg2
,(wxRect
const &)*arg3
,arg4
);
15321 wxPyEndAllowThreads(__tstate
);
15322 if (PyErr_Occurred()) SWIG_fail
;
15324 resultobj
= SWIG_Py_Void();
15331 SWIGINTERN PyObject
*VListBox_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15333 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
15334 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyVListBox
, SWIG_NewClientData(obj
));
15335 return SWIG_Py_Void();
15338 SWIGINTERN PyObject
*VListBox_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15339 return SWIG_Python_InitShadowInstance(args
);
15342 SWIGINTERN PyObject
*_wrap_new_HtmlListBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15343 PyObject
*resultobj
= 0;
15344 wxWindow
*arg1
= (wxWindow
*) 0 ;
15345 int arg2
= (int) wxID_ANY
;
15346 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
15347 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
15348 wxSize
const &arg4_defvalue
= wxDefaultSize
;
15349 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
15350 long arg5
= (long) 0 ;
15351 wxString
const &arg6_defvalue
= wxPyVListBoxNameStr
;
15352 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
15353 wxPyHtmlListBox
*result
= 0 ;
15362 bool temp6
= false ;
15363 PyObject
* obj0
= 0 ;
15364 PyObject
* obj1
= 0 ;
15365 PyObject
* obj2
= 0 ;
15366 PyObject
* obj3
= 0 ;
15367 PyObject
* obj4
= 0 ;
15368 PyObject
* obj5
= 0 ;
15369 char * kwnames
[] = {
15370 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
15373 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_HtmlListBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
15374 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
15375 if (!SWIG_IsOK(res1
)) {
15376 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_HtmlListBox" "', expected argument " "1"" of type '" "wxWindow *""'");
15378 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
15380 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15381 if (!SWIG_IsOK(ecode2
)) {
15382 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_HtmlListBox" "', expected argument " "2"" of type '" "int""'");
15384 arg2
= static_cast< int >(val2
);
15389 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
15395 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
15399 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
15400 if (!SWIG_IsOK(ecode5
)) {
15401 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_HtmlListBox" "', expected argument " "5"" of type '" "long""'");
15403 arg5
= static_cast< long >(val5
);
15407 arg6
= wxString_in_helper(obj5
);
15408 if (arg6
== NULL
) SWIG_fail
;
15413 if (!wxPyCheckForApp()) SWIG_fail
;
15414 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15415 result
= (wxPyHtmlListBox
*)new wxPyHtmlListBox(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
15416 wxPyEndAllowThreads(__tstate
);
15417 if (PyErr_Occurred()) SWIG_fail
;
15419 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyHtmlListBox
, SWIG_POINTER_NEW
| 0 );
15434 SWIGINTERN PyObject
*_wrap_new_PreHtmlListBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15435 PyObject
*resultobj
= 0;
15436 wxPyHtmlListBox
*result
= 0 ;
15438 if (!SWIG_Python_UnpackTuple(args
,"new_PreHtmlListBox",0,0,0)) SWIG_fail
;
15440 if (!wxPyCheckForApp()) SWIG_fail
;
15441 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15442 result
= (wxPyHtmlListBox
*)new wxPyHtmlListBox();
15443 wxPyEndAllowThreads(__tstate
);
15444 if (PyErr_Occurred()) SWIG_fail
;
15446 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyHtmlListBox
, SWIG_POINTER_OWN
| 0 );
15453 SWIGINTERN PyObject
*_wrap_HtmlListBox__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15454 PyObject
*resultobj
= 0;
15455 wxPyHtmlListBox
*arg1
= (wxPyHtmlListBox
*) 0 ;
15456 PyObject
*arg2
= (PyObject
*) 0 ;
15457 PyObject
*arg3
= (PyObject
*) 0 ;
15460 PyObject
* obj0
= 0 ;
15461 PyObject
* obj1
= 0 ;
15462 PyObject
* obj2
= 0 ;
15463 char * kwnames
[] = {
15464 (char *) "self",(char *) "self",(char *) "_class", NULL
15467 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:HtmlListBox__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
15468 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyHtmlListBox
, 0 | 0 );
15469 if (!SWIG_IsOK(res1
)) {
15470 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlListBox__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyHtmlListBox *""'");
15472 arg1
= reinterpret_cast< wxPyHtmlListBox
* >(argp1
);
15476 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15477 (arg1
)->_setCallbackInfo(arg2
,arg3
);
15478 wxPyEndAllowThreads(__tstate
);
15479 if (PyErr_Occurred()) SWIG_fail
;
15481 resultobj
= SWIG_Py_Void();
15488 SWIGINTERN PyObject
*_wrap_HtmlListBox_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15489 PyObject
*resultobj
= 0;
15490 wxPyHtmlListBox
*arg1
= (wxPyHtmlListBox
*) 0 ;
15491 wxWindow
*arg2
= (wxWindow
*) 0 ;
15492 int arg3
= (int) wxID_ANY
;
15493 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
15494 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
15495 wxSize
const &arg5_defvalue
= wxDefaultSize
;
15496 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
15497 long arg6
= (long) 0 ;
15498 wxString
const &arg7_defvalue
= wxPyVListBoxNameStr
;
15499 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
15511 bool temp7
= false ;
15512 PyObject
* obj0
= 0 ;
15513 PyObject
* obj1
= 0 ;
15514 PyObject
* obj2
= 0 ;
15515 PyObject
* obj3
= 0 ;
15516 PyObject
* obj4
= 0 ;
15517 PyObject
* obj5
= 0 ;
15518 PyObject
* obj6
= 0 ;
15519 char * kwnames
[] = {
15520 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
15523 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:HtmlListBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
15524 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyHtmlListBox
, 0 | 0 );
15525 if (!SWIG_IsOK(res1
)) {
15526 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlListBox_Create" "', expected argument " "1"" of type '" "wxPyHtmlListBox *""'");
15528 arg1
= reinterpret_cast< wxPyHtmlListBox
* >(argp1
);
15529 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
15530 if (!SWIG_IsOK(res2
)) {
15531 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "HtmlListBox_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
15533 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
15535 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
15536 if (!SWIG_IsOK(ecode3
)) {
15537 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "HtmlListBox_Create" "', expected argument " "3"" of type '" "int""'");
15539 arg3
= static_cast< int >(val3
);
15544 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
15550 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
15554 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
15555 if (!SWIG_IsOK(ecode6
)) {
15556 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "HtmlListBox_Create" "', expected argument " "6"" of type '" "long""'");
15558 arg6
= static_cast< long >(val6
);
15562 arg7
= wxString_in_helper(obj6
);
15563 if (arg7
== NULL
) SWIG_fail
;
15568 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15569 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
15570 wxPyEndAllowThreads(__tstate
);
15571 if (PyErr_Occurred()) SWIG_fail
;
15574 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15590 SWIGINTERN PyObject
*_wrap_HtmlListBox_SetItemCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15591 PyObject
*resultobj
= 0;
15592 wxPyHtmlListBox
*arg1
= (wxPyHtmlListBox
*) 0 ;
15598 PyObject
* obj0
= 0 ;
15599 PyObject
* obj1
= 0 ;
15600 char * kwnames
[] = {
15601 (char *) "self",(char *) "count", NULL
15604 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlListBox_SetItemCount",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15605 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyHtmlListBox
, 0 | 0 );
15606 if (!SWIG_IsOK(res1
)) {
15607 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlListBox_SetItemCount" "', expected argument " "1"" of type '" "wxPyHtmlListBox *""'");
15609 arg1
= reinterpret_cast< wxPyHtmlListBox
* >(argp1
);
15610 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
15611 if (!SWIG_IsOK(ecode2
)) {
15612 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "HtmlListBox_SetItemCount" "', expected argument " "2"" of type '" "size_t""'");
15614 arg2
= static_cast< size_t >(val2
);
15616 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15617 (arg1
)->SetItemCount(arg2
);
15618 wxPyEndAllowThreads(__tstate
);
15619 if (PyErr_Occurred()) SWIG_fail
;
15621 resultobj
= SWIG_Py_Void();
15628 SWIGINTERN PyObject
*_wrap_HtmlListBox_GetFileSystem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15629 PyObject
*resultobj
= 0;
15630 wxPyHtmlListBox
*arg1
= (wxPyHtmlListBox
*) 0 ;
15631 wxFileSystem
*result
= 0 ;
15634 PyObject
*swig_obj
[1] ;
15636 if (!args
) SWIG_fail
;
15637 swig_obj
[0] = args
;
15638 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyHtmlListBox
, 0 | 0 );
15639 if (!SWIG_IsOK(res1
)) {
15640 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlListBox_GetFileSystem" "', expected argument " "1"" of type '" "wxPyHtmlListBox *""'");
15642 arg1
= reinterpret_cast< wxPyHtmlListBox
* >(argp1
);
15644 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15646 wxFileSystem
&_result_ref
= (arg1
)->GetFileSystem();
15647 result
= (wxFileSystem
*) &_result_ref
;
15649 wxPyEndAllowThreads(__tstate
);
15650 if (PyErr_Occurred()) SWIG_fail
;
15652 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFileSystem
, 0 | 0 );
15659 SWIGINTERN PyObject
*HtmlListBox_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15661 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
15662 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyHtmlListBox
, SWIG_NewClientData(obj
));
15663 return SWIG_Py_Void();
15666 SWIGINTERN PyObject
*HtmlListBox_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15667 return SWIG_Python_InitShadowInstance(args
);
15670 SWIGINTERN PyObject
*_wrap_new_TaskBarIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15671 PyObject
*resultobj
= 0;
15672 wxPyTaskBarIcon
*result
= 0 ;
15674 if (!SWIG_Python_UnpackTuple(args
,"new_TaskBarIcon",0,0,0)) SWIG_fail
;
15676 if (!wxPyCheckForApp()) SWIG_fail
;
15677 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15678 result
= (wxPyTaskBarIcon
*)new wxPyTaskBarIcon();
15679 wxPyEndAllowThreads(__tstate
);
15680 if (PyErr_Occurred()) SWIG_fail
;
15682 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyTaskBarIcon
, SWIG_POINTER_NEW
| 0 );
15689 SWIGINTERN PyObject
*_wrap_delete_TaskBarIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15690 PyObject
*resultobj
= 0;
15691 wxPyTaskBarIcon
*arg1
= (wxPyTaskBarIcon
*) 0 ;
15694 PyObject
*swig_obj
[1] ;
15696 if (!args
) SWIG_fail
;
15697 swig_obj
[0] = args
;
15698 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTaskBarIcon
, SWIG_POINTER_DISOWN
| 0 );
15699 if (!SWIG_IsOK(res1
)) {
15700 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_TaskBarIcon" "', expected argument " "1"" of type '" "wxPyTaskBarIcon *""'");
15702 arg1
= reinterpret_cast< wxPyTaskBarIcon
* >(argp1
);
15704 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15707 wxPyEndAllowThreads(__tstate
);
15708 if (PyErr_Occurred()) SWIG_fail
;
15710 resultobj
= SWIG_Py_Void();
15717 SWIGINTERN PyObject
*_wrap_TaskBarIcon__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15718 PyObject
*resultobj
= 0;
15719 wxPyTaskBarIcon
*arg1
= (wxPyTaskBarIcon
*) 0 ;
15720 PyObject
*arg2
= (PyObject
*) 0 ;
15721 PyObject
*arg3
= (PyObject
*) 0 ;
15727 PyObject
* obj0
= 0 ;
15728 PyObject
* obj1
= 0 ;
15729 PyObject
* obj2
= 0 ;
15730 PyObject
* obj3
= 0 ;
15731 char * kwnames
[] = {
15732 (char *) "self",(char *) "self",(char *) "_class",(char *) "incref", NULL
15735 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:TaskBarIcon__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
15736 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTaskBarIcon
, 0 | 0 );
15737 if (!SWIG_IsOK(res1
)) {
15738 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TaskBarIcon__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyTaskBarIcon *""'");
15740 arg1
= reinterpret_cast< wxPyTaskBarIcon
* >(argp1
);
15743 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
15744 if (!SWIG_IsOK(ecode4
)) {
15745 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "TaskBarIcon__setCallbackInfo" "', expected argument " "4"" of type '" "int""'");
15747 arg4
= static_cast< int >(val4
);
15749 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15750 (arg1
)->_setCallbackInfo(arg2
,arg3
,arg4
);
15751 wxPyEndAllowThreads(__tstate
);
15752 if (PyErr_Occurred()) SWIG_fail
;
15754 resultobj
= SWIG_Py_Void();
15761 SWIGINTERN PyObject
*_wrap_TaskBarIcon_Destroy(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15762 PyObject
*resultobj
= 0;
15763 wxPyTaskBarIcon
*arg1
= (wxPyTaskBarIcon
*) 0 ;
15766 PyObject
*swig_obj
[1] ;
15768 if (!args
) SWIG_fail
;
15769 swig_obj
[0] = args
;
15770 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTaskBarIcon
, 0 | 0 );
15771 if (!SWIG_IsOK(res1
)) {
15772 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TaskBarIcon_Destroy" "', expected argument " "1"" of type '" "wxPyTaskBarIcon *""'");
15774 arg1
= reinterpret_cast< wxPyTaskBarIcon
* >(argp1
);
15776 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15777 wxPyTaskBarIcon_Destroy(arg1
);
15778 wxPyEndAllowThreads(__tstate
);
15779 if (PyErr_Occurred()) SWIG_fail
;
15781 resultobj
= SWIG_Py_Void();
15788 SWIGINTERN PyObject
*_wrap_TaskBarIcon_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15789 PyObject
*resultobj
= 0;
15790 wxPyTaskBarIcon
*arg1
= (wxPyTaskBarIcon
*) 0 ;
15794 PyObject
*swig_obj
[1] ;
15796 if (!args
) SWIG_fail
;
15797 swig_obj
[0] = args
;
15798 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTaskBarIcon
, 0 | 0 );
15799 if (!SWIG_IsOK(res1
)) {
15800 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TaskBarIcon_IsOk" "', expected argument " "1"" of type '" "wxPyTaskBarIcon const *""'");
15802 arg1
= reinterpret_cast< wxPyTaskBarIcon
* >(argp1
);
15804 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15805 result
= (bool)((wxPyTaskBarIcon
const *)arg1
)->IsOk();
15806 wxPyEndAllowThreads(__tstate
);
15807 if (PyErr_Occurred()) SWIG_fail
;
15810 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15818 SWIGINTERN PyObject
*_wrap_TaskBarIcon_IsIconInstalled(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15819 PyObject
*resultobj
= 0;
15820 wxPyTaskBarIcon
*arg1
= (wxPyTaskBarIcon
*) 0 ;
15824 PyObject
*swig_obj
[1] ;
15826 if (!args
) SWIG_fail
;
15827 swig_obj
[0] = args
;
15828 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTaskBarIcon
, 0 | 0 );
15829 if (!SWIG_IsOK(res1
)) {
15830 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TaskBarIcon_IsIconInstalled" "', expected argument " "1"" of type '" "wxPyTaskBarIcon const *""'");
15832 arg1
= reinterpret_cast< wxPyTaskBarIcon
* >(argp1
);
15834 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15835 result
= (bool)((wxPyTaskBarIcon
const *)arg1
)->IsIconInstalled();
15836 wxPyEndAllowThreads(__tstate
);
15837 if (PyErr_Occurred()) SWIG_fail
;
15840 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15848 SWIGINTERN PyObject
*_wrap_TaskBarIcon_SetIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15849 PyObject
*resultobj
= 0;
15850 wxPyTaskBarIcon
*arg1
= (wxPyTaskBarIcon
*) 0 ;
15852 wxString
const &arg3_defvalue
= wxPyEmptyString
;
15853 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
15859 bool temp3
= false ;
15860 PyObject
* obj0
= 0 ;
15861 PyObject
* obj1
= 0 ;
15862 PyObject
* obj2
= 0 ;
15863 char * kwnames
[] = {
15864 (char *) "self",(char *) "icon",(char *) "tooltip", NULL
15867 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TaskBarIcon_SetIcon",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
15868 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTaskBarIcon
, 0 | 0 );
15869 if (!SWIG_IsOK(res1
)) {
15870 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TaskBarIcon_SetIcon" "', expected argument " "1"" of type '" "wxPyTaskBarIcon *""'");
15872 arg1
= reinterpret_cast< wxPyTaskBarIcon
* >(argp1
);
15873 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxIcon
, 0 | 0);
15874 if (!SWIG_IsOK(res2
)) {
15875 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TaskBarIcon_SetIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
15878 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TaskBarIcon_SetIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
15880 arg2
= reinterpret_cast< wxIcon
* >(argp2
);
15883 arg3
= wxString_in_helper(obj2
);
15884 if (arg3
== NULL
) SWIG_fail
;
15889 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15890 result
= (bool)(arg1
)->SetIcon((wxIcon
const &)*arg2
,(wxString
const &)*arg3
);
15891 wxPyEndAllowThreads(__tstate
);
15892 if (PyErr_Occurred()) SWIG_fail
;
15895 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15911 SWIGINTERN PyObject
*_wrap_TaskBarIcon_RemoveIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15912 PyObject
*resultobj
= 0;
15913 wxPyTaskBarIcon
*arg1
= (wxPyTaskBarIcon
*) 0 ;
15917 PyObject
*swig_obj
[1] ;
15919 if (!args
) SWIG_fail
;
15920 swig_obj
[0] = args
;
15921 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTaskBarIcon
, 0 | 0 );
15922 if (!SWIG_IsOK(res1
)) {
15923 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TaskBarIcon_RemoveIcon" "', expected argument " "1"" of type '" "wxPyTaskBarIcon *""'");
15925 arg1
= reinterpret_cast< wxPyTaskBarIcon
* >(argp1
);
15927 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15928 result
= (bool)(arg1
)->RemoveIcon();
15929 wxPyEndAllowThreads(__tstate
);
15930 if (PyErr_Occurred()) SWIG_fail
;
15933 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15941 SWIGINTERN PyObject
*_wrap_TaskBarIcon_PopupMenu(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15942 PyObject
*resultobj
= 0;
15943 wxPyTaskBarIcon
*arg1
= (wxPyTaskBarIcon
*) 0 ;
15944 wxMenu
*arg2
= (wxMenu
*) 0 ;
15950 PyObject
* obj0
= 0 ;
15951 PyObject
* obj1
= 0 ;
15952 char * kwnames
[] = {
15953 (char *) "self",(char *) "menu", NULL
15956 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TaskBarIcon_PopupMenu",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15957 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTaskBarIcon
, 0 | 0 );
15958 if (!SWIG_IsOK(res1
)) {
15959 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TaskBarIcon_PopupMenu" "', expected argument " "1"" of type '" "wxPyTaskBarIcon *""'");
15961 arg1
= reinterpret_cast< wxPyTaskBarIcon
* >(argp1
);
15962 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxMenu
, 0 | 0 );
15963 if (!SWIG_IsOK(res2
)) {
15964 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TaskBarIcon_PopupMenu" "', expected argument " "2"" of type '" "wxMenu *""'");
15966 arg2
= reinterpret_cast< wxMenu
* >(argp2
);
15968 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15969 result
= (bool)(arg1
)->PopupMenu(arg2
);
15970 wxPyEndAllowThreads(__tstate
);
15971 if (PyErr_Occurred()) SWIG_fail
;
15974 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15982 SWIGINTERN PyObject
*TaskBarIcon_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15984 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
15985 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyTaskBarIcon
, SWIG_NewClientData(obj
));
15986 return SWIG_Py_Void();
15989 SWIGINTERN PyObject
*TaskBarIcon_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15990 return SWIG_Python_InitShadowInstance(args
);
15993 SWIGINTERN PyObject
*_wrap_new_TaskBarIconEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15994 PyObject
*resultobj
= 0;
15996 wxTaskBarIcon
*arg2
= (wxTaskBarIcon
*) 0 ;
15997 wxTaskBarIconEvent
*result
= 0 ;
16002 PyObject
* obj0
= 0 ;
16003 PyObject
* obj1
= 0 ;
16004 char * kwnames
[] = {
16005 (char *) "evtType",(char *) "tbIcon", NULL
16008 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_TaskBarIconEvent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16009 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
16010 if (!SWIG_IsOK(ecode1
)) {
16011 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_TaskBarIconEvent" "', expected argument " "1"" of type '" "wxEventType""'");
16013 arg1
= static_cast< wxEventType
>(val1
);
16014 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxTaskBarIcon
, 0 | 0 );
16015 if (!SWIG_IsOK(res2
)) {
16016 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_TaskBarIconEvent" "', expected argument " "2"" of type '" "wxTaskBarIcon *""'");
16018 arg2
= reinterpret_cast< wxTaskBarIcon
* >(argp2
);
16020 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16021 result
= (wxTaskBarIconEvent
*)new wxTaskBarIconEvent(arg1
,arg2
);
16022 wxPyEndAllowThreads(__tstate
);
16023 if (PyErr_Occurred()) SWIG_fail
;
16025 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTaskBarIconEvent
, SWIG_POINTER_NEW
| 0 );
16032 SWIGINTERN PyObject
*TaskBarIconEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16034 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
16035 SWIG_TypeNewClientData(SWIGTYPE_p_wxTaskBarIconEvent
, SWIG_NewClientData(obj
));
16036 return SWIG_Py_Void();
16039 SWIGINTERN PyObject
*TaskBarIconEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16040 return SWIG_Python_InitShadowInstance(args
);
16043 SWIGINTERN
int FileSelectorPromptStr_set(PyObject
*) {
16044 SWIG_Error(SWIG_AttributeError
,"Variable FileSelectorPromptStr is read-only.");
16049 SWIGINTERN PyObject
*FileSelectorPromptStr_get(void) {
16050 PyObject
*pyobj
= 0;
16054 pyobj
= PyUnicode_FromWideChar((&wxPyFileSelectorPromptStr
)->c_str(), (&wxPyFileSelectorPromptStr
)->Len());
16056 pyobj
= PyString_FromStringAndSize((&wxPyFileSelectorPromptStr
)->c_str(), (&wxPyFileSelectorPromptStr
)->Len());
16063 SWIGINTERN
int DirSelectorPromptStr_set(PyObject
*) {
16064 SWIG_Error(SWIG_AttributeError
,"Variable DirSelectorPromptStr is read-only.");
16069 SWIGINTERN PyObject
*DirSelectorPromptStr_get(void) {
16070 PyObject
*pyobj
= 0;
16074 pyobj
= PyUnicode_FromWideChar((&wxPyDirSelectorPromptStr
)->c_str(), (&wxPyDirSelectorPromptStr
)->Len());
16076 pyobj
= PyString_FromStringAndSize((&wxPyDirSelectorPromptStr
)->c_str(), (&wxPyDirSelectorPromptStr
)->Len());
16083 SWIGINTERN
int DirDialogNameStr_set(PyObject
*) {
16084 SWIG_Error(SWIG_AttributeError
,"Variable DirDialogNameStr is read-only.");
16089 SWIGINTERN PyObject
*DirDialogNameStr_get(void) {
16090 PyObject
*pyobj
= 0;
16094 pyobj
= PyUnicode_FromWideChar((&wxPyDirDialogNameStr
)->c_str(), (&wxPyDirDialogNameStr
)->Len());
16096 pyobj
= PyString_FromStringAndSize((&wxPyDirDialogNameStr
)->c_str(), (&wxPyDirDialogNameStr
)->Len());
16103 SWIGINTERN
int FileSelectorDefaultWildcardStr_set(PyObject
*) {
16104 SWIG_Error(SWIG_AttributeError
,"Variable FileSelectorDefaultWildcardStr is read-only.");
16109 SWIGINTERN PyObject
*FileSelectorDefaultWildcardStr_get(void) {
16110 PyObject
*pyobj
= 0;
16114 pyobj
= PyUnicode_FromWideChar((&wxPyFileSelectorDefaultWildcardStr
)->c_str(), (&wxPyFileSelectorDefaultWildcardStr
)->Len());
16116 pyobj
= PyString_FromStringAndSize((&wxPyFileSelectorDefaultWildcardStr
)->c_str(), (&wxPyFileSelectorDefaultWildcardStr
)->Len());
16123 SWIGINTERN
int GetTextFromUserPromptStr_set(PyObject
*) {
16124 SWIG_Error(SWIG_AttributeError
,"Variable GetTextFromUserPromptStr is read-only.");
16129 SWIGINTERN PyObject
*GetTextFromUserPromptStr_get(void) {
16130 PyObject
*pyobj
= 0;
16134 pyobj
= PyUnicode_FromWideChar((&wxPyGetTextFromUserPromptStr
)->c_str(), (&wxPyGetTextFromUserPromptStr
)->Len());
16136 pyobj
= PyString_FromStringAndSize((&wxPyGetTextFromUserPromptStr
)->c_str(), (&wxPyGetTextFromUserPromptStr
)->Len());
16143 SWIGINTERN
int MessageBoxCaptionStr_set(PyObject
*) {
16144 SWIG_Error(SWIG_AttributeError
,"Variable MessageBoxCaptionStr is read-only.");
16149 SWIGINTERN PyObject
*MessageBoxCaptionStr_get(void) {
16150 PyObject
*pyobj
= 0;
16154 pyobj
= PyUnicode_FromWideChar((&wxPyMessageBoxCaptionStr
)->c_str(), (&wxPyMessageBoxCaptionStr
)->Len());
16156 pyobj
= PyString_FromStringAndSize((&wxPyMessageBoxCaptionStr
)->c_str(), (&wxPyMessageBoxCaptionStr
)->Len());
16163 SWIGINTERN PyObject
*_wrap_new_ColourData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16164 PyObject
*resultobj
= 0;
16165 wxColourData
*result
= 0 ;
16167 if (!SWIG_Python_UnpackTuple(args
,"new_ColourData",0,0,0)) SWIG_fail
;
16169 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16170 result
= (wxColourData
*)new wxColourData();
16171 wxPyEndAllowThreads(__tstate
);
16172 if (PyErr_Occurred()) SWIG_fail
;
16174 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColourData
, SWIG_POINTER_NEW
| 0 );
16181 SWIGINTERN PyObject
*_wrap_delete_ColourData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16182 PyObject
*resultobj
= 0;
16183 wxColourData
*arg1
= (wxColourData
*) 0 ;
16186 PyObject
*swig_obj
[1] ;
16188 if (!args
) SWIG_fail
;
16189 swig_obj
[0] = args
;
16190 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxColourData
, SWIG_POINTER_DISOWN
| 0 );
16191 if (!SWIG_IsOK(res1
)) {
16192 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_ColourData" "', expected argument " "1"" of type '" "wxColourData *""'");
16194 arg1
= reinterpret_cast< wxColourData
* >(argp1
);
16196 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16199 wxPyEndAllowThreads(__tstate
);
16200 if (PyErr_Occurred()) SWIG_fail
;
16202 resultobj
= SWIG_Py_Void();
16209 SWIGINTERN PyObject
*_wrap_ColourData_GetChooseFull(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16210 PyObject
*resultobj
= 0;
16211 wxColourData
*arg1
= (wxColourData
*) 0 ;
16215 PyObject
*swig_obj
[1] ;
16217 if (!args
) SWIG_fail
;
16218 swig_obj
[0] = args
;
16219 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxColourData
, 0 | 0 );
16220 if (!SWIG_IsOK(res1
)) {
16221 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ColourData_GetChooseFull" "', expected argument " "1"" of type '" "wxColourData *""'");
16223 arg1
= reinterpret_cast< wxColourData
* >(argp1
);
16225 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16226 result
= (bool)(arg1
)->GetChooseFull();
16227 wxPyEndAllowThreads(__tstate
);
16228 if (PyErr_Occurred()) SWIG_fail
;
16231 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16239 SWIGINTERN PyObject
*_wrap_ColourData_GetColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16240 PyObject
*resultobj
= 0;
16241 wxColourData
*arg1
= (wxColourData
*) 0 ;
16245 PyObject
*swig_obj
[1] ;
16247 if (!args
) SWIG_fail
;
16248 swig_obj
[0] = args
;
16249 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxColourData
, 0 | 0 );
16250 if (!SWIG_IsOK(res1
)) {
16251 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ColourData_GetColour" "', expected argument " "1"" of type '" "wxColourData *""'");
16253 arg1
= reinterpret_cast< wxColourData
* >(argp1
);
16255 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16256 result
= (arg1
)->GetColour();
16257 wxPyEndAllowThreads(__tstate
);
16258 if (PyErr_Occurred()) SWIG_fail
;
16260 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
16267 SWIGINTERN PyObject
*_wrap_ColourData_GetCustomColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16268 PyObject
*resultobj
= 0;
16269 wxColourData
*arg1
= (wxColourData
*) 0 ;
16276 PyObject
* obj0
= 0 ;
16277 PyObject
* obj1
= 0 ;
16278 char * kwnames
[] = {
16279 (char *) "self",(char *) "i", NULL
16282 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ColourData_GetCustomColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16283 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColourData
, 0 | 0 );
16284 if (!SWIG_IsOK(res1
)) {
16285 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ColourData_GetCustomColour" "', expected argument " "1"" of type '" "wxColourData *""'");
16287 arg1
= reinterpret_cast< wxColourData
* >(argp1
);
16288 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
16289 if (!SWIG_IsOK(ecode2
)) {
16290 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ColourData_GetCustomColour" "', expected argument " "2"" of type '" "int""'");
16292 arg2
= static_cast< int >(val2
);
16294 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16295 result
= (arg1
)->GetCustomColour(arg2
);
16296 wxPyEndAllowThreads(__tstate
);
16297 if (PyErr_Occurred()) SWIG_fail
;
16299 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
16306 SWIGINTERN PyObject
*_wrap_ColourData_SetChooseFull(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16307 PyObject
*resultobj
= 0;
16308 wxColourData
*arg1
= (wxColourData
*) 0 ;
16314 PyObject
* obj0
= 0 ;
16315 PyObject
* obj1
= 0 ;
16316 char * kwnames
[] = {
16317 (char *) "self",(char *) "flag", NULL
16320 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ColourData_SetChooseFull",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16321 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColourData
, 0 | 0 );
16322 if (!SWIG_IsOK(res1
)) {
16323 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ColourData_SetChooseFull" "', expected argument " "1"" of type '" "wxColourData *""'");
16325 arg1
= reinterpret_cast< wxColourData
* >(argp1
);
16326 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
16327 if (!SWIG_IsOK(ecode2
)) {
16328 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ColourData_SetChooseFull" "', expected argument " "2"" of type '" "int""'");
16330 arg2
= static_cast< int >(val2
);
16332 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16333 (arg1
)->SetChooseFull(arg2
);
16334 wxPyEndAllowThreads(__tstate
);
16335 if (PyErr_Occurred()) SWIG_fail
;
16337 resultobj
= SWIG_Py_Void();
16344 SWIGINTERN PyObject
*_wrap_ColourData_SetColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16345 PyObject
*resultobj
= 0;
16346 wxColourData
*arg1
= (wxColourData
*) 0 ;
16347 wxColour
*arg2
= 0 ;
16351 PyObject
* obj0
= 0 ;
16352 PyObject
* obj1
= 0 ;
16353 char * kwnames
[] = {
16354 (char *) "self",(char *) "colour", NULL
16357 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ColourData_SetColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16358 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColourData
, 0 | 0 );
16359 if (!SWIG_IsOK(res1
)) {
16360 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ColourData_SetColour" "', expected argument " "1"" of type '" "wxColourData *""'");
16362 arg1
= reinterpret_cast< wxColourData
* >(argp1
);
16365 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
16368 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16369 (arg1
)->SetColour((wxColour
const &)*arg2
);
16370 wxPyEndAllowThreads(__tstate
);
16371 if (PyErr_Occurred()) SWIG_fail
;
16373 resultobj
= SWIG_Py_Void();
16380 SWIGINTERN PyObject
*_wrap_ColourData_SetCustomColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16381 PyObject
*resultobj
= 0;
16382 wxColourData
*arg1
= (wxColourData
*) 0 ;
16384 wxColour
*arg3
= 0 ;
16390 PyObject
* obj0
= 0 ;
16391 PyObject
* obj1
= 0 ;
16392 PyObject
* obj2
= 0 ;
16393 char * kwnames
[] = {
16394 (char *) "self",(char *) "i",(char *) "colour", NULL
16397 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ColourData_SetCustomColour",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
16398 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColourData
, 0 | 0 );
16399 if (!SWIG_IsOK(res1
)) {
16400 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ColourData_SetCustomColour" "', expected argument " "1"" of type '" "wxColourData *""'");
16402 arg1
= reinterpret_cast< wxColourData
* >(argp1
);
16403 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
16404 if (!SWIG_IsOK(ecode2
)) {
16405 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ColourData_SetCustomColour" "', expected argument " "2"" of type '" "int""'");
16407 arg2
= static_cast< int >(val2
);
16410 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
16413 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16414 (arg1
)->SetCustomColour(arg2
,(wxColour
const &)*arg3
);
16415 wxPyEndAllowThreads(__tstate
);
16416 if (PyErr_Occurred()) SWIG_fail
;
16418 resultobj
= SWIG_Py_Void();
16425 SWIGINTERN PyObject
*ColourData_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16427 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
16428 SWIG_TypeNewClientData(SWIGTYPE_p_wxColourData
, SWIG_NewClientData(obj
));
16429 return SWIG_Py_Void();
16432 SWIGINTERN PyObject
*ColourData_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16433 return SWIG_Python_InitShadowInstance(args
);
16436 SWIGINTERN PyObject
*_wrap_new_ColourDialog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16437 PyObject
*resultobj
= 0;
16438 wxWindow
*arg1
= (wxWindow
*) 0 ;
16439 wxColourData
*arg2
= (wxColourData
*) NULL
;
16440 wxColourDialog
*result
= 0 ;
16445 PyObject
* obj0
= 0 ;
16446 PyObject
* obj1
= 0 ;
16447 char * kwnames
[] = {
16448 (char *) "parent",(char *) "data", NULL
16451 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_ColourDialog",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16452 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
16453 if (!SWIG_IsOK(res1
)) {
16454 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_ColourDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
16456 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
16458 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxColourData
, 0 | 0 );
16459 if (!SWIG_IsOK(res2
)) {
16460 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_ColourDialog" "', expected argument " "2"" of type '" "wxColourData *""'");
16462 arg2
= reinterpret_cast< wxColourData
* >(argp2
);
16465 if (!wxPyCheckForApp()) SWIG_fail
;
16466 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16467 result
= (wxColourDialog
*)new wxColourDialog(arg1
,arg2
);
16468 wxPyEndAllowThreads(__tstate
);
16469 if (PyErr_Occurred()) SWIG_fail
;
16471 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColourDialog
, SWIG_POINTER_NEW
| 0 );
16478 SWIGINTERN PyObject
*_wrap_ColourDialog_GetColourData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16479 PyObject
*resultobj
= 0;
16480 wxColourDialog
*arg1
= (wxColourDialog
*) 0 ;
16481 wxColourData
*result
= 0 ;
16484 PyObject
*swig_obj
[1] ;
16486 if (!args
) SWIG_fail
;
16487 swig_obj
[0] = args
;
16488 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxColourDialog
, 0 | 0 );
16489 if (!SWIG_IsOK(res1
)) {
16490 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ColourDialog_GetColourData" "', expected argument " "1"" of type '" "wxColourDialog *""'");
16492 arg1
= reinterpret_cast< wxColourDialog
* >(argp1
);
16494 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16496 wxColourData
&_result_ref
= (arg1
)->GetColourData();
16497 result
= (wxColourData
*) &_result_ref
;
16499 wxPyEndAllowThreads(__tstate
);
16500 if (PyErr_Occurred()) SWIG_fail
;
16502 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColourData
, 0 | 0 );
16509 SWIGINTERN PyObject
*ColourDialog_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16511 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
16512 SWIG_TypeNewClientData(SWIGTYPE_p_wxColourDialog
, SWIG_NewClientData(obj
));
16513 return SWIG_Py_Void();
16516 SWIGINTERN PyObject
*ColourDialog_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16517 return SWIG_Python_InitShadowInstance(args
);
16520 SWIGINTERN PyObject
*_wrap_GetColourFromUser(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16521 PyObject
*resultobj
= 0;
16522 wxWindow
*arg1
= (wxWindow
*) (wxWindow
*) NULL
;
16523 wxColour
const &arg2_defvalue
= wxNullColour
;
16524 wxColour
*arg2
= (wxColour
*) &arg2_defvalue
;
16525 wxString
const &arg3_defvalue
= wxPyEmptyString
;
16526 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
16531 bool temp3
= false ;
16532 PyObject
* obj0
= 0 ;
16533 PyObject
* obj1
= 0 ;
16534 PyObject
* obj2
= 0 ;
16535 char * kwnames
[] = {
16536 (char *) "parent",(char *) "colInit",(char *) "caption", NULL
16539 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:GetColourFromUser",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
16541 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
16542 if (!SWIG_IsOK(res1
)) {
16543 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GetColourFromUser" "', expected argument " "1"" of type '" "wxWindow *""'");
16545 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
16550 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
16555 arg3
= wxString_in_helper(obj2
);
16556 if (arg3
== NULL
) SWIG_fail
;
16561 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16562 result
= wxGetColourFromUser(arg1
,(wxColour
const &)*arg2
,(wxString
const &)*arg3
);
16563 wxPyEndAllowThreads(__tstate
);
16564 if (PyErr_Occurred()) SWIG_fail
;
16566 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
16581 SWIGINTERN PyObject
*_wrap_new_DirDialog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16582 PyObject
*resultobj
= 0;
16583 wxWindow
*arg1
= (wxWindow
*) 0 ;
16584 wxString
const &arg2_defvalue
= wxPyDirSelectorPromptStr
;
16585 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
16586 wxString
const &arg3_defvalue
= wxPyEmptyString
;
16587 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
16588 long arg4
= (long) 0 ;
16589 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
16590 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
16591 wxSize
const &arg6_defvalue
= wxDefaultSize
;
16592 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
16593 wxString
const &arg7_defvalue
= wxPyDirDialogNameStr
;
16594 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
16595 wxDirDialog
*result
= 0 ;
16598 bool temp2
= false ;
16599 bool temp3
= false ;
16604 bool temp7
= false ;
16605 PyObject
* obj0
= 0 ;
16606 PyObject
* obj1
= 0 ;
16607 PyObject
* obj2
= 0 ;
16608 PyObject
* obj3
= 0 ;
16609 PyObject
* obj4
= 0 ;
16610 PyObject
* obj5
= 0 ;
16611 PyObject
* obj6
= 0 ;
16612 char * kwnames
[] = {
16613 (char *) "parent",(char *) "message",(char *) "defaultPath",(char *) "style",(char *) "pos",(char *) "size",(char *) "name", NULL
16616 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_DirDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
16617 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
16618 if (!SWIG_IsOK(res1
)) {
16619 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_DirDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
16621 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
16624 arg2
= wxString_in_helper(obj1
);
16625 if (arg2
== NULL
) SWIG_fail
;
16631 arg3
= wxString_in_helper(obj2
);
16632 if (arg3
== NULL
) SWIG_fail
;
16637 ecode4
= SWIG_AsVal_long(obj3
, &val4
);
16638 if (!SWIG_IsOK(ecode4
)) {
16639 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_DirDialog" "', expected argument " "4"" of type '" "long""'");
16641 arg4
= static_cast< long >(val4
);
16646 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
16652 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
16657 arg7
= wxString_in_helper(obj6
);
16658 if (arg7
== NULL
) SWIG_fail
;
16663 if (!wxPyCheckForApp()) SWIG_fail
;
16664 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16665 result
= (wxDirDialog
*)new wxDirDialog(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,(wxString
const &)*arg7
);
16666 wxPyEndAllowThreads(__tstate
);
16667 if (PyErr_Occurred()) SWIG_fail
;
16669 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDirDialog
, SWIG_POINTER_NEW
| 0 );
16700 SWIGINTERN PyObject
*_wrap_DirDialog_GetPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16701 PyObject
*resultobj
= 0;
16702 wxDirDialog
*arg1
= (wxDirDialog
*) 0 ;
16706 PyObject
*swig_obj
[1] ;
16708 if (!args
) SWIG_fail
;
16709 swig_obj
[0] = args
;
16710 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDirDialog
, 0 | 0 );
16711 if (!SWIG_IsOK(res1
)) {
16712 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DirDialog_GetPath" "', expected argument " "1"" of type '" "wxDirDialog *""'");
16714 arg1
= reinterpret_cast< wxDirDialog
* >(argp1
);
16716 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16717 result
= (arg1
)->GetPath();
16718 wxPyEndAllowThreads(__tstate
);
16719 if (PyErr_Occurred()) SWIG_fail
;
16723 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
16725 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
16734 SWIGINTERN PyObject
*_wrap_DirDialog_GetMessage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16735 PyObject
*resultobj
= 0;
16736 wxDirDialog
*arg1
= (wxDirDialog
*) 0 ;
16740 PyObject
*swig_obj
[1] ;
16742 if (!args
) SWIG_fail
;
16743 swig_obj
[0] = args
;
16744 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDirDialog
, 0 | 0 );
16745 if (!SWIG_IsOK(res1
)) {
16746 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DirDialog_GetMessage" "', expected argument " "1"" of type '" "wxDirDialog *""'");
16748 arg1
= reinterpret_cast< wxDirDialog
* >(argp1
);
16750 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16751 result
= (arg1
)->GetMessage();
16752 wxPyEndAllowThreads(__tstate
);
16753 if (PyErr_Occurred()) SWIG_fail
;
16757 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
16759 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
16768 SWIGINTERN PyObject
*_wrap_DirDialog_GetStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16769 PyObject
*resultobj
= 0;
16770 wxDirDialog
*arg1
= (wxDirDialog
*) 0 ;
16774 PyObject
*swig_obj
[1] ;
16776 if (!args
) SWIG_fail
;
16777 swig_obj
[0] = args
;
16778 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDirDialog
, 0 | 0 );
16779 if (!SWIG_IsOK(res1
)) {
16780 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DirDialog_GetStyle" "', expected argument " "1"" of type '" "wxDirDialog *""'");
16782 arg1
= reinterpret_cast< wxDirDialog
* >(argp1
);
16784 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16785 result
= (long)(arg1
)->GetStyle();
16786 wxPyEndAllowThreads(__tstate
);
16787 if (PyErr_Occurred()) SWIG_fail
;
16789 resultobj
= SWIG_From_long(static_cast< long >(result
));
16796 SWIGINTERN PyObject
*_wrap_DirDialog_SetMessage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16797 PyObject
*resultobj
= 0;
16798 wxDirDialog
*arg1
= (wxDirDialog
*) 0 ;
16799 wxString
*arg2
= 0 ;
16802 bool temp2
= false ;
16803 PyObject
* obj0
= 0 ;
16804 PyObject
* obj1
= 0 ;
16805 char * kwnames
[] = {
16806 (char *) "self",(char *) "message", NULL
16809 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DirDialog_SetMessage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16810 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDirDialog
, 0 | 0 );
16811 if (!SWIG_IsOK(res1
)) {
16812 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DirDialog_SetMessage" "', expected argument " "1"" of type '" "wxDirDialog *""'");
16814 arg1
= reinterpret_cast< wxDirDialog
* >(argp1
);
16816 arg2
= wxString_in_helper(obj1
);
16817 if (arg2
== NULL
) SWIG_fail
;
16821 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16822 (arg1
)->SetMessage((wxString
const &)*arg2
);
16823 wxPyEndAllowThreads(__tstate
);
16824 if (PyErr_Occurred()) SWIG_fail
;
16826 resultobj
= SWIG_Py_Void();
16841 SWIGINTERN PyObject
*_wrap_DirDialog_SetPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16842 PyObject
*resultobj
= 0;
16843 wxDirDialog
*arg1
= (wxDirDialog
*) 0 ;
16844 wxString
*arg2
= 0 ;
16847 bool temp2
= false ;
16848 PyObject
* obj0
= 0 ;
16849 PyObject
* obj1
= 0 ;
16850 char * kwnames
[] = {
16851 (char *) "self",(char *) "path", NULL
16854 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DirDialog_SetPath",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16855 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDirDialog
, 0 | 0 );
16856 if (!SWIG_IsOK(res1
)) {
16857 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DirDialog_SetPath" "', expected argument " "1"" of type '" "wxDirDialog *""'");
16859 arg1
= reinterpret_cast< wxDirDialog
* >(argp1
);
16861 arg2
= wxString_in_helper(obj1
);
16862 if (arg2
== NULL
) SWIG_fail
;
16866 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16867 (arg1
)->SetPath((wxString
const &)*arg2
);
16868 wxPyEndAllowThreads(__tstate
);
16869 if (PyErr_Occurred()) SWIG_fail
;
16871 resultobj
= SWIG_Py_Void();
16886 SWIGINTERN PyObject
*DirDialog_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16888 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
16889 SWIG_TypeNewClientData(SWIGTYPE_p_wxDirDialog
, SWIG_NewClientData(obj
));
16890 return SWIG_Py_Void();
16893 SWIGINTERN PyObject
*DirDialog_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16894 return SWIG_Python_InitShadowInstance(args
);
16897 SWIGINTERN PyObject
*_wrap_new_FileDialog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16898 PyObject
*resultobj
= 0;
16899 wxWindow
*arg1
= (wxWindow
*) 0 ;
16900 wxString
const &arg2_defvalue
= wxPyFileSelectorPromptStr
;
16901 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
16902 wxString
const &arg3_defvalue
= wxPyEmptyString
;
16903 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
16904 wxString
const &arg4_defvalue
= wxPyEmptyString
;
16905 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
16906 wxString
const &arg5_defvalue
= wxPyFileSelectorDefaultWildcardStr
;
16907 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
16908 long arg6
= (long) 0 ;
16909 wxPoint
const &arg7_defvalue
= wxDefaultPosition
;
16910 wxPoint
*arg7
= (wxPoint
*) &arg7_defvalue
;
16911 wxFileDialog
*result
= 0 ;
16914 bool temp2
= false ;
16915 bool temp3
= false ;
16916 bool temp4
= false ;
16917 bool temp5
= false ;
16921 PyObject
* obj0
= 0 ;
16922 PyObject
* obj1
= 0 ;
16923 PyObject
* obj2
= 0 ;
16924 PyObject
* obj3
= 0 ;
16925 PyObject
* obj4
= 0 ;
16926 PyObject
* obj5
= 0 ;
16927 PyObject
* obj6
= 0 ;
16928 char * kwnames
[] = {
16929 (char *) "parent",(char *) "message",(char *) "defaultDir",(char *) "defaultFile",(char *) "wildcard",(char *) "style",(char *) "pos", NULL
16932 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_FileDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
16933 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
16934 if (!SWIG_IsOK(res1
)) {
16935 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_FileDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
16937 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
16940 arg2
= wxString_in_helper(obj1
);
16941 if (arg2
== NULL
) SWIG_fail
;
16947 arg3
= wxString_in_helper(obj2
);
16948 if (arg3
== NULL
) SWIG_fail
;
16954 arg4
= wxString_in_helper(obj3
);
16955 if (arg4
== NULL
) SWIG_fail
;
16961 arg5
= wxString_in_helper(obj4
);
16962 if (arg5
== NULL
) SWIG_fail
;
16967 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
16968 if (!SWIG_IsOK(ecode6
)) {
16969 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_FileDialog" "', expected argument " "6"" of type '" "long""'");
16971 arg6
= static_cast< long >(val6
);
16976 if ( ! wxPoint_helper(obj6
, &arg7
)) SWIG_fail
;
16980 if (!wxPyCheckForApp()) SWIG_fail
;
16981 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16982 result
= (wxFileDialog
*)new wxFileDialog(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,(wxString
const &)*arg5
,arg6
,(wxPoint
const &)*arg7
);
16983 wxPyEndAllowThreads(__tstate
);
16984 if (PyErr_Occurred()) SWIG_fail
;
16986 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFileDialog
, SWIG_POINTER_NEW
| 0 );
17025 SWIGINTERN PyObject
*_wrap_FileDialog_SetMessage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17026 PyObject
*resultobj
= 0;
17027 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
17028 wxString
*arg2
= 0 ;
17031 bool temp2
= false ;
17032 PyObject
* obj0
= 0 ;
17033 PyObject
* obj1
= 0 ;
17034 char * kwnames
[] = {
17035 (char *) "self",(char *) "message", NULL
17038 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileDialog_SetMessage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17039 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFileDialog
, 0 | 0 );
17040 if (!SWIG_IsOK(res1
)) {
17041 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileDialog_SetMessage" "', expected argument " "1"" of type '" "wxFileDialog *""'");
17043 arg1
= reinterpret_cast< wxFileDialog
* >(argp1
);
17045 arg2
= wxString_in_helper(obj1
);
17046 if (arg2
== NULL
) SWIG_fail
;
17050 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17051 (arg1
)->SetMessage((wxString
const &)*arg2
);
17052 wxPyEndAllowThreads(__tstate
);
17053 if (PyErr_Occurred()) SWIG_fail
;
17055 resultobj
= SWIG_Py_Void();
17070 SWIGINTERN PyObject
*_wrap_FileDialog_SetPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17071 PyObject
*resultobj
= 0;
17072 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
17073 wxString
*arg2
= 0 ;
17076 bool temp2
= false ;
17077 PyObject
* obj0
= 0 ;
17078 PyObject
* obj1
= 0 ;
17079 char * kwnames
[] = {
17080 (char *) "self",(char *) "path", NULL
17083 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileDialog_SetPath",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17084 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFileDialog
, 0 | 0 );
17085 if (!SWIG_IsOK(res1
)) {
17086 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileDialog_SetPath" "', expected argument " "1"" of type '" "wxFileDialog *""'");
17088 arg1
= reinterpret_cast< wxFileDialog
* >(argp1
);
17090 arg2
= wxString_in_helper(obj1
);
17091 if (arg2
== NULL
) SWIG_fail
;
17095 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17096 (arg1
)->SetPath((wxString
const &)*arg2
);
17097 wxPyEndAllowThreads(__tstate
);
17098 if (PyErr_Occurred()) SWIG_fail
;
17100 resultobj
= SWIG_Py_Void();
17115 SWIGINTERN PyObject
*_wrap_FileDialog_SetDirectory(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17116 PyObject
*resultobj
= 0;
17117 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
17118 wxString
*arg2
= 0 ;
17121 bool temp2
= false ;
17122 PyObject
* obj0
= 0 ;
17123 PyObject
* obj1
= 0 ;
17124 char * kwnames
[] = {
17125 (char *) "self",(char *) "dir", NULL
17128 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileDialog_SetDirectory",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17129 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFileDialog
, 0 | 0 );
17130 if (!SWIG_IsOK(res1
)) {
17131 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileDialog_SetDirectory" "', expected argument " "1"" of type '" "wxFileDialog *""'");
17133 arg1
= reinterpret_cast< wxFileDialog
* >(argp1
);
17135 arg2
= wxString_in_helper(obj1
);
17136 if (arg2
== NULL
) SWIG_fail
;
17140 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17141 (arg1
)->SetDirectory((wxString
const &)*arg2
);
17142 wxPyEndAllowThreads(__tstate
);
17143 if (PyErr_Occurred()) SWIG_fail
;
17145 resultobj
= SWIG_Py_Void();
17160 SWIGINTERN PyObject
*_wrap_FileDialog_SetFilename(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17161 PyObject
*resultobj
= 0;
17162 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
17163 wxString
*arg2
= 0 ;
17166 bool temp2
= false ;
17167 PyObject
* obj0
= 0 ;
17168 PyObject
* obj1
= 0 ;
17169 char * kwnames
[] = {
17170 (char *) "self",(char *) "name", NULL
17173 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileDialog_SetFilename",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17174 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFileDialog
, 0 | 0 );
17175 if (!SWIG_IsOK(res1
)) {
17176 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileDialog_SetFilename" "', expected argument " "1"" of type '" "wxFileDialog *""'");
17178 arg1
= reinterpret_cast< wxFileDialog
* >(argp1
);
17180 arg2
= wxString_in_helper(obj1
);
17181 if (arg2
== NULL
) SWIG_fail
;
17185 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17186 (arg1
)->SetFilename((wxString
const &)*arg2
);
17187 wxPyEndAllowThreads(__tstate
);
17188 if (PyErr_Occurred()) SWIG_fail
;
17190 resultobj
= SWIG_Py_Void();
17205 SWIGINTERN PyObject
*_wrap_FileDialog_SetWildcard(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17206 PyObject
*resultobj
= 0;
17207 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
17208 wxString
*arg2
= 0 ;
17211 bool temp2
= false ;
17212 PyObject
* obj0
= 0 ;
17213 PyObject
* obj1
= 0 ;
17214 char * kwnames
[] = {
17215 (char *) "self",(char *) "wildCard", NULL
17218 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileDialog_SetWildcard",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17219 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFileDialog
, 0 | 0 );
17220 if (!SWIG_IsOK(res1
)) {
17221 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileDialog_SetWildcard" "', expected argument " "1"" of type '" "wxFileDialog *""'");
17223 arg1
= reinterpret_cast< wxFileDialog
* >(argp1
);
17225 arg2
= wxString_in_helper(obj1
);
17226 if (arg2
== NULL
) SWIG_fail
;
17230 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17231 (arg1
)->SetWildcard((wxString
const &)*arg2
);
17232 wxPyEndAllowThreads(__tstate
);
17233 if (PyErr_Occurred()) SWIG_fail
;
17235 resultobj
= SWIG_Py_Void();
17250 SWIGINTERN PyObject
*_wrap_FileDialog_SetStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17251 PyObject
*resultobj
= 0;
17252 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
17258 PyObject
* obj0
= 0 ;
17259 PyObject
* obj1
= 0 ;
17260 char * kwnames
[] = {
17261 (char *) "self",(char *) "style", NULL
17264 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileDialog_SetStyle",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17265 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFileDialog
, 0 | 0 );
17266 if (!SWIG_IsOK(res1
)) {
17267 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileDialog_SetStyle" "', expected argument " "1"" of type '" "wxFileDialog *""'");
17269 arg1
= reinterpret_cast< wxFileDialog
* >(argp1
);
17270 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
17271 if (!SWIG_IsOK(ecode2
)) {
17272 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "FileDialog_SetStyle" "', expected argument " "2"" of type '" "long""'");
17274 arg2
= static_cast< long >(val2
);
17276 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17277 (arg1
)->SetStyle(arg2
);
17278 wxPyEndAllowThreads(__tstate
);
17279 if (PyErr_Occurred()) SWIG_fail
;
17281 resultobj
= SWIG_Py_Void();
17288 SWIGINTERN PyObject
*_wrap_FileDialog_SetFilterIndex(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17289 PyObject
*resultobj
= 0;
17290 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
17296 PyObject
* obj0
= 0 ;
17297 PyObject
* obj1
= 0 ;
17298 char * kwnames
[] = {
17299 (char *) "self",(char *) "filterIndex", NULL
17302 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileDialog_SetFilterIndex",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17303 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFileDialog
, 0 | 0 );
17304 if (!SWIG_IsOK(res1
)) {
17305 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileDialog_SetFilterIndex" "', expected argument " "1"" of type '" "wxFileDialog *""'");
17307 arg1
= reinterpret_cast< wxFileDialog
* >(argp1
);
17308 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
17309 if (!SWIG_IsOK(ecode2
)) {
17310 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "FileDialog_SetFilterIndex" "', expected argument " "2"" of type '" "int""'");
17312 arg2
= static_cast< int >(val2
);
17314 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17315 (arg1
)->SetFilterIndex(arg2
);
17316 wxPyEndAllowThreads(__tstate
);
17317 if (PyErr_Occurred()) SWIG_fail
;
17319 resultobj
= SWIG_Py_Void();
17326 SWIGINTERN PyObject
*_wrap_FileDialog_GetMessage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17327 PyObject
*resultobj
= 0;
17328 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
17332 PyObject
*swig_obj
[1] ;
17334 if (!args
) SWIG_fail
;
17335 swig_obj
[0] = args
;
17336 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFileDialog
, 0 | 0 );
17337 if (!SWIG_IsOK(res1
)) {
17338 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileDialog_GetMessage" "', expected argument " "1"" of type '" "wxFileDialog const *""'");
17340 arg1
= reinterpret_cast< wxFileDialog
* >(argp1
);
17342 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17343 result
= ((wxFileDialog
const *)arg1
)->GetMessage();
17344 wxPyEndAllowThreads(__tstate
);
17345 if (PyErr_Occurred()) SWIG_fail
;
17349 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
17351 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
17360 SWIGINTERN PyObject
*_wrap_FileDialog_GetPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17361 PyObject
*resultobj
= 0;
17362 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
17366 PyObject
*swig_obj
[1] ;
17368 if (!args
) SWIG_fail
;
17369 swig_obj
[0] = args
;
17370 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFileDialog
, 0 | 0 );
17371 if (!SWIG_IsOK(res1
)) {
17372 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileDialog_GetPath" "', expected argument " "1"" of type '" "wxFileDialog const *""'");
17374 arg1
= reinterpret_cast< wxFileDialog
* >(argp1
);
17376 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17377 result
= ((wxFileDialog
const *)arg1
)->GetPath();
17378 wxPyEndAllowThreads(__tstate
);
17379 if (PyErr_Occurred()) SWIG_fail
;
17383 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
17385 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
17394 SWIGINTERN PyObject
*_wrap_FileDialog_GetDirectory(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17395 PyObject
*resultobj
= 0;
17396 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
17400 PyObject
*swig_obj
[1] ;
17402 if (!args
) SWIG_fail
;
17403 swig_obj
[0] = args
;
17404 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFileDialog
, 0 | 0 );
17405 if (!SWIG_IsOK(res1
)) {
17406 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileDialog_GetDirectory" "', expected argument " "1"" of type '" "wxFileDialog const *""'");
17408 arg1
= reinterpret_cast< wxFileDialog
* >(argp1
);
17410 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17411 result
= ((wxFileDialog
const *)arg1
)->GetDirectory();
17412 wxPyEndAllowThreads(__tstate
);
17413 if (PyErr_Occurred()) SWIG_fail
;
17417 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
17419 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
17428 SWIGINTERN PyObject
*_wrap_FileDialog_GetFilename(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17429 PyObject
*resultobj
= 0;
17430 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
17434 PyObject
*swig_obj
[1] ;
17436 if (!args
) SWIG_fail
;
17437 swig_obj
[0] = args
;
17438 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFileDialog
, 0 | 0 );
17439 if (!SWIG_IsOK(res1
)) {
17440 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileDialog_GetFilename" "', expected argument " "1"" of type '" "wxFileDialog const *""'");
17442 arg1
= reinterpret_cast< wxFileDialog
* >(argp1
);
17444 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17445 result
= ((wxFileDialog
const *)arg1
)->GetFilename();
17446 wxPyEndAllowThreads(__tstate
);
17447 if (PyErr_Occurred()) SWIG_fail
;
17451 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
17453 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
17462 SWIGINTERN PyObject
*_wrap_FileDialog_GetWildcard(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17463 PyObject
*resultobj
= 0;
17464 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
17468 PyObject
*swig_obj
[1] ;
17470 if (!args
) SWIG_fail
;
17471 swig_obj
[0] = args
;
17472 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFileDialog
, 0 | 0 );
17473 if (!SWIG_IsOK(res1
)) {
17474 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileDialog_GetWildcard" "', expected argument " "1"" of type '" "wxFileDialog const *""'");
17476 arg1
= reinterpret_cast< wxFileDialog
* >(argp1
);
17478 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17479 result
= ((wxFileDialog
const *)arg1
)->GetWildcard();
17480 wxPyEndAllowThreads(__tstate
);
17481 if (PyErr_Occurred()) SWIG_fail
;
17485 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
17487 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
17496 SWIGINTERN PyObject
*_wrap_FileDialog_GetStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17497 PyObject
*resultobj
= 0;
17498 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
17502 PyObject
*swig_obj
[1] ;
17504 if (!args
) SWIG_fail
;
17505 swig_obj
[0] = args
;
17506 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFileDialog
, 0 | 0 );
17507 if (!SWIG_IsOK(res1
)) {
17508 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileDialog_GetStyle" "', expected argument " "1"" of type '" "wxFileDialog const *""'");
17510 arg1
= reinterpret_cast< wxFileDialog
* >(argp1
);
17512 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17513 result
= (long)((wxFileDialog
const *)arg1
)->GetStyle();
17514 wxPyEndAllowThreads(__tstate
);
17515 if (PyErr_Occurred()) SWIG_fail
;
17517 resultobj
= SWIG_From_long(static_cast< long >(result
));
17524 SWIGINTERN PyObject
*_wrap_FileDialog_GetFilterIndex(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17525 PyObject
*resultobj
= 0;
17526 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
17530 PyObject
*swig_obj
[1] ;
17532 if (!args
) SWIG_fail
;
17533 swig_obj
[0] = args
;
17534 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFileDialog
, 0 | 0 );
17535 if (!SWIG_IsOK(res1
)) {
17536 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileDialog_GetFilterIndex" "', expected argument " "1"" of type '" "wxFileDialog const *""'");
17538 arg1
= reinterpret_cast< wxFileDialog
* >(argp1
);
17540 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17541 result
= (int)((wxFileDialog
const *)arg1
)->GetFilterIndex();
17542 wxPyEndAllowThreads(__tstate
);
17543 if (PyErr_Occurred()) SWIG_fail
;
17545 resultobj
= SWIG_From_int(static_cast< int >(result
));
17552 SWIGINTERN PyObject
*_wrap_FileDialog_GetFilenames(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17553 PyObject
*resultobj
= 0;
17554 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
17555 PyObject
*result
= 0 ;
17558 PyObject
*swig_obj
[1] ;
17560 if (!args
) SWIG_fail
;
17561 swig_obj
[0] = args
;
17562 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFileDialog
, 0 | 0 );
17563 if (!SWIG_IsOK(res1
)) {
17564 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileDialog_GetFilenames" "', expected argument " "1"" of type '" "wxFileDialog *""'");
17566 arg1
= reinterpret_cast< wxFileDialog
* >(argp1
);
17568 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17569 result
= (PyObject
*)wxFileDialog_GetFilenames(arg1
);
17570 wxPyEndAllowThreads(__tstate
);
17571 if (PyErr_Occurred()) SWIG_fail
;
17573 resultobj
= result
;
17580 SWIGINTERN PyObject
*_wrap_FileDialog_GetPaths(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17581 PyObject
*resultobj
= 0;
17582 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
17583 PyObject
*result
= 0 ;
17586 PyObject
*swig_obj
[1] ;
17588 if (!args
) SWIG_fail
;
17589 swig_obj
[0] = args
;
17590 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFileDialog
, 0 | 0 );
17591 if (!SWIG_IsOK(res1
)) {
17592 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileDialog_GetPaths" "', expected argument " "1"" of type '" "wxFileDialog *""'");
17594 arg1
= reinterpret_cast< wxFileDialog
* >(argp1
);
17596 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17597 result
= (PyObject
*)wxFileDialog_GetPaths(arg1
);
17598 wxPyEndAllowThreads(__tstate
);
17599 if (PyErr_Occurred()) SWIG_fail
;
17601 resultobj
= result
;
17608 SWIGINTERN PyObject
*FileDialog_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17610 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
17611 SWIG_TypeNewClientData(SWIGTYPE_p_wxFileDialog
, SWIG_NewClientData(obj
));
17612 return SWIG_Py_Void();
17615 SWIGINTERN PyObject
*FileDialog_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17616 return SWIG_Python_InitShadowInstance(args
);
17619 SWIGINTERN PyObject
*_wrap_new_MultiChoiceDialog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17620 PyObject
*resultobj
= 0;
17621 wxWindow
*arg1
= (wxWindow
*) 0 ;
17622 wxString
*arg2
= 0 ;
17623 wxString
*arg3
= 0 ;
17624 int arg4
= (int) 0 ;
17625 wxString
*arg5
= (wxString
*) NULL
;
17626 long arg6
= (long) wxCHOICEDLG_STYLE
;
17627 wxPoint
const &arg7_defvalue
= wxDefaultPosition
;
17628 wxPoint
*arg7
= (wxPoint
*) &arg7_defvalue
;
17629 wxMultiChoiceDialog
*result
= 0 ;
17632 bool temp2
= false ;
17633 bool temp3
= false ;
17637 PyObject
* obj0
= 0 ;
17638 PyObject
* obj1
= 0 ;
17639 PyObject
* obj2
= 0 ;
17640 PyObject
* obj3
= 0 ;
17641 PyObject
* obj4
= 0 ;
17642 PyObject
* obj5
= 0 ;
17643 char * kwnames
[] = {
17644 (char *) "parent",(char *) "message",(char *) "caption",(char *) "choices",(char *) "style",(char *) "pos", NULL
17647 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOO:new_MultiChoiceDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
17648 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
17649 if (!SWIG_IsOK(res1
)) {
17650 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_MultiChoiceDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
17652 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
17654 arg2
= wxString_in_helper(obj1
);
17655 if (arg2
== NULL
) SWIG_fail
;
17659 arg3
= wxString_in_helper(obj2
);
17660 if (arg3
== NULL
) SWIG_fail
;
17665 arg4
= PyList_Size(obj3
);
17666 arg5
= wxString_LIST_helper(obj3
);
17667 if (arg5
== NULL
) SWIG_fail
;
17671 ecode6
= SWIG_AsVal_long(obj4
, &val6
);
17672 if (!SWIG_IsOK(ecode6
)) {
17673 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_MultiChoiceDialog" "', expected argument " "6"" of type '" "long""'");
17675 arg6
= static_cast< long >(val6
);
17680 if ( ! wxPoint_helper(obj5
, &arg7
)) SWIG_fail
;
17684 if (!wxPyCheckForApp()) SWIG_fail
;
17685 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17686 result
= (wxMultiChoiceDialog
*)new wxMultiChoiceDialog(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
,arg5
,arg6
,(wxPoint
const &)*arg7
);
17687 wxPyEndAllowThreads(__tstate
);
17688 if (PyErr_Occurred()) SWIG_fail
;
17690 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMultiChoiceDialog
, SWIG_POINTER_NEW
| 0 );
17700 if (arg5
) delete [] arg5
;
17713 if (arg5
) delete [] arg5
;
17719 SWIGINTERN PyObject
*_wrap_MultiChoiceDialog_SetSelections(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17720 PyObject
*resultobj
= 0;
17721 wxMultiChoiceDialog
*arg1
= (wxMultiChoiceDialog
*) 0 ;
17722 wxArrayInt
*arg2
= 0 ;
17725 bool temp2
= false ;
17726 PyObject
* obj0
= 0 ;
17727 PyObject
* obj1
= 0 ;
17728 char * kwnames
[] = {
17729 (char *) "self",(char *) "selections", NULL
17732 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MultiChoiceDialog_SetSelections",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17733 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMultiChoiceDialog
, 0 | 0 );
17734 if (!SWIG_IsOK(res1
)) {
17735 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MultiChoiceDialog_SetSelections" "', expected argument " "1"" of type '" "wxMultiChoiceDialog *""'");
17737 arg1
= reinterpret_cast< wxMultiChoiceDialog
* >(argp1
);
17739 if (! PySequence_Check(obj1
)) {
17740 PyErr_SetString(PyExc_TypeError
, "Sequence of integers expected.");
17743 arg2
= new wxArrayInt
;
17745 int i
, len
=PySequence_Length(obj1
);
17746 for (i
=0; i
<len
; i
++) {
17747 PyObject
* item
= PySequence_GetItem(obj1
, i
);
17748 PyObject
* number
= PyNumber_Int(item
);
17749 arg2
->Add(PyInt_AS_LONG(number
));
17755 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17756 (arg1
)->SetSelections((wxArrayInt
const &)*arg2
);
17757 wxPyEndAllowThreads(__tstate
);
17758 if (PyErr_Occurred()) SWIG_fail
;
17760 resultobj
= SWIG_Py_Void();
17762 if (temp2
) delete arg2
;
17767 if (temp2
) delete arg2
;
17773 SWIGINTERN PyObject
*_wrap_MultiChoiceDialog_GetSelections(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17774 PyObject
*resultobj
= 0;
17775 wxMultiChoiceDialog
*arg1
= (wxMultiChoiceDialog
*) 0 ;
17776 PyObject
*result
= 0 ;
17779 PyObject
*swig_obj
[1] ;
17781 if (!args
) SWIG_fail
;
17782 swig_obj
[0] = args
;
17783 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMultiChoiceDialog
, 0 | 0 );
17784 if (!SWIG_IsOK(res1
)) {
17785 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MultiChoiceDialog_GetSelections" "', expected argument " "1"" of type '" "wxMultiChoiceDialog *""'");
17787 arg1
= reinterpret_cast< wxMultiChoiceDialog
* >(argp1
);
17789 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17790 result
= (PyObject
*)wxMultiChoiceDialog_GetSelections(arg1
);
17791 wxPyEndAllowThreads(__tstate
);
17792 if (PyErr_Occurred()) SWIG_fail
;
17794 resultobj
= result
;
17801 SWIGINTERN PyObject
*MultiChoiceDialog_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17803 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
17804 SWIG_TypeNewClientData(SWIGTYPE_p_wxMultiChoiceDialog
, SWIG_NewClientData(obj
));
17805 return SWIG_Py_Void();
17808 SWIGINTERN PyObject
*MultiChoiceDialog_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17809 return SWIG_Python_InitShadowInstance(args
);
17812 SWIGINTERN PyObject
*_wrap_new_SingleChoiceDialog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17813 PyObject
*resultobj
= 0;
17814 wxWindow
*arg1
= (wxWindow
*) 0 ;
17815 wxString
*arg2
= 0 ;
17816 wxString
*arg3
= 0 ;
17818 wxString
*arg5
= (wxString
*) 0 ;
17819 long arg6
= (long) wxCHOICEDLG_STYLE
;
17820 wxPoint
const &arg7_defvalue
= wxDefaultPosition
;
17821 wxPoint
*arg7
= (wxPoint
*) &arg7_defvalue
;
17822 wxSingleChoiceDialog
*result
= 0 ;
17825 bool temp2
= false ;
17826 bool temp3
= false ;
17830 PyObject
* obj0
= 0 ;
17831 PyObject
* obj1
= 0 ;
17832 PyObject
* obj2
= 0 ;
17833 PyObject
* obj3
= 0 ;
17834 PyObject
* obj4
= 0 ;
17835 PyObject
* obj5
= 0 ;
17836 char * kwnames
[] = {
17837 (char *) "parent",(char *) "message",(char *) "caption",(char *) "choices",(char *) "style",(char *) "pos", NULL
17840 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:new_SingleChoiceDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
17841 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
17842 if (!SWIG_IsOK(res1
)) {
17843 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_SingleChoiceDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
17845 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
17847 arg2
= wxString_in_helper(obj1
);
17848 if (arg2
== NULL
) SWIG_fail
;
17852 arg3
= wxString_in_helper(obj2
);
17853 if (arg3
== NULL
) SWIG_fail
;
17857 arg4
= PyList_Size(obj3
);
17858 arg5
= wxString_LIST_helper(obj3
);
17859 if (arg5
== NULL
) SWIG_fail
;
17862 ecode6
= SWIG_AsVal_long(obj4
, &val6
);
17863 if (!SWIG_IsOK(ecode6
)) {
17864 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_SingleChoiceDialog" "', expected argument " "6"" of type '" "long""'");
17866 arg6
= static_cast< long >(val6
);
17871 if ( ! wxPoint_helper(obj5
, &arg7
)) SWIG_fail
;
17875 if (!wxPyCheckForApp()) SWIG_fail
;
17876 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17877 result
= (wxSingleChoiceDialog
*)new_wxSingleChoiceDialog(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
,arg5
,arg6
,(wxPoint
const &)*arg7
);
17878 wxPyEndAllowThreads(__tstate
);
17879 if (PyErr_Occurred()) SWIG_fail
;
17881 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSingleChoiceDialog
, SWIG_POINTER_NEW
| 0 );
17891 if (arg5
) delete [] arg5
;
17904 if (arg5
) delete [] arg5
;
17910 SWIGINTERN PyObject
*_wrap_SingleChoiceDialog_GetSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17911 PyObject
*resultobj
= 0;
17912 wxSingleChoiceDialog
*arg1
= (wxSingleChoiceDialog
*) 0 ;
17916 PyObject
*swig_obj
[1] ;
17918 if (!args
) SWIG_fail
;
17919 swig_obj
[0] = args
;
17920 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSingleChoiceDialog
, 0 | 0 );
17921 if (!SWIG_IsOK(res1
)) {
17922 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SingleChoiceDialog_GetSelection" "', expected argument " "1"" of type '" "wxSingleChoiceDialog *""'");
17924 arg1
= reinterpret_cast< wxSingleChoiceDialog
* >(argp1
);
17926 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17927 result
= (int)(arg1
)->GetSelection();
17928 wxPyEndAllowThreads(__tstate
);
17929 if (PyErr_Occurred()) SWIG_fail
;
17931 resultobj
= SWIG_From_int(static_cast< int >(result
));
17938 SWIGINTERN PyObject
*_wrap_SingleChoiceDialog_GetStringSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17939 PyObject
*resultobj
= 0;
17940 wxSingleChoiceDialog
*arg1
= (wxSingleChoiceDialog
*) 0 ;
17944 PyObject
*swig_obj
[1] ;
17946 if (!args
) SWIG_fail
;
17947 swig_obj
[0] = args
;
17948 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSingleChoiceDialog
, 0 | 0 );
17949 if (!SWIG_IsOK(res1
)) {
17950 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SingleChoiceDialog_GetStringSelection" "', expected argument " "1"" of type '" "wxSingleChoiceDialog *""'");
17952 arg1
= reinterpret_cast< wxSingleChoiceDialog
* >(argp1
);
17954 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17955 result
= (arg1
)->GetStringSelection();
17956 wxPyEndAllowThreads(__tstate
);
17957 if (PyErr_Occurred()) SWIG_fail
;
17961 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
17963 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
17972 SWIGINTERN PyObject
*_wrap_SingleChoiceDialog_SetSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17973 PyObject
*resultobj
= 0;
17974 wxSingleChoiceDialog
*arg1
= (wxSingleChoiceDialog
*) 0 ;
17980 PyObject
* obj0
= 0 ;
17981 PyObject
* obj1
= 0 ;
17982 char * kwnames
[] = {
17983 (char *) "self",(char *) "sel", NULL
17986 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SingleChoiceDialog_SetSelection",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17987 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSingleChoiceDialog
, 0 | 0 );
17988 if (!SWIG_IsOK(res1
)) {
17989 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SingleChoiceDialog_SetSelection" "', expected argument " "1"" of type '" "wxSingleChoiceDialog *""'");
17991 arg1
= reinterpret_cast< wxSingleChoiceDialog
* >(argp1
);
17992 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
17993 if (!SWIG_IsOK(ecode2
)) {
17994 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SingleChoiceDialog_SetSelection" "', expected argument " "2"" of type '" "int""'");
17996 arg2
= static_cast< int >(val2
);
17998 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17999 (arg1
)->SetSelection(arg2
);
18000 wxPyEndAllowThreads(__tstate
);
18001 if (PyErr_Occurred()) SWIG_fail
;
18003 resultobj
= SWIG_Py_Void();
18010 SWIGINTERN PyObject
*SingleChoiceDialog_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18012 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
18013 SWIG_TypeNewClientData(SWIGTYPE_p_wxSingleChoiceDialog
, SWIG_NewClientData(obj
));
18014 return SWIG_Py_Void();
18017 SWIGINTERN PyObject
*SingleChoiceDialog_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18018 return SWIG_Python_InitShadowInstance(args
);
18021 SWIGINTERN PyObject
*_wrap_new_TextEntryDialog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18022 PyObject
*resultobj
= 0;
18023 wxWindow
*arg1
= (wxWindow
*) 0 ;
18024 wxString
*arg2
= 0 ;
18025 wxString
const &arg3_defvalue
= wxPyGetTextFromUserPromptStr
;
18026 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
18027 wxString
const &arg4_defvalue
= wxPyEmptyString
;
18028 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
18029 long arg5
= (long) wxTextEntryDialogStyle
;
18030 wxPoint
const &arg6_defvalue
= wxDefaultPosition
;
18031 wxPoint
*arg6
= (wxPoint
*) &arg6_defvalue
;
18032 wxTextEntryDialog
*result
= 0 ;
18035 bool temp2
= false ;
18036 bool temp3
= false ;
18037 bool temp4
= false ;
18041 PyObject
* obj0
= 0 ;
18042 PyObject
* obj1
= 0 ;
18043 PyObject
* obj2
= 0 ;
18044 PyObject
* obj3
= 0 ;
18045 PyObject
* obj4
= 0 ;
18046 PyObject
* obj5
= 0 ;
18047 char * kwnames
[] = {
18048 (char *) "parent",(char *) "message",(char *) "caption",(char *) "defaultValue",(char *) "style",(char *) "pos", NULL
18051 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:new_TextEntryDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
18052 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
18053 if (!SWIG_IsOK(res1
)) {
18054 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_TextEntryDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
18056 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
18058 arg2
= wxString_in_helper(obj1
);
18059 if (arg2
== NULL
) SWIG_fail
;
18064 arg3
= wxString_in_helper(obj2
);
18065 if (arg3
== NULL
) SWIG_fail
;
18071 arg4
= wxString_in_helper(obj3
);
18072 if (arg4
== NULL
) SWIG_fail
;
18077 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
18078 if (!SWIG_IsOK(ecode5
)) {
18079 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_TextEntryDialog" "', expected argument " "5"" of type '" "long""'");
18081 arg5
= static_cast< long >(val5
);
18086 if ( ! wxPoint_helper(obj5
, &arg6
)) SWIG_fail
;
18090 if (!wxPyCheckForApp()) SWIG_fail
;
18091 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18092 result
= (wxTextEntryDialog
*)new wxTextEntryDialog(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,arg5
,(wxPoint
const &)*arg6
);
18093 wxPyEndAllowThreads(__tstate
);
18094 if (PyErr_Occurred()) SWIG_fail
;
18096 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTextEntryDialog
, SWIG_POINTER_NEW
| 0 );
18127 SWIGINTERN PyObject
*_wrap_TextEntryDialog_GetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18128 PyObject
*resultobj
= 0;
18129 wxTextEntryDialog
*arg1
= (wxTextEntryDialog
*) 0 ;
18133 PyObject
*swig_obj
[1] ;
18135 if (!args
) SWIG_fail
;
18136 swig_obj
[0] = args
;
18137 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextEntryDialog
, 0 | 0 );
18138 if (!SWIG_IsOK(res1
)) {
18139 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextEntryDialog_GetValue" "', expected argument " "1"" of type '" "wxTextEntryDialog *""'");
18141 arg1
= reinterpret_cast< wxTextEntryDialog
* >(argp1
);
18143 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18144 result
= (arg1
)->GetValue();
18145 wxPyEndAllowThreads(__tstate
);
18146 if (PyErr_Occurred()) SWIG_fail
;
18150 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
18152 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
18161 SWIGINTERN PyObject
*_wrap_TextEntryDialog_SetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18162 PyObject
*resultobj
= 0;
18163 wxTextEntryDialog
*arg1
= (wxTextEntryDialog
*) 0 ;
18164 wxString
*arg2
= 0 ;
18167 bool temp2
= false ;
18168 PyObject
* obj0
= 0 ;
18169 PyObject
* obj1
= 0 ;
18170 char * kwnames
[] = {
18171 (char *) "self",(char *) "value", NULL
18174 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextEntryDialog_SetValue",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18175 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextEntryDialog
, 0 | 0 );
18176 if (!SWIG_IsOK(res1
)) {
18177 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextEntryDialog_SetValue" "', expected argument " "1"" of type '" "wxTextEntryDialog *""'");
18179 arg1
= reinterpret_cast< wxTextEntryDialog
* >(argp1
);
18181 arg2
= wxString_in_helper(obj1
);
18182 if (arg2
== NULL
) SWIG_fail
;
18186 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18187 (arg1
)->SetValue((wxString
const &)*arg2
);
18188 wxPyEndAllowThreads(__tstate
);
18189 if (PyErr_Occurred()) SWIG_fail
;
18191 resultobj
= SWIG_Py_Void();
18206 SWIGINTERN PyObject
*TextEntryDialog_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18208 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
18209 SWIG_TypeNewClientData(SWIGTYPE_p_wxTextEntryDialog
, SWIG_NewClientData(obj
));
18210 return SWIG_Py_Void();
18213 SWIGINTERN PyObject
*TextEntryDialog_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18214 return SWIG_Python_InitShadowInstance(args
);
18217 SWIGINTERN
int GetPasswordFromUserPromptStr_set(PyObject
*) {
18218 SWIG_Error(SWIG_AttributeError
,"Variable GetPasswordFromUserPromptStr is read-only.");
18223 SWIGINTERN PyObject
*GetPasswordFromUserPromptStr_get(void) {
18224 PyObject
*pyobj
= 0;
18228 pyobj
= PyUnicode_FromWideChar((&wxPyGetPasswordFromUserPromptStr
)->c_str(), (&wxPyGetPasswordFromUserPromptStr
)->Len());
18230 pyobj
= PyString_FromStringAndSize((&wxPyGetPasswordFromUserPromptStr
)->c_str(), (&wxPyGetPasswordFromUserPromptStr
)->Len());
18237 SWIGINTERN PyObject
*_wrap_new_PasswordEntryDialog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18238 PyObject
*resultobj
= 0;
18239 wxWindow
*arg1
= (wxWindow
*) 0 ;
18240 wxString
*arg2
= 0 ;
18241 wxString
const &arg3_defvalue
= wxPyGetPasswordFromUserPromptStr
;
18242 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
18243 wxString
const &arg4_defvalue
= wxPyEmptyString
;
18244 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
18245 long arg5
= (long) wxTextEntryDialogStyle
;
18246 wxPoint
const &arg6_defvalue
= wxDefaultPosition
;
18247 wxPoint
*arg6
= (wxPoint
*) &arg6_defvalue
;
18248 wxPasswordEntryDialog
*result
= 0 ;
18251 bool temp2
= false ;
18252 bool temp3
= false ;
18253 bool temp4
= false ;
18257 PyObject
* obj0
= 0 ;
18258 PyObject
* obj1
= 0 ;
18259 PyObject
* obj2
= 0 ;
18260 PyObject
* obj3
= 0 ;
18261 PyObject
* obj4
= 0 ;
18262 PyObject
* obj5
= 0 ;
18263 char * kwnames
[] = {
18264 (char *) "parent",(char *) "message",(char *) "caption",(char *) "value",(char *) "style",(char *) "pos", NULL
18267 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:new_PasswordEntryDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
18268 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
18269 if (!SWIG_IsOK(res1
)) {
18270 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PasswordEntryDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
18272 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
18274 arg2
= wxString_in_helper(obj1
);
18275 if (arg2
== NULL
) SWIG_fail
;
18280 arg3
= wxString_in_helper(obj2
);
18281 if (arg3
== NULL
) SWIG_fail
;
18287 arg4
= wxString_in_helper(obj3
);
18288 if (arg4
== NULL
) SWIG_fail
;
18293 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
18294 if (!SWIG_IsOK(ecode5
)) {
18295 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_PasswordEntryDialog" "', expected argument " "5"" of type '" "long""'");
18297 arg5
= static_cast< long >(val5
);
18302 if ( ! wxPoint_helper(obj5
, &arg6
)) SWIG_fail
;
18306 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18307 result
= (wxPasswordEntryDialog
*)new wxPasswordEntryDialog(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,arg5
,(wxPoint
const &)*arg6
);
18308 wxPyEndAllowThreads(__tstate
);
18309 if (PyErr_Occurred()) SWIG_fail
;
18311 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPasswordEntryDialog
, SWIG_POINTER_NEW
| 0 );
18342 SWIGINTERN PyObject
*PasswordEntryDialog_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18344 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
18345 SWIG_TypeNewClientData(SWIGTYPE_p_wxPasswordEntryDialog
, SWIG_NewClientData(obj
));
18346 return SWIG_Py_Void();
18349 SWIGINTERN PyObject
*PasswordEntryDialog_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18350 return SWIG_Python_InitShadowInstance(args
);
18353 SWIGINTERN PyObject
*_wrap_new_FontData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18354 PyObject
*resultobj
= 0;
18355 wxFontData
*result
= 0 ;
18357 if (!SWIG_Python_UnpackTuple(args
,"new_FontData",0,0,0)) SWIG_fail
;
18359 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18360 result
= (wxFontData
*)new wxFontData();
18361 wxPyEndAllowThreads(__tstate
);
18362 if (PyErr_Occurred()) SWIG_fail
;
18364 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFontData
, SWIG_POINTER_NEW
| 0 );
18371 SWIGINTERN PyObject
*_wrap_delete_FontData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18372 PyObject
*resultobj
= 0;
18373 wxFontData
*arg1
= (wxFontData
*) 0 ;
18376 PyObject
*swig_obj
[1] ;
18378 if (!args
) SWIG_fail
;
18379 swig_obj
[0] = args
;
18380 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFontData
, SWIG_POINTER_DISOWN
| 0 );
18381 if (!SWIG_IsOK(res1
)) {
18382 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_FontData" "', expected argument " "1"" of type '" "wxFontData *""'");
18384 arg1
= reinterpret_cast< wxFontData
* >(argp1
);
18386 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18389 wxPyEndAllowThreads(__tstate
);
18390 if (PyErr_Occurred()) SWIG_fail
;
18392 resultobj
= SWIG_Py_Void();
18399 SWIGINTERN PyObject
*_wrap_FontData_EnableEffects(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18400 PyObject
*resultobj
= 0;
18401 wxFontData
*arg1
= (wxFontData
*) 0 ;
18407 PyObject
* obj0
= 0 ;
18408 PyObject
* obj1
= 0 ;
18409 char * kwnames
[] = {
18410 (char *) "self",(char *) "enable", NULL
18413 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontData_EnableEffects",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18414 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontData
, 0 | 0 );
18415 if (!SWIG_IsOK(res1
)) {
18416 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontData_EnableEffects" "', expected argument " "1"" of type '" "wxFontData *""'");
18418 arg1
= reinterpret_cast< wxFontData
* >(argp1
);
18419 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
18420 if (!SWIG_IsOK(ecode2
)) {
18421 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "FontData_EnableEffects" "', expected argument " "2"" of type '" "bool""'");
18423 arg2
= static_cast< bool >(val2
);
18425 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18426 (arg1
)->EnableEffects(arg2
);
18427 wxPyEndAllowThreads(__tstate
);
18428 if (PyErr_Occurred()) SWIG_fail
;
18430 resultobj
= SWIG_Py_Void();
18437 SWIGINTERN PyObject
*_wrap_FontData_GetAllowSymbols(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18438 PyObject
*resultobj
= 0;
18439 wxFontData
*arg1
= (wxFontData
*) 0 ;
18443 PyObject
*swig_obj
[1] ;
18445 if (!args
) SWIG_fail
;
18446 swig_obj
[0] = args
;
18447 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFontData
, 0 | 0 );
18448 if (!SWIG_IsOK(res1
)) {
18449 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontData_GetAllowSymbols" "', expected argument " "1"" of type '" "wxFontData *""'");
18451 arg1
= reinterpret_cast< wxFontData
* >(argp1
);
18453 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18454 result
= (bool)(arg1
)->GetAllowSymbols();
18455 wxPyEndAllowThreads(__tstate
);
18456 if (PyErr_Occurred()) SWIG_fail
;
18459 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18467 SWIGINTERN PyObject
*_wrap_FontData_GetColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18468 PyObject
*resultobj
= 0;
18469 wxFontData
*arg1
= (wxFontData
*) 0 ;
18473 PyObject
*swig_obj
[1] ;
18475 if (!args
) SWIG_fail
;
18476 swig_obj
[0] = args
;
18477 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFontData
, 0 | 0 );
18478 if (!SWIG_IsOK(res1
)) {
18479 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontData_GetColour" "', expected argument " "1"" of type '" "wxFontData *""'");
18481 arg1
= reinterpret_cast< wxFontData
* >(argp1
);
18483 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18484 result
= (arg1
)->GetColour();
18485 wxPyEndAllowThreads(__tstate
);
18486 if (PyErr_Occurred()) SWIG_fail
;
18488 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
18495 SWIGINTERN PyObject
*_wrap_FontData_GetChosenFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18496 PyObject
*resultobj
= 0;
18497 wxFontData
*arg1
= (wxFontData
*) 0 ;
18501 PyObject
*swig_obj
[1] ;
18503 if (!args
) SWIG_fail
;
18504 swig_obj
[0] = args
;
18505 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFontData
, 0 | 0 );
18506 if (!SWIG_IsOK(res1
)) {
18507 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontData_GetChosenFont" "', expected argument " "1"" of type '" "wxFontData *""'");
18509 arg1
= reinterpret_cast< wxFontData
* >(argp1
);
18511 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18512 result
= (arg1
)->GetChosenFont();
18513 wxPyEndAllowThreads(__tstate
);
18514 if (PyErr_Occurred()) SWIG_fail
;
18516 resultobj
= SWIG_NewPointerObj((new wxFont(static_cast< const wxFont
& >(result
))), SWIGTYPE_p_wxFont
, SWIG_POINTER_OWN
| 0 );
18523 SWIGINTERN PyObject
*_wrap_FontData_GetEnableEffects(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18524 PyObject
*resultobj
= 0;
18525 wxFontData
*arg1
= (wxFontData
*) 0 ;
18529 PyObject
*swig_obj
[1] ;
18531 if (!args
) SWIG_fail
;
18532 swig_obj
[0] = args
;
18533 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFontData
, 0 | 0 );
18534 if (!SWIG_IsOK(res1
)) {
18535 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontData_GetEnableEffects" "', expected argument " "1"" of type '" "wxFontData *""'");
18537 arg1
= reinterpret_cast< wxFontData
* >(argp1
);
18539 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18540 result
= (bool)(arg1
)->GetEnableEffects();
18541 wxPyEndAllowThreads(__tstate
);
18542 if (PyErr_Occurred()) SWIG_fail
;
18545 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18553 SWIGINTERN PyObject
*_wrap_FontData_GetInitialFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18554 PyObject
*resultobj
= 0;
18555 wxFontData
*arg1
= (wxFontData
*) 0 ;
18559 PyObject
*swig_obj
[1] ;
18561 if (!args
) SWIG_fail
;
18562 swig_obj
[0] = args
;
18563 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFontData
, 0 | 0 );
18564 if (!SWIG_IsOK(res1
)) {
18565 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontData_GetInitialFont" "', expected argument " "1"" of type '" "wxFontData *""'");
18567 arg1
= reinterpret_cast< wxFontData
* >(argp1
);
18569 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18570 result
= (arg1
)->GetInitialFont();
18571 wxPyEndAllowThreads(__tstate
);
18572 if (PyErr_Occurred()) SWIG_fail
;
18574 resultobj
= SWIG_NewPointerObj((new wxFont(static_cast< const wxFont
& >(result
))), SWIGTYPE_p_wxFont
, SWIG_POINTER_OWN
| 0 );
18581 SWIGINTERN PyObject
*_wrap_FontData_GetShowHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18582 PyObject
*resultobj
= 0;
18583 wxFontData
*arg1
= (wxFontData
*) 0 ;
18587 PyObject
*swig_obj
[1] ;
18589 if (!args
) SWIG_fail
;
18590 swig_obj
[0] = args
;
18591 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFontData
, 0 | 0 );
18592 if (!SWIG_IsOK(res1
)) {
18593 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontData_GetShowHelp" "', expected argument " "1"" of type '" "wxFontData *""'");
18595 arg1
= reinterpret_cast< wxFontData
* >(argp1
);
18597 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18598 result
= (bool)(arg1
)->GetShowHelp();
18599 wxPyEndAllowThreads(__tstate
);
18600 if (PyErr_Occurred()) SWIG_fail
;
18603 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18611 SWIGINTERN PyObject
*_wrap_FontData_SetAllowSymbols(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18612 PyObject
*resultobj
= 0;
18613 wxFontData
*arg1
= (wxFontData
*) 0 ;
18619 PyObject
* obj0
= 0 ;
18620 PyObject
* obj1
= 0 ;
18621 char * kwnames
[] = {
18622 (char *) "self",(char *) "allowSymbols", NULL
18625 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontData_SetAllowSymbols",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18626 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontData
, 0 | 0 );
18627 if (!SWIG_IsOK(res1
)) {
18628 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontData_SetAllowSymbols" "', expected argument " "1"" of type '" "wxFontData *""'");
18630 arg1
= reinterpret_cast< wxFontData
* >(argp1
);
18631 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
18632 if (!SWIG_IsOK(ecode2
)) {
18633 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "FontData_SetAllowSymbols" "', expected argument " "2"" of type '" "bool""'");
18635 arg2
= static_cast< bool >(val2
);
18637 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18638 (arg1
)->SetAllowSymbols(arg2
);
18639 wxPyEndAllowThreads(__tstate
);
18640 if (PyErr_Occurred()) SWIG_fail
;
18642 resultobj
= SWIG_Py_Void();
18649 SWIGINTERN PyObject
*_wrap_FontData_SetChosenFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18650 PyObject
*resultobj
= 0;
18651 wxFontData
*arg1
= (wxFontData
*) 0 ;
18657 PyObject
* obj0
= 0 ;
18658 PyObject
* obj1
= 0 ;
18659 char * kwnames
[] = {
18660 (char *) "self",(char *) "font", NULL
18663 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontData_SetChosenFont",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18664 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontData
, 0 | 0 );
18665 if (!SWIG_IsOK(res1
)) {
18666 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontData_SetChosenFont" "', expected argument " "1"" of type '" "wxFontData *""'");
18668 arg1
= reinterpret_cast< wxFontData
* >(argp1
);
18669 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxFont
, 0 | 0);
18670 if (!SWIG_IsOK(res2
)) {
18671 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "FontData_SetChosenFont" "', expected argument " "2"" of type '" "wxFont const &""'");
18674 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "FontData_SetChosenFont" "', expected argument " "2"" of type '" "wxFont const &""'");
18676 arg2
= reinterpret_cast< wxFont
* >(argp2
);
18678 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18679 (arg1
)->SetChosenFont((wxFont
const &)*arg2
);
18680 wxPyEndAllowThreads(__tstate
);
18681 if (PyErr_Occurred()) SWIG_fail
;
18683 resultobj
= SWIG_Py_Void();
18690 SWIGINTERN PyObject
*_wrap_FontData_SetColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18691 PyObject
*resultobj
= 0;
18692 wxFontData
*arg1
= (wxFontData
*) 0 ;
18693 wxColour
*arg2
= 0 ;
18697 PyObject
* obj0
= 0 ;
18698 PyObject
* obj1
= 0 ;
18699 char * kwnames
[] = {
18700 (char *) "self",(char *) "colour", NULL
18703 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontData_SetColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18704 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontData
, 0 | 0 );
18705 if (!SWIG_IsOK(res1
)) {
18706 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontData_SetColour" "', expected argument " "1"" of type '" "wxFontData *""'");
18708 arg1
= reinterpret_cast< wxFontData
* >(argp1
);
18711 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
18714 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18715 (arg1
)->SetColour((wxColour
const &)*arg2
);
18716 wxPyEndAllowThreads(__tstate
);
18717 if (PyErr_Occurred()) SWIG_fail
;
18719 resultobj
= SWIG_Py_Void();
18726 SWIGINTERN PyObject
*_wrap_FontData_SetInitialFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18727 PyObject
*resultobj
= 0;
18728 wxFontData
*arg1
= (wxFontData
*) 0 ;
18734 PyObject
* obj0
= 0 ;
18735 PyObject
* obj1
= 0 ;
18736 char * kwnames
[] = {
18737 (char *) "self",(char *) "font", NULL
18740 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontData_SetInitialFont",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18741 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontData
, 0 | 0 );
18742 if (!SWIG_IsOK(res1
)) {
18743 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontData_SetInitialFont" "', expected argument " "1"" of type '" "wxFontData *""'");
18745 arg1
= reinterpret_cast< wxFontData
* >(argp1
);
18746 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxFont
, 0 | 0);
18747 if (!SWIG_IsOK(res2
)) {
18748 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "FontData_SetInitialFont" "', expected argument " "2"" of type '" "wxFont const &""'");
18751 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "FontData_SetInitialFont" "', expected argument " "2"" of type '" "wxFont const &""'");
18753 arg2
= reinterpret_cast< wxFont
* >(argp2
);
18755 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18756 (arg1
)->SetInitialFont((wxFont
const &)*arg2
);
18757 wxPyEndAllowThreads(__tstate
);
18758 if (PyErr_Occurred()) SWIG_fail
;
18760 resultobj
= SWIG_Py_Void();
18767 SWIGINTERN PyObject
*_wrap_FontData_SetRange(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18768 PyObject
*resultobj
= 0;
18769 wxFontData
*arg1
= (wxFontData
*) 0 ;
18778 PyObject
* obj0
= 0 ;
18779 PyObject
* obj1
= 0 ;
18780 PyObject
* obj2
= 0 ;
18781 char * kwnames
[] = {
18782 (char *) "self",(char *) "min",(char *) "max", NULL
18785 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:FontData_SetRange",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
18786 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontData
, 0 | 0 );
18787 if (!SWIG_IsOK(res1
)) {
18788 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontData_SetRange" "', expected argument " "1"" of type '" "wxFontData *""'");
18790 arg1
= reinterpret_cast< wxFontData
* >(argp1
);
18791 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18792 if (!SWIG_IsOK(ecode2
)) {
18793 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "FontData_SetRange" "', expected argument " "2"" of type '" "int""'");
18795 arg2
= static_cast< int >(val2
);
18796 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
18797 if (!SWIG_IsOK(ecode3
)) {
18798 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "FontData_SetRange" "', expected argument " "3"" of type '" "int""'");
18800 arg3
= static_cast< int >(val3
);
18802 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18803 (arg1
)->SetRange(arg2
,arg3
);
18804 wxPyEndAllowThreads(__tstate
);
18805 if (PyErr_Occurred()) SWIG_fail
;
18807 resultobj
= SWIG_Py_Void();
18814 SWIGINTERN PyObject
*_wrap_FontData_SetShowHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18815 PyObject
*resultobj
= 0;
18816 wxFontData
*arg1
= (wxFontData
*) 0 ;
18822 PyObject
* obj0
= 0 ;
18823 PyObject
* obj1
= 0 ;
18824 char * kwnames
[] = {
18825 (char *) "self",(char *) "showHelp", NULL
18828 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontData_SetShowHelp",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18829 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontData
, 0 | 0 );
18830 if (!SWIG_IsOK(res1
)) {
18831 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontData_SetShowHelp" "', expected argument " "1"" of type '" "wxFontData *""'");
18833 arg1
= reinterpret_cast< wxFontData
* >(argp1
);
18834 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
18835 if (!SWIG_IsOK(ecode2
)) {
18836 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "FontData_SetShowHelp" "', expected argument " "2"" of type '" "bool""'");
18838 arg2
= static_cast< bool >(val2
);
18840 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18841 (arg1
)->SetShowHelp(arg2
);
18842 wxPyEndAllowThreads(__tstate
);
18843 if (PyErr_Occurred()) SWIG_fail
;
18845 resultobj
= SWIG_Py_Void();
18852 SWIGINTERN PyObject
*FontData_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18854 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
18855 SWIG_TypeNewClientData(SWIGTYPE_p_wxFontData
, SWIG_NewClientData(obj
));
18856 return SWIG_Py_Void();
18859 SWIGINTERN PyObject
*FontData_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18860 return SWIG_Python_InitShadowInstance(args
);
18863 SWIGINTERN PyObject
*_wrap_new_FontDialog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18864 PyObject
*resultobj
= 0;
18865 wxWindow
*arg1
= (wxWindow
*) 0 ;
18866 wxFontData
*arg2
= 0 ;
18867 wxFontDialog
*result
= 0 ;
18872 PyObject
* obj0
= 0 ;
18873 PyObject
* obj1
= 0 ;
18874 char * kwnames
[] = {
18875 (char *) "parent",(char *) "data", NULL
18878 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_FontDialog",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18879 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
18880 if (!SWIG_IsOK(res1
)) {
18881 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_FontDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
18883 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
18884 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxFontData
, 0 | 0);
18885 if (!SWIG_IsOK(res2
)) {
18886 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_FontDialog" "', expected argument " "2"" of type '" "wxFontData const &""'");
18889 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_FontDialog" "', expected argument " "2"" of type '" "wxFontData const &""'");
18891 arg2
= reinterpret_cast< wxFontData
* >(argp2
);
18893 if (!wxPyCheckForApp()) SWIG_fail
;
18894 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18895 result
= (wxFontDialog
*)new wxFontDialog(arg1
,(wxFontData
const &)*arg2
);
18896 wxPyEndAllowThreads(__tstate
);
18897 if (PyErr_Occurred()) SWIG_fail
;
18899 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFontDialog
, SWIG_POINTER_NEW
| 0 );
18906 SWIGINTERN PyObject
*_wrap_FontDialog_GetFontData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18907 PyObject
*resultobj
= 0;
18908 wxFontDialog
*arg1
= (wxFontDialog
*) 0 ;
18909 wxFontData
*result
= 0 ;
18912 PyObject
*swig_obj
[1] ;
18914 if (!args
) SWIG_fail
;
18915 swig_obj
[0] = args
;
18916 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFontDialog
, 0 | 0 );
18917 if (!SWIG_IsOK(res1
)) {
18918 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontDialog_GetFontData" "', expected argument " "1"" of type '" "wxFontDialog *""'");
18920 arg1
= reinterpret_cast< wxFontDialog
* >(argp1
);
18922 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18924 wxFontData
&_result_ref
= (arg1
)->GetFontData();
18925 result
= (wxFontData
*) &_result_ref
;
18927 wxPyEndAllowThreads(__tstate
);
18928 if (PyErr_Occurred()) SWIG_fail
;
18930 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFontData
, 0 | 0 );
18937 SWIGINTERN PyObject
*FontDialog_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18939 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
18940 SWIG_TypeNewClientData(SWIGTYPE_p_wxFontDialog
, SWIG_NewClientData(obj
));
18941 return SWIG_Py_Void();
18944 SWIGINTERN PyObject
*FontDialog_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18945 return SWIG_Python_InitShadowInstance(args
);
18948 SWIGINTERN PyObject
*_wrap_GetFontFromUser(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18949 PyObject
*resultobj
= 0;
18950 wxWindow
*arg1
= (wxWindow
*) NULL
;
18951 wxFont
const &arg2_defvalue
= wxNullFont
;
18952 wxFont
*arg2
= (wxFont
*) &arg2_defvalue
;
18953 wxString
const &arg3_defvalue
= wxPyEmptyString
;
18954 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
18960 bool temp3
= false ;
18961 PyObject
* obj0
= 0 ;
18962 PyObject
* obj1
= 0 ;
18963 PyObject
* obj2
= 0 ;
18964 char * kwnames
[] = {
18965 (char *) "parent",(char *) "fontInit",(char *) "caption", NULL
18968 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:GetFontFromUser",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
18970 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
18971 if (!SWIG_IsOK(res1
)) {
18972 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GetFontFromUser" "', expected argument " "1"" of type '" "wxWindow *""'");
18974 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
18977 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxFont
, 0 | 0);
18978 if (!SWIG_IsOK(res2
)) {
18979 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GetFontFromUser" "', expected argument " "2"" of type '" "wxFont const &""'");
18982 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GetFontFromUser" "', expected argument " "2"" of type '" "wxFont const &""'");
18984 arg2
= reinterpret_cast< wxFont
* >(argp2
);
18988 arg3
= wxString_in_helper(obj2
);
18989 if (arg3
== NULL
) SWIG_fail
;
18994 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18995 result
= wxGetFontFromUser(arg1
,(wxFont
const &)*arg2
,(wxString
const &)*arg3
);
18996 wxPyEndAllowThreads(__tstate
);
18997 if (PyErr_Occurred()) SWIG_fail
;
18999 resultobj
= SWIG_NewPointerObj((new wxFont(static_cast< const wxFont
& >(result
))), SWIGTYPE_p_wxFont
, SWIG_POINTER_OWN
| 0 );
19014 SWIGINTERN PyObject
*_wrap_new_MessageDialog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19015 PyObject
*resultobj
= 0;
19016 wxWindow
*arg1
= (wxWindow
*) 0 ;
19017 wxString
*arg2
= 0 ;
19018 wxString
const &arg3_defvalue
= wxPyMessageBoxCaptionStr
;
19019 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
19020 long arg4
= (long) wxOK
|wxCANCEL
|wxCENTRE
;
19021 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
19022 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
19023 wxMessageDialog
*result
= 0 ;
19026 bool temp2
= false ;
19027 bool temp3
= false ;
19031 PyObject
* obj0
= 0 ;
19032 PyObject
* obj1
= 0 ;
19033 PyObject
* obj2
= 0 ;
19034 PyObject
* obj3
= 0 ;
19035 PyObject
* obj4
= 0 ;
19036 char * kwnames
[] = {
19037 (char *) "parent",(char *) "message",(char *) "caption",(char *) "style",(char *) "pos", NULL
19040 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:new_MessageDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
19041 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
19042 if (!SWIG_IsOK(res1
)) {
19043 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_MessageDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
19045 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
19047 arg2
= wxString_in_helper(obj1
);
19048 if (arg2
== NULL
) SWIG_fail
;
19053 arg3
= wxString_in_helper(obj2
);
19054 if (arg3
== NULL
) SWIG_fail
;
19059 ecode4
= SWIG_AsVal_long(obj3
, &val4
);
19060 if (!SWIG_IsOK(ecode4
)) {
19061 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_MessageDialog" "', expected argument " "4"" of type '" "long""'");
19063 arg4
= static_cast< long >(val4
);
19068 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
19072 if (!wxPyCheckForApp()) SWIG_fail
;
19073 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19074 result
= (wxMessageDialog
*)new wxMessageDialog(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
,(wxPoint
const &)*arg5
);
19075 wxPyEndAllowThreads(__tstate
);
19076 if (PyErr_Occurred()) SWIG_fail
;
19078 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMessageDialog
, SWIG_POINTER_NEW
| 0 );
19101 SWIGINTERN PyObject
*MessageDialog_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19103 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
19104 SWIG_TypeNewClientData(SWIGTYPE_p_wxMessageDialog
, SWIG_NewClientData(obj
));
19105 return SWIG_Py_Void();
19108 SWIGINTERN PyObject
*MessageDialog_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19109 return SWIG_Python_InitShadowInstance(args
);
19112 SWIGINTERN PyObject
*_wrap_new_ProgressDialog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19113 PyObject
*resultobj
= 0;
19114 wxString
*arg1
= 0 ;
19115 wxString
*arg2
= 0 ;
19116 int arg3
= (int) 100 ;
19117 wxWindow
*arg4
= (wxWindow
*) NULL
;
19118 int arg5
= (int) wxPD_AUTO_HIDE
|wxPD_APP_MODAL
;
19119 wxProgressDialog
*result
= 0 ;
19120 bool temp1
= false ;
19121 bool temp2
= false ;
19128 PyObject
* obj0
= 0 ;
19129 PyObject
* obj1
= 0 ;
19130 PyObject
* obj2
= 0 ;
19131 PyObject
* obj3
= 0 ;
19132 PyObject
* obj4
= 0 ;
19133 char * kwnames
[] = {
19134 (char *) "title",(char *) "message",(char *) "maximum",(char *) "parent",(char *) "style", NULL
19137 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:new_ProgressDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
19139 arg1
= wxString_in_helper(obj0
);
19140 if (arg1
== NULL
) SWIG_fail
;
19144 arg2
= wxString_in_helper(obj1
);
19145 if (arg2
== NULL
) SWIG_fail
;
19149 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
19150 if (!SWIG_IsOK(ecode3
)) {
19151 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_ProgressDialog" "', expected argument " "3"" of type '" "int""'");
19153 arg3
= static_cast< int >(val3
);
19156 res4
= SWIG_ConvertPtr(obj3
, &argp4
,SWIGTYPE_p_wxWindow
, 0 | 0 );
19157 if (!SWIG_IsOK(res4
)) {
19158 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "new_ProgressDialog" "', expected argument " "4"" of type '" "wxWindow *""'");
19160 arg4
= reinterpret_cast< wxWindow
* >(argp4
);
19163 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
19164 if (!SWIG_IsOK(ecode5
)) {
19165 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_ProgressDialog" "', expected argument " "5"" of type '" "int""'");
19167 arg5
= static_cast< int >(val5
);
19170 if (!wxPyCheckForApp()) SWIG_fail
;
19171 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19172 result
= (wxProgressDialog
*)new wxProgressDialog((wxString
const &)*arg1
,(wxString
const &)*arg2
,arg3
,arg4
,arg5
);
19173 wxPyEndAllowThreads(__tstate
);
19174 if (PyErr_Occurred()) SWIG_fail
;
19176 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxProgressDialog
, SWIG_POINTER_NEW
| 0 );
19199 SWIGINTERN PyObject
*_wrap_ProgressDialog_Update(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19200 PyObject
*resultobj
= 0;
19201 wxProgressDialog
*arg1
= (wxProgressDialog
*) 0 ;
19203 wxString
const &arg3_defvalue
= wxPyEmptyString
;
19204 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
19210 bool temp3
= false ;
19211 PyObject
* obj0
= 0 ;
19212 PyObject
* obj1
= 0 ;
19213 PyObject
* obj2
= 0 ;
19214 char * kwnames
[] = {
19215 (char *) "self",(char *) "value",(char *) "newmsg", NULL
19218 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ProgressDialog_Update",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
19219 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxProgressDialog
, 0 | 0 );
19220 if (!SWIG_IsOK(res1
)) {
19221 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ProgressDialog_Update" "', expected argument " "1"" of type '" "wxProgressDialog *""'");
19223 arg1
= reinterpret_cast< wxProgressDialog
* >(argp1
);
19224 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
19225 if (!SWIG_IsOK(ecode2
)) {
19226 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ProgressDialog_Update" "', expected argument " "2"" of type '" "int""'");
19228 arg2
= static_cast< int >(val2
);
19231 arg3
= wxString_in_helper(obj2
);
19232 if (arg3
== NULL
) SWIG_fail
;
19237 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19238 result
= (bool)(arg1
)->Update(arg2
,(wxString
const &)*arg3
);
19239 wxPyEndAllowThreads(__tstate
);
19240 if (PyErr_Occurred()) SWIG_fail
;
19243 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19259 SWIGINTERN PyObject
*_wrap_ProgressDialog_Resume(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19260 PyObject
*resultobj
= 0;
19261 wxProgressDialog
*arg1
= (wxProgressDialog
*) 0 ;
19264 PyObject
*swig_obj
[1] ;
19266 if (!args
) SWIG_fail
;
19267 swig_obj
[0] = args
;
19268 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxProgressDialog
, 0 | 0 );
19269 if (!SWIG_IsOK(res1
)) {
19270 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ProgressDialog_Resume" "', expected argument " "1"" of type '" "wxProgressDialog *""'");
19272 arg1
= reinterpret_cast< wxProgressDialog
* >(argp1
);
19274 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19276 wxPyEndAllowThreads(__tstate
);
19277 if (PyErr_Occurred()) SWIG_fail
;
19279 resultobj
= SWIG_Py_Void();
19286 SWIGINTERN PyObject
*ProgressDialog_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19288 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
19289 SWIG_TypeNewClientData(SWIGTYPE_p_wxProgressDialog
, SWIG_NewClientData(obj
));
19290 return SWIG_Py_Void();
19293 SWIGINTERN PyObject
*ProgressDialog_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19294 return SWIG_Python_InitShadowInstance(args
);
19297 SWIGINTERN PyObject
*_wrap_new_FindDialogEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19298 PyObject
*resultobj
= 0;
19299 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
19300 int arg2
= (int) 0 ;
19301 wxFindDialogEvent
*result
= 0 ;
19306 PyObject
* obj0
= 0 ;
19307 PyObject
* obj1
= 0 ;
19308 char * kwnames
[] = {
19309 (char *) "commandType",(char *) "id", NULL
19312 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_FindDialogEvent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19314 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
19315 if (!SWIG_IsOK(ecode1
)) {
19316 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_FindDialogEvent" "', expected argument " "1"" of type '" "wxEventType""'");
19318 arg1
= static_cast< wxEventType
>(val1
);
19321 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
19322 if (!SWIG_IsOK(ecode2
)) {
19323 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_FindDialogEvent" "', expected argument " "2"" of type '" "int""'");
19325 arg2
= static_cast< int >(val2
);
19328 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19329 result
= (wxFindDialogEvent
*)new wxFindDialogEvent(arg1
,arg2
);
19330 wxPyEndAllowThreads(__tstate
);
19331 if (PyErr_Occurred()) SWIG_fail
;
19333 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFindDialogEvent
, SWIG_POINTER_NEW
| 0 );
19340 SWIGINTERN PyObject
*_wrap_FindDialogEvent_GetFlags(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19341 PyObject
*resultobj
= 0;
19342 wxFindDialogEvent
*arg1
= (wxFindDialogEvent
*) 0 ;
19346 PyObject
*swig_obj
[1] ;
19348 if (!args
) SWIG_fail
;
19349 swig_obj
[0] = args
;
19350 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFindDialogEvent
, 0 | 0 );
19351 if (!SWIG_IsOK(res1
)) {
19352 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FindDialogEvent_GetFlags" "', expected argument " "1"" of type '" "wxFindDialogEvent *""'");
19354 arg1
= reinterpret_cast< wxFindDialogEvent
* >(argp1
);
19356 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19357 result
= (int)(arg1
)->GetFlags();
19358 wxPyEndAllowThreads(__tstate
);
19359 if (PyErr_Occurred()) SWIG_fail
;
19361 resultobj
= SWIG_From_int(static_cast< int >(result
));
19368 SWIGINTERN PyObject
*_wrap_FindDialogEvent_GetFindString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19369 PyObject
*resultobj
= 0;
19370 wxFindDialogEvent
*arg1
= (wxFindDialogEvent
*) 0 ;
19371 wxString
*result
= 0 ;
19374 PyObject
*swig_obj
[1] ;
19376 if (!args
) SWIG_fail
;
19377 swig_obj
[0] = args
;
19378 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFindDialogEvent
, 0 | 0 );
19379 if (!SWIG_IsOK(res1
)) {
19380 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FindDialogEvent_GetFindString" "', expected argument " "1"" of type '" "wxFindDialogEvent *""'");
19382 arg1
= reinterpret_cast< wxFindDialogEvent
* >(argp1
);
19384 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19386 wxString
const &_result_ref
= (arg1
)->GetFindString();
19387 result
= (wxString
*) &_result_ref
;
19389 wxPyEndAllowThreads(__tstate
);
19390 if (PyErr_Occurred()) SWIG_fail
;
19394 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
19396 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
19405 SWIGINTERN PyObject
*_wrap_FindDialogEvent_GetReplaceString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19406 PyObject
*resultobj
= 0;
19407 wxFindDialogEvent
*arg1
= (wxFindDialogEvent
*) 0 ;
19408 wxString
*result
= 0 ;
19411 PyObject
*swig_obj
[1] ;
19413 if (!args
) SWIG_fail
;
19414 swig_obj
[0] = args
;
19415 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFindDialogEvent
, 0 | 0 );
19416 if (!SWIG_IsOK(res1
)) {
19417 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FindDialogEvent_GetReplaceString" "', expected argument " "1"" of type '" "wxFindDialogEvent *""'");
19419 arg1
= reinterpret_cast< wxFindDialogEvent
* >(argp1
);
19421 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19423 wxString
const &_result_ref
= (arg1
)->GetReplaceString();
19424 result
= (wxString
*) &_result_ref
;
19426 wxPyEndAllowThreads(__tstate
);
19427 if (PyErr_Occurred()) SWIG_fail
;
19431 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
19433 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
19442 SWIGINTERN PyObject
*_wrap_FindDialogEvent_GetDialog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19443 PyObject
*resultobj
= 0;
19444 wxFindDialogEvent
*arg1
= (wxFindDialogEvent
*) 0 ;
19445 wxFindReplaceDialog
*result
= 0 ;
19448 PyObject
*swig_obj
[1] ;
19450 if (!args
) SWIG_fail
;
19451 swig_obj
[0] = args
;
19452 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFindDialogEvent
, 0 | 0 );
19453 if (!SWIG_IsOK(res1
)) {
19454 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FindDialogEvent_GetDialog" "', expected argument " "1"" of type '" "wxFindDialogEvent *""'");
19456 arg1
= reinterpret_cast< wxFindDialogEvent
* >(argp1
);
19458 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19459 result
= (wxFindReplaceDialog
*)(arg1
)->GetDialog();
19460 wxPyEndAllowThreads(__tstate
);
19461 if (PyErr_Occurred()) SWIG_fail
;
19463 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFindReplaceDialog
, 0 | 0 );
19470 SWIGINTERN PyObject
*_wrap_FindDialogEvent_SetFlags(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19471 PyObject
*resultobj
= 0;
19472 wxFindDialogEvent
*arg1
= (wxFindDialogEvent
*) 0 ;
19478 PyObject
* obj0
= 0 ;
19479 PyObject
* obj1
= 0 ;
19480 char * kwnames
[] = {
19481 (char *) "self",(char *) "flags", NULL
19484 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FindDialogEvent_SetFlags",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19485 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFindDialogEvent
, 0 | 0 );
19486 if (!SWIG_IsOK(res1
)) {
19487 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FindDialogEvent_SetFlags" "', expected argument " "1"" of type '" "wxFindDialogEvent *""'");
19489 arg1
= reinterpret_cast< wxFindDialogEvent
* >(argp1
);
19490 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
19491 if (!SWIG_IsOK(ecode2
)) {
19492 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "FindDialogEvent_SetFlags" "', expected argument " "2"" of type '" "int""'");
19494 arg2
= static_cast< int >(val2
);
19496 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19497 (arg1
)->SetFlags(arg2
);
19498 wxPyEndAllowThreads(__tstate
);
19499 if (PyErr_Occurred()) SWIG_fail
;
19501 resultobj
= SWIG_Py_Void();
19508 SWIGINTERN PyObject
*_wrap_FindDialogEvent_SetFindString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19509 PyObject
*resultobj
= 0;
19510 wxFindDialogEvent
*arg1
= (wxFindDialogEvent
*) 0 ;
19511 wxString
*arg2
= 0 ;
19514 bool temp2
= false ;
19515 PyObject
* obj0
= 0 ;
19516 PyObject
* obj1
= 0 ;
19517 char * kwnames
[] = {
19518 (char *) "self",(char *) "str", NULL
19521 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FindDialogEvent_SetFindString",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19522 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFindDialogEvent
, 0 | 0 );
19523 if (!SWIG_IsOK(res1
)) {
19524 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FindDialogEvent_SetFindString" "', expected argument " "1"" of type '" "wxFindDialogEvent *""'");
19526 arg1
= reinterpret_cast< wxFindDialogEvent
* >(argp1
);
19528 arg2
= wxString_in_helper(obj1
);
19529 if (arg2
== NULL
) SWIG_fail
;
19533 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19534 (arg1
)->SetFindString((wxString
const &)*arg2
);
19535 wxPyEndAllowThreads(__tstate
);
19536 if (PyErr_Occurred()) SWIG_fail
;
19538 resultobj
= SWIG_Py_Void();
19553 SWIGINTERN PyObject
*_wrap_FindDialogEvent_SetReplaceString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19554 PyObject
*resultobj
= 0;
19555 wxFindDialogEvent
*arg1
= (wxFindDialogEvent
*) 0 ;
19556 wxString
*arg2
= 0 ;
19559 bool temp2
= false ;
19560 PyObject
* obj0
= 0 ;
19561 PyObject
* obj1
= 0 ;
19562 char * kwnames
[] = {
19563 (char *) "self",(char *) "str", NULL
19566 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FindDialogEvent_SetReplaceString",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19567 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFindDialogEvent
, 0 | 0 );
19568 if (!SWIG_IsOK(res1
)) {
19569 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FindDialogEvent_SetReplaceString" "', expected argument " "1"" of type '" "wxFindDialogEvent *""'");
19571 arg1
= reinterpret_cast< wxFindDialogEvent
* >(argp1
);
19573 arg2
= wxString_in_helper(obj1
);
19574 if (arg2
== NULL
) SWIG_fail
;
19578 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19579 (arg1
)->SetReplaceString((wxString
const &)*arg2
);
19580 wxPyEndAllowThreads(__tstate
);
19581 if (PyErr_Occurred()) SWIG_fail
;
19583 resultobj
= SWIG_Py_Void();
19598 SWIGINTERN PyObject
*FindDialogEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19600 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
19601 SWIG_TypeNewClientData(SWIGTYPE_p_wxFindDialogEvent
, SWIG_NewClientData(obj
));
19602 return SWIG_Py_Void();
19605 SWIGINTERN PyObject
*FindDialogEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19606 return SWIG_Python_InitShadowInstance(args
);
19609 SWIGINTERN PyObject
*_wrap_new_FindReplaceData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19610 PyObject
*resultobj
= 0;
19611 int arg1
= (int) 0 ;
19612 wxFindReplaceData
*result
= 0 ;
19615 PyObject
* obj0
= 0 ;
19616 char * kwnames
[] = {
19617 (char *) "flags", NULL
19620 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_FindReplaceData",kwnames
,&obj0
)) SWIG_fail
;
19622 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
19623 if (!SWIG_IsOK(ecode1
)) {
19624 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_FindReplaceData" "', expected argument " "1"" of type '" "int""'");
19626 arg1
= static_cast< int >(val1
);
19629 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19630 result
= (wxFindReplaceData
*)new wxFindReplaceData(arg1
);
19631 wxPyEndAllowThreads(__tstate
);
19632 if (PyErr_Occurred()) SWIG_fail
;
19634 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFindReplaceData
, SWIG_POINTER_NEW
| 0 );
19641 SWIGINTERN PyObject
*_wrap_delete_FindReplaceData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19642 PyObject
*resultobj
= 0;
19643 wxFindReplaceData
*arg1
= (wxFindReplaceData
*) 0 ;
19646 PyObject
*swig_obj
[1] ;
19648 if (!args
) SWIG_fail
;
19649 swig_obj
[0] = args
;
19650 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFindReplaceData
, SWIG_POINTER_DISOWN
| 0 );
19651 if (!SWIG_IsOK(res1
)) {
19652 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_FindReplaceData" "', expected argument " "1"" of type '" "wxFindReplaceData *""'");
19654 arg1
= reinterpret_cast< wxFindReplaceData
* >(argp1
);
19656 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19659 wxPyEndAllowThreads(__tstate
);
19660 if (PyErr_Occurred()) SWIG_fail
;
19662 resultobj
= SWIG_Py_Void();
19669 SWIGINTERN PyObject
*_wrap_FindReplaceData_GetFindString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19670 PyObject
*resultobj
= 0;
19671 wxFindReplaceData
*arg1
= (wxFindReplaceData
*) 0 ;
19672 wxString
*result
= 0 ;
19675 PyObject
*swig_obj
[1] ;
19677 if (!args
) SWIG_fail
;
19678 swig_obj
[0] = args
;
19679 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFindReplaceData
, 0 | 0 );
19680 if (!SWIG_IsOK(res1
)) {
19681 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FindReplaceData_GetFindString" "', expected argument " "1"" of type '" "wxFindReplaceData *""'");
19683 arg1
= reinterpret_cast< wxFindReplaceData
* >(argp1
);
19685 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19687 wxString
const &_result_ref
= (arg1
)->GetFindString();
19688 result
= (wxString
*) &_result_ref
;
19690 wxPyEndAllowThreads(__tstate
);
19691 if (PyErr_Occurred()) SWIG_fail
;
19695 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
19697 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
19706 SWIGINTERN PyObject
*_wrap_FindReplaceData_GetReplaceString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19707 PyObject
*resultobj
= 0;
19708 wxFindReplaceData
*arg1
= (wxFindReplaceData
*) 0 ;
19709 wxString
*result
= 0 ;
19712 PyObject
*swig_obj
[1] ;
19714 if (!args
) SWIG_fail
;
19715 swig_obj
[0] = args
;
19716 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFindReplaceData
, 0 | 0 );
19717 if (!SWIG_IsOK(res1
)) {
19718 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FindReplaceData_GetReplaceString" "', expected argument " "1"" of type '" "wxFindReplaceData *""'");
19720 arg1
= reinterpret_cast< wxFindReplaceData
* >(argp1
);
19722 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19724 wxString
const &_result_ref
= (arg1
)->GetReplaceString();
19725 result
= (wxString
*) &_result_ref
;
19727 wxPyEndAllowThreads(__tstate
);
19728 if (PyErr_Occurred()) SWIG_fail
;
19732 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
19734 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
19743 SWIGINTERN PyObject
*_wrap_FindReplaceData_GetFlags(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19744 PyObject
*resultobj
= 0;
19745 wxFindReplaceData
*arg1
= (wxFindReplaceData
*) 0 ;
19749 PyObject
*swig_obj
[1] ;
19751 if (!args
) SWIG_fail
;
19752 swig_obj
[0] = args
;
19753 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFindReplaceData
, 0 | 0 );
19754 if (!SWIG_IsOK(res1
)) {
19755 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FindReplaceData_GetFlags" "', expected argument " "1"" of type '" "wxFindReplaceData *""'");
19757 arg1
= reinterpret_cast< wxFindReplaceData
* >(argp1
);
19759 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19760 result
= (int)(arg1
)->GetFlags();
19761 wxPyEndAllowThreads(__tstate
);
19762 if (PyErr_Occurred()) SWIG_fail
;
19764 resultobj
= SWIG_From_int(static_cast< int >(result
));
19771 SWIGINTERN PyObject
*_wrap_FindReplaceData_SetFlags(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19772 PyObject
*resultobj
= 0;
19773 wxFindReplaceData
*arg1
= (wxFindReplaceData
*) 0 ;
19779 PyObject
* obj0
= 0 ;
19780 PyObject
* obj1
= 0 ;
19781 char * kwnames
[] = {
19782 (char *) "self",(char *) "flags", NULL
19785 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FindReplaceData_SetFlags",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19786 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFindReplaceData
, 0 | 0 );
19787 if (!SWIG_IsOK(res1
)) {
19788 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FindReplaceData_SetFlags" "', expected argument " "1"" of type '" "wxFindReplaceData *""'");
19790 arg1
= reinterpret_cast< wxFindReplaceData
* >(argp1
);
19791 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
19792 if (!SWIG_IsOK(ecode2
)) {
19793 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "FindReplaceData_SetFlags" "', expected argument " "2"" of type '" "int""'");
19795 arg2
= static_cast< int >(val2
);
19797 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19798 (arg1
)->SetFlags(arg2
);
19799 wxPyEndAllowThreads(__tstate
);
19800 if (PyErr_Occurred()) SWIG_fail
;
19802 resultobj
= SWIG_Py_Void();
19809 SWIGINTERN PyObject
*_wrap_FindReplaceData_SetFindString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19810 PyObject
*resultobj
= 0;
19811 wxFindReplaceData
*arg1
= (wxFindReplaceData
*) 0 ;
19812 wxString
*arg2
= 0 ;
19815 bool temp2
= false ;
19816 PyObject
* obj0
= 0 ;
19817 PyObject
* obj1
= 0 ;
19818 char * kwnames
[] = {
19819 (char *) "self",(char *) "str", NULL
19822 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FindReplaceData_SetFindString",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19823 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFindReplaceData
, 0 | 0 );
19824 if (!SWIG_IsOK(res1
)) {
19825 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FindReplaceData_SetFindString" "', expected argument " "1"" of type '" "wxFindReplaceData *""'");
19827 arg1
= reinterpret_cast< wxFindReplaceData
* >(argp1
);
19829 arg2
= wxString_in_helper(obj1
);
19830 if (arg2
== NULL
) SWIG_fail
;
19834 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19835 (arg1
)->SetFindString((wxString
const &)*arg2
);
19836 wxPyEndAllowThreads(__tstate
);
19837 if (PyErr_Occurred()) SWIG_fail
;
19839 resultobj
= SWIG_Py_Void();
19854 SWIGINTERN PyObject
*_wrap_FindReplaceData_SetReplaceString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19855 PyObject
*resultobj
= 0;
19856 wxFindReplaceData
*arg1
= (wxFindReplaceData
*) 0 ;
19857 wxString
*arg2
= 0 ;
19860 bool temp2
= false ;
19861 PyObject
* obj0
= 0 ;
19862 PyObject
* obj1
= 0 ;
19863 char * kwnames
[] = {
19864 (char *) "self",(char *) "str", NULL
19867 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FindReplaceData_SetReplaceString",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19868 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFindReplaceData
, 0 | 0 );
19869 if (!SWIG_IsOK(res1
)) {
19870 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FindReplaceData_SetReplaceString" "', expected argument " "1"" of type '" "wxFindReplaceData *""'");
19872 arg1
= reinterpret_cast< wxFindReplaceData
* >(argp1
);
19874 arg2
= wxString_in_helper(obj1
);
19875 if (arg2
== NULL
) SWIG_fail
;
19879 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19880 (arg1
)->SetReplaceString((wxString
const &)*arg2
);
19881 wxPyEndAllowThreads(__tstate
);
19882 if (PyErr_Occurred()) SWIG_fail
;
19884 resultobj
= SWIG_Py_Void();
19899 SWIGINTERN PyObject
*FindReplaceData_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19901 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
19902 SWIG_TypeNewClientData(SWIGTYPE_p_wxFindReplaceData
, SWIG_NewClientData(obj
));
19903 return SWIG_Py_Void();
19906 SWIGINTERN PyObject
*FindReplaceData_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19907 return SWIG_Python_InitShadowInstance(args
);
19910 SWIGINTERN PyObject
*_wrap_new_FindReplaceDialog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19911 PyObject
*resultobj
= 0;
19912 wxWindow
*arg1
= (wxWindow
*) 0 ;
19913 wxFindReplaceData
*arg2
= (wxFindReplaceData
*) 0 ;
19914 wxString
*arg3
= 0 ;
19915 int arg4
= (int) 0 ;
19916 wxFindReplaceDialog
*result
= 0 ;
19921 bool temp3
= false ;
19924 PyObject
* obj0
= 0 ;
19925 PyObject
* obj1
= 0 ;
19926 PyObject
* obj2
= 0 ;
19927 PyObject
* obj3
= 0 ;
19928 char * kwnames
[] = {
19929 (char *) "parent",(char *) "data",(char *) "title",(char *) "style", NULL
19932 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:new_FindReplaceDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
19933 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
19934 if (!SWIG_IsOK(res1
)) {
19935 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_FindReplaceDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
19937 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
19938 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxFindReplaceData
, 0 | 0 );
19939 if (!SWIG_IsOK(res2
)) {
19940 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_FindReplaceDialog" "', expected argument " "2"" of type '" "wxFindReplaceData *""'");
19942 arg2
= reinterpret_cast< wxFindReplaceData
* >(argp2
);
19944 arg3
= wxString_in_helper(obj2
);
19945 if (arg3
== NULL
) SWIG_fail
;
19949 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
19950 if (!SWIG_IsOK(ecode4
)) {
19951 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_FindReplaceDialog" "', expected argument " "4"" of type '" "int""'");
19953 arg4
= static_cast< int >(val4
);
19956 if (!wxPyCheckForApp()) SWIG_fail
;
19957 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19958 result
= (wxFindReplaceDialog
*)new wxFindReplaceDialog(arg1
,arg2
,(wxString
const &)*arg3
,arg4
);
19959 wxPyEndAllowThreads(__tstate
);
19960 if (PyErr_Occurred()) SWIG_fail
;
19962 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFindReplaceDialog
, SWIG_POINTER_NEW
| 0 );
19977 SWIGINTERN PyObject
*_wrap_new_PreFindReplaceDialog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19978 PyObject
*resultobj
= 0;
19979 wxFindReplaceDialog
*result
= 0 ;
19981 if (!SWIG_Python_UnpackTuple(args
,"new_PreFindReplaceDialog",0,0,0)) SWIG_fail
;
19983 if (!wxPyCheckForApp()) SWIG_fail
;
19984 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19985 result
= (wxFindReplaceDialog
*)new wxFindReplaceDialog();
19986 wxPyEndAllowThreads(__tstate
);
19987 if (PyErr_Occurred()) SWIG_fail
;
19989 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFindReplaceDialog
, SWIG_POINTER_OWN
| 0 );
19996 SWIGINTERN PyObject
*_wrap_FindReplaceDialog_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19997 PyObject
*resultobj
= 0;
19998 wxFindReplaceDialog
*arg1
= (wxFindReplaceDialog
*) 0 ;
19999 wxWindow
*arg2
= (wxWindow
*) 0 ;
20000 wxFindReplaceData
*arg3
= (wxFindReplaceData
*) 0 ;
20001 wxString
*arg4
= 0 ;
20002 int arg5
= (int) 0 ;
20010 bool temp4
= false ;
20013 PyObject
* obj0
= 0 ;
20014 PyObject
* obj1
= 0 ;
20015 PyObject
* obj2
= 0 ;
20016 PyObject
* obj3
= 0 ;
20017 PyObject
* obj4
= 0 ;
20018 char * kwnames
[] = {
20019 (char *) "self",(char *) "parent",(char *) "data",(char *) "title",(char *) "style", NULL
20022 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:FindReplaceDialog_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
20023 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFindReplaceDialog
, 0 | 0 );
20024 if (!SWIG_IsOK(res1
)) {
20025 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FindReplaceDialog_Create" "', expected argument " "1"" of type '" "wxFindReplaceDialog *""'");
20027 arg1
= reinterpret_cast< wxFindReplaceDialog
* >(argp1
);
20028 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
20029 if (!SWIG_IsOK(res2
)) {
20030 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "FindReplaceDialog_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
20032 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
20033 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxFindReplaceData
, 0 | 0 );
20034 if (!SWIG_IsOK(res3
)) {
20035 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "FindReplaceDialog_Create" "', expected argument " "3"" of type '" "wxFindReplaceData *""'");
20037 arg3
= reinterpret_cast< wxFindReplaceData
* >(argp3
);
20039 arg4
= wxString_in_helper(obj3
);
20040 if (arg4
== NULL
) SWIG_fail
;
20044 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
20045 if (!SWIG_IsOK(ecode5
)) {
20046 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "FindReplaceDialog_Create" "', expected argument " "5"" of type '" "int""'");
20048 arg5
= static_cast< int >(val5
);
20051 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20052 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,arg5
);
20053 wxPyEndAllowThreads(__tstate
);
20054 if (PyErr_Occurred()) SWIG_fail
;
20057 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20073 SWIGINTERN PyObject
*_wrap_FindReplaceDialog_GetData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20074 PyObject
*resultobj
= 0;
20075 wxFindReplaceDialog
*arg1
= (wxFindReplaceDialog
*) 0 ;
20076 wxFindReplaceData
*result
= 0 ;
20079 PyObject
*swig_obj
[1] ;
20081 if (!args
) SWIG_fail
;
20082 swig_obj
[0] = args
;
20083 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFindReplaceDialog
, 0 | 0 );
20084 if (!SWIG_IsOK(res1
)) {
20085 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FindReplaceDialog_GetData" "', expected argument " "1"" of type '" "wxFindReplaceDialog *""'");
20087 arg1
= reinterpret_cast< wxFindReplaceDialog
* >(argp1
);
20089 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20090 result
= (wxFindReplaceData
*)(arg1
)->GetData();
20091 wxPyEndAllowThreads(__tstate
);
20092 if (PyErr_Occurred()) SWIG_fail
;
20094 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFindReplaceData
, 0 | 0 );
20101 SWIGINTERN PyObject
*_wrap_FindReplaceDialog_SetData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20102 PyObject
*resultobj
= 0;
20103 wxFindReplaceDialog
*arg1
= (wxFindReplaceDialog
*) 0 ;
20104 wxFindReplaceData
*arg2
= (wxFindReplaceData
*) 0 ;
20109 PyObject
* obj0
= 0 ;
20110 PyObject
* obj1
= 0 ;
20111 char * kwnames
[] = {
20112 (char *) "self",(char *) "data", NULL
20115 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FindReplaceDialog_SetData",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20116 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFindReplaceDialog
, 0 | 0 );
20117 if (!SWIG_IsOK(res1
)) {
20118 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FindReplaceDialog_SetData" "', expected argument " "1"" of type '" "wxFindReplaceDialog *""'");
20120 arg1
= reinterpret_cast< wxFindReplaceDialog
* >(argp1
);
20121 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxFindReplaceData
, 0 | 0 );
20122 if (!SWIG_IsOK(res2
)) {
20123 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "FindReplaceDialog_SetData" "', expected argument " "2"" of type '" "wxFindReplaceData *""'");
20125 arg2
= reinterpret_cast< wxFindReplaceData
* >(argp2
);
20127 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20128 (arg1
)->SetData(arg2
);
20129 wxPyEndAllowThreads(__tstate
);
20130 if (PyErr_Occurred()) SWIG_fail
;
20132 resultobj
= SWIG_Py_Void();
20139 SWIGINTERN PyObject
*FindReplaceDialog_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20141 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
20142 SWIG_TypeNewClientData(SWIGTYPE_p_wxFindReplaceDialog
, SWIG_NewClientData(obj
));
20143 return SWIG_Py_Void();
20146 SWIGINTERN PyObject
*FindReplaceDialog_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20147 return SWIG_Python_InitShadowInstance(args
);
20150 SWIGINTERN PyObject
*_wrap_new_MDIParentFrame(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20151 PyObject
*resultobj
= 0;
20152 wxWindow
*arg1
= (wxWindow
*) 0 ;
20153 int arg2
= (int) (int)-1 ;
20154 wxString
const &arg3_defvalue
= wxPyEmptyString
;
20155 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
20156 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
20157 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
20158 wxSize
const &arg5_defvalue
= wxDefaultSize
;
20159 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
20160 long arg6
= (long) wxDEFAULT_FRAME_STYLE
|wxVSCROLL
|wxHSCROLL
;
20161 wxString
const &arg7_defvalue
= wxPyFrameNameStr
;
20162 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
20163 wxMDIParentFrame
*result
= 0 ;
20168 bool temp3
= false ;
20173 bool temp7
= false ;
20174 PyObject
* obj0
= 0 ;
20175 PyObject
* obj1
= 0 ;
20176 PyObject
* obj2
= 0 ;
20177 PyObject
* obj3
= 0 ;
20178 PyObject
* obj4
= 0 ;
20179 PyObject
* obj5
= 0 ;
20180 PyObject
* obj6
= 0 ;
20181 char * kwnames
[] = {
20182 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
20185 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_MDIParentFrame",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
20186 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
20187 if (!SWIG_IsOK(res1
)) {
20188 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_MDIParentFrame" "', expected argument " "1"" of type '" "wxWindow *""'");
20190 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
20192 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
20193 if (!SWIG_IsOK(ecode2
)) {
20194 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_MDIParentFrame" "', expected argument " "2"" of type '" "int""'");
20196 arg2
= static_cast< int >(val2
);
20200 arg3
= wxString_in_helper(obj2
);
20201 if (arg3
== NULL
) SWIG_fail
;
20208 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
20214 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
20218 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
20219 if (!SWIG_IsOK(ecode6
)) {
20220 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_MDIParentFrame" "', expected argument " "6"" of type '" "long""'");
20222 arg6
= static_cast< long >(val6
);
20226 arg7
= wxString_in_helper(obj6
);
20227 if (arg7
== NULL
) SWIG_fail
;
20232 if (!wxPyCheckForApp()) SWIG_fail
;
20233 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20234 result
= (wxMDIParentFrame
*)new wxMDIParentFrame(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
20235 wxPyEndAllowThreads(__tstate
);
20236 if (PyErr_Occurred()) SWIG_fail
;
20238 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMDIParentFrame
, SWIG_POINTER_NEW
| 0 );
20261 SWIGINTERN PyObject
*_wrap_new_PreMDIParentFrame(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20262 PyObject
*resultobj
= 0;
20263 wxMDIParentFrame
*result
= 0 ;
20265 if (!SWIG_Python_UnpackTuple(args
,"new_PreMDIParentFrame",0,0,0)) SWIG_fail
;
20267 if (!wxPyCheckForApp()) SWIG_fail
;
20268 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20269 result
= (wxMDIParentFrame
*)new wxMDIParentFrame();
20270 wxPyEndAllowThreads(__tstate
);
20271 if (PyErr_Occurred()) SWIG_fail
;
20273 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMDIParentFrame
, SWIG_POINTER_OWN
| 0 );
20280 SWIGINTERN PyObject
*_wrap_MDIParentFrame_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20281 PyObject
*resultobj
= 0;
20282 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
20283 wxWindow
*arg2
= (wxWindow
*) 0 ;
20284 int arg3
= (int) (int)-1 ;
20285 wxString
const &arg4_defvalue
= wxPyEmptyString
;
20286 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
20287 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
20288 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
20289 wxSize
const &arg6_defvalue
= wxDefaultSize
;
20290 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
20291 long arg7
= (long) wxDEFAULT_FRAME_STYLE
|wxVSCROLL
|wxHSCROLL
;
20292 wxString
const &arg8_defvalue
= wxPyFrameNameStr
;
20293 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
20301 bool temp4
= false ;
20306 bool temp8
= false ;
20307 PyObject
* obj0
= 0 ;
20308 PyObject
* obj1
= 0 ;
20309 PyObject
* obj2
= 0 ;
20310 PyObject
* obj3
= 0 ;
20311 PyObject
* obj4
= 0 ;
20312 PyObject
* obj5
= 0 ;
20313 PyObject
* obj6
= 0 ;
20314 PyObject
* obj7
= 0 ;
20315 char * kwnames
[] = {
20316 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
20319 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:MDIParentFrame_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
20320 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMDIParentFrame
, 0 | 0 );
20321 if (!SWIG_IsOK(res1
)) {
20322 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MDIParentFrame_Create" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
20324 arg1
= reinterpret_cast< wxMDIParentFrame
* >(argp1
);
20325 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
20326 if (!SWIG_IsOK(res2
)) {
20327 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "MDIParentFrame_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
20329 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
20331 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
20332 if (!SWIG_IsOK(ecode3
)) {
20333 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "MDIParentFrame_Create" "', expected argument " "3"" of type '" "int""'");
20335 arg3
= static_cast< int >(val3
);
20339 arg4
= wxString_in_helper(obj3
);
20340 if (arg4
== NULL
) SWIG_fail
;
20347 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
20353 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
20357 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
20358 if (!SWIG_IsOK(ecode7
)) {
20359 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "MDIParentFrame_Create" "', expected argument " "7"" of type '" "long""'");
20361 arg7
= static_cast< long >(val7
);
20365 arg8
= wxString_in_helper(obj7
);
20366 if (arg8
== NULL
) SWIG_fail
;
20371 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20372 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
20373 wxPyEndAllowThreads(__tstate
);
20374 if (PyErr_Occurred()) SWIG_fail
;
20377 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20401 SWIGINTERN PyObject
*_wrap_MDIParentFrame_ActivateNext(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20402 PyObject
*resultobj
= 0;
20403 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
20406 PyObject
*swig_obj
[1] ;
20408 if (!args
) SWIG_fail
;
20409 swig_obj
[0] = args
;
20410 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMDIParentFrame
, 0 | 0 );
20411 if (!SWIG_IsOK(res1
)) {
20412 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MDIParentFrame_ActivateNext" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
20414 arg1
= reinterpret_cast< wxMDIParentFrame
* >(argp1
);
20416 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20417 (arg1
)->ActivateNext();
20418 wxPyEndAllowThreads(__tstate
);
20419 if (PyErr_Occurred()) SWIG_fail
;
20421 resultobj
= SWIG_Py_Void();
20428 SWIGINTERN PyObject
*_wrap_MDIParentFrame_ActivatePrevious(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20429 PyObject
*resultobj
= 0;
20430 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
20433 PyObject
*swig_obj
[1] ;
20435 if (!args
) SWIG_fail
;
20436 swig_obj
[0] = args
;
20437 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMDIParentFrame
, 0 | 0 );
20438 if (!SWIG_IsOK(res1
)) {
20439 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MDIParentFrame_ActivatePrevious" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
20441 arg1
= reinterpret_cast< wxMDIParentFrame
* >(argp1
);
20443 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20444 (arg1
)->ActivatePrevious();
20445 wxPyEndAllowThreads(__tstate
);
20446 if (PyErr_Occurred()) SWIG_fail
;
20448 resultobj
= SWIG_Py_Void();
20455 SWIGINTERN PyObject
*_wrap_MDIParentFrame_ArrangeIcons(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20456 PyObject
*resultobj
= 0;
20457 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
20460 PyObject
*swig_obj
[1] ;
20462 if (!args
) SWIG_fail
;
20463 swig_obj
[0] = args
;
20464 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMDIParentFrame
, 0 | 0 );
20465 if (!SWIG_IsOK(res1
)) {
20466 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MDIParentFrame_ArrangeIcons" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
20468 arg1
= reinterpret_cast< wxMDIParentFrame
* >(argp1
);
20470 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20471 (arg1
)->ArrangeIcons();
20472 wxPyEndAllowThreads(__tstate
);
20473 if (PyErr_Occurred()) SWIG_fail
;
20475 resultobj
= SWIG_Py_Void();
20482 SWIGINTERN PyObject
*_wrap_MDIParentFrame_Cascade(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20483 PyObject
*resultobj
= 0;
20484 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
20487 PyObject
*swig_obj
[1] ;
20489 if (!args
) SWIG_fail
;
20490 swig_obj
[0] = args
;
20491 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMDIParentFrame
, 0 | 0 );
20492 if (!SWIG_IsOK(res1
)) {
20493 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MDIParentFrame_Cascade" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
20495 arg1
= reinterpret_cast< wxMDIParentFrame
* >(argp1
);
20497 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20499 wxPyEndAllowThreads(__tstate
);
20500 if (PyErr_Occurred()) SWIG_fail
;
20502 resultobj
= SWIG_Py_Void();
20509 SWIGINTERN PyObject
*_wrap_MDIParentFrame_GetActiveChild(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20510 PyObject
*resultobj
= 0;
20511 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
20512 wxMDIChildFrame
*result
= 0 ;
20515 PyObject
*swig_obj
[1] ;
20517 if (!args
) SWIG_fail
;
20518 swig_obj
[0] = args
;
20519 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMDIParentFrame
, 0 | 0 );
20520 if (!SWIG_IsOK(res1
)) {
20521 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MDIParentFrame_GetActiveChild" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
20523 arg1
= reinterpret_cast< wxMDIParentFrame
* >(argp1
);
20525 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20526 result
= (wxMDIChildFrame
*)(arg1
)->GetActiveChild();
20527 wxPyEndAllowThreads(__tstate
);
20528 if (PyErr_Occurred()) SWIG_fail
;
20531 resultobj
= wxPyMake_wxObject(result
, (bool)0);
20539 SWIGINTERN PyObject
*_wrap_MDIParentFrame_GetClientWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20540 PyObject
*resultobj
= 0;
20541 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
20542 wxMDIClientWindow
*result
= 0 ;
20545 PyObject
*swig_obj
[1] ;
20547 if (!args
) SWIG_fail
;
20548 swig_obj
[0] = args
;
20549 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMDIParentFrame
, 0 | 0 );
20550 if (!SWIG_IsOK(res1
)) {
20551 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MDIParentFrame_GetClientWindow" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
20553 arg1
= reinterpret_cast< wxMDIParentFrame
* >(argp1
);
20555 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20556 result
= (wxMDIClientWindow
*)(arg1
)->GetClientWindow();
20557 wxPyEndAllowThreads(__tstate
);
20558 if (PyErr_Occurred()) SWIG_fail
;
20561 resultobj
= wxPyMake_wxObject(result
, (bool)0);
20569 SWIGINTERN PyObject
*_wrap_MDIParentFrame_GetToolBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20570 PyObject
*resultobj
= 0;
20571 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
20572 wxWindow
*result
= 0 ;
20575 PyObject
*swig_obj
[1] ;
20577 if (!args
) SWIG_fail
;
20578 swig_obj
[0] = args
;
20579 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMDIParentFrame
, 0 | 0 );
20580 if (!SWIG_IsOK(res1
)) {
20581 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MDIParentFrame_GetToolBar" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
20583 arg1
= reinterpret_cast< wxMDIParentFrame
* >(argp1
);
20585 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20586 result
= (wxWindow
*)(arg1
)->GetToolBar();
20587 wxPyEndAllowThreads(__tstate
);
20588 if (PyErr_Occurred()) SWIG_fail
;
20591 resultobj
= wxPyMake_wxObject(result
, 0);
20599 SWIGINTERN PyObject
*_wrap_MDIParentFrame_GetWindowMenu(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20600 PyObject
*resultobj
= 0;
20601 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
20602 wxMenu
*result
= 0 ;
20605 PyObject
*swig_obj
[1] ;
20607 if (!args
) SWIG_fail
;
20608 swig_obj
[0] = args
;
20609 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMDIParentFrame
, 0 | 0 );
20610 if (!SWIG_IsOK(res1
)) {
20611 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MDIParentFrame_GetWindowMenu" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
20613 arg1
= reinterpret_cast< wxMDIParentFrame
* >(argp1
);
20615 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20616 result
= (wxMenu
*)(arg1
)->GetWindowMenu();
20617 wxPyEndAllowThreads(__tstate
);
20618 if (PyErr_Occurred()) SWIG_fail
;
20621 resultobj
= wxPyMake_wxObject(result
, 0);
20629 SWIGINTERN PyObject
*_wrap_MDIParentFrame_SetWindowMenu(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20630 PyObject
*resultobj
= 0;
20631 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
20632 wxMenu
*arg2
= (wxMenu
*) 0 ;
20637 PyObject
* obj0
= 0 ;
20638 PyObject
* obj1
= 0 ;
20639 char * kwnames
[] = {
20640 (char *) "self",(char *) "menu", NULL
20643 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MDIParentFrame_SetWindowMenu",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20644 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMDIParentFrame
, 0 | 0 );
20645 if (!SWIG_IsOK(res1
)) {
20646 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MDIParentFrame_SetWindowMenu" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
20648 arg1
= reinterpret_cast< wxMDIParentFrame
* >(argp1
);
20649 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxMenu
, 0 | 0 );
20650 if (!SWIG_IsOK(res2
)) {
20651 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "MDIParentFrame_SetWindowMenu" "', expected argument " "2"" of type '" "wxMenu *""'");
20653 arg2
= reinterpret_cast< wxMenu
* >(argp2
);
20655 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20656 (arg1
)->SetWindowMenu(arg2
);
20657 wxPyEndAllowThreads(__tstate
);
20658 if (PyErr_Occurred()) SWIG_fail
;
20660 resultobj
= SWIG_Py_Void();
20667 SWIGINTERN PyObject
*_wrap_MDIParentFrame_Tile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20668 PyObject
*resultobj
= 0;
20669 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
20670 wxOrientation arg2
= (wxOrientation
) wxHORIZONTAL
;
20675 PyObject
* obj0
= 0 ;
20676 PyObject
* obj1
= 0 ;
20677 char * kwnames
[] = {
20678 (char *) "self",(char *) "orient", NULL
20681 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:MDIParentFrame_Tile",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20682 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMDIParentFrame
, 0 | 0 );
20683 if (!SWIG_IsOK(res1
)) {
20684 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MDIParentFrame_Tile" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
20686 arg1
= reinterpret_cast< wxMDIParentFrame
* >(argp1
);
20688 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
20689 if (!SWIG_IsOK(ecode2
)) {
20690 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "MDIParentFrame_Tile" "', expected argument " "2"" of type '" "wxOrientation""'");
20692 arg2
= static_cast< wxOrientation
>(val2
);
20695 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20696 (arg1
)->Tile(arg2
);
20697 wxPyEndAllowThreads(__tstate
);
20698 if (PyErr_Occurred()) SWIG_fail
;
20700 resultobj
= SWIG_Py_Void();
20707 SWIGINTERN PyObject
*MDIParentFrame_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20709 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
20710 SWIG_TypeNewClientData(SWIGTYPE_p_wxMDIParentFrame
, SWIG_NewClientData(obj
));
20711 return SWIG_Py_Void();
20714 SWIGINTERN PyObject
*MDIParentFrame_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20715 return SWIG_Python_InitShadowInstance(args
);
20718 SWIGINTERN PyObject
*_wrap_new_MDIChildFrame(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20719 PyObject
*resultobj
= 0;
20720 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
20721 int arg2
= (int) (int)-1 ;
20722 wxString
const &arg3_defvalue
= wxPyEmptyString
;
20723 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
20724 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
20725 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
20726 wxSize
const &arg5_defvalue
= wxDefaultSize
;
20727 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
20728 long arg6
= (long) wxDEFAULT_FRAME_STYLE
;
20729 wxString
const &arg7_defvalue
= wxPyFrameNameStr
;
20730 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
20731 wxMDIChildFrame
*result
= 0 ;
20736 bool temp3
= false ;
20741 bool temp7
= false ;
20742 PyObject
* obj0
= 0 ;
20743 PyObject
* obj1
= 0 ;
20744 PyObject
* obj2
= 0 ;
20745 PyObject
* obj3
= 0 ;
20746 PyObject
* obj4
= 0 ;
20747 PyObject
* obj5
= 0 ;
20748 PyObject
* obj6
= 0 ;
20749 char * kwnames
[] = {
20750 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
20753 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_MDIChildFrame",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
20754 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMDIParentFrame
, 0 | 0 );
20755 if (!SWIG_IsOK(res1
)) {
20756 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_MDIChildFrame" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
20758 arg1
= reinterpret_cast< wxMDIParentFrame
* >(argp1
);
20760 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
20761 if (!SWIG_IsOK(ecode2
)) {
20762 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_MDIChildFrame" "', expected argument " "2"" of type '" "int""'");
20764 arg2
= static_cast< int >(val2
);
20768 arg3
= wxString_in_helper(obj2
);
20769 if (arg3
== NULL
) SWIG_fail
;
20776 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
20782 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
20786 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
20787 if (!SWIG_IsOK(ecode6
)) {
20788 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_MDIChildFrame" "', expected argument " "6"" of type '" "long""'");
20790 arg6
= static_cast< long >(val6
);
20794 arg7
= wxString_in_helper(obj6
);
20795 if (arg7
== NULL
) SWIG_fail
;
20800 if (!wxPyCheckForApp()) SWIG_fail
;
20801 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20802 result
= (wxMDIChildFrame
*)new wxMDIChildFrame(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
20803 wxPyEndAllowThreads(__tstate
);
20804 if (PyErr_Occurred()) SWIG_fail
;
20806 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMDIChildFrame
, SWIG_POINTER_NEW
| 0 );
20829 SWIGINTERN PyObject
*_wrap_new_PreMDIChildFrame(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20830 PyObject
*resultobj
= 0;
20831 wxMDIChildFrame
*result
= 0 ;
20833 if (!SWIG_Python_UnpackTuple(args
,"new_PreMDIChildFrame",0,0,0)) SWIG_fail
;
20835 if (!wxPyCheckForApp()) SWIG_fail
;
20836 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20837 result
= (wxMDIChildFrame
*)new wxMDIChildFrame();
20838 wxPyEndAllowThreads(__tstate
);
20839 if (PyErr_Occurred()) SWIG_fail
;
20841 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMDIChildFrame
, SWIG_POINTER_OWN
| 0 );
20848 SWIGINTERN PyObject
*_wrap_MDIChildFrame_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20849 PyObject
*resultobj
= 0;
20850 wxMDIChildFrame
*arg1
= (wxMDIChildFrame
*) 0 ;
20851 wxMDIParentFrame
*arg2
= (wxMDIParentFrame
*) 0 ;
20852 int arg3
= (int) (int)-1 ;
20853 wxString
const &arg4_defvalue
= wxPyEmptyString
;
20854 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
20855 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
20856 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
20857 wxSize
const &arg6_defvalue
= wxDefaultSize
;
20858 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
20859 long arg7
= (long) wxDEFAULT_FRAME_STYLE
;
20860 wxString
const &arg8_defvalue
= wxPyFrameNameStr
;
20861 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
20869 bool temp4
= false ;
20874 bool temp8
= false ;
20875 PyObject
* obj0
= 0 ;
20876 PyObject
* obj1
= 0 ;
20877 PyObject
* obj2
= 0 ;
20878 PyObject
* obj3
= 0 ;
20879 PyObject
* obj4
= 0 ;
20880 PyObject
* obj5
= 0 ;
20881 PyObject
* obj6
= 0 ;
20882 PyObject
* obj7
= 0 ;
20883 char * kwnames
[] = {
20884 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
20887 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:MDIChildFrame_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
20888 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMDIChildFrame
, 0 | 0 );
20889 if (!SWIG_IsOK(res1
)) {
20890 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MDIChildFrame_Create" "', expected argument " "1"" of type '" "wxMDIChildFrame *""'");
20892 arg1
= reinterpret_cast< wxMDIChildFrame
* >(argp1
);
20893 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxMDIParentFrame
, 0 | 0 );
20894 if (!SWIG_IsOK(res2
)) {
20895 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "MDIChildFrame_Create" "', expected argument " "2"" of type '" "wxMDIParentFrame *""'");
20897 arg2
= reinterpret_cast< wxMDIParentFrame
* >(argp2
);
20899 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
20900 if (!SWIG_IsOK(ecode3
)) {
20901 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "MDIChildFrame_Create" "', expected argument " "3"" of type '" "int""'");
20903 arg3
= static_cast< int >(val3
);
20907 arg4
= wxString_in_helper(obj3
);
20908 if (arg4
== NULL
) SWIG_fail
;
20915 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
20921 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
20925 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
20926 if (!SWIG_IsOK(ecode7
)) {
20927 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "MDIChildFrame_Create" "', expected argument " "7"" of type '" "long""'");
20929 arg7
= static_cast< long >(val7
);
20933 arg8
= wxString_in_helper(obj7
);
20934 if (arg8
== NULL
) SWIG_fail
;
20939 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20940 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
20941 wxPyEndAllowThreads(__tstate
);
20942 if (PyErr_Occurred()) SWIG_fail
;
20945 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20969 SWIGINTERN PyObject
*_wrap_MDIChildFrame_Activate(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20970 PyObject
*resultobj
= 0;
20971 wxMDIChildFrame
*arg1
= (wxMDIChildFrame
*) 0 ;
20974 PyObject
*swig_obj
[1] ;
20976 if (!args
) SWIG_fail
;
20977 swig_obj
[0] = args
;
20978 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMDIChildFrame
, 0 | 0 );
20979 if (!SWIG_IsOK(res1
)) {
20980 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MDIChildFrame_Activate" "', expected argument " "1"" of type '" "wxMDIChildFrame *""'");
20982 arg1
= reinterpret_cast< wxMDIChildFrame
* >(argp1
);
20984 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20985 (arg1
)->Activate();
20986 wxPyEndAllowThreads(__tstate
);
20987 if (PyErr_Occurred()) SWIG_fail
;
20989 resultobj
= SWIG_Py_Void();
20996 SWIGINTERN PyObject
*MDIChildFrame_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20998 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
20999 SWIG_TypeNewClientData(SWIGTYPE_p_wxMDIChildFrame
, SWIG_NewClientData(obj
));
21000 return SWIG_Py_Void();
21003 SWIGINTERN PyObject
*MDIChildFrame_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21004 return SWIG_Python_InitShadowInstance(args
);
21007 SWIGINTERN PyObject
*_wrap_new_MDIClientWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21008 PyObject
*resultobj
= 0;
21009 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
21010 long arg2
= (long) 0 ;
21011 wxMDIClientWindow
*result
= 0 ;
21016 PyObject
* obj0
= 0 ;
21017 PyObject
* obj1
= 0 ;
21018 char * kwnames
[] = {
21019 (char *) "parent",(char *) "style", NULL
21022 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_MDIClientWindow",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21023 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMDIParentFrame
, 0 | 0 );
21024 if (!SWIG_IsOK(res1
)) {
21025 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_MDIClientWindow" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
21027 arg1
= reinterpret_cast< wxMDIParentFrame
* >(argp1
);
21029 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
21030 if (!SWIG_IsOK(ecode2
)) {
21031 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_MDIClientWindow" "', expected argument " "2"" of type '" "long""'");
21033 arg2
= static_cast< long >(val2
);
21036 if (!wxPyCheckForApp()) SWIG_fail
;
21037 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21038 result
= (wxMDIClientWindow
*)new wxMDIClientWindow(arg1
,arg2
);
21039 wxPyEndAllowThreads(__tstate
);
21040 if (PyErr_Occurred()) SWIG_fail
;
21042 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMDIClientWindow
, SWIG_POINTER_NEW
| 0 );
21049 SWIGINTERN PyObject
*_wrap_new_PreMDIClientWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21050 PyObject
*resultobj
= 0;
21051 wxMDIClientWindow
*result
= 0 ;
21053 if (!SWIG_Python_UnpackTuple(args
,"new_PreMDIClientWindow",0,0,0)) SWIG_fail
;
21055 if (!wxPyCheckForApp()) SWIG_fail
;
21056 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21057 result
= (wxMDIClientWindow
*)new wxMDIClientWindow();
21058 wxPyEndAllowThreads(__tstate
);
21059 if (PyErr_Occurred()) SWIG_fail
;
21061 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMDIClientWindow
, SWIG_POINTER_OWN
| 0 );
21068 SWIGINTERN PyObject
*_wrap_MDIClientWindow_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21069 PyObject
*resultobj
= 0;
21070 wxMDIClientWindow
*arg1
= (wxMDIClientWindow
*) 0 ;
21071 wxMDIParentFrame
*arg2
= (wxMDIParentFrame
*) 0 ;
21072 long arg3
= (long) 0 ;
21080 PyObject
* obj0
= 0 ;
21081 PyObject
* obj1
= 0 ;
21082 PyObject
* obj2
= 0 ;
21083 char * kwnames
[] = {
21084 (char *) "self",(char *) "parent",(char *) "style", NULL
21087 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:MDIClientWindow_Create",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
21088 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMDIClientWindow
, 0 | 0 );
21089 if (!SWIG_IsOK(res1
)) {
21090 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MDIClientWindow_Create" "', expected argument " "1"" of type '" "wxMDIClientWindow *""'");
21092 arg1
= reinterpret_cast< wxMDIClientWindow
* >(argp1
);
21093 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxMDIParentFrame
, 0 | 0 );
21094 if (!SWIG_IsOK(res2
)) {
21095 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "MDIClientWindow_Create" "', expected argument " "2"" of type '" "wxMDIParentFrame *""'");
21097 arg2
= reinterpret_cast< wxMDIParentFrame
* >(argp2
);
21099 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
21100 if (!SWIG_IsOK(ecode3
)) {
21101 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "MDIClientWindow_Create" "', expected argument " "3"" of type '" "long""'");
21103 arg3
= static_cast< long >(val3
);
21106 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21107 result
= (bool)(arg1
)->Create(arg2
,arg3
);
21108 wxPyEndAllowThreads(__tstate
);
21109 if (PyErr_Occurred()) SWIG_fail
;
21112 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21120 SWIGINTERN PyObject
*MDIClientWindow_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21122 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
21123 SWIG_TypeNewClientData(SWIGTYPE_p_wxMDIClientWindow
, SWIG_NewClientData(obj
));
21124 return SWIG_Py_Void();
21127 SWIGINTERN PyObject
*MDIClientWindow_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21128 return SWIG_Python_InitShadowInstance(args
);
21131 SWIGINTERN PyObject
*_wrap_new_PyWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21132 PyObject
*resultobj
= 0;
21133 wxWindow
*arg1
= (wxWindow
*) 0 ;
21134 int arg2
= (int) (int)-1 ;
21135 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
21136 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
21137 wxSize
const &arg4_defvalue
= wxDefaultSize
;
21138 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
21139 long arg5
= (long) 0 ;
21140 wxString
const &arg6_defvalue
= wxPyPanelNameStr
;
21141 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
21142 wxPyWindow
*result
= 0 ;
21151 bool temp6
= false ;
21152 PyObject
* obj0
= 0 ;
21153 PyObject
* obj1
= 0 ;
21154 PyObject
* obj2
= 0 ;
21155 PyObject
* obj3
= 0 ;
21156 PyObject
* obj4
= 0 ;
21157 PyObject
* obj5
= 0 ;
21158 char * kwnames
[] = {
21159 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
21162 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_PyWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
21163 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
21164 if (!SWIG_IsOK(res1
)) {
21165 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PyWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
21167 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
21169 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21170 if (!SWIG_IsOK(ecode2
)) {
21171 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_PyWindow" "', expected argument " "2"" of type '" "int""'");
21173 arg2
= static_cast< int >(val2
);
21178 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
21184 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
21188 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
21189 if (!SWIG_IsOK(ecode5
)) {
21190 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_PyWindow" "', expected argument " "5"" of type '" "long""'");
21192 arg5
= static_cast< long >(val5
);
21196 arg6
= wxString_in_helper(obj5
);
21197 if (arg6
== NULL
) SWIG_fail
;
21202 if (!wxPyCheckForApp()) SWIG_fail
;
21203 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21204 result
= (wxPyWindow
*)new wxPyWindow(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
21205 wxPyEndAllowThreads(__tstate
);
21206 if (PyErr_Occurred()) SWIG_fail
;
21208 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyWindow
, SWIG_POINTER_NEW
| 0 );
21223 SWIGINTERN PyObject
*_wrap_new_PrePyWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21224 PyObject
*resultobj
= 0;
21225 wxPyWindow
*result
= 0 ;
21227 if (!SWIG_Python_UnpackTuple(args
,"new_PrePyWindow",0,0,0)) SWIG_fail
;
21229 if (!wxPyCheckForApp()) SWIG_fail
;
21230 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21231 result
= (wxPyWindow
*)new wxPyWindow();
21232 wxPyEndAllowThreads(__tstate
);
21233 if (PyErr_Occurred()) SWIG_fail
;
21235 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyWindow
, SWIG_POINTER_OWN
| 0 );
21242 SWIGINTERN PyObject
*_wrap_PyWindow__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21243 PyObject
*resultobj
= 0;
21244 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
21245 PyObject
*arg2
= (PyObject
*) 0 ;
21246 PyObject
*arg3
= (PyObject
*) 0 ;
21249 PyObject
* obj0
= 0 ;
21250 PyObject
* obj1
= 0 ;
21251 PyObject
* obj2
= 0 ;
21252 char * kwnames
[] = {
21253 (char *) "self",(char *) "self",(char *) "_class", NULL
21256 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyWindow__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
21257 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyWindow
, 0 | 0 );
21258 if (!SWIG_IsOK(res1
)) {
21259 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyWindow__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyWindow *""'");
21261 arg1
= reinterpret_cast< wxPyWindow
* >(argp1
);
21265 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21266 (arg1
)->_setCallbackInfo(arg2
,arg3
);
21267 wxPyEndAllowThreads(__tstate
);
21268 if (PyErr_Occurred()) SWIG_fail
;
21270 resultobj
= SWIG_Py_Void();
21277 SWIGINTERN PyObject
*_wrap_PyWindow_SetBestSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21278 PyObject
*resultobj
= 0;
21279 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
21284 PyObject
* obj0
= 0 ;
21285 PyObject
* obj1
= 0 ;
21286 char * kwnames
[] = {
21287 (char *) "self",(char *) "size", NULL
21290 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyWindow_SetBestSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21291 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyWindow
, 0 | 0 );
21292 if (!SWIG_IsOK(res1
)) {
21293 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyWindow_SetBestSize" "', expected argument " "1"" of type '" "wxPyWindow *""'");
21295 arg1
= reinterpret_cast< wxPyWindow
* >(argp1
);
21298 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
21301 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21302 (arg1
)->SetBestSize((wxSize
const &)*arg2
);
21303 wxPyEndAllowThreads(__tstate
);
21304 if (PyErr_Occurred()) SWIG_fail
;
21306 resultobj
= SWIG_Py_Void();
21313 SWIGINTERN PyObject
*_wrap_PyWindow_DoEraseBackground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21314 PyObject
*resultobj
= 0;
21315 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
21316 wxDC
*arg2
= (wxDC
*) 0 ;
21322 PyObject
* obj0
= 0 ;
21323 PyObject
* obj1
= 0 ;
21324 char * kwnames
[] = {
21325 (char *) "self",(char *) "dc", NULL
21328 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyWindow_DoEraseBackground",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21329 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyWindow
, 0 | 0 );
21330 if (!SWIG_IsOK(res1
)) {
21331 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyWindow_DoEraseBackground" "', expected argument " "1"" of type '" "wxPyWindow *""'");
21333 arg1
= reinterpret_cast< wxPyWindow
* >(argp1
);
21334 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxDC
, 0 | 0 );
21335 if (!SWIG_IsOK(res2
)) {
21336 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PyWindow_DoEraseBackground" "', expected argument " "2"" of type '" "wxDC *""'");
21338 arg2
= reinterpret_cast< wxDC
* >(argp2
);
21340 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21341 result
= (bool)(arg1
)->DoEraseBackground(arg2
);
21342 wxPyEndAllowThreads(__tstate
);
21343 if (PyErr_Occurred()) SWIG_fail
;
21346 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21354 SWIGINTERN PyObject
*_wrap_PyWindow_DoMoveWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21355 PyObject
*resultobj
= 0;
21356 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
21371 PyObject
* obj0
= 0 ;
21372 PyObject
* obj1
= 0 ;
21373 PyObject
* obj2
= 0 ;
21374 PyObject
* obj3
= 0 ;
21375 PyObject
* obj4
= 0 ;
21376 char * kwnames
[] = {
21377 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
21380 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:PyWindow_DoMoveWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
21381 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyWindow
, 0 | 0 );
21382 if (!SWIG_IsOK(res1
)) {
21383 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyWindow_DoMoveWindow" "', expected argument " "1"" of type '" "wxPyWindow *""'");
21385 arg1
= reinterpret_cast< wxPyWindow
* >(argp1
);
21386 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21387 if (!SWIG_IsOK(ecode2
)) {
21388 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PyWindow_DoMoveWindow" "', expected argument " "2"" of type '" "int""'");
21390 arg2
= static_cast< int >(val2
);
21391 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
21392 if (!SWIG_IsOK(ecode3
)) {
21393 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PyWindow_DoMoveWindow" "', expected argument " "3"" of type '" "int""'");
21395 arg3
= static_cast< int >(val3
);
21396 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
21397 if (!SWIG_IsOK(ecode4
)) {
21398 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PyWindow_DoMoveWindow" "', expected argument " "4"" of type '" "int""'");
21400 arg4
= static_cast< int >(val4
);
21401 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
21402 if (!SWIG_IsOK(ecode5
)) {
21403 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PyWindow_DoMoveWindow" "', expected argument " "5"" of type '" "int""'");
21405 arg5
= static_cast< int >(val5
);
21407 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21408 (arg1
)->DoMoveWindow(arg2
,arg3
,arg4
,arg5
);
21409 wxPyEndAllowThreads(__tstate
);
21410 if (PyErr_Occurred()) SWIG_fail
;
21412 resultobj
= SWIG_Py_Void();
21419 SWIGINTERN PyObject
*_wrap_PyWindow_DoSetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21420 PyObject
*resultobj
= 0;
21421 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
21426 int arg6
= (int) wxSIZE_AUTO
;
21439 PyObject
* obj0
= 0 ;
21440 PyObject
* obj1
= 0 ;
21441 PyObject
* obj2
= 0 ;
21442 PyObject
* obj3
= 0 ;
21443 PyObject
* obj4
= 0 ;
21444 PyObject
* obj5
= 0 ;
21445 char * kwnames
[] = {
21446 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
21449 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:PyWindow_DoSetSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
21450 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyWindow
, 0 | 0 );
21451 if (!SWIG_IsOK(res1
)) {
21452 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyWindow_DoSetSize" "', expected argument " "1"" of type '" "wxPyWindow *""'");
21454 arg1
= reinterpret_cast< wxPyWindow
* >(argp1
);
21455 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21456 if (!SWIG_IsOK(ecode2
)) {
21457 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PyWindow_DoSetSize" "', expected argument " "2"" of type '" "int""'");
21459 arg2
= static_cast< int >(val2
);
21460 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
21461 if (!SWIG_IsOK(ecode3
)) {
21462 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PyWindow_DoSetSize" "', expected argument " "3"" of type '" "int""'");
21464 arg3
= static_cast< int >(val3
);
21465 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
21466 if (!SWIG_IsOK(ecode4
)) {
21467 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PyWindow_DoSetSize" "', expected argument " "4"" of type '" "int""'");
21469 arg4
= static_cast< int >(val4
);
21470 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
21471 if (!SWIG_IsOK(ecode5
)) {
21472 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PyWindow_DoSetSize" "', expected argument " "5"" of type '" "int""'");
21474 arg5
= static_cast< int >(val5
);
21476 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
21477 if (!SWIG_IsOK(ecode6
)) {
21478 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "PyWindow_DoSetSize" "', expected argument " "6"" of type '" "int""'");
21480 arg6
= static_cast< int >(val6
);
21483 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21484 (arg1
)->DoSetSize(arg2
,arg3
,arg4
,arg5
,arg6
);
21485 wxPyEndAllowThreads(__tstate
);
21486 if (PyErr_Occurred()) SWIG_fail
;
21488 resultobj
= SWIG_Py_Void();
21495 SWIGINTERN PyObject
*_wrap_PyWindow_DoSetClientSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21496 PyObject
*resultobj
= 0;
21497 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
21506 PyObject
* obj0
= 0 ;
21507 PyObject
* obj1
= 0 ;
21508 PyObject
* obj2
= 0 ;
21509 char * kwnames
[] = {
21510 (char *) "self",(char *) "width",(char *) "height", NULL
21513 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyWindow_DoSetClientSize",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
21514 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyWindow
, 0 | 0 );
21515 if (!SWIG_IsOK(res1
)) {
21516 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyWindow_DoSetClientSize" "', expected argument " "1"" of type '" "wxPyWindow *""'");
21518 arg1
= reinterpret_cast< wxPyWindow
* >(argp1
);
21519 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21520 if (!SWIG_IsOK(ecode2
)) {
21521 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PyWindow_DoSetClientSize" "', expected argument " "2"" of type '" "int""'");
21523 arg2
= static_cast< int >(val2
);
21524 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
21525 if (!SWIG_IsOK(ecode3
)) {
21526 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PyWindow_DoSetClientSize" "', expected argument " "3"" of type '" "int""'");
21528 arg3
= static_cast< int >(val3
);
21530 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21531 (arg1
)->DoSetClientSize(arg2
,arg3
);
21532 wxPyEndAllowThreads(__tstate
);
21533 if (PyErr_Occurred()) SWIG_fail
;
21535 resultobj
= SWIG_Py_Void();
21542 SWIGINTERN PyObject
*_wrap_PyWindow_DoSetVirtualSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21543 PyObject
*resultobj
= 0;
21544 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
21553 PyObject
* obj0
= 0 ;
21554 PyObject
* obj1
= 0 ;
21555 PyObject
* obj2
= 0 ;
21556 char * kwnames
[] = {
21557 (char *) "self",(char *) "x",(char *) "y", NULL
21560 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyWindow_DoSetVirtualSize",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
21561 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyWindow
, 0 | 0 );
21562 if (!SWIG_IsOK(res1
)) {
21563 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyWindow_DoSetVirtualSize" "', expected argument " "1"" of type '" "wxPyWindow *""'");
21565 arg1
= reinterpret_cast< wxPyWindow
* >(argp1
);
21566 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21567 if (!SWIG_IsOK(ecode2
)) {
21568 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PyWindow_DoSetVirtualSize" "', expected argument " "2"" of type '" "int""'");
21570 arg2
= static_cast< int >(val2
);
21571 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
21572 if (!SWIG_IsOK(ecode3
)) {
21573 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PyWindow_DoSetVirtualSize" "', expected argument " "3"" of type '" "int""'");
21575 arg3
= static_cast< int >(val3
);
21577 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21578 (arg1
)->DoSetVirtualSize(arg2
,arg3
);
21579 wxPyEndAllowThreads(__tstate
);
21580 if (PyErr_Occurred()) SWIG_fail
;
21582 resultobj
= SWIG_Py_Void();
21589 SWIGINTERN PyObject
*_wrap_PyWindow_DoGetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21590 PyObject
*resultobj
= 0;
21591 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
21592 int *arg2
= (int *) 0 ;
21593 int *arg3
= (int *) 0 ;
21597 int res2
= SWIG_TMPOBJ
;
21599 int res3
= SWIG_TMPOBJ
;
21600 PyObject
*swig_obj
[1] ;
21604 if (!args
) SWIG_fail
;
21605 swig_obj
[0] = args
;
21606 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyWindow
, 0 | 0 );
21607 if (!SWIG_IsOK(res1
)) {
21608 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyWindow_DoGetSize" "', expected argument " "1"" of type '" "wxPyWindow const *""'");
21610 arg1
= reinterpret_cast< wxPyWindow
* >(argp1
);
21612 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21613 ((wxPyWindow
const *)arg1
)->DoGetSize(arg2
,arg3
);
21614 wxPyEndAllowThreads(__tstate
);
21615 if (PyErr_Occurred()) SWIG_fail
;
21617 resultobj
= SWIG_Py_Void();
21618 if (SWIG_IsTmpObj(res2
)) {
21619 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
21621 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
21622 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
21624 if (SWIG_IsTmpObj(res3
)) {
21625 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
21627 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
21628 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
21636 SWIGINTERN PyObject
*_wrap_PyWindow_DoGetClientSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21637 PyObject
*resultobj
= 0;
21638 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
21639 int *arg2
= (int *) 0 ;
21640 int *arg3
= (int *) 0 ;
21644 int res2
= SWIG_TMPOBJ
;
21646 int res3
= SWIG_TMPOBJ
;
21647 PyObject
*swig_obj
[1] ;
21651 if (!args
) SWIG_fail
;
21652 swig_obj
[0] = args
;
21653 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyWindow
, 0 | 0 );
21654 if (!SWIG_IsOK(res1
)) {
21655 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyWindow_DoGetClientSize" "', expected argument " "1"" of type '" "wxPyWindow const *""'");
21657 arg1
= reinterpret_cast< wxPyWindow
* >(argp1
);
21659 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21660 ((wxPyWindow
const *)arg1
)->DoGetClientSize(arg2
,arg3
);
21661 wxPyEndAllowThreads(__tstate
);
21662 if (PyErr_Occurred()) SWIG_fail
;
21664 resultobj
= SWIG_Py_Void();
21665 if (SWIG_IsTmpObj(res2
)) {
21666 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
21668 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
21669 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
21671 if (SWIG_IsTmpObj(res3
)) {
21672 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
21674 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
21675 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
21683 SWIGINTERN PyObject
*_wrap_PyWindow_DoGetPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21684 PyObject
*resultobj
= 0;
21685 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
21686 int *arg2
= (int *) 0 ;
21687 int *arg3
= (int *) 0 ;
21691 int res2
= SWIG_TMPOBJ
;
21693 int res3
= SWIG_TMPOBJ
;
21694 PyObject
*swig_obj
[1] ;
21698 if (!args
) SWIG_fail
;
21699 swig_obj
[0] = args
;
21700 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyWindow
, 0 | 0 );
21701 if (!SWIG_IsOK(res1
)) {
21702 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyWindow_DoGetPosition" "', expected argument " "1"" of type '" "wxPyWindow const *""'");
21704 arg1
= reinterpret_cast< wxPyWindow
* >(argp1
);
21706 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21707 ((wxPyWindow
const *)arg1
)->DoGetPosition(arg2
,arg3
);
21708 wxPyEndAllowThreads(__tstate
);
21709 if (PyErr_Occurred()) SWIG_fail
;
21711 resultobj
= SWIG_Py_Void();
21712 if (SWIG_IsTmpObj(res2
)) {
21713 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
21715 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
21716 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
21718 if (SWIG_IsTmpObj(res3
)) {
21719 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
21721 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
21722 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
21730 SWIGINTERN PyObject
*_wrap_PyWindow_DoGetVirtualSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21731 PyObject
*resultobj
= 0;
21732 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
21736 PyObject
*swig_obj
[1] ;
21738 if (!args
) SWIG_fail
;
21739 swig_obj
[0] = args
;
21740 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyWindow
, 0 | 0 );
21741 if (!SWIG_IsOK(res1
)) {
21742 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyWindow_DoGetVirtualSize" "', expected argument " "1"" of type '" "wxPyWindow const *""'");
21744 arg1
= reinterpret_cast< wxPyWindow
* >(argp1
);
21746 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21747 result
= ((wxPyWindow
const *)arg1
)->DoGetVirtualSize();
21748 wxPyEndAllowThreads(__tstate
);
21749 if (PyErr_Occurred()) SWIG_fail
;
21751 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
21758 SWIGINTERN PyObject
*_wrap_PyWindow_DoGetBestSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21759 PyObject
*resultobj
= 0;
21760 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
21764 PyObject
*swig_obj
[1] ;
21766 if (!args
) SWIG_fail
;
21767 swig_obj
[0] = args
;
21768 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyWindow
, 0 | 0 );
21769 if (!SWIG_IsOK(res1
)) {
21770 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyWindow_DoGetBestSize" "', expected argument " "1"" of type '" "wxPyWindow const *""'");
21772 arg1
= reinterpret_cast< wxPyWindow
* >(argp1
);
21774 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21775 result
= ((wxPyWindow
const *)arg1
)->DoGetBestSize();
21776 wxPyEndAllowThreads(__tstate
);
21777 if (PyErr_Occurred()) SWIG_fail
;
21779 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
21786 SWIGINTERN PyObject
*_wrap_PyWindow_GetDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21787 PyObject
*resultobj
= 0;
21788 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
21789 SwigValueWrapper
<wxVisualAttributes
> result
;
21792 PyObject
*swig_obj
[1] ;
21794 if (!args
) SWIG_fail
;
21795 swig_obj
[0] = args
;
21796 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyWindow
, 0 | 0 );
21797 if (!SWIG_IsOK(res1
)) {
21798 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyWindow_GetDefaultAttributes" "', expected argument " "1"" of type '" "wxPyWindow *""'");
21800 arg1
= reinterpret_cast< wxPyWindow
* >(argp1
);
21802 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21803 result
= (arg1
)->GetDefaultAttributes();
21804 wxPyEndAllowThreads(__tstate
);
21805 if (PyErr_Occurred()) SWIG_fail
;
21807 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
21814 SWIGINTERN PyObject
*_wrap_PyWindow_OnInternalIdle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21815 PyObject
*resultobj
= 0;
21816 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
21819 PyObject
*swig_obj
[1] ;
21821 if (!args
) SWIG_fail
;
21822 swig_obj
[0] = args
;
21823 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyWindow
, 0 | 0 );
21824 if (!SWIG_IsOK(res1
)) {
21825 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyWindow_OnInternalIdle" "', expected argument " "1"" of type '" "wxPyWindow *""'");
21827 arg1
= reinterpret_cast< wxPyWindow
* >(argp1
);
21829 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21830 (arg1
)->OnInternalIdle();
21831 wxPyEndAllowThreads(__tstate
);
21832 if (PyErr_Occurred()) SWIG_fail
;
21834 resultobj
= SWIG_Py_Void();
21841 SWIGINTERN PyObject
*PyWindow_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21843 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
21844 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyWindow
, SWIG_NewClientData(obj
));
21845 return SWIG_Py_Void();
21848 SWIGINTERN PyObject
*PyWindow_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21849 return SWIG_Python_InitShadowInstance(args
);
21852 SWIGINTERN PyObject
*_wrap_new_PyPanel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21853 PyObject
*resultobj
= 0;
21854 wxWindow
*arg1
= (wxWindow
*) 0 ;
21855 int arg2
= (int) (int)-1 ;
21856 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
21857 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
21858 wxSize
const &arg4_defvalue
= wxDefaultSize
;
21859 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
21860 long arg5
= (long) 0 ;
21861 wxString
const &arg6_defvalue
= wxPyPanelNameStr
;
21862 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
21863 wxPyPanel
*result
= 0 ;
21872 bool temp6
= false ;
21873 PyObject
* obj0
= 0 ;
21874 PyObject
* obj1
= 0 ;
21875 PyObject
* obj2
= 0 ;
21876 PyObject
* obj3
= 0 ;
21877 PyObject
* obj4
= 0 ;
21878 PyObject
* obj5
= 0 ;
21879 char * kwnames
[] = {
21880 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
21883 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_PyPanel",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
21884 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
21885 if (!SWIG_IsOK(res1
)) {
21886 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PyPanel" "', expected argument " "1"" of type '" "wxWindow *""'");
21888 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
21890 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21891 if (!SWIG_IsOK(ecode2
)) {
21892 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_PyPanel" "', expected argument " "2"" of type '" "int""'");
21894 arg2
= static_cast< int >(val2
);
21899 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
21905 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
21909 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
21910 if (!SWIG_IsOK(ecode5
)) {
21911 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_PyPanel" "', expected argument " "5"" of type '" "long""'");
21913 arg5
= static_cast< long >(val5
);
21917 arg6
= wxString_in_helper(obj5
);
21918 if (arg6
== NULL
) SWIG_fail
;
21923 if (!wxPyCheckForApp()) SWIG_fail
;
21924 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21925 result
= (wxPyPanel
*)new wxPyPanel(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
21926 wxPyEndAllowThreads(__tstate
);
21927 if (PyErr_Occurred()) SWIG_fail
;
21929 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyPanel
, SWIG_POINTER_NEW
| 0 );
21944 SWIGINTERN PyObject
*_wrap_new_PrePyPanel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21945 PyObject
*resultobj
= 0;
21946 wxPyPanel
*result
= 0 ;
21948 if (!SWIG_Python_UnpackTuple(args
,"new_PrePyPanel",0,0,0)) SWIG_fail
;
21950 if (!wxPyCheckForApp()) SWIG_fail
;
21951 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21952 result
= (wxPyPanel
*)new wxPyPanel();
21953 wxPyEndAllowThreads(__tstate
);
21954 if (PyErr_Occurred()) SWIG_fail
;
21956 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyPanel
, SWIG_POINTER_OWN
| 0 );
21963 SWIGINTERN PyObject
*_wrap_PyPanel__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21964 PyObject
*resultobj
= 0;
21965 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
21966 PyObject
*arg2
= (PyObject
*) 0 ;
21967 PyObject
*arg3
= (PyObject
*) 0 ;
21970 PyObject
* obj0
= 0 ;
21971 PyObject
* obj1
= 0 ;
21972 PyObject
* obj2
= 0 ;
21973 char * kwnames
[] = {
21974 (char *) "self",(char *) "self",(char *) "_class", NULL
21977 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyPanel__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
21978 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPanel
, 0 | 0 );
21979 if (!SWIG_IsOK(res1
)) {
21980 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPanel__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyPanel *""'");
21982 arg1
= reinterpret_cast< wxPyPanel
* >(argp1
);
21986 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21987 (arg1
)->_setCallbackInfo(arg2
,arg3
);
21988 wxPyEndAllowThreads(__tstate
);
21989 if (PyErr_Occurred()) SWIG_fail
;
21991 resultobj
= SWIG_Py_Void();
21998 SWIGINTERN PyObject
*_wrap_PyPanel_SetBestSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21999 PyObject
*resultobj
= 0;
22000 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
22005 PyObject
* obj0
= 0 ;
22006 PyObject
* obj1
= 0 ;
22007 char * kwnames
[] = {
22008 (char *) "self",(char *) "size", NULL
22011 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPanel_SetBestSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22012 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPanel
, 0 | 0 );
22013 if (!SWIG_IsOK(res1
)) {
22014 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPanel_SetBestSize" "', expected argument " "1"" of type '" "wxPyPanel *""'");
22016 arg1
= reinterpret_cast< wxPyPanel
* >(argp1
);
22019 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
22022 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22023 (arg1
)->SetBestSize((wxSize
const &)*arg2
);
22024 wxPyEndAllowThreads(__tstate
);
22025 if (PyErr_Occurred()) SWIG_fail
;
22027 resultobj
= SWIG_Py_Void();
22034 SWIGINTERN PyObject
*_wrap_PyPanel_DoEraseBackground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22035 PyObject
*resultobj
= 0;
22036 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
22037 wxDC
*arg2
= (wxDC
*) 0 ;
22043 PyObject
* obj0
= 0 ;
22044 PyObject
* obj1
= 0 ;
22045 char * kwnames
[] = {
22046 (char *) "self",(char *) "dc", NULL
22049 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPanel_DoEraseBackground",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22050 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPanel
, 0 | 0 );
22051 if (!SWIG_IsOK(res1
)) {
22052 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPanel_DoEraseBackground" "', expected argument " "1"" of type '" "wxPyPanel *""'");
22054 arg1
= reinterpret_cast< wxPyPanel
* >(argp1
);
22055 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxDC
, 0 | 0 );
22056 if (!SWIG_IsOK(res2
)) {
22057 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PyPanel_DoEraseBackground" "', expected argument " "2"" of type '" "wxDC *""'");
22059 arg2
= reinterpret_cast< wxDC
* >(argp2
);
22061 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22062 result
= (bool)(arg1
)->DoEraseBackground(arg2
);
22063 wxPyEndAllowThreads(__tstate
);
22064 if (PyErr_Occurred()) SWIG_fail
;
22067 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22075 SWIGINTERN PyObject
*_wrap_PyPanel_DoMoveWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22076 PyObject
*resultobj
= 0;
22077 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
22092 PyObject
* obj0
= 0 ;
22093 PyObject
* obj1
= 0 ;
22094 PyObject
* obj2
= 0 ;
22095 PyObject
* obj3
= 0 ;
22096 PyObject
* obj4
= 0 ;
22097 char * kwnames
[] = {
22098 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
22101 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:PyPanel_DoMoveWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
22102 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPanel
, 0 | 0 );
22103 if (!SWIG_IsOK(res1
)) {
22104 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPanel_DoMoveWindow" "', expected argument " "1"" of type '" "wxPyPanel *""'");
22106 arg1
= reinterpret_cast< wxPyPanel
* >(argp1
);
22107 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22108 if (!SWIG_IsOK(ecode2
)) {
22109 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PyPanel_DoMoveWindow" "', expected argument " "2"" of type '" "int""'");
22111 arg2
= static_cast< int >(val2
);
22112 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
22113 if (!SWIG_IsOK(ecode3
)) {
22114 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PyPanel_DoMoveWindow" "', expected argument " "3"" of type '" "int""'");
22116 arg3
= static_cast< int >(val3
);
22117 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
22118 if (!SWIG_IsOK(ecode4
)) {
22119 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PyPanel_DoMoveWindow" "', expected argument " "4"" of type '" "int""'");
22121 arg4
= static_cast< int >(val4
);
22122 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
22123 if (!SWIG_IsOK(ecode5
)) {
22124 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PyPanel_DoMoveWindow" "', expected argument " "5"" of type '" "int""'");
22126 arg5
= static_cast< int >(val5
);
22128 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22129 (arg1
)->DoMoveWindow(arg2
,arg3
,arg4
,arg5
);
22130 wxPyEndAllowThreads(__tstate
);
22131 if (PyErr_Occurred()) SWIG_fail
;
22133 resultobj
= SWIG_Py_Void();
22140 SWIGINTERN PyObject
*_wrap_PyPanel_DoSetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22141 PyObject
*resultobj
= 0;
22142 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
22147 int arg6
= (int) wxSIZE_AUTO
;
22160 PyObject
* obj0
= 0 ;
22161 PyObject
* obj1
= 0 ;
22162 PyObject
* obj2
= 0 ;
22163 PyObject
* obj3
= 0 ;
22164 PyObject
* obj4
= 0 ;
22165 PyObject
* obj5
= 0 ;
22166 char * kwnames
[] = {
22167 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
22170 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:PyPanel_DoSetSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
22171 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPanel
, 0 | 0 );
22172 if (!SWIG_IsOK(res1
)) {
22173 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPanel_DoSetSize" "', expected argument " "1"" of type '" "wxPyPanel *""'");
22175 arg1
= reinterpret_cast< wxPyPanel
* >(argp1
);
22176 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22177 if (!SWIG_IsOK(ecode2
)) {
22178 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PyPanel_DoSetSize" "', expected argument " "2"" of type '" "int""'");
22180 arg2
= static_cast< int >(val2
);
22181 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
22182 if (!SWIG_IsOK(ecode3
)) {
22183 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PyPanel_DoSetSize" "', expected argument " "3"" of type '" "int""'");
22185 arg3
= static_cast< int >(val3
);
22186 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
22187 if (!SWIG_IsOK(ecode4
)) {
22188 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PyPanel_DoSetSize" "', expected argument " "4"" of type '" "int""'");
22190 arg4
= static_cast< int >(val4
);
22191 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
22192 if (!SWIG_IsOK(ecode5
)) {
22193 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PyPanel_DoSetSize" "', expected argument " "5"" of type '" "int""'");
22195 arg5
= static_cast< int >(val5
);
22197 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
22198 if (!SWIG_IsOK(ecode6
)) {
22199 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "PyPanel_DoSetSize" "', expected argument " "6"" of type '" "int""'");
22201 arg6
= static_cast< int >(val6
);
22204 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22205 (arg1
)->DoSetSize(arg2
,arg3
,arg4
,arg5
,arg6
);
22206 wxPyEndAllowThreads(__tstate
);
22207 if (PyErr_Occurred()) SWIG_fail
;
22209 resultobj
= SWIG_Py_Void();
22216 SWIGINTERN PyObject
*_wrap_PyPanel_DoSetClientSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22217 PyObject
*resultobj
= 0;
22218 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
22227 PyObject
* obj0
= 0 ;
22228 PyObject
* obj1
= 0 ;
22229 PyObject
* obj2
= 0 ;
22230 char * kwnames
[] = {
22231 (char *) "self",(char *) "width",(char *) "height", NULL
22234 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyPanel_DoSetClientSize",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
22235 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPanel
, 0 | 0 );
22236 if (!SWIG_IsOK(res1
)) {
22237 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPanel_DoSetClientSize" "', expected argument " "1"" of type '" "wxPyPanel *""'");
22239 arg1
= reinterpret_cast< wxPyPanel
* >(argp1
);
22240 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22241 if (!SWIG_IsOK(ecode2
)) {
22242 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PyPanel_DoSetClientSize" "', expected argument " "2"" of type '" "int""'");
22244 arg2
= static_cast< int >(val2
);
22245 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
22246 if (!SWIG_IsOK(ecode3
)) {
22247 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PyPanel_DoSetClientSize" "', expected argument " "3"" of type '" "int""'");
22249 arg3
= static_cast< int >(val3
);
22251 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22252 (arg1
)->DoSetClientSize(arg2
,arg3
);
22253 wxPyEndAllowThreads(__tstate
);
22254 if (PyErr_Occurred()) SWIG_fail
;
22256 resultobj
= SWIG_Py_Void();
22263 SWIGINTERN PyObject
*_wrap_PyPanel_DoSetVirtualSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22264 PyObject
*resultobj
= 0;
22265 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
22274 PyObject
* obj0
= 0 ;
22275 PyObject
* obj1
= 0 ;
22276 PyObject
* obj2
= 0 ;
22277 char * kwnames
[] = {
22278 (char *) "self",(char *) "x",(char *) "y", NULL
22281 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyPanel_DoSetVirtualSize",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
22282 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPanel
, 0 | 0 );
22283 if (!SWIG_IsOK(res1
)) {
22284 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPanel_DoSetVirtualSize" "', expected argument " "1"" of type '" "wxPyPanel *""'");
22286 arg1
= reinterpret_cast< wxPyPanel
* >(argp1
);
22287 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22288 if (!SWIG_IsOK(ecode2
)) {
22289 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PyPanel_DoSetVirtualSize" "', expected argument " "2"" of type '" "int""'");
22291 arg2
= static_cast< int >(val2
);
22292 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
22293 if (!SWIG_IsOK(ecode3
)) {
22294 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PyPanel_DoSetVirtualSize" "', expected argument " "3"" of type '" "int""'");
22296 arg3
= static_cast< int >(val3
);
22298 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22299 (arg1
)->DoSetVirtualSize(arg2
,arg3
);
22300 wxPyEndAllowThreads(__tstate
);
22301 if (PyErr_Occurred()) SWIG_fail
;
22303 resultobj
= SWIG_Py_Void();
22310 SWIGINTERN PyObject
*_wrap_PyPanel_DoGetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22311 PyObject
*resultobj
= 0;
22312 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
22313 int *arg2
= (int *) 0 ;
22314 int *arg3
= (int *) 0 ;
22318 int res2
= SWIG_TMPOBJ
;
22320 int res3
= SWIG_TMPOBJ
;
22321 PyObject
*swig_obj
[1] ;
22325 if (!args
) SWIG_fail
;
22326 swig_obj
[0] = args
;
22327 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPanel
, 0 | 0 );
22328 if (!SWIG_IsOK(res1
)) {
22329 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPanel_DoGetSize" "', expected argument " "1"" of type '" "wxPyPanel const *""'");
22331 arg1
= reinterpret_cast< wxPyPanel
* >(argp1
);
22333 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22334 ((wxPyPanel
const *)arg1
)->DoGetSize(arg2
,arg3
);
22335 wxPyEndAllowThreads(__tstate
);
22336 if (PyErr_Occurred()) SWIG_fail
;
22338 resultobj
= SWIG_Py_Void();
22339 if (SWIG_IsTmpObj(res2
)) {
22340 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
22342 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
22343 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
22345 if (SWIG_IsTmpObj(res3
)) {
22346 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
22348 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
22349 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
22357 SWIGINTERN PyObject
*_wrap_PyPanel_DoGetClientSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22358 PyObject
*resultobj
= 0;
22359 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
22360 int *arg2
= (int *) 0 ;
22361 int *arg3
= (int *) 0 ;
22365 int res2
= SWIG_TMPOBJ
;
22367 int res3
= SWIG_TMPOBJ
;
22368 PyObject
*swig_obj
[1] ;
22372 if (!args
) SWIG_fail
;
22373 swig_obj
[0] = args
;
22374 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPanel
, 0 | 0 );
22375 if (!SWIG_IsOK(res1
)) {
22376 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPanel_DoGetClientSize" "', expected argument " "1"" of type '" "wxPyPanel const *""'");
22378 arg1
= reinterpret_cast< wxPyPanel
* >(argp1
);
22380 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22381 ((wxPyPanel
const *)arg1
)->DoGetClientSize(arg2
,arg3
);
22382 wxPyEndAllowThreads(__tstate
);
22383 if (PyErr_Occurred()) SWIG_fail
;
22385 resultobj
= SWIG_Py_Void();
22386 if (SWIG_IsTmpObj(res2
)) {
22387 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
22389 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
22390 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
22392 if (SWIG_IsTmpObj(res3
)) {
22393 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
22395 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
22396 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
22404 SWIGINTERN PyObject
*_wrap_PyPanel_DoGetPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22405 PyObject
*resultobj
= 0;
22406 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
22407 int *arg2
= (int *) 0 ;
22408 int *arg3
= (int *) 0 ;
22412 int res2
= SWIG_TMPOBJ
;
22414 int res3
= SWIG_TMPOBJ
;
22415 PyObject
*swig_obj
[1] ;
22419 if (!args
) SWIG_fail
;
22420 swig_obj
[0] = args
;
22421 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPanel
, 0 | 0 );
22422 if (!SWIG_IsOK(res1
)) {
22423 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPanel_DoGetPosition" "', expected argument " "1"" of type '" "wxPyPanel const *""'");
22425 arg1
= reinterpret_cast< wxPyPanel
* >(argp1
);
22427 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22428 ((wxPyPanel
const *)arg1
)->DoGetPosition(arg2
,arg3
);
22429 wxPyEndAllowThreads(__tstate
);
22430 if (PyErr_Occurred()) SWIG_fail
;
22432 resultobj
= SWIG_Py_Void();
22433 if (SWIG_IsTmpObj(res2
)) {
22434 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
22436 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
22437 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
22439 if (SWIG_IsTmpObj(res3
)) {
22440 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
22442 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
22443 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
22451 SWIGINTERN PyObject
*_wrap_PyPanel_DoGetVirtualSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22452 PyObject
*resultobj
= 0;
22453 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
22457 PyObject
*swig_obj
[1] ;
22459 if (!args
) SWIG_fail
;
22460 swig_obj
[0] = args
;
22461 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPanel
, 0 | 0 );
22462 if (!SWIG_IsOK(res1
)) {
22463 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPanel_DoGetVirtualSize" "', expected argument " "1"" of type '" "wxPyPanel const *""'");
22465 arg1
= reinterpret_cast< wxPyPanel
* >(argp1
);
22467 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22468 result
= ((wxPyPanel
const *)arg1
)->DoGetVirtualSize();
22469 wxPyEndAllowThreads(__tstate
);
22470 if (PyErr_Occurred()) SWIG_fail
;
22472 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
22479 SWIGINTERN PyObject
*_wrap_PyPanel_DoGetBestSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22480 PyObject
*resultobj
= 0;
22481 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
22485 PyObject
*swig_obj
[1] ;
22487 if (!args
) SWIG_fail
;
22488 swig_obj
[0] = args
;
22489 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPanel
, 0 | 0 );
22490 if (!SWIG_IsOK(res1
)) {
22491 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPanel_DoGetBestSize" "', expected argument " "1"" of type '" "wxPyPanel const *""'");
22493 arg1
= reinterpret_cast< wxPyPanel
* >(argp1
);
22495 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22496 result
= ((wxPyPanel
const *)arg1
)->DoGetBestSize();
22497 wxPyEndAllowThreads(__tstate
);
22498 if (PyErr_Occurred()) SWIG_fail
;
22500 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
22507 SWIGINTERN PyObject
*_wrap_PyPanel_GetDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22508 PyObject
*resultobj
= 0;
22509 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
22510 SwigValueWrapper
<wxVisualAttributes
> result
;
22513 PyObject
*swig_obj
[1] ;
22515 if (!args
) SWIG_fail
;
22516 swig_obj
[0] = args
;
22517 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPanel
, 0 | 0 );
22518 if (!SWIG_IsOK(res1
)) {
22519 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPanel_GetDefaultAttributes" "', expected argument " "1"" of type '" "wxPyPanel *""'");
22521 arg1
= reinterpret_cast< wxPyPanel
* >(argp1
);
22523 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22524 result
= (arg1
)->GetDefaultAttributes();
22525 wxPyEndAllowThreads(__tstate
);
22526 if (PyErr_Occurred()) SWIG_fail
;
22528 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
22535 SWIGINTERN PyObject
*_wrap_PyPanel_OnInternalIdle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22536 PyObject
*resultobj
= 0;
22537 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
22540 PyObject
*swig_obj
[1] ;
22542 if (!args
) SWIG_fail
;
22543 swig_obj
[0] = args
;
22544 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPanel
, 0 | 0 );
22545 if (!SWIG_IsOK(res1
)) {
22546 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPanel_OnInternalIdle" "', expected argument " "1"" of type '" "wxPyPanel *""'");
22548 arg1
= reinterpret_cast< wxPyPanel
* >(argp1
);
22550 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22551 (arg1
)->OnInternalIdle();
22552 wxPyEndAllowThreads(__tstate
);
22553 if (PyErr_Occurred()) SWIG_fail
;
22555 resultobj
= SWIG_Py_Void();
22562 SWIGINTERN PyObject
*PyPanel_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22564 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
22565 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyPanel
, SWIG_NewClientData(obj
));
22566 return SWIG_Py_Void();
22569 SWIGINTERN PyObject
*PyPanel_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22570 return SWIG_Python_InitShadowInstance(args
);
22573 SWIGINTERN PyObject
*_wrap_new_PyScrolledWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22574 PyObject
*resultobj
= 0;
22575 wxWindow
*arg1
= (wxWindow
*) 0 ;
22576 int arg2
= (int) (int)-1 ;
22577 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
22578 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
22579 wxSize
const &arg4_defvalue
= wxDefaultSize
;
22580 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
22581 long arg5
= (long) 0 ;
22582 wxString
const &arg6_defvalue
= wxPyPanelNameStr
;
22583 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
22584 wxPyScrolledWindow
*result
= 0 ;
22593 bool temp6
= false ;
22594 PyObject
* obj0
= 0 ;
22595 PyObject
* obj1
= 0 ;
22596 PyObject
* obj2
= 0 ;
22597 PyObject
* obj3
= 0 ;
22598 PyObject
* obj4
= 0 ;
22599 PyObject
* obj5
= 0 ;
22600 char * kwnames
[] = {
22601 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
22604 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_PyScrolledWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
22605 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
22606 if (!SWIG_IsOK(res1
)) {
22607 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PyScrolledWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
22609 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
22611 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22612 if (!SWIG_IsOK(ecode2
)) {
22613 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_PyScrolledWindow" "', expected argument " "2"" of type '" "int""'");
22615 arg2
= static_cast< int >(val2
);
22620 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
22626 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
22630 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
22631 if (!SWIG_IsOK(ecode5
)) {
22632 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_PyScrolledWindow" "', expected argument " "5"" of type '" "long""'");
22634 arg5
= static_cast< long >(val5
);
22638 arg6
= wxString_in_helper(obj5
);
22639 if (arg6
== NULL
) SWIG_fail
;
22644 if (!wxPyCheckForApp()) SWIG_fail
;
22645 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22646 result
= (wxPyScrolledWindow
*)new wxPyScrolledWindow(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
22647 wxPyEndAllowThreads(__tstate
);
22648 if (PyErr_Occurred()) SWIG_fail
;
22650 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyScrolledWindow
, SWIG_POINTER_NEW
| 0 );
22665 SWIGINTERN PyObject
*_wrap_new_PrePyScrolledWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22666 PyObject
*resultobj
= 0;
22667 wxPyScrolledWindow
*result
= 0 ;
22669 if (!SWIG_Python_UnpackTuple(args
,"new_PrePyScrolledWindow",0,0,0)) SWIG_fail
;
22671 if (!wxPyCheckForApp()) SWIG_fail
;
22672 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22673 result
= (wxPyScrolledWindow
*)new wxPyScrolledWindow();
22674 wxPyEndAllowThreads(__tstate
);
22675 if (PyErr_Occurred()) SWIG_fail
;
22677 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyScrolledWindow
, SWIG_POINTER_OWN
| 0 );
22684 SWIGINTERN PyObject
*_wrap_PyScrolledWindow__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22685 PyObject
*resultobj
= 0;
22686 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
22687 PyObject
*arg2
= (PyObject
*) 0 ;
22688 PyObject
*arg3
= (PyObject
*) 0 ;
22691 PyObject
* obj0
= 0 ;
22692 PyObject
* obj1
= 0 ;
22693 PyObject
* obj2
= 0 ;
22694 char * kwnames
[] = {
22695 (char *) "self",(char *) "self",(char *) "_class", NULL
22698 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyScrolledWindow__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
22699 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyScrolledWindow
, 0 | 0 );
22700 if (!SWIG_IsOK(res1
)) {
22701 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyScrolledWindow__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyScrolledWindow *""'");
22703 arg1
= reinterpret_cast< wxPyScrolledWindow
* >(argp1
);
22707 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22708 (arg1
)->_setCallbackInfo(arg2
,arg3
);
22709 wxPyEndAllowThreads(__tstate
);
22710 if (PyErr_Occurred()) SWIG_fail
;
22712 resultobj
= SWIG_Py_Void();
22719 SWIGINTERN PyObject
*_wrap_PyScrolledWindow_SetBestSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22720 PyObject
*resultobj
= 0;
22721 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
22726 PyObject
* obj0
= 0 ;
22727 PyObject
* obj1
= 0 ;
22728 char * kwnames
[] = {
22729 (char *) "self",(char *) "size", NULL
22732 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyScrolledWindow_SetBestSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22733 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyScrolledWindow
, 0 | 0 );
22734 if (!SWIG_IsOK(res1
)) {
22735 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyScrolledWindow_SetBestSize" "', expected argument " "1"" of type '" "wxPyScrolledWindow *""'");
22737 arg1
= reinterpret_cast< wxPyScrolledWindow
* >(argp1
);
22740 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
22743 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22744 (arg1
)->SetBestSize((wxSize
const &)*arg2
);
22745 wxPyEndAllowThreads(__tstate
);
22746 if (PyErr_Occurred()) SWIG_fail
;
22748 resultobj
= SWIG_Py_Void();
22755 SWIGINTERN PyObject
*_wrap_PyScrolledWindow_DoEraseBackground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22756 PyObject
*resultobj
= 0;
22757 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
22758 wxDC
*arg2
= (wxDC
*) 0 ;
22764 PyObject
* obj0
= 0 ;
22765 PyObject
* obj1
= 0 ;
22766 char * kwnames
[] = {
22767 (char *) "self",(char *) "dc", NULL
22770 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyScrolledWindow_DoEraseBackground",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22771 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyScrolledWindow
, 0 | 0 );
22772 if (!SWIG_IsOK(res1
)) {
22773 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyScrolledWindow_DoEraseBackground" "', expected argument " "1"" of type '" "wxPyScrolledWindow *""'");
22775 arg1
= reinterpret_cast< wxPyScrolledWindow
* >(argp1
);
22776 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxDC
, 0 | 0 );
22777 if (!SWIG_IsOK(res2
)) {
22778 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PyScrolledWindow_DoEraseBackground" "', expected argument " "2"" of type '" "wxDC *""'");
22780 arg2
= reinterpret_cast< wxDC
* >(argp2
);
22782 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22783 result
= (bool)(arg1
)->DoEraseBackground(arg2
);
22784 wxPyEndAllowThreads(__tstate
);
22785 if (PyErr_Occurred()) SWIG_fail
;
22788 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22796 SWIGINTERN PyObject
*_wrap_PyScrolledWindow_DoMoveWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22797 PyObject
*resultobj
= 0;
22798 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
22813 PyObject
* obj0
= 0 ;
22814 PyObject
* obj1
= 0 ;
22815 PyObject
* obj2
= 0 ;
22816 PyObject
* obj3
= 0 ;
22817 PyObject
* obj4
= 0 ;
22818 char * kwnames
[] = {
22819 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
22822 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:PyScrolledWindow_DoMoveWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
22823 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyScrolledWindow
, 0 | 0 );
22824 if (!SWIG_IsOK(res1
)) {
22825 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyScrolledWindow_DoMoveWindow" "', expected argument " "1"" of type '" "wxPyScrolledWindow *""'");
22827 arg1
= reinterpret_cast< wxPyScrolledWindow
* >(argp1
);
22828 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22829 if (!SWIG_IsOK(ecode2
)) {
22830 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PyScrolledWindow_DoMoveWindow" "', expected argument " "2"" of type '" "int""'");
22832 arg2
= static_cast< int >(val2
);
22833 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
22834 if (!SWIG_IsOK(ecode3
)) {
22835 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PyScrolledWindow_DoMoveWindow" "', expected argument " "3"" of type '" "int""'");
22837 arg3
= static_cast< int >(val3
);
22838 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
22839 if (!SWIG_IsOK(ecode4
)) {
22840 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PyScrolledWindow_DoMoveWindow" "', expected argument " "4"" of type '" "int""'");
22842 arg4
= static_cast< int >(val4
);
22843 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
22844 if (!SWIG_IsOK(ecode5
)) {
22845 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PyScrolledWindow_DoMoveWindow" "', expected argument " "5"" of type '" "int""'");
22847 arg5
= static_cast< int >(val5
);
22849 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22850 (arg1
)->DoMoveWindow(arg2
,arg3
,arg4
,arg5
);
22851 wxPyEndAllowThreads(__tstate
);
22852 if (PyErr_Occurred()) SWIG_fail
;
22854 resultobj
= SWIG_Py_Void();
22861 SWIGINTERN PyObject
*_wrap_PyScrolledWindow_DoSetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22862 PyObject
*resultobj
= 0;
22863 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
22868 int arg6
= (int) wxSIZE_AUTO
;
22881 PyObject
* obj0
= 0 ;
22882 PyObject
* obj1
= 0 ;
22883 PyObject
* obj2
= 0 ;
22884 PyObject
* obj3
= 0 ;
22885 PyObject
* obj4
= 0 ;
22886 PyObject
* obj5
= 0 ;
22887 char * kwnames
[] = {
22888 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
22891 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:PyScrolledWindow_DoSetSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
22892 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyScrolledWindow
, 0 | 0 );
22893 if (!SWIG_IsOK(res1
)) {
22894 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyScrolledWindow_DoSetSize" "', expected argument " "1"" of type '" "wxPyScrolledWindow *""'");
22896 arg1
= reinterpret_cast< wxPyScrolledWindow
* >(argp1
);
22897 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22898 if (!SWIG_IsOK(ecode2
)) {
22899 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PyScrolledWindow_DoSetSize" "', expected argument " "2"" of type '" "int""'");
22901 arg2
= static_cast< int >(val2
);
22902 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
22903 if (!SWIG_IsOK(ecode3
)) {
22904 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PyScrolledWindow_DoSetSize" "', expected argument " "3"" of type '" "int""'");
22906 arg3
= static_cast< int >(val3
);
22907 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
22908 if (!SWIG_IsOK(ecode4
)) {
22909 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PyScrolledWindow_DoSetSize" "', expected argument " "4"" of type '" "int""'");
22911 arg4
= static_cast< int >(val4
);
22912 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
22913 if (!SWIG_IsOK(ecode5
)) {
22914 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PyScrolledWindow_DoSetSize" "', expected argument " "5"" of type '" "int""'");
22916 arg5
= static_cast< int >(val5
);
22918 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
22919 if (!SWIG_IsOK(ecode6
)) {
22920 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "PyScrolledWindow_DoSetSize" "', expected argument " "6"" of type '" "int""'");
22922 arg6
= static_cast< int >(val6
);
22925 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22926 (arg1
)->DoSetSize(arg2
,arg3
,arg4
,arg5
,arg6
);
22927 wxPyEndAllowThreads(__tstate
);
22928 if (PyErr_Occurred()) SWIG_fail
;
22930 resultobj
= SWIG_Py_Void();
22937 SWIGINTERN PyObject
*_wrap_PyScrolledWindow_DoSetClientSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22938 PyObject
*resultobj
= 0;
22939 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
22948 PyObject
* obj0
= 0 ;
22949 PyObject
* obj1
= 0 ;
22950 PyObject
* obj2
= 0 ;
22951 char * kwnames
[] = {
22952 (char *) "self",(char *) "width",(char *) "height", NULL
22955 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyScrolledWindow_DoSetClientSize",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
22956 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyScrolledWindow
, 0 | 0 );
22957 if (!SWIG_IsOK(res1
)) {
22958 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyScrolledWindow_DoSetClientSize" "', expected argument " "1"" of type '" "wxPyScrolledWindow *""'");
22960 arg1
= reinterpret_cast< wxPyScrolledWindow
* >(argp1
);
22961 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22962 if (!SWIG_IsOK(ecode2
)) {
22963 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PyScrolledWindow_DoSetClientSize" "', expected argument " "2"" of type '" "int""'");
22965 arg2
= static_cast< int >(val2
);
22966 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
22967 if (!SWIG_IsOK(ecode3
)) {
22968 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PyScrolledWindow_DoSetClientSize" "', expected argument " "3"" of type '" "int""'");
22970 arg3
= static_cast< int >(val3
);
22972 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22973 (arg1
)->DoSetClientSize(arg2
,arg3
);
22974 wxPyEndAllowThreads(__tstate
);
22975 if (PyErr_Occurred()) SWIG_fail
;
22977 resultobj
= SWIG_Py_Void();
22984 SWIGINTERN PyObject
*_wrap_PyScrolledWindow_DoSetVirtualSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22985 PyObject
*resultobj
= 0;
22986 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
22995 PyObject
* obj0
= 0 ;
22996 PyObject
* obj1
= 0 ;
22997 PyObject
* obj2
= 0 ;
22998 char * kwnames
[] = {
22999 (char *) "self",(char *) "x",(char *) "y", NULL
23002 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyScrolledWindow_DoSetVirtualSize",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
23003 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyScrolledWindow
, 0 | 0 );
23004 if (!SWIG_IsOK(res1
)) {
23005 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyScrolledWindow_DoSetVirtualSize" "', expected argument " "1"" of type '" "wxPyScrolledWindow *""'");
23007 arg1
= reinterpret_cast< wxPyScrolledWindow
* >(argp1
);
23008 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
23009 if (!SWIG_IsOK(ecode2
)) {
23010 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PyScrolledWindow_DoSetVirtualSize" "', expected argument " "2"" of type '" "int""'");
23012 arg2
= static_cast< int >(val2
);
23013 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
23014 if (!SWIG_IsOK(ecode3
)) {
23015 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PyScrolledWindow_DoSetVirtualSize" "', expected argument " "3"" of type '" "int""'");
23017 arg3
= static_cast< int >(val3
);
23019 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23020 (arg1
)->DoSetVirtualSize(arg2
,arg3
);
23021 wxPyEndAllowThreads(__tstate
);
23022 if (PyErr_Occurred()) SWIG_fail
;
23024 resultobj
= SWIG_Py_Void();
23031 SWIGINTERN PyObject
*_wrap_PyScrolledWindow_DoGetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23032 PyObject
*resultobj
= 0;
23033 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
23034 int *arg2
= (int *) 0 ;
23035 int *arg3
= (int *) 0 ;
23039 int res2
= SWIG_TMPOBJ
;
23041 int res3
= SWIG_TMPOBJ
;
23042 PyObject
*swig_obj
[1] ;
23046 if (!args
) SWIG_fail
;
23047 swig_obj
[0] = args
;
23048 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyScrolledWindow
, 0 | 0 );
23049 if (!SWIG_IsOK(res1
)) {
23050 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyScrolledWindow_DoGetSize" "', expected argument " "1"" of type '" "wxPyScrolledWindow const *""'");
23052 arg1
= reinterpret_cast< wxPyScrolledWindow
* >(argp1
);
23054 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23055 ((wxPyScrolledWindow
const *)arg1
)->DoGetSize(arg2
,arg3
);
23056 wxPyEndAllowThreads(__tstate
);
23057 if (PyErr_Occurred()) SWIG_fail
;
23059 resultobj
= SWIG_Py_Void();
23060 if (SWIG_IsTmpObj(res2
)) {
23061 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
23063 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
23064 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
23066 if (SWIG_IsTmpObj(res3
)) {
23067 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
23069 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
23070 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
23078 SWIGINTERN PyObject
*_wrap_PyScrolledWindow_DoGetClientSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23079 PyObject
*resultobj
= 0;
23080 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
23081 int *arg2
= (int *) 0 ;
23082 int *arg3
= (int *) 0 ;
23086 int res2
= SWIG_TMPOBJ
;
23088 int res3
= SWIG_TMPOBJ
;
23089 PyObject
*swig_obj
[1] ;
23093 if (!args
) SWIG_fail
;
23094 swig_obj
[0] = args
;
23095 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyScrolledWindow
, 0 | 0 );
23096 if (!SWIG_IsOK(res1
)) {
23097 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyScrolledWindow_DoGetClientSize" "', expected argument " "1"" of type '" "wxPyScrolledWindow const *""'");
23099 arg1
= reinterpret_cast< wxPyScrolledWindow
* >(argp1
);
23101 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23102 ((wxPyScrolledWindow
const *)arg1
)->DoGetClientSize(arg2
,arg3
);
23103 wxPyEndAllowThreads(__tstate
);
23104 if (PyErr_Occurred()) SWIG_fail
;
23106 resultobj
= SWIG_Py_Void();
23107 if (SWIG_IsTmpObj(res2
)) {
23108 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
23110 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
23111 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
23113 if (SWIG_IsTmpObj(res3
)) {
23114 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
23116 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
23117 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
23125 SWIGINTERN PyObject
*_wrap_PyScrolledWindow_DoGetPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23126 PyObject
*resultobj
= 0;
23127 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
23128 int *arg2
= (int *) 0 ;
23129 int *arg3
= (int *) 0 ;
23133 int res2
= SWIG_TMPOBJ
;
23135 int res3
= SWIG_TMPOBJ
;
23136 PyObject
*swig_obj
[1] ;
23140 if (!args
) SWIG_fail
;
23141 swig_obj
[0] = args
;
23142 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyScrolledWindow
, 0 | 0 );
23143 if (!SWIG_IsOK(res1
)) {
23144 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyScrolledWindow_DoGetPosition" "', expected argument " "1"" of type '" "wxPyScrolledWindow const *""'");
23146 arg1
= reinterpret_cast< wxPyScrolledWindow
* >(argp1
);
23148 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23149 ((wxPyScrolledWindow
const *)arg1
)->DoGetPosition(arg2
,arg3
);
23150 wxPyEndAllowThreads(__tstate
);
23151 if (PyErr_Occurred()) SWIG_fail
;
23153 resultobj
= SWIG_Py_Void();
23154 if (SWIG_IsTmpObj(res2
)) {
23155 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
23157 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
23158 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
23160 if (SWIG_IsTmpObj(res3
)) {
23161 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
23163 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
23164 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
23172 SWIGINTERN PyObject
*_wrap_PyScrolledWindow_DoGetVirtualSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23173 PyObject
*resultobj
= 0;
23174 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
23178 PyObject
*swig_obj
[1] ;
23180 if (!args
) SWIG_fail
;
23181 swig_obj
[0] = args
;
23182 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyScrolledWindow
, 0 | 0 );
23183 if (!SWIG_IsOK(res1
)) {
23184 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyScrolledWindow_DoGetVirtualSize" "', expected argument " "1"" of type '" "wxPyScrolledWindow const *""'");
23186 arg1
= reinterpret_cast< wxPyScrolledWindow
* >(argp1
);
23188 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23189 result
= ((wxPyScrolledWindow
const *)arg1
)->DoGetVirtualSize();
23190 wxPyEndAllowThreads(__tstate
);
23191 if (PyErr_Occurred()) SWIG_fail
;
23193 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
23200 SWIGINTERN PyObject
*_wrap_PyScrolledWindow_DoGetBestSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23201 PyObject
*resultobj
= 0;
23202 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
23206 PyObject
*swig_obj
[1] ;
23208 if (!args
) SWIG_fail
;
23209 swig_obj
[0] = args
;
23210 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyScrolledWindow
, 0 | 0 );
23211 if (!SWIG_IsOK(res1
)) {
23212 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyScrolledWindow_DoGetBestSize" "', expected argument " "1"" of type '" "wxPyScrolledWindow const *""'");
23214 arg1
= reinterpret_cast< wxPyScrolledWindow
* >(argp1
);
23216 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23217 result
= ((wxPyScrolledWindow
const *)arg1
)->DoGetBestSize();
23218 wxPyEndAllowThreads(__tstate
);
23219 if (PyErr_Occurred()) SWIG_fail
;
23221 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
23228 SWIGINTERN PyObject
*_wrap_PyScrolledWindow_GetDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23229 PyObject
*resultobj
= 0;
23230 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
23231 SwigValueWrapper
<wxVisualAttributes
> result
;
23234 PyObject
*swig_obj
[1] ;
23236 if (!args
) SWIG_fail
;
23237 swig_obj
[0] = args
;
23238 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyScrolledWindow
, 0 | 0 );
23239 if (!SWIG_IsOK(res1
)) {
23240 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyScrolledWindow_GetDefaultAttributes" "', expected argument " "1"" of type '" "wxPyScrolledWindow *""'");
23242 arg1
= reinterpret_cast< wxPyScrolledWindow
* >(argp1
);
23244 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23245 result
= (arg1
)->GetDefaultAttributes();
23246 wxPyEndAllowThreads(__tstate
);
23247 if (PyErr_Occurred()) SWIG_fail
;
23249 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
23256 SWIGINTERN PyObject
*_wrap_PyScrolledWindow_OnInternalIdle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23257 PyObject
*resultobj
= 0;
23258 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
23261 PyObject
*swig_obj
[1] ;
23263 if (!args
) SWIG_fail
;
23264 swig_obj
[0] = args
;
23265 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyScrolledWindow
, 0 | 0 );
23266 if (!SWIG_IsOK(res1
)) {
23267 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyScrolledWindow_OnInternalIdle" "', expected argument " "1"" of type '" "wxPyScrolledWindow *""'");
23269 arg1
= reinterpret_cast< wxPyScrolledWindow
* >(argp1
);
23271 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23272 (arg1
)->OnInternalIdle();
23273 wxPyEndAllowThreads(__tstate
);
23274 if (PyErr_Occurred()) SWIG_fail
;
23276 resultobj
= SWIG_Py_Void();
23283 SWIGINTERN PyObject
*PyScrolledWindow_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23285 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
23286 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyScrolledWindow
, SWIG_NewClientData(obj
));
23287 return SWIG_Py_Void();
23290 SWIGINTERN PyObject
*PyScrolledWindow_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23291 return SWIG_Python_InitShadowInstance(args
);
23294 SWIGINTERN
int PrintoutTitleStr_set(PyObject
*) {
23295 SWIG_Error(SWIG_AttributeError
,"Variable PrintoutTitleStr is read-only.");
23300 SWIGINTERN PyObject
*PrintoutTitleStr_get(void) {
23301 PyObject
*pyobj
= 0;
23305 pyobj
= PyUnicode_FromWideChar((&wxPyPrintoutTitleStr
)->c_str(), (&wxPyPrintoutTitleStr
)->Len());
23307 pyobj
= PyString_FromStringAndSize((&wxPyPrintoutTitleStr
)->c_str(), (&wxPyPrintoutTitleStr
)->Len());
23314 SWIGINTERN
int PreviewCanvasNameStr_set(PyObject
*) {
23315 SWIG_Error(SWIG_AttributeError
,"Variable PreviewCanvasNameStr is read-only.");
23320 SWIGINTERN PyObject
*PreviewCanvasNameStr_get(void) {
23321 PyObject
*pyobj
= 0;
23325 pyobj
= PyUnicode_FromWideChar((&wxPyPreviewCanvasNameStr
)->c_str(), (&wxPyPreviewCanvasNameStr
)->Len());
23327 pyobj
= PyString_FromStringAndSize((&wxPyPreviewCanvasNameStr
)->c_str(), (&wxPyPreviewCanvasNameStr
)->Len());
23334 SWIGINTERN PyObject
*_wrap_new_PrintData__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**SWIGUNUSEDPARM(swig_obj
)) {
23335 PyObject
*resultobj
= 0;
23336 wxPrintData
*result
= 0 ;
23338 if ((nobjs
< 0) || (nobjs
> 0)) SWIG_fail
;
23340 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23341 result
= (wxPrintData
*)new wxPrintData();
23342 wxPyEndAllowThreads(__tstate
);
23343 if (PyErr_Occurred()) SWIG_fail
;
23345 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPrintData
, SWIG_POINTER_NEW
| 0 );
23352 SWIGINTERN PyObject
*_wrap_new_PrintData__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
23353 PyObject
*resultobj
= 0;
23354 wxPrintData
*arg1
= 0 ;
23355 wxPrintData
*result
= 0 ;
23359 if ((nobjs
< 1) || (nobjs
> 1)) SWIG_fail
;
23360 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxPrintData
, 0 | 0);
23361 if (!SWIG_IsOK(res1
)) {
23362 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PrintData" "', expected argument " "1"" of type '" "wxPrintData const &""'");
23365 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_PrintData" "', expected argument " "1"" of type '" "wxPrintData const &""'");
23367 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
23369 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23370 result
= (wxPrintData
*)new wxPrintData((wxPrintData
const &)*arg1
);
23371 wxPyEndAllowThreads(__tstate
);
23372 if (PyErr_Occurred()) SWIG_fail
;
23374 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPrintData
, SWIG_POINTER_NEW
| 0 );
23381 SWIGINTERN PyObject
*_wrap_new_PrintData(PyObject
*self
, PyObject
*args
) {
23385 if (!(argc
= SWIG_Python_UnpackTuple(args
,"new_PrintData",0,1,argv
))) SWIG_fail
;
23388 return _wrap_new_PrintData__SWIG_0(self
, argc
, argv
);
23391 return _wrap_new_PrintData__SWIG_1(self
, argc
, argv
);
23395 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'new_PrintData'");
23400 SWIGINTERN PyObject
*_wrap_delete_PrintData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23401 PyObject
*resultobj
= 0;
23402 wxPrintData
*arg1
= (wxPrintData
*) 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
, SWIG_POINTER_DISOWN
| 0 );
23410 if (!SWIG_IsOK(res1
)) {
23411 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_PrintData" "', expected argument " "1"" of type '" "wxPrintData *""'");
23413 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
23415 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23418 wxPyEndAllowThreads(__tstate
);
23419 if (PyErr_Occurred()) SWIG_fail
;
23421 resultobj
= SWIG_Py_Void();
23428 SWIGINTERN PyObject
*_wrap_PrintData_GetNoCopies(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23429 PyObject
*resultobj
= 0;
23430 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
23434 PyObject
*swig_obj
[1] ;
23436 if (!args
) SWIG_fail
;
23437 swig_obj
[0] = args
;
23438 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
23439 if (!SWIG_IsOK(res1
)) {
23440 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_GetNoCopies" "', expected argument " "1"" of type '" "wxPrintData *""'");
23442 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
23444 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23445 result
= (int)(arg1
)->GetNoCopies();
23446 wxPyEndAllowThreads(__tstate
);
23447 if (PyErr_Occurred()) SWIG_fail
;
23449 resultobj
= SWIG_From_int(static_cast< int >(result
));
23456 SWIGINTERN PyObject
*_wrap_PrintData_GetCollate(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23457 PyObject
*resultobj
= 0;
23458 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
23462 PyObject
*swig_obj
[1] ;
23464 if (!args
) SWIG_fail
;
23465 swig_obj
[0] = args
;
23466 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
23467 if (!SWIG_IsOK(res1
)) {
23468 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_GetCollate" "', expected argument " "1"" of type '" "wxPrintData *""'");
23470 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
23472 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23473 result
= (bool)(arg1
)->GetCollate();
23474 wxPyEndAllowThreads(__tstate
);
23475 if (PyErr_Occurred()) SWIG_fail
;
23478 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23486 SWIGINTERN PyObject
*_wrap_PrintData_GetOrientation(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23487 PyObject
*resultobj
= 0;
23488 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
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_GetOrientation" "', expected argument " "1"" of type '" "wxPrintData *""'");
23500 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
23502 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23503 result
= (int)(arg1
)->GetOrientation();
23504 wxPyEndAllowThreads(__tstate
);
23505 if (PyErr_Occurred()) SWIG_fail
;
23507 resultobj
= SWIG_From_int(static_cast< int >(result
));
23514 SWIGINTERN PyObject
*_wrap_PrintData_Ok(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23515 PyObject
*resultobj
= 0;
23516 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
23520 PyObject
*swig_obj
[1] ;
23522 if (!args
) SWIG_fail
;
23523 swig_obj
[0] = args
;
23524 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
23525 if (!SWIG_IsOK(res1
)) {
23526 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_Ok" "', expected argument " "1"" of type '" "wxPrintData *""'");
23528 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
23530 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23531 result
= (bool)(arg1
)->Ok();
23532 wxPyEndAllowThreads(__tstate
);
23533 if (PyErr_Occurred()) SWIG_fail
;
23536 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23544 SWIGINTERN PyObject
*_wrap_PrintData_GetPrinterName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23545 PyObject
*resultobj
= 0;
23546 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
23547 wxString
*result
= 0 ;
23550 PyObject
*swig_obj
[1] ;
23552 if (!args
) SWIG_fail
;
23553 swig_obj
[0] = args
;
23554 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
23555 if (!SWIG_IsOK(res1
)) {
23556 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_GetPrinterName" "', expected argument " "1"" of type '" "wxPrintData *""'");
23558 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
23560 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23562 wxString
const &_result_ref
= (arg1
)->GetPrinterName();
23563 result
= (wxString
*) &_result_ref
;
23565 wxPyEndAllowThreads(__tstate
);
23566 if (PyErr_Occurred()) SWIG_fail
;
23570 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
23572 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
23581 SWIGINTERN PyObject
*_wrap_PrintData_GetColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23582 PyObject
*resultobj
= 0;
23583 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
23587 PyObject
*swig_obj
[1] ;
23589 if (!args
) SWIG_fail
;
23590 swig_obj
[0] = args
;
23591 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
23592 if (!SWIG_IsOK(res1
)) {
23593 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_GetColour" "', expected argument " "1"" of type '" "wxPrintData *""'");
23595 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
23597 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23598 result
= (bool)(arg1
)->GetColour();
23599 wxPyEndAllowThreads(__tstate
);
23600 if (PyErr_Occurred()) SWIG_fail
;
23603 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23611 SWIGINTERN PyObject
*_wrap_PrintData_GetDuplex(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23612 PyObject
*resultobj
= 0;
23613 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
23614 wxDuplexMode result
;
23617 PyObject
*swig_obj
[1] ;
23619 if (!args
) SWIG_fail
;
23620 swig_obj
[0] = args
;
23621 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
23622 if (!SWIG_IsOK(res1
)) {
23623 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_GetDuplex" "', expected argument " "1"" of type '" "wxPrintData *""'");
23625 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
23627 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23628 result
= (wxDuplexMode
)(arg1
)->GetDuplex();
23629 wxPyEndAllowThreads(__tstate
);
23630 if (PyErr_Occurred()) SWIG_fail
;
23632 resultobj
= SWIG_From_int(static_cast< int >(result
));
23639 SWIGINTERN PyObject
*_wrap_PrintData_GetPaperId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23640 PyObject
*resultobj
= 0;
23641 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
23642 wxPaperSize result
;
23645 PyObject
*swig_obj
[1] ;
23647 if (!args
) SWIG_fail
;
23648 swig_obj
[0] = args
;
23649 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
23650 if (!SWIG_IsOK(res1
)) {
23651 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_GetPaperId" "', expected argument " "1"" of type '" "wxPrintData *""'");
23653 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
23655 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23656 result
= (wxPaperSize
)(arg1
)->GetPaperId();
23657 wxPyEndAllowThreads(__tstate
);
23658 if (PyErr_Occurred()) SWIG_fail
;
23660 resultobj
= SWIG_From_int(static_cast< int >(result
));
23667 SWIGINTERN PyObject
*_wrap_PrintData_GetPaperSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23668 PyObject
*resultobj
= 0;
23669 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
23670 wxSize
*result
= 0 ;
23673 PyObject
*swig_obj
[1] ;
23675 if (!args
) SWIG_fail
;
23676 swig_obj
[0] = args
;
23677 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
23678 if (!SWIG_IsOK(res1
)) {
23679 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_GetPaperSize" "', expected argument " "1"" of type '" "wxPrintData *""'");
23681 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
23683 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23685 wxSize
const &_result_ref
= (arg1
)->GetPaperSize();
23686 result
= (wxSize
*) &_result_ref
;
23688 wxPyEndAllowThreads(__tstate
);
23689 if (PyErr_Occurred()) SWIG_fail
;
23691 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSize
, 0 | 0 );
23698 SWIGINTERN PyObject
*_wrap_PrintData_GetQuality(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23699 PyObject
*resultobj
= 0;
23700 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
23704 PyObject
*swig_obj
[1] ;
23706 if (!args
) SWIG_fail
;
23707 swig_obj
[0] = args
;
23708 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
23709 if (!SWIG_IsOK(res1
)) {
23710 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_GetQuality" "', expected argument " "1"" of type '" "wxPrintData *""'");
23712 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
23714 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23715 result
= (int)(arg1
)->GetQuality();
23716 wxPyEndAllowThreads(__tstate
);
23717 if (PyErr_Occurred()) SWIG_fail
;
23719 resultobj
= SWIG_From_int(static_cast< int >(result
));
23726 SWIGINTERN PyObject
*_wrap_PrintData_GetBin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23727 PyObject
*resultobj
= 0;
23728 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
23732 PyObject
*swig_obj
[1] ;
23734 if (!args
) SWIG_fail
;
23735 swig_obj
[0] = args
;
23736 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
23737 if (!SWIG_IsOK(res1
)) {
23738 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_GetBin" "', expected argument " "1"" of type '" "wxPrintData *""'");
23740 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
23742 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23743 result
= (wxPrintBin
)(arg1
)->GetBin();
23744 wxPyEndAllowThreads(__tstate
);
23745 if (PyErr_Occurred()) SWIG_fail
;
23747 resultobj
= SWIG_From_int(static_cast< int >(result
));
23754 SWIGINTERN PyObject
*_wrap_PrintData_GetPrintMode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23755 PyObject
*resultobj
= 0;
23756 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
23757 wxPrintMode result
;
23760 PyObject
*swig_obj
[1] ;
23762 if (!args
) SWIG_fail
;
23763 swig_obj
[0] = args
;
23764 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
23765 if (!SWIG_IsOK(res1
)) {
23766 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_GetPrintMode" "', expected argument " "1"" of type '" "wxPrintData const *""'");
23768 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
23770 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23771 result
= (wxPrintMode
)((wxPrintData
const *)arg1
)->GetPrintMode();
23772 wxPyEndAllowThreads(__tstate
);
23773 if (PyErr_Occurred()) SWIG_fail
;
23775 resultobj
= SWIG_From_int(static_cast< int >(result
));
23782 SWIGINTERN PyObject
*_wrap_PrintData_SetNoCopies(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23783 PyObject
*resultobj
= 0;
23784 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
23790 PyObject
* obj0
= 0 ;
23791 PyObject
* obj1
= 0 ;
23792 char * kwnames
[] = {
23793 (char *) "self",(char *) "v", NULL
23796 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetNoCopies",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23797 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
23798 if (!SWIG_IsOK(res1
)) {
23799 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_SetNoCopies" "', expected argument " "1"" of type '" "wxPrintData *""'");
23801 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
23802 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
23803 if (!SWIG_IsOK(ecode2
)) {
23804 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintData_SetNoCopies" "', expected argument " "2"" of type '" "int""'");
23806 arg2
= static_cast< int >(val2
);
23808 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23809 (arg1
)->SetNoCopies(arg2
);
23810 wxPyEndAllowThreads(__tstate
);
23811 if (PyErr_Occurred()) SWIG_fail
;
23813 resultobj
= SWIG_Py_Void();
23820 SWIGINTERN PyObject
*_wrap_PrintData_SetCollate(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23821 PyObject
*resultobj
= 0;
23822 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
23828 PyObject
* obj0
= 0 ;
23829 PyObject
* obj1
= 0 ;
23830 char * kwnames
[] = {
23831 (char *) "self",(char *) "flag", NULL
23834 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetCollate",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23835 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
23836 if (!SWIG_IsOK(res1
)) {
23837 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_SetCollate" "', expected argument " "1"" of type '" "wxPrintData *""'");
23839 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
23840 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
23841 if (!SWIG_IsOK(ecode2
)) {
23842 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintData_SetCollate" "', expected argument " "2"" of type '" "bool""'");
23844 arg2
= static_cast< bool >(val2
);
23846 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23847 (arg1
)->SetCollate(arg2
);
23848 wxPyEndAllowThreads(__tstate
);
23849 if (PyErr_Occurred()) SWIG_fail
;
23851 resultobj
= SWIG_Py_Void();
23858 SWIGINTERN PyObject
*_wrap_PrintData_SetOrientation(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23859 PyObject
*resultobj
= 0;
23860 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
23866 PyObject
* obj0
= 0 ;
23867 PyObject
* obj1
= 0 ;
23868 char * kwnames
[] = {
23869 (char *) "self",(char *) "orient", NULL
23872 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetOrientation",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23873 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
23874 if (!SWIG_IsOK(res1
)) {
23875 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_SetOrientation" "', expected argument " "1"" of type '" "wxPrintData *""'");
23877 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
23878 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
23879 if (!SWIG_IsOK(ecode2
)) {
23880 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintData_SetOrientation" "', expected argument " "2"" of type '" "int""'");
23882 arg2
= static_cast< int >(val2
);
23884 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23885 (arg1
)->SetOrientation(arg2
);
23886 wxPyEndAllowThreads(__tstate
);
23887 if (PyErr_Occurred()) SWIG_fail
;
23889 resultobj
= SWIG_Py_Void();
23896 SWIGINTERN PyObject
*_wrap_PrintData_SetPrinterName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23897 PyObject
*resultobj
= 0;
23898 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
23899 wxString
*arg2
= 0 ;
23902 bool temp2
= false ;
23903 PyObject
* obj0
= 0 ;
23904 PyObject
* obj1
= 0 ;
23905 char * kwnames
[] = {
23906 (char *) "self",(char *) "name", NULL
23909 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPrinterName",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23910 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
23911 if (!SWIG_IsOK(res1
)) {
23912 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_SetPrinterName" "', expected argument " "1"" of type '" "wxPrintData *""'");
23914 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
23916 arg2
= wxString_in_helper(obj1
);
23917 if (arg2
== NULL
) SWIG_fail
;
23921 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23922 (arg1
)->SetPrinterName((wxString
const &)*arg2
);
23923 wxPyEndAllowThreads(__tstate
);
23924 if (PyErr_Occurred()) SWIG_fail
;
23926 resultobj
= SWIG_Py_Void();
23941 SWIGINTERN PyObject
*_wrap_PrintData_SetColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23942 PyObject
*resultobj
= 0;
23943 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
23949 PyObject
* obj0
= 0 ;
23950 PyObject
* obj1
= 0 ;
23951 char * kwnames
[] = {
23952 (char *) "self",(char *) "colour", NULL
23955 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23956 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
23957 if (!SWIG_IsOK(res1
)) {
23958 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_SetColour" "', expected argument " "1"" of type '" "wxPrintData *""'");
23960 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
23961 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
23962 if (!SWIG_IsOK(ecode2
)) {
23963 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintData_SetColour" "', expected argument " "2"" of type '" "bool""'");
23965 arg2
= static_cast< bool >(val2
);
23967 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23968 (arg1
)->SetColour(arg2
);
23969 wxPyEndAllowThreads(__tstate
);
23970 if (PyErr_Occurred()) SWIG_fail
;
23972 resultobj
= SWIG_Py_Void();
23979 SWIGINTERN PyObject
*_wrap_PrintData_SetDuplex(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23980 PyObject
*resultobj
= 0;
23981 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
23982 wxDuplexMode arg2
;
23987 PyObject
* obj0
= 0 ;
23988 PyObject
* obj1
= 0 ;
23989 char * kwnames
[] = {
23990 (char *) "self",(char *) "duplex", NULL
23993 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetDuplex",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23994 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
23995 if (!SWIG_IsOK(res1
)) {
23996 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_SetDuplex" "', expected argument " "1"" of type '" "wxPrintData *""'");
23998 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
23999 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24000 if (!SWIG_IsOK(ecode2
)) {
24001 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintData_SetDuplex" "', expected argument " "2"" of type '" "wxDuplexMode""'");
24003 arg2
= static_cast< wxDuplexMode
>(val2
);
24005 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24006 (arg1
)->SetDuplex(arg2
);
24007 wxPyEndAllowThreads(__tstate
);
24008 if (PyErr_Occurred()) SWIG_fail
;
24010 resultobj
= SWIG_Py_Void();
24017 SWIGINTERN PyObject
*_wrap_PrintData_SetPaperId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24018 PyObject
*resultobj
= 0;
24019 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
24025 PyObject
* obj0
= 0 ;
24026 PyObject
* obj1
= 0 ;
24027 char * kwnames
[] = {
24028 (char *) "self",(char *) "sizeId", NULL
24031 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPaperId",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24032 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
24033 if (!SWIG_IsOK(res1
)) {
24034 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_SetPaperId" "', expected argument " "1"" of type '" "wxPrintData *""'");
24036 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
24037 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24038 if (!SWIG_IsOK(ecode2
)) {
24039 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintData_SetPaperId" "', expected argument " "2"" of type '" "wxPaperSize""'");
24041 arg2
= static_cast< wxPaperSize
>(val2
);
24043 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24044 (arg1
)->SetPaperId(arg2
);
24045 wxPyEndAllowThreads(__tstate
);
24046 if (PyErr_Occurred()) SWIG_fail
;
24048 resultobj
= SWIG_Py_Void();
24055 SWIGINTERN PyObject
*_wrap_PrintData_SetPaperSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24056 PyObject
*resultobj
= 0;
24057 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
24062 PyObject
* obj0
= 0 ;
24063 PyObject
* obj1
= 0 ;
24064 char * kwnames
[] = {
24065 (char *) "self",(char *) "sz", NULL
24068 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPaperSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24069 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
24070 if (!SWIG_IsOK(res1
)) {
24071 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_SetPaperSize" "', expected argument " "1"" of type '" "wxPrintData *""'");
24073 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
24076 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
24079 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24080 (arg1
)->SetPaperSize((wxSize
const &)*arg2
);
24081 wxPyEndAllowThreads(__tstate
);
24082 if (PyErr_Occurred()) SWIG_fail
;
24084 resultobj
= SWIG_Py_Void();
24091 SWIGINTERN PyObject
*_wrap_PrintData_SetQuality(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24092 PyObject
*resultobj
= 0;
24093 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
24099 PyObject
* obj0
= 0 ;
24100 PyObject
* obj1
= 0 ;
24101 char * kwnames
[] = {
24102 (char *) "self",(char *) "quality", NULL
24105 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetQuality",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24106 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
24107 if (!SWIG_IsOK(res1
)) {
24108 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_SetQuality" "', expected argument " "1"" of type '" "wxPrintData *""'");
24110 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
24111 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24112 if (!SWIG_IsOK(ecode2
)) {
24113 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintData_SetQuality" "', expected argument " "2"" of type '" "int""'");
24115 arg2
= static_cast< int >(val2
);
24117 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24118 (arg1
)->SetQuality(arg2
);
24119 wxPyEndAllowThreads(__tstate
);
24120 if (PyErr_Occurred()) SWIG_fail
;
24122 resultobj
= SWIG_Py_Void();
24129 SWIGINTERN PyObject
*_wrap_PrintData_SetBin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24130 PyObject
*resultobj
= 0;
24131 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
24137 PyObject
* obj0
= 0 ;
24138 PyObject
* obj1
= 0 ;
24139 char * kwnames
[] = {
24140 (char *) "self",(char *) "bin", NULL
24143 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetBin",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24144 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
24145 if (!SWIG_IsOK(res1
)) {
24146 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_SetBin" "', expected argument " "1"" of type '" "wxPrintData *""'");
24148 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
24149 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24150 if (!SWIG_IsOK(ecode2
)) {
24151 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintData_SetBin" "', expected argument " "2"" of type '" "wxPrintBin""'");
24153 arg2
= static_cast< wxPrintBin
>(val2
);
24155 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24156 (arg1
)->SetBin(arg2
);
24157 wxPyEndAllowThreads(__tstate
);
24158 if (PyErr_Occurred()) SWIG_fail
;
24160 resultobj
= SWIG_Py_Void();
24167 SWIGINTERN PyObject
*_wrap_PrintData_SetPrintMode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24168 PyObject
*resultobj
= 0;
24169 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
24175 PyObject
* obj0
= 0 ;
24176 PyObject
* obj1
= 0 ;
24177 char * kwnames
[] = {
24178 (char *) "self",(char *) "printMode", NULL
24181 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPrintMode",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24182 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
24183 if (!SWIG_IsOK(res1
)) {
24184 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_SetPrintMode" "', expected argument " "1"" of type '" "wxPrintData *""'");
24186 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
24187 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24188 if (!SWIG_IsOK(ecode2
)) {
24189 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintData_SetPrintMode" "', expected argument " "2"" of type '" "wxPrintMode""'");
24191 arg2
= static_cast< wxPrintMode
>(val2
);
24193 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24194 (arg1
)->SetPrintMode(arg2
);
24195 wxPyEndAllowThreads(__tstate
);
24196 if (PyErr_Occurred()) SWIG_fail
;
24198 resultobj
= SWIG_Py_Void();
24205 SWIGINTERN PyObject
*_wrap_PrintData_GetFilename(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24206 PyObject
*resultobj
= 0;
24207 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
24211 PyObject
*swig_obj
[1] ;
24213 if (!args
) SWIG_fail
;
24214 swig_obj
[0] = args
;
24215 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
24216 if (!SWIG_IsOK(res1
)) {
24217 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_GetFilename" "', expected argument " "1"" of type '" "wxPrintData const *""'");
24219 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
24221 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24222 result
= ((wxPrintData
const *)arg1
)->GetFilename();
24223 wxPyEndAllowThreads(__tstate
);
24224 if (PyErr_Occurred()) SWIG_fail
;
24228 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
24230 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
24239 SWIGINTERN PyObject
*_wrap_PrintData_SetFilename(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24240 PyObject
*resultobj
= 0;
24241 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
24242 wxString
*arg2
= 0 ;
24245 bool temp2
= false ;
24246 PyObject
* obj0
= 0 ;
24247 PyObject
* obj1
= 0 ;
24248 char * kwnames
[] = {
24249 (char *) "self",(char *) "filename", NULL
24252 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetFilename",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24253 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
24254 if (!SWIG_IsOK(res1
)) {
24255 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_SetFilename" "', expected argument " "1"" of type '" "wxPrintData *""'");
24257 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
24259 arg2
= wxString_in_helper(obj1
);
24260 if (arg2
== NULL
) SWIG_fail
;
24264 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24265 (arg1
)->SetFilename((wxString
const &)*arg2
);
24266 wxPyEndAllowThreads(__tstate
);
24267 if (PyErr_Occurred()) SWIG_fail
;
24269 resultobj
= SWIG_Py_Void();
24284 SWIGINTERN PyObject
*_wrap_PrintData_GetPrivData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24285 PyObject
*resultobj
= 0;
24286 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
24287 PyObject
*result
= 0 ;
24290 PyObject
*swig_obj
[1] ;
24292 if (!args
) SWIG_fail
;
24293 swig_obj
[0] = args
;
24294 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
24295 if (!SWIG_IsOK(res1
)) {
24296 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_GetPrivData" "', expected argument " "1"" of type '" "wxPrintData *""'");
24298 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
24300 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24301 result
= (PyObject
*)wxPrintData_GetPrivData(arg1
);
24302 wxPyEndAllowThreads(__tstate
);
24303 if (PyErr_Occurred()) SWIG_fail
;
24305 resultobj
= result
;
24312 SWIGINTERN PyObject
*_wrap_PrintData_SetPrivData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24313 PyObject
*resultobj
= 0;
24314 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
24315 PyObject
*arg2
= (PyObject
*) 0 ;
24318 PyObject
* obj0
= 0 ;
24319 PyObject
* obj1
= 0 ;
24320 char * kwnames
[] = {
24321 (char *) "self",(char *) "data", NULL
24324 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPrivData",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24325 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
24326 if (!SWIG_IsOK(res1
)) {
24327 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_SetPrivData" "', expected argument " "1"" of type '" "wxPrintData *""'");
24329 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
24332 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24333 wxPrintData_SetPrivData(arg1
,arg2
);
24334 wxPyEndAllowThreads(__tstate
);
24335 if (PyErr_Occurred()) SWIG_fail
;
24337 resultobj
= SWIG_Py_Void();
24344 SWIGINTERN PyObject
*PrintData_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24346 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
24347 SWIG_TypeNewClientData(SWIGTYPE_p_wxPrintData
, SWIG_NewClientData(obj
));
24348 return SWIG_Py_Void();
24351 SWIGINTERN PyObject
*PrintData_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24352 return SWIG_Python_InitShadowInstance(args
);
24355 SWIGINTERN PyObject
*_wrap_new_PageSetupDialogData__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**SWIGUNUSEDPARM(swig_obj
)) {
24356 PyObject
*resultobj
= 0;
24357 wxPageSetupDialogData
*result
= 0 ;
24359 if ((nobjs
< 0) || (nobjs
> 0)) SWIG_fail
;
24361 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24362 result
= (wxPageSetupDialogData
*)new wxPageSetupDialogData();
24363 wxPyEndAllowThreads(__tstate
);
24364 if (PyErr_Occurred()) SWIG_fail
;
24366 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPageSetupDialogData
, SWIG_POINTER_NEW
| 0 );
24373 SWIGINTERN PyObject
*_wrap_new_PageSetupDialogData__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
24374 PyObject
*resultobj
= 0;
24375 wxPageSetupDialogData
*arg1
= 0 ;
24376 wxPageSetupDialogData
*result
= 0 ;
24380 if ((nobjs
< 1) || (nobjs
> 1)) SWIG_fail
;
24381 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0);
24382 if (!SWIG_IsOK(res1
)) {
24383 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PageSetupDialogData" "', expected argument " "1"" of type '" "wxPageSetupDialogData const &""'");
24386 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_PageSetupDialogData" "', expected argument " "1"" of type '" "wxPageSetupDialogData const &""'");
24388 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
24390 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24391 result
= (wxPageSetupDialogData
*)new wxPageSetupDialogData((wxPageSetupDialogData
const &)*arg1
);
24392 wxPyEndAllowThreads(__tstate
);
24393 if (PyErr_Occurred()) SWIG_fail
;
24395 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPageSetupDialogData
, SWIG_POINTER_NEW
| 0 );
24402 SWIGINTERN PyObject
*_wrap_new_PageSetupDialogData__SWIG_2(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
24403 PyObject
*resultobj
= 0;
24404 wxPrintData
*arg1
= 0 ;
24405 wxPageSetupDialogData
*result
= 0 ;
24409 if ((nobjs
< 1) || (nobjs
> 1)) SWIG_fail
;
24410 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxPrintData
, 0 | 0);
24411 if (!SWIG_IsOK(res1
)) {
24412 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PageSetupDialogData" "', expected argument " "1"" of type '" "wxPrintData const &""'");
24415 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_PageSetupDialogData" "', expected argument " "1"" of type '" "wxPrintData const &""'");
24417 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
24419 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24420 result
= (wxPageSetupDialogData
*)new wxPageSetupDialogData((wxPrintData
const &)*arg1
);
24421 wxPyEndAllowThreads(__tstate
);
24422 if (PyErr_Occurred()) SWIG_fail
;
24424 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPageSetupDialogData
, SWIG_POINTER_NEW
| 0 );
24431 SWIGINTERN PyObject
*_wrap_new_PageSetupDialogData(PyObject
*self
, PyObject
*args
) {
24435 if (!(argc
= SWIG_Python_UnpackTuple(args
,"new_PageSetupDialogData",0,1,argv
))) SWIG_fail
;
24438 return _wrap_new_PageSetupDialogData__SWIG_0(self
, argc
, argv
);
24443 int res
= SWIG_ConvertPtr(argv
[0], 0, SWIGTYPE_p_wxPageSetupDialogData
, 0);
24444 _v
= SWIG_CheckState(res
);
24446 if (!_v
) goto check_2
;
24447 return _wrap_new_PageSetupDialogData__SWIG_1(self
, argc
, argv
);
24452 return _wrap_new_PageSetupDialogData__SWIG_2(self
, argc
, argv
);
24456 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'new_PageSetupDialogData'");
24461 SWIGINTERN PyObject
*_wrap_delete_PageSetupDialogData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24462 PyObject
*resultobj
= 0;
24463 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
24466 PyObject
*swig_obj
[1] ;
24468 if (!args
) SWIG_fail
;
24469 swig_obj
[0] = args
;
24470 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, SWIG_POINTER_DISOWN
| 0 );
24471 if (!SWIG_IsOK(res1
)) {
24472 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_PageSetupDialogData" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
24474 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
24476 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24479 wxPyEndAllowThreads(__tstate
);
24480 if (PyErr_Occurred()) SWIG_fail
;
24482 resultobj
= SWIG_Py_Void();
24489 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_EnableHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24490 PyObject
*resultobj
= 0;
24491 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
24497 PyObject
* obj0
= 0 ;
24498 PyObject
* obj1
= 0 ;
24499 char * kwnames
[] = {
24500 (char *) "self",(char *) "flag", NULL
24503 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_EnableHelp",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24504 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
24505 if (!SWIG_IsOK(res1
)) {
24506 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_EnableHelp" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
24508 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
24509 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
24510 if (!SWIG_IsOK(ecode2
)) {
24511 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PageSetupDialogData_EnableHelp" "', expected argument " "2"" of type '" "bool""'");
24513 arg2
= static_cast< bool >(val2
);
24515 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24516 (arg1
)->EnableHelp(arg2
);
24517 wxPyEndAllowThreads(__tstate
);
24518 if (PyErr_Occurred()) SWIG_fail
;
24520 resultobj
= SWIG_Py_Void();
24527 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_EnableMargins(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24528 PyObject
*resultobj
= 0;
24529 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
24535 PyObject
* obj0
= 0 ;
24536 PyObject
* obj1
= 0 ;
24537 char * kwnames
[] = {
24538 (char *) "self",(char *) "flag", NULL
24541 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_EnableMargins",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24542 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
24543 if (!SWIG_IsOK(res1
)) {
24544 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_EnableMargins" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
24546 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
24547 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
24548 if (!SWIG_IsOK(ecode2
)) {
24549 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PageSetupDialogData_EnableMargins" "', expected argument " "2"" of type '" "bool""'");
24551 arg2
= static_cast< bool >(val2
);
24553 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24554 (arg1
)->EnableMargins(arg2
);
24555 wxPyEndAllowThreads(__tstate
);
24556 if (PyErr_Occurred()) SWIG_fail
;
24558 resultobj
= SWIG_Py_Void();
24565 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_EnableOrientation(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24566 PyObject
*resultobj
= 0;
24567 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
24573 PyObject
* obj0
= 0 ;
24574 PyObject
* obj1
= 0 ;
24575 char * kwnames
[] = {
24576 (char *) "self",(char *) "flag", NULL
24579 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_EnableOrientation",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24580 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
24581 if (!SWIG_IsOK(res1
)) {
24582 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_EnableOrientation" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
24584 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
24585 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
24586 if (!SWIG_IsOK(ecode2
)) {
24587 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PageSetupDialogData_EnableOrientation" "', expected argument " "2"" of type '" "bool""'");
24589 arg2
= static_cast< bool >(val2
);
24591 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24592 (arg1
)->EnableOrientation(arg2
);
24593 wxPyEndAllowThreads(__tstate
);
24594 if (PyErr_Occurred()) SWIG_fail
;
24596 resultobj
= SWIG_Py_Void();
24603 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_EnablePaper(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24604 PyObject
*resultobj
= 0;
24605 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
24611 PyObject
* obj0
= 0 ;
24612 PyObject
* obj1
= 0 ;
24613 char * kwnames
[] = {
24614 (char *) "self",(char *) "flag", NULL
24617 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_EnablePaper",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24618 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
24619 if (!SWIG_IsOK(res1
)) {
24620 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_EnablePaper" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
24622 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
24623 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
24624 if (!SWIG_IsOK(ecode2
)) {
24625 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PageSetupDialogData_EnablePaper" "', expected argument " "2"" of type '" "bool""'");
24627 arg2
= static_cast< bool >(val2
);
24629 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24630 (arg1
)->EnablePaper(arg2
);
24631 wxPyEndAllowThreads(__tstate
);
24632 if (PyErr_Occurred()) SWIG_fail
;
24634 resultobj
= SWIG_Py_Void();
24641 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_EnablePrinter(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24642 PyObject
*resultobj
= 0;
24643 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
24649 PyObject
* obj0
= 0 ;
24650 PyObject
* obj1
= 0 ;
24651 char * kwnames
[] = {
24652 (char *) "self",(char *) "flag", NULL
24655 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_EnablePrinter",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24656 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
24657 if (!SWIG_IsOK(res1
)) {
24658 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_EnablePrinter" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
24660 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
24661 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
24662 if (!SWIG_IsOK(ecode2
)) {
24663 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PageSetupDialogData_EnablePrinter" "', expected argument " "2"" of type '" "bool""'");
24665 arg2
= static_cast< bool >(val2
);
24667 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24668 (arg1
)->EnablePrinter(arg2
);
24669 wxPyEndAllowThreads(__tstate
);
24670 if (PyErr_Occurred()) SWIG_fail
;
24672 resultobj
= SWIG_Py_Void();
24679 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_GetDefaultMinMargins(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24680 PyObject
*resultobj
= 0;
24681 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
24685 PyObject
*swig_obj
[1] ;
24687 if (!args
) SWIG_fail
;
24688 swig_obj
[0] = args
;
24689 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
24690 if (!SWIG_IsOK(res1
)) {
24691 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_GetDefaultMinMargins" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
24693 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
24695 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24696 result
= (bool)(arg1
)->GetDefaultMinMargins();
24697 wxPyEndAllowThreads(__tstate
);
24698 if (PyErr_Occurred()) SWIG_fail
;
24701 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24709 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_GetEnableMargins(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24710 PyObject
*resultobj
= 0;
24711 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
24715 PyObject
*swig_obj
[1] ;
24717 if (!args
) SWIG_fail
;
24718 swig_obj
[0] = args
;
24719 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
24720 if (!SWIG_IsOK(res1
)) {
24721 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_GetEnableMargins" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
24723 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
24725 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24726 result
= (bool)(arg1
)->GetEnableMargins();
24727 wxPyEndAllowThreads(__tstate
);
24728 if (PyErr_Occurred()) SWIG_fail
;
24731 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24739 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_GetEnableOrientation(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24740 PyObject
*resultobj
= 0;
24741 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
24745 PyObject
*swig_obj
[1] ;
24747 if (!args
) SWIG_fail
;
24748 swig_obj
[0] = args
;
24749 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
24750 if (!SWIG_IsOK(res1
)) {
24751 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_GetEnableOrientation" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
24753 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
24755 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24756 result
= (bool)(arg1
)->GetEnableOrientation();
24757 wxPyEndAllowThreads(__tstate
);
24758 if (PyErr_Occurred()) SWIG_fail
;
24761 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24769 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_GetEnablePaper(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24770 PyObject
*resultobj
= 0;
24771 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
24775 PyObject
*swig_obj
[1] ;
24777 if (!args
) SWIG_fail
;
24778 swig_obj
[0] = args
;
24779 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
24780 if (!SWIG_IsOK(res1
)) {
24781 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_GetEnablePaper" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
24783 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
24785 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24786 result
= (bool)(arg1
)->GetEnablePaper();
24787 wxPyEndAllowThreads(__tstate
);
24788 if (PyErr_Occurred()) SWIG_fail
;
24791 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24799 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_GetEnablePrinter(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24800 PyObject
*resultobj
= 0;
24801 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
24805 PyObject
*swig_obj
[1] ;
24807 if (!args
) SWIG_fail
;
24808 swig_obj
[0] = args
;
24809 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
24810 if (!SWIG_IsOK(res1
)) {
24811 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_GetEnablePrinter" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
24813 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
24815 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24816 result
= (bool)(arg1
)->GetEnablePrinter();
24817 wxPyEndAllowThreads(__tstate
);
24818 if (PyErr_Occurred()) SWIG_fail
;
24821 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24829 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_GetEnableHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24830 PyObject
*resultobj
= 0;
24831 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
24835 PyObject
*swig_obj
[1] ;
24837 if (!args
) SWIG_fail
;
24838 swig_obj
[0] = args
;
24839 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
24840 if (!SWIG_IsOK(res1
)) {
24841 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_GetEnableHelp" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
24843 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
24845 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24846 result
= (bool)(arg1
)->GetEnableHelp();
24847 wxPyEndAllowThreads(__tstate
);
24848 if (PyErr_Occurred()) SWIG_fail
;
24851 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24859 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_GetDefaultInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24860 PyObject
*resultobj
= 0;
24861 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
24865 PyObject
*swig_obj
[1] ;
24867 if (!args
) SWIG_fail
;
24868 swig_obj
[0] = args
;
24869 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
24870 if (!SWIG_IsOK(res1
)) {
24871 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_GetDefaultInfo" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
24873 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
24875 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24876 result
= (bool)(arg1
)->GetDefaultInfo();
24877 wxPyEndAllowThreads(__tstate
);
24878 if (PyErr_Occurred()) SWIG_fail
;
24881 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24889 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_GetMarginTopLeft(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24890 PyObject
*resultobj
= 0;
24891 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
24895 PyObject
*swig_obj
[1] ;
24897 if (!args
) SWIG_fail
;
24898 swig_obj
[0] = args
;
24899 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
24900 if (!SWIG_IsOK(res1
)) {
24901 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_GetMarginTopLeft" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
24903 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
24905 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24906 result
= (arg1
)->GetMarginTopLeft();
24907 wxPyEndAllowThreads(__tstate
);
24908 if (PyErr_Occurred()) SWIG_fail
;
24910 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
24917 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_GetMarginBottomRight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24918 PyObject
*resultobj
= 0;
24919 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
24923 PyObject
*swig_obj
[1] ;
24925 if (!args
) SWIG_fail
;
24926 swig_obj
[0] = args
;
24927 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
24928 if (!SWIG_IsOK(res1
)) {
24929 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_GetMarginBottomRight" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
24931 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
24933 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24934 result
= (arg1
)->GetMarginBottomRight();
24935 wxPyEndAllowThreads(__tstate
);
24936 if (PyErr_Occurred()) SWIG_fail
;
24938 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
24945 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_GetMinMarginTopLeft(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24946 PyObject
*resultobj
= 0;
24947 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
24951 PyObject
*swig_obj
[1] ;
24953 if (!args
) SWIG_fail
;
24954 swig_obj
[0] = args
;
24955 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
24956 if (!SWIG_IsOK(res1
)) {
24957 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_GetMinMarginTopLeft" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
24959 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
24961 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24962 result
= (arg1
)->GetMinMarginTopLeft();
24963 wxPyEndAllowThreads(__tstate
);
24964 if (PyErr_Occurred()) SWIG_fail
;
24966 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
24973 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_GetMinMarginBottomRight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24974 PyObject
*resultobj
= 0;
24975 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
24979 PyObject
*swig_obj
[1] ;
24981 if (!args
) SWIG_fail
;
24982 swig_obj
[0] = args
;
24983 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
24984 if (!SWIG_IsOK(res1
)) {
24985 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_GetMinMarginBottomRight" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
24987 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
24989 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24990 result
= (arg1
)->GetMinMarginBottomRight();
24991 wxPyEndAllowThreads(__tstate
);
24992 if (PyErr_Occurred()) SWIG_fail
;
24994 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
25001 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_GetPaperId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25002 PyObject
*resultobj
= 0;
25003 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
25004 wxPaperSize result
;
25007 PyObject
*swig_obj
[1] ;
25009 if (!args
) SWIG_fail
;
25010 swig_obj
[0] = args
;
25011 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
25012 if (!SWIG_IsOK(res1
)) {
25013 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_GetPaperId" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25015 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
25017 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25018 result
= (wxPaperSize
)(arg1
)->GetPaperId();
25019 wxPyEndAllowThreads(__tstate
);
25020 if (PyErr_Occurred()) SWIG_fail
;
25022 resultobj
= SWIG_From_int(static_cast< int >(result
));
25029 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_GetPaperSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25030 PyObject
*resultobj
= 0;
25031 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
25035 PyObject
*swig_obj
[1] ;
25037 if (!args
) SWIG_fail
;
25038 swig_obj
[0] = args
;
25039 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
25040 if (!SWIG_IsOK(res1
)) {
25041 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_GetPaperSize" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25043 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
25045 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25046 result
= (arg1
)->GetPaperSize();
25047 wxPyEndAllowThreads(__tstate
);
25048 if (PyErr_Occurred()) SWIG_fail
;
25050 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
25057 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_GetPrintData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25058 PyObject
*resultobj
= 0;
25059 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
25060 wxPrintData
*result
= 0 ;
25063 PyObject
*swig_obj
[1] ;
25065 if (!args
) SWIG_fail
;
25066 swig_obj
[0] = args
;
25067 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
25068 if (!SWIG_IsOK(res1
)) {
25069 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_GetPrintData" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25071 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
25073 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25075 wxPrintData
&_result_ref
= (arg1
)->GetPrintData();
25076 result
= (wxPrintData
*) &_result_ref
;
25078 wxPyEndAllowThreads(__tstate
);
25079 if (PyErr_Occurred()) SWIG_fail
;
25081 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPrintData
, 0 | 0 );
25088 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_Ok(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25089 PyObject
*resultobj
= 0;
25090 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
25094 PyObject
*swig_obj
[1] ;
25096 if (!args
) SWIG_fail
;
25097 swig_obj
[0] = args
;
25098 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
25099 if (!SWIG_IsOK(res1
)) {
25100 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_Ok" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25102 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
25104 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25105 result
= (bool)(arg1
)->Ok();
25106 wxPyEndAllowThreads(__tstate
);
25107 if (PyErr_Occurred()) SWIG_fail
;
25110 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25118 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_SetDefaultInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25119 PyObject
*resultobj
= 0;
25120 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
25126 PyObject
* obj0
= 0 ;
25127 PyObject
* obj1
= 0 ;
25128 char * kwnames
[] = {
25129 (char *) "self",(char *) "flag", NULL
25132 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetDefaultInfo",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25133 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
25134 if (!SWIG_IsOK(res1
)) {
25135 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_SetDefaultInfo" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25137 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
25138 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
25139 if (!SWIG_IsOK(ecode2
)) {
25140 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PageSetupDialogData_SetDefaultInfo" "', expected argument " "2"" of type '" "bool""'");
25142 arg2
= static_cast< bool >(val2
);
25144 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25145 (arg1
)->SetDefaultInfo(arg2
);
25146 wxPyEndAllowThreads(__tstate
);
25147 if (PyErr_Occurred()) SWIG_fail
;
25149 resultobj
= SWIG_Py_Void();
25156 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_SetDefaultMinMargins(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25157 PyObject
*resultobj
= 0;
25158 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
25164 PyObject
* obj0
= 0 ;
25165 PyObject
* obj1
= 0 ;
25166 char * kwnames
[] = {
25167 (char *) "self",(char *) "flag", NULL
25170 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetDefaultMinMargins",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25171 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
25172 if (!SWIG_IsOK(res1
)) {
25173 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_SetDefaultMinMargins" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25175 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
25176 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
25177 if (!SWIG_IsOK(ecode2
)) {
25178 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PageSetupDialogData_SetDefaultMinMargins" "', expected argument " "2"" of type '" "bool""'");
25180 arg2
= static_cast< bool >(val2
);
25182 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25183 (arg1
)->SetDefaultMinMargins(arg2
);
25184 wxPyEndAllowThreads(__tstate
);
25185 if (PyErr_Occurred()) SWIG_fail
;
25187 resultobj
= SWIG_Py_Void();
25194 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_SetMarginTopLeft(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25195 PyObject
*resultobj
= 0;
25196 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
25197 wxPoint
*arg2
= 0 ;
25201 PyObject
* obj0
= 0 ;
25202 PyObject
* obj1
= 0 ;
25203 char * kwnames
[] = {
25204 (char *) "self",(char *) "pt", NULL
25207 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetMarginTopLeft",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25208 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
25209 if (!SWIG_IsOK(res1
)) {
25210 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_SetMarginTopLeft" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25212 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
25215 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
25218 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25219 (arg1
)->SetMarginTopLeft((wxPoint
const &)*arg2
);
25220 wxPyEndAllowThreads(__tstate
);
25221 if (PyErr_Occurred()) SWIG_fail
;
25223 resultobj
= SWIG_Py_Void();
25230 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_SetMarginBottomRight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25231 PyObject
*resultobj
= 0;
25232 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
25233 wxPoint
*arg2
= 0 ;
25237 PyObject
* obj0
= 0 ;
25238 PyObject
* obj1
= 0 ;
25239 char * kwnames
[] = {
25240 (char *) "self",(char *) "pt", NULL
25243 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetMarginBottomRight",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25244 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
25245 if (!SWIG_IsOK(res1
)) {
25246 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_SetMarginBottomRight" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25248 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
25251 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
25254 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25255 (arg1
)->SetMarginBottomRight((wxPoint
const &)*arg2
);
25256 wxPyEndAllowThreads(__tstate
);
25257 if (PyErr_Occurred()) SWIG_fail
;
25259 resultobj
= SWIG_Py_Void();
25266 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_SetMinMarginTopLeft(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25267 PyObject
*resultobj
= 0;
25268 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
25269 wxPoint
*arg2
= 0 ;
25273 PyObject
* obj0
= 0 ;
25274 PyObject
* obj1
= 0 ;
25275 char * kwnames
[] = {
25276 (char *) "self",(char *) "pt", NULL
25279 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetMinMarginTopLeft",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25280 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
25281 if (!SWIG_IsOK(res1
)) {
25282 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_SetMinMarginTopLeft" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25284 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
25287 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
25290 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25291 (arg1
)->SetMinMarginTopLeft((wxPoint
const &)*arg2
);
25292 wxPyEndAllowThreads(__tstate
);
25293 if (PyErr_Occurred()) SWIG_fail
;
25295 resultobj
= SWIG_Py_Void();
25302 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_SetMinMarginBottomRight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25303 PyObject
*resultobj
= 0;
25304 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
25305 wxPoint
*arg2
= 0 ;
25309 PyObject
* obj0
= 0 ;
25310 PyObject
* obj1
= 0 ;
25311 char * kwnames
[] = {
25312 (char *) "self",(char *) "pt", NULL
25315 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetMinMarginBottomRight",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25316 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
25317 if (!SWIG_IsOK(res1
)) {
25318 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_SetMinMarginBottomRight" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25320 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
25323 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
25326 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25327 (arg1
)->SetMinMarginBottomRight((wxPoint
const &)*arg2
);
25328 wxPyEndAllowThreads(__tstate
);
25329 if (PyErr_Occurred()) SWIG_fail
;
25331 resultobj
= SWIG_Py_Void();
25338 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_SetPaperId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25339 PyObject
*resultobj
= 0;
25340 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
25346 PyObject
* obj0
= 0 ;
25347 PyObject
* obj1
= 0 ;
25348 char * kwnames
[] = {
25349 (char *) "self",(char *) "id", NULL
25352 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetPaperId",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25353 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
25354 if (!SWIG_IsOK(res1
)) {
25355 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_SetPaperId" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25357 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
25358 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
25359 if (!SWIG_IsOK(ecode2
)) {
25360 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PageSetupDialogData_SetPaperId" "', expected argument " "2"" of type '" "wxPaperSize""'");
25362 arg2
= static_cast< wxPaperSize
>(val2
);
25364 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25365 (arg1
)->SetPaperId(arg2
);
25366 wxPyEndAllowThreads(__tstate
);
25367 if (PyErr_Occurred()) SWIG_fail
;
25369 resultobj
= SWIG_Py_Void();
25376 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_SetPaperSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25377 PyObject
*resultobj
= 0;
25378 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
25383 PyObject
* obj0
= 0 ;
25384 PyObject
* obj1
= 0 ;
25385 char * kwnames
[] = {
25386 (char *) "self",(char *) "size", NULL
25389 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetPaperSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25390 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
25391 if (!SWIG_IsOK(res1
)) {
25392 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_SetPaperSize" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25394 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
25397 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
25400 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25401 (arg1
)->SetPaperSize((wxSize
const &)*arg2
);
25402 wxPyEndAllowThreads(__tstate
);
25403 if (PyErr_Occurred()) SWIG_fail
;
25405 resultobj
= SWIG_Py_Void();
25412 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_SetPrintData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25413 PyObject
*resultobj
= 0;
25414 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
25415 wxPrintData
*arg2
= 0 ;
25420 PyObject
* obj0
= 0 ;
25421 PyObject
* obj1
= 0 ;
25422 char * kwnames
[] = {
25423 (char *) "self",(char *) "printData", NULL
25426 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetPrintData",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25427 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
25428 if (!SWIG_IsOK(res1
)) {
25429 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_SetPrintData" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25431 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
25432 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxPrintData
, 0 | 0);
25433 if (!SWIG_IsOK(res2
)) {
25434 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PageSetupDialogData_SetPrintData" "', expected argument " "2"" of type '" "wxPrintData const &""'");
25437 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PageSetupDialogData_SetPrintData" "', expected argument " "2"" of type '" "wxPrintData const &""'");
25439 arg2
= reinterpret_cast< wxPrintData
* >(argp2
);
25441 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25442 (arg1
)->SetPrintData((wxPrintData
const &)*arg2
);
25443 wxPyEndAllowThreads(__tstate
);
25444 if (PyErr_Occurred()) SWIG_fail
;
25446 resultobj
= SWIG_Py_Void();
25453 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_CalculateIdFromPaperSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25454 PyObject
*resultobj
= 0;
25455 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
25458 PyObject
*swig_obj
[1] ;
25460 if (!args
) SWIG_fail
;
25461 swig_obj
[0] = args
;
25462 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
25463 if (!SWIG_IsOK(res1
)) {
25464 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_CalculateIdFromPaperSize" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25466 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
25468 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25469 (arg1
)->CalculateIdFromPaperSize();
25470 wxPyEndAllowThreads(__tstate
);
25471 if (PyErr_Occurred()) SWIG_fail
;
25473 resultobj
= SWIG_Py_Void();
25480 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_CalculatePaperSizeFromId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25481 PyObject
*resultobj
= 0;
25482 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
25485 PyObject
*swig_obj
[1] ;
25487 if (!args
) SWIG_fail
;
25488 swig_obj
[0] = args
;
25489 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
25490 if (!SWIG_IsOK(res1
)) {
25491 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_CalculatePaperSizeFromId" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25493 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
25495 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25496 (arg1
)->CalculatePaperSizeFromId();
25497 wxPyEndAllowThreads(__tstate
);
25498 if (PyErr_Occurred()) SWIG_fail
;
25500 resultobj
= SWIG_Py_Void();
25507 SWIGINTERN PyObject
*PageSetupDialogData_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25509 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
25510 SWIG_TypeNewClientData(SWIGTYPE_p_wxPageSetupDialogData
, SWIG_NewClientData(obj
));
25511 return SWIG_Py_Void();
25514 SWIGINTERN PyObject
*PageSetupDialogData_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25515 return SWIG_Python_InitShadowInstance(args
);
25518 SWIGINTERN PyObject
*_wrap_new_PageSetupDialog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25519 PyObject
*resultobj
= 0;
25520 wxWindow
*arg1
= (wxWindow
*) 0 ;
25521 wxPageSetupDialogData
*arg2
= (wxPageSetupDialogData
*) NULL
;
25522 wxPageSetupDialog
*result
= 0 ;
25527 PyObject
* obj0
= 0 ;
25528 PyObject
* obj1
= 0 ;
25529 char * kwnames
[] = {
25530 (char *) "parent",(char *) "data", NULL
25533 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_PageSetupDialog",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25534 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
25535 if (!SWIG_IsOK(res1
)) {
25536 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PageSetupDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
25538 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
25540 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
25541 if (!SWIG_IsOK(res2
)) {
25542 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_PageSetupDialog" "', expected argument " "2"" of type '" "wxPageSetupDialogData *""'");
25544 arg2
= reinterpret_cast< wxPageSetupDialogData
* >(argp2
);
25547 if (!wxPyCheckForApp()) SWIG_fail
;
25548 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25549 result
= (wxPageSetupDialog
*)new wxPageSetupDialog(arg1
,arg2
);
25550 wxPyEndAllowThreads(__tstate
);
25551 if (PyErr_Occurred()) SWIG_fail
;
25553 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPageSetupDialog
, SWIG_POINTER_NEW
| 0 );
25560 SWIGINTERN PyObject
*_wrap_PageSetupDialog_GetPageSetupData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25561 PyObject
*resultobj
= 0;
25562 wxPageSetupDialog
*arg1
= (wxPageSetupDialog
*) 0 ;
25563 wxPageSetupDialogData
*result
= 0 ;
25566 PyObject
*swig_obj
[1] ;
25568 if (!args
) SWIG_fail
;
25569 swig_obj
[0] = args
;
25570 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialog
, 0 | 0 );
25571 if (!SWIG_IsOK(res1
)) {
25572 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialog_GetPageSetupData" "', expected argument " "1"" of type '" "wxPageSetupDialog *""'");
25574 arg1
= reinterpret_cast< wxPageSetupDialog
* >(argp1
);
25576 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25578 wxPageSetupDialogData
&_result_ref
= (arg1
)->GetPageSetupData();
25579 result
= (wxPageSetupDialogData
*) &_result_ref
;
25581 wxPyEndAllowThreads(__tstate
);
25582 if (PyErr_Occurred()) SWIG_fail
;
25584 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
25591 SWIGINTERN PyObject
*_wrap_PageSetupDialog_GetPageSetupDialogData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25592 PyObject
*resultobj
= 0;
25593 wxPageSetupDialog
*arg1
= (wxPageSetupDialog
*) 0 ;
25594 wxPageSetupDialogData
*result
= 0 ;
25597 PyObject
*swig_obj
[1] ;
25599 if (!args
) SWIG_fail
;
25600 swig_obj
[0] = args
;
25601 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialog
, 0 | 0 );
25602 if (!SWIG_IsOK(res1
)) {
25603 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialog_GetPageSetupDialogData" "', expected argument " "1"" of type '" "wxPageSetupDialog *""'");
25605 arg1
= reinterpret_cast< wxPageSetupDialog
* >(argp1
);
25607 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25609 wxPageSetupDialogData
&_result_ref
= (arg1
)->GetPageSetupDialogData();
25610 result
= (wxPageSetupDialogData
*) &_result_ref
;
25612 wxPyEndAllowThreads(__tstate
);
25613 if (PyErr_Occurred()) SWIG_fail
;
25615 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
25622 SWIGINTERN PyObject
*_wrap_PageSetupDialog_ShowModal(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25623 PyObject
*resultobj
= 0;
25624 wxPageSetupDialog
*arg1
= (wxPageSetupDialog
*) 0 ;
25628 PyObject
*swig_obj
[1] ;
25630 if (!args
) SWIG_fail
;
25631 swig_obj
[0] = args
;
25632 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialog
, 0 | 0 );
25633 if (!SWIG_IsOK(res1
)) {
25634 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialog_ShowModal" "', expected argument " "1"" of type '" "wxPageSetupDialog *""'");
25636 arg1
= reinterpret_cast< wxPageSetupDialog
* >(argp1
);
25638 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25639 result
= (int)(arg1
)->ShowModal();
25640 wxPyEndAllowThreads(__tstate
);
25641 if (PyErr_Occurred()) SWIG_fail
;
25643 resultobj
= SWIG_From_int(static_cast< int >(result
));
25650 SWIGINTERN PyObject
*PageSetupDialog_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25652 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
25653 SWIG_TypeNewClientData(SWIGTYPE_p_wxPageSetupDialog
, SWIG_NewClientData(obj
));
25654 return SWIG_Py_Void();
25657 SWIGINTERN PyObject
*PageSetupDialog_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25658 return SWIG_Python_InitShadowInstance(args
);
25661 SWIGINTERN PyObject
*_wrap_new_PrintDialogData__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**SWIGUNUSEDPARM(swig_obj
)) {
25662 PyObject
*resultobj
= 0;
25663 wxPrintDialogData
*result
= 0 ;
25665 if ((nobjs
< 0) || (nobjs
> 0)) SWIG_fail
;
25667 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25668 result
= (wxPrintDialogData
*)new wxPrintDialogData();
25669 wxPyEndAllowThreads(__tstate
);
25670 if (PyErr_Occurred()) SWIG_fail
;
25672 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPrintDialogData
, SWIG_POINTER_NEW
| 0 );
25679 SWIGINTERN PyObject
*_wrap_new_PrintDialogData__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
25680 PyObject
*resultobj
= 0;
25681 wxPrintData
*arg1
= 0 ;
25682 wxPrintDialogData
*result
= 0 ;
25686 if ((nobjs
< 1) || (nobjs
> 1)) SWIG_fail
;
25687 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxPrintData
, 0 | 0);
25688 if (!SWIG_IsOK(res1
)) {
25689 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PrintDialogData" "', expected argument " "1"" of type '" "wxPrintData const &""'");
25692 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_PrintDialogData" "', expected argument " "1"" of type '" "wxPrintData const &""'");
25694 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
25696 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25697 result
= (wxPrintDialogData
*)new wxPrintDialogData((wxPrintData
const &)*arg1
);
25698 wxPyEndAllowThreads(__tstate
);
25699 if (PyErr_Occurred()) SWIG_fail
;
25701 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPrintDialogData
, SWIG_POINTER_NEW
| 0 );
25708 SWIGINTERN PyObject
*_wrap_new_PrintDialogData__SWIG_2(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
25709 PyObject
*resultobj
= 0;
25710 wxPrintDialogData
*arg1
= 0 ;
25711 wxPrintDialogData
*result
= 0 ;
25715 if ((nobjs
< 1) || (nobjs
> 1)) SWIG_fail
;
25716 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxPrintDialogData
, 0 | 0);
25717 if (!SWIG_IsOK(res1
)) {
25718 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PrintDialogData" "', expected argument " "1"" of type '" "wxPrintDialogData const &""'");
25721 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_PrintDialogData" "', expected argument " "1"" of type '" "wxPrintDialogData const &""'");
25723 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
25725 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25726 result
= (wxPrintDialogData
*)new wxPrintDialogData((wxPrintDialogData
const &)*arg1
);
25727 wxPyEndAllowThreads(__tstate
);
25728 if (PyErr_Occurred()) SWIG_fail
;
25730 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPrintDialogData
, SWIG_POINTER_NEW
| 0 );
25737 SWIGINTERN PyObject
*_wrap_new_PrintDialogData(PyObject
*self
, PyObject
*args
) {
25741 if (!(argc
= SWIG_Python_UnpackTuple(args
,"new_PrintDialogData",0,1,argv
))) SWIG_fail
;
25744 return _wrap_new_PrintDialogData__SWIG_0(self
, argc
, argv
);
25749 int res
= SWIG_ConvertPtr(argv
[0], 0, SWIGTYPE_p_wxPrintData
, 0);
25750 _v
= SWIG_CheckState(res
);
25752 if (!_v
) goto check_2
;
25753 return _wrap_new_PrintDialogData__SWIG_1(self
, argc
, argv
);
25758 return _wrap_new_PrintDialogData__SWIG_2(self
, argc
, argv
);
25762 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'new_PrintDialogData'");
25767 SWIGINTERN PyObject
*_wrap_delete_PrintDialogData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25768 PyObject
*resultobj
= 0;
25769 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
25772 PyObject
*swig_obj
[1] ;
25774 if (!args
) SWIG_fail
;
25775 swig_obj
[0] = args
;
25776 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialogData
, SWIG_POINTER_DISOWN
| 0 );
25777 if (!SWIG_IsOK(res1
)) {
25778 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_PrintDialogData" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
25780 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
25782 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25785 wxPyEndAllowThreads(__tstate
);
25786 if (PyErr_Occurred()) SWIG_fail
;
25788 resultobj
= SWIG_Py_Void();
25795 SWIGINTERN PyObject
*_wrap_PrintDialogData_GetFromPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25796 PyObject
*resultobj
= 0;
25797 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
25801 PyObject
*swig_obj
[1] ;
25803 if (!args
) SWIG_fail
;
25804 swig_obj
[0] = args
;
25805 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
25806 if (!SWIG_IsOK(res1
)) {
25807 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_GetFromPage" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
25809 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
25811 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25812 result
= (int)((wxPrintDialogData
const *)arg1
)->GetFromPage();
25813 wxPyEndAllowThreads(__tstate
);
25814 if (PyErr_Occurred()) SWIG_fail
;
25816 resultobj
= SWIG_From_int(static_cast< int >(result
));
25823 SWIGINTERN PyObject
*_wrap_PrintDialogData_GetToPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25824 PyObject
*resultobj
= 0;
25825 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
25829 PyObject
*swig_obj
[1] ;
25831 if (!args
) SWIG_fail
;
25832 swig_obj
[0] = args
;
25833 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
25834 if (!SWIG_IsOK(res1
)) {
25835 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_GetToPage" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
25837 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
25839 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25840 result
= (int)((wxPrintDialogData
const *)arg1
)->GetToPage();
25841 wxPyEndAllowThreads(__tstate
);
25842 if (PyErr_Occurred()) SWIG_fail
;
25844 resultobj
= SWIG_From_int(static_cast< int >(result
));
25851 SWIGINTERN PyObject
*_wrap_PrintDialogData_GetMinPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25852 PyObject
*resultobj
= 0;
25853 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
25857 PyObject
*swig_obj
[1] ;
25859 if (!args
) SWIG_fail
;
25860 swig_obj
[0] = args
;
25861 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
25862 if (!SWIG_IsOK(res1
)) {
25863 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_GetMinPage" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
25865 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
25867 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25868 result
= (int)((wxPrintDialogData
const *)arg1
)->GetMinPage();
25869 wxPyEndAllowThreads(__tstate
);
25870 if (PyErr_Occurred()) SWIG_fail
;
25872 resultobj
= SWIG_From_int(static_cast< int >(result
));
25879 SWIGINTERN PyObject
*_wrap_PrintDialogData_GetMaxPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25880 PyObject
*resultobj
= 0;
25881 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
25885 PyObject
*swig_obj
[1] ;
25887 if (!args
) SWIG_fail
;
25888 swig_obj
[0] = args
;
25889 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
25890 if (!SWIG_IsOK(res1
)) {
25891 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_GetMaxPage" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
25893 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
25895 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25896 result
= (int)((wxPrintDialogData
const *)arg1
)->GetMaxPage();
25897 wxPyEndAllowThreads(__tstate
);
25898 if (PyErr_Occurred()) SWIG_fail
;
25900 resultobj
= SWIG_From_int(static_cast< int >(result
));
25907 SWIGINTERN PyObject
*_wrap_PrintDialogData_GetNoCopies(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25908 PyObject
*resultobj
= 0;
25909 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
25913 PyObject
*swig_obj
[1] ;
25915 if (!args
) SWIG_fail
;
25916 swig_obj
[0] = args
;
25917 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
25918 if (!SWIG_IsOK(res1
)) {
25919 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_GetNoCopies" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
25921 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
25923 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25924 result
= (int)((wxPrintDialogData
const *)arg1
)->GetNoCopies();
25925 wxPyEndAllowThreads(__tstate
);
25926 if (PyErr_Occurred()) SWIG_fail
;
25928 resultobj
= SWIG_From_int(static_cast< int >(result
));
25935 SWIGINTERN PyObject
*_wrap_PrintDialogData_GetAllPages(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25936 PyObject
*resultobj
= 0;
25937 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
25941 PyObject
*swig_obj
[1] ;
25943 if (!args
) SWIG_fail
;
25944 swig_obj
[0] = args
;
25945 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
25946 if (!SWIG_IsOK(res1
)) {
25947 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_GetAllPages" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
25949 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
25951 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25952 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetAllPages();
25953 wxPyEndAllowThreads(__tstate
);
25954 if (PyErr_Occurred()) SWIG_fail
;
25957 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25965 SWIGINTERN PyObject
*_wrap_PrintDialogData_GetSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25966 PyObject
*resultobj
= 0;
25967 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
25971 PyObject
*swig_obj
[1] ;
25973 if (!args
) SWIG_fail
;
25974 swig_obj
[0] = args
;
25975 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
25976 if (!SWIG_IsOK(res1
)) {
25977 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_GetSelection" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
25979 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
25981 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25982 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetSelection();
25983 wxPyEndAllowThreads(__tstate
);
25984 if (PyErr_Occurred()) SWIG_fail
;
25987 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25995 SWIGINTERN PyObject
*_wrap_PrintDialogData_GetCollate(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25996 PyObject
*resultobj
= 0;
25997 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
26001 PyObject
*swig_obj
[1] ;
26003 if (!args
) SWIG_fail
;
26004 swig_obj
[0] = args
;
26005 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
26006 if (!SWIG_IsOK(res1
)) {
26007 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_GetCollate" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
26009 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
26011 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26012 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetCollate();
26013 wxPyEndAllowThreads(__tstate
);
26014 if (PyErr_Occurred()) SWIG_fail
;
26017 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26025 SWIGINTERN PyObject
*_wrap_PrintDialogData_GetPrintToFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26026 PyObject
*resultobj
= 0;
26027 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
26031 PyObject
*swig_obj
[1] ;
26033 if (!args
) SWIG_fail
;
26034 swig_obj
[0] = args
;
26035 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
26036 if (!SWIG_IsOK(res1
)) {
26037 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_GetPrintToFile" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
26039 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
26041 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26042 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetPrintToFile();
26043 wxPyEndAllowThreads(__tstate
);
26044 if (PyErr_Occurred()) SWIG_fail
;
26047 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26055 SWIGINTERN PyObject
*_wrap_PrintDialogData_SetFromPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26056 PyObject
*resultobj
= 0;
26057 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
26063 PyObject
* obj0
= 0 ;
26064 PyObject
* obj1
= 0 ;
26065 char * kwnames
[] = {
26066 (char *) "self",(char *) "v", NULL
26069 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetFromPage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26070 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
26071 if (!SWIG_IsOK(res1
)) {
26072 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_SetFromPage" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26074 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
26075 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
26076 if (!SWIG_IsOK(ecode2
)) {
26077 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintDialogData_SetFromPage" "', expected argument " "2"" of type '" "int""'");
26079 arg2
= static_cast< int >(val2
);
26081 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26082 (arg1
)->SetFromPage(arg2
);
26083 wxPyEndAllowThreads(__tstate
);
26084 if (PyErr_Occurred()) SWIG_fail
;
26086 resultobj
= SWIG_Py_Void();
26093 SWIGINTERN PyObject
*_wrap_PrintDialogData_SetToPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26094 PyObject
*resultobj
= 0;
26095 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
26101 PyObject
* obj0
= 0 ;
26102 PyObject
* obj1
= 0 ;
26103 char * kwnames
[] = {
26104 (char *) "self",(char *) "v", NULL
26107 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetToPage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26108 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
26109 if (!SWIG_IsOK(res1
)) {
26110 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_SetToPage" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26112 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
26113 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
26114 if (!SWIG_IsOK(ecode2
)) {
26115 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintDialogData_SetToPage" "', expected argument " "2"" of type '" "int""'");
26117 arg2
= static_cast< int >(val2
);
26119 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26120 (arg1
)->SetToPage(arg2
);
26121 wxPyEndAllowThreads(__tstate
);
26122 if (PyErr_Occurred()) SWIG_fail
;
26124 resultobj
= SWIG_Py_Void();
26131 SWIGINTERN PyObject
*_wrap_PrintDialogData_SetMinPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26132 PyObject
*resultobj
= 0;
26133 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
26139 PyObject
* obj0
= 0 ;
26140 PyObject
* obj1
= 0 ;
26141 char * kwnames
[] = {
26142 (char *) "self",(char *) "v", NULL
26145 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetMinPage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26146 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
26147 if (!SWIG_IsOK(res1
)) {
26148 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_SetMinPage" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26150 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
26151 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
26152 if (!SWIG_IsOK(ecode2
)) {
26153 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintDialogData_SetMinPage" "', expected argument " "2"" of type '" "int""'");
26155 arg2
= static_cast< int >(val2
);
26157 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26158 (arg1
)->SetMinPage(arg2
);
26159 wxPyEndAllowThreads(__tstate
);
26160 if (PyErr_Occurred()) SWIG_fail
;
26162 resultobj
= SWIG_Py_Void();
26169 SWIGINTERN PyObject
*_wrap_PrintDialogData_SetMaxPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26170 PyObject
*resultobj
= 0;
26171 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
26177 PyObject
* obj0
= 0 ;
26178 PyObject
* obj1
= 0 ;
26179 char * kwnames
[] = {
26180 (char *) "self",(char *) "v", NULL
26183 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetMaxPage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26184 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
26185 if (!SWIG_IsOK(res1
)) {
26186 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_SetMaxPage" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26188 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
26189 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
26190 if (!SWIG_IsOK(ecode2
)) {
26191 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintDialogData_SetMaxPage" "', expected argument " "2"" of type '" "int""'");
26193 arg2
= static_cast< int >(val2
);
26195 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26196 (arg1
)->SetMaxPage(arg2
);
26197 wxPyEndAllowThreads(__tstate
);
26198 if (PyErr_Occurred()) SWIG_fail
;
26200 resultobj
= SWIG_Py_Void();
26207 SWIGINTERN PyObject
*_wrap_PrintDialogData_SetNoCopies(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26208 PyObject
*resultobj
= 0;
26209 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
26215 PyObject
* obj0
= 0 ;
26216 PyObject
* obj1
= 0 ;
26217 char * kwnames
[] = {
26218 (char *) "self",(char *) "v", NULL
26221 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetNoCopies",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26222 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
26223 if (!SWIG_IsOK(res1
)) {
26224 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_SetNoCopies" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26226 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
26227 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
26228 if (!SWIG_IsOK(ecode2
)) {
26229 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintDialogData_SetNoCopies" "', expected argument " "2"" of type '" "int""'");
26231 arg2
= static_cast< int >(val2
);
26233 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26234 (arg1
)->SetNoCopies(arg2
);
26235 wxPyEndAllowThreads(__tstate
);
26236 if (PyErr_Occurred()) SWIG_fail
;
26238 resultobj
= SWIG_Py_Void();
26245 SWIGINTERN PyObject
*_wrap_PrintDialogData_SetAllPages(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26246 PyObject
*resultobj
= 0;
26247 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
26253 PyObject
* obj0
= 0 ;
26254 PyObject
* obj1
= 0 ;
26255 char * kwnames
[] = {
26256 (char *) "self",(char *) "flag", NULL
26259 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetAllPages",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26260 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
26261 if (!SWIG_IsOK(res1
)) {
26262 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_SetAllPages" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26264 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
26265 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
26266 if (!SWIG_IsOK(ecode2
)) {
26267 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintDialogData_SetAllPages" "', expected argument " "2"" of type '" "bool""'");
26269 arg2
= static_cast< bool >(val2
);
26271 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26272 (arg1
)->SetAllPages(arg2
);
26273 wxPyEndAllowThreads(__tstate
);
26274 if (PyErr_Occurred()) SWIG_fail
;
26276 resultobj
= SWIG_Py_Void();
26283 SWIGINTERN PyObject
*_wrap_PrintDialogData_SetSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26284 PyObject
*resultobj
= 0;
26285 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
26291 PyObject
* obj0
= 0 ;
26292 PyObject
* obj1
= 0 ;
26293 char * kwnames
[] = {
26294 (char *) "self",(char *) "flag", NULL
26297 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetSelection",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26298 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
26299 if (!SWIG_IsOK(res1
)) {
26300 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_SetSelection" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26302 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
26303 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
26304 if (!SWIG_IsOK(ecode2
)) {
26305 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintDialogData_SetSelection" "', expected argument " "2"" of type '" "bool""'");
26307 arg2
= static_cast< bool >(val2
);
26309 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26310 (arg1
)->SetSelection(arg2
);
26311 wxPyEndAllowThreads(__tstate
);
26312 if (PyErr_Occurred()) SWIG_fail
;
26314 resultobj
= SWIG_Py_Void();
26321 SWIGINTERN PyObject
*_wrap_PrintDialogData_SetCollate(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26322 PyObject
*resultobj
= 0;
26323 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
26329 PyObject
* obj0
= 0 ;
26330 PyObject
* obj1
= 0 ;
26331 char * kwnames
[] = {
26332 (char *) "self",(char *) "flag", NULL
26335 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetCollate",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26336 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
26337 if (!SWIG_IsOK(res1
)) {
26338 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_SetCollate" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26340 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
26341 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
26342 if (!SWIG_IsOK(ecode2
)) {
26343 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintDialogData_SetCollate" "', expected argument " "2"" of type '" "bool""'");
26345 arg2
= static_cast< bool >(val2
);
26347 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26348 (arg1
)->SetCollate(arg2
);
26349 wxPyEndAllowThreads(__tstate
);
26350 if (PyErr_Occurred()) SWIG_fail
;
26352 resultobj
= SWIG_Py_Void();
26359 SWIGINTERN PyObject
*_wrap_PrintDialogData_SetPrintToFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26360 PyObject
*resultobj
= 0;
26361 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
26367 PyObject
* obj0
= 0 ;
26368 PyObject
* obj1
= 0 ;
26369 char * kwnames
[] = {
26370 (char *) "self",(char *) "flag", NULL
26373 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetPrintToFile",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26374 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
26375 if (!SWIG_IsOK(res1
)) {
26376 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_SetPrintToFile" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26378 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
26379 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
26380 if (!SWIG_IsOK(ecode2
)) {
26381 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintDialogData_SetPrintToFile" "', expected argument " "2"" of type '" "bool""'");
26383 arg2
= static_cast< bool >(val2
);
26385 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26386 (arg1
)->SetPrintToFile(arg2
);
26387 wxPyEndAllowThreads(__tstate
);
26388 if (PyErr_Occurred()) SWIG_fail
;
26390 resultobj
= SWIG_Py_Void();
26397 SWIGINTERN PyObject
*_wrap_PrintDialogData_EnablePrintToFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26398 PyObject
*resultobj
= 0;
26399 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
26405 PyObject
* obj0
= 0 ;
26406 PyObject
* obj1
= 0 ;
26407 char * kwnames
[] = {
26408 (char *) "self",(char *) "flag", NULL
26411 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_EnablePrintToFile",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26412 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
26413 if (!SWIG_IsOK(res1
)) {
26414 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_EnablePrintToFile" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26416 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
26417 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
26418 if (!SWIG_IsOK(ecode2
)) {
26419 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintDialogData_EnablePrintToFile" "', expected argument " "2"" of type '" "bool""'");
26421 arg2
= static_cast< bool >(val2
);
26423 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26424 (arg1
)->EnablePrintToFile(arg2
);
26425 wxPyEndAllowThreads(__tstate
);
26426 if (PyErr_Occurred()) SWIG_fail
;
26428 resultobj
= SWIG_Py_Void();
26435 SWIGINTERN PyObject
*_wrap_PrintDialogData_EnableSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26436 PyObject
*resultobj
= 0;
26437 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
26443 PyObject
* obj0
= 0 ;
26444 PyObject
* obj1
= 0 ;
26445 char * kwnames
[] = {
26446 (char *) "self",(char *) "flag", NULL
26449 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_EnableSelection",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26450 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
26451 if (!SWIG_IsOK(res1
)) {
26452 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_EnableSelection" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26454 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
26455 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
26456 if (!SWIG_IsOK(ecode2
)) {
26457 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintDialogData_EnableSelection" "', expected argument " "2"" of type '" "bool""'");
26459 arg2
= static_cast< bool >(val2
);
26461 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26462 (arg1
)->EnableSelection(arg2
);
26463 wxPyEndAllowThreads(__tstate
);
26464 if (PyErr_Occurred()) SWIG_fail
;
26466 resultobj
= SWIG_Py_Void();
26473 SWIGINTERN PyObject
*_wrap_PrintDialogData_EnablePageNumbers(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26474 PyObject
*resultobj
= 0;
26475 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
26481 PyObject
* obj0
= 0 ;
26482 PyObject
* obj1
= 0 ;
26483 char * kwnames
[] = {
26484 (char *) "self",(char *) "flag", NULL
26487 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_EnablePageNumbers",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26488 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
26489 if (!SWIG_IsOK(res1
)) {
26490 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_EnablePageNumbers" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26492 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
26493 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
26494 if (!SWIG_IsOK(ecode2
)) {
26495 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintDialogData_EnablePageNumbers" "', expected argument " "2"" of type '" "bool""'");
26497 arg2
= static_cast< bool >(val2
);
26499 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26500 (arg1
)->EnablePageNumbers(arg2
);
26501 wxPyEndAllowThreads(__tstate
);
26502 if (PyErr_Occurred()) SWIG_fail
;
26504 resultobj
= SWIG_Py_Void();
26511 SWIGINTERN PyObject
*_wrap_PrintDialogData_EnableHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26512 PyObject
*resultobj
= 0;
26513 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
26519 PyObject
* obj0
= 0 ;
26520 PyObject
* obj1
= 0 ;
26521 char * kwnames
[] = {
26522 (char *) "self",(char *) "flag", NULL
26525 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_EnableHelp",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26526 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
26527 if (!SWIG_IsOK(res1
)) {
26528 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_EnableHelp" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26530 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
26531 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
26532 if (!SWIG_IsOK(ecode2
)) {
26533 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintDialogData_EnableHelp" "', expected argument " "2"" of type '" "bool""'");
26535 arg2
= static_cast< bool >(val2
);
26537 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26538 (arg1
)->EnableHelp(arg2
);
26539 wxPyEndAllowThreads(__tstate
);
26540 if (PyErr_Occurred()) SWIG_fail
;
26542 resultobj
= SWIG_Py_Void();
26549 SWIGINTERN PyObject
*_wrap_PrintDialogData_GetEnablePrintToFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26550 PyObject
*resultobj
= 0;
26551 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
26555 PyObject
*swig_obj
[1] ;
26557 if (!args
) SWIG_fail
;
26558 swig_obj
[0] = args
;
26559 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
26560 if (!SWIG_IsOK(res1
)) {
26561 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_GetEnablePrintToFile" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
26563 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
26565 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26566 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetEnablePrintToFile();
26567 wxPyEndAllowThreads(__tstate
);
26568 if (PyErr_Occurred()) SWIG_fail
;
26571 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26579 SWIGINTERN PyObject
*_wrap_PrintDialogData_GetEnableSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26580 PyObject
*resultobj
= 0;
26581 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
26585 PyObject
*swig_obj
[1] ;
26587 if (!args
) SWIG_fail
;
26588 swig_obj
[0] = args
;
26589 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
26590 if (!SWIG_IsOK(res1
)) {
26591 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_GetEnableSelection" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
26593 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
26595 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26596 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetEnableSelection();
26597 wxPyEndAllowThreads(__tstate
);
26598 if (PyErr_Occurred()) SWIG_fail
;
26601 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26609 SWIGINTERN PyObject
*_wrap_PrintDialogData_GetEnablePageNumbers(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26610 PyObject
*resultobj
= 0;
26611 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
26615 PyObject
*swig_obj
[1] ;
26617 if (!args
) SWIG_fail
;
26618 swig_obj
[0] = args
;
26619 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
26620 if (!SWIG_IsOK(res1
)) {
26621 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_GetEnablePageNumbers" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
26623 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
26625 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26626 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetEnablePageNumbers();
26627 wxPyEndAllowThreads(__tstate
);
26628 if (PyErr_Occurred()) SWIG_fail
;
26631 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26639 SWIGINTERN PyObject
*_wrap_PrintDialogData_GetEnableHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26640 PyObject
*resultobj
= 0;
26641 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
26645 PyObject
*swig_obj
[1] ;
26647 if (!args
) SWIG_fail
;
26648 swig_obj
[0] = args
;
26649 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
26650 if (!SWIG_IsOK(res1
)) {
26651 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_GetEnableHelp" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
26653 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
26655 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26656 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetEnableHelp();
26657 wxPyEndAllowThreads(__tstate
);
26658 if (PyErr_Occurred()) SWIG_fail
;
26661 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26669 SWIGINTERN PyObject
*_wrap_PrintDialogData_Ok(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26670 PyObject
*resultobj
= 0;
26671 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
26675 PyObject
*swig_obj
[1] ;
26677 if (!args
) SWIG_fail
;
26678 swig_obj
[0] = args
;
26679 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
26680 if (!SWIG_IsOK(res1
)) {
26681 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_Ok" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
26683 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
26685 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26686 result
= (bool)((wxPrintDialogData
const *)arg1
)->Ok();
26687 wxPyEndAllowThreads(__tstate
);
26688 if (PyErr_Occurred()) SWIG_fail
;
26691 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26699 SWIGINTERN PyObject
*_wrap_PrintDialogData_GetPrintData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26700 PyObject
*resultobj
= 0;
26701 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
26702 wxPrintData
*result
= 0 ;
26705 PyObject
*swig_obj
[1] ;
26707 if (!args
) SWIG_fail
;
26708 swig_obj
[0] = args
;
26709 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
26710 if (!SWIG_IsOK(res1
)) {
26711 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_GetPrintData" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26713 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
26715 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26717 wxPrintData
&_result_ref
= (arg1
)->GetPrintData();
26718 result
= (wxPrintData
*) &_result_ref
;
26720 wxPyEndAllowThreads(__tstate
);
26721 if (PyErr_Occurred()) SWIG_fail
;
26723 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPrintData
, 0 | 0 );
26730 SWIGINTERN PyObject
*_wrap_PrintDialogData_SetPrintData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26731 PyObject
*resultobj
= 0;
26732 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
26733 wxPrintData
*arg2
= 0 ;
26738 PyObject
* obj0
= 0 ;
26739 PyObject
* obj1
= 0 ;
26740 char * kwnames
[] = {
26741 (char *) "self",(char *) "printData", NULL
26744 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetPrintData",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26745 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
26746 if (!SWIG_IsOK(res1
)) {
26747 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_SetPrintData" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26749 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
26750 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxPrintData
, 0 | 0);
26751 if (!SWIG_IsOK(res2
)) {
26752 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PrintDialogData_SetPrintData" "', expected argument " "2"" of type '" "wxPrintData const &""'");
26755 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PrintDialogData_SetPrintData" "', expected argument " "2"" of type '" "wxPrintData const &""'");
26757 arg2
= reinterpret_cast< wxPrintData
* >(argp2
);
26759 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26760 (arg1
)->SetPrintData((wxPrintData
const &)*arg2
);
26761 wxPyEndAllowThreads(__tstate
);
26762 if (PyErr_Occurred()) SWIG_fail
;
26764 resultobj
= SWIG_Py_Void();
26771 SWIGINTERN PyObject
*PrintDialogData_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26773 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
26774 SWIG_TypeNewClientData(SWIGTYPE_p_wxPrintDialogData
, SWIG_NewClientData(obj
));
26775 return SWIG_Py_Void();
26778 SWIGINTERN PyObject
*PrintDialogData_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26779 return SWIG_Python_InitShadowInstance(args
);
26782 SWIGINTERN PyObject
*_wrap_new_PrintDialog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26783 PyObject
*resultobj
= 0;
26784 wxWindow
*arg1
= (wxWindow
*) 0 ;
26785 wxPrintDialogData
*arg2
= (wxPrintDialogData
*) NULL
;
26786 wxPrintDialog
*result
= 0 ;
26791 PyObject
* obj0
= 0 ;
26792 PyObject
* obj1
= 0 ;
26793 char * kwnames
[] = {
26794 (char *) "parent",(char *) "data", NULL
26797 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_PrintDialog",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26798 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
26799 if (!SWIG_IsOK(res1
)) {
26800 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PrintDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
26802 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
26804 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
26805 if (!SWIG_IsOK(res2
)) {
26806 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_PrintDialog" "', expected argument " "2"" of type '" "wxPrintDialogData *""'");
26808 arg2
= reinterpret_cast< wxPrintDialogData
* >(argp2
);
26811 if (!wxPyCheckForApp()) SWIG_fail
;
26812 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26813 result
= (wxPrintDialog
*)new wxPrintDialog(arg1
,arg2
);
26814 wxPyEndAllowThreads(__tstate
);
26815 if (PyErr_Occurred()) SWIG_fail
;
26817 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPrintDialog
, SWIG_POINTER_NEW
| 0 );
26824 SWIGINTERN PyObject
*_wrap_PrintDialog_ShowModal(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26825 PyObject
*resultobj
= 0;
26826 wxPrintDialog
*arg1
= (wxPrintDialog
*) 0 ;
26830 PyObject
*swig_obj
[1] ;
26832 if (!args
) SWIG_fail
;
26833 swig_obj
[0] = args
;
26834 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialog
, 0 | 0 );
26835 if (!SWIG_IsOK(res1
)) {
26836 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialog_ShowModal" "', expected argument " "1"" of type '" "wxPrintDialog *""'");
26838 arg1
= reinterpret_cast< wxPrintDialog
* >(argp1
);
26840 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26841 result
= (int)(arg1
)->ShowModal();
26842 wxPyEndAllowThreads(__tstate
);
26843 if (PyErr_Occurred()) SWIG_fail
;
26845 resultobj
= SWIG_From_int(static_cast< int >(result
));
26852 SWIGINTERN PyObject
*_wrap_PrintDialog_GetPrintDialogData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26853 PyObject
*resultobj
= 0;
26854 wxPrintDialog
*arg1
= (wxPrintDialog
*) 0 ;
26855 wxPrintDialogData
*result
= 0 ;
26858 PyObject
*swig_obj
[1] ;
26860 if (!args
) SWIG_fail
;
26861 swig_obj
[0] = args
;
26862 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialog
, 0 | 0 );
26863 if (!SWIG_IsOK(res1
)) {
26864 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialog_GetPrintDialogData" "', expected argument " "1"" of type '" "wxPrintDialog *""'");
26866 arg1
= reinterpret_cast< wxPrintDialog
* >(argp1
);
26868 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26870 wxPrintDialogData
&_result_ref
= (arg1
)->GetPrintDialogData();
26871 result
= (wxPrintDialogData
*) &_result_ref
;
26873 wxPyEndAllowThreads(__tstate
);
26874 if (PyErr_Occurred()) SWIG_fail
;
26876 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
26883 SWIGINTERN PyObject
*_wrap_PrintDialog_GetPrintData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26884 PyObject
*resultobj
= 0;
26885 wxPrintDialog
*arg1
= (wxPrintDialog
*) 0 ;
26886 wxPrintData
*result
= 0 ;
26889 PyObject
*swig_obj
[1] ;
26891 if (!args
) SWIG_fail
;
26892 swig_obj
[0] = args
;
26893 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialog
, 0 | 0 );
26894 if (!SWIG_IsOK(res1
)) {
26895 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialog_GetPrintData" "', expected argument " "1"" of type '" "wxPrintDialog *""'");
26897 arg1
= reinterpret_cast< wxPrintDialog
* >(argp1
);
26899 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26901 wxPrintData
&_result_ref
= (arg1
)->GetPrintData();
26902 result
= (wxPrintData
*) &_result_ref
;
26904 wxPyEndAllowThreads(__tstate
);
26905 if (PyErr_Occurred()) SWIG_fail
;
26907 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPrintData
, 0 | 0 );
26914 SWIGINTERN PyObject
*_wrap_PrintDialog_GetPrintDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26915 PyObject
*resultobj
= 0;
26916 wxPrintDialog
*arg1
= (wxPrintDialog
*) 0 ;
26920 PyObject
*swig_obj
[1] ;
26922 if (!args
) SWIG_fail
;
26923 swig_obj
[0] = args
;
26924 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialog
, 0 | 0 );
26925 if (!SWIG_IsOK(res1
)) {
26926 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialog_GetPrintDC" "', expected argument " "1"" of type '" "wxPrintDialog *""'");
26928 arg1
= reinterpret_cast< wxPrintDialog
* >(argp1
);
26930 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26931 result
= (wxDC
*)(arg1
)->GetPrintDC();
26932 wxPyEndAllowThreads(__tstate
);
26933 if (PyErr_Occurred()) SWIG_fail
;
26936 resultobj
= wxPyMake_wxObject(result
, (bool)SWIG_POINTER_OWN
);
26944 SWIGINTERN PyObject
*PrintDialog_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26946 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
26947 SWIG_TypeNewClientData(SWIGTYPE_p_wxPrintDialog
, SWIG_NewClientData(obj
));
26948 return SWIG_Py_Void();
26951 SWIGINTERN PyObject
*PrintDialog_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26952 return SWIG_Python_InitShadowInstance(args
);
26955 SWIGINTERN PyObject
*_wrap_new_Printer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26956 PyObject
*resultobj
= 0;
26957 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) NULL
;
26958 wxPrinter
*result
= 0 ;
26961 PyObject
* obj0
= 0 ;
26962 char * kwnames
[] = {
26963 (char *) "data", NULL
26966 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_Printer",kwnames
,&obj0
)) SWIG_fail
;
26968 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
26969 if (!SWIG_IsOK(res1
)) {
26970 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_Printer" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26972 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
26975 if (!wxPyCheckForApp()) SWIG_fail
;
26976 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26977 result
= (wxPrinter
*)new wxPrinter(arg1
);
26978 wxPyEndAllowThreads(__tstate
);
26979 if (PyErr_Occurred()) SWIG_fail
;
26981 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPrinter
, SWIG_POINTER_NEW
| 0 );
26988 SWIGINTERN PyObject
*_wrap_delete_Printer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26989 PyObject
*resultobj
= 0;
26990 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
26993 PyObject
*swig_obj
[1] ;
26995 if (!args
) SWIG_fail
;
26996 swig_obj
[0] = args
;
26997 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrinter
, SWIG_POINTER_DISOWN
| 0 );
26998 if (!SWIG_IsOK(res1
)) {
26999 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Printer" "', expected argument " "1"" of type '" "wxPrinter *""'");
27001 arg1
= reinterpret_cast< wxPrinter
* >(argp1
);
27003 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27006 wxPyEndAllowThreads(__tstate
);
27007 if (PyErr_Occurred()) SWIG_fail
;
27009 resultobj
= SWIG_Py_Void();
27016 SWIGINTERN PyObject
*_wrap_Printer_CreateAbortWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27017 PyObject
*resultobj
= 0;
27018 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
27019 wxWindow
*arg2
= (wxWindow
*) 0 ;
27020 wxPyPrintout
*arg3
= (wxPyPrintout
*) 0 ;
27021 wxWindow
*result
= 0 ;
27028 PyObject
* obj0
= 0 ;
27029 PyObject
* obj1
= 0 ;
27030 PyObject
* obj2
= 0 ;
27031 char * kwnames
[] = {
27032 (char *) "self",(char *) "parent",(char *) "printout", NULL
27035 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Printer_CreateAbortWindow",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
27036 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrinter
, 0 | 0 );
27037 if (!SWIG_IsOK(res1
)) {
27038 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printer_CreateAbortWindow" "', expected argument " "1"" of type '" "wxPrinter *""'");
27040 arg1
= reinterpret_cast< wxPrinter
* >(argp1
);
27041 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
27042 if (!SWIG_IsOK(res2
)) {
27043 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Printer_CreateAbortWindow" "', expected argument " "2"" of type '" "wxWindow *""'");
27045 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
27046 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
27047 if (!SWIG_IsOK(res3
)) {
27048 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "Printer_CreateAbortWindow" "', expected argument " "3"" of type '" "wxPyPrintout *""'");
27050 arg3
= reinterpret_cast< wxPyPrintout
* >(argp3
);
27052 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27053 result
= (wxWindow
*)(arg1
)->CreateAbortWindow(arg2
,arg3
);
27054 wxPyEndAllowThreads(__tstate
);
27055 if (PyErr_Occurred()) SWIG_fail
;
27058 resultobj
= wxPyMake_wxObject(result
, 0);
27066 SWIGINTERN PyObject
*_wrap_Printer_ReportError(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27067 PyObject
*resultobj
= 0;
27068 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
27069 wxWindow
*arg2
= (wxWindow
*) 0 ;
27070 wxPyPrintout
*arg3
= (wxPyPrintout
*) 0 ;
27071 wxString
*arg4
= 0 ;
27078 bool temp4
= false ;
27079 PyObject
* obj0
= 0 ;
27080 PyObject
* obj1
= 0 ;
27081 PyObject
* obj2
= 0 ;
27082 PyObject
* obj3
= 0 ;
27083 char * kwnames
[] = {
27084 (char *) "self",(char *) "parent",(char *) "printout",(char *) "message", NULL
27087 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Printer_ReportError",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
27088 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrinter
, 0 | 0 );
27089 if (!SWIG_IsOK(res1
)) {
27090 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printer_ReportError" "', expected argument " "1"" of type '" "wxPrinter *""'");
27092 arg1
= reinterpret_cast< wxPrinter
* >(argp1
);
27093 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
27094 if (!SWIG_IsOK(res2
)) {
27095 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Printer_ReportError" "', expected argument " "2"" of type '" "wxWindow *""'");
27097 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
27098 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
27099 if (!SWIG_IsOK(res3
)) {
27100 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "Printer_ReportError" "', expected argument " "3"" of type '" "wxPyPrintout *""'");
27102 arg3
= reinterpret_cast< wxPyPrintout
* >(argp3
);
27104 arg4
= wxString_in_helper(obj3
);
27105 if (arg4
== NULL
) SWIG_fail
;
27109 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27110 (arg1
)->ReportError(arg2
,arg3
,(wxString
const &)*arg4
);
27111 wxPyEndAllowThreads(__tstate
);
27112 if (PyErr_Occurred()) SWIG_fail
;
27114 resultobj
= SWIG_Py_Void();
27129 SWIGINTERN PyObject
*_wrap_Printer_Setup(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27130 PyObject
*resultobj
= 0;
27131 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
27132 wxWindow
*arg2
= (wxWindow
*) 0 ;
27138 PyObject
* obj0
= 0 ;
27139 PyObject
* obj1
= 0 ;
27140 char * kwnames
[] = {
27141 (char *) "self",(char *) "parent", NULL
27144 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Printer_Setup",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
27145 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrinter
, 0 | 0 );
27146 if (!SWIG_IsOK(res1
)) {
27147 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printer_Setup" "', expected argument " "1"" of type '" "wxPrinter *""'");
27149 arg1
= reinterpret_cast< wxPrinter
* >(argp1
);
27150 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
27151 if (!SWIG_IsOK(res2
)) {
27152 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Printer_Setup" "', expected argument " "2"" of type '" "wxWindow *""'");
27154 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
27156 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27157 result
= (bool)(arg1
)->Setup(arg2
);
27158 wxPyEndAllowThreads(__tstate
);
27159 if (PyErr_Occurred()) SWIG_fail
;
27162 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27170 SWIGINTERN PyObject
*_wrap_Printer_Print(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27171 PyObject
*resultobj
= 0;
27172 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
27173 wxWindow
*arg2
= (wxWindow
*) 0 ;
27174 wxPyPrintout
*arg3
= (wxPyPrintout
*) 0 ;
27175 bool arg4
= (bool) true ;
27185 PyObject
* obj0
= 0 ;
27186 PyObject
* obj1
= 0 ;
27187 PyObject
* obj2
= 0 ;
27188 PyObject
* obj3
= 0 ;
27189 char * kwnames
[] = {
27190 (char *) "self",(char *) "parent",(char *) "printout",(char *) "prompt", NULL
27193 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Printer_Print",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
27194 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrinter
, 0 | 0 );
27195 if (!SWIG_IsOK(res1
)) {
27196 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printer_Print" "', expected argument " "1"" of type '" "wxPrinter *""'");
27198 arg1
= reinterpret_cast< wxPrinter
* >(argp1
);
27199 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
27200 if (!SWIG_IsOK(res2
)) {
27201 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Printer_Print" "', expected argument " "2"" of type '" "wxWindow *""'");
27203 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
27204 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
27205 if (!SWIG_IsOK(res3
)) {
27206 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "Printer_Print" "', expected argument " "3"" of type '" "wxPyPrintout *""'");
27208 arg3
= reinterpret_cast< wxPyPrintout
* >(argp3
);
27210 ecode4
= SWIG_AsVal_bool(obj3
, &val4
);
27211 if (!SWIG_IsOK(ecode4
)) {
27212 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Printer_Print" "', expected argument " "4"" of type '" "bool""'");
27214 arg4
= static_cast< bool >(val4
);
27217 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27218 result
= (bool)(arg1
)->Print(arg2
,arg3
,arg4
);
27219 wxPyEndAllowThreads(__tstate
);
27220 if (PyErr_Occurred()) SWIG_fail
;
27223 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27231 SWIGINTERN PyObject
*_wrap_Printer_PrintDialog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27232 PyObject
*resultobj
= 0;
27233 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
27234 wxWindow
*arg2
= (wxWindow
*) 0 ;
27240 PyObject
* obj0
= 0 ;
27241 PyObject
* obj1
= 0 ;
27242 char * kwnames
[] = {
27243 (char *) "self",(char *) "parent", NULL
27246 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Printer_PrintDialog",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
27247 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrinter
, 0 | 0 );
27248 if (!SWIG_IsOK(res1
)) {
27249 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printer_PrintDialog" "', expected argument " "1"" of type '" "wxPrinter *""'");
27251 arg1
= reinterpret_cast< wxPrinter
* >(argp1
);
27252 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
27253 if (!SWIG_IsOK(res2
)) {
27254 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Printer_PrintDialog" "', expected argument " "2"" of type '" "wxWindow *""'");
27256 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
27258 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27259 result
= (wxDC
*)(arg1
)->PrintDialog(arg2
);
27260 wxPyEndAllowThreads(__tstate
);
27261 if (PyErr_Occurred()) SWIG_fail
;
27264 resultobj
= wxPyMake_wxObject(result
, (bool)0);
27272 SWIGINTERN PyObject
*_wrap_Printer_GetPrintDialogData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27273 PyObject
*resultobj
= 0;
27274 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
27275 wxPrintDialogData
*result
= 0 ;
27278 PyObject
*swig_obj
[1] ;
27280 if (!args
) SWIG_fail
;
27281 swig_obj
[0] = args
;
27282 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrinter
, 0 | 0 );
27283 if (!SWIG_IsOK(res1
)) {
27284 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printer_GetPrintDialogData" "', expected argument " "1"" of type '" "wxPrinter const *""'");
27286 arg1
= reinterpret_cast< wxPrinter
* >(argp1
);
27288 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27290 wxPrintDialogData
&_result_ref
= ((wxPrinter
const *)arg1
)->GetPrintDialogData();
27291 result
= (wxPrintDialogData
*) &_result_ref
;
27293 wxPyEndAllowThreads(__tstate
);
27294 if (PyErr_Occurred()) SWIG_fail
;
27296 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
27303 SWIGINTERN PyObject
*_wrap_Printer_GetAbort(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27304 PyObject
*resultobj
= 0;
27305 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
27309 PyObject
*swig_obj
[1] ;
27311 if (!args
) SWIG_fail
;
27312 swig_obj
[0] = args
;
27313 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrinter
, 0 | 0 );
27314 if (!SWIG_IsOK(res1
)) {
27315 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printer_GetAbort" "', expected argument " "1"" of type '" "wxPrinter *""'");
27317 arg1
= reinterpret_cast< wxPrinter
* >(argp1
);
27319 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27320 result
= (bool)(arg1
)->GetAbort();
27321 wxPyEndAllowThreads(__tstate
);
27322 if (PyErr_Occurred()) SWIG_fail
;
27325 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27333 SWIGINTERN PyObject
*_wrap_Printer_GetLastError(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27334 PyObject
*resultobj
= 0;
27335 wxPrinterError result
;
27337 if (!SWIG_Python_UnpackTuple(args
,"Printer_GetLastError",0,0,0)) SWIG_fail
;
27339 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27340 result
= (wxPrinterError
)wxPrinter::GetLastError();
27341 wxPyEndAllowThreads(__tstate
);
27342 if (PyErr_Occurred()) SWIG_fail
;
27344 resultobj
= SWIG_From_int(static_cast< int >(result
));
27351 SWIGINTERN PyObject
*Printer_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27353 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
27354 SWIG_TypeNewClientData(SWIGTYPE_p_wxPrinter
, SWIG_NewClientData(obj
));
27355 return SWIG_Py_Void();
27358 SWIGINTERN PyObject
*Printer_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27359 return SWIG_Python_InitShadowInstance(args
);
27362 SWIGINTERN PyObject
*_wrap_new_Printout(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27363 PyObject
*resultobj
= 0;
27364 wxString
const &arg1_defvalue
= wxPyPrintoutTitleStr
;
27365 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
27366 wxPyPrintout
*result
= 0 ;
27367 bool temp1
= false ;
27368 PyObject
* obj0
= 0 ;
27369 char * kwnames
[] = {
27370 (char *) "title", NULL
27373 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_Printout",kwnames
,&obj0
)) SWIG_fail
;
27376 arg1
= wxString_in_helper(obj0
);
27377 if (arg1
== NULL
) SWIG_fail
;
27382 if (!wxPyCheckForApp()) SWIG_fail
;
27383 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27384 result
= (wxPyPrintout
*)new wxPyPrintout((wxString
const &)*arg1
);
27385 wxPyEndAllowThreads(__tstate
);
27386 if (PyErr_Occurred()) SWIG_fail
;
27388 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_NEW
| 0 );
27403 SWIGINTERN PyObject
*_wrap_delete_Printout(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27404 PyObject
*resultobj
= 0;
27405 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
27408 PyObject
*swig_obj
[1] ;
27410 if (!args
) SWIG_fail
;
27411 swig_obj
[0] = args
;
27412 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_DISOWN
| 0 );
27413 if (!SWIG_IsOK(res1
)) {
27414 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Printout" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
27416 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
27418 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27421 wxPyEndAllowThreads(__tstate
);
27422 if (PyErr_Occurred()) SWIG_fail
;
27424 resultobj
= SWIG_Py_Void();
27431 SWIGINTERN PyObject
*_wrap_Printout__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27432 PyObject
*resultobj
= 0;
27433 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
27434 PyObject
*arg2
= (PyObject
*) 0 ;
27435 PyObject
*arg3
= (PyObject
*) 0 ;
27438 PyObject
* obj0
= 0 ;
27439 PyObject
* obj1
= 0 ;
27440 PyObject
* obj2
= 0 ;
27441 char * kwnames
[] = {
27442 (char *) "self",(char *) "self",(char *) "_class", NULL
27445 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Printout__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
27446 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
27447 if (!SWIG_IsOK(res1
)) {
27448 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
27450 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
27454 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27455 (arg1
)->_setCallbackInfo(arg2
,arg3
);
27456 wxPyEndAllowThreads(__tstate
);
27457 if (PyErr_Occurred()) SWIG_fail
;
27459 resultobj
= SWIG_Py_Void();
27466 SWIGINTERN PyObject
*_wrap_Printout_GetTitle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27467 PyObject
*resultobj
= 0;
27468 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
27472 PyObject
*swig_obj
[1] ;
27474 if (!args
) SWIG_fail
;
27475 swig_obj
[0] = args
;
27476 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
27477 if (!SWIG_IsOK(res1
)) {
27478 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_GetTitle" "', expected argument " "1"" of type '" "wxPyPrintout const *""'");
27480 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
27482 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27483 result
= ((wxPyPrintout
const *)arg1
)->GetTitle();
27484 wxPyEndAllowThreads(__tstate
);
27485 if (PyErr_Occurred()) SWIG_fail
;
27489 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
27491 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
27500 SWIGINTERN PyObject
*_wrap_Printout_GetDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27501 PyObject
*resultobj
= 0;
27502 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
27506 PyObject
*swig_obj
[1] ;
27508 if (!args
) SWIG_fail
;
27509 swig_obj
[0] = args
;
27510 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
27511 if (!SWIG_IsOK(res1
)) {
27512 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_GetDC" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
27514 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
27516 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27517 result
= (wxDC
*)(arg1
)->GetDC();
27518 wxPyEndAllowThreads(__tstate
);
27519 if (PyErr_Occurred()) SWIG_fail
;
27522 resultobj
= wxPyMake_wxObject(result
, (bool)0);
27530 SWIGINTERN PyObject
*_wrap_Printout_SetDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27531 PyObject
*resultobj
= 0;
27532 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
27533 wxDC
*arg2
= (wxDC
*) 0 ;
27538 PyObject
* obj0
= 0 ;
27539 PyObject
* obj1
= 0 ;
27540 char * kwnames
[] = {
27541 (char *) "self",(char *) "dc", NULL
27544 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Printout_SetDC",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
27545 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
27546 if (!SWIG_IsOK(res1
)) {
27547 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_SetDC" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
27549 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
27550 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxDC
, 0 | 0 );
27551 if (!SWIG_IsOK(res2
)) {
27552 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Printout_SetDC" "', expected argument " "2"" of type '" "wxDC *""'");
27554 arg2
= reinterpret_cast< wxDC
* >(argp2
);
27556 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27557 (arg1
)->SetDC(arg2
);
27558 wxPyEndAllowThreads(__tstate
);
27559 if (PyErr_Occurred()) SWIG_fail
;
27561 resultobj
= SWIG_Py_Void();
27568 SWIGINTERN PyObject
*_wrap_Printout_SetPageSizePixels(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27569 PyObject
*resultobj
= 0;
27570 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
27579 PyObject
* obj0
= 0 ;
27580 PyObject
* obj1
= 0 ;
27581 PyObject
* obj2
= 0 ;
27582 char * kwnames
[] = {
27583 (char *) "self",(char *) "w",(char *) "h", NULL
27586 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Printout_SetPageSizePixels",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
27587 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
27588 if (!SWIG_IsOK(res1
)) {
27589 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_SetPageSizePixels" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
27591 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
27592 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
27593 if (!SWIG_IsOK(ecode2
)) {
27594 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Printout_SetPageSizePixels" "', expected argument " "2"" of type '" "int""'");
27596 arg2
= static_cast< int >(val2
);
27597 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
27598 if (!SWIG_IsOK(ecode3
)) {
27599 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Printout_SetPageSizePixels" "', expected argument " "3"" of type '" "int""'");
27601 arg3
= static_cast< int >(val3
);
27603 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27604 (arg1
)->SetPageSizePixels(arg2
,arg3
);
27605 wxPyEndAllowThreads(__tstate
);
27606 if (PyErr_Occurred()) SWIG_fail
;
27608 resultobj
= SWIG_Py_Void();
27615 SWIGINTERN PyObject
*_wrap_Printout_GetPageSizePixels(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27616 PyObject
*resultobj
= 0;
27617 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
27618 int *arg2
= (int *) 0 ;
27619 int *arg3
= (int *) 0 ;
27623 int res2
= SWIG_TMPOBJ
;
27625 int res3
= SWIG_TMPOBJ
;
27626 PyObject
*swig_obj
[1] ;
27630 if (!args
) SWIG_fail
;
27631 swig_obj
[0] = args
;
27632 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
27633 if (!SWIG_IsOK(res1
)) {
27634 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_GetPageSizePixels" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
27636 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
27638 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27639 (arg1
)->GetPageSizePixels(arg2
,arg3
);
27640 wxPyEndAllowThreads(__tstate
);
27641 if (PyErr_Occurred()) SWIG_fail
;
27643 resultobj
= SWIG_Py_Void();
27644 if (SWIG_IsTmpObj(res2
)) {
27645 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
27647 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
27648 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
27650 if (SWIG_IsTmpObj(res3
)) {
27651 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
27653 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
27654 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
27662 SWIGINTERN PyObject
*_wrap_Printout_SetPageSizeMM(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27663 PyObject
*resultobj
= 0;
27664 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
27673 PyObject
* obj0
= 0 ;
27674 PyObject
* obj1
= 0 ;
27675 PyObject
* obj2
= 0 ;
27676 char * kwnames
[] = {
27677 (char *) "self",(char *) "w",(char *) "h", NULL
27680 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Printout_SetPageSizeMM",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
27681 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
27682 if (!SWIG_IsOK(res1
)) {
27683 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_SetPageSizeMM" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
27685 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
27686 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
27687 if (!SWIG_IsOK(ecode2
)) {
27688 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Printout_SetPageSizeMM" "', expected argument " "2"" of type '" "int""'");
27690 arg2
= static_cast< int >(val2
);
27691 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
27692 if (!SWIG_IsOK(ecode3
)) {
27693 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Printout_SetPageSizeMM" "', expected argument " "3"" of type '" "int""'");
27695 arg3
= static_cast< int >(val3
);
27697 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27698 (arg1
)->SetPageSizeMM(arg2
,arg3
);
27699 wxPyEndAllowThreads(__tstate
);
27700 if (PyErr_Occurred()) SWIG_fail
;
27702 resultobj
= SWIG_Py_Void();
27709 SWIGINTERN PyObject
*_wrap_Printout_GetPageSizeMM(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27710 PyObject
*resultobj
= 0;
27711 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
27712 int *arg2
= (int *) 0 ;
27713 int *arg3
= (int *) 0 ;
27717 int res2
= SWIG_TMPOBJ
;
27719 int res3
= SWIG_TMPOBJ
;
27720 PyObject
*swig_obj
[1] ;
27724 if (!args
) SWIG_fail
;
27725 swig_obj
[0] = args
;
27726 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
27727 if (!SWIG_IsOK(res1
)) {
27728 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_GetPageSizeMM" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
27730 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
27732 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27733 (arg1
)->GetPageSizeMM(arg2
,arg3
);
27734 wxPyEndAllowThreads(__tstate
);
27735 if (PyErr_Occurred()) SWIG_fail
;
27737 resultobj
= SWIG_Py_Void();
27738 if (SWIG_IsTmpObj(res2
)) {
27739 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
27741 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
27742 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
27744 if (SWIG_IsTmpObj(res3
)) {
27745 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
27747 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
27748 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
27756 SWIGINTERN PyObject
*_wrap_Printout_SetPPIScreen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27757 PyObject
*resultobj
= 0;
27758 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
27767 PyObject
* obj0
= 0 ;
27768 PyObject
* obj1
= 0 ;
27769 PyObject
* obj2
= 0 ;
27770 char * kwnames
[] = {
27771 (char *) "self",(char *) "x",(char *) "y", NULL
27774 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Printout_SetPPIScreen",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
27775 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
27776 if (!SWIG_IsOK(res1
)) {
27777 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_SetPPIScreen" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
27779 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
27780 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
27781 if (!SWIG_IsOK(ecode2
)) {
27782 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Printout_SetPPIScreen" "', expected argument " "2"" of type '" "int""'");
27784 arg2
= static_cast< int >(val2
);
27785 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
27786 if (!SWIG_IsOK(ecode3
)) {
27787 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Printout_SetPPIScreen" "', expected argument " "3"" of type '" "int""'");
27789 arg3
= static_cast< int >(val3
);
27791 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27792 (arg1
)->SetPPIScreen(arg2
,arg3
);
27793 wxPyEndAllowThreads(__tstate
);
27794 if (PyErr_Occurred()) SWIG_fail
;
27796 resultobj
= SWIG_Py_Void();
27803 SWIGINTERN PyObject
*_wrap_Printout_GetPPIScreen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27804 PyObject
*resultobj
= 0;
27805 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
27806 int *arg2
= (int *) 0 ;
27807 int *arg3
= (int *) 0 ;
27811 int res2
= SWIG_TMPOBJ
;
27813 int res3
= SWIG_TMPOBJ
;
27814 PyObject
*swig_obj
[1] ;
27818 if (!args
) SWIG_fail
;
27819 swig_obj
[0] = args
;
27820 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
27821 if (!SWIG_IsOK(res1
)) {
27822 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_GetPPIScreen" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
27824 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
27826 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27827 (arg1
)->GetPPIScreen(arg2
,arg3
);
27828 wxPyEndAllowThreads(__tstate
);
27829 if (PyErr_Occurred()) SWIG_fail
;
27831 resultobj
= SWIG_Py_Void();
27832 if (SWIG_IsTmpObj(res2
)) {
27833 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
27835 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
27836 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
27838 if (SWIG_IsTmpObj(res3
)) {
27839 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
27841 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
27842 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
27850 SWIGINTERN PyObject
*_wrap_Printout_SetPPIPrinter(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27851 PyObject
*resultobj
= 0;
27852 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
27861 PyObject
* obj0
= 0 ;
27862 PyObject
* obj1
= 0 ;
27863 PyObject
* obj2
= 0 ;
27864 char * kwnames
[] = {
27865 (char *) "self",(char *) "x",(char *) "y", NULL
27868 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Printout_SetPPIPrinter",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
27869 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
27870 if (!SWIG_IsOK(res1
)) {
27871 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_SetPPIPrinter" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
27873 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
27874 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
27875 if (!SWIG_IsOK(ecode2
)) {
27876 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Printout_SetPPIPrinter" "', expected argument " "2"" of type '" "int""'");
27878 arg2
= static_cast< int >(val2
);
27879 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
27880 if (!SWIG_IsOK(ecode3
)) {
27881 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Printout_SetPPIPrinter" "', expected argument " "3"" of type '" "int""'");
27883 arg3
= static_cast< int >(val3
);
27885 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27886 (arg1
)->SetPPIPrinter(arg2
,arg3
);
27887 wxPyEndAllowThreads(__tstate
);
27888 if (PyErr_Occurred()) SWIG_fail
;
27890 resultobj
= SWIG_Py_Void();
27897 SWIGINTERN PyObject
*_wrap_Printout_GetPPIPrinter(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27898 PyObject
*resultobj
= 0;
27899 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
27900 int *arg2
= (int *) 0 ;
27901 int *arg3
= (int *) 0 ;
27905 int res2
= SWIG_TMPOBJ
;
27907 int res3
= SWIG_TMPOBJ
;
27908 PyObject
*swig_obj
[1] ;
27912 if (!args
) SWIG_fail
;
27913 swig_obj
[0] = args
;
27914 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
27915 if (!SWIG_IsOK(res1
)) {
27916 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_GetPPIPrinter" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
27918 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
27920 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27921 (arg1
)->GetPPIPrinter(arg2
,arg3
);
27922 wxPyEndAllowThreads(__tstate
);
27923 if (PyErr_Occurred()) SWIG_fail
;
27925 resultobj
= SWIG_Py_Void();
27926 if (SWIG_IsTmpObj(res2
)) {
27927 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
27929 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
27930 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
27932 if (SWIG_IsTmpObj(res3
)) {
27933 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
27935 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
27936 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
27944 SWIGINTERN PyObject
*_wrap_Printout_IsPreview(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27945 PyObject
*resultobj
= 0;
27946 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
27950 PyObject
*swig_obj
[1] ;
27952 if (!args
) SWIG_fail
;
27953 swig_obj
[0] = args
;
27954 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
27955 if (!SWIG_IsOK(res1
)) {
27956 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_IsPreview" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
27958 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
27960 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27961 result
= (bool)(arg1
)->IsPreview();
27962 wxPyEndAllowThreads(__tstate
);
27963 if (PyErr_Occurred()) SWIG_fail
;
27966 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27974 SWIGINTERN PyObject
*_wrap_Printout_SetIsPreview(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27975 PyObject
*resultobj
= 0;
27976 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
27982 PyObject
* obj0
= 0 ;
27983 PyObject
* obj1
= 0 ;
27984 char * kwnames
[] = {
27985 (char *) "self",(char *) "p", NULL
27988 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Printout_SetIsPreview",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
27989 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
27990 if (!SWIG_IsOK(res1
)) {
27991 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_SetIsPreview" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
27993 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
27994 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
27995 if (!SWIG_IsOK(ecode2
)) {
27996 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Printout_SetIsPreview" "', expected argument " "2"" of type '" "bool""'");
27998 arg2
= static_cast< bool >(val2
);
28000 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28001 (arg1
)->SetIsPreview(arg2
);
28002 wxPyEndAllowThreads(__tstate
);
28003 if (PyErr_Occurred()) SWIG_fail
;
28005 resultobj
= SWIG_Py_Void();
28012 SWIGINTERN PyObject
*_wrap_Printout_OnBeginDocument(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28013 PyObject
*resultobj
= 0;
28014 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
28024 PyObject
* obj0
= 0 ;
28025 PyObject
* obj1
= 0 ;
28026 PyObject
* obj2
= 0 ;
28027 char * kwnames
[] = {
28028 (char *) "self",(char *) "startPage",(char *) "endPage", NULL
28031 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Printout_OnBeginDocument",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
28032 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
28033 if (!SWIG_IsOK(res1
)) {
28034 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_OnBeginDocument" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28036 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
28037 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
28038 if (!SWIG_IsOK(ecode2
)) {
28039 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Printout_OnBeginDocument" "', expected argument " "2"" of type '" "int""'");
28041 arg2
= static_cast< int >(val2
);
28042 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
28043 if (!SWIG_IsOK(ecode3
)) {
28044 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Printout_OnBeginDocument" "', expected argument " "3"" of type '" "int""'");
28046 arg3
= static_cast< int >(val3
);
28048 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28049 result
= (bool)(arg1
)->OnBeginDocument(arg2
,arg3
);
28050 wxPyEndAllowThreads(__tstate
);
28051 if (PyErr_Occurred()) SWIG_fail
;
28054 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28062 SWIGINTERN PyObject
*_wrap_Printout_OnEndDocument(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28063 PyObject
*resultobj
= 0;
28064 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
28067 PyObject
*swig_obj
[1] ;
28069 if (!args
) SWIG_fail
;
28070 swig_obj
[0] = args
;
28071 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
28072 if (!SWIG_IsOK(res1
)) {
28073 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_OnEndDocument" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28075 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
28077 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28078 (arg1
)->OnEndDocument();
28079 wxPyEndAllowThreads(__tstate
);
28080 if (PyErr_Occurred()) SWIG_fail
;
28082 resultobj
= SWIG_Py_Void();
28089 SWIGINTERN PyObject
*_wrap_Printout_OnBeginPrinting(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28090 PyObject
*resultobj
= 0;
28091 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
28094 PyObject
*swig_obj
[1] ;
28096 if (!args
) SWIG_fail
;
28097 swig_obj
[0] = args
;
28098 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
28099 if (!SWIG_IsOK(res1
)) {
28100 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_OnBeginPrinting" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28102 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
28104 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28105 (arg1
)->OnBeginPrinting();
28106 wxPyEndAllowThreads(__tstate
);
28107 if (PyErr_Occurred()) SWIG_fail
;
28109 resultobj
= SWIG_Py_Void();
28116 SWIGINTERN PyObject
*_wrap_Printout_OnEndPrinting(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28117 PyObject
*resultobj
= 0;
28118 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
28121 PyObject
*swig_obj
[1] ;
28123 if (!args
) SWIG_fail
;
28124 swig_obj
[0] = args
;
28125 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
28126 if (!SWIG_IsOK(res1
)) {
28127 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_OnEndPrinting" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28129 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
28131 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28132 (arg1
)->OnEndPrinting();
28133 wxPyEndAllowThreads(__tstate
);
28134 if (PyErr_Occurred()) SWIG_fail
;
28136 resultobj
= SWIG_Py_Void();
28143 SWIGINTERN PyObject
*_wrap_Printout_OnPreparePrinting(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28144 PyObject
*resultobj
= 0;
28145 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
28148 PyObject
*swig_obj
[1] ;
28150 if (!args
) SWIG_fail
;
28151 swig_obj
[0] = args
;
28152 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
28153 if (!SWIG_IsOK(res1
)) {
28154 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_OnPreparePrinting" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28156 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
28158 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28159 (arg1
)->OnPreparePrinting();
28160 wxPyEndAllowThreads(__tstate
);
28161 if (PyErr_Occurred()) SWIG_fail
;
28163 resultobj
= SWIG_Py_Void();
28170 SWIGINTERN PyObject
*_wrap_Printout_HasPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28171 PyObject
*resultobj
= 0;
28172 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
28179 PyObject
* obj0
= 0 ;
28180 PyObject
* obj1
= 0 ;
28181 char * kwnames
[] = {
28182 (char *) "self",(char *) "page", NULL
28185 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Printout_HasPage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28186 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
28187 if (!SWIG_IsOK(res1
)) {
28188 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_HasPage" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28190 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
28191 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
28192 if (!SWIG_IsOK(ecode2
)) {
28193 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Printout_HasPage" "', expected argument " "2"" of type '" "int""'");
28195 arg2
= static_cast< int >(val2
);
28197 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28198 result
= (bool)(arg1
)->HasPage(arg2
);
28199 wxPyEndAllowThreads(__tstate
);
28200 if (PyErr_Occurred()) SWIG_fail
;
28203 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28211 SWIGINTERN PyObject
*_wrap_Printout_GetPageInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28212 PyObject
*resultobj
= 0;
28213 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
28214 int *arg2
= (int *) 0 ;
28215 int *arg3
= (int *) 0 ;
28216 int *arg4
= (int *) 0 ;
28217 int *arg5
= (int *) 0 ;
28221 int res2
= SWIG_TMPOBJ
;
28223 int res3
= SWIG_TMPOBJ
;
28225 int res4
= SWIG_TMPOBJ
;
28227 int res5
= SWIG_TMPOBJ
;
28228 PyObject
*swig_obj
[1] ;
28234 if (!args
) SWIG_fail
;
28235 swig_obj
[0] = args
;
28236 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
28237 if (!SWIG_IsOK(res1
)) {
28238 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_GetPageInfo" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28240 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
28242 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28243 (arg1
)->GetPageInfo(arg2
,arg3
,arg4
,arg5
);
28244 wxPyEndAllowThreads(__tstate
);
28245 if (PyErr_Occurred()) SWIG_fail
;
28247 resultobj
= SWIG_Py_Void();
28248 if (SWIG_IsTmpObj(res2
)) {
28249 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
28251 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
28252 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
28254 if (SWIG_IsTmpObj(res3
)) {
28255 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
28257 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
28258 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
28260 if (SWIG_IsTmpObj(res4
)) {
28261 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg4
)));
28263 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
28264 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, new_flags
));
28266 if (SWIG_IsTmpObj(res5
)) {
28267 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg5
)));
28269 int new_flags
= SWIG_IsNewObj(res5
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
28270 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg5
), SWIGTYPE_p_int
, new_flags
));
28278 SWIGINTERN PyObject
*Printout_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28280 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
28281 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyPrintout
, SWIG_NewClientData(obj
));
28282 return SWIG_Py_Void();
28285 SWIGINTERN PyObject
*Printout_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28286 return SWIG_Python_InitShadowInstance(args
);
28289 SWIGINTERN PyObject
*_wrap_new_PreviewCanvas(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28290 PyObject
*resultobj
= 0;
28291 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
28292 wxWindow
*arg2
= (wxWindow
*) 0 ;
28293 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
28294 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
28295 wxSize
const &arg4_defvalue
= wxDefaultSize
;
28296 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
28297 long arg5
= (long) 0 ;
28298 wxString
const &arg6_defvalue
= wxPyPreviewCanvasNameStr
;
28299 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
28300 wxPreviewCanvas
*result
= 0 ;
28309 bool temp6
= false ;
28310 PyObject
* obj0
= 0 ;
28311 PyObject
* obj1
= 0 ;
28312 PyObject
* obj2
= 0 ;
28313 PyObject
* obj3
= 0 ;
28314 PyObject
* obj4
= 0 ;
28315 PyObject
* obj5
= 0 ;
28316 char * kwnames
[] = {
28317 (char *) "preview",(char *) "parent",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
28320 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:new_PreviewCanvas",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
28321 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
28322 if (!SWIG_IsOK(res1
)) {
28323 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PreviewCanvas" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
28325 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
28326 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
28327 if (!SWIG_IsOK(res2
)) {
28328 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_PreviewCanvas" "', expected argument " "2"" of type '" "wxWindow *""'");
28330 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
28334 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
28340 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
28344 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
28345 if (!SWIG_IsOK(ecode5
)) {
28346 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_PreviewCanvas" "', expected argument " "5"" of type '" "long""'");
28348 arg5
= static_cast< long >(val5
);
28352 arg6
= wxString_in_helper(obj5
);
28353 if (arg6
== NULL
) SWIG_fail
;
28358 if (!wxPyCheckForApp()) SWIG_fail
;
28359 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28360 result
= (wxPreviewCanvas
*)new wxPreviewCanvas(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
28361 wxPyEndAllowThreads(__tstate
);
28362 if (PyErr_Occurred()) SWIG_fail
;
28364 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPreviewCanvas
, SWIG_POINTER_NEW
| 0 );
28379 SWIGINTERN PyObject
*PreviewCanvas_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28381 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
28382 SWIG_TypeNewClientData(SWIGTYPE_p_wxPreviewCanvas
, SWIG_NewClientData(obj
));
28383 return SWIG_Py_Void();
28386 SWIGINTERN PyObject
*PreviewCanvas_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28387 return SWIG_Python_InitShadowInstance(args
);
28390 SWIGINTERN PyObject
*_wrap_new_PreviewFrame(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28391 PyObject
*resultobj
= 0;
28392 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
28393 wxFrame
*arg2
= (wxFrame
*) 0 ;
28394 wxString
*arg3
= 0 ;
28395 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
28396 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
28397 wxSize
const &arg5_defvalue
= wxDefaultSize
;
28398 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
28399 long arg6
= (long) wxDEFAULT_FRAME_STYLE
;
28400 wxString
const &arg7_defvalue
= wxPyFrameNameStr
;
28401 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
28402 wxPreviewFrame
*result
= 0 ;
28406 bool temp3
= false ;
28411 bool temp7
= false ;
28412 PyObject
* obj0
= 0 ;
28413 PyObject
* obj1
= 0 ;
28414 PyObject
* obj2
= 0 ;
28415 PyObject
* obj3
= 0 ;
28416 PyObject
* obj4
= 0 ;
28417 PyObject
* obj5
= 0 ;
28418 PyObject
* obj6
= 0 ;
28419 char * kwnames
[] = {
28420 (char *) "preview",(char *) "parent",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
28423 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:new_PreviewFrame",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
28424 res1
= SWIG_ConvertPtr(obj0
, SWIG_as_voidptrptr(&arg1
), SWIGTYPE_p_wxPrintPreview
, SWIG_POINTER_DISOWN
| 0 );
28425 if (!SWIG_IsOK(res1
)) {
28426 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PreviewFrame" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
28428 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxFrame
, 0 | 0 );
28429 if (!SWIG_IsOK(res2
)) {
28430 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_PreviewFrame" "', expected argument " "2"" of type '" "wxFrame *""'");
28432 arg2
= reinterpret_cast< wxFrame
* >(argp2
);
28434 arg3
= wxString_in_helper(obj2
);
28435 if (arg3
== NULL
) SWIG_fail
;
28441 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
28447 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
28451 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
28452 if (!SWIG_IsOK(ecode6
)) {
28453 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_PreviewFrame" "', expected argument " "6"" of type '" "long""'");
28455 arg6
= static_cast< long >(val6
);
28459 arg7
= wxString_in_helper(obj6
);
28460 if (arg7
== NULL
) SWIG_fail
;
28465 if (!wxPyCheckForApp()) SWIG_fail
;
28466 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28467 result
= (wxPreviewFrame
*)new wxPreviewFrame(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
28468 wxPyEndAllowThreads(__tstate
);
28469 if (PyErr_Occurred()) SWIG_fail
;
28471 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPreviewFrame
, SWIG_POINTER_NEW
| 0 );
28494 SWIGINTERN PyObject
*_wrap_PreviewFrame_Initialize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28495 PyObject
*resultobj
= 0;
28496 wxPreviewFrame
*arg1
= (wxPreviewFrame
*) 0 ;
28499 PyObject
*swig_obj
[1] ;
28501 if (!args
) SWIG_fail
;
28502 swig_obj
[0] = args
;
28503 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPreviewFrame
, 0 | 0 );
28504 if (!SWIG_IsOK(res1
)) {
28505 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PreviewFrame_Initialize" "', expected argument " "1"" of type '" "wxPreviewFrame *""'");
28507 arg1
= reinterpret_cast< wxPreviewFrame
* >(argp1
);
28509 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28510 (arg1
)->Initialize();
28511 wxPyEndAllowThreads(__tstate
);
28512 if (PyErr_Occurred()) SWIG_fail
;
28514 resultobj
= SWIG_Py_Void();
28521 SWIGINTERN PyObject
*_wrap_PreviewFrame_CreateControlBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28522 PyObject
*resultobj
= 0;
28523 wxPreviewFrame
*arg1
= (wxPreviewFrame
*) 0 ;
28526 PyObject
*swig_obj
[1] ;
28528 if (!args
) SWIG_fail
;
28529 swig_obj
[0] = args
;
28530 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPreviewFrame
, 0 | 0 );
28531 if (!SWIG_IsOK(res1
)) {
28532 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PreviewFrame_CreateControlBar" "', expected argument " "1"" of type '" "wxPreviewFrame *""'");
28534 arg1
= reinterpret_cast< wxPreviewFrame
* >(argp1
);
28536 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28537 (arg1
)->CreateControlBar();
28538 wxPyEndAllowThreads(__tstate
);
28539 if (PyErr_Occurred()) SWIG_fail
;
28541 resultobj
= SWIG_Py_Void();
28548 SWIGINTERN PyObject
*_wrap_PreviewFrame_CreateCanvas(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28549 PyObject
*resultobj
= 0;
28550 wxPreviewFrame
*arg1
= (wxPreviewFrame
*) 0 ;
28553 PyObject
*swig_obj
[1] ;
28555 if (!args
) SWIG_fail
;
28556 swig_obj
[0] = args
;
28557 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPreviewFrame
, 0 | 0 );
28558 if (!SWIG_IsOK(res1
)) {
28559 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PreviewFrame_CreateCanvas" "', expected argument " "1"" of type '" "wxPreviewFrame *""'");
28561 arg1
= reinterpret_cast< wxPreviewFrame
* >(argp1
);
28563 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28564 (arg1
)->CreateCanvas();
28565 wxPyEndAllowThreads(__tstate
);
28566 if (PyErr_Occurred()) SWIG_fail
;
28568 resultobj
= SWIG_Py_Void();
28575 SWIGINTERN PyObject
*_wrap_PreviewFrame_GetControlBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28576 PyObject
*resultobj
= 0;
28577 wxPreviewFrame
*arg1
= (wxPreviewFrame
*) 0 ;
28578 wxPreviewControlBar
*result
= 0 ;
28581 PyObject
*swig_obj
[1] ;
28583 if (!args
) SWIG_fail
;
28584 swig_obj
[0] = args
;
28585 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPreviewFrame
, 0 | 0 );
28586 if (!SWIG_IsOK(res1
)) {
28587 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PreviewFrame_GetControlBar" "', expected argument " "1"" of type '" "wxPreviewFrame const *""'");
28589 arg1
= reinterpret_cast< wxPreviewFrame
* >(argp1
);
28591 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28592 result
= (wxPreviewControlBar
*)((wxPreviewFrame
const *)arg1
)->GetControlBar();
28593 wxPyEndAllowThreads(__tstate
);
28594 if (PyErr_Occurred()) SWIG_fail
;
28596 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPreviewControlBar
, 0 | 0 );
28603 SWIGINTERN PyObject
*PreviewFrame_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28605 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
28606 SWIG_TypeNewClientData(SWIGTYPE_p_wxPreviewFrame
, SWIG_NewClientData(obj
));
28607 return SWIG_Py_Void();
28610 SWIGINTERN PyObject
*PreviewFrame_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28611 return SWIG_Python_InitShadowInstance(args
);
28614 SWIGINTERN PyObject
*_wrap_new_PreviewControlBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28615 PyObject
*resultobj
= 0;
28616 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
28618 wxWindow
*arg3
= (wxWindow
*) 0 ;
28619 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
28620 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
28621 wxSize
const &arg5_defvalue
= wxDefaultSize
;
28622 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
28623 long arg6
= (long) wxTAB_TRAVERSAL
;
28624 wxString
const &arg7_defvalue
= wxPyPanelNameStr
;
28625 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
28626 wxPreviewControlBar
*result
= 0 ;
28637 bool temp7
= false ;
28638 PyObject
* obj0
= 0 ;
28639 PyObject
* obj1
= 0 ;
28640 PyObject
* obj2
= 0 ;
28641 PyObject
* obj3
= 0 ;
28642 PyObject
* obj4
= 0 ;
28643 PyObject
* obj5
= 0 ;
28644 PyObject
* obj6
= 0 ;
28645 char * kwnames
[] = {
28646 (char *) "preview",(char *) "buttons",(char *) "parent",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
28649 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:new_PreviewControlBar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
28650 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
28651 if (!SWIG_IsOK(res1
)) {
28652 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PreviewControlBar" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
28654 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
28655 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
28656 if (!SWIG_IsOK(ecode2
)) {
28657 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_PreviewControlBar" "', expected argument " "2"" of type '" "long""'");
28659 arg2
= static_cast< long >(val2
);
28660 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxWindow
, 0 | 0 );
28661 if (!SWIG_IsOK(res3
)) {
28662 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "new_PreviewControlBar" "', expected argument " "3"" of type '" "wxWindow *""'");
28664 arg3
= reinterpret_cast< wxWindow
* >(argp3
);
28668 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
28674 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
28678 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
28679 if (!SWIG_IsOK(ecode6
)) {
28680 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_PreviewControlBar" "', expected argument " "6"" of type '" "long""'");
28682 arg6
= static_cast< long >(val6
);
28686 arg7
= wxString_in_helper(obj6
);
28687 if (arg7
== NULL
) SWIG_fail
;
28692 if (!wxPyCheckForApp()) SWIG_fail
;
28693 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28694 result
= (wxPreviewControlBar
*)new wxPreviewControlBar(arg1
,arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
28695 wxPyEndAllowThreads(__tstate
);
28696 if (PyErr_Occurred()) SWIG_fail
;
28698 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPreviewControlBar
, SWIG_POINTER_NEW
| 0 );
28713 SWIGINTERN PyObject
*_wrap_PreviewControlBar_GetZoomControl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28714 PyObject
*resultobj
= 0;
28715 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 0 ;
28719 PyObject
*swig_obj
[1] ;
28721 if (!args
) SWIG_fail
;
28722 swig_obj
[0] = args
;
28723 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPreviewControlBar
, 0 | 0 );
28724 if (!SWIG_IsOK(res1
)) {
28725 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PreviewControlBar_GetZoomControl" "', expected argument " "1"" of type '" "wxPreviewControlBar *""'");
28727 arg1
= reinterpret_cast< wxPreviewControlBar
* >(argp1
);
28729 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28730 result
= (int)(arg1
)->GetZoomControl();
28731 wxPyEndAllowThreads(__tstate
);
28732 if (PyErr_Occurred()) SWIG_fail
;
28734 resultobj
= SWIG_From_int(static_cast< int >(result
));
28741 SWIGINTERN PyObject
*_wrap_PreviewControlBar_SetZoomControl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28742 PyObject
*resultobj
= 0;
28743 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 0 ;
28749 PyObject
* obj0
= 0 ;
28750 PyObject
* obj1
= 0 ;
28751 char * kwnames
[] = {
28752 (char *) "self",(char *) "zoom", NULL
28755 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PreviewControlBar_SetZoomControl",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28756 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPreviewControlBar
, 0 | 0 );
28757 if (!SWIG_IsOK(res1
)) {
28758 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PreviewControlBar_SetZoomControl" "', expected argument " "1"" of type '" "wxPreviewControlBar *""'");
28760 arg1
= reinterpret_cast< wxPreviewControlBar
* >(argp1
);
28761 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
28762 if (!SWIG_IsOK(ecode2
)) {
28763 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PreviewControlBar_SetZoomControl" "', expected argument " "2"" of type '" "int""'");
28765 arg2
= static_cast< int >(val2
);
28767 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28768 (arg1
)->SetZoomControl(arg2
);
28769 wxPyEndAllowThreads(__tstate
);
28770 if (PyErr_Occurred()) SWIG_fail
;
28772 resultobj
= SWIG_Py_Void();
28779 SWIGINTERN PyObject
*_wrap_PreviewControlBar_GetPrintPreview(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28780 PyObject
*resultobj
= 0;
28781 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 0 ;
28782 wxPrintPreview
*result
= 0 ;
28785 PyObject
*swig_obj
[1] ;
28787 if (!args
) SWIG_fail
;
28788 swig_obj
[0] = args
;
28789 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPreviewControlBar
, 0 | 0 );
28790 if (!SWIG_IsOK(res1
)) {
28791 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PreviewControlBar_GetPrintPreview" "', expected argument " "1"" of type '" "wxPreviewControlBar *""'");
28793 arg1
= reinterpret_cast< wxPreviewControlBar
* >(argp1
);
28795 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28796 result
= (wxPrintPreview
*)(arg1
)->GetPrintPreview();
28797 wxPyEndAllowThreads(__tstate
);
28798 if (PyErr_Occurred()) SWIG_fail
;
28800 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
28807 SWIGINTERN PyObject
*_wrap_PreviewControlBar_OnNext(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28808 PyObject
*resultobj
= 0;
28809 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 0 ;
28812 PyObject
*swig_obj
[1] ;
28814 if (!args
) SWIG_fail
;
28815 swig_obj
[0] = args
;
28816 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPreviewControlBar
, 0 | 0 );
28817 if (!SWIG_IsOK(res1
)) {
28818 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PreviewControlBar_OnNext" "', expected argument " "1"" of type '" "wxPreviewControlBar *""'");
28820 arg1
= reinterpret_cast< wxPreviewControlBar
* >(argp1
);
28822 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28824 wxPyEndAllowThreads(__tstate
);
28825 if (PyErr_Occurred()) SWIG_fail
;
28827 resultobj
= SWIG_Py_Void();
28834 SWIGINTERN PyObject
*_wrap_PreviewControlBar_OnPrevious(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28835 PyObject
*resultobj
= 0;
28836 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 0 ;
28839 PyObject
*swig_obj
[1] ;
28841 if (!args
) SWIG_fail
;
28842 swig_obj
[0] = args
;
28843 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPreviewControlBar
, 0 | 0 );
28844 if (!SWIG_IsOK(res1
)) {
28845 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PreviewControlBar_OnPrevious" "', expected argument " "1"" of type '" "wxPreviewControlBar *""'");
28847 arg1
= reinterpret_cast< wxPreviewControlBar
* >(argp1
);
28849 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28850 (arg1
)->OnPrevious();
28851 wxPyEndAllowThreads(__tstate
);
28852 if (PyErr_Occurred()) SWIG_fail
;
28854 resultobj
= SWIG_Py_Void();
28861 SWIGINTERN PyObject
*_wrap_PreviewControlBar_OnFirst(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28862 PyObject
*resultobj
= 0;
28863 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 0 ;
28866 PyObject
*swig_obj
[1] ;
28868 if (!args
) SWIG_fail
;
28869 swig_obj
[0] = args
;
28870 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPreviewControlBar
, 0 | 0 );
28871 if (!SWIG_IsOK(res1
)) {
28872 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PreviewControlBar_OnFirst" "', expected argument " "1"" of type '" "wxPreviewControlBar *""'");
28874 arg1
= reinterpret_cast< wxPreviewControlBar
* >(argp1
);
28876 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28878 wxPyEndAllowThreads(__tstate
);
28879 if (PyErr_Occurred()) SWIG_fail
;
28881 resultobj
= SWIG_Py_Void();
28888 SWIGINTERN PyObject
*_wrap_PreviewControlBar_OnLast(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28889 PyObject
*resultobj
= 0;
28890 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 0 ;
28893 PyObject
*swig_obj
[1] ;
28895 if (!args
) SWIG_fail
;
28896 swig_obj
[0] = args
;
28897 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPreviewControlBar
, 0 | 0 );
28898 if (!SWIG_IsOK(res1
)) {
28899 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PreviewControlBar_OnLast" "', expected argument " "1"" of type '" "wxPreviewControlBar *""'");
28901 arg1
= reinterpret_cast< wxPreviewControlBar
* >(argp1
);
28903 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28905 wxPyEndAllowThreads(__tstate
);
28906 if (PyErr_Occurred()) SWIG_fail
;
28908 resultobj
= SWIG_Py_Void();
28915 SWIGINTERN PyObject
*_wrap_PreviewControlBar_OnGoto(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28916 PyObject
*resultobj
= 0;
28917 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 0 ;
28920 PyObject
*swig_obj
[1] ;
28922 if (!args
) SWIG_fail
;
28923 swig_obj
[0] = args
;
28924 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPreviewControlBar
, 0 | 0 );
28925 if (!SWIG_IsOK(res1
)) {
28926 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PreviewControlBar_OnGoto" "', expected argument " "1"" of type '" "wxPreviewControlBar *""'");
28928 arg1
= reinterpret_cast< wxPreviewControlBar
* >(argp1
);
28930 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28932 wxPyEndAllowThreads(__tstate
);
28933 if (PyErr_Occurred()) SWIG_fail
;
28935 resultobj
= SWIG_Py_Void();
28942 SWIGINTERN PyObject
*PreviewControlBar_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28944 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
28945 SWIG_TypeNewClientData(SWIGTYPE_p_wxPreviewControlBar
, SWIG_NewClientData(obj
));
28946 return SWIG_Py_Void();
28949 SWIGINTERN PyObject
*PreviewControlBar_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28950 return SWIG_Python_InitShadowInstance(args
);
28953 SWIGINTERN PyObject
*_wrap_new_PrintPreview__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
28954 PyObject
*resultobj
= 0;
28955 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
28956 wxPyPrintout
*arg2
= (wxPyPrintout
*) 0 ;
28957 wxPrintDialogData
*arg3
= (wxPrintDialogData
*) NULL
;
28958 wxPrintPreview
*result
= 0 ;
28964 if ((nobjs
< 2) || (nobjs
> 3)) SWIG_fail
;
28965 res1
= SWIG_ConvertPtr(swig_obj
[0], SWIG_as_voidptrptr(&arg1
), SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_DISOWN
| 0 );
28966 if (!SWIG_IsOK(res1
)) {
28967 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PrintPreview" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28969 res2
= SWIG_ConvertPtr(swig_obj
[1], SWIG_as_voidptrptr(&arg2
), SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_DISOWN
| 0 );
28970 if (!SWIG_IsOK(res2
)) {
28971 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_PrintPreview" "', expected argument " "2"" of type '" "wxPyPrintout *""'");
28974 res3
= SWIG_ConvertPtr(swig_obj
[2], &argp3
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
28975 if (!SWIG_IsOK(res3
)) {
28976 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "new_PrintPreview" "', expected argument " "3"" of type '" "wxPrintDialogData *""'");
28978 arg3
= reinterpret_cast< wxPrintDialogData
* >(argp3
);
28981 if (!wxPyCheckForApp()) SWIG_fail
;
28982 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28983 result
= (wxPrintPreview
*)new wxPrintPreview(arg1
,arg2
,arg3
);
28984 wxPyEndAllowThreads(__tstate
);
28985 if (PyErr_Occurred()) SWIG_fail
;
28987 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPrintPreview
, SWIG_POINTER_NEW
| 0 );
28994 SWIGINTERN PyObject
*_wrap_new_PrintPreview__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
28995 PyObject
*resultobj
= 0;
28996 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
28997 wxPyPrintout
*arg2
= (wxPyPrintout
*) 0 ;
28998 wxPrintData
*arg3
= (wxPrintData
*) 0 ;
28999 wxPrintPreview
*result
= 0 ;
29005 if ((nobjs
< 3) || (nobjs
> 3)) SWIG_fail
;
29006 res1
= SWIG_ConvertPtr(swig_obj
[0], SWIG_as_voidptrptr(&arg1
), SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_DISOWN
| 0 );
29007 if (!SWIG_IsOK(res1
)) {
29008 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PrintPreview" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
29010 res2
= SWIG_ConvertPtr(swig_obj
[1], SWIG_as_voidptrptr(&arg2
), SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_DISOWN
| 0 );
29011 if (!SWIG_IsOK(res2
)) {
29012 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_PrintPreview" "', expected argument " "2"" of type '" "wxPyPrintout *""'");
29014 res3
= SWIG_ConvertPtr(swig_obj
[2], &argp3
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
29015 if (!SWIG_IsOK(res3
)) {
29016 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "new_PrintPreview" "', expected argument " "3"" of type '" "wxPrintData *""'");
29018 arg3
= reinterpret_cast< wxPrintData
* >(argp3
);
29020 if (!wxPyCheckForApp()) SWIG_fail
;
29021 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29022 result
= (wxPrintPreview
*)new wxPrintPreview(arg1
,arg2
,arg3
);
29023 wxPyEndAllowThreads(__tstate
);
29024 if (PyErr_Occurred()) SWIG_fail
;
29026 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPrintPreview
, SWIG_POINTER_NEW
| 0 );
29033 SWIGINTERN PyObject
*_wrap_new_PrintPreview(PyObject
*self
, PyObject
*args
) {
29037 if (!(argc
= SWIG_Python_UnpackTuple(args
,"new_PrintPreview",0,3,argv
))) SWIG_fail
;
29039 if ((argc
>= 2) && (argc
<= 3)) {
29044 int res
= SWIG_ConvertPtr(argv
[2], &vptr
, SWIGTYPE_p_wxPrintDialogData
, 0);
29045 _v
= SWIG_CheckState(res
);
29047 if (!_v
) goto check_1
;
29049 return _wrap_new_PrintPreview__SWIG_0(self
, argc
, argv
);
29054 return _wrap_new_PrintPreview__SWIG_1(self
, argc
, argv
);
29058 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'new_PrintPreview'");
29063 SWIGINTERN PyObject
*_wrap_delete_PrintPreview(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29064 PyObject
*resultobj
= 0;
29065 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
29068 PyObject
*swig_obj
[1] ;
29070 if (!args
) SWIG_fail
;
29071 swig_obj
[0] = args
;
29072 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintPreview
, SWIG_POINTER_DISOWN
| 0 );
29073 if (!SWIG_IsOK(res1
)) {
29074 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_PrintPreview" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29076 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
29078 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29081 wxPyEndAllowThreads(__tstate
);
29082 if (PyErr_Occurred()) SWIG_fail
;
29084 resultobj
= SWIG_Py_Void();
29091 SWIGINTERN PyObject
*_wrap_PrintPreview_SetCurrentPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29092 PyObject
*resultobj
= 0;
29093 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
29100 PyObject
* obj0
= 0 ;
29101 PyObject
* obj1
= 0 ;
29102 char * kwnames
[] = {
29103 (char *) "self",(char *) "pageNum", NULL
29106 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_SetCurrentPage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29107 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
29108 if (!SWIG_IsOK(res1
)) {
29109 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_SetCurrentPage" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29111 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
29112 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
29113 if (!SWIG_IsOK(ecode2
)) {
29114 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintPreview_SetCurrentPage" "', expected argument " "2"" of type '" "int""'");
29116 arg2
= static_cast< int >(val2
);
29118 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29119 result
= (bool)(arg1
)->SetCurrentPage(arg2
);
29120 wxPyEndAllowThreads(__tstate
);
29121 if (PyErr_Occurred()) SWIG_fail
;
29124 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29132 SWIGINTERN PyObject
*_wrap_PrintPreview_GetCurrentPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29133 PyObject
*resultobj
= 0;
29134 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
29138 PyObject
*swig_obj
[1] ;
29140 if (!args
) SWIG_fail
;
29141 swig_obj
[0] = args
;
29142 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
29143 if (!SWIG_IsOK(res1
)) {
29144 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_GetCurrentPage" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29146 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
29148 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29149 result
= (int)(arg1
)->GetCurrentPage();
29150 wxPyEndAllowThreads(__tstate
);
29151 if (PyErr_Occurred()) SWIG_fail
;
29153 resultobj
= SWIG_From_int(static_cast< int >(result
));
29160 SWIGINTERN PyObject
*_wrap_PrintPreview_SetPrintout(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29161 PyObject
*resultobj
= 0;
29162 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
29163 wxPyPrintout
*arg2
= (wxPyPrintout
*) 0 ;
29167 PyObject
* obj0
= 0 ;
29168 PyObject
* obj1
= 0 ;
29169 char * kwnames
[] = {
29170 (char *) "self",(char *) "printout", NULL
29173 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_SetPrintout",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29174 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
29175 if (!SWIG_IsOK(res1
)) {
29176 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_SetPrintout" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29178 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
29179 res2
= SWIG_ConvertPtr(obj1
, SWIG_as_voidptrptr(&arg2
), SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_DISOWN
| 0 );
29180 if (!SWIG_IsOK(res2
)) {
29181 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PrintPreview_SetPrintout" "', expected argument " "2"" of type '" "wxPyPrintout *""'");
29184 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29185 (arg1
)->SetPrintout(arg2
);
29186 wxPyEndAllowThreads(__tstate
);
29187 if (PyErr_Occurred()) SWIG_fail
;
29189 resultobj
= SWIG_Py_Void();
29196 SWIGINTERN PyObject
*_wrap_PrintPreview_GetPrintout(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29197 PyObject
*resultobj
= 0;
29198 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
29199 wxPyPrintout
*result
= 0 ;
29202 PyObject
*swig_obj
[1] ;
29204 if (!args
) SWIG_fail
;
29205 swig_obj
[0] = args
;
29206 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
29207 if (!SWIG_IsOK(res1
)) {
29208 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_GetPrintout" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29210 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
29212 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29213 result
= (wxPyPrintout
*)(arg1
)->GetPrintout();
29214 wxPyEndAllowThreads(__tstate
);
29215 if (PyErr_Occurred()) SWIG_fail
;
29218 resultobj
= wxPyMake_wxObject(result
, 0);
29226 SWIGINTERN PyObject
*_wrap_PrintPreview_GetPrintoutForPrinting(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29227 PyObject
*resultobj
= 0;
29228 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
29229 wxPyPrintout
*result
= 0 ;
29232 PyObject
*swig_obj
[1] ;
29234 if (!args
) SWIG_fail
;
29235 swig_obj
[0] = args
;
29236 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
29237 if (!SWIG_IsOK(res1
)) {
29238 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_GetPrintoutForPrinting" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29240 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
29242 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29243 result
= (wxPyPrintout
*)(arg1
)->GetPrintoutForPrinting();
29244 wxPyEndAllowThreads(__tstate
);
29245 if (PyErr_Occurred()) SWIG_fail
;
29248 resultobj
= wxPyMake_wxObject(result
, 0);
29256 SWIGINTERN PyObject
*_wrap_PrintPreview_SetFrame(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29257 PyObject
*resultobj
= 0;
29258 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
29259 wxFrame
*arg2
= (wxFrame
*) 0 ;
29264 PyObject
* obj0
= 0 ;
29265 PyObject
* obj1
= 0 ;
29266 char * kwnames
[] = {
29267 (char *) "self",(char *) "frame", NULL
29270 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_SetFrame",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29271 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
29272 if (!SWIG_IsOK(res1
)) {
29273 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_SetFrame" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29275 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
29276 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxFrame
, 0 | 0 );
29277 if (!SWIG_IsOK(res2
)) {
29278 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PrintPreview_SetFrame" "', expected argument " "2"" of type '" "wxFrame *""'");
29280 arg2
= reinterpret_cast< wxFrame
* >(argp2
);
29282 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29283 (arg1
)->SetFrame(arg2
);
29284 wxPyEndAllowThreads(__tstate
);
29285 if (PyErr_Occurred()) SWIG_fail
;
29287 resultobj
= SWIG_Py_Void();
29294 SWIGINTERN PyObject
*_wrap_PrintPreview_SetCanvas(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29295 PyObject
*resultobj
= 0;
29296 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
29297 wxPreviewCanvas
*arg2
= (wxPreviewCanvas
*) 0 ;
29302 PyObject
* obj0
= 0 ;
29303 PyObject
* obj1
= 0 ;
29304 char * kwnames
[] = {
29305 (char *) "self",(char *) "canvas", NULL
29308 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_SetCanvas",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29309 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
29310 if (!SWIG_IsOK(res1
)) {
29311 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_SetCanvas" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29313 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
29314 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxPreviewCanvas
, 0 | 0 );
29315 if (!SWIG_IsOK(res2
)) {
29316 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PrintPreview_SetCanvas" "', expected argument " "2"" of type '" "wxPreviewCanvas *""'");
29318 arg2
= reinterpret_cast< wxPreviewCanvas
* >(argp2
);
29320 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29321 (arg1
)->SetCanvas(arg2
);
29322 wxPyEndAllowThreads(__tstate
);
29323 if (PyErr_Occurred()) SWIG_fail
;
29325 resultobj
= SWIG_Py_Void();
29332 SWIGINTERN PyObject
*_wrap_PrintPreview_GetFrame(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29333 PyObject
*resultobj
= 0;
29334 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
29335 wxFrame
*result
= 0 ;
29338 PyObject
*swig_obj
[1] ;
29340 if (!args
) SWIG_fail
;
29341 swig_obj
[0] = args
;
29342 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
29343 if (!SWIG_IsOK(res1
)) {
29344 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_GetFrame" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29346 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
29348 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29349 result
= (wxFrame
*)(arg1
)->GetFrame();
29350 wxPyEndAllowThreads(__tstate
);
29351 if (PyErr_Occurred()) SWIG_fail
;
29354 resultobj
= wxPyMake_wxObject(result
, 0);
29362 SWIGINTERN PyObject
*_wrap_PrintPreview_GetCanvas(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29363 PyObject
*resultobj
= 0;
29364 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
29365 wxPreviewCanvas
*result
= 0 ;
29368 PyObject
*swig_obj
[1] ;
29370 if (!args
) SWIG_fail
;
29371 swig_obj
[0] = args
;
29372 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
29373 if (!SWIG_IsOK(res1
)) {
29374 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_GetCanvas" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29376 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
29378 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29379 result
= (wxPreviewCanvas
*)(arg1
)->GetCanvas();
29380 wxPyEndAllowThreads(__tstate
);
29381 if (PyErr_Occurred()) SWIG_fail
;
29383 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPreviewCanvas
, 0 | 0 );
29390 SWIGINTERN PyObject
*_wrap_PrintPreview_PaintPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29391 PyObject
*resultobj
= 0;
29392 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
29393 wxPreviewCanvas
*arg2
= (wxPreviewCanvas
*) 0 ;
29402 PyObject
* obj0
= 0 ;
29403 PyObject
* obj1
= 0 ;
29404 PyObject
* obj2
= 0 ;
29405 char * kwnames
[] = {
29406 (char *) "self",(char *) "canvas",(char *) "dc", NULL
29409 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PrintPreview_PaintPage",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
29410 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
29411 if (!SWIG_IsOK(res1
)) {
29412 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_PaintPage" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29414 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
29415 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxPreviewCanvas
, 0 | 0 );
29416 if (!SWIG_IsOK(res2
)) {
29417 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PrintPreview_PaintPage" "', expected argument " "2"" of type '" "wxPreviewCanvas *""'");
29419 arg2
= reinterpret_cast< wxPreviewCanvas
* >(argp2
);
29420 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
29421 if (!SWIG_IsOK(res3
)) {
29422 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "PrintPreview_PaintPage" "', expected argument " "3"" of type '" "wxDC &""'");
29425 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PrintPreview_PaintPage" "', expected argument " "3"" of type '" "wxDC &""'");
29427 arg3
= reinterpret_cast< wxDC
* >(argp3
);
29429 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29430 result
= (bool)(arg1
)->PaintPage(arg2
,*arg3
);
29431 wxPyEndAllowThreads(__tstate
);
29432 if (PyErr_Occurred()) SWIG_fail
;
29435 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29443 SWIGINTERN PyObject
*_wrap_PrintPreview_DrawBlankPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29444 PyObject
*resultobj
= 0;
29445 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
29446 wxPreviewCanvas
*arg2
= (wxPreviewCanvas
*) 0 ;
29455 PyObject
* obj0
= 0 ;
29456 PyObject
* obj1
= 0 ;
29457 PyObject
* obj2
= 0 ;
29458 char * kwnames
[] = {
29459 (char *) "self",(char *) "canvas",(char *) "dc", NULL
29462 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PrintPreview_DrawBlankPage",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
29463 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
29464 if (!SWIG_IsOK(res1
)) {
29465 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_DrawBlankPage" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29467 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
29468 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxPreviewCanvas
, 0 | 0 );
29469 if (!SWIG_IsOK(res2
)) {
29470 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PrintPreview_DrawBlankPage" "', expected argument " "2"" of type '" "wxPreviewCanvas *""'");
29472 arg2
= reinterpret_cast< wxPreviewCanvas
* >(argp2
);
29473 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
29474 if (!SWIG_IsOK(res3
)) {
29475 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "PrintPreview_DrawBlankPage" "', expected argument " "3"" of type '" "wxDC &""'");
29478 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PrintPreview_DrawBlankPage" "', expected argument " "3"" of type '" "wxDC &""'");
29480 arg3
= reinterpret_cast< wxDC
* >(argp3
);
29482 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29483 result
= (bool)(arg1
)->DrawBlankPage(arg2
,*arg3
);
29484 wxPyEndAllowThreads(__tstate
);
29485 if (PyErr_Occurred()) SWIG_fail
;
29488 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29496 SWIGINTERN PyObject
*_wrap_PrintPreview_RenderPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29497 PyObject
*resultobj
= 0;
29498 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
29505 PyObject
* obj0
= 0 ;
29506 PyObject
* obj1
= 0 ;
29507 char * kwnames
[] = {
29508 (char *) "self",(char *) "pageNum", NULL
29511 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_RenderPage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29512 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
29513 if (!SWIG_IsOK(res1
)) {
29514 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_RenderPage" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29516 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
29517 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
29518 if (!SWIG_IsOK(ecode2
)) {
29519 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintPreview_RenderPage" "', expected argument " "2"" of type '" "int""'");
29521 arg2
= static_cast< int >(val2
);
29523 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29524 result
= (bool)(arg1
)->RenderPage(arg2
);
29525 wxPyEndAllowThreads(__tstate
);
29526 if (PyErr_Occurred()) SWIG_fail
;
29529 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29537 SWIGINTERN PyObject
*_wrap_PrintPreview_AdjustScrollbars(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29538 PyObject
*resultobj
= 0;
29539 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
29540 wxPreviewCanvas
*arg2
= (wxPreviewCanvas
*) 0 ;
29545 PyObject
* obj0
= 0 ;
29546 PyObject
* obj1
= 0 ;
29547 char * kwnames
[] = {
29548 (char *) "self",(char *) "canvas", NULL
29551 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_AdjustScrollbars",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29552 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
29553 if (!SWIG_IsOK(res1
)) {
29554 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_AdjustScrollbars" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29556 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
29557 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxPreviewCanvas
, 0 | 0 );
29558 if (!SWIG_IsOK(res2
)) {
29559 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PrintPreview_AdjustScrollbars" "', expected argument " "2"" of type '" "wxPreviewCanvas *""'");
29561 arg2
= reinterpret_cast< wxPreviewCanvas
* >(argp2
);
29563 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29564 (arg1
)->AdjustScrollbars(arg2
);
29565 wxPyEndAllowThreads(__tstate
);
29566 if (PyErr_Occurred()) SWIG_fail
;
29568 resultobj
= SWIG_Py_Void();
29575 SWIGINTERN PyObject
*_wrap_PrintPreview_GetPrintDialogData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29576 PyObject
*resultobj
= 0;
29577 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
29578 wxPrintDialogData
*result
= 0 ;
29581 PyObject
*swig_obj
[1] ;
29583 if (!args
) SWIG_fail
;
29584 swig_obj
[0] = args
;
29585 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
29586 if (!SWIG_IsOK(res1
)) {
29587 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_GetPrintDialogData" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29589 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
29591 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29593 wxPrintDialogData
&_result_ref
= (arg1
)->GetPrintDialogData();
29594 result
= (wxPrintDialogData
*) &_result_ref
;
29596 wxPyEndAllowThreads(__tstate
);
29597 if (PyErr_Occurred()) SWIG_fail
;
29599 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
29606 SWIGINTERN PyObject
*_wrap_PrintPreview_SetZoom(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29607 PyObject
*resultobj
= 0;
29608 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
29614 PyObject
* obj0
= 0 ;
29615 PyObject
* obj1
= 0 ;
29616 char * kwnames
[] = {
29617 (char *) "self",(char *) "percent", NULL
29620 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_SetZoom",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29621 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
29622 if (!SWIG_IsOK(res1
)) {
29623 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_SetZoom" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29625 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
29626 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
29627 if (!SWIG_IsOK(ecode2
)) {
29628 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintPreview_SetZoom" "', expected argument " "2"" of type '" "int""'");
29630 arg2
= static_cast< int >(val2
);
29632 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29633 (arg1
)->SetZoom(arg2
);
29634 wxPyEndAllowThreads(__tstate
);
29635 if (PyErr_Occurred()) SWIG_fail
;
29637 resultobj
= SWIG_Py_Void();
29644 SWIGINTERN PyObject
*_wrap_PrintPreview_GetZoom(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29645 PyObject
*resultobj
= 0;
29646 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
29650 PyObject
*swig_obj
[1] ;
29652 if (!args
) SWIG_fail
;
29653 swig_obj
[0] = args
;
29654 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
29655 if (!SWIG_IsOK(res1
)) {
29656 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_GetZoom" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29658 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
29660 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29661 result
= (int)(arg1
)->GetZoom();
29662 wxPyEndAllowThreads(__tstate
);
29663 if (PyErr_Occurred()) SWIG_fail
;
29665 resultobj
= SWIG_From_int(static_cast< int >(result
));
29672 SWIGINTERN PyObject
*_wrap_PrintPreview_GetMaxPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29673 PyObject
*resultobj
= 0;
29674 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
29678 PyObject
*swig_obj
[1] ;
29680 if (!args
) SWIG_fail
;
29681 swig_obj
[0] = args
;
29682 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
29683 if (!SWIG_IsOK(res1
)) {
29684 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_GetMaxPage" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29686 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
29688 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29689 result
= (int)(arg1
)->GetMaxPage();
29690 wxPyEndAllowThreads(__tstate
);
29691 if (PyErr_Occurred()) SWIG_fail
;
29693 resultobj
= SWIG_From_int(static_cast< int >(result
));
29700 SWIGINTERN PyObject
*_wrap_PrintPreview_GetMinPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29701 PyObject
*resultobj
= 0;
29702 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
29706 PyObject
*swig_obj
[1] ;
29708 if (!args
) SWIG_fail
;
29709 swig_obj
[0] = args
;
29710 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
29711 if (!SWIG_IsOK(res1
)) {
29712 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_GetMinPage" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29714 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
29716 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29717 result
= (int)(arg1
)->GetMinPage();
29718 wxPyEndAllowThreads(__tstate
);
29719 if (PyErr_Occurred()) SWIG_fail
;
29721 resultobj
= SWIG_From_int(static_cast< int >(result
));
29728 SWIGINTERN PyObject
*_wrap_PrintPreview_Ok(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29729 PyObject
*resultobj
= 0;
29730 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
29734 PyObject
*swig_obj
[1] ;
29736 if (!args
) SWIG_fail
;
29737 swig_obj
[0] = args
;
29738 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
29739 if (!SWIG_IsOK(res1
)) {
29740 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_Ok" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29742 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
29744 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29745 result
= (bool)(arg1
)->Ok();
29746 wxPyEndAllowThreads(__tstate
);
29747 if (PyErr_Occurred()) SWIG_fail
;
29750 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29758 SWIGINTERN PyObject
*_wrap_PrintPreview_SetOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29759 PyObject
*resultobj
= 0;
29760 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
29766 PyObject
* obj0
= 0 ;
29767 PyObject
* obj1
= 0 ;
29768 char * kwnames
[] = {
29769 (char *) "self",(char *) "ok", NULL
29772 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_SetOk",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29773 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
29774 if (!SWIG_IsOK(res1
)) {
29775 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_SetOk" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29777 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
29778 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
29779 if (!SWIG_IsOK(ecode2
)) {
29780 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintPreview_SetOk" "', expected argument " "2"" of type '" "bool""'");
29782 arg2
= static_cast< bool >(val2
);
29784 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29785 (arg1
)->SetOk(arg2
);
29786 wxPyEndAllowThreads(__tstate
);
29787 if (PyErr_Occurred()) SWIG_fail
;
29789 resultobj
= SWIG_Py_Void();
29796 SWIGINTERN PyObject
*_wrap_PrintPreview_Print(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29797 PyObject
*resultobj
= 0;
29798 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
29805 PyObject
* obj0
= 0 ;
29806 PyObject
* obj1
= 0 ;
29807 char * kwnames
[] = {
29808 (char *) "self",(char *) "interactive", NULL
29811 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_Print",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29812 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
29813 if (!SWIG_IsOK(res1
)) {
29814 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_Print" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29816 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
29817 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
29818 if (!SWIG_IsOK(ecode2
)) {
29819 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintPreview_Print" "', expected argument " "2"" of type '" "bool""'");
29821 arg2
= static_cast< bool >(val2
);
29823 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29824 result
= (bool)(arg1
)->Print(arg2
);
29825 wxPyEndAllowThreads(__tstate
);
29826 if (PyErr_Occurred()) SWIG_fail
;
29829 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29837 SWIGINTERN PyObject
*_wrap_PrintPreview_DetermineScaling(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29838 PyObject
*resultobj
= 0;
29839 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
29842 PyObject
*swig_obj
[1] ;
29844 if (!args
) SWIG_fail
;
29845 swig_obj
[0] = args
;
29846 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
29847 if (!SWIG_IsOK(res1
)) {
29848 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_DetermineScaling" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29850 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
29852 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29853 (arg1
)->DetermineScaling();
29854 wxPyEndAllowThreads(__tstate
);
29855 if (PyErr_Occurred()) SWIG_fail
;
29857 resultobj
= SWIG_Py_Void();
29864 SWIGINTERN PyObject
*PrintPreview_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29866 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
29867 SWIG_TypeNewClientData(SWIGTYPE_p_wxPrintPreview
, SWIG_NewClientData(obj
));
29868 return SWIG_Py_Void();
29871 SWIGINTERN PyObject
*PrintPreview_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29872 return SWIG_Python_InitShadowInstance(args
);
29875 SWIGINTERN PyObject
*_wrap_new_PyPrintPreview__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
29876 PyObject
*resultobj
= 0;
29877 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
29878 wxPyPrintout
*arg2
= (wxPyPrintout
*) 0 ;
29879 wxPrintDialogData
*arg3
= (wxPrintDialogData
*) NULL
;
29880 wxPyPrintPreview
*result
= 0 ;
29886 if ((nobjs
< 2) || (nobjs
> 3)) SWIG_fail
;
29887 res1
= SWIG_ConvertPtr(swig_obj
[0], SWIG_as_voidptrptr(&arg1
), SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_DISOWN
| 0 );
29888 if (!SWIG_IsOK(res1
)) {
29889 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PyPrintPreview" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
29891 res2
= SWIG_ConvertPtr(swig_obj
[1], SWIG_as_voidptrptr(&arg2
), SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_DISOWN
| 0 );
29892 if (!SWIG_IsOK(res2
)) {
29893 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_PyPrintPreview" "', expected argument " "2"" of type '" "wxPyPrintout *""'");
29896 res3
= SWIG_ConvertPtr(swig_obj
[2], &argp3
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
29897 if (!SWIG_IsOK(res3
)) {
29898 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "new_PyPrintPreview" "', expected argument " "3"" of type '" "wxPrintDialogData *""'");
29900 arg3
= reinterpret_cast< wxPrintDialogData
* >(argp3
);
29903 if (!wxPyCheckForApp()) SWIG_fail
;
29904 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29905 result
= (wxPyPrintPreview
*)new wxPyPrintPreview(arg1
,arg2
,arg3
);
29906 wxPyEndAllowThreads(__tstate
);
29907 if (PyErr_Occurred()) SWIG_fail
;
29909 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyPrintPreview
, SWIG_POINTER_NEW
| 0 );
29916 SWIGINTERN PyObject
*_wrap_new_PyPrintPreview__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
29917 PyObject
*resultobj
= 0;
29918 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
29919 wxPyPrintout
*arg2
= (wxPyPrintout
*) 0 ;
29920 wxPrintData
*arg3
= (wxPrintData
*) 0 ;
29921 wxPyPrintPreview
*result
= 0 ;
29927 if ((nobjs
< 3) || (nobjs
> 3)) SWIG_fail
;
29928 res1
= SWIG_ConvertPtr(swig_obj
[0], SWIG_as_voidptrptr(&arg1
), SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_DISOWN
| 0 );
29929 if (!SWIG_IsOK(res1
)) {
29930 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PyPrintPreview" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
29932 res2
= SWIG_ConvertPtr(swig_obj
[1], SWIG_as_voidptrptr(&arg2
), SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_DISOWN
| 0 );
29933 if (!SWIG_IsOK(res2
)) {
29934 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_PyPrintPreview" "', expected argument " "2"" of type '" "wxPyPrintout *""'");
29936 res3
= SWIG_ConvertPtr(swig_obj
[2], &argp3
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
29937 if (!SWIG_IsOK(res3
)) {
29938 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "new_PyPrintPreview" "', expected argument " "3"" of type '" "wxPrintData *""'");
29940 arg3
= reinterpret_cast< wxPrintData
* >(argp3
);
29942 if (!wxPyCheckForApp()) SWIG_fail
;
29943 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29944 result
= (wxPyPrintPreview
*)new wxPyPrintPreview(arg1
,arg2
,arg3
);
29945 wxPyEndAllowThreads(__tstate
);
29946 if (PyErr_Occurred()) SWIG_fail
;
29948 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyPrintPreview
, SWIG_POINTER_NEW
| 0 );
29955 SWIGINTERN PyObject
*_wrap_new_PyPrintPreview(PyObject
*self
, PyObject
*args
) {
29959 if (!(argc
= SWIG_Python_UnpackTuple(args
,"new_PyPrintPreview",0,3,argv
))) SWIG_fail
;
29961 if ((argc
>= 2) && (argc
<= 3)) {
29966 int res
= SWIG_ConvertPtr(argv
[2], &vptr
, SWIGTYPE_p_wxPrintDialogData
, 0);
29967 _v
= SWIG_CheckState(res
);
29969 if (!_v
) goto check_1
;
29971 return _wrap_new_PyPrintPreview__SWIG_0(self
, argc
, argv
);
29976 return _wrap_new_PyPrintPreview__SWIG_1(self
, argc
, argv
);
29980 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'new_PyPrintPreview'");
29985 SWIGINTERN PyObject
*_wrap_PyPrintPreview__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29986 PyObject
*resultobj
= 0;
29987 wxPyPrintPreview
*arg1
= (wxPyPrintPreview
*) 0 ;
29988 PyObject
*arg2
= (PyObject
*) 0 ;
29989 PyObject
*arg3
= (PyObject
*) 0 ;
29992 PyObject
* obj0
= 0 ;
29993 PyObject
* obj1
= 0 ;
29994 PyObject
* obj2
= 0 ;
29995 char * kwnames
[] = {
29996 (char *) "self",(char *) "self",(char *) "_class", NULL
29999 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyPrintPreview__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
30000 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPrintPreview
, 0 | 0 );
30001 if (!SWIG_IsOK(res1
)) {
30002 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPrintPreview__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyPrintPreview *""'");
30004 arg1
= reinterpret_cast< wxPyPrintPreview
* >(argp1
);
30008 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30009 (arg1
)->_setCallbackInfo(arg2
,arg3
);
30010 wxPyEndAllowThreads(__tstate
);
30011 if (PyErr_Occurred()) SWIG_fail
;
30013 resultobj
= SWIG_Py_Void();
30020 SWIGINTERN PyObject
*PyPrintPreview_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30022 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
30023 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyPrintPreview
, SWIG_NewClientData(obj
));
30024 return SWIG_Py_Void();
30027 SWIGINTERN PyObject
*PyPrintPreview_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30028 return SWIG_Python_InitShadowInstance(args
);
30031 SWIGINTERN PyObject
*_wrap_new_PyPreviewFrame(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30032 PyObject
*resultobj
= 0;
30033 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
30034 wxFrame
*arg2
= (wxFrame
*) 0 ;
30035 wxString
*arg3
= 0 ;
30036 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
30037 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
30038 wxSize
const &arg5_defvalue
= wxDefaultSize
;
30039 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
30040 long arg6
= (long) wxDEFAULT_FRAME_STYLE
;
30041 wxString
const &arg7_defvalue
= wxPyFrameNameStr
;
30042 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
30043 wxPyPreviewFrame
*result
= 0 ;
30048 bool temp3
= false ;
30053 bool temp7
= false ;
30054 PyObject
* obj0
= 0 ;
30055 PyObject
* obj1
= 0 ;
30056 PyObject
* obj2
= 0 ;
30057 PyObject
* obj3
= 0 ;
30058 PyObject
* obj4
= 0 ;
30059 PyObject
* obj5
= 0 ;
30060 PyObject
* obj6
= 0 ;
30061 char * kwnames
[] = {
30062 (char *) "preview",(char *) "parent",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
30065 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:new_PyPreviewFrame",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
30066 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
30067 if (!SWIG_IsOK(res1
)) {
30068 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PyPreviewFrame" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
30070 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
30071 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxFrame
, 0 | 0 );
30072 if (!SWIG_IsOK(res2
)) {
30073 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_PyPreviewFrame" "', expected argument " "2"" of type '" "wxFrame *""'");
30075 arg2
= reinterpret_cast< wxFrame
* >(argp2
);
30077 arg3
= wxString_in_helper(obj2
);
30078 if (arg3
== NULL
) SWIG_fail
;
30084 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
30090 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
30094 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
30095 if (!SWIG_IsOK(ecode6
)) {
30096 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_PyPreviewFrame" "', expected argument " "6"" of type '" "long""'");
30098 arg6
= static_cast< long >(val6
);
30102 arg7
= wxString_in_helper(obj6
);
30103 if (arg7
== NULL
) SWIG_fail
;
30108 if (!wxPyCheckForApp()) SWIG_fail
;
30109 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30110 result
= (wxPyPreviewFrame
*)new wxPyPreviewFrame(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
30111 wxPyEndAllowThreads(__tstate
);
30112 if (PyErr_Occurred()) SWIG_fail
;
30114 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyPreviewFrame
, SWIG_POINTER_NEW
| 0 );
30137 SWIGINTERN PyObject
*_wrap_PyPreviewFrame__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30138 PyObject
*resultobj
= 0;
30139 wxPyPreviewFrame
*arg1
= (wxPyPreviewFrame
*) 0 ;
30140 PyObject
*arg2
= (PyObject
*) 0 ;
30141 PyObject
*arg3
= (PyObject
*) 0 ;
30144 PyObject
* obj0
= 0 ;
30145 PyObject
* obj1
= 0 ;
30146 PyObject
* obj2
= 0 ;
30147 char * kwnames
[] = {
30148 (char *) "self",(char *) "self",(char *) "_class", NULL
30151 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyPreviewFrame__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
30152 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPreviewFrame
, 0 | 0 );
30153 if (!SWIG_IsOK(res1
)) {
30154 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPreviewFrame__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyPreviewFrame *""'");
30156 arg1
= reinterpret_cast< wxPyPreviewFrame
* >(argp1
);
30160 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30161 (arg1
)->_setCallbackInfo(arg2
,arg3
);
30162 wxPyEndAllowThreads(__tstate
);
30163 if (PyErr_Occurred()) SWIG_fail
;
30165 resultobj
= SWIG_Py_Void();
30172 SWIGINTERN PyObject
*_wrap_PyPreviewFrame_SetPreviewCanvas(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30173 PyObject
*resultobj
= 0;
30174 wxPyPreviewFrame
*arg1
= (wxPyPreviewFrame
*) 0 ;
30175 wxPreviewCanvas
*arg2
= (wxPreviewCanvas
*) 0 ;
30180 PyObject
* obj0
= 0 ;
30181 PyObject
* obj1
= 0 ;
30182 char * kwnames
[] = {
30183 (char *) "self",(char *) "canvas", NULL
30186 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPreviewFrame_SetPreviewCanvas",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30187 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPreviewFrame
, 0 | 0 );
30188 if (!SWIG_IsOK(res1
)) {
30189 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPreviewFrame_SetPreviewCanvas" "', expected argument " "1"" of type '" "wxPyPreviewFrame *""'");
30191 arg1
= reinterpret_cast< wxPyPreviewFrame
* >(argp1
);
30192 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxPreviewCanvas
, 0 | 0 );
30193 if (!SWIG_IsOK(res2
)) {
30194 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PyPreviewFrame_SetPreviewCanvas" "', expected argument " "2"" of type '" "wxPreviewCanvas *""'");
30196 arg2
= reinterpret_cast< wxPreviewCanvas
* >(argp2
);
30198 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30199 (arg1
)->SetPreviewCanvas(arg2
);
30200 wxPyEndAllowThreads(__tstate
);
30201 if (PyErr_Occurred()) SWIG_fail
;
30203 resultobj
= SWIG_Py_Void();
30210 SWIGINTERN PyObject
*_wrap_PyPreviewFrame_SetControlBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30211 PyObject
*resultobj
= 0;
30212 wxPyPreviewFrame
*arg1
= (wxPyPreviewFrame
*) 0 ;
30213 wxPreviewControlBar
*arg2
= (wxPreviewControlBar
*) 0 ;
30218 PyObject
* obj0
= 0 ;
30219 PyObject
* obj1
= 0 ;
30220 char * kwnames
[] = {
30221 (char *) "self",(char *) "bar", NULL
30224 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPreviewFrame_SetControlBar",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30225 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPreviewFrame
, 0 | 0 );
30226 if (!SWIG_IsOK(res1
)) {
30227 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPreviewFrame_SetControlBar" "', expected argument " "1"" of type '" "wxPyPreviewFrame *""'");
30229 arg1
= reinterpret_cast< wxPyPreviewFrame
* >(argp1
);
30230 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxPreviewControlBar
, 0 | 0 );
30231 if (!SWIG_IsOK(res2
)) {
30232 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PyPreviewFrame_SetControlBar" "', expected argument " "2"" of type '" "wxPreviewControlBar *""'");
30234 arg2
= reinterpret_cast< wxPreviewControlBar
* >(argp2
);
30236 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30237 (arg1
)->SetControlBar(arg2
);
30238 wxPyEndAllowThreads(__tstate
);
30239 if (PyErr_Occurred()) SWIG_fail
;
30241 resultobj
= SWIG_Py_Void();
30248 SWIGINTERN PyObject
*_wrap_PyPreviewFrame_Initialize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30249 PyObject
*resultobj
= 0;
30250 wxPyPreviewFrame
*arg1
= (wxPyPreviewFrame
*) 0 ;
30253 PyObject
*swig_obj
[1] ;
30255 if (!args
) SWIG_fail
;
30256 swig_obj
[0] = args
;
30257 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPreviewFrame
, 0 | 0 );
30258 if (!SWIG_IsOK(res1
)) {
30259 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPreviewFrame_Initialize" "', expected argument " "1"" of type '" "wxPyPreviewFrame *""'");
30261 arg1
= reinterpret_cast< wxPyPreviewFrame
* >(argp1
);
30263 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30264 (arg1
)->Initialize();
30265 wxPyEndAllowThreads(__tstate
);
30266 if (PyErr_Occurred()) SWIG_fail
;
30268 resultobj
= SWIG_Py_Void();
30275 SWIGINTERN PyObject
*_wrap_PyPreviewFrame_CreateCanvas(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30276 PyObject
*resultobj
= 0;
30277 wxPyPreviewFrame
*arg1
= (wxPyPreviewFrame
*) 0 ;
30280 PyObject
*swig_obj
[1] ;
30282 if (!args
) SWIG_fail
;
30283 swig_obj
[0] = args
;
30284 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPreviewFrame
, 0 | 0 );
30285 if (!SWIG_IsOK(res1
)) {
30286 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPreviewFrame_CreateCanvas" "', expected argument " "1"" of type '" "wxPyPreviewFrame *""'");
30288 arg1
= reinterpret_cast< wxPyPreviewFrame
* >(argp1
);
30290 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30291 (arg1
)->CreateCanvas();
30292 wxPyEndAllowThreads(__tstate
);
30293 if (PyErr_Occurred()) SWIG_fail
;
30295 resultobj
= SWIG_Py_Void();
30302 SWIGINTERN PyObject
*_wrap_PyPreviewFrame_CreateControlBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30303 PyObject
*resultobj
= 0;
30304 wxPyPreviewFrame
*arg1
= (wxPyPreviewFrame
*) 0 ;
30307 PyObject
*swig_obj
[1] ;
30309 if (!args
) SWIG_fail
;
30310 swig_obj
[0] = args
;
30311 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPreviewFrame
, 0 | 0 );
30312 if (!SWIG_IsOK(res1
)) {
30313 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPreviewFrame_CreateControlBar" "', expected argument " "1"" of type '" "wxPyPreviewFrame *""'");
30315 arg1
= reinterpret_cast< wxPyPreviewFrame
* >(argp1
);
30317 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30318 (arg1
)->CreateControlBar();
30319 wxPyEndAllowThreads(__tstate
);
30320 if (PyErr_Occurred()) SWIG_fail
;
30322 resultobj
= SWIG_Py_Void();
30329 SWIGINTERN PyObject
*PyPreviewFrame_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30331 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
30332 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyPreviewFrame
, SWIG_NewClientData(obj
));
30333 return SWIG_Py_Void();
30336 SWIGINTERN PyObject
*PyPreviewFrame_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30337 return SWIG_Python_InitShadowInstance(args
);
30340 SWIGINTERN PyObject
*_wrap_new_PyPreviewControlBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30341 PyObject
*resultobj
= 0;
30342 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
30344 wxWindow
*arg3
= (wxWindow
*) 0 ;
30345 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
30346 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
30347 wxSize
const &arg5_defvalue
= wxDefaultSize
;
30348 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
30349 long arg6
= (long) 0 ;
30350 wxString
const &arg7_defvalue
= wxPyPanelNameStr
;
30351 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
30352 wxPyPreviewControlBar
*result
= 0 ;
30363 bool temp7
= false ;
30364 PyObject
* obj0
= 0 ;
30365 PyObject
* obj1
= 0 ;
30366 PyObject
* obj2
= 0 ;
30367 PyObject
* obj3
= 0 ;
30368 PyObject
* obj4
= 0 ;
30369 PyObject
* obj5
= 0 ;
30370 PyObject
* obj6
= 0 ;
30371 char * kwnames
[] = {
30372 (char *) "preview",(char *) "buttons",(char *) "parent",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
30375 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:new_PyPreviewControlBar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
30376 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
30377 if (!SWIG_IsOK(res1
)) {
30378 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PyPreviewControlBar" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
30380 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
30381 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
30382 if (!SWIG_IsOK(ecode2
)) {
30383 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_PyPreviewControlBar" "', expected argument " "2"" of type '" "long""'");
30385 arg2
= static_cast< long >(val2
);
30386 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxWindow
, 0 | 0 );
30387 if (!SWIG_IsOK(res3
)) {
30388 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "new_PyPreviewControlBar" "', expected argument " "3"" of type '" "wxWindow *""'");
30390 arg3
= reinterpret_cast< wxWindow
* >(argp3
);
30394 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
30400 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
30404 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
30405 if (!SWIG_IsOK(ecode6
)) {
30406 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_PyPreviewControlBar" "', expected argument " "6"" of type '" "long""'");
30408 arg6
= static_cast< long >(val6
);
30412 arg7
= wxString_in_helper(obj6
);
30413 if (arg7
== NULL
) SWIG_fail
;
30418 if (!wxPyCheckForApp()) SWIG_fail
;
30419 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30420 result
= (wxPyPreviewControlBar
*)new wxPyPreviewControlBar(arg1
,arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
30421 wxPyEndAllowThreads(__tstate
);
30422 if (PyErr_Occurred()) SWIG_fail
;
30424 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyPreviewControlBar
, SWIG_POINTER_NEW
| 0 );
30439 SWIGINTERN PyObject
*_wrap_PyPreviewControlBar__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30440 PyObject
*resultobj
= 0;
30441 wxPyPreviewControlBar
*arg1
= (wxPyPreviewControlBar
*) 0 ;
30442 PyObject
*arg2
= (PyObject
*) 0 ;
30443 PyObject
*arg3
= (PyObject
*) 0 ;
30446 PyObject
* obj0
= 0 ;
30447 PyObject
* obj1
= 0 ;
30448 PyObject
* obj2
= 0 ;
30449 char * kwnames
[] = {
30450 (char *) "self",(char *) "self",(char *) "_class", NULL
30453 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyPreviewControlBar__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
30454 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPreviewControlBar
, 0 | 0 );
30455 if (!SWIG_IsOK(res1
)) {
30456 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPreviewControlBar__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyPreviewControlBar *""'");
30458 arg1
= reinterpret_cast< wxPyPreviewControlBar
* >(argp1
);
30462 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30463 (arg1
)->_setCallbackInfo(arg2
,arg3
);
30464 wxPyEndAllowThreads(__tstate
);
30465 if (PyErr_Occurred()) SWIG_fail
;
30467 resultobj
= SWIG_Py_Void();
30474 SWIGINTERN PyObject
*_wrap_PyPreviewControlBar_SetPrintPreview(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30475 PyObject
*resultobj
= 0;
30476 wxPyPreviewControlBar
*arg1
= (wxPyPreviewControlBar
*) 0 ;
30477 wxPrintPreview
*arg2
= (wxPrintPreview
*) 0 ;
30482 PyObject
* obj0
= 0 ;
30483 PyObject
* obj1
= 0 ;
30484 char * kwnames
[] = {
30485 (char *) "self",(char *) "preview", NULL
30488 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPreviewControlBar_SetPrintPreview",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30489 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPreviewControlBar
, 0 | 0 );
30490 if (!SWIG_IsOK(res1
)) {
30491 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPreviewControlBar_SetPrintPreview" "', expected argument " "1"" of type '" "wxPyPreviewControlBar *""'");
30493 arg1
= reinterpret_cast< wxPyPreviewControlBar
* >(argp1
);
30494 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
30495 if (!SWIG_IsOK(res2
)) {
30496 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PyPreviewControlBar_SetPrintPreview" "', expected argument " "2"" of type '" "wxPrintPreview *""'");
30498 arg2
= reinterpret_cast< wxPrintPreview
* >(argp2
);
30500 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30501 (arg1
)->SetPrintPreview(arg2
);
30502 wxPyEndAllowThreads(__tstate
);
30503 if (PyErr_Occurred()) SWIG_fail
;
30505 resultobj
= SWIG_Py_Void();
30512 SWIGINTERN PyObject
*_wrap_PyPreviewControlBar_CreateButtons(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30513 PyObject
*resultobj
= 0;
30514 wxPyPreviewControlBar
*arg1
= (wxPyPreviewControlBar
*) 0 ;
30517 PyObject
*swig_obj
[1] ;
30519 if (!args
) SWIG_fail
;
30520 swig_obj
[0] = args
;
30521 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPreviewControlBar
, 0 | 0 );
30522 if (!SWIG_IsOK(res1
)) {
30523 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPreviewControlBar_CreateButtons" "', expected argument " "1"" of type '" "wxPyPreviewControlBar *""'");
30525 arg1
= reinterpret_cast< wxPyPreviewControlBar
* >(argp1
);
30527 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30528 (arg1
)->CreateButtons();
30529 wxPyEndAllowThreads(__tstate
);
30530 if (PyErr_Occurred()) SWIG_fail
;
30532 resultobj
= SWIG_Py_Void();
30539 SWIGINTERN PyObject
*_wrap_PyPreviewControlBar_SetZoomControl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30540 PyObject
*resultobj
= 0;
30541 wxPyPreviewControlBar
*arg1
= (wxPyPreviewControlBar
*) 0 ;
30547 PyObject
* obj0
= 0 ;
30548 PyObject
* obj1
= 0 ;
30549 char * kwnames
[] = {
30550 (char *) "self",(char *) "zoom", NULL
30553 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPreviewControlBar_SetZoomControl",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30554 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPreviewControlBar
, 0 | 0 );
30555 if (!SWIG_IsOK(res1
)) {
30556 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPreviewControlBar_SetZoomControl" "', expected argument " "1"" of type '" "wxPyPreviewControlBar *""'");
30558 arg1
= reinterpret_cast< wxPyPreviewControlBar
* >(argp1
);
30559 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
30560 if (!SWIG_IsOK(ecode2
)) {
30561 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PyPreviewControlBar_SetZoomControl" "', expected argument " "2"" of type '" "int""'");
30563 arg2
= static_cast< int >(val2
);
30565 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30566 (arg1
)->SetZoomControl(arg2
);
30567 wxPyEndAllowThreads(__tstate
);
30568 if (PyErr_Occurred()) SWIG_fail
;
30570 resultobj
= SWIG_Py_Void();
30577 SWIGINTERN PyObject
*PyPreviewControlBar_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30579 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
30580 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyPreviewControlBar
, SWIG_NewClientData(obj
));
30581 return SWIG_Py_Void();
30584 SWIGINTERN PyObject
*PyPreviewControlBar_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30585 return SWIG_Python_InitShadowInstance(args
);
30588 static PyMethodDef SwigMethods
[] = {
30589 { (char *)"new_Panel", (PyCFunction
) _wrap_new_Panel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30590 { (char *)"new_PrePanel", (PyCFunction
)_wrap_new_PrePanel
, METH_NOARGS
, NULL
},
30591 { (char *)"Panel_Create", (PyCFunction
) _wrap_Panel_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30592 { (char *)"Panel_SetFocusIgnoringChildren", (PyCFunction
)_wrap_Panel_SetFocusIgnoringChildren
, METH_O
, NULL
},
30593 { (char *)"Panel_GetClassDefaultAttributes", (PyCFunction
) _wrap_Panel_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30594 { (char *)"Panel_swigregister", Panel_swigregister
, METH_VARARGS
, NULL
},
30595 { (char *)"Panel_swiginit", Panel_swiginit
, METH_VARARGS
, NULL
},
30596 { (char *)"new_ScrolledWindow", (PyCFunction
) _wrap_new_ScrolledWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30597 { (char *)"new_PreScrolledWindow", (PyCFunction
)_wrap_new_PreScrolledWindow
, METH_NOARGS
, NULL
},
30598 { (char *)"ScrolledWindow_Create", (PyCFunction
) _wrap_ScrolledWindow_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30599 { (char *)"ScrolledWindow_SetScrollbars", (PyCFunction
) _wrap_ScrolledWindow_SetScrollbars
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30600 { (char *)"ScrolledWindow_Scroll", (PyCFunction
) _wrap_ScrolledWindow_Scroll
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30601 { (char *)"ScrolledWindow_GetScrollPageSize", (PyCFunction
) _wrap_ScrolledWindow_GetScrollPageSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30602 { (char *)"ScrolledWindow_SetScrollPageSize", (PyCFunction
) _wrap_ScrolledWindow_SetScrollPageSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30603 { (char *)"ScrolledWindow_SetScrollRate", (PyCFunction
) _wrap_ScrolledWindow_SetScrollRate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30604 { (char *)"ScrolledWindow_GetScrollPixelsPerUnit", (PyCFunction
)_wrap_ScrolledWindow_GetScrollPixelsPerUnit
, METH_O
, NULL
},
30605 { (char *)"ScrolledWindow_EnableScrolling", (PyCFunction
) _wrap_ScrolledWindow_EnableScrolling
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30606 { (char *)"ScrolledWindow_GetViewStart", (PyCFunction
)_wrap_ScrolledWindow_GetViewStart
, METH_O
, NULL
},
30607 { (char *)"ScrolledWindow_SetScale", (PyCFunction
) _wrap_ScrolledWindow_SetScale
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30608 { (char *)"ScrolledWindow_GetScaleX", (PyCFunction
)_wrap_ScrolledWindow_GetScaleX
, METH_O
, NULL
},
30609 { (char *)"ScrolledWindow_GetScaleY", (PyCFunction
)_wrap_ScrolledWindow_GetScaleY
, METH_O
, NULL
},
30610 { (char *)"ScrolledWindow_CalcScrolledPosition", _wrap_ScrolledWindow_CalcScrolledPosition
, METH_VARARGS
, NULL
},
30611 { (char *)"ScrolledWindow_CalcUnscrolledPosition", _wrap_ScrolledWindow_CalcUnscrolledPosition
, METH_VARARGS
, NULL
},
30612 { (char *)"ScrolledWindow_AdjustScrollbars", (PyCFunction
)_wrap_ScrolledWindow_AdjustScrollbars
, METH_O
, NULL
},
30613 { (char *)"ScrolledWindow_CalcScrollInc", (PyCFunction
) _wrap_ScrolledWindow_CalcScrollInc
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30614 { (char *)"ScrolledWindow_SetTargetWindow", (PyCFunction
) _wrap_ScrolledWindow_SetTargetWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30615 { (char *)"ScrolledWindow_GetTargetWindow", (PyCFunction
)_wrap_ScrolledWindow_GetTargetWindow
, METH_O
, NULL
},
30616 { (char *)"ScrolledWindow_SetTargetRect", (PyCFunction
) _wrap_ScrolledWindow_SetTargetRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30617 { (char *)"ScrolledWindow_GetTargetRect", (PyCFunction
)_wrap_ScrolledWindow_GetTargetRect
, METH_O
, NULL
},
30618 { (char *)"ScrolledWindow_DoPrepareDC", (PyCFunction
) _wrap_ScrolledWindow_DoPrepareDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30619 { (char *)"ScrolledWindow_GetClassDefaultAttributes", (PyCFunction
) _wrap_ScrolledWindow_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30620 { (char *)"ScrolledWindow_swigregister", ScrolledWindow_swigregister
, METH_VARARGS
, NULL
},
30621 { (char *)"ScrolledWindow_swiginit", ScrolledWindow_swiginit
, METH_VARARGS
, NULL
},
30622 { (char *)"TopLevelWindow_Maximize", (PyCFunction
) _wrap_TopLevelWindow_Maximize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30623 { (char *)"TopLevelWindow_Restore", (PyCFunction
)_wrap_TopLevelWindow_Restore
, METH_O
, NULL
},
30624 { (char *)"TopLevelWindow_Iconize", (PyCFunction
) _wrap_TopLevelWindow_Iconize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30625 { (char *)"TopLevelWindow_IsMaximized", (PyCFunction
)_wrap_TopLevelWindow_IsMaximized
, METH_O
, NULL
},
30626 { (char *)"TopLevelWindow_IsIconized", (PyCFunction
)_wrap_TopLevelWindow_IsIconized
, METH_O
, NULL
},
30627 { (char *)"TopLevelWindow_GetIcon", (PyCFunction
)_wrap_TopLevelWindow_GetIcon
, METH_O
, NULL
},
30628 { (char *)"TopLevelWindow_SetIcon", (PyCFunction
) _wrap_TopLevelWindow_SetIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30629 { (char *)"TopLevelWindow_SetIcons", (PyCFunction
) _wrap_TopLevelWindow_SetIcons
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30630 { (char *)"TopLevelWindow_ShowFullScreen", (PyCFunction
) _wrap_TopLevelWindow_ShowFullScreen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30631 { (char *)"TopLevelWindow_IsFullScreen", (PyCFunction
)_wrap_TopLevelWindow_IsFullScreen
, METH_O
, NULL
},
30632 { (char *)"TopLevelWindow_SetTitle", (PyCFunction
) _wrap_TopLevelWindow_SetTitle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30633 { (char *)"TopLevelWindow_GetTitle", (PyCFunction
)_wrap_TopLevelWindow_GetTitle
, METH_O
, NULL
},
30634 { (char *)"TopLevelWindow_SetShape", (PyCFunction
) _wrap_TopLevelWindow_SetShape
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30635 { (char *)"TopLevelWindow_RequestUserAttention", (PyCFunction
) _wrap_TopLevelWindow_RequestUserAttention
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30636 { (char *)"TopLevelWindow_IsActive", (PyCFunction
)_wrap_TopLevelWindow_IsActive
, METH_O
, NULL
},
30637 { (char *)"TopLevelWindow_MacSetMetalAppearance", (PyCFunction
) _wrap_TopLevelWindow_MacSetMetalAppearance
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30638 { (char *)"TopLevelWindow_MacGetMetalAppearance", (PyCFunction
)_wrap_TopLevelWindow_MacGetMetalAppearance
, METH_O
, NULL
},
30639 { (char *)"TopLevelWindow_CenterOnScreen", (PyCFunction
) _wrap_TopLevelWindow_CenterOnScreen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30640 { (char *)"TopLevelWindow_swigregister", TopLevelWindow_swigregister
, METH_VARARGS
, NULL
},
30641 { (char *)"new_Frame", (PyCFunction
) _wrap_new_Frame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30642 { (char *)"new_PreFrame", (PyCFunction
)_wrap_new_PreFrame
, METH_NOARGS
, NULL
},
30643 { (char *)"Frame_Create", (PyCFunction
) _wrap_Frame_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30644 { (char *)"Frame_SendSizeEvent", (PyCFunction
)_wrap_Frame_SendSizeEvent
, METH_O
, NULL
},
30645 { (char *)"Frame_SetMenuBar", (PyCFunction
) _wrap_Frame_SetMenuBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30646 { (char *)"Frame_GetMenuBar", (PyCFunction
)_wrap_Frame_GetMenuBar
, METH_O
, NULL
},
30647 { (char *)"Frame_ProcessCommand", (PyCFunction
) _wrap_Frame_ProcessCommand
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30648 { (char *)"Frame_CreateStatusBar", (PyCFunction
) _wrap_Frame_CreateStatusBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30649 { (char *)"Frame_GetStatusBar", (PyCFunction
)_wrap_Frame_GetStatusBar
, METH_O
, NULL
},
30650 { (char *)"Frame_SetStatusBar", (PyCFunction
) _wrap_Frame_SetStatusBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30651 { (char *)"Frame_SetStatusText", (PyCFunction
) _wrap_Frame_SetStatusText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30652 { (char *)"Frame_SetStatusWidths", (PyCFunction
) _wrap_Frame_SetStatusWidths
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30653 { (char *)"Frame_PushStatusText", (PyCFunction
) _wrap_Frame_PushStatusText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30654 { (char *)"Frame_PopStatusText", (PyCFunction
) _wrap_Frame_PopStatusText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30655 { (char *)"Frame_SetStatusBarPane", (PyCFunction
) _wrap_Frame_SetStatusBarPane
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30656 { (char *)"Frame_GetStatusBarPane", (PyCFunction
)_wrap_Frame_GetStatusBarPane
, METH_O
, NULL
},
30657 { (char *)"Frame_CreateToolBar", (PyCFunction
) _wrap_Frame_CreateToolBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30658 { (char *)"Frame_GetToolBar", (PyCFunction
)_wrap_Frame_GetToolBar
, METH_O
, NULL
},
30659 { (char *)"Frame_SetToolBar", (PyCFunction
) _wrap_Frame_SetToolBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30660 { (char *)"Frame_DoGiveHelp", (PyCFunction
) _wrap_Frame_DoGiveHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30661 { (char *)"Frame_DoMenuUpdates", (PyCFunction
) _wrap_Frame_DoMenuUpdates
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30662 { (char *)"Frame_GetClassDefaultAttributes", (PyCFunction
) _wrap_Frame_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30663 { (char *)"Frame_swigregister", Frame_swigregister
, METH_VARARGS
, NULL
},
30664 { (char *)"Frame_swiginit", Frame_swiginit
, METH_VARARGS
, NULL
},
30665 { (char *)"new_Dialog", (PyCFunction
) _wrap_new_Dialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30666 { (char *)"new_PreDialog", (PyCFunction
)_wrap_new_PreDialog
, METH_NOARGS
, NULL
},
30667 { (char *)"Dialog_Create", (PyCFunction
) _wrap_Dialog_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30668 { (char *)"Dialog_SetReturnCode", (PyCFunction
) _wrap_Dialog_SetReturnCode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30669 { (char *)"Dialog_GetReturnCode", (PyCFunction
)_wrap_Dialog_GetReturnCode
, METH_O
, NULL
},
30670 { (char *)"Dialog_SetAffirmativeId", (PyCFunction
) _wrap_Dialog_SetAffirmativeId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30671 { (char *)"Dialog_GetAffirmativeId", (PyCFunction
)_wrap_Dialog_GetAffirmativeId
, METH_O
, NULL
},
30672 { (char *)"Dialog_SetEscapeId", (PyCFunction
) _wrap_Dialog_SetEscapeId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30673 { (char *)"Dialog_GetEscapeId", (PyCFunction
)_wrap_Dialog_GetEscapeId
, METH_O
, NULL
},
30674 { (char *)"Dialog_CreateTextSizer", (PyCFunction
) _wrap_Dialog_CreateTextSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30675 { (char *)"Dialog_CreateButtonSizer", (PyCFunction
) _wrap_Dialog_CreateButtonSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30676 { (char *)"Dialog_CreateStdDialogButtonSizer", (PyCFunction
) _wrap_Dialog_CreateStdDialogButtonSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30677 { (char *)"Dialog_IsModal", (PyCFunction
)_wrap_Dialog_IsModal
, METH_O
, NULL
},
30678 { (char *)"Dialog_ShowModal", (PyCFunction
)_wrap_Dialog_ShowModal
, METH_O
, NULL
},
30679 { (char *)"Dialog_EndModal", (PyCFunction
) _wrap_Dialog_EndModal
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30680 { (char *)"Dialog_GetClassDefaultAttributes", (PyCFunction
) _wrap_Dialog_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30681 { (char *)"Dialog_swigregister", Dialog_swigregister
, METH_VARARGS
, NULL
},
30682 { (char *)"Dialog_swiginit", Dialog_swiginit
, METH_VARARGS
, NULL
},
30683 { (char *)"new_MiniFrame", (PyCFunction
) _wrap_new_MiniFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30684 { (char *)"new_PreMiniFrame", (PyCFunction
)_wrap_new_PreMiniFrame
, METH_NOARGS
, NULL
},
30685 { (char *)"MiniFrame_Create", (PyCFunction
) _wrap_MiniFrame_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30686 { (char *)"MiniFrame_swigregister", MiniFrame_swigregister
, METH_VARARGS
, NULL
},
30687 { (char *)"MiniFrame_swiginit", MiniFrame_swiginit
, METH_VARARGS
, NULL
},
30688 { (char *)"new_SplashScreenWindow", (PyCFunction
) _wrap_new_SplashScreenWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30689 { (char *)"SplashScreenWindow_SetBitmap", (PyCFunction
) _wrap_SplashScreenWindow_SetBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30690 { (char *)"SplashScreenWindow_GetBitmap", (PyCFunction
)_wrap_SplashScreenWindow_GetBitmap
, METH_O
, NULL
},
30691 { (char *)"SplashScreenWindow_swigregister", SplashScreenWindow_swigregister
, METH_VARARGS
, NULL
},
30692 { (char *)"SplashScreenWindow_swiginit", SplashScreenWindow_swiginit
, METH_VARARGS
, NULL
},
30693 { (char *)"new_SplashScreen", (PyCFunction
) _wrap_new_SplashScreen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30694 { (char *)"SplashScreen_GetSplashStyle", (PyCFunction
)_wrap_SplashScreen_GetSplashStyle
, METH_O
, NULL
},
30695 { (char *)"SplashScreen_GetSplashWindow", (PyCFunction
)_wrap_SplashScreen_GetSplashWindow
, METH_O
, NULL
},
30696 { (char *)"SplashScreen_GetTimeout", (PyCFunction
)_wrap_SplashScreen_GetTimeout
, METH_O
, NULL
},
30697 { (char *)"SplashScreen_swigregister", SplashScreen_swigregister
, METH_VARARGS
, NULL
},
30698 { (char *)"SplashScreen_swiginit", SplashScreen_swiginit
, METH_VARARGS
, NULL
},
30699 { (char *)"new_StatusBar", (PyCFunction
) _wrap_new_StatusBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30700 { (char *)"new_PreStatusBar", (PyCFunction
)_wrap_new_PreStatusBar
, METH_NOARGS
, NULL
},
30701 { (char *)"StatusBar_Create", (PyCFunction
) _wrap_StatusBar_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30702 { (char *)"StatusBar_SetFieldsCount", (PyCFunction
) _wrap_StatusBar_SetFieldsCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30703 { (char *)"StatusBar_GetFieldsCount", (PyCFunction
)_wrap_StatusBar_GetFieldsCount
, METH_O
, NULL
},
30704 { (char *)"StatusBar_SetStatusText", (PyCFunction
) _wrap_StatusBar_SetStatusText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30705 { (char *)"StatusBar_GetStatusText", (PyCFunction
) _wrap_StatusBar_GetStatusText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30706 { (char *)"StatusBar_PushStatusText", (PyCFunction
) _wrap_StatusBar_PushStatusText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30707 { (char *)"StatusBar_PopStatusText", (PyCFunction
) _wrap_StatusBar_PopStatusText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30708 { (char *)"StatusBar_SetStatusWidths", (PyCFunction
) _wrap_StatusBar_SetStatusWidths
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30709 { (char *)"StatusBar_SetStatusStyles", (PyCFunction
) _wrap_StatusBar_SetStatusStyles
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30710 { (char *)"StatusBar_GetFieldRect", (PyCFunction
) _wrap_StatusBar_GetFieldRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30711 { (char *)"StatusBar_SetMinHeight", (PyCFunction
) _wrap_StatusBar_SetMinHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30712 { (char *)"StatusBar_GetBorderX", (PyCFunction
)_wrap_StatusBar_GetBorderX
, METH_O
, NULL
},
30713 { (char *)"StatusBar_GetBorderY", (PyCFunction
)_wrap_StatusBar_GetBorderY
, METH_O
, NULL
},
30714 { (char *)"StatusBar_GetClassDefaultAttributes", (PyCFunction
) _wrap_StatusBar_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30715 { (char *)"StatusBar_swigregister", StatusBar_swigregister
, METH_VARARGS
, NULL
},
30716 { (char *)"StatusBar_swiginit", StatusBar_swiginit
, METH_VARARGS
, NULL
},
30717 { (char *)"new_SplitterWindow", (PyCFunction
) _wrap_new_SplitterWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30718 { (char *)"new_PreSplitterWindow", (PyCFunction
)_wrap_new_PreSplitterWindow
, METH_NOARGS
, NULL
},
30719 { (char *)"SplitterWindow_Create", (PyCFunction
) _wrap_SplitterWindow_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30720 { (char *)"SplitterWindow_GetWindow1", (PyCFunction
)_wrap_SplitterWindow_GetWindow1
, METH_O
, NULL
},
30721 { (char *)"SplitterWindow_GetWindow2", (PyCFunction
)_wrap_SplitterWindow_GetWindow2
, METH_O
, NULL
},
30722 { (char *)"SplitterWindow_SetSplitMode", (PyCFunction
) _wrap_SplitterWindow_SetSplitMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30723 { (char *)"SplitterWindow_GetSplitMode", (PyCFunction
)_wrap_SplitterWindow_GetSplitMode
, METH_O
, NULL
},
30724 { (char *)"SplitterWindow_Initialize", (PyCFunction
) _wrap_SplitterWindow_Initialize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30725 { (char *)"SplitterWindow_SplitVertically", (PyCFunction
) _wrap_SplitterWindow_SplitVertically
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30726 { (char *)"SplitterWindow_SplitHorizontally", (PyCFunction
) _wrap_SplitterWindow_SplitHorizontally
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30727 { (char *)"SplitterWindow_Unsplit", (PyCFunction
) _wrap_SplitterWindow_Unsplit
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30728 { (char *)"SplitterWindow_ReplaceWindow", (PyCFunction
) _wrap_SplitterWindow_ReplaceWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30729 { (char *)"SplitterWindow_UpdateSize", (PyCFunction
)_wrap_SplitterWindow_UpdateSize
, METH_O
, NULL
},
30730 { (char *)"SplitterWindow_IsSplit", (PyCFunction
)_wrap_SplitterWindow_IsSplit
, METH_O
, NULL
},
30731 { (char *)"SplitterWindow_SetSashSize", (PyCFunction
) _wrap_SplitterWindow_SetSashSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30732 { (char *)"SplitterWindow_SetBorderSize", (PyCFunction
) _wrap_SplitterWindow_SetBorderSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30733 { (char *)"SplitterWindow_GetSashSize", (PyCFunction
)_wrap_SplitterWindow_GetSashSize
, METH_O
, NULL
},
30734 { (char *)"SplitterWindow_GetBorderSize", (PyCFunction
)_wrap_SplitterWindow_GetBorderSize
, METH_O
, NULL
},
30735 { (char *)"SplitterWindow_SetSashPosition", (PyCFunction
) _wrap_SplitterWindow_SetSashPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30736 { (char *)"SplitterWindow_GetSashPosition", (PyCFunction
)_wrap_SplitterWindow_GetSashPosition
, METH_O
, NULL
},
30737 { (char *)"SplitterWindow_SetSashGravity", (PyCFunction
) _wrap_SplitterWindow_SetSashGravity
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30738 { (char *)"SplitterWindow_GetSashGravity", (PyCFunction
)_wrap_SplitterWindow_GetSashGravity
, METH_O
, NULL
},
30739 { (char *)"SplitterWindow_SetMinimumPaneSize", (PyCFunction
) _wrap_SplitterWindow_SetMinimumPaneSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30740 { (char *)"SplitterWindow_GetMinimumPaneSize", (PyCFunction
)_wrap_SplitterWindow_GetMinimumPaneSize
, METH_O
, NULL
},
30741 { (char *)"SplitterWindow_SashHitTest", (PyCFunction
) _wrap_SplitterWindow_SashHitTest
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30742 { (char *)"SplitterWindow_SizeWindows", (PyCFunction
)_wrap_SplitterWindow_SizeWindows
, METH_O
, NULL
},
30743 { (char *)"SplitterWindow_SetNeedUpdating", (PyCFunction
) _wrap_SplitterWindow_SetNeedUpdating
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30744 { (char *)"SplitterWindow_GetNeedUpdating", (PyCFunction
)_wrap_SplitterWindow_GetNeedUpdating
, METH_O
, NULL
},
30745 { (char *)"SplitterWindow_GetClassDefaultAttributes", (PyCFunction
) _wrap_SplitterWindow_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30746 { (char *)"SplitterWindow_swigregister", SplitterWindow_swigregister
, METH_VARARGS
, NULL
},
30747 { (char *)"SplitterWindow_swiginit", SplitterWindow_swiginit
, METH_VARARGS
, NULL
},
30748 { (char *)"new_SplitterEvent", (PyCFunction
) _wrap_new_SplitterEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30749 { (char *)"SplitterEvent_SetSashPosition", (PyCFunction
) _wrap_SplitterEvent_SetSashPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30750 { (char *)"SplitterEvent_GetSashPosition", (PyCFunction
)_wrap_SplitterEvent_GetSashPosition
, METH_O
, NULL
},
30751 { (char *)"SplitterEvent_GetWindowBeingRemoved", (PyCFunction
)_wrap_SplitterEvent_GetWindowBeingRemoved
, METH_O
, NULL
},
30752 { (char *)"SplitterEvent_GetX", (PyCFunction
)_wrap_SplitterEvent_GetX
, METH_O
, NULL
},
30753 { (char *)"SplitterEvent_GetY", (PyCFunction
)_wrap_SplitterEvent_GetY
, METH_O
, NULL
},
30754 { (char *)"SplitterEvent_swigregister", SplitterEvent_swigregister
, METH_VARARGS
, NULL
},
30755 { (char *)"SplitterEvent_swiginit", SplitterEvent_swiginit
, METH_VARARGS
, NULL
},
30756 { (char *)"new_SashWindow", (PyCFunction
) _wrap_new_SashWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30757 { (char *)"new_PreSashWindow", (PyCFunction
)_wrap_new_PreSashWindow
, METH_NOARGS
, NULL
},
30758 { (char *)"SashWindow_Create", (PyCFunction
) _wrap_SashWindow_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30759 { (char *)"SashWindow_SetSashVisible", (PyCFunction
) _wrap_SashWindow_SetSashVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30760 { (char *)"SashWindow_GetSashVisible", (PyCFunction
) _wrap_SashWindow_GetSashVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30761 { (char *)"SashWindow_SetSashBorder", (PyCFunction
) _wrap_SashWindow_SetSashBorder
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30762 { (char *)"SashWindow_HasBorder", (PyCFunction
) _wrap_SashWindow_HasBorder
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30763 { (char *)"SashWindow_GetEdgeMargin", (PyCFunction
) _wrap_SashWindow_GetEdgeMargin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30764 { (char *)"SashWindow_SetDefaultBorderSize", (PyCFunction
) _wrap_SashWindow_SetDefaultBorderSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30765 { (char *)"SashWindow_GetDefaultBorderSize", (PyCFunction
)_wrap_SashWindow_GetDefaultBorderSize
, METH_O
, NULL
},
30766 { (char *)"SashWindow_SetExtraBorderSize", (PyCFunction
) _wrap_SashWindow_SetExtraBorderSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30767 { (char *)"SashWindow_GetExtraBorderSize", (PyCFunction
)_wrap_SashWindow_GetExtraBorderSize
, METH_O
, NULL
},
30768 { (char *)"SashWindow_SetMinimumSizeX", (PyCFunction
) _wrap_SashWindow_SetMinimumSizeX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30769 { (char *)"SashWindow_SetMinimumSizeY", (PyCFunction
) _wrap_SashWindow_SetMinimumSizeY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30770 { (char *)"SashWindow_GetMinimumSizeX", (PyCFunction
)_wrap_SashWindow_GetMinimumSizeX
, METH_O
, NULL
},
30771 { (char *)"SashWindow_GetMinimumSizeY", (PyCFunction
)_wrap_SashWindow_GetMinimumSizeY
, METH_O
, NULL
},
30772 { (char *)"SashWindow_SetMaximumSizeX", (PyCFunction
) _wrap_SashWindow_SetMaximumSizeX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30773 { (char *)"SashWindow_SetMaximumSizeY", (PyCFunction
) _wrap_SashWindow_SetMaximumSizeY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30774 { (char *)"SashWindow_GetMaximumSizeX", (PyCFunction
)_wrap_SashWindow_GetMaximumSizeX
, METH_O
, NULL
},
30775 { (char *)"SashWindow_GetMaximumSizeY", (PyCFunction
)_wrap_SashWindow_GetMaximumSizeY
, METH_O
, NULL
},
30776 { (char *)"SashWindow_SashHitTest", (PyCFunction
) _wrap_SashWindow_SashHitTest
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30777 { (char *)"SashWindow_SizeWindows", (PyCFunction
)_wrap_SashWindow_SizeWindows
, METH_O
, NULL
},
30778 { (char *)"SashWindow_swigregister", SashWindow_swigregister
, METH_VARARGS
, NULL
},
30779 { (char *)"SashWindow_swiginit", SashWindow_swiginit
, METH_VARARGS
, NULL
},
30780 { (char *)"new_SashEvent", (PyCFunction
) _wrap_new_SashEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30781 { (char *)"SashEvent_SetEdge", (PyCFunction
) _wrap_SashEvent_SetEdge
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30782 { (char *)"SashEvent_GetEdge", (PyCFunction
)_wrap_SashEvent_GetEdge
, METH_O
, NULL
},
30783 { (char *)"SashEvent_SetDragRect", (PyCFunction
) _wrap_SashEvent_SetDragRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30784 { (char *)"SashEvent_GetDragRect", (PyCFunction
)_wrap_SashEvent_GetDragRect
, METH_O
, NULL
},
30785 { (char *)"SashEvent_SetDragStatus", (PyCFunction
) _wrap_SashEvent_SetDragStatus
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30786 { (char *)"SashEvent_GetDragStatus", (PyCFunction
)_wrap_SashEvent_GetDragStatus
, METH_O
, NULL
},
30787 { (char *)"SashEvent_swigregister", SashEvent_swigregister
, METH_VARARGS
, NULL
},
30788 { (char *)"SashEvent_swiginit", SashEvent_swiginit
, METH_VARARGS
, NULL
},
30789 { (char *)"new_QueryLayoutInfoEvent", (PyCFunction
) _wrap_new_QueryLayoutInfoEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30790 { (char *)"QueryLayoutInfoEvent_SetRequestedLength", (PyCFunction
) _wrap_QueryLayoutInfoEvent_SetRequestedLength
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30791 { (char *)"QueryLayoutInfoEvent_GetRequestedLength", (PyCFunction
)_wrap_QueryLayoutInfoEvent_GetRequestedLength
, METH_O
, NULL
},
30792 { (char *)"QueryLayoutInfoEvent_SetFlags", (PyCFunction
) _wrap_QueryLayoutInfoEvent_SetFlags
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30793 { (char *)"QueryLayoutInfoEvent_GetFlags", (PyCFunction
)_wrap_QueryLayoutInfoEvent_GetFlags
, METH_O
, NULL
},
30794 { (char *)"QueryLayoutInfoEvent_SetSize", (PyCFunction
) _wrap_QueryLayoutInfoEvent_SetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30795 { (char *)"QueryLayoutInfoEvent_GetSize", (PyCFunction
)_wrap_QueryLayoutInfoEvent_GetSize
, METH_O
, NULL
},
30796 { (char *)"QueryLayoutInfoEvent_SetOrientation", (PyCFunction
) _wrap_QueryLayoutInfoEvent_SetOrientation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30797 { (char *)"QueryLayoutInfoEvent_GetOrientation", (PyCFunction
)_wrap_QueryLayoutInfoEvent_GetOrientation
, METH_O
, NULL
},
30798 { (char *)"QueryLayoutInfoEvent_SetAlignment", (PyCFunction
) _wrap_QueryLayoutInfoEvent_SetAlignment
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30799 { (char *)"QueryLayoutInfoEvent_GetAlignment", (PyCFunction
)_wrap_QueryLayoutInfoEvent_GetAlignment
, METH_O
, NULL
},
30800 { (char *)"QueryLayoutInfoEvent_swigregister", QueryLayoutInfoEvent_swigregister
, METH_VARARGS
, NULL
},
30801 { (char *)"QueryLayoutInfoEvent_swiginit", QueryLayoutInfoEvent_swiginit
, METH_VARARGS
, NULL
},
30802 { (char *)"new_CalculateLayoutEvent", (PyCFunction
) _wrap_new_CalculateLayoutEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30803 { (char *)"CalculateLayoutEvent_SetFlags", (PyCFunction
) _wrap_CalculateLayoutEvent_SetFlags
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30804 { (char *)"CalculateLayoutEvent_GetFlags", (PyCFunction
)_wrap_CalculateLayoutEvent_GetFlags
, METH_O
, NULL
},
30805 { (char *)"CalculateLayoutEvent_SetRect", (PyCFunction
) _wrap_CalculateLayoutEvent_SetRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30806 { (char *)"CalculateLayoutEvent_GetRect", (PyCFunction
)_wrap_CalculateLayoutEvent_GetRect
, METH_O
, NULL
},
30807 { (char *)"CalculateLayoutEvent_swigregister", CalculateLayoutEvent_swigregister
, METH_VARARGS
, NULL
},
30808 { (char *)"CalculateLayoutEvent_swiginit", CalculateLayoutEvent_swiginit
, METH_VARARGS
, NULL
},
30809 { (char *)"new_SashLayoutWindow", (PyCFunction
) _wrap_new_SashLayoutWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30810 { (char *)"new_PreSashLayoutWindow", (PyCFunction
)_wrap_new_PreSashLayoutWindow
, METH_NOARGS
, NULL
},
30811 { (char *)"SashLayoutWindow_Create", (PyCFunction
) _wrap_SashLayoutWindow_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30812 { (char *)"SashLayoutWindow_GetAlignment", (PyCFunction
)_wrap_SashLayoutWindow_GetAlignment
, METH_O
, NULL
},
30813 { (char *)"SashLayoutWindow_GetOrientation", (PyCFunction
)_wrap_SashLayoutWindow_GetOrientation
, METH_O
, NULL
},
30814 { (char *)"SashLayoutWindow_SetAlignment", (PyCFunction
) _wrap_SashLayoutWindow_SetAlignment
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30815 { (char *)"SashLayoutWindow_SetDefaultSize", (PyCFunction
) _wrap_SashLayoutWindow_SetDefaultSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30816 { (char *)"SashLayoutWindow_SetOrientation", (PyCFunction
) _wrap_SashLayoutWindow_SetOrientation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30817 { (char *)"SashLayoutWindow_swigregister", SashLayoutWindow_swigregister
, METH_VARARGS
, NULL
},
30818 { (char *)"SashLayoutWindow_swiginit", SashLayoutWindow_swiginit
, METH_VARARGS
, NULL
},
30819 { (char *)"new_LayoutAlgorithm", (PyCFunction
)_wrap_new_LayoutAlgorithm
, METH_NOARGS
, NULL
},
30820 { (char *)"delete_LayoutAlgorithm", (PyCFunction
)_wrap_delete_LayoutAlgorithm
, METH_O
, NULL
},
30821 { (char *)"LayoutAlgorithm_LayoutMDIFrame", (PyCFunction
) _wrap_LayoutAlgorithm_LayoutMDIFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30822 { (char *)"LayoutAlgorithm_LayoutFrame", (PyCFunction
) _wrap_LayoutAlgorithm_LayoutFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30823 { (char *)"LayoutAlgorithm_LayoutWindow", (PyCFunction
) _wrap_LayoutAlgorithm_LayoutWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30824 { (char *)"LayoutAlgorithm_swigregister", LayoutAlgorithm_swigregister
, METH_VARARGS
, NULL
},
30825 { (char *)"LayoutAlgorithm_swiginit", LayoutAlgorithm_swiginit
, METH_VARARGS
, NULL
},
30826 { (char *)"new_PopupWindow", (PyCFunction
) _wrap_new_PopupWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30827 { (char *)"new_PrePopupWindow", (PyCFunction
)_wrap_new_PrePopupWindow
, METH_NOARGS
, NULL
},
30828 { (char *)"PopupWindow_Create", (PyCFunction
) _wrap_PopupWindow_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30829 { (char *)"PopupWindow_Position", (PyCFunction
) _wrap_PopupWindow_Position
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30830 { (char *)"PopupWindow_swigregister", PopupWindow_swigregister
, METH_VARARGS
, NULL
},
30831 { (char *)"PopupWindow_swiginit", PopupWindow_swiginit
, METH_VARARGS
, NULL
},
30832 { (char *)"new_PopupTransientWindow", (PyCFunction
) _wrap_new_PopupTransientWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30833 { (char *)"new_PrePopupTransientWindow", (PyCFunction
)_wrap_new_PrePopupTransientWindow
, METH_NOARGS
, NULL
},
30834 { (char *)"PopupTransientWindow__setCallbackInfo", (PyCFunction
) _wrap_PopupTransientWindow__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30835 { (char *)"PopupTransientWindow_Popup", (PyCFunction
) _wrap_PopupTransientWindow_Popup
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30836 { (char *)"PopupTransientWindow_Dismiss", (PyCFunction
)_wrap_PopupTransientWindow_Dismiss
, METH_O
, NULL
},
30837 { (char *)"PopupTransientWindow_swigregister", PopupTransientWindow_swigregister
, METH_VARARGS
, NULL
},
30838 { (char *)"PopupTransientWindow_swiginit", PopupTransientWindow_swiginit
, METH_VARARGS
, NULL
},
30839 { (char *)"new_TipWindow", (PyCFunction
) _wrap_new_TipWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30840 { (char *)"TipWindow_SetBoundingRect", (PyCFunction
) _wrap_TipWindow_SetBoundingRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30841 { (char *)"TipWindow_Close", (PyCFunction
)_wrap_TipWindow_Close
, METH_O
, NULL
},
30842 { (char *)"TipWindow_swigregister", TipWindow_swigregister
, METH_VARARGS
, NULL
},
30843 { (char *)"TipWindow_swiginit", TipWindow_swiginit
, METH_VARARGS
, NULL
},
30844 { (char *)"new_VScrolledWindow", (PyCFunction
) _wrap_new_VScrolledWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30845 { (char *)"new_PreVScrolledWindow", (PyCFunction
)_wrap_new_PreVScrolledWindow
, METH_NOARGS
, NULL
},
30846 { (char *)"VScrolledWindow__setCallbackInfo", (PyCFunction
) _wrap_VScrolledWindow__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30847 { (char *)"VScrolledWindow_Create", (PyCFunction
) _wrap_VScrolledWindow_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30848 { (char *)"VScrolledWindow_SetLineCount", (PyCFunction
) _wrap_VScrolledWindow_SetLineCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30849 { (char *)"VScrolledWindow_ScrollToLine", (PyCFunction
) _wrap_VScrolledWindow_ScrollToLine
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30850 { (char *)"VScrolledWindow_RefreshLine", (PyCFunction
) _wrap_VScrolledWindow_RefreshLine
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30851 { (char *)"VScrolledWindow_RefreshLines", (PyCFunction
) _wrap_VScrolledWindow_RefreshLines
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30852 { (char *)"VScrolledWindow_HitTestXY", (PyCFunction
) _wrap_VScrolledWindow_HitTestXY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30853 { (char *)"VScrolledWindow_HitTest", (PyCFunction
) _wrap_VScrolledWindow_HitTest
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30854 { (char *)"VScrolledWindow_RefreshAll", (PyCFunction
)_wrap_VScrolledWindow_RefreshAll
, METH_O
, NULL
},
30855 { (char *)"VScrolledWindow_GetLineCount", (PyCFunction
)_wrap_VScrolledWindow_GetLineCount
, METH_O
, NULL
},
30856 { (char *)"VScrolledWindow_GetVisibleBegin", (PyCFunction
)_wrap_VScrolledWindow_GetVisibleBegin
, METH_O
, NULL
},
30857 { (char *)"VScrolledWindow_GetVisibleEnd", (PyCFunction
)_wrap_VScrolledWindow_GetVisibleEnd
, METH_O
, NULL
},
30858 { (char *)"VScrolledWindow_IsVisible", (PyCFunction
) _wrap_VScrolledWindow_IsVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30859 { (char *)"VScrolledWindow_GetFirstVisibleLine", (PyCFunction
)_wrap_VScrolledWindow_GetFirstVisibleLine
, METH_O
, NULL
},
30860 { (char *)"VScrolledWindow_GetLastVisibleLine", (PyCFunction
)_wrap_VScrolledWindow_GetLastVisibleLine
, METH_O
, NULL
},
30861 { (char *)"VScrolledWindow_FindFirstFromBottom", (PyCFunction
) _wrap_VScrolledWindow_FindFirstFromBottom
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30862 { (char *)"VScrolledWindow_GetLinesHeight", (PyCFunction
) _wrap_VScrolledWindow_GetLinesHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30863 { (char *)"VScrolledWindow_swigregister", VScrolledWindow_swigregister
, METH_VARARGS
, NULL
},
30864 { (char *)"VScrolledWindow_swiginit", VScrolledWindow_swiginit
, METH_VARARGS
, NULL
},
30865 { (char *)"new_VListBox", (PyCFunction
) _wrap_new_VListBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30866 { (char *)"new_PreVListBox", (PyCFunction
)_wrap_new_PreVListBox
, METH_NOARGS
, NULL
},
30867 { (char *)"VListBox__setCallbackInfo", (PyCFunction
) _wrap_VListBox__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30868 { (char *)"VListBox_Create", (PyCFunction
) _wrap_VListBox_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30869 { (char *)"VListBox_GetItemCount", (PyCFunction
)_wrap_VListBox_GetItemCount
, METH_O
, NULL
},
30870 { (char *)"VListBox_HasMultipleSelection", (PyCFunction
)_wrap_VListBox_HasMultipleSelection
, METH_O
, NULL
},
30871 { (char *)"VListBox_GetSelection", (PyCFunction
)_wrap_VListBox_GetSelection
, METH_O
, NULL
},
30872 { (char *)"VListBox_IsCurrent", (PyCFunction
) _wrap_VListBox_IsCurrent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30873 { (char *)"VListBox_IsSelected", (PyCFunction
) _wrap_VListBox_IsSelected
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30874 { (char *)"VListBox_GetSelectedCount", (PyCFunction
)_wrap_VListBox_GetSelectedCount
, METH_O
, NULL
},
30875 { (char *)"VListBox_GetFirstSelected", (PyCFunction
)_wrap_VListBox_GetFirstSelected
, METH_O
, NULL
},
30876 { (char *)"VListBox_GetNextSelected", (PyCFunction
) _wrap_VListBox_GetNextSelected
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30877 { (char *)"VListBox_GetMargins", (PyCFunction
)_wrap_VListBox_GetMargins
, METH_O
, NULL
},
30878 { (char *)"VListBox_GetSelectionBackground", (PyCFunction
)_wrap_VListBox_GetSelectionBackground
, METH_O
, NULL
},
30879 { (char *)"VListBox_SetItemCount", (PyCFunction
) _wrap_VListBox_SetItemCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30880 { (char *)"VListBox_Clear", (PyCFunction
)_wrap_VListBox_Clear
, METH_O
, NULL
},
30881 { (char *)"VListBox_SetSelection", (PyCFunction
) _wrap_VListBox_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30882 { (char *)"VListBox_Select", (PyCFunction
) _wrap_VListBox_Select
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30883 { (char *)"VListBox_SelectRange", (PyCFunction
) _wrap_VListBox_SelectRange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30884 { (char *)"VListBox_Toggle", (PyCFunction
) _wrap_VListBox_Toggle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30885 { (char *)"VListBox_SelectAll", (PyCFunction
)_wrap_VListBox_SelectAll
, METH_O
, NULL
},
30886 { (char *)"VListBox_DeselectAll", (PyCFunction
)_wrap_VListBox_DeselectAll
, METH_O
, NULL
},
30887 { (char *)"VListBox_SetMargins", (PyCFunction
) _wrap_VListBox_SetMargins
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30888 { (char *)"VListBox_SetMarginsXY", (PyCFunction
) _wrap_VListBox_SetMarginsXY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30889 { (char *)"VListBox_SetSelectionBackground", (PyCFunction
) _wrap_VListBox_SetSelectionBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30890 { (char *)"VListBox_OnDrawSeparator", (PyCFunction
) _wrap_VListBox_OnDrawSeparator
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30891 { (char *)"VListBox_OnDrawBackground", (PyCFunction
) _wrap_VListBox_OnDrawBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30892 { (char *)"VListBox_swigregister", VListBox_swigregister
, METH_VARARGS
, NULL
},
30893 { (char *)"VListBox_swiginit", VListBox_swiginit
, METH_VARARGS
, NULL
},
30894 { (char *)"new_HtmlListBox", (PyCFunction
) _wrap_new_HtmlListBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30895 { (char *)"new_PreHtmlListBox", (PyCFunction
)_wrap_new_PreHtmlListBox
, METH_NOARGS
, NULL
},
30896 { (char *)"HtmlListBox__setCallbackInfo", (PyCFunction
) _wrap_HtmlListBox__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30897 { (char *)"HtmlListBox_Create", (PyCFunction
) _wrap_HtmlListBox_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30898 { (char *)"HtmlListBox_SetItemCount", (PyCFunction
) _wrap_HtmlListBox_SetItemCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30899 { (char *)"HtmlListBox_GetFileSystem", (PyCFunction
)_wrap_HtmlListBox_GetFileSystem
, METH_O
, NULL
},
30900 { (char *)"HtmlListBox_swigregister", HtmlListBox_swigregister
, METH_VARARGS
, NULL
},
30901 { (char *)"HtmlListBox_swiginit", HtmlListBox_swiginit
, METH_VARARGS
, NULL
},
30902 { (char *)"new_TaskBarIcon", (PyCFunction
)_wrap_new_TaskBarIcon
, METH_NOARGS
, NULL
},
30903 { (char *)"delete_TaskBarIcon", (PyCFunction
)_wrap_delete_TaskBarIcon
, METH_O
, NULL
},
30904 { (char *)"TaskBarIcon__setCallbackInfo", (PyCFunction
) _wrap_TaskBarIcon__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30905 { (char *)"TaskBarIcon_Destroy", (PyCFunction
)_wrap_TaskBarIcon_Destroy
, METH_O
, NULL
},
30906 { (char *)"TaskBarIcon_IsOk", (PyCFunction
)_wrap_TaskBarIcon_IsOk
, METH_O
, NULL
},
30907 { (char *)"TaskBarIcon_IsIconInstalled", (PyCFunction
)_wrap_TaskBarIcon_IsIconInstalled
, METH_O
, NULL
},
30908 { (char *)"TaskBarIcon_SetIcon", (PyCFunction
) _wrap_TaskBarIcon_SetIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30909 { (char *)"TaskBarIcon_RemoveIcon", (PyCFunction
)_wrap_TaskBarIcon_RemoveIcon
, METH_O
, NULL
},
30910 { (char *)"TaskBarIcon_PopupMenu", (PyCFunction
) _wrap_TaskBarIcon_PopupMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30911 { (char *)"TaskBarIcon_swigregister", TaskBarIcon_swigregister
, METH_VARARGS
, NULL
},
30912 { (char *)"TaskBarIcon_swiginit", TaskBarIcon_swiginit
, METH_VARARGS
, NULL
},
30913 { (char *)"new_TaskBarIconEvent", (PyCFunction
) _wrap_new_TaskBarIconEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30914 { (char *)"TaskBarIconEvent_swigregister", TaskBarIconEvent_swigregister
, METH_VARARGS
, NULL
},
30915 { (char *)"TaskBarIconEvent_swiginit", TaskBarIconEvent_swiginit
, METH_VARARGS
, NULL
},
30916 { (char *)"new_ColourData", (PyCFunction
)_wrap_new_ColourData
, METH_NOARGS
, NULL
},
30917 { (char *)"delete_ColourData", (PyCFunction
)_wrap_delete_ColourData
, METH_O
, NULL
},
30918 { (char *)"ColourData_GetChooseFull", (PyCFunction
)_wrap_ColourData_GetChooseFull
, METH_O
, NULL
},
30919 { (char *)"ColourData_GetColour", (PyCFunction
)_wrap_ColourData_GetColour
, METH_O
, NULL
},
30920 { (char *)"ColourData_GetCustomColour", (PyCFunction
) _wrap_ColourData_GetCustomColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30921 { (char *)"ColourData_SetChooseFull", (PyCFunction
) _wrap_ColourData_SetChooseFull
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30922 { (char *)"ColourData_SetColour", (PyCFunction
) _wrap_ColourData_SetColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30923 { (char *)"ColourData_SetCustomColour", (PyCFunction
) _wrap_ColourData_SetCustomColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30924 { (char *)"ColourData_swigregister", ColourData_swigregister
, METH_VARARGS
, NULL
},
30925 { (char *)"ColourData_swiginit", ColourData_swiginit
, METH_VARARGS
, NULL
},
30926 { (char *)"new_ColourDialog", (PyCFunction
) _wrap_new_ColourDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30927 { (char *)"ColourDialog_GetColourData", (PyCFunction
)_wrap_ColourDialog_GetColourData
, METH_O
, NULL
},
30928 { (char *)"ColourDialog_swigregister", ColourDialog_swigregister
, METH_VARARGS
, NULL
},
30929 { (char *)"ColourDialog_swiginit", ColourDialog_swiginit
, METH_VARARGS
, NULL
},
30930 { (char *)"GetColourFromUser", (PyCFunction
) _wrap_GetColourFromUser
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30931 { (char *)"new_DirDialog", (PyCFunction
) _wrap_new_DirDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30932 { (char *)"DirDialog_GetPath", (PyCFunction
)_wrap_DirDialog_GetPath
, METH_O
, NULL
},
30933 { (char *)"DirDialog_GetMessage", (PyCFunction
)_wrap_DirDialog_GetMessage
, METH_O
, NULL
},
30934 { (char *)"DirDialog_GetStyle", (PyCFunction
)_wrap_DirDialog_GetStyle
, METH_O
, NULL
},
30935 { (char *)"DirDialog_SetMessage", (PyCFunction
) _wrap_DirDialog_SetMessage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30936 { (char *)"DirDialog_SetPath", (PyCFunction
) _wrap_DirDialog_SetPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30937 { (char *)"DirDialog_swigregister", DirDialog_swigregister
, METH_VARARGS
, NULL
},
30938 { (char *)"DirDialog_swiginit", DirDialog_swiginit
, METH_VARARGS
, NULL
},
30939 { (char *)"new_FileDialog", (PyCFunction
) _wrap_new_FileDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30940 { (char *)"FileDialog_SetMessage", (PyCFunction
) _wrap_FileDialog_SetMessage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30941 { (char *)"FileDialog_SetPath", (PyCFunction
) _wrap_FileDialog_SetPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30942 { (char *)"FileDialog_SetDirectory", (PyCFunction
) _wrap_FileDialog_SetDirectory
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30943 { (char *)"FileDialog_SetFilename", (PyCFunction
) _wrap_FileDialog_SetFilename
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30944 { (char *)"FileDialog_SetWildcard", (PyCFunction
) _wrap_FileDialog_SetWildcard
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30945 { (char *)"FileDialog_SetStyle", (PyCFunction
) _wrap_FileDialog_SetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30946 { (char *)"FileDialog_SetFilterIndex", (PyCFunction
) _wrap_FileDialog_SetFilterIndex
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30947 { (char *)"FileDialog_GetMessage", (PyCFunction
)_wrap_FileDialog_GetMessage
, METH_O
, NULL
},
30948 { (char *)"FileDialog_GetPath", (PyCFunction
)_wrap_FileDialog_GetPath
, METH_O
, NULL
},
30949 { (char *)"FileDialog_GetDirectory", (PyCFunction
)_wrap_FileDialog_GetDirectory
, METH_O
, NULL
},
30950 { (char *)"FileDialog_GetFilename", (PyCFunction
)_wrap_FileDialog_GetFilename
, METH_O
, NULL
},
30951 { (char *)"FileDialog_GetWildcard", (PyCFunction
)_wrap_FileDialog_GetWildcard
, METH_O
, NULL
},
30952 { (char *)"FileDialog_GetStyle", (PyCFunction
)_wrap_FileDialog_GetStyle
, METH_O
, NULL
},
30953 { (char *)"FileDialog_GetFilterIndex", (PyCFunction
)_wrap_FileDialog_GetFilterIndex
, METH_O
, NULL
},
30954 { (char *)"FileDialog_GetFilenames", (PyCFunction
)_wrap_FileDialog_GetFilenames
, METH_O
, NULL
},
30955 { (char *)"FileDialog_GetPaths", (PyCFunction
)_wrap_FileDialog_GetPaths
, METH_O
, NULL
},
30956 { (char *)"FileDialog_swigregister", FileDialog_swigregister
, METH_VARARGS
, NULL
},
30957 { (char *)"FileDialog_swiginit", FileDialog_swiginit
, METH_VARARGS
, NULL
},
30958 { (char *)"new_MultiChoiceDialog", (PyCFunction
) _wrap_new_MultiChoiceDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30959 { (char *)"MultiChoiceDialog_SetSelections", (PyCFunction
) _wrap_MultiChoiceDialog_SetSelections
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30960 { (char *)"MultiChoiceDialog_GetSelections", (PyCFunction
)_wrap_MultiChoiceDialog_GetSelections
, METH_O
, NULL
},
30961 { (char *)"MultiChoiceDialog_swigregister", MultiChoiceDialog_swigregister
, METH_VARARGS
, NULL
},
30962 { (char *)"MultiChoiceDialog_swiginit", MultiChoiceDialog_swiginit
, METH_VARARGS
, NULL
},
30963 { (char *)"new_SingleChoiceDialog", (PyCFunction
) _wrap_new_SingleChoiceDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30964 { (char *)"SingleChoiceDialog_GetSelection", (PyCFunction
)_wrap_SingleChoiceDialog_GetSelection
, METH_O
, NULL
},
30965 { (char *)"SingleChoiceDialog_GetStringSelection", (PyCFunction
)_wrap_SingleChoiceDialog_GetStringSelection
, METH_O
, NULL
},
30966 { (char *)"SingleChoiceDialog_SetSelection", (PyCFunction
) _wrap_SingleChoiceDialog_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30967 { (char *)"SingleChoiceDialog_swigregister", SingleChoiceDialog_swigregister
, METH_VARARGS
, NULL
},
30968 { (char *)"SingleChoiceDialog_swiginit", SingleChoiceDialog_swiginit
, METH_VARARGS
, NULL
},
30969 { (char *)"new_TextEntryDialog", (PyCFunction
) _wrap_new_TextEntryDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30970 { (char *)"TextEntryDialog_GetValue", (PyCFunction
)_wrap_TextEntryDialog_GetValue
, METH_O
, NULL
},
30971 { (char *)"TextEntryDialog_SetValue", (PyCFunction
) _wrap_TextEntryDialog_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30972 { (char *)"TextEntryDialog_swigregister", TextEntryDialog_swigregister
, METH_VARARGS
, NULL
},
30973 { (char *)"TextEntryDialog_swiginit", TextEntryDialog_swiginit
, METH_VARARGS
, NULL
},
30974 { (char *)"new_PasswordEntryDialog", (PyCFunction
) _wrap_new_PasswordEntryDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30975 { (char *)"PasswordEntryDialog_swigregister", PasswordEntryDialog_swigregister
, METH_VARARGS
, NULL
},
30976 { (char *)"PasswordEntryDialog_swiginit", PasswordEntryDialog_swiginit
, METH_VARARGS
, NULL
},
30977 { (char *)"new_FontData", (PyCFunction
)_wrap_new_FontData
, METH_NOARGS
, NULL
},
30978 { (char *)"delete_FontData", (PyCFunction
)_wrap_delete_FontData
, METH_O
, NULL
},
30979 { (char *)"FontData_EnableEffects", (PyCFunction
) _wrap_FontData_EnableEffects
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30980 { (char *)"FontData_GetAllowSymbols", (PyCFunction
)_wrap_FontData_GetAllowSymbols
, METH_O
, NULL
},
30981 { (char *)"FontData_GetColour", (PyCFunction
)_wrap_FontData_GetColour
, METH_O
, NULL
},
30982 { (char *)"FontData_GetChosenFont", (PyCFunction
)_wrap_FontData_GetChosenFont
, METH_O
, NULL
},
30983 { (char *)"FontData_GetEnableEffects", (PyCFunction
)_wrap_FontData_GetEnableEffects
, METH_O
, NULL
},
30984 { (char *)"FontData_GetInitialFont", (PyCFunction
)_wrap_FontData_GetInitialFont
, METH_O
, NULL
},
30985 { (char *)"FontData_GetShowHelp", (PyCFunction
)_wrap_FontData_GetShowHelp
, METH_O
, NULL
},
30986 { (char *)"FontData_SetAllowSymbols", (PyCFunction
) _wrap_FontData_SetAllowSymbols
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30987 { (char *)"FontData_SetChosenFont", (PyCFunction
) _wrap_FontData_SetChosenFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30988 { (char *)"FontData_SetColour", (PyCFunction
) _wrap_FontData_SetColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30989 { (char *)"FontData_SetInitialFont", (PyCFunction
) _wrap_FontData_SetInitialFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30990 { (char *)"FontData_SetRange", (PyCFunction
) _wrap_FontData_SetRange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30991 { (char *)"FontData_SetShowHelp", (PyCFunction
) _wrap_FontData_SetShowHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30992 { (char *)"FontData_swigregister", FontData_swigregister
, METH_VARARGS
, NULL
},
30993 { (char *)"FontData_swiginit", FontData_swiginit
, METH_VARARGS
, NULL
},
30994 { (char *)"new_FontDialog", (PyCFunction
) _wrap_new_FontDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30995 { (char *)"FontDialog_GetFontData", (PyCFunction
)_wrap_FontDialog_GetFontData
, METH_O
, NULL
},
30996 { (char *)"FontDialog_swigregister", FontDialog_swigregister
, METH_VARARGS
, NULL
},
30997 { (char *)"FontDialog_swiginit", FontDialog_swiginit
, METH_VARARGS
, NULL
},
30998 { (char *)"GetFontFromUser", (PyCFunction
) _wrap_GetFontFromUser
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30999 { (char *)"new_MessageDialog", (PyCFunction
) _wrap_new_MessageDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31000 { (char *)"MessageDialog_swigregister", MessageDialog_swigregister
, METH_VARARGS
, NULL
},
31001 { (char *)"MessageDialog_swiginit", MessageDialog_swiginit
, METH_VARARGS
, NULL
},
31002 { (char *)"new_ProgressDialog", (PyCFunction
) _wrap_new_ProgressDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31003 { (char *)"ProgressDialog_Update", (PyCFunction
) _wrap_ProgressDialog_Update
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31004 { (char *)"ProgressDialog_Resume", (PyCFunction
)_wrap_ProgressDialog_Resume
, METH_O
, NULL
},
31005 { (char *)"ProgressDialog_swigregister", ProgressDialog_swigregister
, METH_VARARGS
, NULL
},
31006 { (char *)"ProgressDialog_swiginit", ProgressDialog_swiginit
, METH_VARARGS
, NULL
},
31007 { (char *)"new_FindDialogEvent", (PyCFunction
) _wrap_new_FindDialogEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31008 { (char *)"FindDialogEvent_GetFlags", (PyCFunction
)_wrap_FindDialogEvent_GetFlags
, METH_O
, NULL
},
31009 { (char *)"FindDialogEvent_GetFindString", (PyCFunction
)_wrap_FindDialogEvent_GetFindString
, METH_O
, NULL
},
31010 { (char *)"FindDialogEvent_GetReplaceString", (PyCFunction
)_wrap_FindDialogEvent_GetReplaceString
, METH_O
, NULL
},
31011 { (char *)"FindDialogEvent_GetDialog", (PyCFunction
)_wrap_FindDialogEvent_GetDialog
, METH_O
, NULL
},
31012 { (char *)"FindDialogEvent_SetFlags", (PyCFunction
) _wrap_FindDialogEvent_SetFlags
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31013 { (char *)"FindDialogEvent_SetFindString", (PyCFunction
) _wrap_FindDialogEvent_SetFindString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31014 { (char *)"FindDialogEvent_SetReplaceString", (PyCFunction
) _wrap_FindDialogEvent_SetReplaceString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31015 { (char *)"FindDialogEvent_swigregister", FindDialogEvent_swigregister
, METH_VARARGS
, NULL
},
31016 { (char *)"FindDialogEvent_swiginit", FindDialogEvent_swiginit
, METH_VARARGS
, NULL
},
31017 { (char *)"new_FindReplaceData", (PyCFunction
) _wrap_new_FindReplaceData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31018 { (char *)"delete_FindReplaceData", (PyCFunction
)_wrap_delete_FindReplaceData
, METH_O
, NULL
},
31019 { (char *)"FindReplaceData_GetFindString", (PyCFunction
)_wrap_FindReplaceData_GetFindString
, METH_O
, NULL
},
31020 { (char *)"FindReplaceData_GetReplaceString", (PyCFunction
)_wrap_FindReplaceData_GetReplaceString
, METH_O
, NULL
},
31021 { (char *)"FindReplaceData_GetFlags", (PyCFunction
)_wrap_FindReplaceData_GetFlags
, METH_O
, NULL
},
31022 { (char *)"FindReplaceData_SetFlags", (PyCFunction
) _wrap_FindReplaceData_SetFlags
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31023 { (char *)"FindReplaceData_SetFindString", (PyCFunction
) _wrap_FindReplaceData_SetFindString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31024 { (char *)"FindReplaceData_SetReplaceString", (PyCFunction
) _wrap_FindReplaceData_SetReplaceString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31025 { (char *)"FindReplaceData_swigregister", FindReplaceData_swigregister
, METH_VARARGS
, NULL
},
31026 { (char *)"FindReplaceData_swiginit", FindReplaceData_swiginit
, METH_VARARGS
, NULL
},
31027 { (char *)"new_FindReplaceDialog", (PyCFunction
) _wrap_new_FindReplaceDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31028 { (char *)"new_PreFindReplaceDialog", (PyCFunction
)_wrap_new_PreFindReplaceDialog
, METH_NOARGS
, NULL
},
31029 { (char *)"FindReplaceDialog_Create", (PyCFunction
) _wrap_FindReplaceDialog_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31030 { (char *)"FindReplaceDialog_GetData", (PyCFunction
)_wrap_FindReplaceDialog_GetData
, METH_O
, NULL
},
31031 { (char *)"FindReplaceDialog_SetData", (PyCFunction
) _wrap_FindReplaceDialog_SetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31032 { (char *)"FindReplaceDialog_swigregister", FindReplaceDialog_swigregister
, METH_VARARGS
, NULL
},
31033 { (char *)"FindReplaceDialog_swiginit", FindReplaceDialog_swiginit
, METH_VARARGS
, NULL
},
31034 { (char *)"new_MDIParentFrame", (PyCFunction
) _wrap_new_MDIParentFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31035 { (char *)"new_PreMDIParentFrame", (PyCFunction
)_wrap_new_PreMDIParentFrame
, METH_NOARGS
, NULL
},
31036 { (char *)"MDIParentFrame_Create", (PyCFunction
) _wrap_MDIParentFrame_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31037 { (char *)"MDIParentFrame_ActivateNext", (PyCFunction
)_wrap_MDIParentFrame_ActivateNext
, METH_O
, NULL
},
31038 { (char *)"MDIParentFrame_ActivatePrevious", (PyCFunction
)_wrap_MDIParentFrame_ActivatePrevious
, METH_O
, NULL
},
31039 { (char *)"MDIParentFrame_ArrangeIcons", (PyCFunction
)_wrap_MDIParentFrame_ArrangeIcons
, METH_O
, NULL
},
31040 { (char *)"MDIParentFrame_Cascade", (PyCFunction
)_wrap_MDIParentFrame_Cascade
, METH_O
, NULL
},
31041 { (char *)"MDIParentFrame_GetActiveChild", (PyCFunction
)_wrap_MDIParentFrame_GetActiveChild
, METH_O
, NULL
},
31042 { (char *)"MDIParentFrame_GetClientWindow", (PyCFunction
)_wrap_MDIParentFrame_GetClientWindow
, METH_O
, NULL
},
31043 { (char *)"MDIParentFrame_GetToolBar", (PyCFunction
)_wrap_MDIParentFrame_GetToolBar
, METH_O
, NULL
},
31044 { (char *)"MDIParentFrame_GetWindowMenu", (PyCFunction
)_wrap_MDIParentFrame_GetWindowMenu
, METH_O
, NULL
},
31045 { (char *)"MDIParentFrame_SetWindowMenu", (PyCFunction
) _wrap_MDIParentFrame_SetWindowMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31046 { (char *)"MDIParentFrame_Tile", (PyCFunction
) _wrap_MDIParentFrame_Tile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31047 { (char *)"MDIParentFrame_swigregister", MDIParentFrame_swigregister
, METH_VARARGS
, NULL
},
31048 { (char *)"MDIParentFrame_swiginit", MDIParentFrame_swiginit
, METH_VARARGS
, NULL
},
31049 { (char *)"new_MDIChildFrame", (PyCFunction
) _wrap_new_MDIChildFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31050 { (char *)"new_PreMDIChildFrame", (PyCFunction
)_wrap_new_PreMDIChildFrame
, METH_NOARGS
, NULL
},
31051 { (char *)"MDIChildFrame_Create", (PyCFunction
) _wrap_MDIChildFrame_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31052 { (char *)"MDIChildFrame_Activate", (PyCFunction
)_wrap_MDIChildFrame_Activate
, METH_O
, NULL
},
31053 { (char *)"MDIChildFrame_swigregister", MDIChildFrame_swigregister
, METH_VARARGS
, NULL
},
31054 { (char *)"MDIChildFrame_swiginit", MDIChildFrame_swiginit
, METH_VARARGS
, NULL
},
31055 { (char *)"new_MDIClientWindow", (PyCFunction
) _wrap_new_MDIClientWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31056 { (char *)"new_PreMDIClientWindow", (PyCFunction
)_wrap_new_PreMDIClientWindow
, METH_NOARGS
, NULL
},
31057 { (char *)"MDIClientWindow_Create", (PyCFunction
) _wrap_MDIClientWindow_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31058 { (char *)"MDIClientWindow_swigregister", MDIClientWindow_swigregister
, METH_VARARGS
, NULL
},
31059 { (char *)"MDIClientWindow_swiginit", MDIClientWindow_swiginit
, METH_VARARGS
, NULL
},
31060 { (char *)"new_PyWindow", (PyCFunction
) _wrap_new_PyWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31061 { (char *)"new_PrePyWindow", (PyCFunction
)_wrap_new_PrePyWindow
, METH_NOARGS
, NULL
},
31062 { (char *)"PyWindow__setCallbackInfo", (PyCFunction
) _wrap_PyWindow__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31063 { (char *)"PyWindow_SetBestSize", (PyCFunction
) _wrap_PyWindow_SetBestSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31064 { (char *)"PyWindow_DoEraseBackground", (PyCFunction
) _wrap_PyWindow_DoEraseBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31065 { (char *)"PyWindow_DoMoveWindow", (PyCFunction
) _wrap_PyWindow_DoMoveWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31066 { (char *)"PyWindow_DoSetSize", (PyCFunction
) _wrap_PyWindow_DoSetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31067 { (char *)"PyWindow_DoSetClientSize", (PyCFunction
) _wrap_PyWindow_DoSetClientSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31068 { (char *)"PyWindow_DoSetVirtualSize", (PyCFunction
) _wrap_PyWindow_DoSetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31069 { (char *)"PyWindow_DoGetSize", (PyCFunction
)_wrap_PyWindow_DoGetSize
, METH_O
, NULL
},
31070 { (char *)"PyWindow_DoGetClientSize", (PyCFunction
)_wrap_PyWindow_DoGetClientSize
, METH_O
, NULL
},
31071 { (char *)"PyWindow_DoGetPosition", (PyCFunction
)_wrap_PyWindow_DoGetPosition
, METH_O
, NULL
},
31072 { (char *)"PyWindow_DoGetVirtualSize", (PyCFunction
)_wrap_PyWindow_DoGetVirtualSize
, METH_O
, NULL
},
31073 { (char *)"PyWindow_DoGetBestSize", (PyCFunction
)_wrap_PyWindow_DoGetBestSize
, METH_O
, NULL
},
31074 { (char *)"PyWindow_GetDefaultAttributes", (PyCFunction
)_wrap_PyWindow_GetDefaultAttributes
, METH_O
, NULL
},
31075 { (char *)"PyWindow_OnInternalIdle", (PyCFunction
)_wrap_PyWindow_OnInternalIdle
, METH_O
, NULL
},
31076 { (char *)"PyWindow_swigregister", PyWindow_swigregister
, METH_VARARGS
, NULL
},
31077 { (char *)"PyWindow_swiginit", PyWindow_swiginit
, METH_VARARGS
, NULL
},
31078 { (char *)"new_PyPanel", (PyCFunction
) _wrap_new_PyPanel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31079 { (char *)"new_PrePyPanel", (PyCFunction
)_wrap_new_PrePyPanel
, METH_NOARGS
, NULL
},
31080 { (char *)"PyPanel__setCallbackInfo", (PyCFunction
) _wrap_PyPanel__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31081 { (char *)"PyPanel_SetBestSize", (PyCFunction
) _wrap_PyPanel_SetBestSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31082 { (char *)"PyPanel_DoEraseBackground", (PyCFunction
) _wrap_PyPanel_DoEraseBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31083 { (char *)"PyPanel_DoMoveWindow", (PyCFunction
) _wrap_PyPanel_DoMoveWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31084 { (char *)"PyPanel_DoSetSize", (PyCFunction
) _wrap_PyPanel_DoSetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31085 { (char *)"PyPanel_DoSetClientSize", (PyCFunction
) _wrap_PyPanel_DoSetClientSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31086 { (char *)"PyPanel_DoSetVirtualSize", (PyCFunction
) _wrap_PyPanel_DoSetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31087 { (char *)"PyPanel_DoGetSize", (PyCFunction
)_wrap_PyPanel_DoGetSize
, METH_O
, NULL
},
31088 { (char *)"PyPanel_DoGetClientSize", (PyCFunction
)_wrap_PyPanel_DoGetClientSize
, METH_O
, NULL
},
31089 { (char *)"PyPanel_DoGetPosition", (PyCFunction
)_wrap_PyPanel_DoGetPosition
, METH_O
, NULL
},
31090 { (char *)"PyPanel_DoGetVirtualSize", (PyCFunction
)_wrap_PyPanel_DoGetVirtualSize
, METH_O
, NULL
},
31091 { (char *)"PyPanel_DoGetBestSize", (PyCFunction
)_wrap_PyPanel_DoGetBestSize
, METH_O
, NULL
},
31092 { (char *)"PyPanel_GetDefaultAttributes", (PyCFunction
)_wrap_PyPanel_GetDefaultAttributes
, METH_O
, NULL
},
31093 { (char *)"PyPanel_OnInternalIdle", (PyCFunction
)_wrap_PyPanel_OnInternalIdle
, METH_O
, NULL
},
31094 { (char *)"PyPanel_swigregister", PyPanel_swigregister
, METH_VARARGS
, NULL
},
31095 { (char *)"PyPanel_swiginit", PyPanel_swiginit
, METH_VARARGS
, NULL
},
31096 { (char *)"new_PyScrolledWindow", (PyCFunction
) _wrap_new_PyScrolledWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31097 { (char *)"new_PrePyScrolledWindow", (PyCFunction
)_wrap_new_PrePyScrolledWindow
, METH_NOARGS
, NULL
},
31098 { (char *)"PyScrolledWindow__setCallbackInfo", (PyCFunction
) _wrap_PyScrolledWindow__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31099 { (char *)"PyScrolledWindow_SetBestSize", (PyCFunction
) _wrap_PyScrolledWindow_SetBestSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31100 { (char *)"PyScrolledWindow_DoEraseBackground", (PyCFunction
) _wrap_PyScrolledWindow_DoEraseBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31101 { (char *)"PyScrolledWindow_DoMoveWindow", (PyCFunction
) _wrap_PyScrolledWindow_DoMoveWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31102 { (char *)"PyScrolledWindow_DoSetSize", (PyCFunction
) _wrap_PyScrolledWindow_DoSetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31103 { (char *)"PyScrolledWindow_DoSetClientSize", (PyCFunction
) _wrap_PyScrolledWindow_DoSetClientSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31104 { (char *)"PyScrolledWindow_DoSetVirtualSize", (PyCFunction
) _wrap_PyScrolledWindow_DoSetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31105 { (char *)"PyScrolledWindow_DoGetSize", (PyCFunction
)_wrap_PyScrolledWindow_DoGetSize
, METH_O
, NULL
},
31106 { (char *)"PyScrolledWindow_DoGetClientSize", (PyCFunction
)_wrap_PyScrolledWindow_DoGetClientSize
, METH_O
, NULL
},
31107 { (char *)"PyScrolledWindow_DoGetPosition", (PyCFunction
)_wrap_PyScrolledWindow_DoGetPosition
, METH_O
, NULL
},
31108 { (char *)"PyScrolledWindow_DoGetVirtualSize", (PyCFunction
)_wrap_PyScrolledWindow_DoGetVirtualSize
, METH_O
, NULL
},
31109 { (char *)"PyScrolledWindow_DoGetBestSize", (PyCFunction
)_wrap_PyScrolledWindow_DoGetBestSize
, METH_O
, NULL
},
31110 { (char *)"PyScrolledWindow_GetDefaultAttributes", (PyCFunction
)_wrap_PyScrolledWindow_GetDefaultAttributes
, METH_O
, NULL
},
31111 { (char *)"PyScrolledWindow_OnInternalIdle", (PyCFunction
)_wrap_PyScrolledWindow_OnInternalIdle
, METH_O
, NULL
},
31112 { (char *)"PyScrolledWindow_swigregister", PyScrolledWindow_swigregister
, METH_VARARGS
, NULL
},
31113 { (char *)"PyScrolledWindow_swiginit", PyScrolledWindow_swiginit
, METH_VARARGS
, NULL
},
31114 { (char *)"new_PrintData", _wrap_new_PrintData
, METH_VARARGS
, NULL
},
31115 { (char *)"delete_PrintData", (PyCFunction
)_wrap_delete_PrintData
, METH_O
, NULL
},
31116 { (char *)"PrintData_GetNoCopies", (PyCFunction
)_wrap_PrintData_GetNoCopies
, METH_O
, NULL
},
31117 { (char *)"PrintData_GetCollate", (PyCFunction
)_wrap_PrintData_GetCollate
, METH_O
, NULL
},
31118 { (char *)"PrintData_GetOrientation", (PyCFunction
)_wrap_PrintData_GetOrientation
, METH_O
, NULL
},
31119 { (char *)"PrintData_Ok", (PyCFunction
)_wrap_PrintData_Ok
, METH_O
, NULL
},
31120 { (char *)"PrintData_GetPrinterName", (PyCFunction
)_wrap_PrintData_GetPrinterName
, METH_O
, NULL
},
31121 { (char *)"PrintData_GetColour", (PyCFunction
)_wrap_PrintData_GetColour
, METH_O
, NULL
},
31122 { (char *)"PrintData_GetDuplex", (PyCFunction
)_wrap_PrintData_GetDuplex
, METH_O
, NULL
},
31123 { (char *)"PrintData_GetPaperId", (PyCFunction
)_wrap_PrintData_GetPaperId
, METH_O
, NULL
},
31124 { (char *)"PrintData_GetPaperSize", (PyCFunction
)_wrap_PrintData_GetPaperSize
, METH_O
, NULL
},
31125 { (char *)"PrintData_GetQuality", (PyCFunction
)_wrap_PrintData_GetQuality
, METH_O
, NULL
},
31126 { (char *)"PrintData_GetBin", (PyCFunction
)_wrap_PrintData_GetBin
, METH_O
, NULL
},
31127 { (char *)"PrintData_GetPrintMode", (PyCFunction
)_wrap_PrintData_GetPrintMode
, METH_O
, NULL
},
31128 { (char *)"PrintData_SetNoCopies", (PyCFunction
) _wrap_PrintData_SetNoCopies
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31129 { (char *)"PrintData_SetCollate", (PyCFunction
) _wrap_PrintData_SetCollate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31130 { (char *)"PrintData_SetOrientation", (PyCFunction
) _wrap_PrintData_SetOrientation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31131 { (char *)"PrintData_SetPrinterName", (PyCFunction
) _wrap_PrintData_SetPrinterName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31132 { (char *)"PrintData_SetColour", (PyCFunction
) _wrap_PrintData_SetColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31133 { (char *)"PrintData_SetDuplex", (PyCFunction
) _wrap_PrintData_SetDuplex
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31134 { (char *)"PrintData_SetPaperId", (PyCFunction
) _wrap_PrintData_SetPaperId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31135 { (char *)"PrintData_SetPaperSize", (PyCFunction
) _wrap_PrintData_SetPaperSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31136 { (char *)"PrintData_SetQuality", (PyCFunction
) _wrap_PrintData_SetQuality
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31137 { (char *)"PrintData_SetBin", (PyCFunction
) _wrap_PrintData_SetBin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31138 { (char *)"PrintData_SetPrintMode", (PyCFunction
) _wrap_PrintData_SetPrintMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31139 { (char *)"PrintData_GetFilename", (PyCFunction
)_wrap_PrintData_GetFilename
, METH_O
, NULL
},
31140 { (char *)"PrintData_SetFilename", (PyCFunction
) _wrap_PrintData_SetFilename
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31141 { (char *)"PrintData_GetPrivData", (PyCFunction
)_wrap_PrintData_GetPrivData
, METH_O
, NULL
},
31142 { (char *)"PrintData_SetPrivData", (PyCFunction
) _wrap_PrintData_SetPrivData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31143 { (char *)"PrintData_swigregister", PrintData_swigregister
, METH_VARARGS
, NULL
},
31144 { (char *)"PrintData_swiginit", PrintData_swiginit
, METH_VARARGS
, NULL
},
31145 { (char *)"new_PageSetupDialogData", _wrap_new_PageSetupDialogData
, METH_VARARGS
, NULL
},
31146 { (char *)"delete_PageSetupDialogData", (PyCFunction
)_wrap_delete_PageSetupDialogData
, METH_O
, NULL
},
31147 { (char *)"PageSetupDialogData_EnableHelp", (PyCFunction
) _wrap_PageSetupDialogData_EnableHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31148 { (char *)"PageSetupDialogData_EnableMargins", (PyCFunction
) _wrap_PageSetupDialogData_EnableMargins
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31149 { (char *)"PageSetupDialogData_EnableOrientation", (PyCFunction
) _wrap_PageSetupDialogData_EnableOrientation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31150 { (char *)"PageSetupDialogData_EnablePaper", (PyCFunction
) _wrap_PageSetupDialogData_EnablePaper
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31151 { (char *)"PageSetupDialogData_EnablePrinter", (PyCFunction
) _wrap_PageSetupDialogData_EnablePrinter
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31152 { (char *)"PageSetupDialogData_GetDefaultMinMargins", (PyCFunction
)_wrap_PageSetupDialogData_GetDefaultMinMargins
, METH_O
, NULL
},
31153 { (char *)"PageSetupDialogData_GetEnableMargins", (PyCFunction
)_wrap_PageSetupDialogData_GetEnableMargins
, METH_O
, NULL
},
31154 { (char *)"PageSetupDialogData_GetEnableOrientation", (PyCFunction
)_wrap_PageSetupDialogData_GetEnableOrientation
, METH_O
, NULL
},
31155 { (char *)"PageSetupDialogData_GetEnablePaper", (PyCFunction
)_wrap_PageSetupDialogData_GetEnablePaper
, METH_O
, NULL
},
31156 { (char *)"PageSetupDialogData_GetEnablePrinter", (PyCFunction
)_wrap_PageSetupDialogData_GetEnablePrinter
, METH_O
, NULL
},
31157 { (char *)"PageSetupDialogData_GetEnableHelp", (PyCFunction
)_wrap_PageSetupDialogData_GetEnableHelp
, METH_O
, NULL
},
31158 { (char *)"PageSetupDialogData_GetDefaultInfo", (PyCFunction
)_wrap_PageSetupDialogData_GetDefaultInfo
, METH_O
, NULL
},
31159 { (char *)"PageSetupDialogData_GetMarginTopLeft", (PyCFunction
)_wrap_PageSetupDialogData_GetMarginTopLeft
, METH_O
, NULL
},
31160 { (char *)"PageSetupDialogData_GetMarginBottomRight", (PyCFunction
)_wrap_PageSetupDialogData_GetMarginBottomRight
, METH_O
, NULL
},
31161 { (char *)"PageSetupDialogData_GetMinMarginTopLeft", (PyCFunction
)_wrap_PageSetupDialogData_GetMinMarginTopLeft
, METH_O
, NULL
},
31162 { (char *)"PageSetupDialogData_GetMinMarginBottomRight", (PyCFunction
)_wrap_PageSetupDialogData_GetMinMarginBottomRight
, METH_O
, NULL
},
31163 { (char *)"PageSetupDialogData_GetPaperId", (PyCFunction
)_wrap_PageSetupDialogData_GetPaperId
, METH_O
, NULL
},
31164 { (char *)"PageSetupDialogData_GetPaperSize", (PyCFunction
)_wrap_PageSetupDialogData_GetPaperSize
, METH_O
, NULL
},
31165 { (char *)"PageSetupDialogData_GetPrintData", (PyCFunction
)_wrap_PageSetupDialogData_GetPrintData
, METH_O
, NULL
},
31166 { (char *)"PageSetupDialogData_Ok", (PyCFunction
)_wrap_PageSetupDialogData_Ok
, METH_O
, NULL
},
31167 { (char *)"PageSetupDialogData_SetDefaultInfo", (PyCFunction
) _wrap_PageSetupDialogData_SetDefaultInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31168 { (char *)"PageSetupDialogData_SetDefaultMinMargins", (PyCFunction
) _wrap_PageSetupDialogData_SetDefaultMinMargins
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31169 { (char *)"PageSetupDialogData_SetMarginTopLeft", (PyCFunction
) _wrap_PageSetupDialogData_SetMarginTopLeft
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31170 { (char *)"PageSetupDialogData_SetMarginBottomRight", (PyCFunction
) _wrap_PageSetupDialogData_SetMarginBottomRight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31171 { (char *)"PageSetupDialogData_SetMinMarginTopLeft", (PyCFunction
) _wrap_PageSetupDialogData_SetMinMarginTopLeft
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31172 { (char *)"PageSetupDialogData_SetMinMarginBottomRight", (PyCFunction
) _wrap_PageSetupDialogData_SetMinMarginBottomRight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31173 { (char *)"PageSetupDialogData_SetPaperId", (PyCFunction
) _wrap_PageSetupDialogData_SetPaperId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31174 { (char *)"PageSetupDialogData_SetPaperSize", (PyCFunction
) _wrap_PageSetupDialogData_SetPaperSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31175 { (char *)"PageSetupDialogData_SetPrintData", (PyCFunction
) _wrap_PageSetupDialogData_SetPrintData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31176 { (char *)"PageSetupDialogData_CalculateIdFromPaperSize", (PyCFunction
)_wrap_PageSetupDialogData_CalculateIdFromPaperSize
, METH_O
, NULL
},
31177 { (char *)"PageSetupDialogData_CalculatePaperSizeFromId", (PyCFunction
)_wrap_PageSetupDialogData_CalculatePaperSizeFromId
, METH_O
, NULL
},
31178 { (char *)"PageSetupDialogData_swigregister", PageSetupDialogData_swigregister
, METH_VARARGS
, NULL
},
31179 { (char *)"PageSetupDialogData_swiginit", PageSetupDialogData_swiginit
, METH_VARARGS
, NULL
},
31180 { (char *)"new_PageSetupDialog", (PyCFunction
) _wrap_new_PageSetupDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31181 { (char *)"PageSetupDialog_GetPageSetupData", (PyCFunction
)_wrap_PageSetupDialog_GetPageSetupData
, METH_O
, NULL
},
31182 { (char *)"PageSetupDialog_GetPageSetupDialogData", (PyCFunction
)_wrap_PageSetupDialog_GetPageSetupDialogData
, METH_O
, NULL
},
31183 { (char *)"PageSetupDialog_ShowModal", (PyCFunction
)_wrap_PageSetupDialog_ShowModal
, METH_O
, NULL
},
31184 { (char *)"PageSetupDialog_swigregister", PageSetupDialog_swigregister
, METH_VARARGS
, NULL
},
31185 { (char *)"PageSetupDialog_swiginit", PageSetupDialog_swiginit
, METH_VARARGS
, NULL
},
31186 { (char *)"new_PrintDialogData", _wrap_new_PrintDialogData
, METH_VARARGS
, NULL
},
31187 { (char *)"delete_PrintDialogData", (PyCFunction
)_wrap_delete_PrintDialogData
, METH_O
, NULL
},
31188 { (char *)"PrintDialogData_GetFromPage", (PyCFunction
)_wrap_PrintDialogData_GetFromPage
, METH_O
, NULL
},
31189 { (char *)"PrintDialogData_GetToPage", (PyCFunction
)_wrap_PrintDialogData_GetToPage
, METH_O
, NULL
},
31190 { (char *)"PrintDialogData_GetMinPage", (PyCFunction
)_wrap_PrintDialogData_GetMinPage
, METH_O
, NULL
},
31191 { (char *)"PrintDialogData_GetMaxPage", (PyCFunction
)_wrap_PrintDialogData_GetMaxPage
, METH_O
, NULL
},
31192 { (char *)"PrintDialogData_GetNoCopies", (PyCFunction
)_wrap_PrintDialogData_GetNoCopies
, METH_O
, NULL
},
31193 { (char *)"PrintDialogData_GetAllPages", (PyCFunction
)_wrap_PrintDialogData_GetAllPages
, METH_O
, NULL
},
31194 { (char *)"PrintDialogData_GetSelection", (PyCFunction
)_wrap_PrintDialogData_GetSelection
, METH_O
, NULL
},
31195 { (char *)"PrintDialogData_GetCollate", (PyCFunction
)_wrap_PrintDialogData_GetCollate
, METH_O
, NULL
},
31196 { (char *)"PrintDialogData_GetPrintToFile", (PyCFunction
)_wrap_PrintDialogData_GetPrintToFile
, METH_O
, NULL
},
31197 { (char *)"PrintDialogData_SetFromPage", (PyCFunction
) _wrap_PrintDialogData_SetFromPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31198 { (char *)"PrintDialogData_SetToPage", (PyCFunction
) _wrap_PrintDialogData_SetToPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31199 { (char *)"PrintDialogData_SetMinPage", (PyCFunction
) _wrap_PrintDialogData_SetMinPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31200 { (char *)"PrintDialogData_SetMaxPage", (PyCFunction
) _wrap_PrintDialogData_SetMaxPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31201 { (char *)"PrintDialogData_SetNoCopies", (PyCFunction
) _wrap_PrintDialogData_SetNoCopies
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31202 { (char *)"PrintDialogData_SetAllPages", (PyCFunction
) _wrap_PrintDialogData_SetAllPages
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31203 { (char *)"PrintDialogData_SetSelection", (PyCFunction
) _wrap_PrintDialogData_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31204 { (char *)"PrintDialogData_SetCollate", (PyCFunction
) _wrap_PrintDialogData_SetCollate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31205 { (char *)"PrintDialogData_SetPrintToFile", (PyCFunction
) _wrap_PrintDialogData_SetPrintToFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31206 { (char *)"PrintDialogData_EnablePrintToFile", (PyCFunction
) _wrap_PrintDialogData_EnablePrintToFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31207 { (char *)"PrintDialogData_EnableSelection", (PyCFunction
) _wrap_PrintDialogData_EnableSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31208 { (char *)"PrintDialogData_EnablePageNumbers", (PyCFunction
) _wrap_PrintDialogData_EnablePageNumbers
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31209 { (char *)"PrintDialogData_EnableHelp", (PyCFunction
) _wrap_PrintDialogData_EnableHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31210 { (char *)"PrintDialogData_GetEnablePrintToFile", (PyCFunction
)_wrap_PrintDialogData_GetEnablePrintToFile
, METH_O
, NULL
},
31211 { (char *)"PrintDialogData_GetEnableSelection", (PyCFunction
)_wrap_PrintDialogData_GetEnableSelection
, METH_O
, NULL
},
31212 { (char *)"PrintDialogData_GetEnablePageNumbers", (PyCFunction
)_wrap_PrintDialogData_GetEnablePageNumbers
, METH_O
, NULL
},
31213 { (char *)"PrintDialogData_GetEnableHelp", (PyCFunction
)_wrap_PrintDialogData_GetEnableHelp
, METH_O
, NULL
},
31214 { (char *)"PrintDialogData_Ok", (PyCFunction
)_wrap_PrintDialogData_Ok
, METH_O
, NULL
},
31215 { (char *)"PrintDialogData_GetPrintData", (PyCFunction
)_wrap_PrintDialogData_GetPrintData
, METH_O
, NULL
},
31216 { (char *)"PrintDialogData_SetPrintData", (PyCFunction
) _wrap_PrintDialogData_SetPrintData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31217 { (char *)"PrintDialogData_swigregister", PrintDialogData_swigregister
, METH_VARARGS
, NULL
},
31218 { (char *)"PrintDialogData_swiginit", PrintDialogData_swiginit
, METH_VARARGS
, NULL
},
31219 { (char *)"new_PrintDialog", (PyCFunction
) _wrap_new_PrintDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31220 { (char *)"PrintDialog_ShowModal", (PyCFunction
)_wrap_PrintDialog_ShowModal
, METH_O
, NULL
},
31221 { (char *)"PrintDialog_GetPrintDialogData", (PyCFunction
)_wrap_PrintDialog_GetPrintDialogData
, METH_O
, NULL
},
31222 { (char *)"PrintDialog_GetPrintData", (PyCFunction
)_wrap_PrintDialog_GetPrintData
, METH_O
, NULL
},
31223 { (char *)"PrintDialog_GetPrintDC", (PyCFunction
)_wrap_PrintDialog_GetPrintDC
, METH_O
, NULL
},
31224 { (char *)"PrintDialog_swigregister", PrintDialog_swigregister
, METH_VARARGS
, NULL
},
31225 { (char *)"PrintDialog_swiginit", PrintDialog_swiginit
, METH_VARARGS
, NULL
},
31226 { (char *)"new_Printer", (PyCFunction
) _wrap_new_Printer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31227 { (char *)"delete_Printer", (PyCFunction
)_wrap_delete_Printer
, METH_O
, NULL
},
31228 { (char *)"Printer_CreateAbortWindow", (PyCFunction
) _wrap_Printer_CreateAbortWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31229 { (char *)"Printer_ReportError", (PyCFunction
) _wrap_Printer_ReportError
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31230 { (char *)"Printer_Setup", (PyCFunction
) _wrap_Printer_Setup
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31231 { (char *)"Printer_Print", (PyCFunction
) _wrap_Printer_Print
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31232 { (char *)"Printer_PrintDialog", (PyCFunction
) _wrap_Printer_PrintDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31233 { (char *)"Printer_GetPrintDialogData", (PyCFunction
)_wrap_Printer_GetPrintDialogData
, METH_O
, NULL
},
31234 { (char *)"Printer_GetAbort", (PyCFunction
)_wrap_Printer_GetAbort
, METH_O
, NULL
},
31235 { (char *)"Printer_GetLastError", (PyCFunction
)_wrap_Printer_GetLastError
, METH_NOARGS
, NULL
},
31236 { (char *)"Printer_swigregister", Printer_swigregister
, METH_VARARGS
, NULL
},
31237 { (char *)"Printer_swiginit", Printer_swiginit
, METH_VARARGS
, NULL
},
31238 { (char *)"new_Printout", (PyCFunction
) _wrap_new_Printout
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31239 { (char *)"delete_Printout", (PyCFunction
)_wrap_delete_Printout
, METH_O
, NULL
},
31240 { (char *)"Printout__setCallbackInfo", (PyCFunction
) _wrap_Printout__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31241 { (char *)"Printout_GetTitle", (PyCFunction
)_wrap_Printout_GetTitle
, METH_O
, NULL
},
31242 { (char *)"Printout_GetDC", (PyCFunction
)_wrap_Printout_GetDC
, METH_O
, NULL
},
31243 { (char *)"Printout_SetDC", (PyCFunction
) _wrap_Printout_SetDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31244 { (char *)"Printout_SetPageSizePixels", (PyCFunction
) _wrap_Printout_SetPageSizePixels
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31245 { (char *)"Printout_GetPageSizePixels", (PyCFunction
)_wrap_Printout_GetPageSizePixels
, METH_O
, NULL
},
31246 { (char *)"Printout_SetPageSizeMM", (PyCFunction
) _wrap_Printout_SetPageSizeMM
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31247 { (char *)"Printout_GetPageSizeMM", (PyCFunction
)_wrap_Printout_GetPageSizeMM
, METH_O
, NULL
},
31248 { (char *)"Printout_SetPPIScreen", (PyCFunction
) _wrap_Printout_SetPPIScreen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31249 { (char *)"Printout_GetPPIScreen", (PyCFunction
)_wrap_Printout_GetPPIScreen
, METH_O
, NULL
},
31250 { (char *)"Printout_SetPPIPrinter", (PyCFunction
) _wrap_Printout_SetPPIPrinter
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31251 { (char *)"Printout_GetPPIPrinter", (PyCFunction
)_wrap_Printout_GetPPIPrinter
, METH_O
, NULL
},
31252 { (char *)"Printout_IsPreview", (PyCFunction
)_wrap_Printout_IsPreview
, METH_O
, NULL
},
31253 { (char *)"Printout_SetIsPreview", (PyCFunction
) _wrap_Printout_SetIsPreview
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31254 { (char *)"Printout_OnBeginDocument", (PyCFunction
) _wrap_Printout_OnBeginDocument
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31255 { (char *)"Printout_OnEndDocument", (PyCFunction
)_wrap_Printout_OnEndDocument
, METH_O
, NULL
},
31256 { (char *)"Printout_OnBeginPrinting", (PyCFunction
)_wrap_Printout_OnBeginPrinting
, METH_O
, NULL
},
31257 { (char *)"Printout_OnEndPrinting", (PyCFunction
)_wrap_Printout_OnEndPrinting
, METH_O
, NULL
},
31258 { (char *)"Printout_OnPreparePrinting", (PyCFunction
)_wrap_Printout_OnPreparePrinting
, METH_O
, NULL
},
31259 { (char *)"Printout_HasPage", (PyCFunction
) _wrap_Printout_HasPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31260 { (char *)"Printout_GetPageInfo", (PyCFunction
)_wrap_Printout_GetPageInfo
, METH_O
, NULL
},
31261 { (char *)"Printout_swigregister", Printout_swigregister
, METH_VARARGS
, NULL
},
31262 { (char *)"Printout_swiginit", Printout_swiginit
, METH_VARARGS
, NULL
},
31263 { (char *)"new_PreviewCanvas", (PyCFunction
) _wrap_new_PreviewCanvas
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31264 { (char *)"PreviewCanvas_swigregister", PreviewCanvas_swigregister
, METH_VARARGS
, NULL
},
31265 { (char *)"PreviewCanvas_swiginit", PreviewCanvas_swiginit
, METH_VARARGS
, NULL
},
31266 { (char *)"new_PreviewFrame", (PyCFunction
) _wrap_new_PreviewFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31267 { (char *)"PreviewFrame_Initialize", (PyCFunction
)_wrap_PreviewFrame_Initialize
, METH_O
, NULL
},
31268 { (char *)"PreviewFrame_CreateControlBar", (PyCFunction
)_wrap_PreviewFrame_CreateControlBar
, METH_O
, NULL
},
31269 { (char *)"PreviewFrame_CreateCanvas", (PyCFunction
)_wrap_PreviewFrame_CreateCanvas
, METH_O
, NULL
},
31270 { (char *)"PreviewFrame_GetControlBar", (PyCFunction
)_wrap_PreviewFrame_GetControlBar
, METH_O
, NULL
},
31271 { (char *)"PreviewFrame_swigregister", PreviewFrame_swigregister
, METH_VARARGS
, NULL
},
31272 { (char *)"PreviewFrame_swiginit", PreviewFrame_swiginit
, METH_VARARGS
, NULL
},
31273 { (char *)"new_PreviewControlBar", (PyCFunction
) _wrap_new_PreviewControlBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31274 { (char *)"PreviewControlBar_GetZoomControl", (PyCFunction
)_wrap_PreviewControlBar_GetZoomControl
, METH_O
, NULL
},
31275 { (char *)"PreviewControlBar_SetZoomControl", (PyCFunction
) _wrap_PreviewControlBar_SetZoomControl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31276 { (char *)"PreviewControlBar_GetPrintPreview", (PyCFunction
)_wrap_PreviewControlBar_GetPrintPreview
, METH_O
, NULL
},
31277 { (char *)"PreviewControlBar_OnNext", (PyCFunction
)_wrap_PreviewControlBar_OnNext
, METH_O
, NULL
},
31278 { (char *)"PreviewControlBar_OnPrevious", (PyCFunction
)_wrap_PreviewControlBar_OnPrevious
, METH_O
, NULL
},
31279 { (char *)"PreviewControlBar_OnFirst", (PyCFunction
)_wrap_PreviewControlBar_OnFirst
, METH_O
, NULL
},
31280 { (char *)"PreviewControlBar_OnLast", (PyCFunction
)_wrap_PreviewControlBar_OnLast
, METH_O
, NULL
},
31281 { (char *)"PreviewControlBar_OnGoto", (PyCFunction
)_wrap_PreviewControlBar_OnGoto
, METH_O
, NULL
},
31282 { (char *)"PreviewControlBar_swigregister", PreviewControlBar_swigregister
, METH_VARARGS
, NULL
},
31283 { (char *)"PreviewControlBar_swiginit", PreviewControlBar_swiginit
, METH_VARARGS
, NULL
},
31284 { (char *)"new_PrintPreview", _wrap_new_PrintPreview
, METH_VARARGS
, NULL
},
31285 { (char *)"delete_PrintPreview", (PyCFunction
)_wrap_delete_PrintPreview
, METH_O
, NULL
},
31286 { (char *)"PrintPreview_SetCurrentPage", (PyCFunction
) _wrap_PrintPreview_SetCurrentPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31287 { (char *)"PrintPreview_GetCurrentPage", (PyCFunction
)_wrap_PrintPreview_GetCurrentPage
, METH_O
, NULL
},
31288 { (char *)"PrintPreview_SetPrintout", (PyCFunction
) _wrap_PrintPreview_SetPrintout
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31289 { (char *)"PrintPreview_GetPrintout", (PyCFunction
)_wrap_PrintPreview_GetPrintout
, METH_O
, NULL
},
31290 { (char *)"PrintPreview_GetPrintoutForPrinting", (PyCFunction
)_wrap_PrintPreview_GetPrintoutForPrinting
, METH_O
, NULL
},
31291 { (char *)"PrintPreview_SetFrame", (PyCFunction
) _wrap_PrintPreview_SetFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31292 { (char *)"PrintPreview_SetCanvas", (PyCFunction
) _wrap_PrintPreview_SetCanvas
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31293 { (char *)"PrintPreview_GetFrame", (PyCFunction
)_wrap_PrintPreview_GetFrame
, METH_O
, NULL
},
31294 { (char *)"PrintPreview_GetCanvas", (PyCFunction
)_wrap_PrintPreview_GetCanvas
, METH_O
, NULL
},
31295 { (char *)"PrintPreview_PaintPage", (PyCFunction
) _wrap_PrintPreview_PaintPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31296 { (char *)"PrintPreview_DrawBlankPage", (PyCFunction
) _wrap_PrintPreview_DrawBlankPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31297 { (char *)"PrintPreview_RenderPage", (PyCFunction
) _wrap_PrintPreview_RenderPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31298 { (char *)"PrintPreview_AdjustScrollbars", (PyCFunction
) _wrap_PrintPreview_AdjustScrollbars
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31299 { (char *)"PrintPreview_GetPrintDialogData", (PyCFunction
)_wrap_PrintPreview_GetPrintDialogData
, METH_O
, NULL
},
31300 { (char *)"PrintPreview_SetZoom", (PyCFunction
) _wrap_PrintPreview_SetZoom
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31301 { (char *)"PrintPreview_GetZoom", (PyCFunction
)_wrap_PrintPreview_GetZoom
, METH_O
, NULL
},
31302 { (char *)"PrintPreview_GetMaxPage", (PyCFunction
)_wrap_PrintPreview_GetMaxPage
, METH_O
, NULL
},
31303 { (char *)"PrintPreview_GetMinPage", (PyCFunction
)_wrap_PrintPreview_GetMinPage
, METH_O
, NULL
},
31304 { (char *)"PrintPreview_Ok", (PyCFunction
)_wrap_PrintPreview_Ok
, METH_O
, NULL
},
31305 { (char *)"PrintPreview_SetOk", (PyCFunction
) _wrap_PrintPreview_SetOk
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31306 { (char *)"PrintPreview_Print", (PyCFunction
) _wrap_PrintPreview_Print
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31307 { (char *)"PrintPreview_DetermineScaling", (PyCFunction
)_wrap_PrintPreview_DetermineScaling
, METH_O
, NULL
},
31308 { (char *)"PrintPreview_swigregister", PrintPreview_swigregister
, METH_VARARGS
, NULL
},
31309 { (char *)"PrintPreview_swiginit", PrintPreview_swiginit
, METH_VARARGS
, NULL
},
31310 { (char *)"new_PyPrintPreview", _wrap_new_PyPrintPreview
, METH_VARARGS
, NULL
},
31311 { (char *)"PyPrintPreview__setCallbackInfo", (PyCFunction
) _wrap_PyPrintPreview__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31312 { (char *)"PyPrintPreview_swigregister", PyPrintPreview_swigregister
, METH_VARARGS
, NULL
},
31313 { (char *)"PyPrintPreview_swiginit", PyPrintPreview_swiginit
, METH_VARARGS
, NULL
},
31314 { (char *)"new_PyPreviewFrame", (PyCFunction
) _wrap_new_PyPreviewFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31315 { (char *)"PyPreviewFrame__setCallbackInfo", (PyCFunction
) _wrap_PyPreviewFrame__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31316 { (char *)"PyPreviewFrame_SetPreviewCanvas", (PyCFunction
) _wrap_PyPreviewFrame_SetPreviewCanvas
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31317 { (char *)"PyPreviewFrame_SetControlBar", (PyCFunction
) _wrap_PyPreviewFrame_SetControlBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31318 { (char *)"PyPreviewFrame_Initialize", (PyCFunction
)_wrap_PyPreviewFrame_Initialize
, METH_O
, NULL
},
31319 { (char *)"PyPreviewFrame_CreateCanvas", (PyCFunction
)_wrap_PyPreviewFrame_CreateCanvas
, METH_O
, NULL
},
31320 { (char *)"PyPreviewFrame_CreateControlBar", (PyCFunction
)_wrap_PyPreviewFrame_CreateControlBar
, METH_O
, NULL
},
31321 { (char *)"PyPreviewFrame_swigregister", PyPreviewFrame_swigregister
, METH_VARARGS
, NULL
},
31322 { (char *)"PyPreviewFrame_swiginit", PyPreviewFrame_swiginit
, METH_VARARGS
, NULL
},
31323 { (char *)"new_PyPreviewControlBar", (PyCFunction
) _wrap_new_PyPreviewControlBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31324 { (char *)"PyPreviewControlBar__setCallbackInfo", (PyCFunction
) _wrap_PyPreviewControlBar__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31325 { (char *)"PyPreviewControlBar_SetPrintPreview", (PyCFunction
) _wrap_PyPreviewControlBar_SetPrintPreview
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31326 { (char *)"PyPreviewControlBar_CreateButtons", (PyCFunction
)_wrap_PyPreviewControlBar_CreateButtons
, METH_O
, NULL
},
31327 { (char *)"PyPreviewControlBar_SetZoomControl", (PyCFunction
) _wrap_PyPreviewControlBar_SetZoomControl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31328 { (char *)"PyPreviewControlBar_swigregister", PyPreviewControlBar_swigregister
, METH_VARARGS
, NULL
},
31329 { (char *)"PyPreviewControlBar_swiginit", PyPreviewControlBar_swiginit
, METH_VARARGS
, NULL
},
31330 { NULL
, NULL
, 0, NULL
}
31334 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
31336 static void *_p_wxPyPreviewFrameTo_p_wxPreviewFrame(void *x
) {
31337 return (void *)((wxPreviewFrame
*) ((wxPyPreviewFrame
*) x
));
31339 static void *_p_wxContextMenuEventTo_p_wxEvent(void *x
) {
31340 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
31342 static void *_p_wxMenuEventTo_p_wxEvent(void *x
) {
31343 return (void *)((wxEvent
*) ((wxMenuEvent
*) x
));
31345 static void *_p_wxCloseEventTo_p_wxEvent(void *x
) {
31346 return (void *)((wxEvent
*) ((wxCloseEvent
*) x
));
31348 static void *_p_wxMouseEventTo_p_wxEvent(void *x
) {
31349 return (void *)((wxEvent
*) ((wxMouseEvent
*) x
));
31351 static void *_p_wxEraseEventTo_p_wxEvent(void *x
) {
31352 return (void *)((wxEvent
*) ((wxEraseEvent
*) x
));
31354 static void *_p_wxSetCursorEventTo_p_wxEvent(void *x
) {
31355 return (void *)((wxEvent
*) ((wxSetCursorEvent
*) x
));
31357 static void *_p_wxSplitterEventTo_p_wxEvent(void *x
) {
31358 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*) ((wxSplitterEvent
*) x
));
31360 static void *_p_wxInitDialogEventTo_p_wxEvent(void *x
) {
31361 return (void *)((wxEvent
*) ((wxInitDialogEvent
*) x
));
31363 static void *_p_wxScrollEventTo_p_wxEvent(void *x
) {
31364 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxScrollEvent
*) x
));
31366 static void *_p_wxFindDialogEventTo_p_wxEvent(void *x
) {
31367 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxFindDialogEvent
*) x
));
31369 static void *_p_wxPyEventTo_p_wxEvent(void *x
) {
31370 return (void *)((wxEvent
*) ((wxPyEvent
*) x
));
31372 static void *_p_wxNotifyEventTo_p_wxEvent(void *x
) {
31373 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxNotifyEvent
*) x
));
31375 static void *_p_wxCalculateLayoutEventTo_p_wxEvent(void *x
) {
31376 return (void *)((wxEvent
*) ((wxCalculateLayoutEvent
*) x
));
31378 static void *_p_wxIdleEventTo_p_wxEvent(void *x
) {
31379 return (void *)((wxEvent
*) ((wxIdleEvent
*) x
));
31381 static void *_p_wxWindowCreateEventTo_p_wxEvent(void *x
) {
31382 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
31384 static void *_p_wxQueryNewPaletteEventTo_p_wxEvent(void *x
) {
31385 return (void *)((wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
31387 static void *_p_wxMaximizeEventTo_p_wxEvent(void *x
) {
31388 return (void *)((wxEvent
*) ((wxMaximizeEvent
*) x
));
31390 static void *_p_wxIconizeEventTo_p_wxEvent(void *x
) {
31391 return (void *)((wxEvent
*) ((wxIconizeEvent
*) x
));
31393 static void *_p_wxActivateEventTo_p_wxEvent(void *x
) {
31394 return (void *)((wxEvent
*) ((wxActivateEvent
*) x
));
31396 static void *_p_wxSizeEventTo_p_wxEvent(void *x
) {
31397 return (void *)((wxEvent
*) ((wxSizeEvent
*) x
));
31399 static void *_p_wxMoveEventTo_p_wxEvent(void *x
) {
31400 return (void *)((wxEvent
*) ((wxMoveEvent
*) x
));
31402 static void *_p_wxDateEventTo_p_wxEvent(void *x
) {
31403 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxDateEvent
*) x
));
31405 static void *_p_wxPaintEventTo_p_wxEvent(void *x
) {
31406 return (void *)((wxEvent
*) ((wxPaintEvent
*) x
));
31408 static void *_p_wxNcPaintEventTo_p_wxEvent(void *x
) {
31409 return (void *)((wxEvent
*) ((wxNcPaintEvent
*) x
));
31411 static void *_p_wxUpdateUIEventTo_p_wxEvent(void *x
) {
31412 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
31414 static void *_p_wxPaletteChangedEventTo_p_wxEvent(void *x
) {
31415 return (void *)((wxEvent
*) ((wxPaletteChangedEvent
*) x
));
31417 static void *_p_wxDisplayChangedEventTo_p_wxEvent(void *x
) {
31418 return (void *)((wxEvent
*) ((wxDisplayChangedEvent
*) x
));
31420 static void *_p_wxMouseCaptureChangedEventTo_p_wxEvent(void *x
) {
31421 return (void *)((wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
31423 static void *_p_wxSysColourChangedEventTo_p_wxEvent(void *x
) {
31424 return (void *)((wxEvent
*) ((wxSysColourChangedEvent
*) x
));
31426 static void *_p_wxDropFilesEventTo_p_wxEvent(void *x
) {
31427 return (void *)((wxEvent
*) ((wxDropFilesEvent
*) x
));
31429 static void *_p_wxFocusEventTo_p_wxEvent(void *x
) {
31430 return (void *)((wxEvent
*) ((wxFocusEvent
*) x
));
31432 static void *_p_wxChildFocusEventTo_p_wxEvent(void *x
) {
31433 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
31435 static void *_p_wxSashEventTo_p_wxEvent(void *x
) {
31436 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxSashEvent
*) x
));
31438 static void *_p_wxQueryLayoutInfoEventTo_p_wxEvent(void *x
) {
31439 return (void *)((wxEvent
*) ((wxQueryLayoutInfoEvent
*) x
));
31441 static void *_p_wxShowEventTo_p_wxEvent(void *x
) {
31442 return (void *)((wxEvent
*) ((wxShowEvent
*) x
));
31444 static void *_p_wxCommandEventTo_p_wxEvent(void *x
) {
31445 return (void *)((wxEvent
*) ((wxCommandEvent
*) x
));
31447 static void *_p_wxPyCommandEventTo_p_wxEvent(void *x
) {
31448 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
31450 static void *_p_wxWindowDestroyEventTo_p_wxEvent(void *x
) {
31451 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
31453 static void *_p_wxNavigationKeyEventTo_p_wxEvent(void *x
) {
31454 return (void *)((wxEvent
*) ((wxNavigationKeyEvent
*) x
));
31456 static void *_p_wxKeyEventTo_p_wxEvent(void *x
) {
31457 return (void *)((wxEvent
*) ((wxKeyEvent
*) x
));
31459 static void *_p_wxScrollWinEventTo_p_wxEvent(void *x
) {
31460 return (void *)((wxEvent
*) ((wxScrollWinEvent
*) x
));
31462 static void *_p_wxTaskBarIconEventTo_p_wxEvent(void *x
) {
31463 return (void *)((wxEvent
*) ((wxTaskBarIconEvent
*) x
));
31465 static void *_p_wxSplitterEventTo_p_wxNotifyEvent(void *x
) {
31466 return (void *)((wxNotifyEvent
*) ((wxSplitterEvent
*) x
));
31468 static void *_p_wxPasswordEntryDialogTo_p_wxTextEntryDialog(void *x
) {
31469 return (void *)((wxTextEntryDialog
*) ((wxPasswordEntryDialog
*) x
));
31471 static void *_p_wxSplashScreenTo_p_wxEvtHandler(void *x
) {
31472 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxSplashScreen
*) x
));
31474 static void *_p_wxMiniFrameTo_p_wxEvtHandler(void *x
) {
31475 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMiniFrame
*) x
));
31477 static void *_p_wxPyPanelTo_p_wxEvtHandler(void *x
) {
31478 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*) ((wxPyPanel
*) x
));
31480 static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x
) {
31481 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxMenuBar
*) x
));
31483 static void *_p_wxValidatorTo_p_wxEvtHandler(void *x
) {
31484 return (void *)((wxEvtHandler
*) ((wxValidator
*) x
));
31486 static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x
) {
31487 return (void *)((wxEvtHandler
*) (wxValidator
*) ((wxPyValidator
*) x
));
31489 static void *_p_wxMenuTo_p_wxEvtHandler(void *x
) {
31490 return (void *)((wxEvtHandler
*) ((wxMenu
*) x
));
31492 static void *_p_wxPasswordEntryDialogTo_p_wxEvtHandler(void *x
) {
31493 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*)(wxTextEntryDialog
*) ((wxPasswordEntryDialog
*) x
));
31495 static void *_p_wxTextEntryDialogTo_p_wxEvtHandler(void *x
) {
31496 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxTextEntryDialog
*) x
));
31498 static void *_p_wxSingleChoiceDialogTo_p_wxEvtHandler(void *x
) {
31499 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxSingleChoiceDialog
*) x
));
31501 static void *_p_wxMultiChoiceDialogTo_p_wxEvtHandler(void *x
) {
31502 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxMultiChoiceDialog
*) x
));
31504 static void *_p_wxFileDialogTo_p_wxEvtHandler(void *x
) {
31505 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFileDialog
*) x
));
31507 static void *_p_wxMessageDialogTo_p_wxEvtHandler(void *x
) {
31508 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxMessageDialog
*) x
));
31510 static void *_p_wxProgressDialogTo_p_wxEvtHandler(void *x
) {
31511 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxProgressDialog
*) x
));
31513 static void *_p_wxFindReplaceDialogTo_p_wxEvtHandler(void *x
) {
31514 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFindReplaceDialog
*) x
));
31516 static void *_p_wxPanelTo_p_wxEvtHandler(void *x
) {
31517 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxPanel
*) x
));
31519 static void *_p_wxStatusBarTo_p_wxEvtHandler(void *x
) {
31520 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxStatusBar
*) x
));
31522 static void *_p_wxPyVScrolledWindowTo_p_wxEvtHandler(void *x
) {
31523 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*) ((wxPyVScrolledWindow
*) x
));
31525 static void *_p_wxTipWindowTo_p_wxEvtHandler(void *x
) {
31526 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPopupWindow
*)(wxPyPopupTransientWindow
*) ((wxTipWindow
*) x
));
31528 static void *_p_wxPyPopupTransientWindowTo_p_wxEvtHandler(void *x
) {
31529 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPopupWindow
*) ((wxPyPopupTransientWindow
*) x
));
31531 static void *_p_wxPopupWindowTo_p_wxEvtHandler(void *x
) {
31532 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxPopupWindow
*) x
));
31534 static void *_p_wxSashLayoutWindowTo_p_wxEvtHandler(void *x
) {
31535 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxSashWindow
*) ((wxSashLayoutWindow
*) x
));
31537 static void *_p_wxSashWindowTo_p_wxEvtHandler(void *x
) {
31538 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxSashWindow
*) x
));
31540 static void *_p_wxSplitterWindowTo_p_wxEvtHandler(void *x
) {
31541 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxSplitterWindow
*) x
));
31543 static void *_p_wxSplashScreenWindowTo_p_wxEvtHandler(void *x
) {
31544 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxSplashScreenWindow
*) x
));
31546 static void *_p_wxWindowTo_p_wxEvtHandler(void *x
) {
31547 return (void *)((wxEvtHandler
*) ((wxWindow
*) x
));
31549 static void *_p_wxScrolledWindowTo_p_wxEvtHandler(void *x
) {
31550 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*) ((wxScrolledWindow
*) x
));
31552 static void *_p_wxTopLevelWindowTo_p_wxEvtHandler(void *x
) {
31553 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxTopLevelWindow
*) x
));
31555 static void *_p_wxMDIClientWindowTo_p_wxEvtHandler(void *x
) {
31556 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxMDIClientWindow
*) x
));
31558 static void *_p_wxPyScrolledWindowTo_p_wxEvtHandler(void *x
) {
31559 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*)(wxScrolledWindow
*) ((wxPyScrolledWindow
*) x
));
31561 static void *_p_wxControlTo_p_wxEvtHandler(void *x
) {
31562 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxControl
*) x
));
31564 static void *_p_wxPreviewFrameTo_p_wxEvtHandler(void *x
) {
31565 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxPreviewFrame
*) x
));
31567 static void *_p_wxPyPreviewFrameTo_p_wxEvtHandler(void *x
) {
31568 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*)(wxPreviewFrame
*) ((wxPyPreviewFrame
*) x
));
31570 static void *_p_wxMDIChildFrameTo_p_wxEvtHandler(void *x
) {
31571 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMDIChildFrame
*) x
));
31573 static void *_p_wxPyAppTo_p_wxEvtHandler(void *x
) {
31574 return (void *)((wxEvtHandler
*) ((wxPyApp
*) x
));
31576 static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x
) {
31577 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
31579 static void *_p_wxPyWindowTo_p_wxEvtHandler(void *x
) {
31580 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxPyWindow
*) x
));
31582 static void *_p_wxPreviewCanvasTo_p_wxEvtHandler(void *x
) {
31583 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*)(wxScrolledWindow
*) ((wxPreviewCanvas
*) x
));
31585 static void *_p_wxPyHtmlListBoxTo_p_wxEvtHandler(void *x
) {
31586 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*)(wxPyVScrolledWindow
*)(wxPyVListBox
*) ((wxPyHtmlListBox
*) x
));
31588 static void *_p_wxPyVListBoxTo_p_wxEvtHandler(void *x
) {
31589 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*)(wxPyVScrolledWindow
*) ((wxPyVListBox
*) x
));
31591 static void *_p_wxPreviewControlBarTo_p_wxEvtHandler(void *x
) {
31592 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*) ((wxPreviewControlBar
*) x
));
31594 static void *_p_wxPyPreviewControlBarTo_p_wxEvtHandler(void *x
) {
31595 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*)(wxPreviewControlBar
*) ((wxPyPreviewControlBar
*) x
));
31597 static void *_p_wxPyTaskBarIconTo_p_wxEvtHandler(void *x
) {
31598 return (void *)((wxEvtHandler
*) ((wxPyTaskBarIcon
*) x
));
31600 static void *_p_wxFrameTo_p_wxEvtHandler(void *x
) {
31601 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*) ((wxFrame
*) x
));
31603 static void *_p_wxDirDialogTo_p_wxEvtHandler(void *x
) {
31604 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxDirDialog
*) x
));
31606 static void *_p_wxColourDialogTo_p_wxEvtHandler(void *x
) {
31607 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxColourDialog
*) x
));
31609 static void *_p_wxDialogTo_p_wxEvtHandler(void *x
) {
31610 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*) ((wxDialog
*) x
));
31612 static void *_p_wxFontDialogTo_p_wxEvtHandler(void *x
) {
31613 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFontDialog
*) x
));
31615 static void *_p_wxMDIParentFrameTo_p_wxEvtHandler(void *x
) {
31616 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMDIParentFrame
*) x
));
31618 static void *_p_wxPyHtmlListBoxTo_p_wxPyVListBox(void *x
) {
31619 return (void *)((wxPyVListBox
*) ((wxPyHtmlListBox
*) x
));
31621 static void *_p_wxMDIChildFrameTo_p_wxFrame(void *x
) {
31622 return (void *)((wxFrame
*) ((wxMDIChildFrame
*) x
));
31624 static void *_p_wxProgressDialogTo_p_wxFrame(void *x
) {
31625 return (void *)((wxFrame
*) ((wxProgressDialog
*) x
));
31627 static void *_p_wxPreviewFrameTo_p_wxFrame(void *x
) {
31628 return (void *)((wxFrame
*) ((wxPreviewFrame
*) x
));
31630 static void *_p_wxPyPreviewFrameTo_p_wxFrame(void *x
) {
31631 return (void *)((wxFrame
*) (wxPreviewFrame
*) ((wxPyPreviewFrame
*) x
));
31633 static void *_p_wxMiniFrameTo_p_wxFrame(void *x
) {
31634 return (void *)((wxFrame
*) ((wxMiniFrame
*) x
));
31636 static void *_p_wxSplashScreenTo_p_wxFrame(void *x
) {
31637 return (void *)((wxFrame
*) ((wxSplashScreen
*) x
));
31639 static void *_p_wxMDIParentFrameTo_p_wxFrame(void *x
) {
31640 return (void *)((wxFrame
*) ((wxMDIParentFrame
*) x
));
31642 static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x
) {
31643 return (void *)((wxObject
*) ((wxLayoutConstraints
*) x
));
31645 static void *_p_wxQueryLayoutInfoEventTo_p_wxObject(void *x
) {
31646 return (void *)((wxObject
*) (wxEvent
*) ((wxQueryLayoutInfoEvent
*) x
));
31648 static void *_p_wxPreviewFrameTo_p_wxObject(void *x
) {
31649 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxPreviewFrame
*) x
));
31651 static void *_p_wxPyPreviewFrameTo_p_wxObject(void *x
) {
31652 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*)(wxPreviewFrame
*) ((wxPyPreviewFrame
*) x
));
31654 static void *_p_wxGBSizerItemTo_p_wxObject(void *x
) {
31655 return (void *)((wxObject
*) (wxSizerItem
*) ((wxGBSizerItem
*) x
));
31657 static void *_p_wxSizerItemTo_p_wxObject(void *x
) {
31658 return (void *)((wxObject
*) ((wxSizerItem
*) x
));
31660 static void *_p_wxScrollEventTo_p_wxObject(void *x
) {
31661 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxScrollEvent
*) x
));
31663 static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x
) {
31664 return (void *)((wxObject
*) ((wxIndividualLayoutConstraint
*) x
));
31666 static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x
) {
31667 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStaticBoxSizer
*) x
));
31669 static void *_p_wxBoxSizerTo_p_wxObject(void *x
) {
31670 return (void *)((wxObject
*) (wxSizer
*) ((wxBoxSizer
*) x
));
31672 static void *_p_wxSizerTo_p_wxObject(void *x
) {
31673 return (void *)((wxObject
*) ((wxSizer
*) x
));
31675 static void *_p_wxGridBagSizerTo_p_wxObject(void *x
) {
31676 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*)(wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
31678 static void *_p_wxUpdateUIEventTo_p_wxObject(void *x
) {
31679 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
31681 static void *_p_wxPyPanelTo_p_wxObject(void *x
) {
31682 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*) ((wxPyPanel
*) x
));
31684 static void *_p_wxEventTo_p_wxObject(void *x
) {
31685 return (void *)((wxObject
*) ((wxEvent
*) x
));
31687 static void *_p_wxFontDataTo_p_wxObject(void *x
) {
31688 return (void *)((wxObject
*) ((wxFontData
*) x
));
31690 static void *_p_wxPrintDataTo_p_wxObject(void *x
) {
31691 return (void *)((wxObject
*) ((wxPrintData
*) x
));
31693 static void *_p_wxFlexGridSizerTo_p_wxObject(void *x
) {
31694 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*) ((wxFlexGridSizer
*) x
));
31696 static void *_p_wxGridSizerTo_p_wxObject(void *x
) {
31697 return (void *)((wxObject
*) (wxSizer
*) ((wxGridSizer
*) x
));
31699 static void *_p_wxInitDialogEventTo_p_wxObject(void *x
) {
31700 return (void *)((wxObject
*) (wxEvent
*) ((wxInitDialogEvent
*) x
));
31702 static void *_p_wxLayoutAlgorithmTo_p_wxObject(void *x
) {
31703 return (void *)((wxObject
*) ((wxLayoutAlgorithm
*) x
));
31705 static void *_p_wxPyTaskBarIconTo_p_wxObject(void *x
) {
31706 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyTaskBarIcon
*) x
));
31708 static void *_p_wxFindDialogEventTo_p_wxObject(void *x
) {
31709 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxFindDialogEvent
*) x
));
31711 static void *_p_wxPaintEventTo_p_wxObject(void *x
) {
31712 return (void *)((wxObject
*) (wxEvent
*) ((wxPaintEvent
*) x
));
31714 static void *_p_wxNcPaintEventTo_p_wxObject(void *x
) {
31715 return (void *)((wxObject
*) (wxEvent
*) ((wxNcPaintEvent
*) x
));
31717 static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x
) {
31718 return (void *)((wxObject
*) (wxEvent
*) ((wxPaletteChangedEvent
*) x
));
31720 static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x
) {
31721 return (void *)((wxObject
*) (wxEvent
*) ((wxDisplayChangedEvent
*) x
));
31723 static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x
) {
31724 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
31726 static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x
) {
31727 return (void *)((wxObject
*) (wxEvent
*) ((wxSysColourChangedEvent
*) x
));
31729 static void *_p_wxPreviewCanvasTo_p_wxObject(void *x
) {
31730 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*)(wxScrolledWindow
*) ((wxPreviewCanvas
*) x
));
31732 static void *_p_wxControlTo_p_wxObject(void *x
) {
31733 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxControl
*) x
));
31735 static void *_p_wxSetCursorEventTo_p_wxObject(void *x
) {
31736 return (void *)((wxObject
*) (wxEvent
*) ((wxSetCursorEvent
*) x
));
31738 static void *_p_wxSplitterEventTo_p_wxObject(void *x
) {
31739 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*) ((wxSplitterEvent
*) x
));
31741 static void *_p_wxFSFileTo_p_wxObject(void *x
) {
31742 return (void *)((wxObject
*) ((wxFSFile
*) x
));
31744 static void *_p_wxFindReplaceDataTo_p_wxObject(void *x
) {
31745 return (void *)((wxObject
*) ((wxFindReplaceData
*) x
));
31747 static void *_p_wxPySizerTo_p_wxObject(void *x
) {
31748 return (void *)((wxObject
*) (wxSizer
*) ((wxPySizer
*) x
));
31750 static void *_p_wxMDIChildFrameTo_p_wxObject(void *x
) {
31751 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMDIChildFrame
*) x
));
31753 static void *_p_wxColourDataTo_p_wxObject(void *x
) {
31754 return (void *)((wxObject
*) ((wxColourData
*) x
));
31756 static void *_p_wxPyEventTo_p_wxObject(void *x
) {
31757 return (void *)((wxObject
*) (wxEvent
*) ((wxPyEvent
*) x
));
31759 static void *_p_wxNotifyEventTo_p_wxObject(void *x
) {
31760 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxNotifyEvent
*) x
));
31762 static void *_p_wxPyWindowTo_p_wxObject(void *x
) {
31763 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxPyWindow
*) x
));
31765 static void *_p_wxSplashScreenTo_p_wxObject(void *x
) {
31766 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxSplashScreen
*) x
));
31768 static void *_p_wxFileDialogTo_p_wxObject(void *x
) {
31769 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFileDialog
*) x
));
31771 static void *_p_wxMultiChoiceDialogTo_p_wxObject(void *x
) {
31772 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxMultiChoiceDialog
*) x
));
31774 static void *_p_wxSingleChoiceDialogTo_p_wxObject(void *x
) {
31775 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxSingleChoiceDialog
*) x
));
31777 static void *_p_wxTextEntryDialogTo_p_wxObject(void *x
) {
31778 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxTextEntryDialog
*) x
));
31780 static void *_p_wxPasswordEntryDialogTo_p_wxObject(void *x
) {
31781 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*)(wxTextEntryDialog
*) ((wxPasswordEntryDialog
*) x
));
31783 static void *_p_wxMessageDialogTo_p_wxObject(void *x
) {
31784 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxMessageDialog
*) x
));
31786 static void *_p_wxProgressDialogTo_p_wxObject(void *x
) {
31787 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxProgressDialog
*) x
));
31789 static void *_p_wxFindReplaceDialogTo_p_wxObject(void *x
) {
31790 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFindReplaceDialog
*) x
));
31792 static void *_p_wxShowEventTo_p_wxObject(void *x
) {
31793 return (void *)((wxObject
*) (wxEvent
*) ((wxShowEvent
*) x
));
31795 static void *_p_wxPrinterTo_p_wxObject(void *x
) {
31796 return (void *)((wxObject
*) ((wxPrinter
*) x
));
31798 static void *_p_wxMenuItemTo_p_wxObject(void *x
) {
31799 return (void *)((wxObject
*) ((wxMenuItem
*) x
));
31801 static void *_p_wxDateEventTo_p_wxObject(void *x
) {
31802 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxDateEvent
*) x
));
31804 static void *_p_wxIdleEventTo_p_wxObject(void *x
) {
31805 return (void *)((wxObject
*) (wxEvent
*) ((wxIdleEvent
*) x
));
31807 static void *_p_wxWindowCreateEventTo_p_wxObject(void *x
) {
31808 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
31810 static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x
) {
31811 return (void *)((wxObject
*) (wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
31813 static void *_p_wxMaximizeEventTo_p_wxObject(void *x
) {
31814 return (void *)((wxObject
*) (wxEvent
*) ((wxMaximizeEvent
*) x
));
31816 static void *_p_wxIconizeEventTo_p_wxObject(void *x
) {
31817 return (void *)((wxObject
*) (wxEvent
*) ((wxIconizeEvent
*) x
));
31819 static void *_p_wxSizeEventTo_p_wxObject(void *x
) {
31820 return (void *)((wxObject
*) (wxEvent
*) ((wxSizeEvent
*) x
));
31822 static void *_p_wxMoveEventTo_p_wxObject(void *x
) {
31823 return (void *)((wxObject
*) (wxEvent
*) ((wxMoveEvent
*) x
));
31825 static void *_p_wxActivateEventTo_p_wxObject(void *x
) {
31826 return (void *)((wxObject
*) (wxEvent
*) ((wxActivateEvent
*) x
));
31828 static void *_p_wxPNMHandlerTo_p_wxObject(void *x
) {
31829 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNMHandler
*) x
));
31831 static void *_p_wxJPEGHandlerTo_p_wxObject(void *x
) {
31832 return (void *)((wxObject
*) (wxImageHandler
*) ((wxJPEGHandler
*) x
));
31834 static void *_p_wxPCXHandlerTo_p_wxObject(void *x
) {
31835 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPCXHandler
*) x
));
31837 static void *_p_wxGIFHandlerTo_p_wxObject(void *x
) {
31838 return (void *)((wxObject
*) (wxImageHandler
*) ((wxGIFHandler
*) x
));
31840 static void *_p_wxPNGHandlerTo_p_wxObject(void *x
) {
31841 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNGHandler
*) x
));
31843 static void *_p_wxANIHandlerTo_p_wxObject(void *x
) {
31844 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*)(wxCURHandler
*) ((wxANIHandler
*) x
));
31846 static void *_p_wxCURHandlerTo_p_wxObject(void *x
) {
31847 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*) ((wxCURHandler
*) x
));
31849 static void *_p_wxICOHandlerTo_p_wxObject(void *x
) {
31850 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*) ((wxICOHandler
*) x
));
31852 static void *_p_wxBMPHandlerTo_p_wxObject(void *x
) {
31853 return (void *)((wxObject
*) (wxImageHandler
*) ((wxBMPHandler
*) x
));
31855 static void *_p_wxPyImageHandlerTo_p_wxObject(void *x
) {
31856 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPyImageHandler
*) x
));
31858 static void *_p_wxImageHandlerTo_p_wxObject(void *x
) {
31859 return (void *)((wxObject
*) ((wxImageHandler
*) x
));
31861 static void *_p_wxXPMHandlerTo_p_wxObject(void *x
) {
31862 return (void *)((wxObject
*) (wxImageHandler
*) ((wxXPMHandler
*) x
));
31864 static void *_p_wxTIFFHandlerTo_p_wxObject(void *x
) {
31865 return (void *)((wxObject
*) (wxImageHandler
*) ((wxTIFFHandler
*) x
));
31867 static void *_p_wxEvtHandlerTo_p_wxObject(void *x
) {
31868 return (void *)((wxObject
*) ((wxEvtHandler
*) x
));
31870 static void *_p_wxCalculateLayoutEventTo_p_wxObject(void *x
) {
31871 return (void *)((wxObject
*) (wxEvent
*) ((wxCalculateLayoutEvent
*) x
));
31873 static void *_p_wxPyVListBoxTo_p_wxObject(void *x
) {
31874 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*)(wxPyVScrolledWindow
*) ((wxPyVListBox
*) x
));
31876 static void *_p_wxPyHtmlListBoxTo_p_wxObject(void *x
) {
31877 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*)(wxPyVScrolledWindow
*)(wxPyVListBox
*) ((wxPyHtmlListBox
*) x
));
31879 static void *_p_wxStdDialogButtonSizerTo_p_wxObject(void *x
) {
31880 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStdDialogButtonSizer
*) x
));
31882 static void *_p_wxAcceleratorTableTo_p_wxObject(void *x
) {
31883 return (void *)((wxObject
*) ((wxAcceleratorTable
*) x
));
31885 static void *_p_wxMiniFrameTo_p_wxObject(void *x
) {
31886 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMiniFrame
*) x
));
31888 static void *_p_wxImageTo_p_wxObject(void *x
) {
31889 return (void *)((wxObject
*) ((wxImage
*) x
));
31891 static void *_p_wxFrameTo_p_wxObject(void *x
) {
31892 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*) ((wxFrame
*) x
));
31894 static void *_p_wxPyPrintoutTo_p_wxObject(void *x
) {
31895 return (void *)((wxObject
*) ((wxPyPrintout
*) x
));
31897 static void *_p_wxScrollWinEventTo_p_wxObject(void *x
) {
31898 return (void *)((wxObject
*) (wxEvent
*) ((wxScrollWinEvent
*) x
));
31900 static void *_p_wxTaskBarIconEventTo_p_wxObject(void *x
) {
31901 return (void *)((wxObject
*) (wxEvent
*) ((wxTaskBarIconEvent
*) x
));
31903 static void *_p_wxStatusBarTo_p_wxObject(void *x
) {
31904 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxStatusBar
*) x
));
31906 static void *_p_wxMDIParentFrameTo_p_wxObject(void *x
) {
31907 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMDIParentFrame
*) x
));
31909 static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x
) {
31910 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
31912 static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x
) {
31913 return (void *)((wxObject
*) (wxEvent
*) ((wxNavigationKeyEvent
*) x
));
31915 static void *_p_wxKeyEventTo_p_wxObject(void *x
) {
31916 return (void *)((wxObject
*) (wxEvent
*) ((wxKeyEvent
*) x
));
31918 static void *_p_wxWindowTo_p_wxObject(void *x
) {
31919 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxWindow
*) x
));
31921 static void *_p_wxMenuTo_p_wxObject(void *x
) {
31922 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxMenu
*) x
));
31924 static void *_p_wxMenuBarTo_p_wxObject(void *x
) {
31925 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxMenuBar
*) x
));
31927 static void *_p_wxScrolledWindowTo_p_wxObject(void *x
) {
31928 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*) ((wxScrolledWindow
*) x
));
31930 static void *_p_wxTopLevelWindowTo_p_wxObject(void *x
) {
31931 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxTopLevelWindow
*) x
));
31933 static void *_p_wxSplashScreenWindowTo_p_wxObject(void *x
) {
31934 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxSplashScreenWindow
*) x
));
31936 static void *_p_wxSplitterWindowTo_p_wxObject(void *x
) {
31937 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxSplitterWindow
*) x
));
31939 static void *_p_wxSashWindowTo_p_wxObject(void *x
) {
31940 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxSashWindow
*) x
));
31942 static void *_p_wxSashLayoutWindowTo_p_wxObject(void *x
) {
31943 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxSashWindow
*) ((wxSashLayoutWindow
*) x
));
31945 static void *_p_wxPopupWindowTo_p_wxObject(void *x
) {
31946 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxPopupWindow
*) x
));
31948 static void *_p_wxPyPopupTransientWindowTo_p_wxObject(void *x
) {
31949 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPopupWindow
*) ((wxPyPopupTransientWindow
*) x
));
31951 static void *_p_wxTipWindowTo_p_wxObject(void *x
) {
31952 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPopupWindow
*)(wxPyPopupTransientWindow
*) ((wxTipWindow
*) x
));
31954 static void *_p_wxPyVScrolledWindowTo_p_wxObject(void *x
) {
31955 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*) ((wxPyVScrolledWindow
*) x
));
31957 static void *_p_wxMDIClientWindowTo_p_wxObject(void *x
) {
31958 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxMDIClientWindow
*) x
));
31960 static void *_p_wxPyScrolledWindowTo_p_wxObject(void *x
) {
31961 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*)(wxScrolledWindow
*) ((wxPyScrolledWindow
*) x
));
31963 static void *_p_wxSashEventTo_p_wxObject(void *x
) {
31964 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxSashEvent
*) x
));
31966 static void *_p_wxPrintPreviewTo_p_wxObject(void *x
) {
31967 return (void *)((wxObject
*) ((wxPrintPreview
*) x
));
31969 static void *_p_wxPyPrintPreviewTo_p_wxObject(void *x
) {
31970 return (void *)((wxObject
*) (wxPrintPreview
*) ((wxPyPrintPreview
*) x
));
31972 static void *_p_wxPanelTo_p_wxObject(void *x
) {
31973 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxPanel
*) x
));
31975 static void *_p_wxDialogTo_p_wxObject(void *x
) {
31976 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*) ((wxDialog
*) x
));
31978 static void *_p_wxColourDialogTo_p_wxObject(void *x
) {
31979 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxColourDialog
*) x
));
31981 static void *_p_wxDirDialogTo_p_wxObject(void *x
) {
31982 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxDirDialog
*) x
));
31984 static void *_p_wxFontDialogTo_p_wxObject(void *x
) {
31985 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFontDialog
*) x
));
31987 static void *_p_wxPageSetupDialogTo_p_wxObject(void *x
) {
31988 return (void *)((wxObject
*) ((wxPageSetupDialog
*) x
));
31990 static void *_p_wxPrintDialogTo_p_wxObject(void *x
) {
31991 return (void *)((wxObject
*) ((wxPrintDialog
*) x
));
31993 static void *_p_wxFileSystemTo_p_wxObject(void *x
) {
31994 return (void *)((wxObject
*) ((wxFileSystem
*) x
));
31996 static void *_p_wxContextMenuEventTo_p_wxObject(void *x
) {
31997 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
31999 static void *_p_wxMenuEventTo_p_wxObject(void *x
) {
32000 return (void *)((wxObject
*) (wxEvent
*) ((wxMenuEvent
*) x
));
32002 static void *_p_wxPyAppTo_p_wxObject(void *x
) {
32003 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyApp
*) x
));
32005 static void *_p_wxCloseEventTo_p_wxObject(void *x
) {
32006 return (void *)((wxObject
*) (wxEvent
*) ((wxCloseEvent
*) x
));
32008 static void *_p_wxMouseEventTo_p_wxObject(void *x
) {
32009 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseEvent
*) x
));
32011 static void *_p_wxEraseEventTo_p_wxObject(void *x
) {
32012 return (void *)((wxObject
*) (wxEvent
*) ((wxEraseEvent
*) x
));
32014 static void *_p_wxPyCommandEventTo_p_wxObject(void *x
) {
32015 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
32017 static void *_p_wxCommandEventTo_p_wxObject(void *x
) {
32018 return (void *)((wxObject
*) (wxEvent
*) ((wxCommandEvent
*) x
));
32020 static void *_p_wxPreviewControlBarTo_p_wxObject(void *x
) {
32021 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*) ((wxPreviewControlBar
*) x
));
32023 static void *_p_wxPyPreviewControlBarTo_p_wxObject(void *x
) {
32024 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*)(wxPreviewControlBar
*) ((wxPyPreviewControlBar
*) x
));
32026 static void *_p_wxDropFilesEventTo_p_wxObject(void *x
) {
32027 return (void *)((wxObject
*) (wxEvent
*) ((wxDropFilesEvent
*) x
));
32029 static void *_p_wxFocusEventTo_p_wxObject(void *x
) {
32030 return (void *)((wxObject
*) (wxEvent
*) ((wxFocusEvent
*) x
));
32032 static void *_p_wxChildFocusEventTo_p_wxObject(void *x
) {
32033 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
32035 static void *_p_wxControlWithItemsTo_p_wxObject(void *x
) {
32036 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
32038 static void *_p_wxPageSetupDialogDataTo_p_wxObject(void *x
) {
32039 return (void *)((wxObject
*) ((wxPageSetupDialogData
*) x
));
32041 static void *_p_wxPrintDialogDataTo_p_wxObject(void *x
) {
32042 return (void *)((wxObject
*) ((wxPrintDialogData
*) x
));
32044 static void *_p_wxPyValidatorTo_p_wxObject(void *x
) {
32045 return (void *)((wxObject
*) (wxEvtHandler
*)(wxValidator
*) ((wxPyValidator
*) x
));
32047 static void *_p_wxValidatorTo_p_wxObject(void *x
) {
32048 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxValidator
*) x
));
32050 static void *_p_wxPyVListBoxTo_p_wxPyVScrolledWindow(void *x
) {
32051 return (void *)((wxPyVScrolledWindow
*) ((wxPyVListBox
*) x
));
32053 static void *_p_wxPyHtmlListBoxTo_p_wxPyVScrolledWindow(void *x
) {
32054 return (void *)((wxPyVScrolledWindow
*) (wxPyVListBox
*) ((wxPyHtmlListBox
*) x
));
32056 static void *_p_wxTipWindowTo_p_wxPyPopupTransientWindow(void *x
) {
32057 return (void *)((wxPyPopupTransientWindow
*) ((wxTipWindow
*) x
));
32059 static void *_p_wxPyPopupTransientWindowTo_p_wxPopupWindow(void *x
) {
32060 return (void *)((wxPopupWindow
*) ((wxPyPopupTransientWindow
*) x
));
32062 static void *_p_wxTipWindowTo_p_wxPopupWindow(void *x
) {
32063 return (void *)((wxPopupWindow
*) (wxPyPopupTransientWindow
*) ((wxTipWindow
*) x
));
32065 static void *_p_wxSashLayoutWindowTo_p_wxSashWindow(void *x
) {
32066 return (void *)((wxSashWindow
*) ((wxSashLayoutWindow
*) x
));
32068 static void *_p_wxFrameTo_p_wxTopLevelWindow(void *x
) {
32069 return (void *)((wxTopLevelWindow
*) ((wxFrame
*) x
));
32071 static void *_p_wxMiniFrameTo_p_wxTopLevelWindow(void *x
) {
32072 return (void *)((wxTopLevelWindow
*) (wxFrame
*) ((wxMiniFrame
*) x
));
32074 static void *_p_wxFontDialogTo_p_wxTopLevelWindow(void *x
) {
32075 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxFontDialog
*) x
));
32077 static void *_p_wxDirDialogTo_p_wxTopLevelWindow(void *x
) {
32078 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxDirDialog
*) x
));
32080 static void *_p_wxColourDialogTo_p_wxTopLevelWindow(void *x
) {
32081 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxColourDialog
*) x
));
32083 static void *_p_wxDialogTo_p_wxTopLevelWindow(void *x
) {
32084 return (void *)((wxTopLevelWindow
*) ((wxDialog
*) x
));
32086 static void *_p_wxSplashScreenTo_p_wxTopLevelWindow(void *x
) {
32087 return (void *)((wxTopLevelWindow
*) (wxFrame
*) ((wxSplashScreen
*) x
));
32089 static void *_p_wxMDIParentFrameTo_p_wxTopLevelWindow(void *x
) {
32090 return (void *)((wxTopLevelWindow
*) (wxFrame
*) ((wxMDIParentFrame
*) x
));
32092 static void *_p_wxMDIChildFrameTo_p_wxTopLevelWindow(void *x
) {
32093 return (void *)((wxTopLevelWindow
*) (wxFrame
*) ((wxMDIChildFrame
*) x
));
32095 static void *_p_wxProgressDialogTo_p_wxTopLevelWindow(void *x
) {
32096 return (void *)((wxTopLevelWindow
*) (wxFrame
*) ((wxProgressDialog
*) x
));
32098 static void *_p_wxMessageDialogTo_p_wxTopLevelWindow(void *x
) {
32099 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxMessageDialog
*) x
));
32101 static void *_p_wxPasswordEntryDialogTo_p_wxTopLevelWindow(void *x
) {
32102 return (void *)((wxTopLevelWindow
*) (wxDialog
*)(wxTextEntryDialog
*) ((wxPasswordEntryDialog
*) x
));
32104 static void *_p_wxTextEntryDialogTo_p_wxTopLevelWindow(void *x
) {
32105 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxTextEntryDialog
*) x
));
32107 static void *_p_wxSingleChoiceDialogTo_p_wxTopLevelWindow(void *x
) {
32108 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxSingleChoiceDialog
*) x
));
32110 static void *_p_wxMultiChoiceDialogTo_p_wxTopLevelWindow(void *x
) {
32111 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxMultiChoiceDialog
*) x
));
32113 static void *_p_wxFileDialogTo_p_wxTopLevelWindow(void *x
) {
32114 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxFileDialog
*) x
));
32116 static void *_p_wxFindReplaceDialogTo_p_wxTopLevelWindow(void *x
) {
32117 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxFindReplaceDialog
*) x
));
32119 static void *_p_wxPreviewFrameTo_p_wxTopLevelWindow(void *x
) {
32120 return (void *)((wxTopLevelWindow
*) (wxFrame
*) ((wxPreviewFrame
*) x
));
32122 static void *_p_wxPyPreviewFrameTo_p_wxTopLevelWindow(void *x
) {
32123 return (void *)((wxTopLevelWindow
*) (wxFrame
*)(wxPreviewFrame
*) ((wxPyPreviewFrame
*) x
));
32125 static void *_p_wxSplashScreenTo_p_wxWindow(void *x
) {
32126 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxSplashScreen
*) x
));
32128 static void *_p_wxMiniFrameTo_p_wxWindow(void *x
) {
32129 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxMiniFrame
*) x
));
32131 static void *_p_wxPyPanelTo_p_wxWindow(void *x
) {
32132 return (void *)((wxWindow
*) (wxPanel
*) ((wxPyPanel
*) x
));
32134 static void *_p_wxMenuBarTo_p_wxWindow(void *x
) {
32135 return (void *)((wxWindow
*) ((wxMenuBar
*) x
));
32137 static void *_p_wxFindReplaceDialogTo_p_wxWindow(void *x
) {
32138 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxFindReplaceDialog
*) x
));
32140 static void *_p_wxProgressDialogTo_p_wxWindow(void *x
) {
32141 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxProgressDialog
*) x
));
32143 static void *_p_wxMessageDialogTo_p_wxWindow(void *x
) {
32144 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxMessageDialog
*) x
));
32146 static void *_p_wxPasswordEntryDialogTo_p_wxWindow(void *x
) {
32147 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*)(wxTextEntryDialog
*) ((wxPasswordEntryDialog
*) x
));
32149 static void *_p_wxTextEntryDialogTo_p_wxWindow(void *x
) {
32150 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxTextEntryDialog
*) x
));
32152 static void *_p_wxSingleChoiceDialogTo_p_wxWindow(void *x
) {
32153 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxSingleChoiceDialog
*) x
));
32155 static void *_p_wxMultiChoiceDialogTo_p_wxWindow(void *x
) {
32156 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxMultiChoiceDialog
*) x
));
32158 static void *_p_wxFileDialogTo_p_wxWindow(void *x
) {
32159 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxFileDialog
*) x
));
32161 static void *_p_wxPanelTo_p_wxWindow(void *x
) {
32162 return (void *)((wxWindow
*) ((wxPanel
*) x
));
32164 static void *_p_wxStatusBarTo_p_wxWindow(void *x
) {
32165 return (void *)((wxWindow
*) ((wxStatusBar
*) x
));
32167 static void *_p_wxPyVScrolledWindowTo_p_wxWindow(void *x
) {
32168 return (void *)((wxWindow
*) (wxPanel
*) ((wxPyVScrolledWindow
*) x
));
32170 static void *_p_wxTipWindowTo_p_wxWindow(void *x
) {
32171 return (void *)((wxWindow
*) (wxPopupWindow
*)(wxPyPopupTransientWindow
*) ((wxTipWindow
*) x
));
32173 static void *_p_wxPyPopupTransientWindowTo_p_wxWindow(void *x
) {
32174 return (void *)((wxWindow
*) (wxPopupWindow
*) ((wxPyPopupTransientWindow
*) x
));
32176 static void *_p_wxPopupWindowTo_p_wxWindow(void *x
) {
32177 return (void *)((wxWindow
*) ((wxPopupWindow
*) x
));
32179 static void *_p_wxSashLayoutWindowTo_p_wxWindow(void *x
) {
32180 return (void *)((wxWindow
*) (wxSashWindow
*) ((wxSashLayoutWindow
*) x
));
32182 static void *_p_wxScrolledWindowTo_p_wxWindow(void *x
) {
32183 return (void *)((wxWindow
*) (wxPanel
*) ((wxScrolledWindow
*) x
));
32185 static void *_p_wxTopLevelWindowTo_p_wxWindow(void *x
) {
32186 return (void *)((wxWindow
*) ((wxTopLevelWindow
*) x
));
32188 static void *_p_wxSplashScreenWindowTo_p_wxWindow(void *x
) {
32189 return (void *)((wxWindow
*) ((wxSplashScreenWindow
*) x
));
32191 static void *_p_wxSplitterWindowTo_p_wxWindow(void *x
) {
32192 return (void *)((wxWindow
*) ((wxSplitterWindow
*) x
));
32194 static void *_p_wxSashWindowTo_p_wxWindow(void *x
) {
32195 return (void *)((wxWindow
*) ((wxSashWindow
*) x
));
32197 static void *_p_wxMDIClientWindowTo_p_wxWindow(void *x
) {
32198 return (void *)((wxWindow
*) ((wxMDIClientWindow
*) x
));
32200 static void *_p_wxPyScrolledWindowTo_p_wxWindow(void *x
) {
32201 return (void *)((wxWindow
*) (wxPanel
*)(wxScrolledWindow
*) ((wxPyScrolledWindow
*) x
));
32203 static void *_p_wxControlTo_p_wxWindow(void *x
) {
32204 return (void *)((wxWindow
*) ((wxControl
*) x
));
32206 static void *_p_wxPreviewFrameTo_p_wxWindow(void *x
) {
32207 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxPreviewFrame
*) x
));
32209 static void *_p_wxPyPreviewFrameTo_p_wxWindow(void *x
) {
32210 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*)(wxPreviewFrame
*) ((wxPyPreviewFrame
*) x
));
32212 static void *_p_wxMDIChildFrameTo_p_wxWindow(void *x
) {
32213 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxMDIChildFrame
*) x
));
32215 static void *_p_wxControlWithItemsTo_p_wxWindow(void *x
) {
32216 return (void *)((wxWindow
*) (wxControl
*) ((wxControlWithItems
*) x
));
32218 static void *_p_wxPyWindowTo_p_wxWindow(void *x
) {
32219 return (void *)((wxWindow
*) ((wxPyWindow
*) x
));
32221 static void *_p_wxPreviewCanvasTo_p_wxWindow(void *x
) {
32222 return (void *)((wxWindow
*) (wxPanel
*)(wxScrolledWindow
*) ((wxPreviewCanvas
*) x
));
32224 static void *_p_wxPyHtmlListBoxTo_p_wxWindow(void *x
) {
32225 return (void *)((wxWindow
*) (wxPanel
*)(wxPyVScrolledWindow
*)(wxPyVListBox
*) ((wxPyHtmlListBox
*) x
));
32227 static void *_p_wxPyVListBoxTo_p_wxWindow(void *x
) {
32228 return (void *)((wxWindow
*) (wxPanel
*)(wxPyVScrolledWindow
*) ((wxPyVListBox
*) x
));
32230 static void *_p_wxPreviewControlBarTo_p_wxWindow(void *x
) {
32231 return (void *)((wxWindow
*) (wxPanel
*) ((wxPreviewControlBar
*) x
));
32233 static void *_p_wxPyPreviewControlBarTo_p_wxWindow(void *x
) {
32234 return (void *)((wxWindow
*) (wxPanel
*)(wxPreviewControlBar
*) ((wxPyPreviewControlBar
*) x
));
32236 static void *_p_wxFrameTo_p_wxWindow(void *x
) {
32237 return (void *)((wxWindow
*) (wxTopLevelWindow
*) ((wxFrame
*) x
));
32239 static void *_p_wxFontDialogTo_p_wxWindow(void *x
) {
32240 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxFontDialog
*) x
));
32242 static void *_p_wxDirDialogTo_p_wxWindow(void *x
) {
32243 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxDirDialog
*) x
));
32245 static void *_p_wxColourDialogTo_p_wxWindow(void *x
) {
32246 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxColourDialog
*) x
));
32248 static void *_p_wxDialogTo_p_wxWindow(void *x
) {
32249 return (void *)((wxWindow
*) (wxTopLevelWindow
*) ((wxDialog
*) x
));
32251 static void *_p_wxMDIParentFrameTo_p_wxWindow(void *x
) {
32252 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxMDIParentFrame
*) x
));
32254 static void *_p_wxPyScrolledWindowTo_p_wxScrolledWindow(void *x
) {
32255 return (void *)((wxScrolledWindow
*) ((wxPyScrolledWindow
*) x
));
32257 static void *_p_wxPreviewCanvasTo_p_wxScrolledWindow(void *x
) {
32258 return (void *)((wxScrolledWindow
*) ((wxPreviewCanvas
*) x
));
32260 static void *_p_wxPyPrintPreviewTo_p_wxPrintPreview(void *x
) {
32261 return (void *)((wxPrintPreview
*) ((wxPyPrintPreview
*) x
));
32263 static void *_p_wxColourDialogTo_p_wxDialog(void *x
) {
32264 return (void *)((wxDialog
*) ((wxColourDialog
*) x
));
32266 static void *_p_wxDirDialogTo_p_wxDialog(void *x
) {
32267 return (void *)((wxDialog
*) ((wxDirDialog
*) x
));
32269 static void *_p_wxFontDialogTo_p_wxDialog(void *x
) {
32270 return (void *)((wxDialog
*) ((wxFontDialog
*) x
));
32272 static void *_p_wxFileDialogTo_p_wxDialog(void *x
) {
32273 return (void *)((wxDialog
*) ((wxFileDialog
*) x
));
32275 static void *_p_wxMultiChoiceDialogTo_p_wxDialog(void *x
) {
32276 return (void *)((wxDialog
*) ((wxMultiChoiceDialog
*) x
));
32278 static void *_p_wxSingleChoiceDialogTo_p_wxDialog(void *x
) {
32279 return (void *)((wxDialog
*) ((wxSingleChoiceDialog
*) x
));
32281 static void *_p_wxTextEntryDialogTo_p_wxDialog(void *x
) {
32282 return (void *)((wxDialog
*) ((wxTextEntryDialog
*) x
));
32284 static void *_p_wxPasswordEntryDialogTo_p_wxDialog(void *x
) {
32285 return (void *)((wxDialog
*) (wxTextEntryDialog
*) ((wxPasswordEntryDialog
*) x
));
32287 static void *_p_wxMessageDialogTo_p_wxDialog(void *x
) {
32288 return (void *)((wxDialog
*) ((wxMessageDialog
*) x
));
32290 static void *_p_wxFindReplaceDialogTo_p_wxDialog(void *x
) {
32291 return (void *)((wxDialog
*) ((wxFindReplaceDialog
*) x
));
32293 static void *_p_wxScrolledWindowTo_p_wxPanel(void *x
) {
32294 return (void *)((wxPanel
*) ((wxScrolledWindow
*) x
));
32296 static void *_p_wxPyVScrolledWindowTo_p_wxPanel(void *x
) {
32297 return (void *)((wxPanel
*) ((wxPyVScrolledWindow
*) x
));
32299 static void *_p_wxPyScrolledWindowTo_p_wxPanel(void *x
) {
32300 return (void *)((wxPanel
*) (wxScrolledWindow
*) ((wxPyScrolledWindow
*) x
));
32302 static void *_p_wxPyVListBoxTo_p_wxPanel(void *x
) {
32303 return (void *)((wxPanel
*) (wxPyVScrolledWindow
*) ((wxPyVListBox
*) x
));
32305 static void *_p_wxPyHtmlListBoxTo_p_wxPanel(void *x
) {
32306 return (void *)((wxPanel
*) (wxPyVScrolledWindow
*)(wxPyVListBox
*) ((wxPyHtmlListBox
*) x
));
32308 static void *_p_wxPyPanelTo_p_wxPanel(void *x
) {
32309 return (void *)((wxPanel
*) ((wxPyPanel
*) x
));
32311 static void *_p_wxPreviewCanvasTo_p_wxPanel(void *x
) {
32312 return (void *)((wxPanel
*) (wxScrolledWindow
*) ((wxPreviewCanvas
*) x
));
32314 static void *_p_wxPreviewControlBarTo_p_wxPanel(void *x
) {
32315 return (void *)((wxPanel
*) ((wxPreviewControlBar
*) x
));
32317 static void *_p_wxPyPreviewControlBarTo_p_wxPanel(void *x
) {
32318 return (void *)((wxPanel
*) (wxPreviewControlBar
*) ((wxPyPreviewControlBar
*) x
));
32320 static void *_p_wxChildFocusEventTo_p_wxCommandEvent(void *x
) {
32321 return (void *)((wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
32323 static void *_p_wxScrollEventTo_p_wxCommandEvent(void *x
) {
32324 return (void *)((wxCommandEvent
*) ((wxScrollEvent
*) x
));
32326 static void *_p_wxWindowCreateEventTo_p_wxCommandEvent(void *x
) {
32327 return (void *)((wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
32329 static void *_p_wxDateEventTo_p_wxCommandEvent(void *x
) {
32330 return (void *)((wxCommandEvent
*) ((wxDateEvent
*) x
));
32332 static void *_p_wxUpdateUIEventTo_p_wxCommandEvent(void *x
) {
32333 return (void *)((wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
32335 static void *_p_wxFindDialogEventTo_p_wxCommandEvent(void *x
) {
32336 return (void *)((wxCommandEvent
*) ((wxFindDialogEvent
*) x
));
32338 static void *_p_wxWindowDestroyEventTo_p_wxCommandEvent(void *x
) {
32339 return (void *)((wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
32341 static void *_p_wxContextMenuEventTo_p_wxCommandEvent(void *x
) {
32342 return (void *)((wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
32344 static void *_p_wxSplitterEventTo_p_wxCommandEvent(void *x
) {
32345 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*) ((wxSplitterEvent
*) x
));
32347 static void *_p_wxNotifyEventTo_p_wxCommandEvent(void *x
) {
32348 return (void *)((wxCommandEvent
*) ((wxNotifyEvent
*) x
));
32350 static void *_p_wxPyCommandEventTo_p_wxCommandEvent(void *x
) {
32351 return (void *)((wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
32353 static void *_p_wxSashEventTo_p_wxCommandEvent(void *x
) {
32354 return (void *)((wxCommandEvent
*) ((wxSashEvent
*) x
));
32356 static void *_p_wxPyPreviewControlBarTo_p_wxPreviewControlBar(void *x
) {
32357 return (void *)((wxPreviewControlBar
*) ((wxPyPreviewControlBar
*) x
));
32359 static swig_type_info _swigt__p_char
= {"_p_char", "char *", 0, 0, (void*)0, 0};
32360 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};
32361 static swig_type_info _swigt__p_int
= {"_p_int", "int *", 0, 0, (void*)0, 0};
32362 static swig_type_info _swigt__p_unsigned_char
= {"_p_unsigned_char", "unsigned char *|byte *", 0, 0, (void*)0, 0};
32363 static swig_type_info _swigt__p_unsigned_int
= {"_p_unsigned_int", "unsigned int *|time_t *", 0, 0, (void*)0, 0};
32364 static swig_type_info _swigt__p_unsigned_long
= {"_p_unsigned_long", "unsigned long *|wxUIntPtr *", 0, 0, (void*)0, 0};
32365 static swig_type_info _swigt__p_wxArrayInt
= {"_p_wxArrayInt", "wxArrayInt *", 0, 0, (void*)0, 0};
32366 static swig_type_info _swigt__p_wxBitmap
= {"_p_wxBitmap", "wxBitmap *", 0, 0, (void*)0, 0};
32367 static swig_type_info _swigt__p_wxCalculateLayoutEvent
= {"_p_wxCalculateLayoutEvent", "wxCalculateLayoutEvent *", 0, 0, (void*)0, 0};
32368 static swig_type_info _swigt__p_wxColour
= {"_p_wxColour", "wxColour *", 0, 0, (void*)0, 0};
32369 static swig_type_info _swigt__p_wxColourData
= {"_p_wxColourData", "wxColourData *", 0, 0, (void*)0, 0};
32370 static swig_type_info _swigt__p_wxColourDialog
= {"_p_wxColourDialog", "wxColourDialog *", 0, 0, (void*)0, 0};
32371 static swig_type_info _swigt__p_wxCommandEvent
= {"_p_wxCommandEvent", "wxCommandEvent *", 0, 0, (void*)0, 0};
32372 static swig_type_info _swigt__p_wxChildFocusEvent
= {"_p_wxChildFocusEvent", 0, 0, 0, 0, 0};
32373 static swig_type_info _swigt__p_wxScrollEvent
= {"_p_wxScrollEvent", 0, 0, 0, 0, 0};
32374 static swig_type_info _swigt__p_wxWindowCreateEvent
= {"_p_wxWindowCreateEvent", 0, 0, 0, 0, 0};
32375 static swig_type_info _swigt__p_wxDateEvent
= {"_p_wxDateEvent", 0, 0, 0, 0, 0};
32376 static swig_type_info _swigt__p_wxUpdateUIEvent
= {"_p_wxUpdateUIEvent", 0, 0, 0, 0, 0};
32377 static swig_type_info _swigt__p_wxWindowDestroyEvent
= {"_p_wxWindowDestroyEvent", 0, 0, 0, 0, 0};
32378 static swig_type_info _swigt__p_wxContextMenuEvent
= {"_p_wxContextMenuEvent", 0, 0, 0, 0, 0};
32379 static swig_type_info _swigt__p_wxPyCommandEvent
= {"_p_wxPyCommandEvent", 0, 0, 0, 0, 0};
32380 static swig_type_info _swigt__p_wxDC
= {"_p_wxDC", "wxDC *", 0, 0, (void*)0, 0};
32381 static swig_type_info _swigt__p_wxDialog
= {"_p_wxDialog", "wxDialog *", 0, 0, (void*)0, 0};
32382 static swig_type_info _swigt__p_wxDirDialog
= {"_p_wxDirDialog", "wxDirDialog *", 0, 0, (void*)0, 0};
32383 static swig_type_info _swigt__p_wxDuplexMode
= {"_p_wxDuplexMode", "enum wxDuplexMode *|wxDuplexMode *", 0, 0, (void*)0, 0};
32384 static swig_type_info _swigt__p_wxEvent
= {"_p_wxEvent", "wxEvent *", 0, 0, (void*)0, 0};
32385 static swig_type_info _swigt__p_wxMenuEvent
= {"_p_wxMenuEvent", 0, 0, 0, 0, 0};
32386 static swig_type_info _swigt__p_wxCloseEvent
= {"_p_wxCloseEvent", 0, 0, 0, 0, 0};
32387 static swig_type_info _swigt__p_wxMouseEvent
= {"_p_wxMouseEvent", 0, 0, 0, 0, 0};
32388 static swig_type_info _swigt__p_wxEraseEvent
= {"_p_wxEraseEvent", 0, 0, 0, 0, 0};
32389 static swig_type_info _swigt__p_wxSetCursorEvent
= {"_p_wxSetCursorEvent", 0, 0, 0, 0, 0};
32390 static swig_type_info _swigt__p_wxInitDialogEvent
= {"_p_wxInitDialogEvent", 0, 0, 0, 0, 0};
32391 static swig_type_info _swigt__p_wxPyEvent
= {"_p_wxPyEvent", 0, 0, 0, 0, 0};
32392 static swig_type_info _swigt__p_wxIdleEvent
= {"_p_wxIdleEvent", 0, 0, 0, 0, 0};
32393 static swig_type_info _swigt__p_wxQueryNewPaletteEvent
= {"_p_wxQueryNewPaletteEvent", 0, 0, 0, 0, 0};
32394 static swig_type_info _swigt__p_wxMaximizeEvent
= {"_p_wxMaximizeEvent", 0, 0, 0, 0, 0};
32395 static swig_type_info _swigt__p_wxIconizeEvent
= {"_p_wxIconizeEvent", 0, 0, 0, 0, 0};
32396 static swig_type_info _swigt__p_wxActivateEvent
= {"_p_wxActivateEvent", 0, 0, 0, 0, 0};
32397 static swig_type_info _swigt__p_wxSizeEvent
= {"_p_wxSizeEvent", 0, 0, 0, 0, 0};
32398 static swig_type_info _swigt__p_wxMoveEvent
= {"_p_wxMoveEvent", 0, 0, 0, 0, 0};
32399 static swig_type_info _swigt__p_wxPaintEvent
= {"_p_wxPaintEvent", 0, 0, 0, 0, 0};
32400 static swig_type_info _swigt__p_wxNcPaintEvent
= {"_p_wxNcPaintEvent", 0, 0, 0, 0, 0};
32401 static swig_type_info _swigt__p_wxPaletteChangedEvent
= {"_p_wxPaletteChangedEvent", 0, 0, 0, 0, 0};
32402 static swig_type_info _swigt__p_wxDisplayChangedEvent
= {"_p_wxDisplayChangedEvent", 0, 0, 0, 0, 0};
32403 static swig_type_info _swigt__p_wxMouseCaptureChangedEvent
= {"_p_wxMouseCaptureChangedEvent", 0, 0, 0, 0, 0};
32404 static swig_type_info _swigt__p_wxSysColourChangedEvent
= {"_p_wxSysColourChangedEvent", 0, 0, 0, 0, 0};
32405 static swig_type_info _swigt__p_wxDropFilesEvent
= {"_p_wxDropFilesEvent", 0, 0, 0, 0, 0};
32406 static swig_type_info _swigt__p_wxFocusEvent
= {"_p_wxFocusEvent", 0, 0, 0, 0, 0};
32407 static swig_type_info _swigt__p_wxShowEvent
= {"_p_wxShowEvent", 0, 0, 0, 0, 0};
32408 static swig_type_info _swigt__p_wxNavigationKeyEvent
= {"_p_wxNavigationKeyEvent", 0, 0, 0, 0, 0};
32409 static swig_type_info _swigt__p_wxKeyEvent
= {"_p_wxKeyEvent", 0, 0, 0, 0, 0};
32410 static swig_type_info _swigt__p_wxEvtHandler
= {"_p_wxEvtHandler", "wxEvtHandler *", 0, 0, (void*)0, 0};
32411 static swig_type_info _swigt__p_wxValidator
= {"_p_wxValidator", 0, 0, 0, 0, 0};
32412 static swig_type_info _swigt__p_wxPyValidator
= {"_p_wxPyValidator", 0, 0, 0, 0, 0};
32413 static swig_type_info _swigt__p_wxControl
= {"_p_wxControl", 0, 0, 0, 0, 0};
32414 static swig_type_info _swigt__p_wxPyApp
= {"_p_wxPyApp", 0, 0, 0, 0, 0};
32415 static swig_type_info _swigt__p_wxControlWithItems
= {"_p_wxControlWithItems", 0, 0, 0, 0, 0};
32416 static swig_type_info _swigt__p_wxFileDialog
= {"_p_wxFileDialog", "wxFileDialog *", 0, 0, (void*)0, 0};
32417 static swig_type_info _swigt__p_wxFileSystem
= {"_p_wxFileSystem", "wxFileSystem *", 0, 0, (void*)0, 0};
32418 static swig_type_info _swigt__p_wxFindDialogEvent
= {"_p_wxFindDialogEvent", "wxFindDialogEvent *", 0, 0, (void*)0, 0};
32419 static swig_type_info _swigt__p_wxFindReplaceData
= {"_p_wxFindReplaceData", "wxFindReplaceData *", 0, 0, (void*)0, 0};
32420 static swig_type_info _swigt__p_wxFindReplaceDialog
= {"_p_wxFindReplaceDialog", "wxFindReplaceDialog *", 0, 0, (void*)0, 0};
32421 static swig_type_info _swigt__p_wxFont
= {"_p_wxFont", "wxFont *", 0, 0, (void*)0, 0};
32422 static swig_type_info _swigt__p_wxFontData
= {"_p_wxFontData", "wxFontData *", 0, 0, (void*)0, 0};
32423 static swig_type_info _swigt__p_wxFontDialog
= {"_p_wxFontDialog", "wxFontDialog *", 0, 0, (void*)0, 0};
32424 static swig_type_info _swigt__p_wxFrame
= {"_p_wxFrame", "wxFrame *", 0, 0, (void*)0, 0};
32425 static swig_type_info _swigt__p_wxIcon
= {"_p_wxIcon", "wxIcon *", 0, 0, (void*)0, 0};
32426 static swig_type_info _swigt__p_wxIconBundle
= {"_p_wxIconBundle", "wxIconBundle *", 0, 0, (void*)0, 0};
32427 static swig_type_info _swigt__p_wxLayoutAlgorithm
= {"_p_wxLayoutAlgorithm", "wxLayoutAlgorithm *", 0, 0, (void*)0, 0};
32428 static swig_type_info _swigt__p_wxMDIChildFrame
= {"_p_wxMDIChildFrame", "wxMDIChildFrame *", 0, 0, (void*)0, 0};
32429 static swig_type_info _swigt__p_wxMDIClientWindow
= {"_p_wxMDIClientWindow", "wxMDIClientWindow *", 0, 0, (void*)0, 0};
32430 static swig_type_info _swigt__p_wxMDIParentFrame
= {"_p_wxMDIParentFrame", "wxMDIParentFrame *", 0, 0, (void*)0, 0};
32431 static swig_type_info _swigt__p_wxMenu
= {"_p_wxMenu", "wxMenu *", 0, 0, (void*)0, 0};
32432 static swig_type_info _swigt__p_wxMenuBar
= {"_p_wxMenuBar", "wxMenuBar *", 0, 0, (void*)0, 0};
32433 static swig_type_info _swigt__p_wxMessageDialog
= {"_p_wxMessageDialog", "wxMessageDialog *", 0, 0, (void*)0, 0};
32434 static swig_type_info _swigt__p_wxMiniFrame
= {"_p_wxMiniFrame", "wxMiniFrame *", 0, 0, (void*)0, 0};
32435 static swig_type_info _swigt__p_wxMultiChoiceDialog
= {"_p_wxMultiChoiceDialog", "wxMultiChoiceDialog *", 0, 0, (void*)0, 0};
32436 static swig_type_info _swigt__p_wxNotifyEvent
= {"_p_wxNotifyEvent", "wxNotifyEvent *", 0, 0, (void*)0, 0};
32437 static swig_type_info _swigt__p_wxObject
= {"_p_wxObject", "wxObject *", 0, 0, (void*)0, 0};
32438 static swig_type_info _swigt__p_wxLayoutConstraints
= {"_p_wxLayoutConstraints", 0, 0, 0, 0, 0};
32439 static swig_type_info _swigt__p_wxGBSizerItem
= {"_p_wxGBSizerItem", 0, 0, 0, 0, 0};
32440 static swig_type_info _swigt__p_wxSizerItem
= {"_p_wxSizerItem", 0, 0, 0, 0, 0};
32441 static swig_type_info _swigt__p_wxIndividualLayoutConstraint
= {"_p_wxIndividualLayoutConstraint", 0, 0, 0, 0, 0};
32442 static swig_type_info _swigt__p_wxStaticBoxSizer
= {"_p_wxStaticBoxSizer", 0, 0, 0, 0, 0};
32443 static swig_type_info _swigt__p_wxBoxSizer
= {"_p_wxBoxSizer", 0, 0, 0, 0, 0};
32444 static swig_type_info _swigt__p_wxSizer
= {"_p_wxSizer", 0, 0, 0, 0, 0};
32445 static swig_type_info _swigt__p_wxGridBagSizer
= {"_p_wxGridBagSizer", 0, 0, 0, 0, 0};
32446 static swig_type_info _swigt__p_wxGridSizer
= {"_p_wxGridSizer", 0, 0, 0, 0, 0};
32447 static swig_type_info _swigt__p_wxFlexGridSizer
= {"_p_wxFlexGridSizer", 0, 0, 0, 0, 0};
32448 static swig_type_info _swigt__p_wxFSFile
= {"_p_wxFSFile", 0, 0, 0, 0, 0};
32449 static swig_type_info _swigt__p_wxPySizer
= {"_p_wxPySizer", 0, 0, 0, 0, 0};
32450 static swig_type_info _swigt__p_wxMenuItem
= {"_p_wxMenuItem", 0, 0, 0, 0, 0};
32451 static swig_type_info _swigt__p_wxImageHandler
= {"_p_wxImageHandler", 0, 0, 0, 0, 0};
32452 static swig_type_info _swigt__p_wxPyImageHandler
= {"_p_wxPyImageHandler", 0, 0, 0, 0, 0};
32453 static swig_type_info _swigt__p_wxBMPHandler
= {"_p_wxBMPHandler", 0, 0, 0, 0, 0};
32454 static swig_type_info _swigt__p_wxICOHandler
= {"_p_wxICOHandler", 0, 0, 0, 0, 0};
32455 static swig_type_info _swigt__p_wxCURHandler
= {"_p_wxCURHandler", 0, 0, 0, 0, 0};
32456 static swig_type_info _swigt__p_wxANIHandler
= {"_p_wxANIHandler", 0, 0, 0, 0, 0};
32457 static swig_type_info _swigt__p_wxPNGHandler
= {"_p_wxPNGHandler", 0, 0, 0, 0, 0};
32458 static swig_type_info _swigt__p_wxGIFHandler
= {"_p_wxGIFHandler", 0, 0, 0, 0, 0};
32459 static swig_type_info _swigt__p_wxPCXHandler
= {"_p_wxPCXHandler", 0, 0, 0, 0, 0};
32460 static swig_type_info _swigt__p_wxJPEGHandler
= {"_p_wxJPEGHandler", 0, 0, 0, 0, 0};
32461 static swig_type_info _swigt__p_wxPNMHandler
= {"_p_wxPNMHandler", 0, 0, 0, 0, 0};
32462 static swig_type_info _swigt__p_wxXPMHandler
= {"_p_wxXPMHandler", 0, 0, 0, 0, 0};
32463 static swig_type_info _swigt__p_wxTIFFHandler
= {"_p_wxTIFFHandler", 0, 0, 0, 0, 0};
32464 static swig_type_info _swigt__p_wxAcceleratorTable
= {"_p_wxAcceleratorTable", 0, 0, 0, 0, 0};
32465 static swig_type_info _swigt__p_wxImage
= {"_p_wxImage", 0, 0, 0, 0, 0};
32466 static swig_type_info _swigt__p_wxPageSetupDialog
= {"_p_wxPageSetupDialog", "wxPageSetupDialog *", 0, 0, (void*)0, 0};
32467 static swig_type_info _swigt__p_wxPageSetupDialogData
= {"_p_wxPageSetupDialogData", "wxPageSetupDialogData *", 0, 0, (void*)0, 0};
32468 static swig_type_info _swigt__p_wxPanel
= {"_p_wxPanel", "wxPanel *", 0, 0, (void*)0, 0};
32469 static swig_type_info _swigt__p_wxPaperSize
= {"_p_wxPaperSize", "enum wxPaperSize *|wxPaperSize *", 0, 0, (void*)0, 0};
32470 static swig_type_info _swigt__p_wxPasswordEntryDialog
= {"_p_wxPasswordEntryDialog", "wxPasswordEntryDialog *", 0, 0, (void*)0, 0};
32471 static swig_type_info _swigt__p_wxPoint
= {"_p_wxPoint", "wxPoint *", 0, 0, (void*)0, 0};
32472 static swig_type_info _swigt__p_wxPopupWindow
= {"_p_wxPopupWindow", "wxPopupWindow *", 0, 0, (void*)0, 0};
32473 static swig_type_info _swigt__p_wxPreviewCanvas
= {"_p_wxPreviewCanvas", "wxPreviewCanvas *", 0, 0, (void*)0, 0};
32474 static swig_type_info _swigt__p_wxPreviewControlBar
= {"_p_wxPreviewControlBar", "wxPreviewControlBar *", 0, 0, (void*)0, 0};
32475 static swig_type_info _swigt__p_wxPreviewFrame
= {"_p_wxPreviewFrame", "wxPreviewFrame *", 0, 0, (void*)0, 0};
32476 static swig_type_info _swigt__p_wxPrintData
= {"_p_wxPrintData", "wxPrintData *", 0, 0, (void*)0, 0};
32477 static swig_type_info _swigt__p_wxPrintDialog
= {"_p_wxPrintDialog", "wxPrintDialog *", 0, 0, (void*)0, 0};
32478 static swig_type_info _swigt__p_wxPrintDialogData
= {"_p_wxPrintDialogData", "wxPrintDialogData *", 0, 0, (void*)0, 0};
32479 static swig_type_info _swigt__p_wxPrintPreview
= {"_p_wxPrintPreview", "wxPrintPreview *", 0, 0, (void*)0, 0};
32480 static swig_type_info _swigt__p_wxPrinter
= {"_p_wxPrinter", "wxPrinter *", 0, 0, (void*)0, 0};
32481 static swig_type_info _swigt__p_wxProgressDialog
= {"_p_wxProgressDialog", "wxProgressDialog *", 0, 0, (void*)0, 0};
32482 static swig_type_info _swigt__p_wxPyHtmlListBox
= {"_p_wxPyHtmlListBox", "wxPyHtmlListBox *", 0, 0, (void*)0, 0};
32483 static swig_type_info _swigt__p_wxPyPanel
= {"_p_wxPyPanel", "wxPyPanel *", 0, 0, (void*)0, 0};
32484 static swig_type_info _swigt__p_wxPyPopupTransientWindow
= {"_p_wxPyPopupTransientWindow", "wxPyPopupTransientWindow *", 0, 0, (void*)0, 0};
32485 static swig_type_info _swigt__p_wxPyPreviewControlBar
= {"_p_wxPyPreviewControlBar", "wxPyPreviewControlBar *", 0, 0, (void*)0, 0};
32486 static swig_type_info _swigt__p_wxPyPreviewFrame
= {"_p_wxPyPreviewFrame", "wxPyPreviewFrame *", 0, 0, (void*)0, 0};
32487 static swig_type_info _swigt__p_wxPyPrintPreview
= {"_p_wxPyPrintPreview", "wxPyPrintPreview *", 0, 0, (void*)0, 0};
32488 static swig_type_info _swigt__p_wxPyPrintout
= {"_p_wxPyPrintout", "wxPyPrintout *", 0, 0, (void*)0, 0};
32489 static swig_type_info _swigt__p_wxPyScrolledWindow
= {"_p_wxPyScrolledWindow", "wxPyScrolledWindow *", 0, 0, (void*)0, 0};
32490 static swig_type_info _swigt__p_wxPyTaskBarIcon
= {"_p_wxPyTaskBarIcon", "wxPyTaskBarIcon *", 0, 0, (void*)0, 0};
32491 static swig_type_info _swigt__p_wxPyVListBox
= {"_p_wxPyVListBox", "wxPyVListBox *", 0, 0, (void*)0, 0};
32492 static swig_type_info _swigt__p_wxPyVScrolledWindow
= {"_p_wxPyVScrolledWindow", "wxPyVScrolledWindow *", 0, 0, (void*)0, 0};
32493 static swig_type_info _swigt__p_wxPyWindow
= {"_p_wxPyWindow", "wxPyWindow *", 0, 0, (void*)0, 0};
32494 static swig_type_info _swigt__p_wxQueryLayoutInfoEvent
= {"_p_wxQueryLayoutInfoEvent", "wxQueryLayoutInfoEvent *", 0, 0, (void*)0, 0};
32495 static swig_type_info _swigt__p_wxRect
= {"_p_wxRect", "wxRect *", 0, 0, (void*)0, 0};
32496 static swig_type_info _swigt__p_wxRegion
= {"_p_wxRegion", "wxRegion *", 0, 0, (void*)0, 0};
32497 static swig_type_info _swigt__p_wxSashEvent
= {"_p_wxSashEvent", "wxSashEvent *", 0, 0, (void*)0, 0};
32498 static swig_type_info _swigt__p_wxSashLayoutWindow
= {"_p_wxSashLayoutWindow", "wxSashLayoutWindow *", 0, 0, (void*)0, 0};
32499 static swig_type_info _swigt__p_wxSashWindow
= {"_p_wxSashWindow", "wxSashWindow *", 0, 0, (void*)0, 0};
32500 static swig_type_info _swigt__p_wxScrollWinEvent
= {"_p_wxScrollWinEvent", "wxScrollWinEvent *", 0, 0, (void*)0, 0};
32501 static swig_type_info _swigt__p_wxScrolledWindow
= {"_p_wxScrolledWindow", "wxScrolledWindow *", 0, 0, (void*)0, 0};
32502 static swig_type_info _swigt__p_wxSingleChoiceDialog
= {"_p_wxSingleChoiceDialog", "wxSingleChoiceDialog *", 0, 0, (void*)0, 0};
32503 static swig_type_info _swigt__p_wxSize
= {"_p_wxSize", "wxSize *", 0, 0, (void*)0, 0};
32504 static swig_type_info _swigt__p_wxSplashScreen
= {"_p_wxSplashScreen", "wxSplashScreen *", 0, 0, (void*)0, 0};
32505 static swig_type_info _swigt__p_wxSplashScreenWindow
= {"_p_wxSplashScreenWindow", "wxSplashScreenWindow *", 0, 0, (void*)0, 0};
32506 static swig_type_info _swigt__p_wxSplitterEvent
= {"_p_wxSplitterEvent", "wxSplitterEvent *", 0, 0, (void*)0, 0};
32507 static swig_type_info _swigt__p_wxSplitterWindow
= {"_p_wxSplitterWindow", "wxSplitterWindow *", 0, 0, (void*)0, 0};
32508 static swig_type_info _swigt__p_wxStatusBar
= {"_p_wxStatusBar", "wxStatusBar *", 0, 0, (void*)0, 0};
32509 static swig_type_info _swigt__p_wxStdDialogButtonSizer
= {"_p_wxStdDialogButtonSizer", "wxStdDialogButtonSizer *", 0, 0, (void*)0, 0};
32510 static swig_type_info _swigt__p_wxString
= {"_p_wxString", "wxString *", 0, 0, (void*)0, 0};
32511 static swig_type_info _swigt__p_wxTaskBarIcon
= {"_p_wxTaskBarIcon", "wxTaskBarIcon *", 0, 0, (void*)0, 0};
32512 static swig_type_info _swigt__p_wxTaskBarIconEvent
= {"_p_wxTaskBarIconEvent", "wxTaskBarIconEvent *", 0, 0, (void*)0, 0};
32513 static swig_type_info _swigt__p_wxTextEntryDialog
= {"_p_wxTextEntryDialog", "wxTextEntryDialog *", 0, 0, (void*)0, 0};
32514 static swig_type_info _swigt__p_wxTipWindow
= {"_p_wxTipWindow", "wxTipWindow *", 0, 0, (void*)0, 0};
32515 static swig_type_info _swigt__p_wxToolBar
= {"_p_wxToolBar", "wxToolBar *", 0, 0, (void*)0, 0};
32516 static swig_type_info _swigt__p_wxTopLevelWindow
= {"_p_wxTopLevelWindow", "wxTopLevelWindow *", 0, 0, (void*)0, 0};
32517 static swig_type_info _swigt__p_wxVisualAttributes
= {"_p_wxVisualAttributes", "wxVisualAttributes *", 0, 0, (void*)0, 0};
32518 static swig_type_info _swigt__p_wxWindow
= {"_p_wxWindow", "wxWindow *", 0, 0, (void*)0, 0};
32520 static swig_type_info
*swig_type_initial
[] = {
32522 &_swigt__p_form_ops_t
,
32524 &_swigt__p_unsigned_char
,
32525 &_swigt__p_unsigned_int
,
32526 &_swigt__p_unsigned_long
,
32527 &_swigt__p_wxANIHandler
,
32528 &_swigt__p_wxAcceleratorTable
,
32529 &_swigt__p_wxActivateEvent
,
32530 &_swigt__p_wxArrayInt
,
32531 &_swigt__p_wxBMPHandler
,
32532 &_swigt__p_wxBitmap
,
32533 &_swigt__p_wxBoxSizer
,
32534 &_swigt__p_wxCURHandler
,
32535 &_swigt__p_wxCalculateLayoutEvent
,
32536 &_swigt__p_wxChildFocusEvent
,
32537 &_swigt__p_wxCloseEvent
,
32538 &_swigt__p_wxColour
,
32539 &_swigt__p_wxColourData
,
32540 &_swigt__p_wxColourDialog
,
32541 &_swigt__p_wxCommandEvent
,
32542 &_swigt__p_wxContextMenuEvent
,
32543 &_swigt__p_wxControl
,
32544 &_swigt__p_wxControlWithItems
,
32546 &_swigt__p_wxDateEvent
,
32547 &_swigt__p_wxDialog
,
32548 &_swigt__p_wxDirDialog
,
32549 &_swigt__p_wxDisplayChangedEvent
,
32550 &_swigt__p_wxDropFilesEvent
,
32551 &_swigt__p_wxDuplexMode
,
32552 &_swigt__p_wxEraseEvent
,
32553 &_swigt__p_wxEvent
,
32554 &_swigt__p_wxEvtHandler
,
32555 &_swigt__p_wxFSFile
,
32556 &_swigt__p_wxFileDialog
,
32557 &_swigt__p_wxFileSystem
,
32558 &_swigt__p_wxFindDialogEvent
,
32559 &_swigt__p_wxFindReplaceData
,
32560 &_swigt__p_wxFindReplaceDialog
,
32561 &_swigt__p_wxFlexGridSizer
,
32562 &_swigt__p_wxFocusEvent
,
32564 &_swigt__p_wxFontData
,
32565 &_swigt__p_wxFontDialog
,
32566 &_swigt__p_wxFrame
,
32567 &_swigt__p_wxGBSizerItem
,
32568 &_swigt__p_wxGIFHandler
,
32569 &_swigt__p_wxGridBagSizer
,
32570 &_swigt__p_wxGridSizer
,
32571 &_swigt__p_wxICOHandler
,
32573 &_swigt__p_wxIconBundle
,
32574 &_swigt__p_wxIconizeEvent
,
32575 &_swigt__p_wxIdleEvent
,
32576 &_swigt__p_wxImage
,
32577 &_swigt__p_wxImageHandler
,
32578 &_swigt__p_wxIndividualLayoutConstraint
,
32579 &_swigt__p_wxInitDialogEvent
,
32580 &_swigt__p_wxJPEGHandler
,
32581 &_swigt__p_wxKeyEvent
,
32582 &_swigt__p_wxLayoutAlgorithm
,
32583 &_swigt__p_wxLayoutConstraints
,
32584 &_swigt__p_wxMDIChildFrame
,
32585 &_swigt__p_wxMDIClientWindow
,
32586 &_swigt__p_wxMDIParentFrame
,
32587 &_swigt__p_wxMaximizeEvent
,
32589 &_swigt__p_wxMenuBar
,
32590 &_swigt__p_wxMenuEvent
,
32591 &_swigt__p_wxMenuItem
,
32592 &_swigt__p_wxMessageDialog
,
32593 &_swigt__p_wxMiniFrame
,
32594 &_swigt__p_wxMouseCaptureChangedEvent
,
32595 &_swigt__p_wxMouseEvent
,
32596 &_swigt__p_wxMoveEvent
,
32597 &_swigt__p_wxMultiChoiceDialog
,
32598 &_swigt__p_wxNavigationKeyEvent
,
32599 &_swigt__p_wxNcPaintEvent
,
32600 &_swigt__p_wxNotifyEvent
,
32601 &_swigt__p_wxObject
,
32602 &_swigt__p_wxPCXHandler
,
32603 &_swigt__p_wxPNGHandler
,
32604 &_swigt__p_wxPNMHandler
,
32605 &_swigt__p_wxPageSetupDialog
,
32606 &_swigt__p_wxPageSetupDialogData
,
32607 &_swigt__p_wxPaintEvent
,
32608 &_swigt__p_wxPaletteChangedEvent
,
32609 &_swigt__p_wxPanel
,
32610 &_swigt__p_wxPaperSize
,
32611 &_swigt__p_wxPasswordEntryDialog
,
32612 &_swigt__p_wxPoint
,
32613 &_swigt__p_wxPopupWindow
,
32614 &_swigt__p_wxPreviewCanvas
,
32615 &_swigt__p_wxPreviewControlBar
,
32616 &_swigt__p_wxPreviewFrame
,
32617 &_swigt__p_wxPrintData
,
32618 &_swigt__p_wxPrintDialog
,
32619 &_swigt__p_wxPrintDialogData
,
32620 &_swigt__p_wxPrintPreview
,
32621 &_swigt__p_wxPrinter
,
32622 &_swigt__p_wxProgressDialog
,
32623 &_swigt__p_wxPyApp
,
32624 &_swigt__p_wxPyCommandEvent
,
32625 &_swigt__p_wxPyEvent
,
32626 &_swigt__p_wxPyHtmlListBox
,
32627 &_swigt__p_wxPyImageHandler
,
32628 &_swigt__p_wxPyPanel
,
32629 &_swigt__p_wxPyPopupTransientWindow
,
32630 &_swigt__p_wxPyPreviewControlBar
,
32631 &_swigt__p_wxPyPreviewFrame
,
32632 &_swigt__p_wxPyPrintPreview
,
32633 &_swigt__p_wxPyPrintout
,
32634 &_swigt__p_wxPyScrolledWindow
,
32635 &_swigt__p_wxPySizer
,
32636 &_swigt__p_wxPyTaskBarIcon
,
32637 &_swigt__p_wxPyVListBox
,
32638 &_swigt__p_wxPyVScrolledWindow
,
32639 &_swigt__p_wxPyValidator
,
32640 &_swigt__p_wxPyWindow
,
32641 &_swigt__p_wxQueryLayoutInfoEvent
,
32642 &_swigt__p_wxQueryNewPaletteEvent
,
32644 &_swigt__p_wxRegion
,
32645 &_swigt__p_wxSashEvent
,
32646 &_swigt__p_wxSashLayoutWindow
,
32647 &_swigt__p_wxSashWindow
,
32648 &_swigt__p_wxScrollEvent
,
32649 &_swigt__p_wxScrollWinEvent
,
32650 &_swigt__p_wxScrolledWindow
,
32651 &_swigt__p_wxSetCursorEvent
,
32652 &_swigt__p_wxShowEvent
,
32653 &_swigt__p_wxSingleChoiceDialog
,
32655 &_swigt__p_wxSizeEvent
,
32656 &_swigt__p_wxSizer
,
32657 &_swigt__p_wxSizerItem
,
32658 &_swigt__p_wxSplashScreen
,
32659 &_swigt__p_wxSplashScreenWindow
,
32660 &_swigt__p_wxSplitterEvent
,
32661 &_swigt__p_wxSplitterWindow
,
32662 &_swigt__p_wxStaticBoxSizer
,
32663 &_swigt__p_wxStatusBar
,
32664 &_swigt__p_wxStdDialogButtonSizer
,
32665 &_swigt__p_wxString
,
32666 &_swigt__p_wxSysColourChangedEvent
,
32667 &_swigt__p_wxTIFFHandler
,
32668 &_swigt__p_wxTaskBarIcon
,
32669 &_swigt__p_wxTaskBarIconEvent
,
32670 &_swigt__p_wxTextEntryDialog
,
32671 &_swigt__p_wxTipWindow
,
32672 &_swigt__p_wxToolBar
,
32673 &_swigt__p_wxTopLevelWindow
,
32674 &_swigt__p_wxUpdateUIEvent
,
32675 &_swigt__p_wxValidator
,
32676 &_swigt__p_wxVisualAttributes
,
32677 &_swigt__p_wxWindow
,
32678 &_swigt__p_wxWindowCreateEvent
,
32679 &_swigt__p_wxWindowDestroyEvent
,
32680 &_swigt__p_wxXPMHandler
,
32683 static swig_cast_info _swigc__p_char
[] = { {&_swigt__p_char
, 0, 0, 0},{0, 0, 0, 0}};
32684 static swig_cast_info _swigc__p_form_ops_t
[] = { {&_swigt__p_form_ops_t
, 0, 0, 0},{0, 0, 0, 0}};
32685 static swig_cast_info _swigc__p_int
[] = { {&_swigt__p_int
, 0, 0, 0},{0, 0, 0, 0}};
32686 static swig_cast_info _swigc__p_unsigned_char
[] = { {&_swigt__p_unsigned_char
, 0, 0, 0},{0, 0, 0, 0}};
32687 static swig_cast_info _swigc__p_unsigned_int
[] = { {&_swigt__p_unsigned_int
, 0, 0, 0},{0, 0, 0, 0}};
32688 static swig_cast_info _swigc__p_unsigned_long
[] = { {&_swigt__p_unsigned_long
, 0, 0, 0},{0, 0, 0, 0}};
32689 static swig_cast_info _swigc__p_wxArrayInt
[] = { {&_swigt__p_wxArrayInt
, 0, 0, 0},{0, 0, 0, 0}};
32690 static swig_cast_info _swigc__p_wxBitmap
[] = { {&_swigt__p_wxBitmap
, 0, 0, 0},{0, 0, 0, 0}};
32691 static swig_cast_info _swigc__p_wxCalculateLayoutEvent
[] = { {&_swigt__p_wxCalculateLayoutEvent
, 0, 0, 0},{0, 0, 0, 0}};
32692 static swig_cast_info _swigc__p_wxColour
[] = { {&_swigt__p_wxColour
, 0, 0, 0},{0, 0, 0, 0}};
32693 static swig_cast_info _swigc__p_wxColourData
[] = { {&_swigt__p_wxColourData
, 0, 0, 0},{0, 0, 0, 0}};
32694 static swig_cast_info _swigc__p_wxColourDialog
[] = { {&_swigt__p_wxColourDialog
, 0, 0, 0},{0, 0, 0, 0}};
32695 static swig_cast_info _swigc__p_wxChildFocusEvent
[] = {{&_swigt__p_wxChildFocusEvent
, 0, 0, 0},{0, 0, 0, 0}};
32696 static swig_cast_info _swigc__p_wxScrollEvent
[] = {{&_swigt__p_wxScrollEvent
, 0, 0, 0},{0, 0, 0, 0}};
32697 static swig_cast_info _swigc__p_wxWindowCreateEvent
[] = {{&_swigt__p_wxWindowCreateEvent
, 0, 0, 0},{0, 0, 0, 0}};
32698 static swig_cast_info _swigc__p_wxDateEvent
[] = {{&_swigt__p_wxDateEvent
, 0, 0, 0},{0, 0, 0, 0}};
32699 static swig_cast_info _swigc__p_wxUpdateUIEvent
[] = {{&_swigt__p_wxUpdateUIEvent
, 0, 0, 0},{0, 0, 0, 0}};
32700 static swig_cast_info _swigc__p_wxWindowDestroyEvent
[] = {{&_swigt__p_wxWindowDestroyEvent
, 0, 0, 0},{0, 0, 0, 0}};
32701 static swig_cast_info _swigc__p_wxContextMenuEvent
[] = {{&_swigt__p_wxContextMenuEvent
, 0, 0, 0},{0, 0, 0, 0}};
32702 static swig_cast_info _swigc__p_wxPyCommandEvent
[] = {{&_swigt__p_wxPyCommandEvent
, 0, 0, 0},{0, 0, 0, 0}};
32703 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}};
32704 static swig_cast_info _swigc__p_wxDC
[] = { {&_swigt__p_wxDC
, 0, 0, 0},{0, 0, 0, 0}};
32705 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}};
32706 static swig_cast_info _swigc__p_wxDirDialog
[] = { {&_swigt__p_wxDirDialog
, 0, 0, 0},{0, 0, 0, 0}};
32707 static swig_cast_info _swigc__p_wxDuplexMode
[] = { {&_swigt__p_wxDuplexMode
, 0, 0, 0},{0, 0, 0, 0}};
32708 static swig_cast_info _swigc__p_wxMenuEvent
[] = {{&_swigt__p_wxMenuEvent
, 0, 0, 0},{0, 0, 0, 0}};
32709 static swig_cast_info _swigc__p_wxCloseEvent
[] = {{&_swigt__p_wxCloseEvent
, 0, 0, 0},{0, 0, 0, 0}};
32710 static swig_cast_info _swigc__p_wxMouseEvent
[] = {{&_swigt__p_wxMouseEvent
, 0, 0, 0},{0, 0, 0, 0}};
32711 static swig_cast_info _swigc__p_wxEraseEvent
[] = {{&_swigt__p_wxEraseEvent
, 0, 0, 0},{0, 0, 0, 0}};
32712 static swig_cast_info _swigc__p_wxSetCursorEvent
[] = {{&_swigt__p_wxSetCursorEvent
, 0, 0, 0},{0, 0, 0, 0}};
32713 static swig_cast_info _swigc__p_wxInitDialogEvent
[] = {{&_swigt__p_wxInitDialogEvent
, 0, 0, 0},{0, 0, 0, 0}};
32714 static swig_cast_info _swigc__p_wxPyEvent
[] = {{&_swigt__p_wxPyEvent
, 0, 0, 0},{0, 0, 0, 0}};
32715 static swig_cast_info _swigc__p_wxIdleEvent
[] = {{&_swigt__p_wxIdleEvent
, 0, 0, 0},{0, 0, 0, 0}};
32716 static swig_cast_info _swigc__p_wxQueryNewPaletteEvent
[] = {{&_swigt__p_wxQueryNewPaletteEvent
, 0, 0, 0},{0, 0, 0, 0}};
32717 static swig_cast_info _swigc__p_wxMaximizeEvent
[] = {{&_swigt__p_wxMaximizeEvent
, 0, 0, 0},{0, 0, 0, 0}};
32718 static swig_cast_info _swigc__p_wxIconizeEvent
[] = {{&_swigt__p_wxIconizeEvent
, 0, 0, 0},{0, 0, 0, 0}};
32719 static swig_cast_info _swigc__p_wxActivateEvent
[] = {{&_swigt__p_wxActivateEvent
, 0, 0, 0},{0, 0, 0, 0}};
32720 static swig_cast_info _swigc__p_wxSizeEvent
[] = {{&_swigt__p_wxSizeEvent
, 0, 0, 0},{0, 0, 0, 0}};
32721 static swig_cast_info _swigc__p_wxMoveEvent
[] = {{&_swigt__p_wxMoveEvent
, 0, 0, 0},{0, 0, 0, 0}};
32722 static swig_cast_info _swigc__p_wxPaintEvent
[] = {{&_swigt__p_wxPaintEvent
, 0, 0, 0},{0, 0, 0, 0}};
32723 static swig_cast_info _swigc__p_wxNcPaintEvent
[] = {{&_swigt__p_wxNcPaintEvent
, 0, 0, 0},{0, 0, 0, 0}};
32724 static swig_cast_info _swigc__p_wxPaletteChangedEvent
[] = {{&_swigt__p_wxPaletteChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
32725 static swig_cast_info _swigc__p_wxDisplayChangedEvent
[] = {{&_swigt__p_wxDisplayChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
32726 static swig_cast_info _swigc__p_wxMouseCaptureChangedEvent
[] = {{&_swigt__p_wxMouseCaptureChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
32727 static swig_cast_info _swigc__p_wxSysColourChangedEvent
[] = {{&_swigt__p_wxSysColourChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
32728 static swig_cast_info _swigc__p_wxDropFilesEvent
[] = {{&_swigt__p_wxDropFilesEvent
, 0, 0, 0},{0, 0, 0, 0}};
32729 static swig_cast_info _swigc__p_wxFocusEvent
[] = {{&_swigt__p_wxFocusEvent
, 0, 0, 0},{0, 0, 0, 0}};
32730 static swig_cast_info _swigc__p_wxShowEvent
[] = {{&_swigt__p_wxShowEvent
, 0, 0, 0},{0, 0, 0, 0}};
32731 static swig_cast_info _swigc__p_wxNavigationKeyEvent
[] = {{&_swigt__p_wxNavigationKeyEvent
, 0, 0, 0},{0, 0, 0, 0}};
32732 static swig_cast_info _swigc__p_wxKeyEvent
[] = {{&_swigt__p_wxKeyEvent
, 0, 0, 0},{0, 0, 0, 0}};
32733 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}};
32734 static swig_cast_info _swigc__p_wxValidator
[] = {{&_swigt__p_wxValidator
, 0, 0, 0},{0, 0, 0, 0}};
32735 static swig_cast_info _swigc__p_wxPyValidator
[] = {{&_swigt__p_wxPyValidator
, 0, 0, 0},{0, 0, 0, 0}};
32736 static swig_cast_info _swigc__p_wxControl
[] = {{&_swigt__p_wxControl
, 0, 0, 0},{0, 0, 0, 0}};
32737 static swig_cast_info _swigc__p_wxPyApp
[] = {{&_swigt__p_wxPyApp
, 0, 0, 0},{0, 0, 0, 0}};
32738 static swig_cast_info _swigc__p_wxControlWithItems
[] = {{&_swigt__p_wxControlWithItems
, 0, 0, 0},{0, 0, 0, 0}};
32739 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_wxTopLevelWindow
, _p_wxTopLevelWindowTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxMDIClientWindow
, _p_wxMDIClientWindowTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxPyVScrolledWindow
, _p_wxPyVScrolledWindowTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxPyScrolledWindow
, _p_wxPyScrolledWindowTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxScrolledWindow
, _p_wxScrolledWindowTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxWindow
, _p_wxWindowTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxSashWindow
, _p_wxSashWindowTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxSashLayoutWindow
, _p_wxSashLayoutWindowTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxSplitterWindow
, _p_wxSplitterWindowTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxSplashScreenWindow
, _p_wxSplashScreenWindowTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxPopupWindow
, _p_wxPopupWindowTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxPyPopupTransientWindow
, _p_wxPyPopupTransientWindowTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxTipWindow
, _p_wxTipWindowTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxPyPreviewFrame
, _p_wxPyPreviewFrameTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxPreviewFrame
, _p_wxPreviewFrameTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxControl
, _p_wxControlTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxMDIChildFrame
, _p_wxMDIChildFrameTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxPyApp
, _p_wxPyAppTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxControlWithItems
, _p_wxControlWithItemsTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxEvtHandler
, 0, 0, 0}, {&_swigt__p_wxPreviewCanvas
, _p_wxPreviewCanvasTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxPyWindow
, _p_wxPyWindowTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxPyHtmlListBox
, _p_wxPyHtmlListBoxTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxPyVListBox
, _p_wxPyVListBoxTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxPyPreviewControlBar
, _p_wxPyPreviewControlBarTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxPreviewControlBar
, _p_wxPreviewControlBarTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxPyTaskBarIcon
, _p_wxPyTaskBarIconTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxFrame
, _p_wxFrameTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxColourDialog
, _p_wxColourDialogTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxDialog
, _p_wxDialogTo_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}};
32740 static swig_cast_info _swigc__p_wxFileDialog
[] = { {&_swigt__p_wxFileDialog
, 0, 0, 0},{0, 0, 0, 0}};
32741 static swig_cast_info _swigc__p_wxFileSystem
[] = { {&_swigt__p_wxFileSystem
, 0, 0, 0},{0, 0, 0, 0}};
32742 static swig_cast_info _swigc__p_wxFindDialogEvent
[] = { {&_swigt__p_wxFindDialogEvent
, 0, 0, 0},{0, 0, 0, 0}};
32743 static swig_cast_info _swigc__p_wxFindReplaceData
[] = { {&_swigt__p_wxFindReplaceData
, 0, 0, 0},{0, 0, 0, 0}};
32744 static swig_cast_info _swigc__p_wxFindReplaceDialog
[] = { {&_swigt__p_wxFindReplaceDialog
, 0, 0, 0},{0, 0, 0, 0}};
32745 static swig_cast_info _swigc__p_wxFont
[] = { {&_swigt__p_wxFont
, 0, 0, 0},{0, 0, 0, 0}};
32746 static swig_cast_info _swigc__p_wxFontData
[] = { {&_swigt__p_wxFontData
, 0, 0, 0},{0, 0, 0, 0}};
32747 static swig_cast_info _swigc__p_wxFontDialog
[] = { {&_swigt__p_wxFontDialog
, 0, 0, 0},{0, 0, 0, 0}};
32748 static swig_cast_info _swigc__p_wxFrame
[] = { {&_swigt__p_wxMDIChildFrame
, _p_wxMDIChildFrameTo_p_wxFrame
, 0, 0}, {&_swigt__p_wxProgressDialog
, _p_wxProgressDialogTo_p_wxFrame
, 0, 0}, {&_swigt__p_wxPreviewFrame
, _p_wxPreviewFrameTo_p_wxFrame
, 0, 0}, {&_swigt__p_wxPyPreviewFrame
, _p_wxPyPreviewFrameTo_p_wxFrame
, 0, 0}, {&_swigt__p_wxMiniFrame
, _p_wxMiniFrameTo_p_wxFrame
, 0, 0}, {&_swigt__p_wxFrame
, 0, 0, 0}, {&_swigt__p_wxSplashScreen
, _p_wxSplashScreenTo_p_wxFrame
, 0, 0}, {&_swigt__p_wxMDIParentFrame
, _p_wxMDIParentFrameTo_p_wxFrame
, 0, 0},{0, 0, 0, 0}};
32749 static swig_cast_info _swigc__p_wxIcon
[] = { {&_swigt__p_wxIcon
, 0, 0, 0},{0, 0, 0, 0}};
32750 static swig_cast_info _swigc__p_wxIconBundle
[] = { {&_swigt__p_wxIconBundle
, 0, 0, 0},{0, 0, 0, 0}};
32751 static swig_cast_info _swigc__p_wxLayoutAlgorithm
[] = { {&_swigt__p_wxLayoutAlgorithm
, 0, 0, 0},{0, 0, 0, 0}};
32752 static swig_cast_info _swigc__p_wxMDIChildFrame
[] = { {&_swigt__p_wxMDIChildFrame
, 0, 0, 0},{0, 0, 0, 0}};
32753 static swig_cast_info _swigc__p_wxMDIClientWindow
[] = { {&_swigt__p_wxMDIClientWindow
, 0, 0, 0},{0, 0, 0, 0}};
32754 static swig_cast_info _swigc__p_wxMDIParentFrame
[] = { {&_swigt__p_wxMDIParentFrame
, 0, 0, 0},{0, 0, 0, 0}};
32755 static swig_cast_info _swigc__p_wxMenu
[] = { {&_swigt__p_wxMenu
, 0, 0, 0},{0, 0, 0, 0}};
32756 static swig_cast_info _swigc__p_wxMenuBar
[] = { {&_swigt__p_wxMenuBar
, 0, 0, 0},{0, 0, 0, 0}};
32757 static swig_cast_info _swigc__p_wxMessageDialog
[] = { {&_swigt__p_wxMessageDialog
, 0, 0, 0},{0, 0, 0, 0}};
32758 static swig_cast_info _swigc__p_wxMiniFrame
[] = { {&_swigt__p_wxMiniFrame
, 0, 0, 0},{0, 0, 0, 0}};
32759 static swig_cast_info _swigc__p_wxMultiChoiceDialog
[] = { {&_swigt__p_wxMultiChoiceDialog
, 0, 0, 0},{0, 0, 0, 0}};
32760 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}};
32761 static swig_cast_info _swigc__p_wxLayoutConstraints
[] = {{&_swigt__p_wxLayoutConstraints
, 0, 0, 0},{0, 0, 0, 0}};
32762 static swig_cast_info _swigc__p_wxGBSizerItem
[] = {{&_swigt__p_wxGBSizerItem
, 0, 0, 0},{0, 0, 0, 0}};
32763 static swig_cast_info _swigc__p_wxSizerItem
[] = {{&_swigt__p_wxSizerItem
, 0, 0, 0},{0, 0, 0, 0}};
32764 static swig_cast_info _swigc__p_wxIndividualLayoutConstraint
[] = {{&_swigt__p_wxIndividualLayoutConstraint
, 0, 0, 0},{0, 0, 0, 0}};
32765 static swig_cast_info _swigc__p_wxStaticBoxSizer
[] = {{&_swigt__p_wxStaticBoxSizer
, 0, 0, 0},{0, 0, 0, 0}};
32766 static swig_cast_info _swigc__p_wxBoxSizer
[] = {{&_swigt__p_wxBoxSizer
, 0, 0, 0},{0, 0, 0, 0}};
32767 static swig_cast_info _swigc__p_wxSizer
[] = {{&_swigt__p_wxSizer
, 0, 0, 0},{0, 0, 0, 0}};
32768 static swig_cast_info _swigc__p_wxGridBagSizer
[] = {{&_swigt__p_wxGridBagSizer
, 0, 0, 0},{0, 0, 0, 0}};
32769 static swig_cast_info _swigc__p_wxGridSizer
[] = {{&_swigt__p_wxGridSizer
, 0, 0, 0},{0, 0, 0, 0}};
32770 static swig_cast_info _swigc__p_wxFlexGridSizer
[] = {{&_swigt__p_wxFlexGridSizer
, 0, 0, 0},{0, 0, 0, 0}};
32771 static swig_cast_info _swigc__p_wxFSFile
[] = {{&_swigt__p_wxFSFile
, 0, 0, 0},{0, 0, 0, 0}};
32772 static swig_cast_info _swigc__p_wxPySizer
[] = {{&_swigt__p_wxPySizer
, 0, 0, 0},{0, 0, 0, 0}};
32773 static swig_cast_info _swigc__p_wxMenuItem
[] = {{&_swigt__p_wxMenuItem
, 0, 0, 0},{0, 0, 0, 0}};
32774 static swig_cast_info _swigc__p_wxImageHandler
[] = {{&_swigt__p_wxImageHandler
, 0, 0, 0},{0, 0, 0, 0}};
32775 static swig_cast_info _swigc__p_wxPyImageHandler
[] = {{&_swigt__p_wxPyImageHandler
, 0, 0, 0},{0, 0, 0, 0}};
32776 static swig_cast_info _swigc__p_wxBMPHandler
[] = {{&_swigt__p_wxBMPHandler
, 0, 0, 0},{0, 0, 0, 0}};
32777 static swig_cast_info _swigc__p_wxICOHandler
[] = {{&_swigt__p_wxICOHandler
, 0, 0, 0},{0, 0, 0, 0}};
32778 static swig_cast_info _swigc__p_wxCURHandler
[] = {{&_swigt__p_wxCURHandler
, 0, 0, 0},{0, 0, 0, 0}};
32779 static swig_cast_info _swigc__p_wxANIHandler
[] = {{&_swigt__p_wxANIHandler
, 0, 0, 0},{0, 0, 0, 0}};
32780 static swig_cast_info _swigc__p_wxPNGHandler
[] = {{&_swigt__p_wxPNGHandler
, 0, 0, 0},{0, 0, 0, 0}};
32781 static swig_cast_info _swigc__p_wxGIFHandler
[] = {{&_swigt__p_wxGIFHandler
, 0, 0, 0},{0, 0, 0, 0}};
32782 static swig_cast_info _swigc__p_wxPCXHandler
[] = {{&_swigt__p_wxPCXHandler
, 0, 0, 0},{0, 0, 0, 0}};
32783 static swig_cast_info _swigc__p_wxJPEGHandler
[] = {{&_swigt__p_wxJPEGHandler
, 0, 0, 0},{0, 0, 0, 0}};
32784 static swig_cast_info _swigc__p_wxPNMHandler
[] = {{&_swigt__p_wxPNMHandler
, 0, 0, 0},{0, 0, 0, 0}};
32785 static swig_cast_info _swigc__p_wxXPMHandler
[] = {{&_swigt__p_wxXPMHandler
, 0, 0, 0},{0, 0, 0, 0}};
32786 static swig_cast_info _swigc__p_wxTIFFHandler
[] = {{&_swigt__p_wxTIFFHandler
, 0, 0, 0},{0, 0, 0, 0}};
32787 static swig_cast_info _swigc__p_wxAcceleratorTable
[] = {{&_swigt__p_wxAcceleratorTable
, 0, 0, 0},{0, 0, 0, 0}};
32788 static swig_cast_info _swigc__p_wxImage
[] = {{&_swigt__p_wxImage
, 0, 0, 0},{0, 0, 0, 0}};
32789 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_wxWindow
, _p_wxWindowTo_p_wxObject
, 0, 0}, {&_swigt__p_wxSashWindow
, _p_wxSashWindowTo_p_wxObject
, 0, 0}, {&_swigt__p_wxSashLayoutWindow
, _p_wxSashLayoutWindowTo_p_wxObject
, 0, 0}, {&_swigt__p_wxSplitterWindow
, _p_wxSplitterWindowTo_p_wxObject
, 0, 0}, {&_swigt__p_wxSplashScreenWindow
, _p_wxSplashScreenWindowTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPopupWindow
, _p_wxPopupWindowTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyPopupTransientWindow
, _p_wxPyPopupTransientWindowTo_p_wxObject
, 0, 0}, {&_swigt__p_wxTipWindow
, _p_wxTipWindowTo_p_wxObject
, 0, 0}, {&_swigt__p_wxSashEvent
, _p_wxSashEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPrintPreview
, _p_wxPrintPreviewTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyPrintPreview
, _p_wxPyPrintPreviewTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPanel
, _p_wxPanelTo_p_wxObject
, 0, 0}, {&_swigt__p_wxDialog
, _p_wxDialogTo_p_wxObject
, 0, 0}, {&_swigt__p_wxColourDialog
, _p_wxColourDialogTo_p_wxObject
, 0, 0}, {&_swigt__p_wxDirDialog
, _p_wxDirDialogTo_p_wxObject
, 0, 0}, {&_swigt__p_wxFontDialog
, _p_wxFontDialogTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPageSetupDialog
, _p_wxPageSetupDialogTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPrintDialog
, _p_wxPrintDialogTo_p_wxObject
, 0, 0}, {&_swigt__p_wxFileSystem
, _p_wxFileSystemTo_p_wxObject
, 0, 0}, {&_swigt__p_wxContextMenuEvent
, _p_wxContextMenuEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMenuEvent
, _p_wxMenuEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxCloseEvent
, _p_wxCloseEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMouseEvent
, _p_wxMouseEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxEraseEvent
, _p_wxEraseEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyApp
, _p_wxPyAppTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyCommandEvent
, _p_wxPyCommandEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxCommandEvent
, _p_wxCommandEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPreviewControlBar
, _p_wxPreviewControlBarTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyPreviewControlBar
, _p_wxPyPreviewControlBarTo_p_wxObject
, 0, 0}, {&_swigt__p_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}};
32790 static swig_cast_info _swigc__p_wxPageSetupDialog
[] = { {&_swigt__p_wxPageSetupDialog
, 0, 0, 0},{0, 0, 0, 0}};
32791 static swig_cast_info _swigc__p_wxPageSetupDialogData
[] = { {&_swigt__p_wxPageSetupDialogData
, 0, 0, 0},{0, 0, 0, 0}};
32792 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}};
32793 static swig_cast_info _swigc__p_wxPaperSize
[] = { {&_swigt__p_wxPaperSize
, 0, 0, 0},{0, 0, 0, 0}};
32794 static swig_cast_info _swigc__p_wxPasswordEntryDialog
[] = { {&_swigt__p_wxPasswordEntryDialog
, 0, 0, 0},{0, 0, 0, 0}};
32795 static swig_cast_info _swigc__p_wxPoint
[] = { {&_swigt__p_wxPoint
, 0, 0, 0},{0, 0, 0, 0}};
32796 static swig_cast_info _swigc__p_wxPopupWindow
[] = { {&_swigt__p_wxPopupWindow
, 0, 0, 0}, {&_swigt__p_wxPyPopupTransientWindow
, _p_wxPyPopupTransientWindowTo_p_wxPopupWindow
, 0, 0}, {&_swigt__p_wxTipWindow
, _p_wxTipWindowTo_p_wxPopupWindow
, 0, 0},{0, 0, 0, 0}};
32797 static swig_cast_info _swigc__p_wxPreviewCanvas
[] = { {&_swigt__p_wxPreviewCanvas
, 0, 0, 0},{0, 0, 0, 0}};
32798 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}};
32799 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}};
32800 static swig_cast_info _swigc__p_wxPrintData
[] = { {&_swigt__p_wxPrintData
, 0, 0, 0},{0, 0, 0, 0}};
32801 static swig_cast_info _swigc__p_wxPrintDialog
[] = { {&_swigt__p_wxPrintDialog
, 0, 0, 0},{0, 0, 0, 0}};
32802 static swig_cast_info _swigc__p_wxPrintDialogData
[] = { {&_swigt__p_wxPrintDialogData
, 0, 0, 0},{0, 0, 0, 0}};
32803 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}};
32804 static swig_cast_info _swigc__p_wxPrinter
[] = { {&_swigt__p_wxPrinter
, 0, 0, 0},{0, 0, 0, 0}};
32805 static swig_cast_info _swigc__p_wxProgressDialog
[] = { {&_swigt__p_wxProgressDialog
, 0, 0, 0},{0, 0, 0, 0}};
32806 static swig_cast_info _swigc__p_wxPyHtmlListBox
[] = { {&_swigt__p_wxPyHtmlListBox
, 0, 0, 0},{0, 0, 0, 0}};
32807 static swig_cast_info _swigc__p_wxPyPanel
[] = { {&_swigt__p_wxPyPanel
, 0, 0, 0},{0, 0, 0, 0}};
32808 static swig_cast_info _swigc__p_wxPyPopupTransientWindow
[] = { {&_swigt__p_wxPyPopupTransientWindow
, 0, 0, 0}, {&_swigt__p_wxTipWindow
, _p_wxTipWindowTo_p_wxPyPopupTransientWindow
, 0, 0},{0, 0, 0, 0}};
32809 static swig_cast_info _swigc__p_wxPyPreviewControlBar
[] = { {&_swigt__p_wxPyPreviewControlBar
, 0, 0, 0},{0, 0, 0, 0}};
32810 static swig_cast_info _swigc__p_wxPyPreviewFrame
[] = { {&_swigt__p_wxPyPreviewFrame
, 0, 0, 0},{0, 0, 0, 0}};
32811 static swig_cast_info _swigc__p_wxPyPrintPreview
[] = { {&_swigt__p_wxPyPrintPreview
, 0, 0, 0},{0, 0, 0, 0}};
32812 static swig_cast_info _swigc__p_wxPyPrintout
[] = { {&_swigt__p_wxPyPrintout
, 0, 0, 0},{0, 0, 0, 0}};
32813 static swig_cast_info _swigc__p_wxPyScrolledWindow
[] = { {&_swigt__p_wxPyScrolledWindow
, 0, 0, 0},{0, 0, 0, 0}};
32814 static swig_cast_info _swigc__p_wxPyTaskBarIcon
[] = { {&_swigt__p_wxPyTaskBarIcon
, 0, 0, 0},{0, 0, 0, 0}};
32815 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}};
32816 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}};
32817 static swig_cast_info _swigc__p_wxPyWindow
[] = { {&_swigt__p_wxPyWindow
, 0, 0, 0},{0, 0, 0, 0}};
32818 static swig_cast_info _swigc__p_wxQueryLayoutInfoEvent
[] = { {&_swigt__p_wxQueryLayoutInfoEvent
, 0, 0, 0},{0, 0, 0, 0}};
32819 static swig_cast_info _swigc__p_wxRect
[] = { {&_swigt__p_wxRect
, 0, 0, 0},{0, 0, 0, 0}};
32820 static swig_cast_info _swigc__p_wxRegion
[] = { {&_swigt__p_wxRegion
, 0, 0, 0},{0, 0, 0, 0}};
32821 static swig_cast_info _swigc__p_wxSashEvent
[] = { {&_swigt__p_wxSashEvent
, 0, 0, 0},{0, 0, 0, 0}};
32822 static swig_cast_info _swigc__p_wxSashLayoutWindow
[] = { {&_swigt__p_wxSashLayoutWindow
, 0, 0, 0},{0, 0, 0, 0}};
32823 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}};
32824 static swig_cast_info _swigc__p_wxScrollWinEvent
[] = { {&_swigt__p_wxScrollWinEvent
, 0, 0, 0},{0, 0, 0, 0}};
32825 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}};
32826 static swig_cast_info _swigc__p_wxSingleChoiceDialog
[] = { {&_swigt__p_wxSingleChoiceDialog
, 0, 0, 0},{0, 0, 0, 0}};
32827 static swig_cast_info _swigc__p_wxSize
[] = { {&_swigt__p_wxSize
, 0, 0, 0},{0, 0, 0, 0}};
32828 static swig_cast_info _swigc__p_wxSplashScreen
[] = { {&_swigt__p_wxSplashScreen
, 0, 0, 0},{0, 0, 0, 0}};
32829 static swig_cast_info _swigc__p_wxSplashScreenWindow
[] = { {&_swigt__p_wxSplashScreenWindow
, 0, 0, 0},{0, 0, 0, 0}};
32830 static swig_cast_info _swigc__p_wxSplitterEvent
[] = { {&_swigt__p_wxSplitterEvent
, 0, 0, 0},{0, 0, 0, 0}};
32831 static swig_cast_info _swigc__p_wxSplitterWindow
[] = { {&_swigt__p_wxSplitterWindow
, 0, 0, 0},{0, 0, 0, 0}};
32832 static swig_cast_info _swigc__p_wxStatusBar
[] = { {&_swigt__p_wxStatusBar
, 0, 0, 0},{0, 0, 0, 0}};
32833 static swig_cast_info _swigc__p_wxStdDialogButtonSizer
[] = { {&_swigt__p_wxStdDialogButtonSizer
, 0, 0, 0},{0, 0, 0, 0}};
32834 static swig_cast_info _swigc__p_wxString
[] = { {&_swigt__p_wxString
, 0, 0, 0},{0, 0, 0, 0}};
32835 static swig_cast_info _swigc__p_wxTaskBarIcon
[] = { {&_swigt__p_wxTaskBarIcon
, 0, 0, 0},{0, 0, 0, 0}};
32836 static swig_cast_info _swigc__p_wxTaskBarIconEvent
[] = { {&_swigt__p_wxTaskBarIconEvent
, 0, 0, 0},{0, 0, 0, 0}};
32837 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}};
32838 static swig_cast_info _swigc__p_wxTipWindow
[] = { {&_swigt__p_wxTipWindow
, 0, 0, 0},{0, 0, 0, 0}};
32839 static swig_cast_info _swigc__p_wxToolBar
[] = { {&_swigt__p_wxToolBar
, 0, 0, 0},{0, 0, 0, 0}};
32840 static swig_cast_info _swigc__p_wxTopLevelWindow
[] = { {&_swigt__p_wxFrame
, _p_wxFrameTo_p_wxTopLevelWindow
, 0, 0}, {&_swigt__p_wxMiniFrame
, _p_wxMiniFrameTo_p_wxTopLevelWindow
, 0, 0}, {&_swigt__p_wxFontDialog
, _p_wxFontDialogTo_p_wxTopLevelWindow
, 0, 0}, {&_swigt__p_wxDirDialog
, _p_wxDirDialogTo_p_wxTopLevelWindow
, 0, 0}, {&_swigt__p_wxColourDialog
, _p_wxColourDialogTo_p_wxTopLevelWindow
, 0, 0}, {&_swigt__p_wxDialog
, _p_wxDialogTo_p_wxTopLevelWindow
, 0, 0}, {&_swigt__p_wxSplashScreen
, _p_wxSplashScreenTo_p_wxTopLevelWindow
, 0, 0}, {&_swigt__p_wxTopLevelWindow
, 0, 0, 0}, {&_swigt__p_wxMDIParentFrame
, _p_wxMDIParentFrameTo_p_wxTopLevelWindow
, 0, 0}, {&_swigt__p_wxMDIChildFrame
, _p_wxMDIChildFrameTo_p_wxTopLevelWindow
, 0, 0}, {&_swigt__p_wxFileDialog
, _p_wxFileDialogTo_p_wxTopLevelWindow
, 0, 0}, {&_swigt__p_wxProgressDialog
, _p_wxProgressDialogTo_p_wxTopLevelWindow
, 0, 0}, {&_swigt__p_wxMultiChoiceDialog
, _p_wxMultiChoiceDialogTo_p_wxTopLevelWindow
, 0, 0}, {&_swigt__p_wxSingleChoiceDialog
, _p_wxSingleChoiceDialogTo_p_wxTopLevelWindow
, 0, 0}, {&_swigt__p_wxTextEntryDialog
, _p_wxTextEntryDialogTo_p_wxTopLevelWindow
, 0, 0}, {&_swigt__p_wxPasswordEntryDialog
, _p_wxPasswordEntryDialogTo_p_wxTopLevelWindow
, 0, 0}, {&_swigt__p_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}};
32841 static swig_cast_info _swigc__p_wxVisualAttributes
[] = { {&_swigt__p_wxVisualAttributes
, 0, 0, 0},{0, 0, 0, 0}};
32842 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_wxTopLevelWindow
, _p_wxTopLevelWindowTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxSplashScreenWindow
, _p_wxSplashScreenWindowTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxSplitterWindow
, _p_wxSplitterWindowTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxSashLayoutWindow
, _p_wxSashLayoutWindowTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxSashWindow
, _p_wxSashWindowTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxMDIClientWindow
, _p_wxMDIClientWindowTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxPyVScrolledWindow
, _p_wxPyVScrolledWindowTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxPyScrolledWindow
, _p_wxPyScrolledWindowTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxScrolledWindow
, _p_wxScrolledWindowTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxWindow
, 0, 0, 0}, {&_swigt__p_wxPopupWindow
, _p_wxPopupWindowTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxPyPopupTransientWindow
, _p_wxPyPopupTransientWindowTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxTipWindow
, _p_wxTipWindowTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxPyPreviewFrame
, _p_wxPyPreviewFrameTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxPreviewFrame
, _p_wxPreviewFrameTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxControl
, _p_wxControlTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxMDIChildFrame
, _p_wxMDIChildFrameTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxControlWithItems
, _p_wxControlWithItemsTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxPreviewCanvas
, _p_wxPreviewCanvasTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxPyWindow
, _p_wxPyWindowTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxPyHtmlListBox
, _p_wxPyHtmlListBoxTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxPyVListBox
, _p_wxPyVListBoxTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxPyPreviewControlBar
, _p_wxPyPreviewControlBarTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxPreviewControlBar
, _p_wxPreviewControlBarTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxFrame
, _p_wxFrameTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxDialog
, _p_wxDialogTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxColourDialog
, _p_wxColourDialogTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxDirDialog
, _p_wxDirDialogTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxFontDialog
, _p_wxFontDialogTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxMDIParentFrame
, _p_wxMDIParentFrameTo_p_wxWindow
, 0, 0},{0, 0, 0, 0}};
32844 static swig_cast_info
*swig_cast_initial
[] = {
32846 _swigc__p_form_ops_t
,
32848 _swigc__p_unsigned_char
,
32849 _swigc__p_unsigned_int
,
32850 _swigc__p_unsigned_long
,
32851 _swigc__p_wxANIHandler
,
32852 _swigc__p_wxAcceleratorTable
,
32853 _swigc__p_wxActivateEvent
,
32854 _swigc__p_wxArrayInt
,
32855 _swigc__p_wxBMPHandler
,
32856 _swigc__p_wxBitmap
,
32857 _swigc__p_wxBoxSizer
,
32858 _swigc__p_wxCURHandler
,
32859 _swigc__p_wxCalculateLayoutEvent
,
32860 _swigc__p_wxChildFocusEvent
,
32861 _swigc__p_wxCloseEvent
,
32862 _swigc__p_wxColour
,
32863 _swigc__p_wxColourData
,
32864 _swigc__p_wxColourDialog
,
32865 _swigc__p_wxCommandEvent
,
32866 _swigc__p_wxContextMenuEvent
,
32867 _swigc__p_wxControl
,
32868 _swigc__p_wxControlWithItems
,
32870 _swigc__p_wxDateEvent
,
32871 _swigc__p_wxDialog
,
32872 _swigc__p_wxDirDialog
,
32873 _swigc__p_wxDisplayChangedEvent
,
32874 _swigc__p_wxDropFilesEvent
,
32875 _swigc__p_wxDuplexMode
,
32876 _swigc__p_wxEraseEvent
,
32878 _swigc__p_wxEvtHandler
,
32879 _swigc__p_wxFSFile
,
32880 _swigc__p_wxFileDialog
,
32881 _swigc__p_wxFileSystem
,
32882 _swigc__p_wxFindDialogEvent
,
32883 _swigc__p_wxFindReplaceData
,
32884 _swigc__p_wxFindReplaceDialog
,
32885 _swigc__p_wxFlexGridSizer
,
32886 _swigc__p_wxFocusEvent
,
32888 _swigc__p_wxFontData
,
32889 _swigc__p_wxFontDialog
,
32891 _swigc__p_wxGBSizerItem
,
32892 _swigc__p_wxGIFHandler
,
32893 _swigc__p_wxGridBagSizer
,
32894 _swigc__p_wxGridSizer
,
32895 _swigc__p_wxICOHandler
,
32897 _swigc__p_wxIconBundle
,
32898 _swigc__p_wxIconizeEvent
,
32899 _swigc__p_wxIdleEvent
,
32901 _swigc__p_wxImageHandler
,
32902 _swigc__p_wxIndividualLayoutConstraint
,
32903 _swigc__p_wxInitDialogEvent
,
32904 _swigc__p_wxJPEGHandler
,
32905 _swigc__p_wxKeyEvent
,
32906 _swigc__p_wxLayoutAlgorithm
,
32907 _swigc__p_wxLayoutConstraints
,
32908 _swigc__p_wxMDIChildFrame
,
32909 _swigc__p_wxMDIClientWindow
,
32910 _swigc__p_wxMDIParentFrame
,
32911 _swigc__p_wxMaximizeEvent
,
32913 _swigc__p_wxMenuBar
,
32914 _swigc__p_wxMenuEvent
,
32915 _swigc__p_wxMenuItem
,
32916 _swigc__p_wxMessageDialog
,
32917 _swigc__p_wxMiniFrame
,
32918 _swigc__p_wxMouseCaptureChangedEvent
,
32919 _swigc__p_wxMouseEvent
,
32920 _swigc__p_wxMoveEvent
,
32921 _swigc__p_wxMultiChoiceDialog
,
32922 _swigc__p_wxNavigationKeyEvent
,
32923 _swigc__p_wxNcPaintEvent
,
32924 _swigc__p_wxNotifyEvent
,
32925 _swigc__p_wxObject
,
32926 _swigc__p_wxPCXHandler
,
32927 _swigc__p_wxPNGHandler
,
32928 _swigc__p_wxPNMHandler
,
32929 _swigc__p_wxPageSetupDialog
,
32930 _swigc__p_wxPageSetupDialogData
,
32931 _swigc__p_wxPaintEvent
,
32932 _swigc__p_wxPaletteChangedEvent
,
32934 _swigc__p_wxPaperSize
,
32935 _swigc__p_wxPasswordEntryDialog
,
32937 _swigc__p_wxPopupWindow
,
32938 _swigc__p_wxPreviewCanvas
,
32939 _swigc__p_wxPreviewControlBar
,
32940 _swigc__p_wxPreviewFrame
,
32941 _swigc__p_wxPrintData
,
32942 _swigc__p_wxPrintDialog
,
32943 _swigc__p_wxPrintDialogData
,
32944 _swigc__p_wxPrintPreview
,
32945 _swigc__p_wxPrinter
,
32946 _swigc__p_wxProgressDialog
,
32948 _swigc__p_wxPyCommandEvent
,
32949 _swigc__p_wxPyEvent
,
32950 _swigc__p_wxPyHtmlListBox
,
32951 _swigc__p_wxPyImageHandler
,
32952 _swigc__p_wxPyPanel
,
32953 _swigc__p_wxPyPopupTransientWindow
,
32954 _swigc__p_wxPyPreviewControlBar
,
32955 _swigc__p_wxPyPreviewFrame
,
32956 _swigc__p_wxPyPrintPreview
,
32957 _swigc__p_wxPyPrintout
,
32958 _swigc__p_wxPyScrolledWindow
,
32959 _swigc__p_wxPySizer
,
32960 _swigc__p_wxPyTaskBarIcon
,
32961 _swigc__p_wxPyVListBox
,
32962 _swigc__p_wxPyVScrolledWindow
,
32963 _swigc__p_wxPyValidator
,
32964 _swigc__p_wxPyWindow
,
32965 _swigc__p_wxQueryLayoutInfoEvent
,
32966 _swigc__p_wxQueryNewPaletteEvent
,
32968 _swigc__p_wxRegion
,
32969 _swigc__p_wxSashEvent
,
32970 _swigc__p_wxSashLayoutWindow
,
32971 _swigc__p_wxSashWindow
,
32972 _swigc__p_wxScrollEvent
,
32973 _swigc__p_wxScrollWinEvent
,
32974 _swigc__p_wxScrolledWindow
,
32975 _swigc__p_wxSetCursorEvent
,
32976 _swigc__p_wxShowEvent
,
32977 _swigc__p_wxSingleChoiceDialog
,
32979 _swigc__p_wxSizeEvent
,
32981 _swigc__p_wxSizerItem
,
32982 _swigc__p_wxSplashScreen
,
32983 _swigc__p_wxSplashScreenWindow
,
32984 _swigc__p_wxSplitterEvent
,
32985 _swigc__p_wxSplitterWindow
,
32986 _swigc__p_wxStaticBoxSizer
,
32987 _swigc__p_wxStatusBar
,
32988 _swigc__p_wxStdDialogButtonSizer
,
32989 _swigc__p_wxString
,
32990 _swigc__p_wxSysColourChangedEvent
,
32991 _swigc__p_wxTIFFHandler
,
32992 _swigc__p_wxTaskBarIcon
,
32993 _swigc__p_wxTaskBarIconEvent
,
32994 _swigc__p_wxTextEntryDialog
,
32995 _swigc__p_wxTipWindow
,
32996 _swigc__p_wxToolBar
,
32997 _swigc__p_wxTopLevelWindow
,
32998 _swigc__p_wxUpdateUIEvent
,
32999 _swigc__p_wxValidator
,
33000 _swigc__p_wxVisualAttributes
,
33001 _swigc__p_wxWindow
,
33002 _swigc__p_wxWindowCreateEvent
,
33003 _swigc__p_wxWindowDestroyEvent
,
33004 _swigc__p_wxXPMHandler
,
33008 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
33010 static swig_const_info swig_const_table
[] = {
33011 {0, 0, 0, 0.0, 0, 0}};
33016 /* -----------------------------------------------------------------------------
33017 * Type initialization:
33018 * This problem is tough by the requirement that no dynamic
33019 * memory is used. Also, since swig_type_info structures store pointers to
33020 * swig_cast_info structures and swig_cast_info structures store pointers back
33021 * to swig_type_info structures, we need some lookup code at initialization.
33022 * The idea is that swig generates all the structures that are needed.
33023 * The runtime then collects these partially filled structures.
33024 * The SWIG_InitializeModule function takes these initial arrays out of
33025 * swig_module, and does all the lookup, filling in the swig_module.types
33026 * array with the correct data and linking the correct swig_cast_info
33027 * structures together.
33029 * The generated swig_type_info structures are assigned staticly to an initial
33030 * array. We just loop though that array, and handle each type individually.
33031 * First we lookup if this type has been already loaded, and if so, use the
33032 * loaded structure instead of the generated one. Then we have to fill in the
33033 * cast linked list. The cast data is initially stored in something like a
33034 * two-dimensional array. Each row corresponds to a type (there are the same
33035 * number of rows as there are in the swig_type_initial array). Each entry in
33036 * a column is one of the swig_cast_info structures for that type.
33037 * The cast_initial array is actually an array of arrays, because each row has
33038 * a variable number of columns. So to actually build the cast linked list,
33039 * we find the array of casts associated with the type, and loop through it
33040 * adding the casts to the list. The one last trick we need to do is making
33041 * sure the type pointer in the swig_cast_info struct is correct.
33043 * First off, we lookup the cast->type name to see if it is already loaded.
33044 * There are three cases to handle:
33045 * 1) If the cast->type has already been loaded AND the type we are adding
33046 * casting info to has not been loaded (it is in this module), THEN we
33047 * replace the cast->type pointer with the type pointer that has already
33049 * 2) If BOTH types (the one we are adding casting info to, and the
33050 * cast->type) are loaded, THEN the cast info has already been loaded by
33051 * the previous module so we just ignore it.
33052 * 3) Finally, if cast->type has not already been loaded, then we add that
33053 * swig_cast_info to the linked list (because the cast->type) pointer will
33055 * ----------------------------------------------------------------------------- */
33065 #define SWIGRUNTIME_DEBUG
33069 SWIG_InitializeModule(void *clientdata
) {
33071 swig_module_info
*module_head
;
33072 static int init_run
= 0;
33074 clientdata
= clientdata
;
33076 if (init_run
) return;
33079 /* Initialize the swig_module */
33080 swig_module
.type_initial
= swig_type_initial
;
33081 swig_module
.cast_initial
= swig_cast_initial
;
33083 /* Try and load any already created modules */
33084 module_head
= SWIG_GetModule(clientdata
);
33086 swig_module
.next
= module_head
->next
;
33087 module_head
->next
= &swig_module
;
33089 /* This is the first module loaded */
33090 swig_module
.next
= &swig_module
;
33091 SWIG_SetModule(clientdata
, &swig_module
);
33094 /* Now work on filling in swig_module.types */
33095 #ifdef SWIGRUNTIME_DEBUG
33096 printf("SWIG_InitializeModule: size %d\n", swig_module
.size
);
33098 for (i
= 0; i
< swig_module
.size
; ++i
) {
33099 swig_type_info
*type
= 0;
33100 swig_type_info
*ret
;
33101 swig_cast_info
*cast
;
33103 #ifdef SWIGRUNTIME_DEBUG
33104 printf("SWIG_InitializeModule: type %d %s\n", i
, swig_module
.type_initial
[i
]->name
);
33107 /* if there is another module already loaded */
33108 if (swig_module
.next
!= &swig_module
) {
33109 type
= SWIG_MangledTypeQueryModule(swig_module
.next
, &swig_module
, swig_module
.type_initial
[i
]->name
);
33112 /* Overwrite clientdata field */
33113 #ifdef SWIGRUNTIME_DEBUG
33114 printf("SWIG_InitializeModule: found type %s\n", type
->name
);
33116 if (swig_module
.type_initial
[i
]->clientdata
) {
33117 type
->clientdata
= swig_module
.type_initial
[i
]->clientdata
;
33118 #ifdef SWIGRUNTIME_DEBUG
33119 printf("SWIG_InitializeModule: found and overwrite type %s \n", type
->name
);
33123 type
= swig_module
.type_initial
[i
];
33126 /* Insert casting types */
33127 cast
= swig_module
.cast_initial
[i
];
33128 while (cast
->type
) {
33129 /* Don't need to add information already in the list */
33131 #ifdef SWIGRUNTIME_DEBUG
33132 printf("SWIG_InitializeModule: look cast %s\n", cast
->type
->name
);
33134 if (swig_module
.next
!= &swig_module
) {
33135 ret
= SWIG_MangledTypeQueryModule(swig_module
.next
, &swig_module
, cast
->type
->name
);
33136 #ifdef SWIGRUNTIME_DEBUG
33137 if (ret
) printf("SWIG_InitializeModule: found cast %s\n", ret
->name
);
33141 if (type
== swig_module
.type_initial
[i
]) {
33142 #ifdef SWIGRUNTIME_DEBUG
33143 printf("SWIG_InitializeModule: skip old type %s\n", ret
->name
);
33148 /* Check for casting already in the list */
33149 swig_cast_info
*ocast
= SWIG_TypeCheck(ret
->name
, type
);
33150 #ifdef SWIGRUNTIME_DEBUG
33151 if (ocast
) printf("SWIG_InitializeModule: skip old cast %s\n", ret
->name
);
33153 if (!ocast
) ret
= 0;
33158 #ifdef SWIGRUNTIME_DEBUG
33159 printf("SWIG_InitializeModule: adding cast %s\n", cast
->type
->name
);
33162 type
->cast
->prev
= cast
;
33163 cast
->next
= type
->cast
;
33169 /* Set entry in modules->types array equal to the type */
33170 swig_module
.types
[i
] = type
;
33172 swig_module
.types
[i
] = 0;
33174 #ifdef SWIGRUNTIME_DEBUG
33175 printf("**** SWIG_InitializeModule: Cast List ******\n");
33176 for (i
= 0; i
< swig_module
.size
; ++i
) {
33178 swig_cast_info
*cast
= swig_module
.cast_initial
[i
];
33179 printf("SWIG_InitializeModule: type %d %s\n", i
, swig_module
.type_initial
[i
]->name
);
33180 while (cast
->type
) {
33181 printf("SWIG_InitializeModule: cast type %s\n", cast
->type
->name
);
33185 printf("---- Total casts: %d\n",j
);
33187 printf("**** SWIG_InitializeModule: Cast List ******\n");
33191 /* This function will propagate the clientdata field of type to
33192 * any new swig_type_info structures that have been added into the list
33193 * of equivalent types. It is like calling
33194 * SWIG_TypeClientData(type, clientdata) a second time.
33197 SWIG_PropagateClientData(void) {
33199 swig_cast_info
*equiv
;
33200 static int init_run
= 0;
33202 if (init_run
) return;
33205 for (i
= 0; i
< swig_module
.size
; i
++) {
33206 if (swig_module
.types
[i
]->clientdata
) {
33207 equiv
= swig_module
.types
[i
]->cast
;
33209 if (!equiv
->converter
) {
33210 if (equiv
->type
&& !equiv
->type
->clientdata
)
33211 SWIG_TypeClientData(equiv
->type
, swig_module
.types
[i
]->clientdata
);
33213 equiv
= equiv
->next
;
33233 /* Python-specific SWIG API */
33234 #define SWIG_newvarlink() SWIG_Python_newvarlink()
33235 #define SWIG_addvarlink(p, name, get_attr, set_attr) SWIG_Python_addvarlink(p, name, get_attr, set_attr)
33236 #define SWIG_InstallConstants(d, constants) SWIG_Python_InstallConstants(d, constants)
33238 /* -----------------------------------------------------------------------------
33239 * global variable support code.
33240 * ----------------------------------------------------------------------------- */
33242 typedef struct swig_globalvar
{
33243 char *name
; /* Name of global variable */
33244 PyObject
*(*get_attr
)(void); /* Return the current value */
33245 int (*set_attr
)(PyObject
*); /* Set the value */
33246 struct swig_globalvar
*next
;
33249 typedef struct swig_varlinkobject
{
33251 swig_globalvar
*vars
;
33252 } swig_varlinkobject
;
33254 SWIGINTERN PyObject
*
33255 swig_varlink_repr(swig_varlinkobject
*SWIGUNUSEDPARM(v
)) {
33256 return PyString_FromString("<Swig global variables>");
33259 SWIGINTERN PyObject
*
33260 swig_varlink_str(swig_varlinkobject
*v
) {
33261 PyObject
*str
= PyString_FromString("(");
33262 swig_globalvar
*var
;
33263 for (var
= v
->vars
; var
; var
=var
->next
) {
33264 PyString_ConcatAndDel(&str
,PyString_FromString(var
->name
));
33265 if (var
->next
) PyString_ConcatAndDel(&str
,PyString_FromString(", "));
33267 PyString_ConcatAndDel(&str
,PyString_FromString(")"));
33272 swig_varlink_print(swig_varlinkobject
*v
, FILE *fp
, int SWIGUNUSEDPARM(flags
)) {
33273 PyObject
*str
= swig_varlink_str(v
);
33274 fprintf(fp
,"Swig global variables ");
33275 fprintf(fp
,"%s\n", PyString_AsString(str
));
33281 swig_varlink_dealloc(swig_varlinkobject
*v
) {
33282 swig_globalvar
*var
= v
->vars
;
33284 swig_globalvar
*n
= var
->next
;
33291 SWIGINTERN PyObject
*
33292 swig_varlink_getattr(swig_varlinkobject
*v
, char *n
) {
33293 PyObject
*res
= NULL
;
33294 swig_globalvar
*var
= v
->vars
;
33296 if (strcmp(var
->name
,n
) == 0) {
33297 res
= (*var
->get_attr
)();
33302 if (res
== NULL
&& !PyErr_Occurred()) {
33303 PyErr_SetString(PyExc_NameError
,"Unknown C global variable");
33309 swig_varlink_setattr(swig_varlinkobject
*v
, char *n
, PyObject
*p
) {
33311 swig_globalvar
*var
= v
->vars
;
33313 if (strcmp(var
->name
,n
) == 0) {
33314 res
= (*var
->set_attr
)(p
);
33319 if (res
== 1 && !PyErr_Occurred()) {
33320 PyErr_SetString(PyExc_NameError
,"Unknown C global variable");
33325 SWIGINTERN PyTypeObject
*
33326 swig_varlink_type(void) {
33327 static char varlink__doc__
[] = "Swig var link object";
33328 static PyTypeObject varlink_type
;
33329 static int type_init
= 0;
33331 const PyTypeObject tmp
33333 PyObject_HEAD_INIT(NULL
)
33334 0, /* Number of items in variable part (ob_size) */
33335 (char *)"swigvarlink", /* Type name (tp_name) */
33336 sizeof(swig_varlinkobject
), /* Basic size (tp_basicsize) */
33337 0, /* Itemsize (tp_itemsize) */
33338 (destructor
) swig_varlink_dealloc
, /* Deallocator (tp_dealloc) */
33339 (printfunc
) swig_varlink_print
, /* Print (tp_print) */
33340 (getattrfunc
) swig_varlink_getattr
, /* get attr (tp_getattr) */
33341 (setattrfunc
) swig_varlink_setattr
, /* Set attr (tp_setattr) */
33342 0, /* tp_compare */
33343 (reprfunc
) swig_varlink_repr
, /* tp_repr */
33344 0, /* tp_as_number */
33345 0, /* tp_as_sequence */
33346 0, /* tp_as_mapping */
33349 (reprfunc
)swig_varlink_str
, /* tp_str */
33350 0, /* tp_getattro */
33351 0, /* tp_setattro */
33352 0, /* tp_as_buffer */
33354 varlink__doc__
, /* tp_doc */
33355 0, /* tp_traverse */
33357 0, /* tp_richcompare */
33358 0, /* tp_weaklistoffset */
33359 #if PY_VERSION_HEX >= 0x02020000
33360 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, /* tp_iter -> tp_weaklist */
33362 #if PY_VERSION_HEX >= 0x02030000
33365 #ifdef COUNT_ALLOCS
33366 0,0,0,0 /* tp_alloc -> tp_next */
33369 varlink_type
= tmp
;
33370 varlink_type
.ob_type
= &PyType_Type
;
33373 return &varlink_type
;
33376 /* Create a variable linking object for use later */
33377 SWIGINTERN PyObject
*
33378 SWIG_Python_newvarlink(void) {
33379 swig_varlinkobject
*result
= PyObject_NEW(swig_varlinkobject
, swig_varlink_type());
33383 return ((PyObject
*) result
);
33387 SWIG_Python_addvarlink(PyObject
*p
, char *name
, PyObject
*(*get_attr
)(void), int (*set_attr
)(PyObject
*p
)) {
33388 swig_varlinkobject
*v
= (swig_varlinkobject
*) p
;
33389 swig_globalvar
*gv
= (swig_globalvar
*) malloc(sizeof(swig_globalvar
));
33391 size_t size
= strlen(name
)+1;
33392 gv
->name
= (char *)malloc(size
);
33394 strncpy(gv
->name
,name
,size
);
33395 gv
->get_attr
= get_attr
;
33396 gv
->set_attr
= set_attr
;
33397 gv
->next
= v
->vars
;
33403 SWIGINTERN PyObject
*
33405 static PyObject
*_SWIG_globals
= 0;
33406 if (!_SWIG_globals
) _SWIG_globals
= SWIG_newvarlink();
33407 return _SWIG_globals
;
33410 /* -----------------------------------------------------------------------------
33411 * constants/methods manipulation
33412 * ----------------------------------------------------------------------------- */
33414 /* Install Constants */
33416 SWIG_Python_InstallConstants(PyObject
*d
, swig_const_info constants
[]) {
33419 for (i
= 0; constants
[i
].type
; ++i
) {
33420 switch(constants
[i
].type
) {
33421 case SWIG_PY_POINTER
:
33422 obj
= SWIG_NewPointerObj(constants
[i
].pvalue
, *(constants
[i
]).ptype
,0);
33424 case SWIG_PY_BINARY
:
33425 obj
= SWIG_NewPackedObj(constants
[i
].pvalue
, constants
[i
].lvalue
, *(constants
[i
].ptype
));
33432 PyDict_SetItemString(d
, constants
[i
].name
, obj
);
33438 /* -----------------------------------------------------------------------------*/
33439 /* Fix SwigMethods to carry the callback ptrs when needed */
33440 /* -----------------------------------------------------------------------------*/
33443 SWIG_Python_FixMethods(PyMethodDef
*methods
,
33444 swig_const_info
*const_table
,
33445 swig_type_info
**types
,
33446 swig_type_info
**types_initial
) {
33448 for (i
= 0; methods
[i
].ml_name
; ++i
) {
33449 char *c
= methods
[i
].ml_doc
;
33450 if (c
&& (c
= strstr(c
, "swig_ptr: "))) {
33452 swig_const_info
*ci
= 0;
33453 char *name
= c
+ 10;
33454 for (j
= 0; const_table
[j
].type
; ++j
) {
33455 if (strncmp(const_table
[j
].name
, name
,
33456 strlen(const_table
[j
].name
)) == 0) {
33457 ci
= &(const_table
[j
]);
33462 size_t shift
= (ci
->ptype
) - types
;
33463 swig_type_info
*ty
= types_initial
[shift
];
33464 size_t ldoc
= (c
- methods
[i
].ml_doc
);
33465 size_t lptr
= strlen(ty
->name
)+2*sizeof(void*)+2;
33466 char *ndoc
= (char*)malloc(ldoc
+ lptr
+ 10);
33469 void *ptr
= (ci
->type
== SWIG_PY_POINTER
) ? ci
->pvalue
: 0;
33471 strncpy(buff
, methods
[i
].ml_doc
, ldoc
);
33473 strncpy(buff
, "swig_ptr: ", 10);
33475 SWIG_PackVoidPtr(buff
, ptr
, ty
->name
, lptr
);
33476 methods
[i
].ml_doc
= ndoc
;
33488 /* -----------------------------------------------------------------------------*
33489 * Partial Init method
33490 * -----------------------------------------------------------------------------*/
33495 SWIGEXPORT
void SWIG_init(void) {
33498 /* Fix SwigMethods to carry the callback ptrs when needed */
33499 SWIG_Python_FixMethods(SwigMethods
, swig_const_table
, swig_types
, swig_type_initial
);
33501 m
= Py_InitModule((char *) SWIG_name
, SwigMethods
);
33502 d
= PyModule_GetDict(m
);
33504 SWIG_InitializeModule(0);
33505 SWIG_InstallConstants(d
,swig_const_table
);
33508 PyDict_SetItemString(d
,(char*)"cvar", SWIG_globals());
33509 SWIG_addvarlink(SWIG_globals(),(char*)"FrameNameStr",FrameNameStr_get
, FrameNameStr_set
);
33510 SWIG_addvarlink(SWIG_globals(),(char*)"DialogNameStr",DialogNameStr_get
, DialogNameStr_set
);
33511 SWIG_addvarlink(SWIG_globals(),(char*)"StatusLineNameStr",StatusLineNameStr_get
, StatusLineNameStr_set
);
33512 SWIG_addvarlink(SWIG_globals(),(char*)"ToolBarNameStr",ToolBarNameStr_get
, ToolBarNameStr_set
);
33513 SWIG_Python_SetConstant(d
, "STAY_ON_TOP",SWIG_From_int(static_cast< int >(wxSTAY_ON_TOP
)));
33514 SWIG_Python_SetConstant(d
, "ICONIZE",SWIG_From_int(static_cast< int >(wxICONIZE
)));
33515 SWIG_Python_SetConstant(d
, "MINIMIZE",SWIG_From_int(static_cast< int >(wxMINIMIZE
)));
33516 SWIG_Python_SetConstant(d
, "MAXIMIZE",SWIG_From_int(static_cast< int >(wxMAXIMIZE
)));
33517 SWIG_Python_SetConstant(d
, "CLOSE_BOX",SWIG_From_int(static_cast< int >(wxCLOSE_BOX
)));
33518 SWIG_Python_SetConstant(d
, "THICK_FRAME",SWIG_From_int(static_cast< int >(wxTHICK_FRAME
)));
33519 SWIG_Python_SetConstant(d
, "SYSTEM_MENU",SWIG_From_int(static_cast< int >(wxSYSTEM_MENU
)));
33520 SWIG_Python_SetConstant(d
, "MINIMIZE_BOX",SWIG_From_int(static_cast< int >(wxMINIMIZE_BOX
)));
33521 SWIG_Python_SetConstant(d
, "MAXIMIZE_BOX",SWIG_From_int(static_cast< int >(wxMAXIMIZE_BOX
)));
33522 SWIG_Python_SetConstant(d
, "TINY_CAPTION_HORIZ",SWIG_From_int(static_cast< int >(wxTINY_CAPTION_HORIZ
)));
33523 SWIG_Python_SetConstant(d
, "TINY_CAPTION_VERT",SWIG_From_int(static_cast< int >(wxTINY_CAPTION_VERT
)));
33524 SWIG_Python_SetConstant(d
, "RESIZE_BOX",SWIG_From_int(static_cast< int >(wxRESIZE_BOX
)));
33525 SWIG_Python_SetConstant(d
, "RESIZE_BORDER",SWIG_From_int(static_cast< int >(wxRESIZE_BORDER
)));
33526 SWIG_Python_SetConstant(d
, "DIALOG_NO_PARENT",SWIG_From_int(static_cast< int >(wxDIALOG_NO_PARENT
)));
33527 SWIG_Python_SetConstant(d
, "DEFAULT_FRAME_STYLE",SWIG_From_int(static_cast< int >(wxDEFAULT_FRAME_STYLE
)));
33528 SWIG_Python_SetConstant(d
, "DEFAULT_DIALOG_STYLE",SWIG_From_int(static_cast< int >(wxDEFAULT_DIALOG_STYLE
)));
33529 SWIG_Python_SetConstant(d
, "FRAME_TOOL_WINDOW",SWIG_From_int(static_cast< int >(wxFRAME_TOOL_WINDOW
)));
33530 SWIG_Python_SetConstant(d
, "FRAME_FLOAT_ON_PARENT",SWIG_From_int(static_cast< int >(wxFRAME_FLOAT_ON_PARENT
)));
33531 SWIG_Python_SetConstant(d
, "FRAME_NO_WINDOW_MENU",SWIG_From_int(static_cast< int >(wxFRAME_NO_WINDOW_MENU
)));
33532 SWIG_Python_SetConstant(d
, "FRAME_NO_TASKBAR",SWIG_From_int(static_cast< int >(wxFRAME_NO_TASKBAR
)));
33533 SWIG_Python_SetConstant(d
, "FRAME_SHAPED",SWIG_From_int(static_cast< int >(wxFRAME_SHAPED
)));
33534 SWIG_Python_SetConstant(d
, "FRAME_DRAWER",SWIG_From_int(static_cast< int >(wxFRAME_DRAWER
)));
33535 SWIG_Python_SetConstant(d
, "FRAME_EX_METAL",SWIG_From_int(static_cast< int >(wxFRAME_EX_METAL
)));
33536 SWIG_Python_SetConstant(d
, "DIALOG_EX_METAL",SWIG_From_int(static_cast< int >(wxDIALOG_EX_METAL
)));
33537 SWIG_Python_SetConstant(d
, "DIALOG_MODAL",SWIG_From_int(static_cast< int >(wxDIALOG_MODAL
)));
33538 SWIG_Python_SetConstant(d
, "DIALOG_MODELESS",SWIG_From_int(static_cast< int >(wxDIALOG_MODELESS
)));
33539 SWIG_Python_SetConstant(d
, "USER_COLOURS",SWIG_From_int(static_cast< int >(wxUSER_COLOURS
)));
33540 SWIG_Python_SetConstant(d
, "NO_3D",SWIG_From_int(static_cast< int >(wxNO_3D
)));
33541 SWIG_Python_SetConstant(d
, "FULLSCREEN_NOMENUBAR",SWIG_From_int(static_cast< int >(wxFULLSCREEN_NOMENUBAR
)));
33542 SWIG_Python_SetConstant(d
, "FULLSCREEN_NOTOOLBAR",SWIG_From_int(static_cast< int >(wxFULLSCREEN_NOTOOLBAR
)));
33543 SWIG_Python_SetConstant(d
, "FULLSCREEN_NOSTATUSBAR",SWIG_From_int(static_cast< int >(wxFULLSCREEN_NOSTATUSBAR
)));
33544 SWIG_Python_SetConstant(d
, "FULLSCREEN_NOBORDER",SWIG_From_int(static_cast< int >(wxFULLSCREEN_NOBORDER
)));
33545 SWIG_Python_SetConstant(d
, "FULLSCREEN_NOCAPTION",SWIG_From_int(static_cast< int >(wxFULLSCREEN_NOCAPTION
)));
33546 SWIG_Python_SetConstant(d
, "FULLSCREEN_ALL",SWIG_From_int(static_cast< int >(wxFULLSCREEN_ALL
)));
33547 SWIG_Python_SetConstant(d
, "TOPLEVEL_EX_DIALOG",SWIG_From_int(static_cast< int >(wxTOPLEVEL_EX_DIALOG
)));
33548 SWIG_Python_SetConstant(d
, "USER_ATTENTION_INFO",SWIG_From_int(static_cast< int >(wxUSER_ATTENTION_INFO
)));
33549 SWIG_Python_SetConstant(d
, "USER_ATTENTION_ERROR",SWIG_From_int(static_cast< int >(wxUSER_ATTENTION_ERROR
)));
33550 SWIG_Python_SetConstant(d
, "Dialog_ButtonSizerFlags",SWIG_From_int(static_cast< int >(wxDialog::ButtonSizerFlags
)));
33551 SWIG_Python_SetConstant(d
, "SPLASH_CENTRE_ON_PARENT",SWIG_From_int(static_cast< int >(wxSPLASH_CENTRE_ON_PARENT
)));
33552 SWIG_Python_SetConstant(d
, "SPLASH_CENTRE_ON_SCREEN",SWIG_From_int(static_cast< int >(wxSPLASH_CENTRE_ON_SCREEN
)));
33553 SWIG_Python_SetConstant(d
, "SPLASH_NO_CENTRE",SWIG_From_int(static_cast< int >(wxSPLASH_NO_CENTRE
)));
33554 SWIG_Python_SetConstant(d
, "SPLASH_TIMEOUT",SWIG_From_int(static_cast< int >(wxSPLASH_TIMEOUT
)));
33555 SWIG_Python_SetConstant(d
, "SPLASH_NO_TIMEOUT",SWIG_From_int(static_cast< int >(wxSPLASH_NO_TIMEOUT
)));
33556 SWIG_Python_SetConstant(d
, "SB_NORMAL",SWIG_From_int(static_cast< int >(wxSB_NORMAL
)));
33557 SWIG_Python_SetConstant(d
, "SB_FLAT",SWIG_From_int(static_cast< int >(wxSB_FLAT
)));
33558 SWIG_Python_SetConstant(d
, "SB_RAISED",SWIG_From_int(static_cast< int >(wxSB_RAISED
)));
33559 SWIG_addvarlink(SWIG_globals(),(char*)"SplitterNameStr",SplitterNameStr_get
, SplitterNameStr_set
);
33560 SWIG_Python_SetConstant(d
, "SP_NOBORDER",SWIG_From_int(static_cast< int >(wxSP_NOBORDER
)));
33561 SWIG_Python_SetConstant(d
, "SP_NOSASH",SWIG_From_int(static_cast< int >(wxSP_NOSASH
)));
33562 SWIG_Python_SetConstant(d
, "SP_PERMIT_UNSPLIT",SWIG_From_int(static_cast< int >(wxSP_PERMIT_UNSPLIT
)));
33563 SWIG_Python_SetConstant(d
, "SP_LIVE_UPDATE",SWIG_From_int(static_cast< int >(wxSP_LIVE_UPDATE
)));
33564 SWIG_Python_SetConstant(d
, "SP_3DSASH",SWIG_From_int(static_cast< int >(wxSP_3DSASH
)));
33565 SWIG_Python_SetConstant(d
, "SP_3DBORDER",SWIG_From_int(static_cast< int >(wxSP_3DBORDER
)));
33566 SWIG_Python_SetConstant(d
, "SP_NO_XP_THEME",SWIG_From_int(static_cast< int >(wxSP_NO_XP_THEME
)));
33567 SWIG_Python_SetConstant(d
, "SP_BORDER",SWIG_From_int(static_cast< int >(wxSP_BORDER
)));
33568 SWIG_Python_SetConstant(d
, "SP_3D",SWIG_From_int(static_cast< int >(wxSP_3D
)));
33569 SWIG_Python_SetConstant(d
, "SPLIT_HORIZONTAL",SWIG_From_int(static_cast< int >(wxSPLIT_HORIZONTAL
)));
33570 SWIG_Python_SetConstant(d
, "SPLIT_VERTICAL",SWIG_From_int(static_cast< int >(wxSPLIT_VERTICAL
)));
33571 SWIG_Python_SetConstant(d
, "SPLIT_DRAG_NONE",SWIG_From_int(static_cast< int >(wxSPLIT_DRAG_NONE
)));
33572 SWIG_Python_SetConstant(d
, "SPLIT_DRAG_DRAGGING",SWIG_From_int(static_cast< int >(wxSPLIT_DRAG_DRAGGING
)));
33573 SWIG_Python_SetConstant(d
, "SPLIT_DRAG_LEFT_DOWN",SWIG_From_int(static_cast< int >(wxSPLIT_DRAG_LEFT_DOWN
)));
33574 PyDict_SetItemString(d
, "wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGED", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGED
));
33575 PyDict_SetItemString(d
, "wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGING", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGING
));
33576 PyDict_SetItemString(d
, "wxEVT_COMMAND_SPLITTER_DOUBLECLICKED", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_DOUBLECLICKED
));
33577 PyDict_SetItemString(d
, "wxEVT_COMMAND_SPLITTER_UNSPLIT", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_UNSPLIT
));
33578 SWIG_addvarlink(SWIG_globals(),(char*)"SashNameStr",SashNameStr_get
, SashNameStr_set
);
33579 SWIG_addvarlink(SWIG_globals(),(char*)"SashLayoutNameStr",SashLayoutNameStr_get
, SashLayoutNameStr_set
);
33580 SWIG_Python_SetConstant(d
, "SASH_DRAG_NONE",SWIG_From_int(static_cast< int >(wxSASH_DRAG_NONE
)));
33581 SWIG_Python_SetConstant(d
, "SASH_DRAG_DRAGGING",SWIG_From_int(static_cast< int >(wxSASH_DRAG_DRAGGING
)));
33582 SWIG_Python_SetConstant(d
, "SASH_DRAG_LEFT_DOWN",SWIG_From_int(static_cast< int >(wxSASH_DRAG_LEFT_DOWN
)));
33583 SWIG_Python_SetConstant(d
, "SW_NOBORDER",SWIG_From_int(static_cast< int >(wxSW_NOBORDER
)));
33584 SWIG_Python_SetConstant(d
, "SW_BORDER",SWIG_From_int(static_cast< int >(wxSW_BORDER
)));
33585 SWIG_Python_SetConstant(d
, "SW_3DSASH",SWIG_From_int(static_cast< int >(wxSW_3DSASH
)));
33586 SWIG_Python_SetConstant(d
, "SW_3DBORDER",SWIG_From_int(static_cast< int >(wxSW_3DBORDER
)));
33587 SWIG_Python_SetConstant(d
, "SW_3D",SWIG_From_int(static_cast< int >(wxSW_3D
)));
33588 SWIG_Python_SetConstant(d
, "SASH_TOP",SWIG_From_int(static_cast< int >(wxSASH_TOP
)));
33589 SWIG_Python_SetConstant(d
, "SASH_RIGHT",SWIG_From_int(static_cast< int >(wxSASH_RIGHT
)));
33590 SWIG_Python_SetConstant(d
, "SASH_BOTTOM",SWIG_From_int(static_cast< int >(wxSASH_BOTTOM
)));
33591 SWIG_Python_SetConstant(d
, "SASH_LEFT",SWIG_From_int(static_cast< int >(wxSASH_LEFT
)));
33592 SWIG_Python_SetConstant(d
, "SASH_NONE",SWIG_From_int(static_cast< int >(wxSASH_NONE
)));
33593 SWIG_Python_SetConstant(d
, "SASH_STATUS_OK",SWIG_From_int(static_cast< int >(wxSASH_STATUS_OK
)));
33594 SWIG_Python_SetConstant(d
, "SASH_STATUS_OUT_OF_RANGE",SWIG_From_int(static_cast< int >(wxSASH_STATUS_OUT_OF_RANGE
)));
33595 PyDict_SetItemString(d
, "wxEVT_SASH_DRAGGED", PyInt_FromLong(wxEVT_SASH_DRAGGED
));
33596 SWIG_Python_SetConstant(d
, "LAYOUT_HORIZONTAL",SWIG_From_int(static_cast< int >(wxLAYOUT_HORIZONTAL
)));
33597 SWIG_Python_SetConstant(d
, "LAYOUT_VERTICAL",SWIG_From_int(static_cast< int >(wxLAYOUT_VERTICAL
)));
33598 SWIG_Python_SetConstant(d
, "LAYOUT_NONE",SWIG_From_int(static_cast< int >(wxLAYOUT_NONE
)));
33599 SWIG_Python_SetConstant(d
, "LAYOUT_TOP",SWIG_From_int(static_cast< int >(wxLAYOUT_TOP
)));
33600 SWIG_Python_SetConstant(d
, "LAYOUT_LEFT",SWIG_From_int(static_cast< int >(wxLAYOUT_LEFT
)));
33601 SWIG_Python_SetConstant(d
, "LAYOUT_RIGHT",SWIG_From_int(static_cast< int >(wxLAYOUT_RIGHT
)));
33602 SWIG_Python_SetConstant(d
, "LAYOUT_BOTTOM",SWIG_From_int(static_cast< int >(wxLAYOUT_BOTTOM
)));
33603 SWIG_Python_SetConstant(d
, "LAYOUT_LENGTH_Y",SWIG_From_int(static_cast< int >(wxLAYOUT_LENGTH_Y
)));
33604 SWIG_Python_SetConstant(d
, "LAYOUT_LENGTH_X",SWIG_From_int(static_cast< int >(wxLAYOUT_LENGTH_X
)));
33605 SWIG_Python_SetConstant(d
, "LAYOUT_MRU_LENGTH",SWIG_From_int(static_cast< int >(wxLAYOUT_MRU_LENGTH
)));
33606 SWIG_Python_SetConstant(d
, "LAYOUT_QUERY",SWIG_From_int(static_cast< int >(wxLAYOUT_QUERY
)));
33607 PyDict_SetItemString(d
, "wxEVT_QUERY_LAYOUT_INFO", PyInt_FromLong(wxEVT_QUERY_LAYOUT_INFO
));
33608 PyDict_SetItemString(d
, "wxEVT_CALCULATE_LAYOUT", PyInt_FromLong(wxEVT_CALCULATE_LAYOUT
));
33609 SWIG_addvarlink(SWIG_globals(),(char*)"VListBoxNameStr",VListBoxNameStr_get
, VListBoxNameStr_set
);
33611 // Map renamed classes back to their common name for OOR
33612 wxPyPtrTypeMap_Add("wxHtmlListBox", "wxPyHtmlListBox");
33613 wxPyPtrTypeMap_Add("wxVListBox", "wxPyVListBox");
33614 wxPyPtrTypeMap_Add("wxVScrolledWindow", "wxPyVScrolledWindow");
33616 PyDict_SetItemString(d
, "wxEVT_TASKBAR_MOVE", PyInt_FromLong(wxEVT_TASKBAR_MOVE
));
33617 PyDict_SetItemString(d
, "wxEVT_TASKBAR_LEFT_DOWN", PyInt_FromLong(wxEVT_TASKBAR_LEFT_DOWN
));
33618 PyDict_SetItemString(d
, "wxEVT_TASKBAR_LEFT_UP", PyInt_FromLong(wxEVT_TASKBAR_LEFT_UP
));
33619 PyDict_SetItemString(d
, "wxEVT_TASKBAR_RIGHT_DOWN", PyInt_FromLong(wxEVT_TASKBAR_RIGHT_DOWN
));
33620 PyDict_SetItemString(d
, "wxEVT_TASKBAR_RIGHT_UP", PyInt_FromLong(wxEVT_TASKBAR_RIGHT_UP
));
33621 PyDict_SetItemString(d
, "wxEVT_TASKBAR_LEFT_DCLICK", PyInt_FromLong(wxEVT_TASKBAR_LEFT_DCLICK
));
33622 PyDict_SetItemString(d
, "wxEVT_TASKBAR_RIGHT_DCLICK", PyInt_FromLong(wxEVT_TASKBAR_RIGHT_DCLICK
));
33623 SWIG_addvarlink(SWIG_globals(),(char*)"FileSelectorPromptStr",FileSelectorPromptStr_get
, FileSelectorPromptStr_set
);
33624 SWIG_addvarlink(SWIG_globals(),(char*)"DirSelectorPromptStr",DirSelectorPromptStr_get
, DirSelectorPromptStr_set
);
33625 SWIG_addvarlink(SWIG_globals(),(char*)"DirDialogNameStr",DirDialogNameStr_get
, DirDialogNameStr_set
);
33626 SWIG_addvarlink(SWIG_globals(),(char*)"FileSelectorDefaultWildcardStr",FileSelectorDefaultWildcardStr_get
, FileSelectorDefaultWildcardStr_set
);
33627 SWIG_addvarlink(SWIG_globals(),(char*)"GetTextFromUserPromptStr",GetTextFromUserPromptStr_get
, GetTextFromUserPromptStr_set
);
33628 SWIG_addvarlink(SWIG_globals(),(char*)"MessageBoxCaptionStr",MessageBoxCaptionStr_get
, MessageBoxCaptionStr_set
);
33629 SWIG_Python_SetConstant(d
, "CHOICEDLG_STYLE",SWIG_From_int(static_cast< int >(wxCHOICEDLG_STYLE
)));
33630 SWIG_Python_SetConstant(d
, "TextEntryDialogStyle",SWIG_From_int(static_cast< int >(wxTextEntryDialogStyle
)));
33631 SWIG_addvarlink(SWIG_globals(),(char*)"GetPasswordFromUserPromptStr",GetPasswordFromUserPromptStr_get
, GetPasswordFromUserPromptStr_set
);
33632 SWIG_Python_SetConstant(d
, "FR_DOWN",SWIG_From_int(static_cast< int >(wxFR_DOWN
)));
33633 SWIG_Python_SetConstant(d
, "FR_WHOLEWORD",SWIG_From_int(static_cast< int >(wxFR_WHOLEWORD
)));
33634 SWIG_Python_SetConstant(d
, "FR_MATCHCASE",SWIG_From_int(static_cast< int >(wxFR_MATCHCASE
)));
33635 SWIG_Python_SetConstant(d
, "FR_REPLACEDIALOG",SWIG_From_int(static_cast< int >(wxFR_REPLACEDIALOG
)));
33636 SWIG_Python_SetConstant(d
, "FR_NOUPDOWN",SWIG_From_int(static_cast< int >(wxFR_NOUPDOWN
)));
33637 SWIG_Python_SetConstant(d
, "FR_NOMATCHCASE",SWIG_From_int(static_cast< int >(wxFR_NOMATCHCASE
)));
33638 SWIG_Python_SetConstant(d
, "FR_NOWHOLEWORD",SWIG_From_int(static_cast< int >(wxFR_NOWHOLEWORD
)));
33639 PyDict_SetItemString(d
, "wxEVT_COMMAND_FIND", PyInt_FromLong(wxEVT_COMMAND_FIND
));
33640 PyDict_SetItemString(d
, "wxEVT_COMMAND_FIND_NEXT", PyInt_FromLong(wxEVT_COMMAND_FIND_NEXT
));
33641 PyDict_SetItemString(d
, "wxEVT_COMMAND_FIND_REPLACE", PyInt_FromLong(wxEVT_COMMAND_FIND_REPLACE
));
33642 PyDict_SetItemString(d
, "wxEVT_COMMAND_FIND_REPLACE_ALL", PyInt_FromLong(wxEVT_COMMAND_FIND_REPLACE_ALL
));
33643 PyDict_SetItemString(d
, "wxEVT_COMMAND_FIND_CLOSE", PyInt_FromLong(wxEVT_COMMAND_FIND_CLOSE
));
33644 SWIG_Python_SetConstant(d
, "IDM_WINDOWTILE",SWIG_From_int(static_cast< int >(4001)));
33645 SWIG_Python_SetConstant(d
, "IDM_WINDOWTILEHOR",SWIG_From_int(static_cast< int >(4001)));
33646 SWIG_Python_SetConstant(d
, "IDM_WINDOWCASCADE",SWIG_From_int(static_cast< int >(4002)));
33647 SWIG_Python_SetConstant(d
, "IDM_WINDOWICONS",SWIG_From_int(static_cast< int >(4003)));
33648 SWIG_Python_SetConstant(d
, "IDM_WINDOWNEXT",SWIG_From_int(static_cast< int >(4004)));
33649 SWIG_Python_SetConstant(d
, "IDM_WINDOWTILEVERT",SWIG_From_int(static_cast< int >(4005)));
33650 SWIG_Python_SetConstant(d
, "IDM_WINDOWPREV",SWIG_From_int(static_cast< int >(4006)));
33651 SWIG_Python_SetConstant(d
, "FIRST_MDI_CHILD",SWIG_From_int(static_cast< int >(4100)));
33652 SWIG_Python_SetConstant(d
, "LAST_MDI_CHILD",SWIG_From_int(static_cast< int >(4600)));
33653 SWIG_addvarlink(SWIG_globals(),(char*)"PrintoutTitleStr",PrintoutTitleStr_get
, PrintoutTitleStr_set
);
33654 SWIG_addvarlink(SWIG_globals(),(char*)"PreviewCanvasNameStr",PreviewCanvasNameStr_get
, PreviewCanvasNameStr_set
);
33655 SWIG_Python_SetConstant(d
, "PRINT_MODE_NONE",SWIG_From_int(static_cast< int >(wxPRINT_MODE_NONE
)));
33656 SWIG_Python_SetConstant(d
, "PRINT_MODE_PREVIEW",SWIG_From_int(static_cast< int >(wxPRINT_MODE_PREVIEW
)));
33657 SWIG_Python_SetConstant(d
, "PRINT_MODE_FILE",SWIG_From_int(static_cast< int >(wxPRINT_MODE_FILE
)));
33658 SWIG_Python_SetConstant(d
, "PRINT_MODE_PRINTER",SWIG_From_int(static_cast< int >(wxPRINT_MODE_PRINTER
)));
33659 SWIG_Python_SetConstant(d
, "PRINT_MODE_STREAM",SWIG_From_int(static_cast< int >(wxPRINT_MODE_STREAM
)));
33660 SWIG_Python_SetConstant(d
, "PRINTBIN_DEFAULT",SWIG_From_int(static_cast< int >(wxPRINTBIN_DEFAULT
)));
33661 SWIG_Python_SetConstant(d
, "PRINTBIN_ONLYONE",SWIG_From_int(static_cast< int >(wxPRINTBIN_ONLYONE
)));
33662 SWIG_Python_SetConstant(d
, "PRINTBIN_LOWER",SWIG_From_int(static_cast< int >(wxPRINTBIN_LOWER
)));
33663 SWIG_Python_SetConstant(d
, "PRINTBIN_MIDDLE",SWIG_From_int(static_cast< int >(wxPRINTBIN_MIDDLE
)));
33664 SWIG_Python_SetConstant(d
, "PRINTBIN_MANUAL",SWIG_From_int(static_cast< int >(wxPRINTBIN_MANUAL
)));
33665 SWIG_Python_SetConstant(d
, "PRINTBIN_ENVELOPE",SWIG_From_int(static_cast< int >(wxPRINTBIN_ENVELOPE
)));
33666 SWIG_Python_SetConstant(d
, "PRINTBIN_ENVMANUAL",SWIG_From_int(static_cast< int >(wxPRINTBIN_ENVMANUAL
)));
33667 SWIG_Python_SetConstant(d
, "PRINTBIN_AUTO",SWIG_From_int(static_cast< int >(wxPRINTBIN_AUTO
)));
33668 SWIG_Python_SetConstant(d
, "PRINTBIN_TRACTOR",SWIG_From_int(static_cast< int >(wxPRINTBIN_TRACTOR
)));
33669 SWIG_Python_SetConstant(d
, "PRINTBIN_SMALLFMT",SWIG_From_int(static_cast< int >(wxPRINTBIN_SMALLFMT
)));
33670 SWIG_Python_SetConstant(d
, "PRINTBIN_LARGEFMT",SWIG_From_int(static_cast< int >(wxPRINTBIN_LARGEFMT
)));
33671 SWIG_Python_SetConstant(d
, "PRINTBIN_LARGECAPACITY",SWIG_From_int(static_cast< int >(wxPRINTBIN_LARGECAPACITY
)));
33672 SWIG_Python_SetConstant(d
, "PRINTBIN_CASSETTE",SWIG_From_int(static_cast< int >(wxPRINTBIN_CASSETTE
)));
33673 SWIG_Python_SetConstant(d
, "PRINTBIN_FORMSOURCE",SWIG_From_int(static_cast< int >(wxPRINTBIN_FORMSOURCE
)));
33674 SWIG_Python_SetConstant(d
, "PRINTBIN_USER",SWIG_From_int(static_cast< int >(wxPRINTBIN_USER
)));
33675 SWIG_Python_SetConstant(d
, "PRINTER_NO_ERROR",SWIG_From_int(static_cast< int >(wxPRINTER_NO_ERROR
)));
33676 SWIG_Python_SetConstant(d
, "PRINTER_CANCELLED",SWIG_From_int(static_cast< int >(wxPRINTER_CANCELLED
)));
33677 SWIG_Python_SetConstant(d
, "PRINTER_ERROR",SWIG_From_int(static_cast< int >(wxPRINTER_ERROR
)));
33678 SWIG_Python_SetConstant(d
, "PREVIEW_PRINT",SWIG_From_int(static_cast< int >(wxPREVIEW_PRINT
)));
33679 SWIG_Python_SetConstant(d
, "PREVIEW_PREVIOUS",SWIG_From_int(static_cast< int >(wxPREVIEW_PREVIOUS
)));
33680 SWIG_Python_SetConstant(d
, "PREVIEW_NEXT",SWIG_From_int(static_cast< int >(wxPREVIEW_NEXT
)));
33681 SWIG_Python_SetConstant(d
, "PREVIEW_ZOOM",SWIG_From_int(static_cast< int >(wxPREVIEW_ZOOM
)));
33682 SWIG_Python_SetConstant(d
, "PREVIEW_FIRST",SWIG_From_int(static_cast< int >(wxPREVIEW_FIRST
)));
33683 SWIG_Python_SetConstant(d
, "PREVIEW_LAST",SWIG_From_int(static_cast< int >(wxPREVIEW_LAST
)));
33684 SWIG_Python_SetConstant(d
, "PREVIEW_GOTO",SWIG_From_int(static_cast< int >(wxPREVIEW_GOTO
)));
33685 SWIG_Python_SetConstant(d
, "PREVIEW_DEFAULT",SWIG_From_int(static_cast< int >(wxPREVIEW_DEFAULT
)));
33686 SWIG_Python_SetConstant(d
, "ID_PREVIEW_CLOSE",SWIG_From_int(static_cast< int >(wxID_PREVIEW_CLOSE
)));
33687 SWIG_Python_SetConstant(d
, "ID_PREVIEW_NEXT",SWIG_From_int(static_cast< int >(wxID_PREVIEW_NEXT
)));
33688 SWIG_Python_SetConstant(d
, "ID_PREVIEW_PREVIOUS",SWIG_From_int(static_cast< int >(wxID_PREVIEW_PREVIOUS
)));
33689 SWIG_Python_SetConstant(d
, "ID_PREVIEW_PRINT",SWIG_From_int(static_cast< int >(wxID_PREVIEW_PRINT
)));
33690 SWIG_Python_SetConstant(d
, "ID_PREVIEW_ZOOM",SWIG_From_int(static_cast< int >(wxID_PREVIEW_ZOOM
)));
33691 SWIG_Python_SetConstant(d
, "ID_PREVIEW_FIRST",SWIG_From_int(static_cast< int >(wxID_PREVIEW_FIRST
)));
33692 SWIG_Python_SetConstant(d
, "ID_PREVIEW_LAST",SWIG_From_int(static_cast< int >(wxID_PREVIEW_LAST
)));
33693 SWIG_Python_SetConstant(d
, "ID_PREVIEW_GOTO",SWIG_From_int(static_cast< int >(wxID_PREVIEW_GOTO
)));
33695 wxPyPtrTypeMap_Add("wxPrintout", "wxPyPrintout");