1 /* ----------------------------------------------------------------------------
2 * This file was automatically generated by SWIG (http://www.swig.org).
5 * This file is not intended to be easily readable and contains a number of
6 * coding conventions designed to improve portability and efficiency. Do not make
7 * changes to this file unless you know what you are doing--modify the SWIG
8 * interface file instead.
9 * ----------------------------------------------------------------------------- */
12 #define SWIG_PYTHON_DIRECTOR_NO_VTABLE
15 template<class T
> class SwigValueWrapper
{
18 SwigValueWrapper() : tt(0) { }
19 SwigValueWrapper(const SwigValueWrapper
<T
>& rhs
) : tt(new T(*rhs
.tt
)) { }
20 SwigValueWrapper(const T
& t
) : tt(new T(t
)) { }
21 ~SwigValueWrapper() { delete tt
; }
22 SwigValueWrapper
& operator=(const T
& t
) { delete tt
; tt
= new T(t
); return *this; }
23 operator T
&() const { return *tt
; }
24 T
*operator&() { return tt
; }
26 SwigValueWrapper
& operator=(const SwigValueWrapper
<T
>& rhs
);
30 /* -----------------------------------------------------------------------------
31 * This section contains generic SWIG labels for method/variable
32 * declarations/attributes, and other compiler dependent labels.
33 * ----------------------------------------------------------------------------- */
35 /* template workaround for compilers that cannot correctly implement the C++ standard */
36 #ifndef SWIGTEMPLATEDISAMBIGUATOR
37 # if defined(__SUNPRO_CC)
38 # if (__SUNPRO_CC <= 0x560)
39 # define SWIGTEMPLATEDISAMBIGUATOR template
41 # define SWIGTEMPLATEDISAMBIGUATOR
44 # define SWIGTEMPLATEDISAMBIGUATOR
48 /* inline attribute */
50 # if defined(__cplusplus) || (defined(__GNUC__) && !defined(__STRICT_ANSI__))
51 # define SWIGINLINE inline
57 /* attribute recognised by some compilers to avoid 'unused' warnings */
59 # if defined(__GNUC__)
60 # if !(defined(__cplusplus)) || (__GNUC__ > 3 || (__GNUC__ == 3 && __GNUC_MINOR__ >= 4))
61 # define SWIGUNUSED __attribute__ ((__unused__))
66 # define SWIGUNUSED __attribute__ ((__unused__))
72 #ifndef SWIGUNUSEDPARM
74 # define SWIGUNUSEDPARM(p)
76 # define SWIGUNUSEDPARM(p) p SWIGUNUSED
80 /* internal SWIG method */
82 # define SWIGINTERN static SWIGUNUSED
85 /* internal inline SWIG method */
86 #ifndef SWIGINTERNINLINE
87 # define SWIGINTERNINLINE SWIGINTERN SWIGINLINE
90 /* exporting methods */
91 #if (__GNUC__ >= 4) || (__GNUC__ == 3 && __GNUC_MINOR__ >= 4)
92 # ifndef GCC_HASCLASSVISIBILITY
93 # define GCC_HASCLASSVISIBILITY
98 # if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
99 # if defined(STATIC_LINKED)
102 # define SWIGEXPORT __declspec(dllexport)
105 # if defined(__GNUC__) && defined(GCC_HASCLASSVISIBILITY)
106 # define SWIGEXPORT __attribute__ ((visibility("default")))
113 /* calling conventions for Windows */
115 # if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
116 # define SWIGSTDCALL __stdcall
122 /* Deal with Microsoft's attempt at deprecating C standard runtime functions */
123 #if !defined(SWIG_NO_CRT_SECURE_NO_DEPRECATE) && defined(_MSC_VER)
124 # define _CRT_SECURE_NO_DEPRECATE
128 /* Python.h has to appear first */
131 /* -----------------------------------------------------------------------------
134 * This file contains generic CAPI SWIG runtime support for pointer
136 * ----------------------------------------------------------------------------- */
138 /* This should only be incremented when either the layout of swig_type_info changes,
139 or for whatever reason, the runtime changes incompatibly */
140 #define SWIG_RUNTIME_VERSION "2"
142 /* define SWIG_TYPE_TABLE_NAME as "SWIG_TYPE_TABLE" */
143 #ifdef SWIG_TYPE_TABLE
144 # define SWIG_QUOTE_STRING(x) #x
145 # define SWIG_EXPAND_AND_QUOTE_STRING(x) SWIG_QUOTE_STRING(x)
146 # define SWIG_TYPE_TABLE_NAME SWIG_EXPAND_AND_QUOTE_STRING(SWIG_TYPE_TABLE)
148 # define SWIG_TYPE_TABLE_NAME
152 You can use the SWIGRUNTIME and SWIGRUNTIMEINLINE macros for
153 creating a static or dynamic library from the swig runtime code.
154 In 99.9% of the cases, swig just needs to declare them as 'static'.
156 But only do this if is strictly necessary, ie, if you have problems
157 with your compiler or so.
161 # define SWIGRUNTIME SWIGINTERN
164 #ifndef SWIGRUNTIMEINLINE
165 # define SWIGRUNTIMEINLINE SWIGRUNTIME SWIGINLINE
168 /* Generic buffer size */
169 #ifndef SWIG_BUFFER_SIZE
170 # define SWIG_BUFFER_SIZE 1024
173 /* Flags for pointer conversions */
174 #define SWIG_POINTER_DISOWN 0x1
176 /* Flags for new pointer objects */
177 #define SWIG_POINTER_OWN 0x1
181 Flags/methods for returning states.
183 The swig conversion methods, as ConvertPtr, return and integer
184 that tells if the conversion was successful or not. And if not,
185 an error code can be returned (see swigerrors.swg for the codes).
187 Use the following macros/flags to set or process the returning
190 In old swig versions, you usually write code as:
192 if (SWIG_ConvertPtr(obj,vptr,ty.flags) != -1) {
198 Now you can be more explicit as:
200 int res = SWIG_ConvertPtr(obj,vptr,ty.flags);
201 if (SWIG_IsOK(res)) {
207 that seems to be the same, but now you can also do
210 int res = SWIG_ConvertPtr(obj,(void **)(&ptr),ty.flags);
211 if (SWIG_IsOK(res)) {
213 if (SWIG_IsNewObj(res) {
223 I.e., now SWIG_ConvertPtr can return new objects and you can
224 identify the case and take care of the deallocation. Of course that
225 requires also to SWIG_ConvertPtr to return new result values, as
227 int SWIG_ConvertPtr(obj, ptr,...) {
229 if (<need new object>) {
230 *ptr = <ptr to new allocated object>;
233 *ptr = <ptr to old object>;
241 Of course, returning the plain '0(success)/-1(fail)' still works, but you can be
242 more explicit by returning SWIG_BADOBJ, SWIG_ERROR or any of the
245 Finally, if the SWIG_CASTRANK_MODE is enabled, the result code
246 allows to return the 'cast rank', for example, if you have this
253 food(1) // cast rank '1' (1 -> 1.0)
254 fooi(1) // cast rank '0'
256 just use the SWIG_AddCast()/SWIG_CheckState()
261 #define SWIG_ERROR (-1)
262 #define SWIG_IsOK(r) (r >= 0)
263 #define SWIG_ArgError(r) ((r != SWIG_ERROR) ? r : SWIG_TypeError)
265 /* The CastRankLimit says how many bits are used for the cast rank */
266 #define SWIG_CASTRANKLIMIT (1 << 8)
267 /* The NewMask denotes the object was created (using new/malloc) */
268 #define SWIG_NEWOBJMASK (SWIG_CASTRANKLIMIT << 1)
269 /* The TmpMask is for in/out typemaps that use temporal objects */
270 #define SWIG_TMPOBJMASK (SWIG_NEWOBJMASK << 1)
271 /* Simple returning values */
272 #define SWIG_BADOBJ (SWIG_ERROR)
273 #define SWIG_OLDOBJ (SWIG_OK)
274 #define SWIG_NEWOBJ (SWIG_OK | SWIG_NEWOBJMASK)
275 #define SWIG_TMPOBJ (SWIG_OK | SWIG_TMPOBJMASK)
276 /* Check, add and del mask methods */
277 #define SWIG_AddNewMask(r) (SWIG_IsOK(r) ? (r | SWIG_NEWOBJMASK) : r)
278 #define SWIG_DelNewMask(r) (SWIG_IsOK(r) ? (r & ~SWIG_NEWOBJMASK) : r)
279 #define SWIG_IsNewObj(r) (SWIG_IsOK(r) && (r & SWIG_NEWOBJMASK))
280 #define SWIG_AddTmpMask(r) (SWIG_IsOK(r) ? (r | SWIG_TMPOBJMASK) : r)
281 #define SWIG_DelTmpMask(r) (SWIG_IsOK(r) ? (r & ~SWIG_TMPOBJMASK) : r)
282 #define SWIG_IsTmpObj(r) (SWIG_IsOK(r) && (r & SWIG_TMPOBJMASK))
286 #if defined(SWIG_CASTRANK_MODE)
287 # ifndef SWIG_TypeRank
288 # define SWIG_TypeRank unsigned long
290 # ifndef SWIG_MAXCASTRANK /* Default cast allowed */
291 # define SWIG_MAXCASTRANK (2)
293 # define SWIG_CASTRANKMASK ((SWIG_CASTRANKLIMIT) -1)
294 # define SWIG_CastRank(r) (r & SWIG_CASTRANKMASK)
295 SWIGINTERNINLINE
int SWIG_AddCast(int r
) {
296 return SWIG_IsOK(r
) ? ((SWIG_CastRank(r
) < SWIG_MAXCASTRANK
) ? (r
+ 1) : SWIG_ERROR
) : r
;
298 SWIGINTERNINLINE
int SWIG_CheckState(int r
) {
299 return SWIG_IsOK(r
) ? SWIG_CastRank(r
) + 1 : 0;
301 #else /* no cast-rank mode */
302 # define SWIG_AddCast
303 # define SWIG_CheckState(r) (SWIG_IsOK(r) ? 1 : 0)
315 typedef void *(*swig_converter_func
)(void *);
316 typedef struct swig_type_info
*(*swig_dycast_func
)(void **);
318 /* Structure to store inforomation on one type */
319 typedef struct swig_type_info
{
320 const char *name
; /* mangled name of this type */
321 const char *str
; /* human readable name of this type */
322 swig_dycast_func dcast
; /* dynamic cast function down a hierarchy */
323 struct swig_cast_info
*cast
; /* linked list of types that can cast into this type */
324 void *clientdata
; /* language specific type data */
325 int owndata
; /* flag if the structure owns the clientdata */
328 /* Structure to store a type and conversion function used for casting */
329 typedef struct swig_cast_info
{
330 swig_type_info
*type
; /* pointer to type that is equivalent to this type */
331 swig_converter_func converter
; /* function to cast the void pointers */
332 struct swig_cast_info
*next
; /* pointer to next cast in linked list */
333 struct swig_cast_info
*prev
; /* pointer to the previous cast */
336 /* Structure used to store module information
337 * Each module generates one structure like this, and the runtime collects
338 * all of these structures and stores them in a circularly linked list.*/
339 typedef struct swig_module_info
{
340 swig_type_info
**types
; /* Array of pointers to swig_type_info structures that are in this module */
341 size_t size
; /* Number of types in this module */
342 struct swig_module_info
*next
; /* Pointer to next element in circularly linked list */
343 swig_type_info
**type_initial
; /* Array of initially generated type structures */
344 swig_cast_info
**cast_initial
; /* Array of initially generated casting structures */
345 void *clientdata
; /* Language specific module data */
349 Compare two type names skipping the space characters, therefore
350 "char*" == "char *" and "Class<int>" == "Class<int >", etc.
352 Return 0 when the two name types are equivalent, as in
353 strncmp, but skipping ' '.
356 SWIG_TypeNameComp(const char *f1
, const char *l1
,
357 const char *f2
, const char *l2
) {
358 for (;(f1
!= l1
) && (f2
!= l2
); ++f1
, ++f2
) {
359 while ((*f1
== ' ') && (f1
!= l1
)) ++f1
;
360 while ((*f2
== ' ') && (f2
!= l2
)) ++f2
;
361 if (*f1
!= *f2
) return (*f1
> *f2
) ? 1 : -1;
363 return (l1
- f1
) - (l2
- f2
);
367 Check type equivalence in a name list like <name1>|<name2>|...
368 Return 0 if not equal, 1 if equal
371 SWIG_TypeEquiv(const char *nb
, const char *tb
) {
373 const char* te
= tb
+ strlen(tb
);
375 while (!equiv
&& *ne
) {
376 for (nb
= ne
; *ne
; ++ne
) {
377 if (*ne
== '|') break;
379 equiv
= (SWIG_TypeNameComp(nb
, ne
, tb
, te
) == 0) ? 1 : 0;
386 Check type equivalence in a name list like <name1>|<name2>|...
387 Return 0 if equal, -1 if nb < tb, 1 if nb > tb
390 SWIG_TypeCompare(const char *nb
, const char *tb
) {
392 const char* te
= tb
+ strlen(tb
);
394 while (!equiv
&& *ne
) {
395 for (nb
= ne
; *ne
; ++ne
) {
396 if (*ne
== '|') break;
398 equiv
= (SWIG_TypeNameComp(nb
, ne
, tb
, te
) == 0) ? 1 : 0;
405 /* think of this as a c++ template<> or a scheme macro */
406 #define SWIG_TypeCheck_Template(comparison, ty) \
408 swig_cast_info *iter = ty->cast; \
411 if (iter == ty->cast) return iter; \
412 /* Move iter to the top of the linked list */ \
413 iter->prev->next = iter->next; \
415 iter->next->prev = iter->prev; \
416 iter->next = ty->cast; \
418 if (ty->cast) ty->cast->prev = iter; \
430 SWIGRUNTIME swig_cast_info
*
431 SWIG_TypeCheck(const char *c
, swig_type_info
*ty
) {
432 SWIG_TypeCheck_Template(strcmp(iter
->type
->name
, c
) == 0, ty
);
435 /* Same as previous function, except strcmp is replaced with a pointer comparison */
436 SWIGRUNTIME swig_cast_info
*
437 SWIG_TypeCheckStruct(swig_type_info
*from
, swig_type_info
*into
) {
438 SWIG_TypeCheck_Template(iter
->type
== from
, into
);
442 Cast a pointer up an inheritance hierarchy
444 SWIGRUNTIMEINLINE
void *
445 SWIG_TypeCast(swig_cast_info
*ty
, void *ptr
) {
446 return ((!ty
) || (!ty
->converter
)) ? ptr
: (*ty
->converter
)(ptr
);
450 Dynamic pointer casting. Down an inheritance hierarchy
452 SWIGRUNTIME swig_type_info
*
453 SWIG_TypeDynamicCast(swig_type_info
*ty
, void **ptr
) {
454 swig_type_info
*lastty
= ty
;
455 if (!ty
|| !ty
->dcast
) return ty
;
456 while (ty
&& (ty
->dcast
)) {
457 ty
= (*ty
->dcast
)(ptr
);
464 Return the name associated with this type
466 SWIGRUNTIMEINLINE
const char *
467 SWIG_TypeName(const swig_type_info
*ty
) {
472 Return the pretty name associated with this type,
473 that is an unmangled type name in a form presentable to the user.
475 SWIGRUNTIME
const char *
476 SWIG_TypePrettyName(const swig_type_info
*type
) {
477 /* The "str" field contains the equivalent pretty names of the
478 type, separated by vertical-bar characters. We choose
479 to print the last name, as it is often (?) the most
481 if (!type
) return NULL
;
482 if (type
->str
!= NULL
) {
483 const char *last_name
= type
->str
;
485 for (s
= type
->str
; *s
; s
++)
486 if (*s
== '|') last_name
= s
+1;
494 Set the clientdata field for a type
497 SWIG_TypeClientData(swig_type_info
*ti
, void *clientdata
) {
498 swig_cast_info
*cast
= ti
->cast
;
499 /* if (ti->clientdata == clientdata) return; */
500 ti
->clientdata
= clientdata
;
503 if (!cast
->converter
) {
504 swig_type_info
*tc
= cast
->type
;
505 if (!tc
->clientdata
) {
506 SWIG_TypeClientData(tc
, clientdata
);
513 SWIG_TypeNewClientData(swig_type_info
*ti
, void *clientdata
) {
514 SWIG_TypeClientData(ti
, clientdata
);
519 Search for a swig_type_info structure only by mangled name
520 Search is a O(log #types)
522 We start searching at module start, and finish searching when start == end.
523 Note: if start == end at the beginning of the function, we go all the way around
526 SWIGRUNTIME swig_type_info
*
527 SWIG_MangledTypeQueryModule(swig_module_info
*start
,
528 swig_module_info
*end
,
530 swig_module_info
*iter
= start
;
533 register size_t l
= 0;
534 register size_t r
= iter
->size
- 1;
536 /* since l+r >= 0, we can (>> 1) instead (/ 2) */
537 register size_t i
= (l
+ r
) >> 1;
538 const char *iname
= iter
->types
[i
]->name
;
540 register int compare
= strcmp(name
, iname
);
542 return iter
->types
[i
];
543 } else if (compare
< 0) {
549 } else if (compare
> 0) {
553 break; /* should never happen */
558 } while (iter
!= end
);
563 Search for a swig_type_info structure for either a mangled name or a human readable name.
564 It first searches the mangled names of the types, which is a O(log #types)
565 If a type is not found it then searches the human readable names, which is O(#types).
567 We start searching at module start, and finish searching when start == end.
568 Note: if start == end at the beginning of the function, we go all the way around
571 SWIGRUNTIME swig_type_info
*
572 SWIG_TypeQueryModule(swig_module_info
*start
,
573 swig_module_info
*end
,
575 /* STEP 1: Search the name field using binary search */
576 swig_type_info
*ret
= SWIG_MangledTypeQueryModule(start
, end
, name
);
580 /* STEP 2: If the type hasn't been found, do a complete search
581 of the str field (the human readable name) */
582 swig_module_info
*iter
= start
;
584 register size_t i
= 0;
585 for (; i
< iter
->size
; ++i
) {
586 if (iter
->types
[i
]->str
&& (SWIG_TypeEquiv(iter
->types
[i
]->str
, name
)))
587 return iter
->types
[i
];
590 } while (iter
!= end
);
593 /* neither found a match */
598 Pack binary data into a string
601 SWIG_PackData(char *c
, void *ptr
, size_t sz
) {
602 static const char hex
[17] = "0123456789abcdef";
603 register const unsigned char *u
= (unsigned char *) ptr
;
604 register const unsigned char *eu
= u
+ sz
;
605 for (; u
!= eu
; ++u
) {
606 register unsigned char uu
= *u
;
607 *(c
++) = hex
[(uu
& 0xf0) >> 4];
608 *(c
++) = hex
[uu
& 0xf];
614 Unpack binary data from a string
616 SWIGRUNTIME
const char *
617 SWIG_UnpackData(const char *c
, void *ptr
, size_t sz
) {
618 register unsigned char *u
= (unsigned char *) ptr
;
619 register const unsigned char *eu
= u
+ sz
;
620 for (; u
!= eu
; ++u
) {
621 register char d
= *(c
++);
622 register unsigned char uu
;
623 if ((d
>= '0') && (d
<= '9'))
624 uu
= ((d
- '0') << 4);
625 else if ((d
>= 'a') && (d
<= 'f'))
626 uu
= ((d
- ('a'-10)) << 4);
630 if ((d
>= '0') && (d
<= '9'))
632 else if ((d
>= 'a') && (d
<= 'f'))
633 uu
|= (d
- ('a'-10));
642 Pack 'void *' into a string buffer.
645 SWIG_PackVoidPtr(char *buff
, void *ptr
, const char *name
, size_t bsz
) {
647 if ((2*sizeof(void *) + 2) > bsz
) return 0;
649 r
= SWIG_PackData(r
,&ptr
,sizeof(void *));
650 if (strlen(name
) + 1 > (bsz
- (r
- buff
))) return 0;
655 SWIGRUNTIME
const char *
656 SWIG_UnpackVoidPtr(const char *c
, void **ptr
, const char *name
) {
658 if (strcmp(c
,"NULL") == 0) {
665 return SWIG_UnpackData(++c
,ptr
,sizeof(void *));
669 SWIG_PackDataName(char *buff
, void *ptr
, size_t sz
, const char *name
, size_t bsz
) {
671 size_t lname
= (name
? strlen(name
) : 0);
672 if ((2*sz
+ 2 + lname
) > bsz
) return 0;
674 r
= SWIG_PackData(r
,ptr
,sz
);
676 strncpy(r
,name
,lname
+1);
683 SWIGRUNTIME
const char *
684 SWIG_UnpackDataName(const char *c
, void *ptr
, size_t sz
, const char *name
) {
686 if (strcmp(c
,"NULL") == 0) {
693 return SWIG_UnpackData(++c
,ptr
,sz
);
701 #define SWIG_UnknownError -1
702 #define SWIG_IOError -2
703 #define SWIG_RuntimeError -3
704 #define SWIG_IndexError -4
705 #define SWIG_TypeError -5
706 #define SWIG_DivisionByZero -6
707 #define SWIG_OverflowError -7
708 #define SWIG_SyntaxError -8
709 #define SWIG_ValueError -9
710 #define SWIG_SystemError -10
711 #define SWIG_AttributeError -11
712 #define SWIG_MemoryError -12
713 #define SWIG_NullReferenceError -13
717 /* Python.h has to appear first */
720 /* Add PyOS_snprintf for old Pythons */
721 #if PY_VERSION_HEX < 0x02020000
722 # if defined(_MSC_VER) || defined(__BORLANDC__) || defined(_WATCOM)
723 # define PyOS_snprintf _snprintf
725 # define PyOS_snprintf snprintf
729 /* A crude PyString_FromFormat implementation for old Pythons */
730 #if PY_VERSION_HEX < 0x02020000
732 #ifndef SWIG_PYBUFFER_SIZE
733 # define SWIG_PYBUFFER_SIZE 1024
737 PyString_FromFormat(const char *fmt
, ...) {
739 char buf
[SWIG_PYBUFFER_SIZE
* 2];
742 res
= vsnprintf(buf
, sizeof(buf
), fmt
, ap
);
744 return (res
< 0 || res
>= (int)sizeof(buf
)) ? 0 : PyString_FromString(buf
);
748 /* Add PyObject_Del for old Pythons */
749 #if PY_VERSION_HEX < 0x01060000
750 # define PyObject_Del(op) PyMem_DEL((op))
753 # define PyObject_DEL PyObject_Del
756 /* A crude PyExc_StopIteration exception for old Pythons */
757 #if PY_VERSION_HEX < 0x02020000
758 # ifndef PyExc_StopIteration
759 # define PyExc_StopIteration PyExc_RuntimeError
761 # ifndef PyObject_GenericGetAttr
762 # define PyObject_GenericGetAttr 0
765 /* Py_NotImplemented is defined in 2.1 and up. */
766 #if PY_VERSION_HEX < 0x02010000
767 # ifndef Py_NotImplemented
768 # define Py_NotImplemented PyExc_RuntimeError
773 /* A crude PyString_AsStringAndSize implementation for old Pythons */
774 #if PY_VERSION_HEX < 0x02010000
775 # ifndef PyString_AsStringAndSize
776 # define PyString_AsStringAndSize(obj, s, len) {*s = PyString_AsString(obj); *len = *s ? strlen(*s) : 0;}
780 /* PySequence_Size for old Pythons */
781 #if PY_VERSION_HEX < 0x02000000
782 # ifndef PySequence_Size
783 # define PySequence_Size PySequence_Length
788 /* PyBool_FromLong for old Pythons */
789 #if PY_VERSION_HEX < 0x02030000
791 PyObject
*PyBool_FromLong(long ok
)
793 PyObject
*result
= ok
? Py_True
: Py_False
;
800 /* -----------------------------------------------------------------------------
802 * ----------------------------------------------------------------------------- */
804 SWIGRUNTIME PyObject
*
805 SWIG_Python_ErrorType(int code
) {
808 case SWIG_MemoryError
:
809 type
= PyExc_MemoryError
;
812 type
= PyExc_IOError
;
814 case SWIG_RuntimeError
:
815 type
= PyExc_RuntimeError
;
817 case SWIG_IndexError
:
818 type
= PyExc_IndexError
;
821 type
= PyExc_TypeError
;
823 case SWIG_DivisionByZero
:
824 type
= PyExc_ZeroDivisionError
;
826 case SWIG_OverflowError
:
827 type
= PyExc_OverflowError
;
829 case SWIG_SyntaxError
:
830 type
= PyExc_SyntaxError
;
832 case SWIG_ValueError
:
833 type
= PyExc_ValueError
;
835 case SWIG_SystemError
:
836 type
= PyExc_SystemError
;
838 case SWIG_AttributeError
:
839 type
= PyExc_AttributeError
;
842 type
= PyExc_RuntimeError
;
849 SWIG_Python_AddErrorMsg(const char* mesg
)
853 PyObject
*traceback
= 0;
855 if (PyErr_Occurred()) PyErr_Fetch(&type
, &value
, &traceback
);
857 PyObject
*old_str
= PyObject_Str(value
);
860 PyErr_Format(type
, "%s %s", PyString_AsString(old_str
), mesg
);
864 PyErr_Format(PyExc_RuntimeError
, mesg
);
870 #if defined(SWIG_PYTHON_NO_THREADS)
871 # if defined(SWIG_PYTHON_THREADS)
872 # undef SWIG_PYTHON_THREADS
875 #if defined(SWIG_PYTHON_THREADS) /* Threading support is enabled */
876 # if !defined(SWIG_PYTHON_USE_GIL) && !defined(SWIG_PYTHON_NO_USE_GIL)
877 # if (PY_VERSION_HEX >= 0x02030000) /* For 2.3 or later, use the PyGILState calls */
878 # define SWIG_PYTHON_USE_GIL
881 # if defined(SWIG_PYTHON_USE_GIL) /* Use PyGILState threads calls */
882 # ifndef SWIG_PYTHON_INITIALIZE_THREADS
883 # define SWIG_PYTHON_INITIALIZE_THREADS PyEval_InitThreads()
885 # ifdef __cplusplus /* C++ code */
886 class SWIG_Python_Thread_Block
{
888 PyGILState_STATE state
;
890 void end() { if (status
) { PyGILState_Release(state
); status
= false;} }
891 SWIG_Python_Thread_Block() : status(true), state(PyGILState_Ensure()) {}
892 ~SWIG_Python_Thread_Block() { end(); }
894 class SWIG_Python_Thread_Allow
{
898 void end() { if (status
) { PyEval_RestoreThread(save
); status
= false; }}
899 SWIG_Python_Thread_Allow() : status(true), save(PyEval_SaveThread()) {}
900 ~SWIG_Python_Thread_Allow() { end(); }
902 # define SWIG_PYTHON_THREAD_BEGIN_BLOCK SWIG_Python_Thread_Block _swig_thread_block
903 # define SWIG_PYTHON_THREAD_END_BLOCK _swig_thread_block.end()
904 # define SWIG_PYTHON_THREAD_BEGIN_ALLOW SWIG_Python_Thread_Allow _swig_thread_allow
905 # define SWIG_PYTHON_THREAD_END_ALLOW _swig_thread_allow.end()
907 # define SWIG_PYTHON_THREAD_BEGIN_BLOCK PyGILState_STATE _swig_thread_block = PyGILState_Ensure()
908 # define SWIG_PYTHON_THREAD_END_BLOCK PyGILState_Release(_swig_thread_block)
909 # define SWIG_PYTHON_THREAD_BEGIN_ALLOW PyThreadState *_swig_thread_allow = PyEval_SaveThread()
910 # define SWIG_PYTHON_THREAD_END_ALLOW PyEval_RestoreThread(_swig_thread_allow)
912 # else /* Old thread way, not implemented, user must provide it */
913 # if !defined(SWIG_PYTHON_INITIALIZE_THREADS)
914 # define SWIG_PYTHON_INITIALIZE_THREADS
916 # if !defined(SWIG_PYTHON_THREAD_BEGIN_BLOCK)
917 # define SWIG_PYTHON_THREAD_BEGIN_BLOCK
919 # if !defined(SWIG_PYTHON_THREAD_END_BLOCK)
920 # define SWIG_PYTHON_THREAD_END_BLOCK
922 # if !defined(SWIG_PYTHON_THREAD_BEGIN_ALLOW)
923 # define SWIG_PYTHON_THREAD_BEGIN_ALLOW
925 # if !defined(SWIG_PYTHON_THREAD_END_ALLOW)
926 # define SWIG_PYTHON_THREAD_END_ALLOW
929 #else /* No thread support */
930 # define SWIG_PYTHON_INITIALIZE_THREADS
931 # define SWIG_PYTHON_THREAD_BEGIN_BLOCK
932 # define SWIG_PYTHON_THREAD_END_BLOCK
933 # define SWIG_PYTHON_THREAD_BEGIN_ALLOW
934 # define SWIG_PYTHON_THREAD_END_ALLOW
937 /* -----------------------------------------------------------------------------
938 * Python API portion that goes into the runtime
939 * ----------------------------------------------------------------------------- */
948 /* -----------------------------------------------------------------------------
949 * Constant declarations
950 * ----------------------------------------------------------------------------- */
953 #define SWIG_PY_POINTER 4
954 #define SWIG_PY_BINARY 5
956 /* Constant information structure */
957 typedef struct swig_const_info
{
963 swig_type_info
**ptype
;
974 /* -----------------------------------------------------------------------------
975 * See the LICENSE file for information on copyright, usage and redistribution
976 * of SWIG, and the README file for authors - http://www.swig.org/release.html.
980 * This file contains the runtime support for Python modules
981 * and includes code for managing global variables and pointer
984 * ----------------------------------------------------------------------------- */
986 /* Common SWIG API */
988 #if PY_VERSION_HEX < 0x02050000
989 typedef int Py_ssize_t
;
992 /* for raw pointers */
993 #define SWIG_Python_ConvertPtr(obj, pptr, type, flags) SWIG_Python_ConvertPtrAndOwn(obj, pptr, type, flags, 0)
994 #define SWIG_ConvertPtr(obj, pptr, type, flags) SWIG_Python_ConvertPtr(obj, pptr, type, flags)
995 #define SWIG_ConvertPtrAndOwn(obj,pptr,type,flags,own) SWIG_Python_ConvertPtrAndOwn(obj, pptr, type, flags, own)
996 #define SWIG_NewPointerObj(ptr, type, flags) SWIG_Python_NewPointerObj(ptr, type, flags)
997 #define SWIG_CheckImplicit(ty) SWIG_Python_CheckImplicit(ty)
998 #define SWIG_AcquirePtr(ptr, src) SWIG_Python_AcquirePtr(ptr, src)
999 #define swig_owntype int
1001 /* for raw packed data */
1002 #define SWIG_ConvertPacked(obj, ptr, sz, ty) SWIG_Python_ConvertPacked(obj, ptr, sz, ty)
1003 #define SWIG_NewPackedObj(ptr, sz, type) SWIG_Python_NewPackedObj(ptr, sz, type)
1005 /* for class or struct pointers */
1006 #define SWIG_ConvertInstance(obj, pptr, type, flags) SWIG_ConvertPtr(obj, pptr, type, flags)
1007 #define SWIG_NewInstanceObj(ptr, type, flags) SWIG_NewPointerObj(ptr, type, flags)
1009 /* for C or C++ function pointers */
1010 #define SWIG_ConvertFunctionPtr(obj, pptr, type) SWIG_Python_ConvertFunctionPtr(obj, pptr, type)
1011 #define SWIG_NewFunctionPtrObj(ptr, type) SWIG_Python_NewPointerObj(ptr, type, 0)
1013 /* for C++ member pointers, ie, member methods */
1014 #define SWIG_ConvertMember(obj, ptr, sz, ty) SWIG_Python_ConvertPacked(obj, ptr, sz, ty)
1015 #define SWIG_NewMemberObj(ptr, sz, type) SWIG_Python_NewPackedObj(ptr, sz, type)
1020 #define SWIG_GetModule(clientdata) SWIG_Python_GetModule()
1021 #define SWIG_SetModule(clientdata, pointer) SWIG_Python_SetModule(pointer)
1022 #define SWIG_NewClientData(obj) PySwigClientData_New(obj)
1024 #define SWIG_SetErrorObj SWIG_Python_SetErrorObj
1025 #define SWIG_SetErrorMsg SWIG_Python_SetErrorMsg
1026 #define SWIG_ErrorType(code) SWIG_Python_ErrorType(code)
1027 #define SWIG_Error(code, msg) SWIG_Python_SetErrorMsg(SWIG_ErrorType(code), msg)
1028 #define SWIG_fail goto fail
1031 /* Runtime API implementation */
1033 /* Error manipulation */
1036 SWIG_Python_SetErrorObj(PyObject
*errtype
, PyObject
*obj
) {
1037 SWIG_PYTHON_THREAD_BEGIN_BLOCK
;
1038 PyErr_SetObject(errtype
, obj
);
1040 SWIG_PYTHON_THREAD_END_BLOCK
;
1044 SWIG_Python_SetErrorMsg(PyObject
*errtype
, const char *msg
) {
1045 SWIG_PYTHON_THREAD_BEGIN_BLOCK
;
1046 PyErr_SetString(errtype
, (char *) msg
);
1047 SWIG_PYTHON_THREAD_END_BLOCK
;
1050 #define SWIG_Python_Raise(obj, type, desc) SWIG_Python_SetErrorObj(SWIG_Python_ExceptionType(desc), obj)
1052 /* Set a constant value */
1055 SWIG_Python_SetConstant(PyObject
*d
, const char *name
, PyObject
*obj
) {
1056 PyDict_SetItemString(d
, (char*) name
, obj
);
1060 /* Append a value to the result obj */
1062 SWIGINTERN PyObject
*
1063 SWIG_Python_AppendOutput(PyObject
* result
, PyObject
* obj
) {
1064 #if !defined(SWIG_PYTHON_OUTPUT_TUPLE)
1067 } else if (result
== Py_None
) {
1071 if (!PyList_Check(result
)) {
1072 PyObject
*o2
= result
;
1073 result
= PyList_New(1);
1074 PyList_SetItem(result
, 0, o2
);
1076 PyList_Append(result
,obj
);
1085 } else if (result
== Py_None
) {
1089 if (!PyTuple_Check(result
)) {
1091 result
= PyTuple_New(1);
1092 PyTuple_SET_ITEM(result
, 0, o2
);
1094 o3
= PyTuple_New(1);
1095 PyTuple_SET_ITEM(o3
, 0, obj
);
1097 result
= PySequence_Concat(o2
, o3
);
1105 /* Unpack the argument tuple */
1108 SWIG_Python_UnpackTuple(PyObject
*args
, const char *name
, int min
, int max
, PyObject
**objs
)
1114 PyErr_Format(PyExc_TypeError
, "%s expected %s%d arguments, got none",
1115 name
, (min
== max
? "" : "at least "), min
);
1119 if (!PyTuple_Check(args
)) {
1120 PyErr_SetString(PyExc_SystemError
, "UnpackTuple() argument list is not a tuple");
1123 register int l
= PyTuple_GET_SIZE(args
);
1125 PyErr_Format(PyExc_TypeError
, "%s expected %s%d arguments, got %d",
1126 name
, (min
== max
? "" : "at least "), min
, l
);
1128 } else if (l
> max
) {
1129 PyErr_Format(PyExc_TypeError
, "%s expected %s%d arguments, got %d",
1130 name
, (min
== max
? "" : "at most "), max
, l
);
1134 for (i
= 0; i
< l
; ++i
) {
1135 objs
[i
] = PyTuple_GET_ITEM(args
, i
);
1137 for (; l
< max
; ++l
) {
1145 /* A functor is a function object with one single object argument */
1146 #if PY_VERSION_HEX >= 0x02020000
1147 #define SWIG_Python_CallFunctor(functor, obj) PyObject_CallFunctionObjArgs(functor, obj, NULL);
1149 #define SWIG_Python_CallFunctor(functor, obj) PyObject_CallFunction(functor, "O", obj);
1153 Helper for static pointer initialization for both C and C++ code, for example
1154 static PyObject *SWIG_STATIC_POINTER(MyVar) = NewSomething(...);
1157 #define SWIG_STATIC_POINTER(var) var
1159 #define SWIG_STATIC_POINTER(var) var = 0; if (!var) var
1162 /* -----------------------------------------------------------------------------
1163 * Pointer declarations
1164 * ----------------------------------------------------------------------------- */
1166 /* Flags for new pointer objects */
1167 #define SWIG_POINTER_NOSHADOW (SWIG_POINTER_OWN << 1)
1168 #define SWIG_POINTER_NEW (SWIG_POINTER_NOSHADOW | SWIG_POINTER_OWN)
1170 #define SWIG_POINTER_IMPLICIT_CONV (SWIG_POINTER_DISOWN << 1)
1179 /* How to access Py_None */
1180 #if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
1181 # ifndef SWIG_PYTHON_NO_BUILD_NONE
1182 # ifndef SWIG_PYTHON_BUILD_NONE
1183 # define SWIG_PYTHON_BUILD_NONE
1188 #ifdef SWIG_PYTHON_BUILD_NONE
1191 # define Py_None SWIG_Py_None()
1193 SWIGRUNTIMEINLINE PyObject
*
1196 PyObject
*none
= Py_BuildValue("");
1200 SWIGRUNTIME PyObject
*
1203 static PyObject
*SWIG_STATIC_POINTER(none
) = _SWIG_Py_None();
1208 /* The python void return value */
1210 SWIGRUNTIMEINLINE PyObject
*
1213 PyObject
*none
= Py_None
;
1218 /* PySwigClientData */
1229 SWIGRUNTIMEINLINE
int
1230 SWIG_Python_CheckImplicit(swig_type_info
*ty
)
1232 PySwigClientData
*data
= (PySwigClientData
*)ty
->clientdata
;
1233 return data
? data
->implicitconv
: 0;
1236 SWIGRUNTIMEINLINE PyObject
*
1237 SWIG_Python_ExceptionType(swig_type_info
*desc
) {
1238 PySwigClientData
*data
= desc
? (PySwigClientData
*) desc
->clientdata
: 0;
1239 PyObject
*klass
= data
? data
->klass
: 0;
1240 return (klass
? klass
: PyExc_RuntimeError
);
1244 SWIGRUNTIME PySwigClientData
*
1245 PySwigClientData_New(PyObject
* obj
)
1250 PySwigClientData
*data
= (PySwigClientData
*)malloc(sizeof(PySwigClientData
));
1251 /* the klass element */
1253 Py_INCREF(data
->klass
);
1254 /* the newraw method and newargs arguments used to create a new raw instance */
1255 if (PyClass_Check(obj
)) {
1257 data
->newargs
= obj
;
1260 #if (PY_VERSION_HEX < 0x02020000)
1263 data
->newraw
= PyObject_GetAttrString(data
->klass
, (char *)"__new__");
1266 Py_INCREF(data
->newraw
);
1267 data
->newargs
= PyTuple_New(1);
1268 PyTuple_SetItem(data
->newargs
, 0, obj
);
1270 data
->newargs
= obj
;
1272 Py_INCREF(data
->newargs
);
1274 /* the destroy method, aka as the C++ delete method */
1275 data
->destroy
= PyObject_GetAttrString(data
->klass
, (char *)"__swig_destroy__");
1276 if (PyErr_Occurred()) {
1280 if (data
->destroy
) {
1282 Py_INCREF(data
->destroy
);
1283 flags
= PyCFunction_GET_FLAGS(data
->destroy
);
1285 data
->delargs
= !(flags
& (METH_O
));
1292 data
->implicitconv
= 0;
1298 PySwigClientData_Del(PySwigClientData
* data
)
1300 Py_XDECREF(data
->newraw
);
1301 Py_XDECREF(data
->newargs
);
1302 Py_XDECREF(data
->destroy
);
1305 /* =============== PySwigObject =====================*/
1315 SWIGRUNTIME PyObject
*
1316 PySwigObject_long(PySwigObject
*v
)
1318 return PyLong_FromVoidPtr(v
->ptr
);
1321 SWIGRUNTIME PyObject
*
1322 PySwigObject_format(const char* fmt
, PySwigObject
*v
)
1324 PyObject
*res
= NULL
;
1325 PyObject
*args
= PyTuple_New(1);
1327 if (PyTuple_SetItem(args
, 0, PySwigObject_long(v
)) == 0) {
1328 PyObject
*ofmt
= PyString_FromString(fmt
);
1330 res
= PyString_Format(ofmt
,args
);
1339 SWIGRUNTIME PyObject
*
1340 PySwigObject_oct(PySwigObject
*v
)
1342 return PySwigObject_format("%o",v
);
1345 SWIGRUNTIME PyObject
*
1346 PySwigObject_hex(PySwigObject
*v
)
1348 return PySwigObject_format("%x",v
);
1351 SWIGRUNTIME PyObject
*
1353 PySwigObject_repr(PySwigObject
*v
)
1355 PySwigObject_repr(PySwigObject
*v
, PyObject
*args
)
1358 const char *name
= SWIG_TypePrettyName(v
->ty
);
1359 PyObject
*hex
= PySwigObject_hex(v
);
1360 PyObject
*repr
= PyString_FromFormat("<Swig Object of type '%s' at 0x%s>", name
, PyString_AsString(hex
));
1364 PyObject
*nrep
= PySwigObject_repr((PySwigObject
*)v
->next
);
1366 PyObject
*nrep
= PySwigObject_repr((PySwigObject
*)v
->next
, args
);
1368 PyString_ConcatAndDel(&repr
,nrep
);
1374 PySwigObject_print(PySwigObject
*v
, FILE *fp
, int SWIGUNUSEDPARM(flags
))
1377 PyObject
*repr
= PySwigObject_repr(v
);
1379 PyObject
*repr
= PySwigObject_repr(v
, NULL
);
1382 fputs(PyString_AsString(repr
), fp
);
1390 SWIGRUNTIME PyObject
*
1391 PySwigObject_str(PySwigObject
*v
)
1393 char result
[SWIG_BUFFER_SIZE
];
1394 return SWIG_PackVoidPtr(result
, v
->ptr
, v
->ty
->name
, sizeof(result
)) ?
1395 PyString_FromString(result
) : 0;
1399 PySwigObject_compare(PySwigObject
*v
, PySwigObject
*w
)
1403 return (i
< j
) ? -1 : ((i
> j
) ? 1 : 0);
1406 SWIGRUNTIME PyTypeObject
* _PySwigObject_type(void);
1408 SWIGRUNTIME PyTypeObject
*
1409 PySwigObject_type(void) {
1410 static PyTypeObject
*SWIG_STATIC_POINTER(type
) = _PySwigObject_type();
1414 SWIGRUNTIMEINLINE
int
1415 PySwigObject_Check(PyObject
*op
) {
1416 return ((op
)->ob_type
== PySwigObject_type())
1417 || (strcmp((op
)->ob_type
->tp_name
,"PySwigObject") == 0);
1420 SWIGRUNTIME PyObject
*
1421 PySwigObject_New(void *ptr
, swig_type_info
*ty
, int own
);
1424 PySwigObject_dealloc(PyObject
*v
)
1426 PySwigObject
*sobj
= (PySwigObject
*) v
;
1427 PyObject
*next
= sobj
->next
;
1429 swig_type_info
*ty
= sobj
->ty
;
1430 PySwigClientData
*data
= ty
? (PySwigClientData
*) ty
->clientdata
: 0;
1431 PyObject
*destroy
= data
? data
->destroy
: 0;
1433 /* destroy is always a VARARGS method */
1435 if (data
->delargs
) {
1436 /* we need to create a temporal object to carry the destroy operation */
1437 PyObject
*tmp
= PySwigObject_New(sobj
->ptr
, ty
, 0);
1438 res
= SWIG_Python_CallFunctor(destroy
, tmp
);
1441 PyCFunction meth
= PyCFunction_GET_FUNCTION(destroy
);
1442 PyObject
*mself
= PyCFunction_GET_SELF(destroy
);
1443 res
= ((*meth
)(mself
, v
));
1447 const char *name
= SWIG_TypePrettyName(ty
);
1448 #if !defined(SWIG_PYTHON_SILENT_MEMLEAK)
1449 printf("swig/python detected a memory leak of type '%s', no destructor found.\n", name
);
1457 SWIGRUNTIME PyObject
*
1458 PySwigObject_append(PyObject
* v
, PyObject
* next
)
1460 PySwigObject
*sobj
= (PySwigObject
*) v
;
1463 if (!PyArg_ParseTuple(next
,(char *)"O:append", &tmp
)) return NULL
;
1466 if (!PySwigObject_Check(next
)) {
1471 return SWIG_Py_Void();
1474 SWIGRUNTIME PyObject
*
1476 PySwigObject_next(PyObject
* v
)
1478 PySwigObject_next(PyObject
* v
, PyObject
*SWIGUNUSEDPARM(args
))
1481 PySwigObject
*sobj
= (PySwigObject
*) v
;
1483 Py_INCREF(sobj
->next
);
1486 return SWIG_Py_Void();
1490 SWIGINTERN PyObject
*
1492 PySwigObject_disown(PyObject
*v
)
1494 PySwigObject_disown(PyObject
* v
, PyObject
*SWIGUNUSEDPARM(args
))
1497 PySwigObject
*sobj
= (PySwigObject
*)v
;
1499 return SWIG_Py_Void();
1502 SWIGINTERN PyObject
*
1504 PySwigObject_acquire(PyObject
*v
)
1506 PySwigObject_acquire(PyObject
* v
, PyObject
*SWIGUNUSEDPARM(args
))
1509 PySwigObject
*sobj
= (PySwigObject
*)v
;
1510 sobj
->own
= SWIG_POINTER_OWN
;
1511 return SWIG_Py_Void();
1514 SWIGINTERN PyObject
*
1515 PySwigObject_own(PyObject
*v
, PyObject
*args
)
1518 #if (PY_VERSION_HEX < 0x02020000)
1519 if (!PyArg_ParseTuple(args
,(char *)"|O:own",&val
))
1521 if (!PyArg_UnpackTuple(args
, (char *)"own", 0, 1, &val
))
1528 PySwigObject
*sobj
= (PySwigObject
*)v
;
1529 PyObject
*obj
= PyBool_FromLong(sobj
->own
);
1532 if (PyObject_IsTrue(val
)) {
1533 PySwigObject_acquire(v
);
1535 PySwigObject_disown(v
);
1538 if (PyObject_IsTrue(val
)) {
1539 PySwigObject_acquire(v
,args
);
1541 PySwigObject_disown(v
,args
);
1551 swigobject_methods
[] = {
1552 {(char *)"disown", (PyCFunction
)PySwigObject_disown
, METH_NOARGS
, (char *)"releases ownership of the pointer"},
1553 {(char *)"acquire", (PyCFunction
)PySwigObject_acquire
, METH_NOARGS
, (char *)"aquires ownership of the pointer"},
1554 {(char *)"own", (PyCFunction
)PySwigObject_own
, METH_VARARGS
, (char *)"returns/sets ownership of the pointer"},
1555 {(char *)"append", (PyCFunction
)PySwigObject_append
, METH_O
, (char *)"appends another 'this' object"},
1556 {(char *)"next", (PyCFunction
)PySwigObject_next
, METH_NOARGS
, (char *)"returns the next 'this' object"},
1557 {(char *)"__repr__",(PyCFunction
)PySwigObject_repr
, METH_NOARGS
, (char *)"returns object representation"},
1562 swigobject_methods
[] = {
1563 {(char *)"disown", (PyCFunction
)PySwigObject_disown
, METH_VARARGS
, (char *)"releases ownership of the pointer"},
1564 {(char *)"acquire", (PyCFunction
)PySwigObject_acquire
, METH_VARARGS
, (char *)"aquires ownership of the pointer"},
1565 {(char *)"own", (PyCFunction
)PySwigObject_own
, METH_VARARGS
, (char *)"returns/sets ownership of the pointer"},
1566 {(char *)"append", (PyCFunction
)PySwigObject_append
, METH_VARARGS
, (char *)"appends another 'this' object"},
1567 {(char *)"next", (PyCFunction
)PySwigObject_next
, METH_VARARGS
, (char *)"returns the next 'this' object"},
1568 {(char *)"__repr__",(PyCFunction
)PySwigObject_repr
, METH_VARARGS
, (char *)"returns object representation"},
1573 #if PY_VERSION_HEX < 0x02020000
1574 SWIGINTERN PyObject
*
1575 PySwigObject_getattr(PySwigObject
*sobj
,char *name
)
1577 return Py_FindMethod(swigobject_methods
, (PyObject
*)sobj
, name
);
1581 SWIGRUNTIME PyTypeObject
*
1582 _PySwigObject_type(void) {
1583 static char swigobject_doc
[] = "Swig object carries a C/C++ instance pointer";
1585 static PyNumberMethods PySwigObject_as_number
= {
1586 (binaryfunc
)0, /*nb_add*/
1587 (binaryfunc
)0, /*nb_subtract*/
1588 (binaryfunc
)0, /*nb_multiply*/
1589 (binaryfunc
)0, /*nb_divide*/
1590 (binaryfunc
)0, /*nb_remainder*/
1591 (binaryfunc
)0, /*nb_divmod*/
1592 (ternaryfunc
)0,/*nb_power*/
1593 (unaryfunc
)0, /*nb_negative*/
1594 (unaryfunc
)0, /*nb_positive*/
1595 (unaryfunc
)0, /*nb_absolute*/
1596 (inquiry
)0, /*nb_nonzero*/
1603 (coercion
)0, /*nb_coerce*/
1604 (unaryfunc
)PySwigObject_long
, /*nb_int*/
1605 (unaryfunc
)PySwigObject_long
, /*nb_long*/
1606 (unaryfunc
)0, /*nb_float*/
1607 (unaryfunc
)PySwigObject_oct
, /*nb_oct*/
1608 (unaryfunc
)PySwigObject_hex
, /*nb_hex*/
1609 #if PY_VERSION_HEX >= 0x02020000
1610 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0 /* nb_inplace_add -> nb_inplace_true_divide */
1611 #elif PY_VERSION_HEX >= 0x02000000
1612 0,0,0,0,0,0,0,0,0,0,0 /* nb_inplace_add -> nb_inplace_or */
1616 static PyTypeObject pyswigobject_type
;
1617 static int type_init
= 0;
1619 const PyTypeObject tmp
1621 PyObject_HEAD_INIT(NULL
)
1623 (char *)"PySwigObject", /* tp_name */
1624 sizeof(PySwigObject
), /* tp_basicsize */
1625 0, /* tp_itemsize */
1626 (destructor
)PySwigObject_dealloc
, /* tp_dealloc */
1627 (printfunc
)PySwigObject_print
, /* tp_print */
1628 #if PY_VERSION_HEX < 0x02020000
1629 (getattrfunc
)PySwigObject_getattr
, /* tp_getattr */
1631 (getattrfunc
)0, /* tp_getattr */
1633 (setattrfunc
)0, /* tp_setattr */
1634 (cmpfunc
)PySwigObject_compare
, /* tp_compare */
1635 (reprfunc
)PySwigObject_repr
, /* tp_repr */
1636 &PySwigObject_as_number
, /* tp_as_number */
1637 0, /* tp_as_sequence */
1638 0, /* tp_as_mapping */
1639 (hashfunc
)0, /* tp_hash */
1640 (ternaryfunc
)0, /* tp_call */
1641 (reprfunc
)PySwigObject_str
, /* tp_str */
1642 PyObject_GenericGetAttr
, /* tp_getattro */
1643 0, /* tp_setattro */
1644 0, /* tp_as_buffer */
1645 Py_TPFLAGS_DEFAULT
, /* tp_flags */
1646 swigobject_doc
, /* tp_doc */
1647 0, /* tp_traverse */
1649 0, /* tp_richcompare */
1650 0, /* tp_weaklistoffset */
1651 #if PY_VERSION_HEX >= 0x02020000
1653 0, /* tp_iternext */
1654 swigobject_methods
, /* tp_methods */
1659 0, /* tp_descr_get */
1660 0, /* tp_descr_set */
1661 0, /* tp_dictoffset */
1670 0, /* tp_subclasses */
1671 0, /* tp_weaklist */
1673 #if PY_VERSION_HEX >= 0x02030000
1677 0,0,0,0 /* tp_alloc -> tp_next */
1680 pyswigobject_type
= tmp
;
1681 pyswigobject_type
.ob_type
= &PyType_Type
;
1684 return &pyswigobject_type
;
1687 SWIGRUNTIME PyObject
*
1688 PySwigObject_New(void *ptr
, swig_type_info
*ty
, int own
)
1690 PySwigObject
*sobj
= PyObject_NEW(PySwigObject
, PySwigObject_type());
1697 return (PyObject
*)sobj
;
1700 /* -----------------------------------------------------------------------------
1701 * Implements a simple Swig Packed type, and use it instead of string
1702 * ----------------------------------------------------------------------------- */
1712 PySwigPacked_print(PySwigPacked
*v
, FILE *fp
, int SWIGUNUSEDPARM(flags
))
1714 char result
[SWIG_BUFFER_SIZE
];
1715 fputs("<Swig Packed ", fp
);
1716 if (SWIG_PackDataName(result
, v
->pack
, v
->size
, 0, sizeof(result
))) {
1720 fputs(v
->ty
->name
,fp
);
1725 SWIGRUNTIME PyObject
*
1726 PySwigPacked_repr(PySwigPacked
*v
)
1728 char result
[SWIG_BUFFER_SIZE
];
1729 if (SWIG_PackDataName(result
, v
->pack
, v
->size
, 0, sizeof(result
))) {
1730 return PyString_FromFormat("<Swig Packed at %s%s>", result
, v
->ty
->name
);
1732 return PyString_FromFormat("<Swig Packed %s>", v
->ty
->name
);
1736 SWIGRUNTIME PyObject
*
1737 PySwigPacked_str(PySwigPacked
*v
)
1739 char result
[SWIG_BUFFER_SIZE
];
1740 if (SWIG_PackDataName(result
, v
->pack
, v
->size
, 0, sizeof(result
))){
1741 return PyString_FromFormat("%s%s", result
, v
->ty
->name
);
1743 return PyString_FromString(v
->ty
->name
);
1748 PySwigPacked_compare(PySwigPacked
*v
, PySwigPacked
*w
)
1752 int s
= (i
< j
) ? -1 : ((i
> j
) ? 1 : 0);
1753 return s
? s
: strncmp((char *)v
->pack
, (char *)w
->pack
, 2*v
->size
);
1756 SWIGRUNTIME PyTypeObject
* _PySwigPacked_type(void);
1758 SWIGRUNTIME PyTypeObject
*
1759 PySwigPacked_type(void) {
1760 static PyTypeObject
*SWIG_STATIC_POINTER(type
) = _PySwigPacked_type();
1764 SWIGRUNTIMEINLINE
int
1765 PySwigPacked_Check(PyObject
*op
) {
1766 return ((op
)->ob_type
== _PySwigPacked_type())
1767 || (strcmp((op
)->ob_type
->tp_name
,"PySwigPacked") == 0);
1771 PySwigPacked_dealloc(PyObject
*v
)
1773 if (PySwigPacked_Check(v
)) {
1774 PySwigPacked
*sobj
= (PySwigPacked
*) v
;
1780 SWIGRUNTIME PyTypeObject
*
1781 _PySwigPacked_type(void) {
1782 static char swigpacked_doc
[] = "Swig object carries a C/C++ instance pointer";
1783 static PyTypeObject pyswigpacked_type
;
1784 static int type_init
= 0;
1786 const PyTypeObject tmp
1788 PyObject_HEAD_INIT(NULL
)
1790 (char *)"PySwigPacked", /* tp_name */
1791 sizeof(PySwigPacked
), /* tp_basicsize */
1792 0, /* tp_itemsize */
1793 (destructor
)PySwigPacked_dealloc
, /* tp_dealloc */
1794 (printfunc
)PySwigPacked_print
, /* tp_print */
1795 (getattrfunc
)0, /* tp_getattr */
1796 (setattrfunc
)0, /* tp_setattr */
1797 (cmpfunc
)PySwigPacked_compare
, /* tp_compare */
1798 (reprfunc
)PySwigPacked_repr
, /* tp_repr */
1799 0, /* tp_as_number */
1800 0, /* tp_as_sequence */
1801 0, /* tp_as_mapping */
1802 (hashfunc
)0, /* tp_hash */
1803 (ternaryfunc
)0, /* tp_call */
1804 (reprfunc
)PySwigPacked_str
, /* tp_str */
1805 PyObject_GenericGetAttr
, /* tp_getattro */
1806 0, /* tp_setattro */
1807 0, /* tp_as_buffer */
1808 Py_TPFLAGS_DEFAULT
, /* tp_flags */
1809 swigpacked_doc
, /* tp_doc */
1810 0, /* tp_traverse */
1812 0, /* tp_richcompare */
1813 0, /* tp_weaklistoffset */
1814 #if PY_VERSION_HEX >= 0x02020000
1816 0, /* tp_iternext */
1822 0, /* tp_descr_get */
1823 0, /* tp_descr_set */
1824 0, /* tp_dictoffset */
1833 0, /* tp_subclasses */
1834 0, /* tp_weaklist */
1836 #if PY_VERSION_HEX >= 0x02030000
1840 0,0,0,0 /* tp_alloc -> tp_next */
1843 pyswigpacked_type
= tmp
;
1844 pyswigpacked_type
.ob_type
= &PyType_Type
;
1847 return &pyswigpacked_type
;
1850 SWIGRUNTIME PyObject
*
1851 PySwigPacked_New(void *ptr
, size_t size
, swig_type_info
*ty
)
1853 PySwigPacked
*sobj
= PyObject_NEW(PySwigPacked
, PySwigPacked_type());
1855 void *pack
= malloc(size
);
1857 memcpy(pack
, ptr
, size
);
1862 PyObject_DEL((PyObject
*) sobj
);
1866 return (PyObject
*) sobj
;
1869 SWIGRUNTIME swig_type_info
*
1870 PySwigPacked_UnpackData(PyObject
*obj
, void *ptr
, size_t size
)
1872 if (PySwigPacked_Check(obj
)) {
1873 PySwigPacked
*sobj
= (PySwigPacked
*)obj
;
1874 if (sobj
->size
!= size
) return 0;
1875 memcpy(ptr
, sobj
->pack
, size
);
1882 /* -----------------------------------------------------------------------------
1883 * pointers/data manipulation
1884 * ----------------------------------------------------------------------------- */
1886 SWIGRUNTIMEINLINE PyObject
*
1889 return PyString_FromString("this");
1892 SWIGRUNTIME PyObject
*
1895 static PyObject
*SWIG_STATIC_POINTER(swig_this
) = _SWIG_This();
1899 /* #define SWIG_PYTHON_SLOW_GETSET_THIS */
1901 SWIGRUNTIME PySwigObject
*
1902 SWIG_Python_GetSwigThis(PyObject
*pyobj
)
1904 if (PySwigObject_Check(pyobj
)) {
1905 return (PySwigObject
*) pyobj
;
1908 #if (!defined(SWIG_PYTHON_SLOW_GETSET_THIS) && (PY_VERSION_HEX >= 0x02030000))
1909 if (PyInstance_Check(pyobj
)) {
1910 obj
= _PyInstance_Lookup(pyobj
, SWIG_This());
1912 PyObject
**dictptr
= _PyObject_GetDictPtr(pyobj
);
1913 if (dictptr
!= NULL
) {
1914 PyObject
*dict
= *dictptr
;
1915 obj
= dict
? PyDict_GetItem(dict
, SWIG_This()) : 0;
1917 #ifdef PyWeakref_CheckProxy
1918 if (PyWeakref_CheckProxy(pyobj
)) {
1919 PyObject
*wobj
= PyWeakref_GET_OBJECT(pyobj
);
1920 return wobj
? SWIG_Python_GetSwigThis(wobj
) : 0;
1923 obj
= PyObject_GetAttr(pyobj
,SWIG_This());
1927 if (PyErr_Occurred()) PyErr_Clear();
1933 obj
= PyObject_GetAttr(pyobj
,SWIG_This());
1937 if (PyErr_Occurred()) PyErr_Clear();
1941 if (obj
&& !PySwigObject_Check(obj
)) {
1942 /* a PyObject is called 'this', try to get the 'real this'
1943 PySwigObject from it */
1944 return SWIG_Python_GetSwigThis(obj
);
1946 return (PySwigObject
*)obj
;
1950 /* Acquire a pointer value */
1953 SWIG_Python_AcquirePtr(PyObject
*obj
, int own
) {
1955 PySwigObject
*sobj
= SWIG_Python_GetSwigThis(obj
);
1957 int oldown
= sobj
->own
;
1965 /* Convert a pointer value */
1968 SWIG_Python_ConvertPtrAndOwn(PyObject
*obj
, void **ptr
, swig_type_info
*ty
, int flags
, int *own
) {
1969 if (!obj
) return SWIG_ERROR
;
1970 if (obj
== Py_None
) {
1974 PySwigObject
*sobj
= SWIG_Python_GetSwigThis(obj
);
1976 void *vptr
= sobj
->ptr
;
1978 swig_type_info
*to
= sobj
->ty
;
1980 /* no type cast needed */
1981 if (ptr
) *ptr
= vptr
;
1984 swig_cast_info
*tc
= SWIG_TypeCheck(to
->name
,ty
);
1986 sobj
= (PySwigObject
*)sobj
->next
;
1988 if (ptr
) *ptr
= SWIG_TypeCast(tc
,vptr
);
1993 if (ptr
) *ptr
= vptr
;
1998 if (own
) *own
= sobj
->own
;
1999 if (flags
& SWIG_POINTER_DISOWN
) {
2004 int res
= SWIG_ERROR
;
2005 if (flags
& SWIG_POINTER_IMPLICIT_CONV
) {
2006 PySwigClientData
*data
= ty
? (PySwigClientData
*) ty
->clientdata
: 0;
2007 if (data
&& !data
->implicitconv
) {
2008 PyObject
*klass
= data
->klass
;
2011 data
->implicitconv
= 1; /* avoid recursion and call 'explicit' constructors*/
2012 impconv
= SWIG_Python_CallFunctor(klass
, obj
);
2013 data
->implicitconv
= 0;
2014 if (PyErr_Occurred()) {
2019 PySwigObject
*iobj
= SWIG_Python_GetSwigThis(impconv
);
2022 res
= SWIG_Python_ConvertPtrAndOwn((PyObject
*)iobj
, &vptr
, ty
, 0, 0);
2023 if (SWIG_IsOK(res
)) {
2026 /* transfer the ownership to 'ptr' */
2028 res
= SWIG_AddCast(res
);
2029 res
= SWIG_AddNewMask(res
);
2031 res
= SWIG_AddCast(res
);
2045 /* Convert a function ptr value */
2048 SWIG_Python_ConvertFunctionPtr(PyObject
*obj
, void **ptr
, swig_type_info
*ty
) {
2049 if (!PyCFunction_Check(obj
)) {
2050 return SWIG_ConvertPtr(obj
, ptr
, ty
, 0);
2054 /* here we get the method pointer for callbacks */
2055 const char *doc
= (((PyCFunctionObject
*)obj
) -> m_ml
-> ml_doc
);
2056 const char *desc
= doc
? strstr(doc
, "swig_ptr: ") : 0;
2058 desc
= ty
? SWIG_UnpackVoidPtr(desc
+ 10, &vptr
, ty
->name
) : 0;
2059 if (!desc
) return SWIG_ERROR
;
2062 swig_cast_info
*tc
= SWIG_TypeCheck(desc
,ty
);
2063 if (!tc
) return SWIG_ERROR
;
2064 *ptr
= SWIG_TypeCast(tc
,vptr
);
2072 /* Convert a packed value value */
2075 SWIG_Python_ConvertPacked(PyObject
*obj
, void *ptr
, size_t sz
, swig_type_info
*ty
) {
2076 swig_type_info
*to
= PySwigPacked_UnpackData(obj
, ptr
, sz
);
2077 if (!to
) return SWIG_ERROR
;
2080 /* check type cast? */
2081 swig_cast_info
*tc
= SWIG_TypeCheck(to
->name
,ty
);
2082 if (!tc
) return SWIG_ERROR
;
2088 /* -----------------------------------------------------------------------------
2089 * Create a new pointer object
2090 * ----------------------------------------------------------------------------- */
2093 Create a new instance object, whitout calling __init__, and set the
2097 SWIGRUNTIME PyObject
*
2098 SWIG_Python_NewShadowInstance(PySwigClientData
*data
, PyObject
*swig_this
)
2100 #if (PY_VERSION_HEX >= 0x02020000)
2102 PyObject
*newraw
= data
->newraw
;
2104 inst
= PyObject_Call(newraw
, data
->newargs
, NULL
);
2106 #if !defined(SWIG_PYTHON_SLOW_GETSET_THIS)
2107 PyObject
**dictptr
= _PyObject_GetDictPtr(inst
);
2108 if (dictptr
!= NULL
) {
2109 PyObject
*dict
= *dictptr
;
2111 dict
= PyDict_New();
2113 PyDict_SetItem(dict
, SWIG_This(), swig_this
);
2117 PyObject
*key
= SWIG_This();
2118 PyObject_SetAttr(inst
, key
, swig_this
);
2122 PyObject
*dict
= PyDict_New();
2123 PyDict_SetItem(dict
, SWIG_This(), swig_this
);
2124 inst
= PyInstance_NewRaw(data
->newargs
, dict
);
2129 #if (PY_VERSION_HEX >= 0x02010000)
2131 PyObject
*dict
= PyDict_New();
2132 PyDict_SetItem(dict
, SWIG_This(), swig_this
);
2133 inst
= PyInstance_NewRaw(data
->newargs
, dict
);
2135 return (PyObject
*) inst
;
2137 PyInstanceObject
*inst
= PyObject_NEW(PyInstanceObject
, &PyInstance_Type
);
2141 inst
->in_class
= (PyClassObject
*)data
->newargs
;
2142 Py_INCREF(inst
->in_class
);
2143 inst
->in_dict
= PyDict_New();
2144 if (inst
->in_dict
== NULL
) {
2148 #ifdef Py_TPFLAGS_HAVE_WEAKREFS
2149 inst
->in_weakreflist
= NULL
;
2151 #ifdef Py_TPFLAGS_GC
2152 PyObject_GC_Init(inst
);
2154 PyDict_SetItem(inst
->in_dict
, SWIG_This(), swig_this
);
2155 return (PyObject
*) inst
;
2161 SWIG_Python_SetSwigThis(PyObject
*inst
, PyObject
*swig_this
)
2164 #if (PY_VERSION_HEX >= 0x02020000) && !defined(SWIG_PYTHON_SLOW_GETSET_THIS)
2165 PyObject
**dictptr
= _PyObject_GetDictPtr(inst
);
2166 if (dictptr
!= NULL
) {
2169 dict
= PyDict_New();
2172 PyDict_SetItem(dict
, SWIG_This(), swig_this
);
2176 dict
= PyObject_GetAttrString(inst
, "__dict__");
2177 PyDict_SetItem(dict
, SWIG_This(), swig_this
);
2182 SWIGINTERN PyObject
*
2183 SWIG_Python_InitShadowInstance(PyObject
*args
) {
2185 if (!SWIG_Python_UnpackTuple(args
,(char*)"swiginit", 2, 2, obj
)) {
2188 PySwigObject
*sthis
= SWIG_Python_GetSwigThis(obj
[0]);
2190 PySwigObject_append((PyObject
*) sthis
, obj
[1]);
2192 SWIG_Python_SetSwigThis(obj
[0], obj
[1]);
2194 return SWIG_Py_Void();
2198 /* Create a new pointer object */
2200 SWIGRUNTIME PyObject
*
2201 SWIG_Python_NewPointerObj(void *ptr
, swig_type_info
*type
, int flags
) {
2203 return SWIG_Py_Void();
2205 int own
= (flags
& SWIG_POINTER_OWN
) ? SWIG_POINTER_OWN
: 0;
2206 PyObject
*robj
= PySwigObject_New(ptr
, type
, own
);
2207 PySwigClientData
*clientdata
= type
? (PySwigClientData
*)(type
->clientdata
) : 0;
2208 if (clientdata
&& !(flags
& SWIG_POINTER_NOSHADOW
)) {
2209 PyObject
*inst
= SWIG_Python_NewShadowInstance(clientdata
, robj
);
2219 /* Create a new packed object */
2221 SWIGRUNTIMEINLINE PyObject
*
2222 SWIG_Python_NewPackedObj(void *ptr
, size_t sz
, swig_type_info
*type
) {
2223 return ptr
? PySwigPacked_New((void *) ptr
, sz
, type
) : SWIG_Py_Void();
2226 /* -----------------------------------------------------------------------------*
2228 * -----------------------------------------------------------------------------*/
2230 #ifdef SWIG_LINK_RUNTIME
2231 void *SWIG_ReturnGlobalTypeList(void *);
2234 SWIGRUNTIME swig_module_info
*
2235 SWIG_Python_GetModule(void) {
2236 static void *type_pointer
= (void *)0;
2237 /* first check if module already created */
2238 if (!type_pointer
) {
2239 #ifdef SWIG_LINK_RUNTIME
2240 type_pointer
= SWIG_ReturnGlobalTypeList((void *)0);
2242 type_pointer
= PyCObject_Import((char*)"swig_runtime_data" SWIG_RUNTIME_VERSION
,
2243 (char*)"type_pointer" SWIG_TYPE_TABLE_NAME
);
2244 if (PyErr_Occurred()) {
2246 type_pointer
= (void *)0;
2250 return (swig_module_info
*) type_pointer
;
2253 #if PY_MAJOR_VERSION < 2
2254 /* PyModule_AddObject function was introduced in Python 2.0. The following function
2255 is copied out of Python/modsupport.c in python version 2.3.4 */
2257 PyModule_AddObject(PyObject
*m
, char *name
, PyObject
*o
)
2260 if (!PyModule_Check(m
)) {
2261 PyErr_SetString(PyExc_TypeError
,
2262 "PyModule_AddObject() needs module as first arg");
2266 PyErr_SetString(PyExc_TypeError
,
2267 "PyModule_AddObject() needs non-NULL value");
2271 dict
= PyModule_GetDict(m
);
2273 /* Internal error -- modules must have a dict! */
2274 PyErr_Format(PyExc_SystemError
, "module '%s' has no __dict__",
2275 PyModule_GetName(m
));
2278 if (PyDict_SetItemString(dict
, name
, o
))
2286 SWIG_Python_DestroyModule(void *vptr
)
2288 swig_module_info
*swig_module
= (swig_module_info
*) vptr
;
2289 swig_type_info
**types
= swig_module
->types
;
2291 for (i
=0; i
< swig_module
->size
; ++i
) {
2292 swig_type_info
*ty
= types
[i
];
2294 PySwigClientData
*data
= (PySwigClientData
*) ty
->clientdata
;
2295 if (data
) PySwigClientData_Del(data
);
2298 Py_DECREF(SWIG_This());
2302 SWIG_Python_SetModule(swig_module_info
*swig_module
) {
2303 static PyMethodDef swig_empty_runtime_method_table
[] = { {NULL
, NULL
, 0, NULL
} };/* Sentinel */
2305 PyObject
*module = Py_InitModule((char*)"swig_runtime_data" SWIG_RUNTIME_VERSION
,
2306 swig_empty_runtime_method_table
);
2307 PyObject
*pointer
= PyCObject_FromVoidPtr((void *) swig_module
, SWIG_Python_DestroyModule
);
2308 if (pointer
&& module) {
2309 PyModule_AddObject(module, (char*)"type_pointer" SWIG_TYPE_TABLE_NAME
, pointer
);
2311 Py_XDECREF(pointer
);
2315 /* The python cached type query */
2316 SWIGRUNTIME PyObject
*
2317 SWIG_Python_TypeCache() {
2318 static PyObject
*SWIG_STATIC_POINTER(cache
) = PyDict_New();
2322 SWIGRUNTIME swig_type_info
*
2323 SWIG_Python_TypeQuery(const char *type
)
2325 PyObject
*cache
= SWIG_Python_TypeCache();
2326 PyObject
*key
= PyString_FromString(type
);
2327 PyObject
*obj
= PyDict_GetItem(cache
, key
);
2328 swig_type_info
*descriptor
;
2330 descriptor
= (swig_type_info
*) PyCObject_AsVoidPtr(obj
);
2332 swig_module_info
*swig_module
= SWIG_Python_GetModule();
2333 descriptor
= SWIG_TypeQueryModule(swig_module
, swig_module
, type
);
2335 obj
= PyCObject_FromVoidPtr(descriptor
, NULL
);
2336 PyDict_SetItem(cache
, key
, obj
);
2345 For backward compatibility only
2347 #define SWIG_POINTER_EXCEPTION 0
2348 #define SWIG_arg_fail(arg) SWIG_Python_ArgFail(arg)
2349 #define SWIG_MustGetPtr(p, type, argnum, flags) SWIG_Python_MustGetPtr(p, type, argnum, flags)
2352 SWIG_Python_AddErrMesg(const char* mesg
, int infront
)
2354 if (PyErr_Occurred()) {
2356 PyObject
*value
= 0;
2357 PyObject
*traceback
= 0;
2358 PyErr_Fetch(&type
, &value
, &traceback
);
2360 PyObject
*old_str
= PyObject_Str(value
);
2364 PyErr_Format(type
, "%s %s", mesg
, PyString_AsString(old_str
));
2366 PyErr_Format(type
, "%s %s", PyString_AsString(old_str
), mesg
);
2377 SWIG_Python_ArgFail(int argnum
)
2379 if (PyErr_Occurred()) {
2380 /* add information about failing argument */
2382 PyOS_snprintf(mesg
, sizeof(mesg
), "argument number %d:", argnum
);
2383 return SWIG_Python_AddErrMesg(mesg
, 1);
2389 SWIGRUNTIMEINLINE
const char *
2390 PySwigObject_GetDesc(PyObject
*self
)
2392 PySwigObject
*v
= (PySwigObject
*)self
;
2393 swig_type_info
*ty
= v
? v
->ty
: 0;
2394 return ty
? ty
->str
: (char*)"";
2398 SWIG_Python_TypeError(const char *type
, PyObject
*obj
)
2401 #if defined(SWIG_COBJECT_TYPES)
2402 if (obj
&& PySwigObject_Check(obj
)) {
2403 const char *otype
= (const char *) PySwigObject_GetDesc(obj
);
2405 PyErr_Format(PyExc_TypeError
, "a '%s' is expected, 'PySwigObject(%s)' is received",
2412 const char *otype
= (obj
? obj
->ob_type
->tp_name
: 0);
2414 PyObject
*str
= PyObject_Str(obj
);
2415 const char *cstr
= str
? PyString_AsString(str
) : 0;
2417 PyErr_Format(PyExc_TypeError
, "a '%s' is expected, '%s(%s)' is received",
2420 PyErr_Format(PyExc_TypeError
, "a '%s' is expected, '%s' is received",
2427 PyErr_Format(PyExc_TypeError
, "a '%s' is expected", type
);
2429 PyErr_Format(PyExc_TypeError
, "unexpected type is received");
2434 /* Convert a pointer value, signal an exception on a type mismatch */
2436 SWIG_Python_MustGetPtr(PyObject
*obj
, swig_type_info
*ty
, int argnum
, int flags
) {
2438 if (SWIG_Python_ConvertPtr(obj
, &result
, ty
, flags
) == -1) {
2440 if (flags
& SWIG_POINTER_EXCEPTION
) {
2441 SWIG_Python_TypeError(SWIG_TypePrettyName(ty
), obj
);
2442 SWIG_Python_ArgFail(argnum
);
2458 #define SWIG_exception_fail(code, msg) do { SWIG_Error(code, msg); SWIG_fail; } while(0)
2460 #define SWIG_contract_assert(expr, msg) if (!(expr)) { SWIG_Error(SWIG_RuntimeError, msg); SWIG_fail; } else
2464 /* -------- TYPES TABLE (BEGIN) -------- */
2466 #define SWIGTYPE_p_bool swig_types[0]
2467 #define SWIGTYPE_p_char swig_types[1]
2468 #define SWIGTYPE_p_form_ops_t swig_types[2]
2469 #define SWIGTYPE_p_int swig_types[3]
2470 #define SWIGTYPE_p_unsigned_char swig_types[4]
2471 #define SWIGTYPE_p_unsigned_int swig_types[5]
2472 #define SWIGTYPE_p_unsigned_long swig_types[6]
2473 #define SWIGTYPE_p_wxANIHandler swig_types[7]
2474 #define SWIGTYPE_p_wxAcceleratorTable swig_types[8]
2475 #define SWIGTYPE_p_wxActivateEvent swig_types[9]
2476 #define SWIGTYPE_p_wxArrayInt swig_types[10]
2477 #define SWIGTYPE_p_wxBMPHandler swig_types[11]
2478 #define SWIGTYPE_p_wxBitmap swig_types[12]
2479 #define SWIGTYPE_p_wxBoxSizer swig_types[13]
2480 #define SWIGTYPE_p_wxCURHandler swig_types[14]
2481 #define SWIGTYPE_p_wxCalculateLayoutEvent swig_types[15]
2482 #define SWIGTYPE_p_wxChildFocusEvent swig_types[16]
2483 #define SWIGTYPE_p_wxClipboardTextEvent swig_types[17]
2484 #define SWIGTYPE_p_wxCloseEvent swig_types[18]
2485 #define SWIGTYPE_p_wxColour swig_types[19]
2486 #define SWIGTYPE_p_wxColourData swig_types[20]
2487 #define SWIGTYPE_p_wxColourDialog swig_types[21]
2488 #define SWIGTYPE_p_wxCommandEvent swig_types[22]
2489 #define SWIGTYPE_p_wxContextMenuEvent swig_types[23]
2490 #define SWIGTYPE_p_wxControl swig_types[24]
2491 #define SWIGTYPE_p_wxControlWithItems swig_types[25]
2492 #define SWIGTYPE_p_wxDC swig_types[26]
2493 #define SWIGTYPE_p_wxDateEvent swig_types[27]
2494 #define SWIGTYPE_p_wxDialog swig_types[28]
2495 #define SWIGTYPE_p_wxDirDialog swig_types[29]
2496 #define SWIGTYPE_p_wxDisplayChangedEvent swig_types[30]
2497 #define SWIGTYPE_p_wxDropFilesEvent swig_types[31]
2498 #define SWIGTYPE_p_wxDuplexMode swig_types[32]
2499 #define SWIGTYPE_p_wxEraseEvent swig_types[33]
2500 #define SWIGTYPE_p_wxEvent swig_types[34]
2501 #define SWIGTYPE_p_wxEvtHandler swig_types[35]
2502 #define SWIGTYPE_p_wxFSFile swig_types[36]
2503 #define SWIGTYPE_p_wxFileDialog swig_types[37]
2504 #define SWIGTYPE_p_wxFileSystem swig_types[38]
2505 #define SWIGTYPE_p_wxFindDialogEvent swig_types[39]
2506 #define SWIGTYPE_p_wxFindReplaceData swig_types[40]
2507 #define SWIGTYPE_p_wxFindReplaceDialog swig_types[41]
2508 #define SWIGTYPE_p_wxFlexGridSizer swig_types[42]
2509 #define SWIGTYPE_p_wxFocusEvent swig_types[43]
2510 #define SWIGTYPE_p_wxFont swig_types[44]
2511 #define SWIGTYPE_p_wxFontData swig_types[45]
2512 #define SWIGTYPE_p_wxFontDialog swig_types[46]
2513 #define SWIGTYPE_p_wxFrame swig_types[47]
2514 #define SWIGTYPE_p_wxGBSizerItem swig_types[48]
2515 #define SWIGTYPE_p_wxGIFHandler swig_types[49]
2516 #define SWIGTYPE_p_wxGridBagSizer swig_types[50]
2517 #define SWIGTYPE_p_wxGridSizer swig_types[51]
2518 #define SWIGTYPE_p_wxHtmlLinkInfo swig_types[52]
2519 #define SWIGTYPE_p_wxICOHandler swig_types[53]
2520 #define SWIGTYPE_p_wxIcon swig_types[54]
2521 #define SWIGTYPE_p_wxIconBundle swig_types[55]
2522 #define SWIGTYPE_p_wxIconizeEvent swig_types[56]
2523 #define SWIGTYPE_p_wxIdleEvent swig_types[57]
2524 #define SWIGTYPE_p_wxImage swig_types[58]
2525 #define SWIGTYPE_p_wxImageHandler swig_types[59]
2526 #define SWIGTYPE_p_wxIndividualLayoutConstraint swig_types[60]
2527 #define SWIGTYPE_p_wxInitDialogEvent swig_types[61]
2528 #define SWIGTYPE_p_wxJPEGHandler swig_types[62]
2529 #define SWIGTYPE_p_wxKeyEvent swig_types[63]
2530 #define SWIGTYPE_p_wxLayoutAlgorithm swig_types[64]
2531 #define SWIGTYPE_p_wxLayoutConstraints swig_types[65]
2532 #define SWIGTYPE_p_wxMDIChildFrame swig_types[66]
2533 #define SWIGTYPE_p_wxMDIClientWindow swig_types[67]
2534 #define SWIGTYPE_p_wxMDIParentFrame swig_types[68]
2535 #define SWIGTYPE_p_wxMaximizeEvent swig_types[69]
2536 #define SWIGTYPE_p_wxMenu swig_types[70]
2537 #define SWIGTYPE_p_wxMenuBar swig_types[71]
2538 #define SWIGTYPE_p_wxMenuEvent swig_types[72]
2539 #define SWIGTYPE_p_wxMenuItem swig_types[73]
2540 #define SWIGTYPE_p_wxMessageDialog swig_types[74]
2541 #define SWIGTYPE_p_wxMiniFrame swig_types[75]
2542 #define SWIGTYPE_p_wxMouseCaptureChangedEvent swig_types[76]
2543 #define SWIGTYPE_p_wxMouseEvent swig_types[77]
2544 #define SWIGTYPE_p_wxMoveEvent swig_types[78]
2545 #define SWIGTYPE_p_wxMultiChoiceDialog swig_types[79]
2546 #define SWIGTYPE_p_wxNavigationKeyEvent swig_types[80]
2547 #define SWIGTYPE_p_wxNcPaintEvent swig_types[81]
2548 #define SWIGTYPE_p_wxNotifyEvent swig_types[82]
2549 #define SWIGTYPE_p_wxObject swig_types[83]
2550 #define SWIGTYPE_p_wxPCXHandler swig_types[84]
2551 #define SWIGTYPE_p_wxPNGHandler swig_types[85]
2552 #define SWIGTYPE_p_wxPNMHandler swig_types[86]
2553 #define SWIGTYPE_p_wxPageSetupDialog swig_types[87]
2554 #define SWIGTYPE_p_wxPageSetupDialogData swig_types[88]
2555 #define SWIGTYPE_p_wxPaintEvent swig_types[89]
2556 #define SWIGTYPE_p_wxPaletteChangedEvent swig_types[90]
2557 #define SWIGTYPE_p_wxPanel swig_types[91]
2558 #define SWIGTYPE_p_wxPaperSize swig_types[92]
2559 #define SWIGTYPE_p_wxPasswordEntryDialog swig_types[93]
2560 #define SWIGTYPE_p_wxPoint swig_types[94]
2561 #define SWIGTYPE_p_wxPopupWindow swig_types[95]
2562 #define SWIGTYPE_p_wxPreviewCanvas swig_types[96]
2563 #define SWIGTYPE_p_wxPreviewControlBar swig_types[97]
2564 #define SWIGTYPE_p_wxPreviewFrame swig_types[98]
2565 #define SWIGTYPE_p_wxPrintData swig_types[99]
2566 #define SWIGTYPE_p_wxPrintDialog swig_types[100]
2567 #define SWIGTYPE_p_wxPrintDialogData swig_types[101]
2568 #define SWIGTYPE_p_wxPrintPreview swig_types[102]
2569 #define SWIGTYPE_p_wxPrinter swig_types[103]
2570 #define SWIGTYPE_p_wxProgressDialog swig_types[104]
2571 #define SWIGTYPE_p_wxPyApp swig_types[105]
2572 #define SWIGTYPE_p_wxPyCommandEvent swig_types[106]
2573 #define SWIGTYPE_p_wxPyEvent swig_types[107]
2574 #define SWIGTYPE_p_wxPyHtmlListBox swig_types[108]
2575 #define SWIGTYPE_p_wxPyImageHandler swig_types[109]
2576 #define SWIGTYPE_p_wxPyPanel swig_types[110]
2577 #define SWIGTYPE_p_wxPyPopupTransientWindow swig_types[111]
2578 #define SWIGTYPE_p_wxPyPreviewControlBar swig_types[112]
2579 #define SWIGTYPE_p_wxPyPreviewFrame swig_types[113]
2580 #define SWIGTYPE_p_wxPyPrintPreview swig_types[114]
2581 #define SWIGTYPE_p_wxPyPrintout swig_types[115]
2582 #define SWIGTYPE_p_wxPyScrolledWindow swig_types[116]
2583 #define SWIGTYPE_p_wxPySizer swig_types[117]
2584 #define SWIGTYPE_p_wxPyTaskBarIcon swig_types[118]
2585 #define SWIGTYPE_p_wxPyVListBox swig_types[119]
2586 #define SWIGTYPE_p_wxPyVScrolledWindow swig_types[120]
2587 #define SWIGTYPE_p_wxPyValidator swig_types[121]
2588 #define SWIGTYPE_p_wxPyWindow swig_types[122]
2589 #define SWIGTYPE_p_wxQueryLayoutInfoEvent swig_types[123]
2590 #define SWIGTYPE_p_wxQueryNewPaletteEvent swig_types[124]
2591 #define SWIGTYPE_p_wxRect swig_types[125]
2592 #define SWIGTYPE_p_wxRegion swig_types[126]
2593 #define SWIGTYPE_p_wxSashEvent swig_types[127]
2594 #define SWIGTYPE_p_wxSashLayoutWindow swig_types[128]
2595 #define SWIGTYPE_p_wxSashWindow swig_types[129]
2596 #define SWIGTYPE_p_wxScrollEvent swig_types[130]
2597 #define SWIGTYPE_p_wxScrollWinEvent swig_types[131]
2598 #define SWIGTYPE_p_wxScrolledWindow swig_types[132]
2599 #define SWIGTYPE_p_wxSetCursorEvent swig_types[133]
2600 #define SWIGTYPE_p_wxShowEvent swig_types[134]
2601 #define SWIGTYPE_p_wxSingleChoiceDialog swig_types[135]
2602 #define SWIGTYPE_p_wxSize swig_types[136]
2603 #define SWIGTYPE_p_wxSizeEvent swig_types[137]
2604 #define SWIGTYPE_p_wxSizer swig_types[138]
2605 #define SWIGTYPE_p_wxSizerItem swig_types[139]
2606 #define SWIGTYPE_p_wxSplashScreen swig_types[140]
2607 #define SWIGTYPE_p_wxSplashScreenWindow swig_types[141]
2608 #define SWIGTYPE_p_wxSplitterEvent swig_types[142]
2609 #define SWIGTYPE_p_wxSplitterWindow swig_types[143]
2610 #define SWIGTYPE_p_wxStaticBoxSizer swig_types[144]
2611 #define SWIGTYPE_p_wxStatusBar swig_types[145]
2612 #define SWIGTYPE_p_wxStdDialogButtonSizer swig_types[146]
2613 #define SWIGTYPE_p_wxString swig_types[147]
2614 #define SWIGTYPE_p_wxSysColourChangedEvent swig_types[148]
2615 #define SWIGTYPE_p_wxTIFFHandler swig_types[149]
2616 #define SWIGTYPE_p_wxTaskBarIcon swig_types[150]
2617 #define SWIGTYPE_p_wxTaskBarIconEvent swig_types[151]
2618 #define SWIGTYPE_p_wxTextEntryDialog swig_types[152]
2619 #define SWIGTYPE_p_wxTipWindow swig_types[153]
2620 #define SWIGTYPE_p_wxToolBar swig_types[154]
2621 #define SWIGTYPE_p_wxTopLevelWindow swig_types[155]
2622 #define SWIGTYPE_p_wxUpdateUIEvent swig_types[156]
2623 #define SWIGTYPE_p_wxValidator swig_types[157]
2624 #define SWIGTYPE_p_wxVisualAttributes swig_types[158]
2625 #define SWIGTYPE_p_wxWindow swig_types[159]
2626 #define SWIGTYPE_p_wxWindowCreateEvent swig_types[160]
2627 #define SWIGTYPE_p_wxWindowDestroyEvent swig_types[161]
2628 #define SWIGTYPE_p_wxXPMHandler swig_types[162]
2629 static swig_type_info
*swig_types
[164];
2630 static swig_module_info swig_module
= {swig_types
, 163, 0, 0, 0, 0};
2631 #define SWIG_TypeQuery(name) SWIG_TypeQueryModule(&swig_module, &swig_module, name)
2632 #define SWIG_MangledTypeQuery(name) SWIG_MangledTypeQueryModule(&swig_module, &swig_module, name)
2634 /* -------- TYPES TABLE (END) -------- */
2636 #if (PY_VERSION_HEX <= 0x02000000)
2637 # if !defined(SWIG_PYTHON_CLASSIC)
2638 # error "This python version requires to use swig with the '-classic' option"
2641 #if (PY_VERSION_HEX <= 0x02020000)
2642 # error "This python version requires to use swig with the '-nomodern' option"
2644 #if (PY_VERSION_HEX <= 0x02020000)
2645 # error "This python version requires to use swig with the '-nomodernargs' option"
2648 # error "This python version requires to use swig with the '-nofastunpack' option"
2651 /*-----------------------------------------------
2652 @(target):= _windows_.so
2653 ------------------------------------------------*/
2654 #define SWIG_init init_windows_
2656 #define SWIG_name "_windows_"
2658 #define SWIGVERSION 0x010329
2661 #define SWIG_as_voidptr(a) const_cast< void * >(static_cast< const void * >(a))
2662 #define SWIG_as_voidptrptr(a) ((void)SWIG_as_voidptr(*a),reinterpret_cast< void** >(a))
2665 #include <stdexcept>
2669 class PyObject_ptr
{
2674 PyObject_ptr() :_obj(0)
2678 PyObject_ptr(const PyObject_ptr
& item
) : _obj(item
._obj
)
2683 PyObject_ptr(PyObject
*obj
, bool initial_ref
= true) :_obj(obj
)
2685 if (initial_ref
) Py_XINCREF(_obj
);
2688 PyObject_ptr
& operator=(const PyObject_ptr
& item
)
2690 Py_XINCREF(item
._obj
);
2701 operator PyObject
*() const
2706 PyObject
*operator->() const
2715 struct PyObject_var
: PyObject_ptr
{
2716 PyObject_var(PyObject
* obj
= 0) : PyObject_ptr(obj
, false) { }
2718 PyObject_var
& operator = (PyObject
* obj
)
2728 #include "wx/wxPython/wxPython.h"
2729 #include "wx/wxPython/pyclasses.h"
2732 static const wxString
wxPyEmptyString(wxEmptyString
);
2733 static const wxString
wxPyPanelNameStr(wxPanelNameStr
);
2739 # define LLONG_MIN LONG_LONG_MIN
2742 # define LLONG_MAX LONG_LONG_MAX
2745 # define ULLONG_MAX ULONG_LONG_MAX
2750 SWIG_AsVal_long (PyObject
* obj
, long* val
)
2752 if (PyNumber_Check(obj
)) {
2753 if (val
) *val
= PyInt_AsLong(obj
);
2756 return SWIG_TypeError
;
2761 SWIG_AsVal_int (PyObject
* obj
, int *val
)
2764 int res
= SWIG_AsVal_long (obj
, &v
);
2765 if (SWIG_IsOK(res
)) {
2766 if ((v
< INT_MIN
|| v
> INT_MAX
)) {
2767 return SWIG_OverflowError
;
2769 if (val
) *val
= static_cast< int >(v
);
2777 SWIG_AsVal_bool (PyObject
*obj
, bool *val
)
2779 if (obj
== Py_True
) {
2780 if (val
) *val
= true;
2782 } else if (obj
== Py_False
) {
2783 if (val
) *val
= false;
2787 int res
= SWIG_AddCast(SWIG_AsVal_long (obj
, val
? &v
: 0));
2788 if (SWIG_IsOK(res
) && val
) *val
= v
? true : false;
2794 #define SWIG_From_long PyInt_FromLong
2797 SWIGINTERNINLINE PyObject
*
2798 SWIG_From_int (int value
)
2800 return SWIG_From_long (value
);
2805 SWIG_AsVal_double (PyObject
*obj
, double* val
)
2807 if (PyNumber_Check(obj
)) {
2808 if (val
) *val
= PyFloat_AsDouble(obj
);
2811 return SWIG_TypeError
;
2815 #define SWIG_From_double PyFloat_FromDouble
2817 static const wxString
wxPyFrameNameStr(wxFrameNameStr
);
2818 static const wxString
wxPyDialogNameStr(wxDialogNameStr
);
2819 static const wxString
wxPyStatusLineNameStr(wxStatusLineNameStr
);
2820 static const wxString
wxPyToolBarNameStr(wxToolBarNameStr
);
2821 SWIGINTERN
void wxTopLevelWindow_MacSetMetalAppearance(wxTopLevelWindow
*self
,bool on
){ /*wxPyRaiseNotImplemented();*/ }
2822 SWIGINTERN
bool wxTopLevelWindow_MacGetMetalAppearance(wxTopLevelWindow
const *self
){ /*wxPyRaiseNotImplemented();*/ return false; }
2825 SWIGINTERN wxRect
wxStatusBar_GetFieldRect(wxStatusBar
*self
,int i
){
2827 self
->GetFieldRect(i
, r
);
2830 static const wxString
wxPySplitterNameStr(wxT("splitter"));
2831 static const wxString
wxPySashNameStr(wxT("sashWindow"));
2832 static const wxString
wxPySashLayoutNameStr(wxT("layoutWindow"));
2834 #include <wx/popupwin.h>
2837 class wxPyPopupTransientWindow
: public wxPopupTransientWindow
2840 wxPyPopupTransientWindow() : wxPopupTransientWindow() {}
2841 wxPyPopupTransientWindow(wxWindow
* parent
, int style
= wxBORDER_NONE
)
2842 : wxPopupTransientWindow(parent
, style
) {}
2844 DEC_PYCALLBACK_BOOL_ME(ProcessLeftDown
);
2845 DEC_PYCALLBACK__(OnDismiss
);
2846 DEC_PYCALLBACK_BOOL_(CanDismiss
);
2851 IMP_PYCALLBACK_BOOL_ME(wxPyPopupTransientWindow
, wxPopupTransientWindow
, ProcessLeftDown
);
2852 IMP_PYCALLBACK__(wxPyPopupTransientWindow
, wxPopupTransientWindow
, OnDismiss
);
2853 IMP_PYCALLBACK_BOOL_(wxPyPopupTransientWindow
, wxPopupTransientWindow
, CanDismiss
);
2856 #include <wx/tipwin.h>
2858 SWIGINTERN wxTipWindow
*new_wxTipWindow(wxWindow
*parent
,wxString
const &text
,int maxLength
=100,wxRect
*rectBound
=NULL
){
2859 return new wxTipWindow(parent
, text
, maxLength
, NULL
, rectBound
);
2862 #include <wx/tipwin.h>
2865 #include <wx/vscroll.h>
2868 class wxPyVScrolledWindow
: public wxVScrolledWindow
2870 DECLARE_ABSTRACT_CLASS(wxPyVScrolledWindow
)
2872 wxPyVScrolledWindow() : wxVScrolledWindow() {}
2874 wxPyVScrolledWindow(wxWindow
*parent
,
2875 wxWindowID id
= wxID_ANY
,
2876 const wxPoint
& pos
= wxDefaultPosition
,
2877 const wxSize
& size
= wxDefaultSize
,
2879 const wxString
& name
= wxPyPanelNameStr
)
2880 : wxVScrolledWindow(parent
, id
, pos
, size
, style
, name
)
2883 // Overridable virtuals
2885 // this function must be overridden in the derived class and it should
2886 // return the height of the given line in pixels
2887 DEC_PYCALLBACK_COORD_SIZET_constpure(OnGetLineHeight
);
2890 // this function doesn't have to be overridden but it may be useful to do
2891 // it if calculating the lines heights is a relatively expensive operation
2892 // as it gives the user code a possibility to calculate several of them at
2895 // OnGetLinesHint() is normally called just before OnGetLineHeight() but you
2896 // shouldn't rely on the latter being called for all lines in the interval
2897 // specified here. It is also possible that OnGetLineHeight() will be
2898 // called for the lines outside of this interval, so this is really just a
2899 // hint, not a promise.
2901 // finally note that lineMin is inclusive, while lineMax is exclusive, as
2903 DEC_PYCALLBACK_VOID_SIZETSIZET_const(OnGetLinesHint
);
2906 // when the number of lines changes, we try to estimate the total height
2907 // of all lines which is a rather expensive operation in terms of lines
2908 // access, so if the user code may estimate the average height
2909 // better/faster than we do, it should override this function to implement
2912 // this function should return the best guess for the total height it may
2914 DEC_PYCALLBACK_COORD_const(EstimateTotalHeight
);
2917 // Also expose some other interesting protected methods
2920 // find the index of the line we need to show at the top of the window such
2921 // that the last (fully or partially) visible line is the given one
2922 size_t FindFirstFromBottom(size_t lineLast
, bool fullyVisible
= false)
2923 { return wxVScrolledWindow::FindFirstFromBottom(lineLast
, fullyVisible
); }
2925 // get the total height of the lines between lineMin (inclusive) and
2926 // lineMax (exclusive)
2927 wxCoord
GetLinesHeight(size_t lineMin
, size_t lineMax
) const
2928 { return wxVScrolledWindow::GetLinesHeight(lineMin
, lineMax
); }
2930 // update the thumb size shown by the scrollbar
2931 void UpdateScrollbar() { wxVScrolledWindow::UpdateScrollbar(); }
2933 // remove the scrollbar completely because we don't need it
2934 void RemoveScrollbar() { wxVScrolledWindow::RemoveScrollbar(); }
2939 IMPLEMENT_ABSTRACT_CLASS(wxPyVScrolledWindow
, wxVScrolledWindow
);
2941 IMP_PYCALLBACK_COORD_SIZET_constpure(wxPyVScrolledWindow
, wxVScrolledWindow
, OnGetLineHeight
);
2942 IMP_PYCALLBACK_VOID_SIZETSIZET_const(wxPyVScrolledWindow
, wxVScrolledWindow
, OnGetLinesHint
);
2943 IMP_PYCALLBACK_COORD_const (wxPyVScrolledWindow
, wxVScrolledWindow
, EstimateTotalHeight
);
2947 SWIG_AsVal_unsigned_SS_long (PyObject
* obj
, unsigned long* val
)
2950 if (SWIG_AsVal_long(obj
, &v
) && v
< 0) {
2951 return SWIG_TypeError
;
2954 *val
= (unsigned long)v
;
2959 SWIGINTERNINLINE
int
2960 SWIG_AsVal_size_t (PyObject
* obj
, size_t *val
)
2963 int res
= SWIG_AsVal_unsigned_SS_long (obj
, val
? &v
: 0);
2964 if (SWIG_IsOK(res
) && val
) *val
= static_cast< size_t >(v
);
2969 SWIGINTERNINLINE PyObject
*
2970 SWIG_From_unsigned_SS_long (unsigned long value
)
2972 return (value
> LONG_MAX
) ?
2973 PyLong_FromUnsignedLong(value
) : PyInt_FromLong(static_cast< long >(value
));
2977 SWIGINTERNINLINE PyObject
*
2978 SWIG_From_size_t (size_t value
)
2980 return SWIG_From_unsigned_SS_long (static_cast< unsigned long >(value
));
2984 #include <wx/vlbox.h>
2986 static const wxString
wxPyVListBoxNameStr(wxVListBoxNameStr
);
2988 class wxPyVListBox
: public wxVListBox
2990 DECLARE_ABSTRACT_CLASS(wxPyVListBox
)
2992 wxPyVListBox() : wxVListBox() {}
2994 wxPyVListBox(wxWindow
*parent
,
2995 wxWindowID id
= wxID_ANY
,
2996 const wxPoint
& pos
= wxDefaultPosition
,
2997 const wxSize
& size
= wxDefaultSize
,
2999 const wxString
& name
= wxPyVListBoxNameStr
)
3000 : wxVListBox(parent
, id
, pos
, size
, style
, name
)
3003 // Overridable virtuals
3005 // the derived class must implement this function to actually draw the item
3006 // with the given index on the provided DC
3007 // virtual void OnDrawItem(wxDC& dc, const wxRect& rect, size_t n) const = 0;
3008 DEC_PYCALLBACK__DCRECTSIZET_constpure(OnDrawItem
);
3011 // the derived class must implement this method to return the height of the
3013 // virtual wxCoord OnMeasureItem(size_t n) const = 0;
3014 DEC_PYCALLBACK_COORD_SIZET_constpure(OnMeasureItem
);
3017 // this method may be used to draw separators between the lines; note that
3018 // the rectangle may be modified, typically to deflate it a bit before
3019 // passing to OnDrawItem()
3021 // the base class version doesn't do anything
3022 // virtual void OnDrawSeparator(wxDC& dc, wxRect& rect, size_t n) const;
3023 DEC_PYCALLBACK__DCRECTSIZET2_const(OnDrawSeparator
);
3026 // this method is used to draw the items background and, maybe, a border
3029 // the base class version implements a reasonable default behaviour which
3030 // consists in drawing the selected item with the standard background
3031 // colour and drawing a border around the item if it is either selected or
3033 // virtual void OnDrawBackground(wxDC& dc, const wxRect& rect, size_t n) const;
3034 DEC_PYCALLBACK__DCRECTSIZET_const(OnDrawBackground
);
3040 IMPLEMENT_ABSTRACT_CLASS(wxPyVListBox
, wxVListBox
);
3042 IMP_PYCALLBACK__DCRECTSIZET_constpure(wxPyVListBox
, wxVListBox
, OnDrawItem
);
3043 IMP_PYCALLBACK_COORD_SIZET_constpure (wxPyVListBox
, wxVListBox
, OnMeasureItem
);
3044 IMP_PYCALLBACK__DCRECTSIZET2_const (wxPyVListBox
, wxVListBox
, OnDrawSeparator
);
3045 IMP_PYCALLBACK__DCRECTSIZET_const (wxPyVListBox
, wxVListBox
, OnDrawBackground
);
3048 SWIGINTERN PyObject
*wxPyVListBox_GetFirstSelected(wxPyVListBox
*self
){
3049 unsigned long cookie
= 0;
3050 int selected
= self
->GetFirstSelected(cookie
);
3051 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3052 PyObject
* tup
= PyTuple_New(2);
3053 PyTuple_SET_ITEM(tup
, 0, PyInt_FromLong(selected
));
3054 PyTuple_SET_ITEM(tup
, 1, PyInt_FromLong(cookie
));
3055 wxPyEndBlockThreads(blocked
);
3058 SWIGINTERN PyObject
*wxPyVListBox_GetNextSelected(wxPyVListBox
*self
,unsigned long cookie
){
3059 int selected
= self
->GetNextSelected(cookie
);
3060 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3061 PyObject
* tup
= PyTuple_New(2);
3062 PyTuple_SET_ITEM(tup
, 0, PyInt_FromLong(selected
));
3063 PyTuple_SET_ITEM(tup
, 1, PyInt_FromLong(cookie
));
3064 wxPyEndBlockThreads(blocked
);
3068 #include <wx/htmllbox.h>
3071 class wxPyHtmlListBox
: public wxHtmlListBox
3073 DECLARE_ABSTRACT_CLASS(wxPyHtmlListBox
)
3075 wxPyHtmlListBox() : wxHtmlListBox() {}
3077 wxPyHtmlListBox(wxWindow
*parent
,
3078 wxWindowID id
= wxID_ANY
,
3079 const wxPoint
& pos
= wxDefaultPosition
,
3080 const wxSize
& size
= wxDefaultSize
,
3082 const wxString
& name
= wxPyVListBoxNameStr
)
3083 : wxHtmlListBox(parent
, id
, pos
, size
, style
, name
)
3086 // Overridable virtuals
3088 // this method must be implemented in the derived class and should return
3089 // the body (i.e. without <html>) of the HTML for the given item
3090 DEC_PYCALLBACK_STRING_SIZET_pure(OnGetItem
);
3092 // this function may be overridden to decorate HTML returned by OnGetItem()
3093 DEC_PYCALLBACK_STRING_SIZET(OnGetItemMarkup
);
3095 // These are from wxVListBox
3096 DEC_PYCALLBACK__DCRECTSIZET2_const(OnDrawSeparator
);
3097 DEC_PYCALLBACK__DCRECTSIZET_const(OnDrawBackground
);
3100 // // this method allows to customize the selection appearance: it may be used
3101 // // to specify the colour of the text which normally has the given colour
3102 // // colFg when it is inside the selection
3104 // // by default, the original colour is not used at all and all text has the
3105 // // same (default for this system) colour inside selection
3106 // virtual wxColour GetSelectedTextColour(const wxColour& colFg) const;
3108 // // this is the same as GetSelectedTextColour() but allows to customize the
3109 // // background colour -- this is even more rarely used as you can change it
3110 // // globally using SetSelectionBackground()
3111 // virtual wxColour GetSelectedTextBgColour(const wxColour& colBg) const;
3114 // This method may be overriden to handle clicking on a link in
3115 // the listbox. By default, clicking links is ignored.
3116 virtual void OnLinkClicked(size_t n
,
3117 const wxHtmlLinkInfo
& link
);
3123 IMPLEMENT_ABSTRACT_CLASS(wxPyHtmlListBox
, wxHtmlListBox
)
3125 IMP_PYCALLBACK_STRING_SIZET_pure(wxPyHtmlListBox
, wxHtmlListBox
, OnGetItem
);
3126 IMP_PYCALLBACK_STRING_SIZET (wxPyHtmlListBox
, wxHtmlListBox
, OnGetItemMarkup
);
3127 IMP_PYCALLBACK__DCRECTSIZET2_const (wxPyHtmlListBox
, wxHtmlListBox
, OnDrawSeparator
);
3128 IMP_PYCALLBACK__DCRECTSIZET_const (wxPyHtmlListBox
, wxHtmlListBox
, OnDrawBackground
);
3131 void wxPyHtmlListBox::OnLinkClicked(size_t n
,
3132 const wxHtmlLinkInfo
& link
) {
3134 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3135 if ((found
= wxPyCBH_findCallback(m_myInst
, "OnLinkClicked"))) {
3136 PyObject
* obj
= wxPyConstructObject((void*)&link
, wxT("wxHtmlLinkInfo"), 0);
3137 wxPyCBH_callCallback(m_myInst
, Py_BuildValue("(iO)", n
, obj
));
3140 wxPyEndBlockThreads(blocked
);
3142 wxPyHtmlListBox::OnLinkClicked(n
, link
);
3149 #ifndef wxHAS_TASK_BAR_ICON
3150 // implement dummy classes for platforms that don't have it
3152 class wxTaskBarIcon
: public wxEvtHandler
3155 wxTaskBarIcon() { wxPyRaiseNotImplemented(); }
3159 class wxTaskBarIconEvent
: public wxEvent
3162 wxTaskBarIconEvent(wxEventType
, wxTaskBarIcon
*)
3163 { wxPyRaiseNotImplemented(); }
3164 virtual wxEvent
* Clone() const { return NULL
; }
3165 bool IsOk() const { return false; }
3166 bool IsIconInstalled() const { return false; }
3167 bool SetIcon(const wxIcon
& icon
, const wxString
& tooltip
= wxPyEmptyString
) { return false; }
3168 bool RemoveIcon() { return false; }
3169 bool PopupMenu(wxMenu
*menu
) { return false; }
3173 wxEVT_TASKBAR_MOVE
= 0,
3174 wxEVT_TASKBAR_LEFT_DOWN
= 0,
3175 wxEVT_TASKBAR_LEFT_UP
= 0,
3176 wxEVT_TASKBAR_RIGHT_DOWN
= 0,
3177 wxEVT_TASKBAR_RIGHT_UP
= 0,
3178 wxEVT_TASKBAR_LEFT_DCLICK
= 0,
3179 wxEVT_TASKBAR_RIGHT_DCLICK
= 0,
3184 // Otherwise make a class that can virtualize CreatePopupMenu
3185 class wxPyTaskBarIcon
: public wxTaskBarIcon
3187 DECLARE_ABSTRACT_CLASS(wxPyTaskBarIcon
)
3189 wxPyTaskBarIcon() : wxTaskBarIcon()
3192 wxMenu
* CreatePopupMenu() {
3193 wxMenu
*rval
= NULL
;
3195 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3196 if ((found
= wxPyCBH_findCallback(m_myInst
, "CreatePopupMenu"))) {
3199 ro
= wxPyCBH_callCallbackObj(m_myInst
, Py_BuildValue("()"));
3201 if (wxPyConvertSwigPtr(ro
, (void **)&ptr
, wxT("wxMenu")))
3206 wxPyEndBlockThreads(blocked
);
3208 rval
= wxTaskBarIcon::CreatePopupMenu();
3215 IMPLEMENT_ABSTRACT_CLASS(wxPyTaskBarIcon
, wxTaskBarIcon
);
3219 SWIGINTERN
void wxPyTaskBarIcon_Destroy(wxPyTaskBarIcon
*self
){
3223 static const wxString
wxPyFileSelectorPromptStr(wxFileSelectorPromptStr
);
3224 static const wxString
wxPyDirSelectorPromptStr(wxDirSelectorPromptStr
);
3225 static const wxString
wxPyDirDialogNameStr(wxDirDialogNameStr
);
3226 static const wxString
wxPyFileSelectorDefaultWildcardStr(wxFileSelectorDefaultWildcardStr
);
3227 static const wxString
wxPyGetTextFromUserPromptStr(wxGetTextFromUserPromptStr
);
3228 static const wxString
wxPyMessageBoxCaptionStr(wxMessageBoxCaptionStr
);
3230 // for compatibility only
3231 #define wxHIDE_READONLY 0
3233 SWIGINTERN PyObject
*wxFileDialog_GetFilenames(wxFileDialog
*self
){
3235 self
->GetFilenames(arr
);
3236 return wxArrayString2PyList_helper(arr
);
3238 SWIGINTERN PyObject
*wxFileDialog_GetPaths(wxFileDialog
*self
){
3240 self
->GetPaths(arr
);
3241 return wxArrayString2PyList_helper(arr
);
3243 SWIGINTERN PyObject
*wxMultiChoiceDialog_GetSelections(wxMultiChoiceDialog
*self
){
3244 return wxArrayInt2PyList_helper(self
->GetSelections());
3246 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
){
3247 return new wxSingleChoiceDialog(parent
, message
, caption
,
3248 choices
, choices_array
, NULL
, style
, pos
);
3250 static const wxString
wxPyGetPasswordFromUserPromptStr(wxGetPasswordFromUserPromptStr
);
3252 SWIGINTERNINLINE PyObject
*
3253 SWIG_From_bool (bool value
)
3255 return PyBool_FromLong(value
? 1 : 0);
3261 // C++ version of Python aware wxWindow
3262 class wxPyWindow
: public wxWindow
3264 DECLARE_DYNAMIC_CLASS(wxPyWindow
)
3266 wxPyWindow() : wxWindow() {}
3267 wxPyWindow(wxWindow
* parent
, const wxWindowID id
,
3268 const wxPoint
& pos
= wxDefaultPosition
,
3269 const wxSize
& size
= wxDefaultSize
,
3271 const wxString
& name
= wxPyPanelNameStr
)
3272 : wxWindow(parent
, id
, pos
, size
, style
, name
) {}
3274 void SetBestSize(const wxSize
& size
) { wxWindow::SetBestSize(size
); }
3276 bool DoEraseBackground(wxDC
* dc
) {
3278 return wxWindow::DoEraseBackground(dc
->GetHDC());
3280 dc
->SetBackground(wxBrush(GetBackgroundColour()));
3286 DEC_PYCALLBACK_VOID_INT4(DoMoveWindow
);
3287 DEC_PYCALLBACK_VOID_INT5(DoSetSize
);
3288 DEC_PYCALLBACK_VOID_INTINT(DoSetClientSize
);
3289 DEC_PYCALLBACK_VOID_INTINT(DoSetVirtualSize
);
3291 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetSize
);
3292 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetClientSize
);
3293 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetPosition
);
3295 DEC_PYCALLBACK_SIZE_const(DoGetVirtualSize
);
3296 DEC_PYCALLBACK_SIZE_const(DoGetBestSize
);
3298 DEC_PYCALLBACK__(InitDialog
);
3299 DEC_PYCALLBACK_BOOL_(TransferDataFromWindow
);
3300 DEC_PYCALLBACK_BOOL_(TransferDataToWindow
);
3301 DEC_PYCALLBACK_BOOL_(Validate
);
3303 DEC_PYCALLBACK_BOOL_const(AcceptsFocus
);
3304 DEC_PYCALLBACK_BOOL_const(AcceptsFocusFromKeyboard
);
3305 DEC_PYCALLBACK_SIZE_const(GetMaxSize
);
3307 DEC_PYCALLBACK_VOID_WXWINBASE(AddChild
);
3308 DEC_PYCALLBACK_VOID_WXWINBASE(RemoveChild
);
3310 DEC_PYCALLBACK_BOOL_const(ShouldInheritColours
);
3311 DEC_PYCALLBACK_VIZATTR_(GetDefaultAttributes
);
3313 DEC_PYCALLBACK_BOOL_(HasTransparentBackground
);
3315 DEC_PYCALLBACK_VOID_(OnInternalIdle
);
3320 IMPLEMENT_DYNAMIC_CLASS(wxPyWindow
, wxWindow
);
3322 IMP_PYCALLBACK_VOID_INT4(wxPyWindow
, wxWindow
, DoMoveWindow
);
3323 IMP_PYCALLBACK_VOID_INT5(wxPyWindow
, wxWindow
, DoSetSize
);
3324 IMP_PYCALLBACK_VOID_INTINT(wxPyWindow
, wxWindow
, DoSetClientSize
);
3325 IMP_PYCALLBACK_VOID_INTINT(wxPyWindow
, wxWindow
, DoSetVirtualSize
);
3327 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyWindow
, wxWindow
, DoGetSize
);
3328 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyWindow
, wxWindow
, DoGetClientSize
);
3329 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyWindow
, wxWindow
, DoGetPosition
);
3331 IMP_PYCALLBACK_SIZE_const(wxPyWindow
, wxWindow
, DoGetVirtualSize
);
3332 IMP_PYCALLBACK_SIZE_const(wxPyWindow
, wxWindow
, DoGetBestSize
);
3334 IMP_PYCALLBACK__(wxPyWindow
, wxWindow
, InitDialog
);
3335 IMP_PYCALLBACK_BOOL_(wxPyWindow
, wxWindow
, TransferDataFromWindow
);
3336 IMP_PYCALLBACK_BOOL_(wxPyWindow
, wxWindow
, TransferDataToWindow
);
3337 IMP_PYCALLBACK_BOOL_(wxPyWindow
, wxWindow
, Validate
);
3339 IMP_PYCALLBACK_BOOL_const(wxPyWindow
, wxWindow
, AcceptsFocus
);
3340 IMP_PYCALLBACK_BOOL_const(wxPyWindow
, wxWindow
, AcceptsFocusFromKeyboard
);
3341 IMP_PYCALLBACK_SIZE_const(wxPyWindow
, wxWindow
, GetMaxSize
);
3343 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyWindow
, wxWindow
, AddChild
);
3344 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyWindow
, wxWindow
, RemoveChild
);
3346 IMP_PYCALLBACK_BOOL_const(wxPyWindow
, wxWindow
, ShouldInheritColours
);
3347 IMP_PYCALLBACK_VIZATTR_(wxPyWindow
, wxWindow
, GetDefaultAttributes
);
3349 IMP_PYCALLBACK_BOOL_(wxPyWindow
, wxWindow
, HasTransparentBackground
);
3351 IMP_PYCALLBACK_VOID_(wxPyWindow
, wxWindow
, OnInternalIdle
);
3353 // C++ version of Python aware wxPanel
3354 class wxPyPanel
: public wxPanel
3356 DECLARE_DYNAMIC_CLASS(wxPyPanel
)
3358 wxPyPanel() : wxPanel() {}
3359 wxPyPanel(wxWindow
* parent
, const wxWindowID id
,
3360 const wxPoint
& pos
= wxDefaultPosition
,
3361 const wxSize
& size
= wxDefaultSize
,
3363 const wxString
& name
= wxPyPanelNameStr
)
3364 : wxPanel(parent
, id
, pos
, size
, style
, name
) {}
3366 void SetBestSize(const wxSize
& size
) { wxPanel::SetBestSize(size
); }
3367 bool DoEraseBackground(wxDC
* dc
) {
3369 return wxWindow::DoEraseBackground(dc
->GetHDC());
3371 dc
->SetBackground(wxBrush(GetBackgroundColour()));
3378 DEC_PYCALLBACK_VOID_INT4(DoMoveWindow
);
3379 DEC_PYCALLBACK_VOID_INT5(DoSetSize
);
3380 DEC_PYCALLBACK_VOID_INTINT(DoSetClientSize
);
3381 DEC_PYCALLBACK_VOID_INTINT(DoSetVirtualSize
);
3383 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetSize
);
3384 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetClientSize
);
3385 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetPosition
);
3387 DEC_PYCALLBACK_SIZE_const(DoGetVirtualSize
);
3388 DEC_PYCALLBACK_SIZE_const(DoGetBestSize
);
3390 DEC_PYCALLBACK__(InitDialog
);
3391 DEC_PYCALLBACK_BOOL_(TransferDataFromWindow
);
3392 DEC_PYCALLBACK_BOOL_(TransferDataToWindow
);
3393 DEC_PYCALLBACK_BOOL_(Validate
);
3395 DEC_PYCALLBACK_BOOL_const(AcceptsFocus
);
3396 DEC_PYCALLBACK_BOOL_const(AcceptsFocusFromKeyboard
);
3397 DEC_PYCALLBACK_SIZE_const(GetMaxSize
);
3399 DEC_PYCALLBACK_VOID_WXWINBASE(AddChild
);
3400 DEC_PYCALLBACK_VOID_WXWINBASE(RemoveChild
);
3402 DEC_PYCALLBACK_BOOL_const(ShouldInheritColours
);
3403 DEC_PYCALLBACK_VIZATTR_(GetDefaultAttributes
);
3405 DEC_PYCALLBACK_BOOL_(HasTransparentBackground
);
3407 DEC_PYCALLBACK_VOID_(OnInternalIdle
);
3412 IMPLEMENT_DYNAMIC_CLASS(wxPyPanel
, wxPanel
);
3414 IMP_PYCALLBACK_VOID_INT4(wxPyPanel
, wxPanel
, DoMoveWindow
);
3415 IMP_PYCALLBACK_VOID_INT5(wxPyPanel
, wxPanel
, DoSetSize
);
3416 IMP_PYCALLBACK_VOID_INTINT(wxPyPanel
, wxPanel
, DoSetClientSize
);
3417 IMP_PYCALLBACK_VOID_INTINT(wxPyPanel
, wxPanel
, DoSetVirtualSize
);
3419 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyPanel
, wxPanel
, DoGetSize
);
3420 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyPanel
, wxPanel
, DoGetClientSize
);
3421 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyPanel
, wxPanel
, DoGetPosition
);
3423 IMP_PYCALLBACK_SIZE_const(wxPyPanel
, wxPanel
, DoGetVirtualSize
);
3424 IMP_PYCALLBACK_SIZE_const(wxPyPanel
, wxPanel
, DoGetBestSize
);
3426 IMP_PYCALLBACK__(wxPyPanel
, wxPanel
, InitDialog
);
3427 IMP_PYCALLBACK_BOOL_(wxPyPanel
, wxPanel
, TransferDataFromWindow
);
3428 IMP_PYCALLBACK_BOOL_(wxPyPanel
, wxPanel
, TransferDataToWindow
);
3429 IMP_PYCALLBACK_BOOL_(wxPyPanel
, wxPanel
, Validate
);
3431 IMP_PYCALLBACK_BOOL_const(wxPyPanel
, wxPanel
, AcceptsFocus
);
3432 IMP_PYCALLBACK_BOOL_const(wxPyPanel
, wxPanel
, AcceptsFocusFromKeyboard
);
3433 IMP_PYCALLBACK_SIZE_const(wxPyPanel
, wxPanel
, GetMaxSize
);
3435 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyPanel
, wxPanel
, AddChild
);
3436 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyPanel
, wxPanel
, RemoveChild
);
3438 IMP_PYCALLBACK_BOOL_const(wxPyPanel
, wxPanel
, ShouldInheritColours
);
3439 IMP_PYCALLBACK_VIZATTR_(wxPyPanel
, wxPanel
, GetDefaultAttributes
);
3441 IMP_PYCALLBACK_BOOL_(wxPyPanel
, wxPanel
, HasTransparentBackground
);
3443 IMP_PYCALLBACK_VOID_(wxPyPanel
, wxPanel
, OnInternalIdle
);
3445 // C++ version of Python aware wxScrolledWindow
3446 class wxPyScrolledWindow
: public wxScrolledWindow
3448 DECLARE_DYNAMIC_CLASS(wxPyScrolledWindow
)
3450 wxPyScrolledWindow() : wxScrolledWindow() {}
3451 wxPyScrolledWindow(wxWindow
* parent
, const wxWindowID id
,
3452 const wxPoint
& pos
= wxDefaultPosition
,
3453 const wxSize
& size
= wxDefaultSize
,
3455 const wxString
& name
= wxPyPanelNameStr
)
3456 : wxScrolledWindow(parent
, id
, pos
, size
, style
, name
) {}
3458 void SetBestSize(const wxSize
& size
) { wxScrolledWindow::SetBestSize(size
); }
3459 bool DoEraseBackground(wxDC
* dc
) {
3461 return wxWindow::DoEraseBackground(dc
->GetHDC());
3463 dc
->SetBackground(wxBrush(GetBackgroundColour()));
3469 DEC_PYCALLBACK_VOID_INT4(DoMoveWindow
);
3470 DEC_PYCALLBACK_VOID_INT5(DoSetSize
);
3471 DEC_PYCALLBACK_VOID_INTINT(DoSetClientSize
);
3472 DEC_PYCALLBACK_VOID_INTINT(DoSetVirtualSize
);
3474 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetSize
);
3475 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetClientSize
);
3476 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetPosition
);
3478 DEC_PYCALLBACK_SIZE_const(DoGetVirtualSize
);
3479 DEC_PYCALLBACK_SIZE_const(DoGetBestSize
);
3481 DEC_PYCALLBACK__(InitDialog
);
3482 DEC_PYCALLBACK_BOOL_(TransferDataFromWindow
);
3483 DEC_PYCALLBACK_BOOL_(TransferDataToWindow
);
3484 DEC_PYCALLBACK_BOOL_(Validate
);
3486 DEC_PYCALLBACK_BOOL_const(AcceptsFocus
);
3487 DEC_PYCALLBACK_BOOL_const(AcceptsFocusFromKeyboard
);
3488 DEC_PYCALLBACK_SIZE_const(GetMaxSize
);
3490 DEC_PYCALLBACK_VOID_WXWINBASE(AddChild
);
3491 DEC_PYCALLBACK_VOID_WXWINBASE(RemoveChild
);
3493 DEC_PYCALLBACK_BOOL_const(ShouldInheritColours
);
3494 DEC_PYCALLBACK_VIZATTR_(GetDefaultAttributes
);
3496 DEC_PYCALLBACK_BOOL_(HasTransparentBackground
);
3498 DEC_PYCALLBACK_VOID_(OnInternalIdle
);
3503 IMPLEMENT_DYNAMIC_CLASS(wxPyScrolledWindow
, wxScrolledWindow
);
3505 IMP_PYCALLBACK_VOID_INT4(wxPyScrolledWindow
, wxScrolledWindow
, DoMoveWindow
);
3506 IMP_PYCALLBACK_VOID_INT5(wxPyScrolledWindow
, wxScrolledWindow
, DoSetSize
);
3507 IMP_PYCALLBACK_VOID_INTINT(wxPyScrolledWindow
, wxScrolledWindow
, DoSetClientSize
);
3508 IMP_PYCALLBACK_VOID_INTINT(wxPyScrolledWindow
, wxScrolledWindow
, DoSetVirtualSize
);
3510 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyScrolledWindow
, wxScrolledWindow
, DoGetSize
);
3511 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyScrolledWindow
, wxScrolledWindow
, DoGetClientSize
);
3512 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyScrolledWindow
, wxScrolledWindow
, DoGetPosition
);
3514 IMP_PYCALLBACK_SIZE_const(wxPyScrolledWindow
, wxScrolledWindow
, DoGetVirtualSize
);
3515 IMP_PYCALLBACK_SIZE_const(wxPyScrolledWindow
, wxScrolledWindow
, DoGetBestSize
);
3517 IMP_PYCALLBACK__(wxPyScrolledWindow
, wxScrolledWindow
, InitDialog
);
3518 IMP_PYCALLBACK_BOOL_(wxPyScrolledWindow
, wxScrolledWindow
, TransferDataFromWindow
);
3519 IMP_PYCALLBACK_BOOL_(wxPyScrolledWindow
, wxScrolledWindow
, TransferDataToWindow
);
3520 IMP_PYCALLBACK_BOOL_(wxPyScrolledWindow
, wxScrolledWindow
, Validate
);
3522 IMP_PYCALLBACK_BOOL_const(wxPyScrolledWindow
, wxScrolledWindow
, AcceptsFocus
);
3523 IMP_PYCALLBACK_BOOL_const(wxPyScrolledWindow
, wxScrolledWindow
, AcceptsFocusFromKeyboard
);
3524 IMP_PYCALLBACK_SIZE_const(wxPyScrolledWindow
, wxScrolledWindow
, GetMaxSize
);
3526 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyScrolledWindow
, wxScrolledWindow
, AddChild
);
3527 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyScrolledWindow
, wxScrolledWindow
, RemoveChild
);
3529 IMP_PYCALLBACK_BOOL_const(wxPyScrolledWindow
, wxScrolledWindow
, ShouldInheritColours
);
3530 IMP_PYCALLBACK_VIZATTR_(wxPyScrolledWindow
, wxScrolledWindow
, GetDefaultAttributes
);
3532 IMP_PYCALLBACK_BOOL_(wxPyScrolledWindow
, wxScrolledWindow
, HasTransparentBackground
);
3534 IMP_PYCALLBACK_VOID_(wxPyScrolledWindow
, wxScrolledWindow
, OnInternalIdle
);
3537 #include "wx/wxPython/printfw.h"
3540 static const wxString
wxPyPrintoutTitleStr(wxT("Printout"));
3541 static const wxString
wxPyPreviewCanvasNameStr(wxT("previewcanvas"));
3542 SWIGINTERN PyObject
*wxPrintData_GetPrivData(wxPrintData
*self
){
3544 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3545 data
= PyString_FromStringAndSize(self
->GetPrivData(),
3546 self
->GetPrivDataLen());
3547 wxPyEndBlockThreads(blocked
);
3550 SWIGINTERN
void wxPrintData_SetPrivData(wxPrintData
*self
,PyObject
*data
){
3551 if (! PyString_Check(data
)) {
3552 wxPyBLOCK_THREADS(PyErr_SetString(PyExc_TypeError
,
3553 "Expected string object"));
3557 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3558 self
->SetPrivData(PyString_AS_STRING(data
), PyString_GET_SIZE(data
));
3559 wxPyEndBlockThreads(blocked
);
3563 IMPLEMENT_ABSTRACT_CLASS(wxPyPrintout
, wxPrintout
);
3565 // Since this one would be tough and ugly to do with the Macros...
3566 void wxPyPrintout::GetPageInfo(int *minPage
, int *maxPage
, int *pageFrom
, int *pageTo
) {
3567 bool hadErr
= false;
3570 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3571 if ((found
= wxPyCBH_findCallback(m_myInst
, "GetPageInfo"))) {
3572 PyObject
* result
= wxPyCBH_callCallbackObj(m_myInst
, Py_BuildValue("()"));
3573 if (result
&& PyTuple_Check(result
) && PyTuple_Size(result
) == 4) {
3576 val
= PyTuple_GetItem(result
, 0);
3577 if (PyInt_Check(val
)) *minPage
= PyInt_AsLong(val
);
3580 val
= PyTuple_GetItem(result
, 1);
3581 if (PyInt_Check(val
)) *maxPage
= PyInt_AsLong(val
);
3584 val
= PyTuple_GetItem(result
, 2);
3585 if (PyInt_Check(val
)) *pageFrom
= PyInt_AsLong(val
);
3588 val
= PyTuple_GetItem(result
, 3);
3589 if (PyInt_Check(val
)) *pageTo
= PyInt_AsLong(val
);
3596 PyErr_SetString(PyExc_TypeError
, "GetPageInfo should return a tuple of 4 integers.");
3601 wxPyEndBlockThreads(blocked
);
3603 wxPrintout::GetPageInfo(minPage
, maxPage
, pageFrom
, pageTo
);
3608 IMP_PYCALLBACK_BOOL_INTINT(wxPyPrintout
, wxPrintout
, OnBeginDocument
);
3609 IMP_PYCALLBACK__(wxPyPrintout
, wxPrintout
, OnEndDocument
);
3610 IMP_PYCALLBACK__(wxPyPrintout
, wxPrintout
, OnBeginPrinting
);
3611 IMP_PYCALLBACK__(wxPyPrintout
, wxPrintout
, OnEndPrinting
);
3612 IMP_PYCALLBACK__(wxPyPrintout
, wxPrintout
, OnPreparePrinting
);
3613 IMP_PYCALLBACK_BOOL_INT_pure(wxPyPrintout
, wxPrintout
, OnPrintPage
);
3614 IMP_PYCALLBACK_BOOL_INT(wxPyPrintout
, wxPrintout
, HasPage
);
3620 #define DEC_PYCALLBACK_BOOL_PREWINDC(CBNAME) \
3621 bool CBNAME(wxPreviewCanvas* a, wxDC& b)
3624 #define IMP_PYCALLBACK_BOOL_PREWINDC(CLASS, PCLASS, CBNAME) \
3625 bool CLASS::CBNAME(wxPreviewCanvas* a, wxDC& b) { \
3628 wxPyBlock_t blocked = wxPyBeginBlockThreads(); \
3629 if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) { \
3630 PyObject* win = wxPyMake_wxObject(a,false); \
3631 PyObject* dc = wxPyMake_wxObject(&b,false); \
3632 rval = wxPyCBH_callCallback(m_myInst, Py_BuildValue("(OO)", win, dc)); \
3636 wxPyEndBlockThreads(blocked); \
3638 rval = PCLASS::CBNAME(a, b); \
3645 class wxPyPrintPreview
: public wxPrintPreview
3647 DECLARE_CLASS(wxPyPrintPreview
)
3649 wxPyPrintPreview(wxPyPrintout
* printout
,
3650 wxPyPrintout
* printoutForPrinting
,
3651 wxPrintDialogData
* data
=NULL
)
3652 : wxPrintPreview(printout
, printoutForPrinting
, data
)
3654 wxPyPrintPreview(wxPyPrintout
* printout
,
3655 wxPyPrintout
* printoutForPrinting
,
3657 : wxPrintPreview(printout
, printoutForPrinting
, data
)
3660 DEC_PYCALLBACK_BOOL_INT(SetCurrentPage
);
3661 DEC_PYCALLBACK_BOOL_PREWINDC(PaintPage
);
3662 DEC_PYCALLBACK_BOOL_PREWINDC(DrawBlankPage
);
3663 DEC_PYCALLBACK_BOOL_INT(RenderPage
);
3664 DEC_PYCALLBACK_VOID_INT(SetZoom
);
3665 DEC_PYCALLBACK_BOOL_BOOL(Print
);
3666 DEC_PYCALLBACK_VOID_(DetermineScaling
);
3671 // Stupid renamed classes... Fix this in 2.5...
3672 #if defined(__WXMSW__)
3673 IMPLEMENT_CLASS( wxPyPrintPreview
, wxWindowsPrintPreview
);
3674 #elif defined(__WXMAC__)
3675 IMPLEMENT_CLASS( wxPyPrintPreview
, wxMacPrintPreview
);
3677 IMPLEMENT_CLASS( wxPyPrintPreview
, wxPostScriptPrintPreview
);
3680 IMP_PYCALLBACK_BOOL_INT (wxPyPrintPreview
, wxPrintPreview
, SetCurrentPage
);
3681 IMP_PYCALLBACK_BOOL_PREWINDC(wxPyPrintPreview
, wxPrintPreview
, PaintPage
);
3682 IMP_PYCALLBACK_BOOL_PREWINDC(wxPyPrintPreview
, wxPrintPreview
, DrawBlankPage
);
3683 IMP_PYCALLBACK_BOOL_INT (wxPyPrintPreview
, wxPrintPreview
, RenderPage
);
3684 IMP_PYCALLBACK_VOID_INT (wxPyPrintPreview
, wxPrintPreview
, SetZoom
);
3685 IMP_PYCALLBACK_BOOL_BOOL (wxPyPrintPreview
, wxPrintPreview
, Print
);
3686 IMP_PYCALLBACK_VOID_ (wxPyPrintPreview
, wxPrintPreview
, DetermineScaling
);
3689 class wxPyPreviewFrame
: public wxPreviewFrame
3691 DECLARE_CLASS(wxPyPreviewFrame
)
3693 wxPyPreviewFrame(wxPrintPreview
* preview
, wxFrame
* parent
,
3694 const wxString
& title
,
3695 const wxPoint
& pos
= wxDefaultPosition
,
3696 const wxSize
& size
= wxDefaultSize
,
3697 long style
= wxDEFAULT_FRAME_STYLE
,
3698 const wxString
& name
= wxPyFrameNameStr
)
3699 : wxPreviewFrame(preview
, parent
, title
, pos
, size
, style
, name
)
3702 void SetPreviewCanvas(wxPreviewCanvas
* canvas
) { m_previewCanvas
= canvas
; }
3703 void SetControlBar(wxPreviewControlBar
* bar
) { m_controlBar
= bar
; }
3705 DEC_PYCALLBACK_VOID_(Initialize
);
3706 DEC_PYCALLBACK_VOID_(CreateCanvas
);
3707 DEC_PYCALLBACK_VOID_(CreateControlBar
);
3712 IMPLEMENT_CLASS(wxPyPreviewFrame
, wxPreviewFrame
);
3714 IMP_PYCALLBACK_VOID_(wxPyPreviewFrame
, wxPreviewFrame
, Initialize
);
3715 IMP_PYCALLBACK_VOID_(wxPyPreviewFrame
, wxPreviewFrame
, CreateCanvas
);
3716 IMP_PYCALLBACK_VOID_(wxPyPreviewFrame
, wxPreviewFrame
, CreateControlBar
);
3719 class wxPyPreviewControlBar
: public wxPreviewControlBar
3721 DECLARE_CLASS(wxPyPreviewControlBar
)
3723 wxPyPreviewControlBar(wxPrintPreview
*preview
,
3726 const wxPoint
& pos
= wxDefaultPosition
,
3727 const wxSize
& size
= wxDefaultSize
,
3729 const wxString
& name
= wxPyPanelNameStr
)
3730 : wxPreviewControlBar(preview
, buttons
, parent
, pos
, size
, style
, name
)
3733 void SetPrintPreview(wxPrintPreview
* preview
) { m_printPreview
= preview
; }
3735 DEC_PYCALLBACK_VOID_(CreateButtons
);
3736 DEC_PYCALLBACK_VOID_INT(SetZoomControl
);
3741 IMPLEMENT_CLASS(wxPyPreviewControlBar
, wxPreviewControlBar
);
3742 IMP_PYCALLBACK_VOID_(wxPyPreviewControlBar
, wxPreviewControlBar
, CreateButtons
);
3743 IMP_PYCALLBACK_VOID_INT(wxPyPreviewControlBar
, wxPreviewControlBar
, SetZoomControl
);
3748 SWIGINTERN PyObject
*_wrap_new_Panel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
3749 PyObject
*resultobj
= 0;
3750 wxWindow
*arg1
= (wxWindow
*) 0 ;
3751 int arg2
= (int) (int)-1 ;
3752 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
3753 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
3754 wxSize
const &arg4_defvalue
= wxDefaultSize
;
3755 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
3756 long arg5
= (long) wxTAB_TRAVERSAL
|wxNO_BORDER
;
3757 wxString
const &arg6_defvalue
= wxPyPanelNameStr
;
3758 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
3759 wxPanel
*result
= 0 ;
3768 bool temp6
= false ;
3769 PyObject
* obj0
= 0 ;
3770 PyObject
* obj1
= 0 ;
3771 PyObject
* obj2
= 0 ;
3772 PyObject
* obj3
= 0 ;
3773 PyObject
* obj4
= 0 ;
3774 PyObject
* obj5
= 0 ;
3775 char * kwnames
[] = {
3776 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
3779 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_Panel",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
3780 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
3781 if (!SWIG_IsOK(res1
)) {
3782 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_Panel" "', expected argument " "1"" of type '" "wxWindow *""'");
3784 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
3786 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
3787 if (!SWIG_IsOK(ecode2
)) {
3788 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Panel" "', expected argument " "2"" of type '" "int""'");
3790 arg2
= static_cast< int >(val2
);
3795 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
3801 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
3805 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
3806 if (!SWIG_IsOK(ecode5
)) {
3807 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_Panel" "', expected argument " "5"" of type '" "long""'");
3809 arg5
= static_cast< long >(val5
);
3813 arg6
= wxString_in_helper(obj5
);
3814 if (arg6
== NULL
) SWIG_fail
;
3819 if (!wxPyCheckForApp()) SWIG_fail
;
3820 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3821 result
= (wxPanel
*)new wxPanel(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
3822 wxPyEndAllowThreads(__tstate
);
3823 if (PyErr_Occurred()) SWIG_fail
;
3825 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPanel
, SWIG_POINTER_NEW
| 0 );
3840 SWIGINTERN PyObject
*_wrap_new_PrePanel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3841 PyObject
*resultobj
= 0;
3842 wxPanel
*result
= 0 ;
3844 if (!SWIG_Python_UnpackTuple(args
,"new_PrePanel",0,0,0)) SWIG_fail
;
3846 if (!wxPyCheckForApp()) SWIG_fail
;
3847 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3848 result
= (wxPanel
*)new wxPanel();
3849 wxPyEndAllowThreads(__tstate
);
3850 if (PyErr_Occurred()) SWIG_fail
;
3852 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPanel
, SWIG_POINTER_OWN
| 0 );
3859 SWIGINTERN PyObject
*_wrap_Panel_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
3860 PyObject
*resultobj
= 0;
3861 wxPanel
*arg1
= (wxPanel
*) 0 ;
3862 wxWindow
*arg2
= (wxWindow
*) 0 ;
3863 int arg3
= (int) (int)-1 ;
3864 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
3865 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
3866 wxSize
const &arg5_defvalue
= wxDefaultSize
;
3867 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
3868 long arg6
= (long) wxTAB_TRAVERSAL
|wxNO_BORDER
;
3869 wxString
const &arg7_defvalue
= wxPyPanelNameStr
;
3870 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
3882 bool temp7
= false ;
3883 PyObject
* obj0
= 0 ;
3884 PyObject
* obj1
= 0 ;
3885 PyObject
* obj2
= 0 ;
3886 PyObject
* obj3
= 0 ;
3887 PyObject
* obj4
= 0 ;
3888 PyObject
* obj5
= 0 ;
3889 PyObject
* obj6
= 0 ;
3890 char * kwnames
[] = {
3891 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
3894 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:Panel_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
3895 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPanel
, 0 | 0 );
3896 if (!SWIG_IsOK(res1
)) {
3897 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Panel_Create" "', expected argument " "1"" of type '" "wxPanel *""'");
3899 arg1
= reinterpret_cast< wxPanel
* >(argp1
);
3900 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
3901 if (!SWIG_IsOK(res2
)) {
3902 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Panel_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
3904 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
3906 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
3907 if (!SWIG_IsOK(ecode3
)) {
3908 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Panel_Create" "', expected argument " "3"" of type '" "int""'");
3910 arg3
= static_cast< int >(val3
);
3915 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
3921 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
3925 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
3926 if (!SWIG_IsOK(ecode6
)) {
3927 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "Panel_Create" "', expected argument " "6"" of type '" "long""'");
3929 arg6
= static_cast< long >(val6
);
3933 arg7
= wxString_in_helper(obj6
);
3934 if (arg7
== NULL
) SWIG_fail
;
3939 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3940 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
3941 wxPyEndAllowThreads(__tstate
);
3942 if (PyErr_Occurred()) SWIG_fail
;
3945 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3961 SWIGINTERN PyObject
*_wrap_Panel_SetFocusIgnoringChildren(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3962 PyObject
*resultobj
= 0;
3963 wxPanel
*arg1
= (wxPanel
*) 0 ;
3966 PyObject
*swig_obj
[1] ;
3968 if (!args
) SWIG_fail
;
3970 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPanel
, 0 | 0 );
3971 if (!SWIG_IsOK(res1
)) {
3972 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Panel_SetFocusIgnoringChildren" "', expected argument " "1"" of type '" "wxPanel *""'");
3974 arg1
= reinterpret_cast< wxPanel
* >(argp1
);
3976 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3977 (arg1
)->SetFocusIgnoringChildren();
3978 wxPyEndAllowThreads(__tstate
);
3979 if (PyErr_Occurred()) SWIG_fail
;
3981 resultobj
= SWIG_Py_Void();
3988 SWIGINTERN PyObject
*_wrap_Panel_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
3989 PyObject
*resultobj
= 0;
3990 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
3991 SwigValueWrapper
<wxVisualAttributes
> result
;
3994 PyObject
* obj0
= 0 ;
3995 char * kwnames
[] = {
3996 (char *) "variant", NULL
3999 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Panel_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
4001 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
4002 if (!SWIG_IsOK(ecode1
)) {
4003 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "Panel_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
4005 arg1
= static_cast< wxWindowVariant
>(val1
);
4008 if (!wxPyCheckForApp()) SWIG_fail
;
4009 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4010 result
= wxPanel::GetClassDefaultAttributes(arg1
);
4011 wxPyEndAllowThreads(__tstate
);
4012 if (PyErr_Occurred()) SWIG_fail
;
4014 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
4021 SWIGINTERN PyObject
*Panel_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4023 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
4024 SWIG_TypeNewClientData(SWIGTYPE_p_wxPanel
, SWIG_NewClientData(obj
));
4025 return SWIG_Py_Void();
4028 SWIGINTERN PyObject
*Panel_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4029 return SWIG_Python_InitShadowInstance(args
);
4032 SWIGINTERN PyObject
*_wrap_new_ScrolledWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4033 PyObject
*resultobj
= 0;
4034 wxWindow
*arg1
= (wxWindow
*) 0 ;
4035 int arg2
= (int) (int)-1 ;
4036 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
4037 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
4038 wxSize
const &arg4_defvalue
= wxDefaultSize
;
4039 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
4040 long arg5
= (long) wxHSCROLL
|wxVSCROLL
;
4041 wxString
const &arg6_defvalue
= wxPyPanelNameStr
;
4042 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
4043 wxScrolledWindow
*result
= 0 ;
4052 bool temp6
= false ;
4053 PyObject
* obj0
= 0 ;
4054 PyObject
* obj1
= 0 ;
4055 PyObject
* obj2
= 0 ;
4056 PyObject
* obj3
= 0 ;
4057 PyObject
* obj4
= 0 ;
4058 PyObject
* obj5
= 0 ;
4059 char * kwnames
[] = {
4060 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4063 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_ScrolledWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
4064 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
4065 if (!SWIG_IsOK(res1
)) {
4066 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_ScrolledWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
4068 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
4070 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
4071 if (!SWIG_IsOK(ecode2
)) {
4072 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_ScrolledWindow" "', expected argument " "2"" of type '" "int""'");
4074 arg2
= static_cast< int >(val2
);
4079 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
4085 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
4089 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
4090 if (!SWIG_IsOK(ecode5
)) {
4091 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_ScrolledWindow" "', expected argument " "5"" of type '" "long""'");
4093 arg5
= static_cast< long >(val5
);
4097 arg6
= wxString_in_helper(obj5
);
4098 if (arg6
== NULL
) SWIG_fail
;
4103 if (!wxPyCheckForApp()) SWIG_fail
;
4104 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4105 result
= (wxScrolledWindow
*)new wxScrolledWindow(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
4106 wxPyEndAllowThreads(__tstate
);
4107 if (PyErr_Occurred()) SWIG_fail
;
4109 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxScrolledWindow
, SWIG_POINTER_NEW
| 0 );
4124 SWIGINTERN PyObject
*_wrap_new_PreScrolledWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4125 PyObject
*resultobj
= 0;
4126 wxScrolledWindow
*result
= 0 ;
4128 if (!SWIG_Python_UnpackTuple(args
,"new_PreScrolledWindow",0,0,0)) SWIG_fail
;
4130 if (!wxPyCheckForApp()) SWIG_fail
;
4131 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4132 result
= (wxScrolledWindow
*)new wxScrolledWindow();
4133 wxPyEndAllowThreads(__tstate
);
4134 if (PyErr_Occurred()) SWIG_fail
;
4136 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxScrolledWindow
, SWIG_POINTER_OWN
| 0 );
4143 SWIGINTERN PyObject
*_wrap_ScrolledWindow_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4144 PyObject
*resultobj
= 0;
4145 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
4146 wxWindow
*arg2
= (wxWindow
*) 0 ;
4147 int arg3
= (int) (int)-1 ;
4148 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
4149 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
4150 wxSize
const &arg5_defvalue
= wxDefaultSize
;
4151 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
4152 long arg6
= (long) wxHSCROLL
|wxVSCROLL
;
4153 wxString
const &arg7_defvalue
= wxPyPanelNameStr
;
4154 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
4166 bool temp7
= false ;
4167 PyObject
* obj0
= 0 ;
4168 PyObject
* obj1
= 0 ;
4169 PyObject
* obj2
= 0 ;
4170 PyObject
* obj3
= 0 ;
4171 PyObject
* obj4
= 0 ;
4172 PyObject
* obj5
= 0 ;
4173 PyObject
* obj6
= 0 ;
4174 char * kwnames
[] = {
4175 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4178 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:ScrolledWindow_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
4179 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 | 0 );
4180 if (!SWIG_IsOK(res1
)) {
4181 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_Create" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
4183 arg1
= reinterpret_cast< wxScrolledWindow
* >(argp1
);
4184 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
4185 if (!SWIG_IsOK(res2
)) {
4186 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ScrolledWindow_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
4188 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
4190 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
4191 if (!SWIG_IsOK(ecode3
)) {
4192 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ScrolledWindow_Create" "', expected argument " "3"" of type '" "int""'");
4194 arg3
= static_cast< int >(val3
);
4199 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
4205 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
4209 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
4210 if (!SWIG_IsOK(ecode6
)) {
4211 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "ScrolledWindow_Create" "', expected argument " "6"" of type '" "long""'");
4213 arg6
= static_cast< long >(val6
);
4217 arg7
= wxString_in_helper(obj6
);
4218 if (arg7
== NULL
) SWIG_fail
;
4223 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4224 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
4225 wxPyEndAllowThreads(__tstate
);
4226 if (PyErr_Occurred()) SWIG_fail
;
4229 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4245 SWIGINTERN PyObject
*_wrap_ScrolledWindow_SetScrollbars(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4246 PyObject
*resultobj
= 0;
4247 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
4252 int arg6
= (int) 0 ;
4253 int arg7
= (int) 0 ;
4254 bool arg8
= (bool) false ;
4271 PyObject
* obj0
= 0 ;
4272 PyObject
* obj1
= 0 ;
4273 PyObject
* obj2
= 0 ;
4274 PyObject
* obj3
= 0 ;
4275 PyObject
* obj4
= 0 ;
4276 PyObject
* obj5
= 0 ;
4277 PyObject
* obj6
= 0 ;
4278 PyObject
* obj7
= 0 ;
4279 char * kwnames
[] = {
4280 (char *) "self",(char *) "pixelsPerUnitX",(char *) "pixelsPerUnitY",(char *) "noUnitsX",(char *) "noUnitsY",(char *) "xPos",(char *) "yPos",(char *) "noRefresh", NULL
4283 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|OOO:ScrolledWindow_SetScrollbars",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
4284 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 | 0 );
4285 if (!SWIG_IsOK(res1
)) {
4286 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_SetScrollbars" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
4288 arg1
= reinterpret_cast< wxScrolledWindow
* >(argp1
);
4289 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
4290 if (!SWIG_IsOK(ecode2
)) {
4291 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ScrolledWindow_SetScrollbars" "', expected argument " "2"" of type '" "int""'");
4293 arg2
= static_cast< int >(val2
);
4294 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
4295 if (!SWIG_IsOK(ecode3
)) {
4296 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ScrolledWindow_SetScrollbars" "', expected argument " "3"" of type '" "int""'");
4298 arg3
= static_cast< int >(val3
);
4299 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
4300 if (!SWIG_IsOK(ecode4
)) {
4301 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "ScrolledWindow_SetScrollbars" "', expected argument " "4"" of type '" "int""'");
4303 arg4
= static_cast< int >(val4
);
4304 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
4305 if (!SWIG_IsOK(ecode5
)) {
4306 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "ScrolledWindow_SetScrollbars" "', expected argument " "5"" of type '" "int""'");
4308 arg5
= static_cast< int >(val5
);
4310 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
4311 if (!SWIG_IsOK(ecode6
)) {
4312 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "ScrolledWindow_SetScrollbars" "', expected argument " "6"" of type '" "int""'");
4314 arg6
= static_cast< int >(val6
);
4317 ecode7
= SWIG_AsVal_int(obj6
, &val7
);
4318 if (!SWIG_IsOK(ecode7
)) {
4319 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "ScrolledWindow_SetScrollbars" "', expected argument " "7"" of type '" "int""'");
4321 arg7
= static_cast< int >(val7
);
4324 ecode8
= SWIG_AsVal_bool(obj7
, &val8
);
4325 if (!SWIG_IsOK(ecode8
)) {
4326 SWIG_exception_fail(SWIG_ArgError(ecode8
), "in method '" "ScrolledWindow_SetScrollbars" "', expected argument " "8"" of type '" "bool""'");
4328 arg8
= static_cast< bool >(val8
);
4331 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4332 (arg1
)->SetScrollbars(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
,arg8
);
4333 wxPyEndAllowThreads(__tstate
);
4334 if (PyErr_Occurred()) SWIG_fail
;
4336 resultobj
= SWIG_Py_Void();
4343 SWIGINTERN PyObject
*_wrap_ScrolledWindow_Scroll(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4344 PyObject
*resultobj
= 0;
4345 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
4354 PyObject
* obj0
= 0 ;
4355 PyObject
* obj1
= 0 ;
4356 PyObject
* obj2
= 0 ;
4357 char * kwnames
[] = {
4358 (char *) "self",(char *) "x",(char *) "y", NULL
4361 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ScrolledWindow_Scroll",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
4362 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 | 0 );
4363 if (!SWIG_IsOK(res1
)) {
4364 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_Scroll" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
4366 arg1
= reinterpret_cast< wxScrolledWindow
* >(argp1
);
4367 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
4368 if (!SWIG_IsOK(ecode2
)) {
4369 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ScrolledWindow_Scroll" "', expected argument " "2"" of type '" "int""'");
4371 arg2
= static_cast< int >(val2
);
4372 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
4373 if (!SWIG_IsOK(ecode3
)) {
4374 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ScrolledWindow_Scroll" "', expected argument " "3"" of type '" "int""'");
4376 arg3
= static_cast< int >(val3
);
4378 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4379 (arg1
)->Scroll(arg2
,arg3
);
4380 wxPyEndAllowThreads(__tstate
);
4381 if (PyErr_Occurred()) SWIG_fail
;
4383 resultobj
= SWIG_Py_Void();
4390 SWIGINTERN PyObject
*_wrap_ScrolledWindow_GetScrollPageSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4391 PyObject
*resultobj
= 0;
4392 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
4399 PyObject
* obj0
= 0 ;
4400 PyObject
* obj1
= 0 ;
4401 char * kwnames
[] = {
4402 (char *) "self",(char *) "orient", NULL
4405 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScrolledWindow_GetScrollPageSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4406 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 | 0 );
4407 if (!SWIG_IsOK(res1
)) {
4408 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_GetScrollPageSize" "', expected argument " "1"" of type '" "wxScrolledWindow const *""'");
4410 arg1
= reinterpret_cast< wxScrolledWindow
* >(argp1
);
4411 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
4412 if (!SWIG_IsOK(ecode2
)) {
4413 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ScrolledWindow_GetScrollPageSize" "', expected argument " "2"" of type '" "int""'");
4415 arg2
= static_cast< int >(val2
);
4417 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4418 result
= (int)((wxScrolledWindow
const *)arg1
)->GetScrollPageSize(arg2
);
4419 wxPyEndAllowThreads(__tstate
);
4420 if (PyErr_Occurred()) SWIG_fail
;
4422 resultobj
= SWIG_From_int(static_cast< int >(result
));
4429 SWIGINTERN PyObject
*_wrap_ScrolledWindow_SetScrollPageSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4430 PyObject
*resultobj
= 0;
4431 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
4440 PyObject
* obj0
= 0 ;
4441 PyObject
* obj1
= 0 ;
4442 PyObject
* obj2
= 0 ;
4443 char * kwnames
[] = {
4444 (char *) "self",(char *) "orient",(char *) "pageSize", NULL
4447 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ScrolledWindow_SetScrollPageSize",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
4448 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 | 0 );
4449 if (!SWIG_IsOK(res1
)) {
4450 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_SetScrollPageSize" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
4452 arg1
= reinterpret_cast< wxScrolledWindow
* >(argp1
);
4453 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
4454 if (!SWIG_IsOK(ecode2
)) {
4455 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ScrolledWindow_SetScrollPageSize" "', expected argument " "2"" of type '" "int""'");
4457 arg2
= static_cast< int >(val2
);
4458 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
4459 if (!SWIG_IsOK(ecode3
)) {
4460 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ScrolledWindow_SetScrollPageSize" "', expected argument " "3"" of type '" "int""'");
4462 arg3
= static_cast< int >(val3
);
4464 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4465 (arg1
)->SetScrollPageSize(arg2
,arg3
);
4466 wxPyEndAllowThreads(__tstate
);
4467 if (PyErr_Occurred()) SWIG_fail
;
4469 resultobj
= SWIG_Py_Void();
4476 SWIGINTERN PyObject
*_wrap_ScrolledWindow_SetScrollRate(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4477 PyObject
*resultobj
= 0;
4478 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
4487 PyObject
* obj0
= 0 ;
4488 PyObject
* obj1
= 0 ;
4489 PyObject
* obj2
= 0 ;
4490 char * kwnames
[] = {
4491 (char *) "self",(char *) "xstep",(char *) "ystep", NULL
4494 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ScrolledWindow_SetScrollRate",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
4495 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 | 0 );
4496 if (!SWIG_IsOK(res1
)) {
4497 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_SetScrollRate" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
4499 arg1
= reinterpret_cast< wxScrolledWindow
* >(argp1
);
4500 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
4501 if (!SWIG_IsOK(ecode2
)) {
4502 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ScrolledWindow_SetScrollRate" "', expected argument " "2"" of type '" "int""'");
4504 arg2
= static_cast< int >(val2
);
4505 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
4506 if (!SWIG_IsOK(ecode3
)) {
4507 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ScrolledWindow_SetScrollRate" "', expected argument " "3"" of type '" "int""'");
4509 arg3
= static_cast< int >(val3
);
4511 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4512 (arg1
)->SetScrollRate(arg2
,arg3
);
4513 wxPyEndAllowThreads(__tstate
);
4514 if (PyErr_Occurred()) SWIG_fail
;
4516 resultobj
= SWIG_Py_Void();
4523 SWIGINTERN PyObject
*_wrap_ScrolledWindow_GetScrollPixelsPerUnit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4524 PyObject
*resultobj
= 0;
4525 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
4526 int *arg2
= (int *) 0 ;
4527 int *arg3
= (int *) 0 ;
4531 int res2
= SWIG_TMPOBJ
;
4533 int res3
= SWIG_TMPOBJ
;
4534 PyObject
*swig_obj
[1] ;
4538 if (!args
) SWIG_fail
;
4540 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 | 0 );
4541 if (!SWIG_IsOK(res1
)) {
4542 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_GetScrollPixelsPerUnit" "', expected argument " "1"" of type '" "wxScrolledWindow const *""'");
4544 arg1
= reinterpret_cast< wxScrolledWindow
* >(argp1
);
4546 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4547 ((wxScrolledWindow
const *)arg1
)->GetScrollPixelsPerUnit(arg2
,arg3
);
4548 wxPyEndAllowThreads(__tstate
);
4549 if (PyErr_Occurred()) SWIG_fail
;
4551 resultobj
= SWIG_Py_Void();
4552 if (SWIG_IsTmpObj(res2
)) {
4553 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
4555 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
4556 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
4558 if (SWIG_IsTmpObj(res3
)) {
4559 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
4561 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
4562 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
4570 SWIGINTERN PyObject
*_wrap_ScrolledWindow_EnableScrolling(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4571 PyObject
*resultobj
= 0;
4572 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
4581 PyObject
* obj0
= 0 ;
4582 PyObject
* obj1
= 0 ;
4583 PyObject
* obj2
= 0 ;
4584 char * kwnames
[] = {
4585 (char *) "self",(char *) "x_scrolling",(char *) "y_scrolling", NULL
4588 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ScrolledWindow_EnableScrolling",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
4589 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 | 0 );
4590 if (!SWIG_IsOK(res1
)) {
4591 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_EnableScrolling" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
4593 arg1
= reinterpret_cast< wxScrolledWindow
* >(argp1
);
4594 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
4595 if (!SWIG_IsOK(ecode2
)) {
4596 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ScrolledWindow_EnableScrolling" "', expected argument " "2"" of type '" "bool""'");
4598 arg2
= static_cast< bool >(val2
);
4599 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
4600 if (!SWIG_IsOK(ecode3
)) {
4601 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ScrolledWindow_EnableScrolling" "', expected argument " "3"" of type '" "bool""'");
4603 arg3
= static_cast< bool >(val3
);
4605 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4606 (arg1
)->EnableScrolling(arg2
,arg3
);
4607 wxPyEndAllowThreads(__tstate
);
4608 if (PyErr_Occurred()) SWIG_fail
;
4610 resultobj
= SWIG_Py_Void();
4617 SWIGINTERN PyObject
*_wrap_ScrolledWindow_GetViewStart(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4618 PyObject
*resultobj
= 0;
4619 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
4620 int *arg2
= (int *) 0 ;
4621 int *arg3
= (int *) 0 ;
4625 int res2
= SWIG_TMPOBJ
;
4627 int res3
= SWIG_TMPOBJ
;
4628 PyObject
*swig_obj
[1] ;
4632 if (!args
) SWIG_fail
;
4634 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 | 0 );
4635 if (!SWIG_IsOK(res1
)) {
4636 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_GetViewStart" "', expected argument " "1"" of type '" "wxScrolledWindow const *""'");
4638 arg1
= reinterpret_cast< wxScrolledWindow
* >(argp1
);
4640 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4641 ((wxScrolledWindow
const *)arg1
)->GetViewStart(arg2
,arg3
);
4642 wxPyEndAllowThreads(__tstate
);
4643 if (PyErr_Occurred()) SWIG_fail
;
4645 resultobj
= SWIG_Py_Void();
4646 if (SWIG_IsTmpObj(res2
)) {
4647 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
4649 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
4650 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
4652 if (SWIG_IsTmpObj(res3
)) {
4653 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
4655 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
4656 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
4664 SWIGINTERN PyObject
*_wrap_ScrolledWindow_SetScale(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4665 PyObject
*resultobj
= 0;
4666 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
4675 PyObject
* obj0
= 0 ;
4676 PyObject
* obj1
= 0 ;
4677 PyObject
* obj2
= 0 ;
4678 char * kwnames
[] = {
4679 (char *) "self",(char *) "xs",(char *) "ys", NULL
4682 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ScrolledWindow_SetScale",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
4683 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 | 0 );
4684 if (!SWIG_IsOK(res1
)) {
4685 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_SetScale" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
4687 arg1
= reinterpret_cast< wxScrolledWindow
* >(argp1
);
4688 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
4689 if (!SWIG_IsOK(ecode2
)) {
4690 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ScrolledWindow_SetScale" "', expected argument " "2"" of type '" "double""'");
4692 arg2
= static_cast< double >(val2
);
4693 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
4694 if (!SWIG_IsOK(ecode3
)) {
4695 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ScrolledWindow_SetScale" "', expected argument " "3"" of type '" "double""'");
4697 arg3
= static_cast< double >(val3
);
4699 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4700 (arg1
)->SetScale(arg2
,arg3
);
4701 wxPyEndAllowThreads(__tstate
);
4702 if (PyErr_Occurred()) SWIG_fail
;
4704 resultobj
= SWIG_Py_Void();
4711 SWIGINTERN PyObject
*_wrap_ScrolledWindow_GetScaleX(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4712 PyObject
*resultobj
= 0;
4713 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
4717 PyObject
*swig_obj
[1] ;
4719 if (!args
) SWIG_fail
;
4721 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 | 0 );
4722 if (!SWIG_IsOK(res1
)) {
4723 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_GetScaleX" "', expected argument " "1"" of type '" "wxScrolledWindow const *""'");
4725 arg1
= reinterpret_cast< wxScrolledWindow
* >(argp1
);
4727 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4728 result
= (double)((wxScrolledWindow
const *)arg1
)->GetScaleX();
4729 wxPyEndAllowThreads(__tstate
);
4730 if (PyErr_Occurred()) SWIG_fail
;
4732 resultobj
= SWIG_From_double(static_cast< double >(result
));
4739 SWIGINTERN PyObject
*_wrap_ScrolledWindow_GetScaleY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4740 PyObject
*resultobj
= 0;
4741 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
4745 PyObject
*swig_obj
[1] ;
4747 if (!args
) SWIG_fail
;
4749 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 | 0 );
4750 if (!SWIG_IsOK(res1
)) {
4751 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_GetScaleY" "', expected argument " "1"" of type '" "wxScrolledWindow const *""'");
4753 arg1
= reinterpret_cast< wxScrolledWindow
* >(argp1
);
4755 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4756 result
= (double)((wxScrolledWindow
const *)arg1
)->GetScaleY();
4757 wxPyEndAllowThreads(__tstate
);
4758 if (PyErr_Occurred()) SWIG_fail
;
4760 resultobj
= SWIG_From_double(static_cast< double >(result
));
4767 SWIGINTERN PyObject
*_wrap_ScrolledWindow_CalcScrolledPosition__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
4768 PyObject
*resultobj
= 0;
4769 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
4776 if ((nobjs
< 2) || (nobjs
> 2)) 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
);
4784 if ( ! wxPoint_helper(swig_obj
[1], &arg2
)) SWIG_fail
;
4787 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4788 result
= ((wxScrolledWindow
const *)arg1
)->CalcScrolledPosition((wxPoint
const &)*arg2
);
4789 wxPyEndAllowThreads(__tstate
);
4790 if (PyErr_Occurred()) SWIG_fail
;
4792 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
4799 SWIGINTERN PyObject
*_wrap_ScrolledWindow_CalcScrolledPosition__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
4800 PyObject
*resultobj
= 0;
4801 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
4804 int *arg4
= (int *) 0 ;
4805 int *arg5
= (int *) 0 ;
4813 int res4
= SWIG_TMPOBJ
;
4815 int res5
= SWIG_TMPOBJ
;
4819 if ((nobjs
< 3) || (nobjs
> 3)) SWIG_fail
;
4820 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 | 0 );
4821 if (!SWIG_IsOK(res1
)) {
4822 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_CalcScrolledPosition" "', expected argument " "1"" of type '" "wxScrolledWindow const *""'");
4824 arg1
= reinterpret_cast< wxScrolledWindow
* >(argp1
);
4825 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
4826 if (!SWIG_IsOK(ecode2
)) {
4827 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ScrolledWindow_CalcScrolledPosition" "', expected argument " "2"" of type '" "int""'");
4829 arg2
= static_cast< int >(val2
);
4830 ecode3
= SWIG_AsVal_int(swig_obj
[2], &val3
);
4831 if (!SWIG_IsOK(ecode3
)) {
4832 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ScrolledWindow_CalcScrolledPosition" "', expected argument " "3"" of type '" "int""'");
4834 arg3
= static_cast< int >(val3
);
4836 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4837 ((wxScrolledWindow
const *)arg1
)->CalcScrolledPosition(arg2
,arg3
,arg4
,arg5
);
4838 wxPyEndAllowThreads(__tstate
);
4839 if (PyErr_Occurred()) SWIG_fail
;
4841 resultobj
= SWIG_Py_Void();
4842 if (SWIG_IsTmpObj(res4
)) {
4843 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg4
)));
4845 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
4846 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, new_flags
));
4848 if (SWIG_IsTmpObj(res5
)) {
4849 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg5
)));
4851 int new_flags
= SWIG_IsNewObj(res5
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
4852 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg5
), SWIGTYPE_p_int
, new_flags
));
4860 SWIGINTERN PyObject
*_wrap_ScrolledWindow_CalcScrolledPosition(PyObject
*self
, PyObject
*args
) {
4864 if (!(argc
= SWIG_Python_UnpackTuple(args
,"ScrolledWindow_CalcScrolledPosition",0,3,argv
))) SWIG_fail
;
4867 return _wrap_ScrolledWindow_CalcScrolledPosition__SWIG_0(self
, argc
, argv
);
4870 return _wrap_ScrolledWindow_CalcScrolledPosition__SWIG_1(self
, argc
, argv
);
4874 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'ScrolledWindow_CalcScrolledPosition'");
4879 SWIGINTERN PyObject
*_wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
4880 PyObject
*resultobj
= 0;
4881 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
4888 if ((nobjs
< 2) || (nobjs
> 2)) 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
);
4896 if ( ! wxPoint_helper(swig_obj
[1], &arg2
)) SWIG_fail
;
4899 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4900 result
= ((wxScrolledWindow
const *)arg1
)->CalcUnscrolledPosition((wxPoint
const &)*arg2
);
4901 wxPyEndAllowThreads(__tstate
);
4902 if (PyErr_Occurred()) SWIG_fail
;
4904 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
4911 SWIGINTERN PyObject
*_wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
4912 PyObject
*resultobj
= 0;
4913 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
4916 int *arg4
= (int *) 0 ;
4917 int *arg5
= (int *) 0 ;
4925 int res4
= SWIG_TMPOBJ
;
4927 int res5
= SWIG_TMPOBJ
;
4931 if ((nobjs
< 3) || (nobjs
> 3)) SWIG_fail
;
4932 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 | 0 );
4933 if (!SWIG_IsOK(res1
)) {
4934 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_CalcUnscrolledPosition" "', expected argument " "1"" of type '" "wxScrolledWindow const *""'");
4936 arg1
= reinterpret_cast< wxScrolledWindow
* >(argp1
);
4937 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
4938 if (!SWIG_IsOK(ecode2
)) {
4939 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ScrolledWindow_CalcUnscrolledPosition" "', expected argument " "2"" of type '" "int""'");
4941 arg2
= static_cast< int >(val2
);
4942 ecode3
= SWIG_AsVal_int(swig_obj
[2], &val3
);
4943 if (!SWIG_IsOK(ecode3
)) {
4944 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ScrolledWindow_CalcUnscrolledPosition" "', expected argument " "3"" of type '" "int""'");
4946 arg3
= static_cast< int >(val3
);
4948 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4949 ((wxScrolledWindow
const *)arg1
)->CalcUnscrolledPosition(arg2
,arg3
,arg4
,arg5
);
4950 wxPyEndAllowThreads(__tstate
);
4951 if (PyErr_Occurred()) SWIG_fail
;
4953 resultobj
= SWIG_Py_Void();
4954 if (SWIG_IsTmpObj(res4
)) {
4955 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg4
)));
4957 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
4958 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, new_flags
));
4960 if (SWIG_IsTmpObj(res5
)) {
4961 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg5
)));
4963 int new_flags
= SWIG_IsNewObj(res5
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
4964 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg5
), SWIGTYPE_p_int
, new_flags
));
4972 SWIGINTERN PyObject
*_wrap_ScrolledWindow_CalcUnscrolledPosition(PyObject
*self
, PyObject
*args
) {
4976 if (!(argc
= SWIG_Python_UnpackTuple(args
,"ScrolledWindow_CalcUnscrolledPosition",0,3,argv
))) SWIG_fail
;
4979 return _wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_0(self
, argc
, argv
);
4982 return _wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_1(self
, argc
, argv
);
4986 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'ScrolledWindow_CalcUnscrolledPosition'");
4991 SWIGINTERN PyObject
*_wrap_ScrolledWindow_AdjustScrollbars(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4992 PyObject
*resultobj
= 0;
4993 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
4996 PyObject
*swig_obj
[1] ;
4998 if (!args
) SWIG_fail
;
5000 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 | 0 );
5001 if (!SWIG_IsOK(res1
)) {
5002 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_AdjustScrollbars" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
5004 arg1
= reinterpret_cast< wxScrolledWindow
* >(argp1
);
5006 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5007 (arg1
)->AdjustScrollbars();
5008 wxPyEndAllowThreads(__tstate
);
5009 if (PyErr_Occurred()) SWIG_fail
;
5011 resultobj
= SWIG_Py_Void();
5018 SWIGINTERN PyObject
*_wrap_ScrolledWindow_CalcScrollInc(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5019 PyObject
*resultobj
= 0;
5020 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
5021 wxScrollWinEvent
*arg2
= 0 ;
5027 PyObject
* obj0
= 0 ;
5028 PyObject
* obj1
= 0 ;
5029 char * kwnames
[] = {
5030 (char *) "self",(char *) "event", NULL
5033 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScrolledWindow_CalcScrollInc",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5034 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 | 0 );
5035 if (!SWIG_IsOK(res1
)) {
5036 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_CalcScrollInc" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
5038 arg1
= reinterpret_cast< wxScrolledWindow
* >(argp1
);
5039 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxScrollWinEvent
, 0 );
5040 if (!SWIG_IsOK(res2
)) {
5041 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ScrolledWindow_CalcScrollInc" "', expected argument " "2"" of type '" "wxScrollWinEvent &""'");
5044 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ScrolledWindow_CalcScrollInc" "', expected argument " "2"" of type '" "wxScrollWinEvent &""'");
5046 arg2
= reinterpret_cast< wxScrollWinEvent
* >(argp2
);
5048 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5049 result
= (int)(arg1
)->CalcScrollInc(*arg2
);
5050 wxPyEndAllowThreads(__tstate
);
5051 if (PyErr_Occurred()) SWIG_fail
;
5053 resultobj
= SWIG_From_int(static_cast< int >(result
));
5060 SWIGINTERN PyObject
*_wrap_ScrolledWindow_SetTargetWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5061 PyObject
*resultobj
= 0;
5062 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
5063 wxWindow
*arg2
= (wxWindow
*) 0 ;
5068 PyObject
* obj0
= 0 ;
5069 PyObject
* obj1
= 0 ;
5070 char * kwnames
[] = {
5071 (char *) "self",(char *) "target", NULL
5074 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScrolledWindow_SetTargetWindow",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5075 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 | 0 );
5076 if (!SWIG_IsOK(res1
)) {
5077 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_SetTargetWindow" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
5079 arg1
= reinterpret_cast< wxScrolledWindow
* >(argp1
);
5080 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
5081 if (!SWIG_IsOK(res2
)) {
5082 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ScrolledWindow_SetTargetWindow" "', expected argument " "2"" of type '" "wxWindow *""'");
5084 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
5086 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5087 (arg1
)->SetTargetWindow(arg2
);
5088 wxPyEndAllowThreads(__tstate
);
5089 if (PyErr_Occurred()) SWIG_fail
;
5091 resultobj
= SWIG_Py_Void();
5098 SWIGINTERN PyObject
*_wrap_ScrolledWindow_GetTargetWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5099 PyObject
*resultobj
= 0;
5100 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
5101 wxWindow
*result
= 0 ;
5104 PyObject
*swig_obj
[1] ;
5106 if (!args
) SWIG_fail
;
5108 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 | 0 );
5109 if (!SWIG_IsOK(res1
)) {
5110 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_GetTargetWindow" "', expected argument " "1"" of type '" "wxScrolledWindow const *""'");
5112 arg1
= reinterpret_cast< wxScrolledWindow
* >(argp1
);
5114 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5115 result
= (wxWindow
*)((wxScrolledWindow
const *)arg1
)->GetTargetWindow();
5116 wxPyEndAllowThreads(__tstate
);
5117 if (PyErr_Occurred()) SWIG_fail
;
5120 resultobj
= wxPyMake_wxObject(result
, 0);
5128 SWIGINTERN PyObject
*_wrap_ScrolledWindow_DoPrepareDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5129 PyObject
*resultobj
= 0;
5130 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
5136 PyObject
* obj0
= 0 ;
5137 PyObject
* obj1
= 0 ;
5138 char * kwnames
[] = {
5139 (char *) "self",(char *) "dc", NULL
5142 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScrolledWindow_DoPrepareDC",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5143 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 | 0 );
5144 if (!SWIG_IsOK(res1
)) {
5145 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_DoPrepareDC" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
5147 arg1
= reinterpret_cast< wxScrolledWindow
* >(argp1
);
5148 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDC
, 0 );
5149 if (!SWIG_IsOK(res2
)) {
5150 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ScrolledWindow_DoPrepareDC" "', expected argument " "2"" of type '" "wxDC &""'");
5153 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ScrolledWindow_DoPrepareDC" "', expected argument " "2"" of type '" "wxDC &""'");
5155 arg2
= reinterpret_cast< wxDC
* >(argp2
);
5157 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5158 (arg1
)->DoPrepareDC(*arg2
);
5159 wxPyEndAllowThreads(__tstate
);
5160 if (PyErr_Occurred()) SWIG_fail
;
5162 resultobj
= SWIG_Py_Void();
5169 SWIGINTERN PyObject
*_wrap_ScrolledWindow_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5170 PyObject
*resultobj
= 0;
5171 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
5172 SwigValueWrapper
<wxVisualAttributes
> result
;
5175 PyObject
* obj0
= 0 ;
5176 char * kwnames
[] = {
5177 (char *) "variant", NULL
5180 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:ScrolledWindow_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
5182 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
5183 if (!SWIG_IsOK(ecode1
)) {
5184 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "ScrolledWindow_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
5186 arg1
= static_cast< wxWindowVariant
>(val1
);
5189 if (!wxPyCheckForApp()) SWIG_fail
;
5190 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5191 result
= wxScrolledWindow::GetClassDefaultAttributes(arg1
);
5192 wxPyEndAllowThreads(__tstate
);
5193 if (PyErr_Occurred()) SWIG_fail
;
5195 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
5202 SWIGINTERN PyObject
*ScrolledWindow_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5204 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
5205 SWIG_TypeNewClientData(SWIGTYPE_p_wxScrolledWindow
, SWIG_NewClientData(obj
));
5206 return SWIG_Py_Void();
5209 SWIGINTERN PyObject
*ScrolledWindow_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5210 return SWIG_Python_InitShadowInstance(args
);
5213 SWIGINTERN
int FrameNameStr_set(PyObject
*) {
5214 SWIG_Error(SWIG_AttributeError
,"Variable FrameNameStr is read-only.");
5219 SWIGINTERN PyObject
*FrameNameStr_get(void) {
5220 PyObject
*pyobj
= 0;
5224 pyobj
= PyUnicode_FromWideChar((&wxPyFrameNameStr
)->c_str(), (&wxPyFrameNameStr
)->Len());
5226 pyobj
= PyString_FromStringAndSize((&wxPyFrameNameStr
)->c_str(), (&wxPyFrameNameStr
)->Len());
5233 SWIGINTERN
int DialogNameStr_set(PyObject
*) {
5234 SWIG_Error(SWIG_AttributeError
,"Variable DialogNameStr is read-only.");
5239 SWIGINTERN PyObject
*DialogNameStr_get(void) {
5240 PyObject
*pyobj
= 0;
5244 pyobj
= PyUnicode_FromWideChar((&wxPyDialogNameStr
)->c_str(), (&wxPyDialogNameStr
)->Len());
5246 pyobj
= PyString_FromStringAndSize((&wxPyDialogNameStr
)->c_str(), (&wxPyDialogNameStr
)->Len());
5253 SWIGINTERN
int StatusLineNameStr_set(PyObject
*) {
5254 SWIG_Error(SWIG_AttributeError
,"Variable StatusLineNameStr is read-only.");
5259 SWIGINTERN PyObject
*StatusLineNameStr_get(void) {
5260 PyObject
*pyobj
= 0;
5264 pyobj
= PyUnicode_FromWideChar((&wxPyStatusLineNameStr
)->c_str(), (&wxPyStatusLineNameStr
)->Len());
5266 pyobj
= PyString_FromStringAndSize((&wxPyStatusLineNameStr
)->c_str(), (&wxPyStatusLineNameStr
)->Len());
5273 SWIGINTERN
int ToolBarNameStr_set(PyObject
*) {
5274 SWIG_Error(SWIG_AttributeError
,"Variable ToolBarNameStr is read-only.");
5279 SWIGINTERN PyObject
*ToolBarNameStr_get(void) {
5280 PyObject
*pyobj
= 0;
5284 pyobj
= PyUnicode_FromWideChar((&wxPyToolBarNameStr
)->c_str(), (&wxPyToolBarNameStr
)->Len());
5286 pyobj
= PyString_FromStringAndSize((&wxPyToolBarNameStr
)->c_str(), (&wxPyToolBarNameStr
)->Len());
5293 SWIGINTERN PyObject
*_wrap_TopLevelWindow_Maximize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5294 PyObject
*resultobj
= 0;
5295 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
5296 bool arg2
= (bool) true ;
5301 PyObject
* obj0
= 0 ;
5302 PyObject
* obj1
= 0 ;
5303 char * kwnames
[] = {
5304 (char *) "self",(char *) "maximize", NULL
5307 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:TopLevelWindow_Maximize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5308 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 | 0 );
5309 if (!SWIG_IsOK(res1
)) {
5310 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_Maximize" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5312 arg1
= reinterpret_cast< wxTopLevelWindow
* >(argp1
);
5314 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
5315 if (!SWIG_IsOK(ecode2
)) {
5316 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TopLevelWindow_Maximize" "', expected argument " "2"" of type '" "bool""'");
5318 arg2
= static_cast< bool >(val2
);
5321 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5322 (arg1
)->Maximize(arg2
);
5323 wxPyEndAllowThreads(__tstate
);
5324 if (PyErr_Occurred()) SWIG_fail
;
5326 resultobj
= SWIG_Py_Void();
5333 SWIGINTERN PyObject
*_wrap_TopLevelWindow_Restore(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5334 PyObject
*resultobj
= 0;
5335 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
5338 PyObject
*swig_obj
[1] ;
5340 if (!args
) SWIG_fail
;
5342 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 | 0 );
5343 if (!SWIG_IsOK(res1
)) {
5344 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_Restore" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5346 arg1
= reinterpret_cast< wxTopLevelWindow
* >(argp1
);
5348 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5350 wxPyEndAllowThreads(__tstate
);
5351 if (PyErr_Occurred()) SWIG_fail
;
5353 resultobj
= SWIG_Py_Void();
5360 SWIGINTERN PyObject
*_wrap_TopLevelWindow_Iconize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5361 PyObject
*resultobj
= 0;
5362 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
5363 bool arg2
= (bool) true ;
5368 PyObject
* obj0
= 0 ;
5369 PyObject
* obj1
= 0 ;
5370 char * kwnames
[] = {
5371 (char *) "self",(char *) "iconize", NULL
5374 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:TopLevelWindow_Iconize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5375 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 | 0 );
5376 if (!SWIG_IsOK(res1
)) {
5377 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_Iconize" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5379 arg1
= reinterpret_cast< wxTopLevelWindow
* >(argp1
);
5381 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
5382 if (!SWIG_IsOK(ecode2
)) {
5383 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TopLevelWindow_Iconize" "', expected argument " "2"" of type '" "bool""'");
5385 arg2
= static_cast< bool >(val2
);
5388 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5389 (arg1
)->Iconize(arg2
);
5390 wxPyEndAllowThreads(__tstate
);
5391 if (PyErr_Occurred()) SWIG_fail
;
5393 resultobj
= SWIG_Py_Void();
5400 SWIGINTERN PyObject
*_wrap_TopLevelWindow_IsMaximized(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5401 PyObject
*resultobj
= 0;
5402 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
5406 PyObject
*swig_obj
[1] ;
5408 if (!args
) SWIG_fail
;
5410 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 | 0 );
5411 if (!SWIG_IsOK(res1
)) {
5412 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_IsMaximized" "', expected argument " "1"" of type '" "wxTopLevelWindow const *""'");
5414 arg1
= reinterpret_cast< wxTopLevelWindow
* >(argp1
);
5416 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5417 result
= (bool)((wxTopLevelWindow
const *)arg1
)->IsMaximized();
5418 wxPyEndAllowThreads(__tstate
);
5419 if (PyErr_Occurred()) SWIG_fail
;
5422 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5430 SWIGINTERN PyObject
*_wrap_TopLevelWindow_IsAlwaysMaximized(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5431 PyObject
*resultobj
= 0;
5432 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
5436 PyObject
*swig_obj
[1] ;
5438 if (!args
) SWIG_fail
;
5440 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 | 0 );
5441 if (!SWIG_IsOK(res1
)) {
5442 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_IsAlwaysMaximized" "', expected argument " "1"" of type '" "wxTopLevelWindow const *""'");
5444 arg1
= reinterpret_cast< wxTopLevelWindow
* >(argp1
);
5446 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5447 result
= (bool)((wxTopLevelWindow
const *)arg1
)->IsAlwaysMaximized();
5448 wxPyEndAllowThreads(__tstate
);
5449 if (PyErr_Occurred()) SWIG_fail
;
5452 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5460 SWIGINTERN PyObject
*_wrap_TopLevelWindow_IsIconized(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5461 PyObject
*resultobj
= 0;
5462 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
5466 PyObject
*swig_obj
[1] ;
5468 if (!args
) SWIG_fail
;
5470 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 | 0 );
5471 if (!SWIG_IsOK(res1
)) {
5472 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_IsIconized" "', expected argument " "1"" of type '" "wxTopLevelWindow const *""'");
5474 arg1
= reinterpret_cast< wxTopLevelWindow
* >(argp1
);
5476 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5477 result
= (bool)((wxTopLevelWindow
const *)arg1
)->IsIconized();
5478 wxPyEndAllowThreads(__tstate
);
5479 if (PyErr_Occurred()) SWIG_fail
;
5482 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5490 SWIGINTERN PyObject
*_wrap_TopLevelWindow_GetIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5491 PyObject
*resultobj
= 0;
5492 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
5496 PyObject
*swig_obj
[1] ;
5498 if (!args
) SWIG_fail
;
5500 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 | 0 );
5501 if (!SWIG_IsOK(res1
)) {
5502 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_GetIcon" "', expected argument " "1"" of type '" "wxTopLevelWindow const *""'");
5504 arg1
= reinterpret_cast< wxTopLevelWindow
* >(argp1
);
5506 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5507 result
= ((wxTopLevelWindow
const *)arg1
)->GetIcon();
5508 wxPyEndAllowThreads(__tstate
);
5509 if (PyErr_Occurred()) SWIG_fail
;
5511 resultobj
= SWIG_NewPointerObj((new wxIcon(static_cast< const wxIcon
& >(result
))), SWIGTYPE_p_wxIcon
, SWIG_POINTER_OWN
| 0 );
5518 SWIGINTERN PyObject
*_wrap_TopLevelWindow_SetIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5519 PyObject
*resultobj
= 0;
5520 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
5526 PyObject
* obj0
= 0 ;
5527 PyObject
* obj1
= 0 ;
5528 char * kwnames
[] = {
5529 (char *) "self",(char *) "icon", NULL
5532 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TopLevelWindow_SetIcon",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5533 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 | 0 );
5534 if (!SWIG_IsOK(res1
)) {
5535 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_SetIcon" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5537 arg1
= reinterpret_cast< wxTopLevelWindow
* >(argp1
);
5538 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxIcon
, 0 | 0);
5539 if (!SWIG_IsOK(res2
)) {
5540 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TopLevelWindow_SetIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
5543 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TopLevelWindow_SetIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
5545 arg2
= reinterpret_cast< wxIcon
* >(argp2
);
5547 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5548 (arg1
)->SetIcon((wxIcon
const &)*arg2
);
5549 wxPyEndAllowThreads(__tstate
);
5550 if (PyErr_Occurred()) SWIG_fail
;
5552 resultobj
= SWIG_Py_Void();
5559 SWIGINTERN PyObject
*_wrap_TopLevelWindow_SetIcons(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5560 PyObject
*resultobj
= 0;
5561 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
5562 wxIconBundle
*arg2
= 0 ;
5567 PyObject
* obj0
= 0 ;
5568 PyObject
* obj1
= 0 ;
5569 char * kwnames
[] = {
5570 (char *) "self",(char *) "icons", NULL
5573 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TopLevelWindow_SetIcons",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5574 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 | 0 );
5575 if (!SWIG_IsOK(res1
)) {
5576 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_SetIcons" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5578 arg1
= reinterpret_cast< wxTopLevelWindow
* >(argp1
);
5579 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxIconBundle
, 0 | 0);
5580 if (!SWIG_IsOK(res2
)) {
5581 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TopLevelWindow_SetIcons" "', expected argument " "2"" of type '" "wxIconBundle const &""'");
5584 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TopLevelWindow_SetIcons" "', expected argument " "2"" of type '" "wxIconBundle const &""'");
5586 arg2
= reinterpret_cast< wxIconBundle
* >(argp2
);
5588 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5589 (arg1
)->SetIcons((wxIconBundle
const &)*arg2
);
5590 wxPyEndAllowThreads(__tstate
);
5591 if (PyErr_Occurred()) SWIG_fail
;
5593 resultobj
= SWIG_Py_Void();
5600 SWIGINTERN PyObject
*_wrap_TopLevelWindow_ShowFullScreen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5601 PyObject
*resultobj
= 0;
5602 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
5604 long arg3
= (long) wxFULLSCREEN_ALL
;
5612 PyObject
* obj0
= 0 ;
5613 PyObject
* obj1
= 0 ;
5614 PyObject
* obj2
= 0 ;
5615 char * kwnames
[] = {
5616 (char *) "self",(char *) "show",(char *) "style", NULL
5619 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TopLevelWindow_ShowFullScreen",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
5620 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 | 0 );
5621 if (!SWIG_IsOK(res1
)) {
5622 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_ShowFullScreen" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5624 arg1
= reinterpret_cast< wxTopLevelWindow
* >(argp1
);
5625 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
5626 if (!SWIG_IsOK(ecode2
)) {
5627 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TopLevelWindow_ShowFullScreen" "', expected argument " "2"" of type '" "bool""'");
5629 arg2
= static_cast< bool >(val2
);
5631 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
5632 if (!SWIG_IsOK(ecode3
)) {
5633 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TopLevelWindow_ShowFullScreen" "', expected argument " "3"" of type '" "long""'");
5635 arg3
= static_cast< long >(val3
);
5638 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5639 result
= (bool)(arg1
)->ShowFullScreen(arg2
,arg3
);
5640 wxPyEndAllowThreads(__tstate
);
5641 if (PyErr_Occurred()) SWIG_fail
;
5644 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5652 SWIGINTERN PyObject
*_wrap_TopLevelWindow_IsFullScreen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5653 PyObject
*resultobj
= 0;
5654 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
5658 PyObject
*swig_obj
[1] ;
5660 if (!args
) SWIG_fail
;
5662 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 | 0 );
5663 if (!SWIG_IsOK(res1
)) {
5664 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_IsFullScreen" "', expected argument " "1"" of type '" "wxTopLevelWindow const *""'");
5666 arg1
= reinterpret_cast< wxTopLevelWindow
* >(argp1
);
5668 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5669 result
= (bool)((wxTopLevelWindow
const *)arg1
)->IsFullScreen();
5670 wxPyEndAllowThreads(__tstate
);
5671 if (PyErr_Occurred()) SWIG_fail
;
5674 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5682 SWIGINTERN PyObject
*_wrap_TopLevelWindow_SetTitle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5683 PyObject
*resultobj
= 0;
5684 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
5685 wxString
*arg2
= 0 ;
5688 bool temp2
= false ;
5689 PyObject
* obj0
= 0 ;
5690 PyObject
* obj1
= 0 ;
5691 char * kwnames
[] = {
5692 (char *) "self",(char *) "title", NULL
5695 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TopLevelWindow_SetTitle",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5696 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 | 0 );
5697 if (!SWIG_IsOK(res1
)) {
5698 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_SetTitle" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5700 arg1
= reinterpret_cast< wxTopLevelWindow
* >(argp1
);
5702 arg2
= wxString_in_helper(obj1
);
5703 if (arg2
== NULL
) SWIG_fail
;
5707 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5708 (arg1
)->SetTitle((wxString
const &)*arg2
);
5709 wxPyEndAllowThreads(__tstate
);
5710 if (PyErr_Occurred()) SWIG_fail
;
5712 resultobj
= SWIG_Py_Void();
5727 SWIGINTERN PyObject
*_wrap_TopLevelWindow_GetTitle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5728 PyObject
*resultobj
= 0;
5729 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
5733 PyObject
*swig_obj
[1] ;
5735 if (!args
) SWIG_fail
;
5737 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 | 0 );
5738 if (!SWIG_IsOK(res1
)) {
5739 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_GetTitle" "', expected argument " "1"" of type '" "wxTopLevelWindow const *""'");
5741 arg1
= reinterpret_cast< wxTopLevelWindow
* >(argp1
);
5743 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5744 result
= ((wxTopLevelWindow
const *)arg1
)->GetTitle();
5745 wxPyEndAllowThreads(__tstate
);
5746 if (PyErr_Occurred()) SWIG_fail
;
5750 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
5752 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
5761 SWIGINTERN PyObject
*_wrap_TopLevelWindow_SetShape(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5762 PyObject
*resultobj
= 0;
5763 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
5764 wxRegion
*arg2
= 0 ;
5770 PyObject
* obj0
= 0 ;
5771 PyObject
* obj1
= 0 ;
5772 char * kwnames
[] = {
5773 (char *) "self",(char *) "region", NULL
5776 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TopLevelWindow_SetShape",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5777 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 | 0 );
5778 if (!SWIG_IsOK(res1
)) {
5779 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_SetShape" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5781 arg1
= reinterpret_cast< wxTopLevelWindow
* >(argp1
);
5782 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxRegion
, 0 | 0);
5783 if (!SWIG_IsOK(res2
)) {
5784 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TopLevelWindow_SetShape" "', expected argument " "2"" of type '" "wxRegion const &""'");
5787 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TopLevelWindow_SetShape" "', expected argument " "2"" of type '" "wxRegion const &""'");
5789 arg2
= reinterpret_cast< wxRegion
* >(argp2
);
5791 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5792 result
= (bool)(arg1
)->SetShape((wxRegion
const &)*arg2
);
5793 wxPyEndAllowThreads(__tstate
);
5794 if (PyErr_Occurred()) SWIG_fail
;
5797 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5805 SWIGINTERN PyObject
*_wrap_TopLevelWindow_RequestUserAttention(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5806 PyObject
*resultobj
= 0;
5807 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
5808 int arg2
= (int) wxUSER_ATTENTION_INFO
;
5813 PyObject
* obj0
= 0 ;
5814 PyObject
* obj1
= 0 ;
5815 char * kwnames
[] = {
5816 (char *) "self",(char *) "flags", NULL
5819 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:TopLevelWindow_RequestUserAttention",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5820 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 | 0 );
5821 if (!SWIG_IsOK(res1
)) {
5822 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_RequestUserAttention" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5824 arg1
= reinterpret_cast< wxTopLevelWindow
* >(argp1
);
5826 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
5827 if (!SWIG_IsOK(ecode2
)) {
5828 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TopLevelWindow_RequestUserAttention" "', expected argument " "2"" of type '" "int""'");
5830 arg2
= static_cast< int >(val2
);
5833 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5834 (arg1
)->RequestUserAttention(arg2
);
5835 wxPyEndAllowThreads(__tstate
);
5836 if (PyErr_Occurred()) SWIG_fail
;
5838 resultobj
= SWIG_Py_Void();
5845 SWIGINTERN PyObject
*_wrap_TopLevelWindow_IsActive(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5846 PyObject
*resultobj
= 0;
5847 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
5851 PyObject
*swig_obj
[1] ;
5853 if (!args
) SWIG_fail
;
5855 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 | 0 );
5856 if (!SWIG_IsOK(res1
)) {
5857 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_IsActive" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5859 arg1
= reinterpret_cast< wxTopLevelWindow
* >(argp1
);
5861 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5862 result
= (bool)(arg1
)->IsActive();
5863 wxPyEndAllowThreads(__tstate
);
5864 if (PyErr_Occurred()) SWIG_fail
;
5867 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5875 SWIGINTERN PyObject
*_wrap_TopLevelWindow_MacSetMetalAppearance(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5876 PyObject
*resultobj
= 0;
5877 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
5883 PyObject
* obj0
= 0 ;
5884 PyObject
* obj1
= 0 ;
5885 char * kwnames
[] = {
5886 (char *) "self",(char *) "on", NULL
5889 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TopLevelWindow_MacSetMetalAppearance",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5890 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 | 0 );
5891 if (!SWIG_IsOK(res1
)) {
5892 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_MacSetMetalAppearance" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5894 arg1
= reinterpret_cast< wxTopLevelWindow
* >(argp1
);
5895 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
5896 if (!SWIG_IsOK(ecode2
)) {
5897 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TopLevelWindow_MacSetMetalAppearance" "', expected argument " "2"" of type '" "bool""'");
5899 arg2
= static_cast< bool >(val2
);
5901 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5902 wxTopLevelWindow_MacSetMetalAppearance(arg1
,arg2
);
5903 wxPyEndAllowThreads(__tstate
);
5904 if (PyErr_Occurred()) SWIG_fail
;
5906 resultobj
= SWIG_Py_Void();
5913 SWIGINTERN PyObject
*_wrap_TopLevelWindow_MacGetMetalAppearance(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5914 PyObject
*resultobj
= 0;
5915 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
5919 PyObject
*swig_obj
[1] ;
5921 if (!args
) SWIG_fail
;
5923 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 | 0 );
5924 if (!SWIG_IsOK(res1
)) {
5925 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_MacGetMetalAppearance" "', expected argument " "1"" of type '" "wxTopLevelWindow const *""'");
5927 arg1
= reinterpret_cast< wxTopLevelWindow
* >(argp1
);
5929 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5930 result
= (bool)wxTopLevelWindow_MacGetMetalAppearance((wxTopLevelWindow
const *)arg1
);
5931 wxPyEndAllowThreads(__tstate
);
5932 if (PyErr_Occurred()) SWIG_fail
;
5935 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5943 SWIGINTERN PyObject
*_wrap_TopLevelWindow_CenterOnScreen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5944 PyObject
*resultobj
= 0;
5945 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
5946 int arg2
= (int) wxBOTH
;
5951 PyObject
* obj0
= 0 ;
5952 PyObject
* obj1
= 0 ;
5953 char * kwnames
[] = {
5954 (char *) "self",(char *) "dir", NULL
5957 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:TopLevelWindow_CenterOnScreen",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5958 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 | 0 );
5959 if (!SWIG_IsOK(res1
)) {
5960 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_CenterOnScreen" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5962 arg1
= reinterpret_cast< wxTopLevelWindow
* >(argp1
);
5964 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
5965 if (!SWIG_IsOK(ecode2
)) {
5966 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TopLevelWindow_CenterOnScreen" "', expected argument " "2"" of type '" "int""'");
5968 arg2
= static_cast< int >(val2
);
5971 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5972 (arg1
)->CenterOnScreen(arg2
);
5973 wxPyEndAllowThreads(__tstate
);
5974 if (PyErr_Occurred()) SWIG_fail
;
5976 resultobj
= SWIG_Py_Void();
5983 SWIGINTERN PyObject
*TopLevelWindow_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5985 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
5986 SWIG_TypeNewClientData(SWIGTYPE_p_wxTopLevelWindow
, SWIG_NewClientData(obj
));
5987 return SWIG_Py_Void();
5990 SWIGINTERN PyObject
*_wrap_new_Frame(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5991 PyObject
*resultobj
= 0;
5992 wxWindow
*arg1
= (wxWindow
*) 0 ;
5993 int arg2
= (int) (int)-1 ;
5994 wxString
const &arg3_defvalue
= wxPyEmptyString
;
5995 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
5996 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
5997 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
5998 wxSize
const &arg5_defvalue
= wxDefaultSize
;
5999 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
6000 long arg6
= (long) wxDEFAULT_FRAME_STYLE
;
6001 wxString
const &arg7_defvalue
= wxPyFrameNameStr
;
6002 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
6003 wxFrame
*result
= 0 ;
6008 bool temp3
= false ;
6013 bool temp7
= false ;
6014 PyObject
* obj0
= 0 ;
6015 PyObject
* obj1
= 0 ;
6016 PyObject
* obj2
= 0 ;
6017 PyObject
* obj3
= 0 ;
6018 PyObject
* obj4
= 0 ;
6019 PyObject
* obj5
= 0 ;
6020 PyObject
* obj6
= 0 ;
6021 char * kwnames
[] = {
6022 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
6025 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_Frame",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
6026 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
6027 if (!SWIG_IsOK(res1
)) {
6028 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_Frame" "', expected argument " "1"" of type '" "wxWindow *""'");
6030 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
6032 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
6033 if (!SWIG_IsOK(ecode2
)) {
6034 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Frame" "', expected argument " "2"" of type '" "int""'");
6036 arg2
= static_cast< int >(val2
);
6040 arg3
= wxString_in_helper(obj2
);
6041 if (arg3
== NULL
) SWIG_fail
;
6048 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
6054 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
6058 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
6059 if (!SWIG_IsOK(ecode6
)) {
6060 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_Frame" "', expected argument " "6"" of type '" "long""'");
6062 arg6
= static_cast< long >(val6
);
6066 arg7
= wxString_in_helper(obj6
);
6067 if (arg7
== NULL
) SWIG_fail
;
6072 if (!wxPyCheckForApp()) SWIG_fail
;
6073 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6074 result
= (wxFrame
*)new wxFrame(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
6075 wxPyEndAllowThreads(__tstate
);
6076 if (PyErr_Occurred()) SWIG_fail
;
6078 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFrame
, SWIG_POINTER_NEW
| 0 );
6101 SWIGINTERN PyObject
*_wrap_new_PreFrame(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6102 PyObject
*resultobj
= 0;
6103 wxFrame
*result
= 0 ;
6105 if (!SWIG_Python_UnpackTuple(args
,"new_PreFrame",0,0,0)) SWIG_fail
;
6107 if (!wxPyCheckForApp()) SWIG_fail
;
6108 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6109 result
= (wxFrame
*)new wxFrame();
6110 wxPyEndAllowThreads(__tstate
);
6111 if (PyErr_Occurred()) SWIG_fail
;
6113 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFrame
, SWIG_POINTER_OWN
| 0 );
6120 SWIGINTERN PyObject
*_wrap_Frame_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6121 PyObject
*resultobj
= 0;
6122 wxFrame
*arg1
= (wxFrame
*) 0 ;
6123 wxWindow
*arg2
= (wxWindow
*) 0 ;
6124 int arg3
= (int) (int)-1 ;
6125 wxString
const &arg4_defvalue
= wxPyEmptyString
;
6126 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
6127 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
6128 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
6129 wxSize
const &arg6_defvalue
= wxDefaultSize
;
6130 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
6131 long arg7
= (long) wxDEFAULT_FRAME_STYLE
;
6132 wxString
const &arg8_defvalue
= wxPyFrameNameStr
;
6133 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
6141 bool temp4
= false ;
6146 bool temp8
= false ;
6147 PyObject
* obj0
= 0 ;
6148 PyObject
* obj1
= 0 ;
6149 PyObject
* obj2
= 0 ;
6150 PyObject
* obj3
= 0 ;
6151 PyObject
* obj4
= 0 ;
6152 PyObject
* obj5
= 0 ;
6153 PyObject
* obj6
= 0 ;
6154 PyObject
* obj7
= 0 ;
6155 char * kwnames
[] = {
6156 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
6159 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:Frame_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
6160 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFrame
, 0 | 0 );
6161 if (!SWIG_IsOK(res1
)) {
6162 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Frame_Create" "', expected argument " "1"" of type '" "wxFrame *""'");
6164 arg1
= reinterpret_cast< wxFrame
* >(argp1
);
6165 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
6166 if (!SWIG_IsOK(res2
)) {
6167 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Frame_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
6169 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
6171 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
6172 if (!SWIG_IsOK(ecode3
)) {
6173 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Frame_Create" "', expected argument " "3"" of type '" "int""'");
6175 arg3
= static_cast< int >(val3
);
6179 arg4
= wxString_in_helper(obj3
);
6180 if (arg4
== NULL
) SWIG_fail
;
6187 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
6193 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
6197 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
6198 if (!SWIG_IsOK(ecode7
)) {
6199 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "Frame_Create" "', expected argument " "7"" of type '" "long""'");
6201 arg7
= static_cast< long >(val7
);
6205 arg8
= wxString_in_helper(obj7
);
6206 if (arg8
== NULL
) SWIG_fail
;
6211 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6212 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
6213 wxPyEndAllowThreads(__tstate
);
6214 if (PyErr_Occurred()) SWIG_fail
;
6217 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6241 SWIGINTERN PyObject
*_wrap_Frame_SendSizeEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6242 PyObject
*resultobj
= 0;
6243 wxFrame
*arg1
= (wxFrame
*) 0 ;
6246 PyObject
*swig_obj
[1] ;
6248 if (!args
) SWIG_fail
;
6250 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFrame
, 0 | 0 );
6251 if (!SWIG_IsOK(res1
)) {
6252 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Frame_SendSizeEvent" "', expected argument " "1"" of type '" "wxFrame *""'");
6254 arg1
= reinterpret_cast< wxFrame
* >(argp1
);
6256 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6257 (arg1
)->SendSizeEvent();
6258 wxPyEndAllowThreads(__tstate
);
6259 if (PyErr_Occurred()) SWIG_fail
;
6261 resultobj
= SWIG_Py_Void();
6268 SWIGINTERN PyObject
*_wrap_Frame_SetMenuBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6269 PyObject
*resultobj
= 0;
6270 wxFrame
*arg1
= (wxFrame
*) 0 ;
6271 wxMenuBar
*arg2
= (wxMenuBar
*) 0 ;
6276 PyObject
* obj0
= 0 ;
6277 PyObject
* obj1
= 0 ;
6278 char * kwnames
[] = {
6279 (char *) "self",(char *) "menubar", NULL
6282 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Frame_SetMenuBar",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6283 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFrame
, 0 | 0 );
6284 if (!SWIG_IsOK(res1
)) {
6285 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Frame_SetMenuBar" "', expected argument " "1"" of type '" "wxFrame *""'");
6287 arg1
= reinterpret_cast< wxFrame
* >(argp1
);
6288 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxMenuBar
, 0 | 0 );
6289 if (!SWIG_IsOK(res2
)) {
6290 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Frame_SetMenuBar" "', expected argument " "2"" of type '" "wxMenuBar *""'");
6292 arg2
= reinterpret_cast< wxMenuBar
* >(argp2
);
6294 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6295 (arg1
)->SetMenuBar(arg2
);
6296 wxPyEndAllowThreads(__tstate
);
6297 if (PyErr_Occurred()) SWIG_fail
;
6299 resultobj
= SWIG_Py_Void();
6306 SWIGINTERN PyObject
*_wrap_Frame_GetMenuBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6307 PyObject
*resultobj
= 0;
6308 wxFrame
*arg1
= (wxFrame
*) 0 ;
6309 wxMenuBar
*result
= 0 ;
6312 PyObject
*swig_obj
[1] ;
6314 if (!args
) SWIG_fail
;
6316 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFrame
, 0 | 0 );
6317 if (!SWIG_IsOK(res1
)) {
6318 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Frame_GetMenuBar" "', expected argument " "1"" of type '" "wxFrame const *""'");
6320 arg1
= reinterpret_cast< wxFrame
* >(argp1
);
6322 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6323 result
= (wxMenuBar
*)((wxFrame
const *)arg1
)->GetMenuBar();
6324 wxPyEndAllowThreads(__tstate
);
6325 if (PyErr_Occurred()) SWIG_fail
;
6328 resultobj
= wxPyMake_wxObject(result
, 0);
6336 SWIGINTERN PyObject
*_wrap_Frame_ProcessCommand(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6337 PyObject
*resultobj
= 0;
6338 wxFrame
*arg1
= (wxFrame
*) 0 ;
6345 PyObject
* obj0
= 0 ;
6346 PyObject
* obj1
= 0 ;
6347 char * kwnames
[] = {
6348 (char *) "self",(char *) "winid", NULL
6351 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Frame_ProcessCommand",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6352 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFrame
, 0 | 0 );
6353 if (!SWIG_IsOK(res1
)) {
6354 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Frame_ProcessCommand" "', expected argument " "1"" of type '" "wxFrame *""'");
6356 arg1
= reinterpret_cast< wxFrame
* >(argp1
);
6357 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
6358 if (!SWIG_IsOK(ecode2
)) {
6359 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Frame_ProcessCommand" "', expected argument " "2"" of type '" "int""'");
6361 arg2
= static_cast< int >(val2
);
6363 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6364 result
= (bool)(arg1
)->ProcessCommand(arg2
);
6365 wxPyEndAllowThreads(__tstate
);
6366 if (PyErr_Occurred()) SWIG_fail
;
6369 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6377 SWIGINTERN PyObject
*_wrap_Frame_CreateStatusBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6378 PyObject
*resultobj
= 0;
6379 wxFrame
*arg1
= (wxFrame
*) 0 ;
6380 int arg2
= (int) 1 ;
6381 long arg3
= (long) wxDEFAULT_STATUSBAR_STYLE
;
6382 int arg4
= (int) 0 ;
6383 wxString
const &arg5_defvalue
= wxPyStatusLineNameStr
;
6384 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
6385 wxStatusBar
*result
= 0 ;
6394 bool temp5
= false ;
6395 PyObject
* obj0
= 0 ;
6396 PyObject
* obj1
= 0 ;
6397 PyObject
* obj2
= 0 ;
6398 PyObject
* obj3
= 0 ;
6399 PyObject
* obj4
= 0 ;
6400 char * kwnames
[] = {
6401 (char *) "self",(char *) "number",(char *) "style",(char *) "winid",(char *) "name", NULL
6404 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOO:Frame_CreateStatusBar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
6405 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFrame
, 0 | 0 );
6406 if (!SWIG_IsOK(res1
)) {
6407 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Frame_CreateStatusBar" "', expected argument " "1"" of type '" "wxFrame *""'");
6409 arg1
= reinterpret_cast< wxFrame
* >(argp1
);
6411 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
6412 if (!SWIG_IsOK(ecode2
)) {
6413 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Frame_CreateStatusBar" "', expected argument " "2"" of type '" "int""'");
6415 arg2
= static_cast< int >(val2
);
6418 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
6419 if (!SWIG_IsOK(ecode3
)) {
6420 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Frame_CreateStatusBar" "', expected argument " "3"" of type '" "long""'");
6422 arg3
= static_cast< long >(val3
);
6425 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
6426 if (!SWIG_IsOK(ecode4
)) {
6427 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Frame_CreateStatusBar" "', expected argument " "4"" of type '" "int""'");
6429 arg4
= static_cast< int >(val4
);
6433 arg5
= wxString_in_helper(obj4
);
6434 if (arg5
== NULL
) SWIG_fail
;
6439 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6440 result
= (wxStatusBar
*)(arg1
)->CreateStatusBar(arg2
,arg3
,arg4
,(wxString
const &)*arg5
);
6441 wxPyEndAllowThreads(__tstate
);
6442 if (PyErr_Occurred()) SWIG_fail
;
6445 resultobj
= wxPyMake_wxObject(result
, (bool)0);
6461 SWIGINTERN PyObject
*_wrap_Frame_GetStatusBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6462 PyObject
*resultobj
= 0;
6463 wxFrame
*arg1
= (wxFrame
*) 0 ;
6464 wxStatusBar
*result
= 0 ;
6467 PyObject
*swig_obj
[1] ;
6469 if (!args
) SWIG_fail
;
6471 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFrame
, 0 | 0 );
6472 if (!SWIG_IsOK(res1
)) {
6473 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Frame_GetStatusBar" "', expected argument " "1"" of type '" "wxFrame const *""'");
6475 arg1
= reinterpret_cast< wxFrame
* >(argp1
);
6477 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6478 result
= (wxStatusBar
*)((wxFrame
const *)arg1
)->GetStatusBar();
6479 wxPyEndAllowThreads(__tstate
);
6480 if (PyErr_Occurred()) SWIG_fail
;
6483 resultobj
= wxPyMake_wxObject(result
, (bool)0);
6491 SWIGINTERN PyObject
*_wrap_Frame_SetStatusBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6492 PyObject
*resultobj
= 0;
6493 wxFrame
*arg1
= (wxFrame
*) 0 ;
6494 wxStatusBar
*arg2
= (wxStatusBar
*) 0 ;
6499 PyObject
* obj0
= 0 ;
6500 PyObject
* obj1
= 0 ;
6501 char * kwnames
[] = {
6502 (char *) "self",(char *) "statBar", NULL
6505 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Frame_SetStatusBar",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6506 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFrame
, 0 | 0 );
6507 if (!SWIG_IsOK(res1
)) {
6508 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Frame_SetStatusBar" "', expected argument " "1"" of type '" "wxFrame *""'");
6510 arg1
= reinterpret_cast< wxFrame
* >(argp1
);
6511 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxStatusBar
, 0 | 0 );
6512 if (!SWIG_IsOK(res2
)) {
6513 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Frame_SetStatusBar" "', expected argument " "2"" of type '" "wxStatusBar *""'");
6515 arg2
= reinterpret_cast< wxStatusBar
* >(argp2
);
6517 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6518 (arg1
)->SetStatusBar(arg2
);
6519 wxPyEndAllowThreads(__tstate
);
6520 if (PyErr_Occurred()) SWIG_fail
;
6522 resultobj
= SWIG_Py_Void();
6529 SWIGINTERN PyObject
*_wrap_Frame_SetStatusText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6530 PyObject
*resultobj
= 0;
6531 wxFrame
*arg1
= (wxFrame
*) 0 ;
6532 wxString
*arg2
= 0 ;
6533 int arg3
= (int) 0 ;
6536 bool temp2
= false ;
6539 PyObject
* obj0
= 0 ;
6540 PyObject
* obj1
= 0 ;
6541 PyObject
* obj2
= 0 ;
6542 char * kwnames
[] = {
6543 (char *) "self",(char *) "text",(char *) "number", NULL
6546 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Frame_SetStatusText",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
6547 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFrame
, 0 | 0 );
6548 if (!SWIG_IsOK(res1
)) {
6549 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Frame_SetStatusText" "', expected argument " "1"" of type '" "wxFrame *""'");
6551 arg1
= reinterpret_cast< wxFrame
* >(argp1
);
6553 arg2
= wxString_in_helper(obj1
);
6554 if (arg2
== NULL
) SWIG_fail
;
6558 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
6559 if (!SWIG_IsOK(ecode3
)) {
6560 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Frame_SetStatusText" "', expected argument " "3"" of type '" "int""'");
6562 arg3
= static_cast< int >(val3
);
6565 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6566 (arg1
)->SetStatusText((wxString
const &)*arg2
,arg3
);
6567 wxPyEndAllowThreads(__tstate
);
6568 if (PyErr_Occurred()) SWIG_fail
;
6570 resultobj
= SWIG_Py_Void();
6585 SWIGINTERN PyObject
*_wrap_Frame_SetStatusWidths(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6586 PyObject
*resultobj
= 0;
6587 wxFrame
*arg1
= (wxFrame
*) 0 ;
6589 int *arg3
= (int *) 0 ;
6592 PyObject
* obj0
= 0 ;
6593 PyObject
* obj1
= 0 ;
6594 char * kwnames
[] = {
6595 (char *) "self",(char *) "widths", NULL
6598 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Frame_SetStatusWidths",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6599 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFrame
, 0 | 0 );
6600 if (!SWIG_IsOK(res1
)) {
6601 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Frame_SetStatusWidths" "', expected argument " "1"" of type '" "wxFrame *""'");
6603 arg1
= reinterpret_cast< wxFrame
* >(argp1
);
6605 arg2
= PyList_Size(obj1
);
6606 arg3
= int_LIST_helper(obj1
);
6607 if (arg3
== NULL
) SWIG_fail
;
6610 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6611 (arg1
)->SetStatusWidths(arg2
,(int const *)arg3
);
6612 wxPyEndAllowThreads(__tstate
);
6613 if (PyErr_Occurred()) SWIG_fail
;
6615 resultobj
= SWIG_Py_Void();
6617 if (arg3
) delete [] arg3
;
6622 if (arg3
) delete [] arg3
;
6628 SWIGINTERN PyObject
*_wrap_Frame_PushStatusText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6629 PyObject
*resultobj
= 0;
6630 wxFrame
*arg1
= (wxFrame
*) 0 ;
6631 wxString
*arg2
= 0 ;
6632 int arg3
= (int) 0 ;
6635 bool temp2
= false ;
6638 PyObject
* obj0
= 0 ;
6639 PyObject
* obj1
= 0 ;
6640 PyObject
* obj2
= 0 ;
6641 char * kwnames
[] = {
6642 (char *) "self",(char *) "text",(char *) "number", NULL
6645 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Frame_PushStatusText",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
6646 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFrame
, 0 | 0 );
6647 if (!SWIG_IsOK(res1
)) {
6648 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Frame_PushStatusText" "', expected argument " "1"" of type '" "wxFrame *""'");
6650 arg1
= reinterpret_cast< wxFrame
* >(argp1
);
6652 arg2
= wxString_in_helper(obj1
);
6653 if (arg2
== NULL
) SWIG_fail
;
6657 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
6658 if (!SWIG_IsOK(ecode3
)) {
6659 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Frame_PushStatusText" "', expected argument " "3"" of type '" "int""'");
6661 arg3
= static_cast< int >(val3
);
6664 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6665 (arg1
)->PushStatusText((wxString
const &)*arg2
,arg3
);
6666 wxPyEndAllowThreads(__tstate
);
6667 if (PyErr_Occurred()) SWIG_fail
;
6669 resultobj
= SWIG_Py_Void();
6684 SWIGINTERN PyObject
*_wrap_Frame_PopStatusText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6685 PyObject
*resultobj
= 0;
6686 wxFrame
*arg1
= (wxFrame
*) 0 ;
6687 int arg2
= (int) 0 ;
6692 PyObject
* obj0
= 0 ;
6693 PyObject
* obj1
= 0 ;
6694 char * kwnames
[] = {
6695 (char *) "self",(char *) "number", NULL
6698 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Frame_PopStatusText",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6699 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFrame
, 0 | 0 );
6700 if (!SWIG_IsOK(res1
)) {
6701 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Frame_PopStatusText" "', expected argument " "1"" of type '" "wxFrame *""'");
6703 arg1
= reinterpret_cast< wxFrame
* >(argp1
);
6705 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
6706 if (!SWIG_IsOK(ecode2
)) {
6707 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Frame_PopStatusText" "', expected argument " "2"" of type '" "int""'");
6709 arg2
= static_cast< int >(val2
);
6712 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6713 (arg1
)->PopStatusText(arg2
);
6714 wxPyEndAllowThreads(__tstate
);
6715 if (PyErr_Occurred()) SWIG_fail
;
6717 resultobj
= SWIG_Py_Void();
6724 SWIGINTERN PyObject
*_wrap_Frame_SetStatusBarPane(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6725 PyObject
*resultobj
= 0;
6726 wxFrame
*arg1
= (wxFrame
*) 0 ;
6732 PyObject
* obj0
= 0 ;
6733 PyObject
* obj1
= 0 ;
6734 char * kwnames
[] = {
6735 (char *) "self",(char *) "n", NULL
6738 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Frame_SetStatusBarPane",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6739 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFrame
, 0 | 0 );
6740 if (!SWIG_IsOK(res1
)) {
6741 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Frame_SetStatusBarPane" "', expected argument " "1"" of type '" "wxFrame *""'");
6743 arg1
= reinterpret_cast< wxFrame
* >(argp1
);
6744 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
6745 if (!SWIG_IsOK(ecode2
)) {
6746 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Frame_SetStatusBarPane" "', expected argument " "2"" of type '" "int""'");
6748 arg2
= static_cast< int >(val2
);
6750 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6751 (arg1
)->SetStatusBarPane(arg2
);
6752 wxPyEndAllowThreads(__tstate
);
6753 if (PyErr_Occurred()) SWIG_fail
;
6755 resultobj
= SWIG_Py_Void();
6762 SWIGINTERN PyObject
*_wrap_Frame_GetStatusBarPane(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6763 PyObject
*resultobj
= 0;
6764 wxFrame
*arg1
= (wxFrame
*) 0 ;
6768 PyObject
*swig_obj
[1] ;
6770 if (!args
) SWIG_fail
;
6772 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFrame
, 0 | 0 );
6773 if (!SWIG_IsOK(res1
)) {
6774 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Frame_GetStatusBarPane" "', expected argument " "1"" of type '" "wxFrame const *""'");
6776 arg1
= reinterpret_cast< wxFrame
* >(argp1
);
6778 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6779 result
= (int)((wxFrame
const *)arg1
)->GetStatusBarPane();
6780 wxPyEndAllowThreads(__tstate
);
6781 if (PyErr_Occurred()) SWIG_fail
;
6783 resultobj
= SWIG_From_int(static_cast< int >(result
));
6790 SWIGINTERN PyObject
*_wrap_Frame_CreateToolBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6791 PyObject
*resultobj
= 0;
6792 wxFrame
*arg1
= (wxFrame
*) 0 ;
6793 long arg2
= (long) -1 ;
6794 int arg3
= (int) -1 ;
6795 wxString
const &arg4_defvalue
= wxPyToolBarNameStr
;
6796 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
6797 wxToolBar
*result
= 0 ;
6804 bool temp4
= false ;
6805 PyObject
* obj0
= 0 ;
6806 PyObject
* obj1
= 0 ;
6807 PyObject
* obj2
= 0 ;
6808 PyObject
* obj3
= 0 ;
6809 char * kwnames
[] = {
6810 (char *) "self",(char *) "style",(char *) "winid",(char *) "name", NULL
6813 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOO:Frame_CreateToolBar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
6814 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFrame
, 0 | 0 );
6815 if (!SWIG_IsOK(res1
)) {
6816 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Frame_CreateToolBar" "', expected argument " "1"" of type '" "wxFrame *""'");
6818 arg1
= reinterpret_cast< wxFrame
* >(argp1
);
6820 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
6821 if (!SWIG_IsOK(ecode2
)) {
6822 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Frame_CreateToolBar" "', expected argument " "2"" of type '" "long""'");
6824 arg2
= static_cast< long >(val2
);
6827 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
6828 if (!SWIG_IsOK(ecode3
)) {
6829 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Frame_CreateToolBar" "', expected argument " "3"" of type '" "int""'");
6831 arg3
= static_cast< int >(val3
);
6835 arg4
= wxString_in_helper(obj3
);
6836 if (arg4
== NULL
) SWIG_fail
;
6841 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6842 result
= (wxToolBar
*)(arg1
)->CreateToolBar(arg2
,arg3
,(wxString
const &)*arg4
);
6843 wxPyEndAllowThreads(__tstate
);
6844 if (PyErr_Occurred()) SWIG_fail
;
6847 resultobj
= wxPyMake_wxObject(result
, (bool)0);
6863 SWIGINTERN PyObject
*_wrap_Frame_GetToolBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6864 PyObject
*resultobj
= 0;
6865 wxFrame
*arg1
= (wxFrame
*) 0 ;
6866 wxToolBar
*result
= 0 ;
6869 PyObject
*swig_obj
[1] ;
6871 if (!args
) SWIG_fail
;
6873 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFrame
, 0 | 0 );
6874 if (!SWIG_IsOK(res1
)) {
6875 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Frame_GetToolBar" "', expected argument " "1"" of type '" "wxFrame const *""'");
6877 arg1
= reinterpret_cast< wxFrame
* >(argp1
);
6879 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6880 result
= (wxToolBar
*)((wxFrame
const *)arg1
)->GetToolBar();
6881 wxPyEndAllowThreads(__tstate
);
6882 if (PyErr_Occurred()) SWIG_fail
;
6885 resultobj
= wxPyMake_wxObject(result
, (bool)0);
6893 SWIGINTERN PyObject
*_wrap_Frame_SetToolBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6894 PyObject
*resultobj
= 0;
6895 wxFrame
*arg1
= (wxFrame
*) 0 ;
6896 wxToolBar
*arg2
= (wxToolBar
*) 0 ;
6901 PyObject
* obj0
= 0 ;
6902 PyObject
* obj1
= 0 ;
6903 char * kwnames
[] = {
6904 (char *) "self",(char *) "toolbar", NULL
6907 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Frame_SetToolBar",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6908 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFrame
, 0 | 0 );
6909 if (!SWIG_IsOK(res1
)) {
6910 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Frame_SetToolBar" "', expected argument " "1"" of type '" "wxFrame *""'");
6912 arg1
= reinterpret_cast< wxFrame
* >(argp1
);
6913 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxToolBar
, 0 | 0 );
6914 if (!SWIG_IsOK(res2
)) {
6915 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Frame_SetToolBar" "', expected argument " "2"" of type '" "wxToolBar *""'");
6917 arg2
= reinterpret_cast< wxToolBar
* >(argp2
);
6919 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6920 (arg1
)->SetToolBar(arg2
);
6921 wxPyEndAllowThreads(__tstate
);
6922 if (PyErr_Occurred()) SWIG_fail
;
6924 resultobj
= SWIG_Py_Void();
6931 SWIGINTERN PyObject
*_wrap_Frame_DoGiveHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6932 PyObject
*resultobj
= 0;
6933 wxFrame
*arg1
= (wxFrame
*) 0 ;
6934 wxString
*arg2
= 0 ;
6938 bool temp2
= false ;
6941 PyObject
* obj0
= 0 ;
6942 PyObject
* obj1
= 0 ;
6943 PyObject
* obj2
= 0 ;
6944 char * kwnames
[] = {
6945 (char *) "self",(char *) "text",(char *) "show", NULL
6948 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Frame_DoGiveHelp",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
6949 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFrame
, 0 | 0 );
6950 if (!SWIG_IsOK(res1
)) {
6951 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Frame_DoGiveHelp" "', expected argument " "1"" of type '" "wxFrame *""'");
6953 arg1
= reinterpret_cast< wxFrame
* >(argp1
);
6955 arg2
= wxString_in_helper(obj1
);
6956 if (arg2
== NULL
) SWIG_fail
;
6959 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
6960 if (!SWIG_IsOK(ecode3
)) {
6961 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Frame_DoGiveHelp" "', expected argument " "3"" of type '" "bool""'");
6963 arg3
= static_cast< bool >(val3
);
6965 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6966 (arg1
)->DoGiveHelp((wxString
const &)*arg2
,arg3
);
6967 wxPyEndAllowThreads(__tstate
);
6968 if (PyErr_Occurred()) SWIG_fail
;
6970 resultobj
= SWIG_Py_Void();
6985 SWIGINTERN PyObject
*_wrap_Frame_DoMenuUpdates(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6986 PyObject
*resultobj
= 0;
6987 wxFrame
*arg1
= (wxFrame
*) 0 ;
6988 wxMenu
*arg2
= (wxMenu
*) NULL
;
6993 PyObject
* obj0
= 0 ;
6994 PyObject
* obj1
= 0 ;
6995 char * kwnames
[] = {
6996 (char *) "self",(char *) "menu", NULL
6999 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Frame_DoMenuUpdates",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7000 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFrame
, 0 | 0 );
7001 if (!SWIG_IsOK(res1
)) {
7002 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Frame_DoMenuUpdates" "', expected argument " "1"" of type '" "wxFrame *""'");
7004 arg1
= reinterpret_cast< wxFrame
* >(argp1
);
7006 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxMenu
, 0 | 0 );
7007 if (!SWIG_IsOK(res2
)) {
7008 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Frame_DoMenuUpdates" "', expected argument " "2"" of type '" "wxMenu *""'");
7010 arg2
= reinterpret_cast< wxMenu
* >(argp2
);
7013 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7014 (arg1
)->DoMenuUpdates(arg2
);
7015 wxPyEndAllowThreads(__tstate
);
7016 if (PyErr_Occurred()) SWIG_fail
;
7018 resultobj
= SWIG_Py_Void();
7025 SWIGINTERN PyObject
*_wrap_Frame_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7026 PyObject
*resultobj
= 0;
7027 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
7028 SwigValueWrapper
<wxVisualAttributes
> result
;
7031 PyObject
* obj0
= 0 ;
7032 char * kwnames
[] = {
7033 (char *) "variant", NULL
7036 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Frame_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
7038 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
7039 if (!SWIG_IsOK(ecode1
)) {
7040 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "Frame_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
7042 arg1
= static_cast< wxWindowVariant
>(val1
);
7045 if (!wxPyCheckForApp()) SWIG_fail
;
7046 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7047 result
= wxFrame::GetClassDefaultAttributes(arg1
);
7048 wxPyEndAllowThreads(__tstate
);
7049 if (PyErr_Occurred()) SWIG_fail
;
7051 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
7058 SWIGINTERN PyObject
*Frame_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7060 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
7061 SWIG_TypeNewClientData(SWIGTYPE_p_wxFrame
, SWIG_NewClientData(obj
));
7062 return SWIG_Py_Void();
7065 SWIGINTERN PyObject
*Frame_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7066 return SWIG_Python_InitShadowInstance(args
);
7069 SWIGINTERN PyObject
*_wrap_new_Dialog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7070 PyObject
*resultobj
= 0;
7071 wxWindow
*arg1
= (wxWindow
*) 0 ;
7072 int arg2
= (int) (int)-1 ;
7073 wxString
const &arg3_defvalue
= wxPyEmptyString
;
7074 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
7075 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
7076 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
7077 wxSize
const &arg5_defvalue
= wxDefaultSize
;
7078 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
7079 long arg6
= (long) wxDEFAULT_DIALOG_STYLE
;
7080 wxString
const &arg7_defvalue
= wxPyDialogNameStr
;
7081 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
7082 wxDialog
*result
= 0 ;
7087 bool temp3
= false ;
7092 bool temp7
= false ;
7093 PyObject
* obj0
= 0 ;
7094 PyObject
* obj1
= 0 ;
7095 PyObject
* obj2
= 0 ;
7096 PyObject
* obj3
= 0 ;
7097 PyObject
* obj4
= 0 ;
7098 PyObject
* obj5
= 0 ;
7099 PyObject
* obj6
= 0 ;
7100 char * kwnames
[] = {
7101 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
7104 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_Dialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
7105 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
7106 if (!SWIG_IsOK(res1
)) {
7107 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_Dialog" "', expected argument " "1"" of type '" "wxWindow *""'");
7109 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
7111 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
7112 if (!SWIG_IsOK(ecode2
)) {
7113 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Dialog" "', expected argument " "2"" of type '" "int""'");
7115 arg2
= static_cast< int >(val2
);
7119 arg3
= wxString_in_helper(obj2
);
7120 if (arg3
== NULL
) SWIG_fail
;
7127 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
7133 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
7137 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
7138 if (!SWIG_IsOK(ecode6
)) {
7139 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_Dialog" "', expected argument " "6"" of type '" "long""'");
7141 arg6
= static_cast< long >(val6
);
7145 arg7
= wxString_in_helper(obj6
);
7146 if (arg7
== NULL
) SWIG_fail
;
7151 if (!wxPyCheckForApp()) SWIG_fail
;
7152 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7153 result
= (wxDialog
*)new wxDialog(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
7154 wxPyEndAllowThreads(__tstate
);
7155 if (PyErr_Occurred()) SWIG_fail
;
7157 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDialog
, SWIG_POINTER_NEW
| 0 );
7180 SWIGINTERN PyObject
*_wrap_new_PreDialog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7181 PyObject
*resultobj
= 0;
7182 wxDialog
*result
= 0 ;
7184 if (!SWIG_Python_UnpackTuple(args
,"new_PreDialog",0,0,0)) SWIG_fail
;
7186 if (!wxPyCheckForApp()) SWIG_fail
;
7187 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7188 result
= (wxDialog
*)new wxDialog();
7189 wxPyEndAllowThreads(__tstate
);
7190 if (PyErr_Occurred()) SWIG_fail
;
7192 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDialog
, SWIG_POINTER_OWN
| 0 );
7199 SWIGINTERN PyObject
*_wrap_Dialog_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7200 PyObject
*resultobj
= 0;
7201 wxDialog
*arg1
= (wxDialog
*) 0 ;
7202 wxWindow
*arg2
= (wxWindow
*) 0 ;
7203 int arg3
= (int) (int)-1 ;
7204 wxString
const &arg4_defvalue
= wxPyEmptyString
;
7205 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
7206 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
7207 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
7208 wxSize
const &arg6_defvalue
= wxDefaultSize
;
7209 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
7210 long arg7
= (long) wxDEFAULT_DIALOG_STYLE
;
7211 wxString
const &arg8_defvalue
= wxPyDialogNameStr
;
7212 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
7220 bool temp4
= false ;
7225 bool temp8
= false ;
7226 PyObject
* obj0
= 0 ;
7227 PyObject
* obj1
= 0 ;
7228 PyObject
* obj2
= 0 ;
7229 PyObject
* obj3
= 0 ;
7230 PyObject
* obj4
= 0 ;
7231 PyObject
* obj5
= 0 ;
7232 PyObject
* obj6
= 0 ;
7233 PyObject
* obj7
= 0 ;
7234 char * kwnames
[] = {
7235 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
7238 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:Dialog_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
7239 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDialog
, 0 | 0 );
7240 if (!SWIG_IsOK(res1
)) {
7241 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Dialog_Create" "', expected argument " "1"" of type '" "wxDialog *""'");
7243 arg1
= reinterpret_cast< wxDialog
* >(argp1
);
7244 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
7245 if (!SWIG_IsOK(res2
)) {
7246 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Dialog_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
7248 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
7250 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
7251 if (!SWIG_IsOK(ecode3
)) {
7252 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Dialog_Create" "', expected argument " "3"" of type '" "int""'");
7254 arg3
= static_cast< int >(val3
);
7258 arg4
= wxString_in_helper(obj3
);
7259 if (arg4
== NULL
) SWIG_fail
;
7266 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
7272 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
7276 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
7277 if (!SWIG_IsOK(ecode7
)) {
7278 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "Dialog_Create" "', expected argument " "7"" of type '" "long""'");
7280 arg7
= static_cast< long >(val7
);
7284 arg8
= wxString_in_helper(obj7
);
7285 if (arg8
== NULL
) SWIG_fail
;
7290 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7291 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
7292 wxPyEndAllowThreads(__tstate
);
7293 if (PyErr_Occurred()) SWIG_fail
;
7296 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7320 SWIGINTERN PyObject
*_wrap_Dialog_SetReturnCode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7321 PyObject
*resultobj
= 0;
7322 wxDialog
*arg1
= (wxDialog
*) 0 ;
7328 PyObject
* obj0
= 0 ;
7329 PyObject
* obj1
= 0 ;
7330 char * kwnames
[] = {
7331 (char *) "self",(char *) "returnCode", NULL
7334 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Dialog_SetReturnCode",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7335 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDialog
, 0 | 0 );
7336 if (!SWIG_IsOK(res1
)) {
7337 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Dialog_SetReturnCode" "', expected argument " "1"" of type '" "wxDialog *""'");
7339 arg1
= reinterpret_cast< wxDialog
* >(argp1
);
7340 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
7341 if (!SWIG_IsOK(ecode2
)) {
7342 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Dialog_SetReturnCode" "', expected argument " "2"" of type '" "int""'");
7344 arg2
= static_cast< int >(val2
);
7346 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7347 (arg1
)->SetReturnCode(arg2
);
7348 wxPyEndAllowThreads(__tstate
);
7349 if (PyErr_Occurred()) SWIG_fail
;
7351 resultobj
= SWIG_Py_Void();
7358 SWIGINTERN PyObject
*_wrap_Dialog_GetReturnCode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7359 PyObject
*resultobj
= 0;
7360 wxDialog
*arg1
= (wxDialog
*) 0 ;
7364 PyObject
*swig_obj
[1] ;
7366 if (!args
) SWIG_fail
;
7368 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDialog
, 0 | 0 );
7369 if (!SWIG_IsOK(res1
)) {
7370 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Dialog_GetReturnCode" "', expected argument " "1"" of type '" "wxDialog const *""'");
7372 arg1
= reinterpret_cast< wxDialog
* >(argp1
);
7374 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7375 result
= (int)((wxDialog
const *)arg1
)->GetReturnCode();
7376 wxPyEndAllowThreads(__tstate
);
7377 if (PyErr_Occurred()) SWIG_fail
;
7379 resultobj
= SWIG_From_int(static_cast< int >(result
));
7386 SWIGINTERN PyObject
*_wrap_Dialog_SetAffirmativeId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7387 PyObject
*resultobj
= 0;
7388 wxDialog
*arg1
= (wxDialog
*) 0 ;
7394 PyObject
* obj0
= 0 ;
7395 PyObject
* obj1
= 0 ;
7396 char * kwnames
[] = {
7397 (char *) "self",(char *) "affirmativeId", NULL
7400 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Dialog_SetAffirmativeId",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7401 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDialog
, 0 | 0 );
7402 if (!SWIG_IsOK(res1
)) {
7403 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Dialog_SetAffirmativeId" "', expected argument " "1"" of type '" "wxDialog *""'");
7405 arg1
= reinterpret_cast< wxDialog
* >(argp1
);
7406 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
7407 if (!SWIG_IsOK(ecode2
)) {
7408 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Dialog_SetAffirmativeId" "', expected argument " "2"" of type '" "int""'");
7410 arg2
= static_cast< int >(val2
);
7412 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7413 (arg1
)->SetAffirmativeId(arg2
);
7414 wxPyEndAllowThreads(__tstate
);
7415 if (PyErr_Occurred()) SWIG_fail
;
7417 resultobj
= SWIG_Py_Void();
7424 SWIGINTERN PyObject
*_wrap_Dialog_GetAffirmativeId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7425 PyObject
*resultobj
= 0;
7426 wxDialog
*arg1
= (wxDialog
*) 0 ;
7430 PyObject
*swig_obj
[1] ;
7432 if (!args
) SWIG_fail
;
7434 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDialog
, 0 | 0 );
7435 if (!SWIG_IsOK(res1
)) {
7436 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Dialog_GetAffirmativeId" "', expected argument " "1"" of type '" "wxDialog const *""'");
7438 arg1
= reinterpret_cast< wxDialog
* >(argp1
);
7440 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7441 result
= (int)((wxDialog
const *)arg1
)->GetAffirmativeId();
7442 wxPyEndAllowThreads(__tstate
);
7443 if (PyErr_Occurred()) SWIG_fail
;
7445 resultobj
= SWIG_From_int(static_cast< int >(result
));
7452 SWIGINTERN PyObject
*_wrap_Dialog_SetEscapeId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7453 PyObject
*resultobj
= 0;
7454 wxDialog
*arg1
= (wxDialog
*) 0 ;
7460 PyObject
* obj0
= 0 ;
7461 PyObject
* obj1
= 0 ;
7462 char * kwnames
[] = {
7463 (char *) "self",(char *) "escapeId", NULL
7466 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Dialog_SetEscapeId",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7467 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDialog
, 0 | 0 );
7468 if (!SWIG_IsOK(res1
)) {
7469 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Dialog_SetEscapeId" "', expected argument " "1"" of type '" "wxDialog *""'");
7471 arg1
= reinterpret_cast< wxDialog
* >(argp1
);
7472 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
7473 if (!SWIG_IsOK(ecode2
)) {
7474 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Dialog_SetEscapeId" "', expected argument " "2"" of type '" "int""'");
7476 arg2
= static_cast< int >(val2
);
7478 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7479 (arg1
)->SetEscapeId(arg2
);
7480 wxPyEndAllowThreads(__tstate
);
7481 if (PyErr_Occurred()) SWIG_fail
;
7483 resultobj
= SWIG_Py_Void();
7490 SWIGINTERN PyObject
*_wrap_Dialog_GetEscapeId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7491 PyObject
*resultobj
= 0;
7492 wxDialog
*arg1
= (wxDialog
*) 0 ;
7496 PyObject
*swig_obj
[1] ;
7498 if (!args
) SWIG_fail
;
7500 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDialog
, 0 | 0 );
7501 if (!SWIG_IsOK(res1
)) {
7502 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Dialog_GetEscapeId" "', expected argument " "1"" of type '" "wxDialog const *""'");
7504 arg1
= reinterpret_cast< wxDialog
* >(argp1
);
7506 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7507 result
= (int)((wxDialog
const *)arg1
)->GetEscapeId();
7508 wxPyEndAllowThreads(__tstate
);
7509 if (PyErr_Occurred()) SWIG_fail
;
7511 resultobj
= SWIG_From_int(static_cast< int >(result
));
7518 SWIGINTERN PyObject
*_wrap_Dialog_CreateTextSizer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7519 PyObject
*resultobj
= 0;
7520 wxDialog
*arg1
= (wxDialog
*) 0 ;
7521 wxString
*arg2
= 0 ;
7522 wxSizer
*result
= 0 ;
7525 bool temp2
= false ;
7526 PyObject
* obj0
= 0 ;
7527 PyObject
* obj1
= 0 ;
7528 char * kwnames
[] = {
7529 (char *) "self",(char *) "message", NULL
7532 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Dialog_CreateTextSizer",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7533 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDialog
, 0 | 0 );
7534 if (!SWIG_IsOK(res1
)) {
7535 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Dialog_CreateTextSizer" "', expected argument " "1"" of type '" "wxDialog *""'");
7537 arg1
= reinterpret_cast< wxDialog
* >(argp1
);
7539 arg2
= wxString_in_helper(obj1
);
7540 if (arg2
== NULL
) SWIG_fail
;
7544 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7545 result
= (wxSizer
*)(arg1
)->CreateTextSizer((wxString
const &)*arg2
);
7546 wxPyEndAllowThreads(__tstate
);
7547 if (PyErr_Occurred()) SWIG_fail
;
7550 resultobj
= wxPyMake_wxObject(result
, (bool)0);
7566 SWIGINTERN PyObject
*_wrap_Dialog_CreateButtonSizer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7567 PyObject
*resultobj
= 0;
7568 wxDialog
*arg1
= (wxDialog
*) 0 ;
7570 bool arg3
= (bool) false ;
7571 int arg4
= (int) 0 ;
7572 wxSizer
*result
= 0 ;
7581 PyObject
* obj0
= 0 ;
7582 PyObject
* obj1
= 0 ;
7583 PyObject
* obj2
= 0 ;
7584 PyObject
* obj3
= 0 ;
7585 char * kwnames
[] = {
7586 (char *) "self",(char *) "flags",(char *) "separated",(char *) "distance", NULL
7589 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:Dialog_CreateButtonSizer",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
7590 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDialog
, 0 | 0 );
7591 if (!SWIG_IsOK(res1
)) {
7592 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Dialog_CreateButtonSizer" "', expected argument " "1"" of type '" "wxDialog *""'");
7594 arg1
= reinterpret_cast< wxDialog
* >(argp1
);
7595 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
7596 if (!SWIG_IsOK(ecode2
)) {
7597 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Dialog_CreateButtonSizer" "', expected argument " "2"" of type '" "long""'");
7599 arg2
= static_cast< long >(val2
);
7601 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
7602 if (!SWIG_IsOK(ecode3
)) {
7603 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Dialog_CreateButtonSizer" "', expected argument " "3"" of type '" "bool""'");
7605 arg3
= static_cast< bool >(val3
);
7608 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
7609 if (!SWIG_IsOK(ecode4
)) {
7610 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Dialog_CreateButtonSizer" "', expected argument " "4"" of type '" "int""'");
7612 arg4
= static_cast< int >(val4
);
7615 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7616 result
= (wxSizer
*)(arg1
)->CreateButtonSizer(arg2
,arg3
,arg4
);
7617 wxPyEndAllowThreads(__tstate
);
7618 if (PyErr_Occurred()) SWIG_fail
;
7621 resultobj
= wxPyMake_wxObject(result
, (bool)0);
7629 SWIGINTERN PyObject
*_wrap_Dialog_CreateStdDialogButtonSizer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7630 PyObject
*resultobj
= 0;
7631 wxDialog
*arg1
= (wxDialog
*) 0 ;
7633 wxStdDialogButtonSizer
*result
= 0 ;
7638 PyObject
* obj0
= 0 ;
7639 PyObject
* obj1
= 0 ;
7640 char * kwnames
[] = {
7641 (char *) "self",(char *) "flags", NULL
7644 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Dialog_CreateStdDialogButtonSizer",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7645 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDialog
, 0 | 0 );
7646 if (!SWIG_IsOK(res1
)) {
7647 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Dialog_CreateStdDialogButtonSizer" "', expected argument " "1"" of type '" "wxDialog *""'");
7649 arg1
= reinterpret_cast< wxDialog
* >(argp1
);
7650 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
7651 if (!SWIG_IsOK(ecode2
)) {
7652 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Dialog_CreateStdDialogButtonSizer" "', expected argument " "2"" of type '" "long""'");
7654 arg2
= static_cast< long >(val2
);
7656 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7657 result
= (wxStdDialogButtonSizer
*)(arg1
)->CreateStdDialogButtonSizer(arg2
);
7658 wxPyEndAllowThreads(__tstate
);
7659 if (PyErr_Occurred()) SWIG_fail
;
7661 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxStdDialogButtonSizer
, 0 | 0 );
7668 SWIGINTERN PyObject
*_wrap_Dialog_IsModal(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7669 PyObject
*resultobj
= 0;
7670 wxDialog
*arg1
= (wxDialog
*) 0 ;
7674 PyObject
*swig_obj
[1] ;
7676 if (!args
) SWIG_fail
;
7678 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDialog
, 0 | 0 );
7679 if (!SWIG_IsOK(res1
)) {
7680 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Dialog_IsModal" "', expected argument " "1"" of type '" "wxDialog const *""'");
7682 arg1
= reinterpret_cast< wxDialog
* >(argp1
);
7684 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7685 result
= (bool)((wxDialog
const *)arg1
)->IsModal();
7686 wxPyEndAllowThreads(__tstate
);
7687 if (PyErr_Occurred()) SWIG_fail
;
7690 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7698 SWIGINTERN PyObject
*_wrap_Dialog_ShowModal(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7699 PyObject
*resultobj
= 0;
7700 wxDialog
*arg1
= (wxDialog
*) 0 ;
7704 PyObject
*swig_obj
[1] ;
7706 if (!args
) SWIG_fail
;
7708 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDialog
, 0 | 0 );
7709 if (!SWIG_IsOK(res1
)) {
7710 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Dialog_ShowModal" "', expected argument " "1"" of type '" "wxDialog *""'");
7712 arg1
= reinterpret_cast< wxDialog
* >(argp1
);
7714 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7715 result
= (int)(arg1
)->ShowModal();
7716 wxPyEndAllowThreads(__tstate
);
7717 if (PyErr_Occurred()) SWIG_fail
;
7719 resultobj
= SWIG_From_int(static_cast< int >(result
));
7726 SWIGINTERN PyObject
*_wrap_Dialog_EndModal(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7727 PyObject
*resultobj
= 0;
7728 wxDialog
*arg1
= (wxDialog
*) 0 ;
7734 PyObject
* obj0
= 0 ;
7735 PyObject
* obj1
= 0 ;
7736 char * kwnames
[] = {
7737 (char *) "self",(char *) "retCode", NULL
7740 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Dialog_EndModal",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7741 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDialog
, 0 | 0 );
7742 if (!SWIG_IsOK(res1
)) {
7743 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Dialog_EndModal" "', expected argument " "1"" of type '" "wxDialog *""'");
7745 arg1
= reinterpret_cast< wxDialog
* >(argp1
);
7746 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
7747 if (!SWIG_IsOK(ecode2
)) {
7748 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Dialog_EndModal" "', expected argument " "2"" of type '" "int""'");
7750 arg2
= static_cast< int >(val2
);
7752 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7753 (arg1
)->EndModal(arg2
);
7754 wxPyEndAllowThreads(__tstate
);
7755 if (PyErr_Occurred()) SWIG_fail
;
7757 resultobj
= SWIG_Py_Void();
7764 SWIGINTERN PyObject
*_wrap_Dialog_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7765 PyObject
*resultobj
= 0;
7766 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
7767 SwigValueWrapper
<wxVisualAttributes
> result
;
7770 PyObject
* obj0
= 0 ;
7771 char * kwnames
[] = {
7772 (char *) "variant", NULL
7775 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Dialog_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
7777 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
7778 if (!SWIG_IsOK(ecode1
)) {
7779 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "Dialog_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
7781 arg1
= static_cast< wxWindowVariant
>(val1
);
7784 if (!wxPyCheckForApp()) SWIG_fail
;
7785 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7786 result
= wxDialog::GetClassDefaultAttributes(arg1
);
7787 wxPyEndAllowThreads(__tstate
);
7788 if (PyErr_Occurred()) SWIG_fail
;
7790 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
7797 SWIGINTERN PyObject
*Dialog_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7799 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
7800 SWIG_TypeNewClientData(SWIGTYPE_p_wxDialog
, SWIG_NewClientData(obj
));
7801 return SWIG_Py_Void();
7804 SWIGINTERN PyObject
*Dialog_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7805 return SWIG_Python_InitShadowInstance(args
);
7808 SWIGINTERN PyObject
*_wrap_new_MiniFrame(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7809 PyObject
*resultobj
= 0;
7810 wxWindow
*arg1
= (wxWindow
*) 0 ;
7811 int arg2
= (int) (int)-1 ;
7812 wxString
const &arg3_defvalue
= wxPyEmptyString
;
7813 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
7814 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
7815 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
7816 wxSize
const &arg5_defvalue
= wxDefaultSize
;
7817 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
7818 long arg6
= (long) wxDEFAULT_FRAME_STYLE
;
7819 wxString
const &arg7_defvalue
= wxPyFrameNameStr
;
7820 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
7821 wxMiniFrame
*result
= 0 ;
7826 bool temp3
= false ;
7831 bool temp7
= false ;
7832 PyObject
* obj0
= 0 ;
7833 PyObject
* obj1
= 0 ;
7834 PyObject
* obj2
= 0 ;
7835 PyObject
* obj3
= 0 ;
7836 PyObject
* obj4
= 0 ;
7837 PyObject
* obj5
= 0 ;
7838 PyObject
* obj6
= 0 ;
7839 char * kwnames
[] = {
7840 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
7843 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_MiniFrame",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
7844 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
7845 if (!SWIG_IsOK(res1
)) {
7846 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_MiniFrame" "', expected argument " "1"" of type '" "wxWindow *""'");
7848 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
7850 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
7851 if (!SWIG_IsOK(ecode2
)) {
7852 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_MiniFrame" "', expected argument " "2"" of type '" "int""'");
7854 arg2
= static_cast< int >(val2
);
7858 arg3
= wxString_in_helper(obj2
);
7859 if (arg3
== NULL
) SWIG_fail
;
7866 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
7872 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
7876 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
7877 if (!SWIG_IsOK(ecode6
)) {
7878 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_MiniFrame" "', expected argument " "6"" of type '" "long""'");
7880 arg6
= static_cast< long >(val6
);
7884 arg7
= wxString_in_helper(obj6
);
7885 if (arg7
== NULL
) SWIG_fail
;
7890 if (!wxPyCheckForApp()) SWIG_fail
;
7891 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7892 result
= (wxMiniFrame
*)new wxMiniFrame(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
7893 wxPyEndAllowThreads(__tstate
);
7894 if (PyErr_Occurred()) SWIG_fail
;
7896 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMiniFrame
, SWIG_POINTER_NEW
| 0 );
7919 SWIGINTERN PyObject
*_wrap_new_PreMiniFrame(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7920 PyObject
*resultobj
= 0;
7921 wxMiniFrame
*result
= 0 ;
7923 if (!SWIG_Python_UnpackTuple(args
,"new_PreMiniFrame",0,0,0)) SWIG_fail
;
7925 if (!wxPyCheckForApp()) SWIG_fail
;
7926 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7927 result
= (wxMiniFrame
*)new wxMiniFrame();
7928 wxPyEndAllowThreads(__tstate
);
7929 if (PyErr_Occurred()) SWIG_fail
;
7931 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMiniFrame
, SWIG_POINTER_OWN
| 0 );
7938 SWIGINTERN PyObject
*_wrap_MiniFrame_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7939 PyObject
*resultobj
= 0;
7940 wxMiniFrame
*arg1
= (wxMiniFrame
*) 0 ;
7941 wxWindow
*arg2
= (wxWindow
*) 0 ;
7942 int arg3
= (int) (int)-1 ;
7943 wxString
const &arg4_defvalue
= wxPyEmptyString
;
7944 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
7945 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
7946 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
7947 wxSize
const &arg6_defvalue
= wxDefaultSize
;
7948 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
7949 long arg7
= (long) wxDEFAULT_FRAME_STYLE
;
7950 wxString
const &arg8_defvalue
= wxPyFrameNameStr
;
7951 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
7959 bool temp4
= false ;
7964 bool temp8
= false ;
7965 PyObject
* obj0
= 0 ;
7966 PyObject
* obj1
= 0 ;
7967 PyObject
* obj2
= 0 ;
7968 PyObject
* obj3
= 0 ;
7969 PyObject
* obj4
= 0 ;
7970 PyObject
* obj5
= 0 ;
7971 PyObject
* obj6
= 0 ;
7972 PyObject
* obj7
= 0 ;
7973 char * kwnames
[] = {
7974 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
7977 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:MiniFrame_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
7978 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMiniFrame
, 0 | 0 );
7979 if (!SWIG_IsOK(res1
)) {
7980 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MiniFrame_Create" "', expected argument " "1"" of type '" "wxMiniFrame *""'");
7982 arg1
= reinterpret_cast< wxMiniFrame
* >(argp1
);
7983 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
7984 if (!SWIG_IsOK(res2
)) {
7985 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "MiniFrame_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
7987 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
7989 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
7990 if (!SWIG_IsOK(ecode3
)) {
7991 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "MiniFrame_Create" "', expected argument " "3"" of type '" "int""'");
7993 arg3
= static_cast< int >(val3
);
7997 arg4
= wxString_in_helper(obj3
);
7998 if (arg4
== NULL
) SWIG_fail
;
8005 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
8011 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
8015 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
8016 if (!SWIG_IsOK(ecode7
)) {
8017 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "MiniFrame_Create" "', expected argument " "7"" of type '" "long""'");
8019 arg7
= static_cast< long >(val7
);
8023 arg8
= wxString_in_helper(obj7
);
8024 if (arg8
== NULL
) SWIG_fail
;
8029 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8030 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
8031 wxPyEndAllowThreads(__tstate
);
8032 if (PyErr_Occurred()) SWIG_fail
;
8035 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8059 SWIGINTERN PyObject
*MiniFrame_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8061 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
8062 SWIG_TypeNewClientData(SWIGTYPE_p_wxMiniFrame
, SWIG_NewClientData(obj
));
8063 return SWIG_Py_Void();
8066 SWIGINTERN PyObject
*MiniFrame_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8067 return SWIG_Python_InitShadowInstance(args
);
8070 SWIGINTERN PyObject
*_wrap_new_SplashScreenWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8071 PyObject
*resultobj
= 0;
8072 wxBitmap
*arg1
= 0 ;
8073 wxWindow
*arg2
= (wxWindow
*) 0 ;
8075 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
8076 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
8077 wxSize
const &arg5_defvalue
= wxDefaultSize
;
8078 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
8079 long arg6
= (long) wxNO_BORDER
;
8080 wxSplashScreenWindow
*result
= 0 ;
8091 PyObject
* obj0
= 0 ;
8092 PyObject
* obj1
= 0 ;
8093 PyObject
* obj2
= 0 ;
8094 PyObject
* obj3
= 0 ;
8095 PyObject
* obj4
= 0 ;
8096 PyObject
* obj5
= 0 ;
8097 char * kwnames
[] = {
8098 (char *) "bitmap",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
8101 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOO:new_SplashScreenWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
8102 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxBitmap
, 0 | 0);
8103 if (!SWIG_IsOK(res1
)) {
8104 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_SplashScreenWindow" "', expected argument " "1"" of type '" "wxBitmap const &""'");
8107 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_SplashScreenWindow" "', expected argument " "1"" of type '" "wxBitmap const &""'");
8109 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
8110 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
8111 if (!SWIG_IsOK(res2
)) {
8112 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_SplashScreenWindow" "', expected argument " "2"" of type '" "wxWindow *""'");
8114 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
8115 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
8116 if (!SWIG_IsOK(ecode3
)) {
8117 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_SplashScreenWindow" "', expected argument " "3"" of type '" "int""'");
8119 arg3
= static_cast< int >(val3
);
8123 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
8129 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
8133 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
8134 if (!SWIG_IsOK(ecode6
)) {
8135 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_SplashScreenWindow" "', expected argument " "6"" of type '" "long""'");
8137 arg6
= static_cast< long >(val6
);
8140 if (!wxPyCheckForApp()) SWIG_fail
;
8141 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8142 result
= (wxSplashScreenWindow
*)new wxSplashScreenWindow((wxBitmap
const &)*arg1
,arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
);
8143 wxPyEndAllowThreads(__tstate
);
8144 if (PyErr_Occurred()) SWIG_fail
;
8146 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSplashScreenWindow
, SWIG_POINTER_NEW
| 0 );
8153 SWIGINTERN PyObject
*_wrap_SplashScreenWindow_SetBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8154 PyObject
*resultobj
= 0;
8155 wxSplashScreenWindow
*arg1
= (wxSplashScreenWindow
*) 0 ;
8156 wxBitmap
*arg2
= 0 ;
8161 PyObject
* obj0
= 0 ;
8162 PyObject
* obj1
= 0 ;
8163 char * kwnames
[] = {
8164 (char *) "self",(char *) "bitmap", NULL
8167 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplashScreenWindow_SetBitmap",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
8168 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSplashScreenWindow
, 0 | 0 );
8169 if (!SWIG_IsOK(res1
)) {
8170 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplashScreenWindow_SetBitmap" "', expected argument " "1"" of type '" "wxSplashScreenWindow *""'");
8172 arg1
= reinterpret_cast< wxSplashScreenWindow
* >(argp1
);
8173 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
8174 if (!SWIG_IsOK(res2
)) {
8175 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "SplashScreenWindow_SetBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
8178 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "SplashScreenWindow_SetBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
8180 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
8182 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8183 (arg1
)->SetBitmap((wxBitmap
const &)*arg2
);
8184 wxPyEndAllowThreads(__tstate
);
8185 if (PyErr_Occurred()) SWIG_fail
;
8187 resultobj
= SWIG_Py_Void();
8194 SWIGINTERN PyObject
*_wrap_SplashScreenWindow_GetBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8195 PyObject
*resultobj
= 0;
8196 wxSplashScreenWindow
*arg1
= (wxSplashScreenWindow
*) 0 ;
8197 wxBitmap
*result
= 0 ;
8200 PyObject
*swig_obj
[1] ;
8202 if (!args
) SWIG_fail
;
8204 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplashScreenWindow
, 0 | 0 );
8205 if (!SWIG_IsOK(res1
)) {
8206 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplashScreenWindow_GetBitmap" "', expected argument " "1"" of type '" "wxSplashScreenWindow *""'");
8208 arg1
= reinterpret_cast< wxSplashScreenWindow
* >(argp1
);
8210 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8212 wxBitmap
&_result_ref
= (arg1
)->GetBitmap();
8213 result
= (wxBitmap
*) &_result_ref
;
8215 wxPyEndAllowThreads(__tstate
);
8216 if (PyErr_Occurred()) SWIG_fail
;
8219 wxBitmap
* resultptr
= new wxBitmap(*result
);
8220 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
8228 SWIGINTERN PyObject
*SplashScreenWindow_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8230 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
8231 SWIG_TypeNewClientData(SWIGTYPE_p_wxSplashScreenWindow
, SWIG_NewClientData(obj
));
8232 return SWIG_Py_Void();
8235 SWIGINTERN PyObject
*SplashScreenWindow_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8236 return SWIG_Python_InitShadowInstance(args
);
8239 SWIGINTERN PyObject
*_wrap_new_SplashScreen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8240 PyObject
*resultobj
= 0;
8241 wxBitmap
*arg1
= 0 ;
8244 wxWindow
*arg4
= (wxWindow
*) 0 ;
8245 int arg5
= (int) -1 ;
8246 wxPoint
const &arg6_defvalue
= wxDefaultPosition
;
8247 wxPoint
*arg6
= (wxPoint
*) &arg6_defvalue
;
8248 wxSize
const &arg7_defvalue
= wxDefaultSize
;
8249 wxSize
*arg7
= (wxSize
*) &arg7_defvalue
;
8250 long arg8
= (long) wxSIMPLE_BORDER
|wxFRAME_NO_TASKBAR
|wxSTAY_ON_TOP
;
8251 wxSplashScreen
*result
= 0 ;
8266 PyObject
* obj0
= 0 ;
8267 PyObject
* obj1
= 0 ;
8268 PyObject
* obj2
= 0 ;
8269 PyObject
* obj3
= 0 ;
8270 PyObject
* obj4
= 0 ;
8271 PyObject
* obj5
= 0 ;
8272 PyObject
* obj6
= 0 ;
8273 PyObject
* obj7
= 0 ;
8274 char * kwnames
[] = {
8275 (char *) "bitmap",(char *) "splashStyle",(char *) "milliseconds",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
8278 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOOO:new_SplashScreen",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
8279 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxBitmap
, 0 | 0);
8280 if (!SWIG_IsOK(res1
)) {
8281 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_SplashScreen" "', expected argument " "1"" of type '" "wxBitmap const &""'");
8284 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_SplashScreen" "', expected argument " "1"" of type '" "wxBitmap const &""'");
8286 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
8287 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
8288 if (!SWIG_IsOK(ecode2
)) {
8289 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_SplashScreen" "', expected argument " "2"" of type '" "long""'");
8291 arg2
= static_cast< long >(val2
);
8292 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
8293 if (!SWIG_IsOK(ecode3
)) {
8294 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_SplashScreen" "', expected argument " "3"" of type '" "int""'");
8296 arg3
= static_cast< int >(val3
);
8297 res4
= SWIG_ConvertPtr(obj3
, &argp4
,SWIGTYPE_p_wxWindow
, 0 | 0 );
8298 if (!SWIG_IsOK(res4
)) {
8299 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "new_SplashScreen" "', expected argument " "4"" of type '" "wxWindow *""'");
8301 arg4
= reinterpret_cast< wxWindow
* >(argp4
);
8303 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
8304 if (!SWIG_IsOK(ecode5
)) {
8305 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_SplashScreen" "', expected argument " "5"" of type '" "int""'");
8307 arg5
= static_cast< int >(val5
);
8312 if ( ! wxPoint_helper(obj5
, &arg6
)) SWIG_fail
;
8318 if ( ! wxSize_helper(obj6
, &arg7
)) SWIG_fail
;
8322 ecode8
= SWIG_AsVal_long(obj7
, &val8
);
8323 if (!SWIG_IsOK(ecode8
)) {
8324 SWIG_exception_fail(SWIG_ArgError(ecode8
), "in method '" "new_SplashScreen" "', expected argument " "8"" of type '" "long""'");
8326 arg8
= static_cast< long >(val8
);
8329 if (!wxPyCheckForApp()) SWIG_fail
;
8330 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8331 result
= (wxSplashScreen
*)new wxSplashScreen((wxBitmap
const &)*arg1
,arg2
,arg3
,arg4
,arg5
,(wxPoint
const &)*arg6
,(wxSize
const &)*arg7
,arg8
);
8332 wxPyEndAllowThreads(__tstate
);
8333 if (PyErr_Occurred()) SWIG_fail
;
8335 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSplashScreen
, SWIG_POINTER_NEW
| 0 );
8342 SWIGINTERN PyObject
*_wrap_SplashScreen_GetSplashStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8343 PyObject
*resultobj
= 0;
8344 wxSplashScreen
*arg1
= (wxSplashScreen
*) 0 ;
8348 PyObject
*swig_obj
[1] ;
8350 if (!args
) SWIG_fail
;
8352 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplashScreen
, 0 | 0 );
8353 if (!SWIG_IsOK(res1
)) {
8354 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplashScreen_GetSplashStyle" "', expected argument " "1"" of type '" "wxSplashScreen const *""'");
8356 arg1
= reinterpret_cast< wxSplashScreen
* >(argp1
);
8358 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8359 result
= (long)((wxSplashScreen
const *)arg1
)->GetSplashStyle();
8360 wxPyEndAllowThreads(__tstate
);
8361 if (PyErr_Occurred()) SWIG_fail
;
8363 resultobj
= SWIG_From_long(static_cast< long >(result
));
8370 SWIGINTERN PyObject
*_wrap_SplashScreen_GetSplashWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8371 PyObject
*resultobj
= 0;
8372 wxSplashScreen
*arg1
= (wxSplashScreen
*) 0 ;
8373 wxSplashScreenWindow
*result
= 0 ;
8376 PyObject
*swig_obj
[1] ;
8378 if (!args
) SWIG_fail
;
8380 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplashScreen
, 0 | 0 );
8381 if (!SWIG_IsOK(res1
)) {
8382 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplashScreen_GetSplashWindow" "', expected argument " "1"" of type '" "wxSplashScreen const *""'");
8384 arg1
= reinterpret_cast< wxSplashScreen
* >(argp1
);
8386 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8387 result
= (wxSplashScreenWindow
*)((wxSplashScreen
const *)arg1
)->GetSplashWindow();
8388 wxPyEndAllowThreads(__tstate
);
8389 if (PyErr_Occurred()) SWIG_fail
;
8391 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSplashScreenWindow
, 0 | 0 );
8398 SWIGINTERN PyObject
*_wrap_SplashScreen_GetTimeout(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8399 PyObject
*resultobj
= 0;
8400 wxSplashScreen
*arg1
= (wxSplashScreen
*) 0 ;
8404 PyObject
*swig_obj
[1] ;
8406 if (!args
) SWIG_fail
;
8408 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplashScreen
, 0 | 0 );
8409 if (!SWIG_IsOK(res1
)) {
8410 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplashScreen_GetTimeout" "', expected argument " "1"" of type '" "wxSplashScreen const *""'");
8412 arg1
= reinterpret_cast< wxSplashScreen
* >(argp1
);
8414 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8415 result
= (int)((wxSplashScreen
const *)arg1
)->GetTimeout();
8416 wxPyEndAllowThreads(__tstate
);
8417 if (PyErr_Occurred()) SWIG_fail
;
8419 resultobj
= SWIG_From_int(static_cast< int >(result
));
8426 SWIGINTERN PyObject
*SplashScreen_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8428 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
8429 SWIG_TypeNewClientData(SWIGTYPE_p_wxSplashScreen
, SWIG_NewClientData(obj
));
8430 return SWIG_Py_Void();
8433 SWIGINTERN PyObject
*SplashScreen_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8434 return SWIG_Python_InitShadowInstance(args
);
8437 SWIGINTERN PyObject
*_wrap_new_StatusBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8438 PyObject
*resultobj
= 0;
8439 wxWindow
*arg1
= (wxWindow
*) 0 ;
8440 int arg2
= (int) -1 ;
8441 long arg3
= (long) wxDEFAULT_STATUSBAR_STYLE
;
8442 wxString
const &arg4_defvalue
= wxPyStatusLineNameStr
;
8443 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
8444 wxStatusBar
*result
= 0 ;
8451 bool temp4
= false ;
8452 PyObject
* obj0
= 0 ;
8453 PyObject
* obj1
= 0 ;
8454 PyObject
* obj2
= 0 ;
8455 PyObject
* obj3
= 0 ;
8456 char * kwnames
[] = {
8457 (char *) "parent",(char *) "id",(char *) "style",(char *) "name", NULL
8460 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOO:new_StatusBar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
8461 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
8462 if (!SWIG_IsOK(res1
)) {
8463 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_StatusBar" "', expected argument " "1"" of type '" "wxWindow *""'");
8465 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
8467 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
8468 if (!SWIG_IsOK(ecode2
)) {
8469 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_StatusBar" "', expected argument " "2"" of type '" "int""'");
8471 arg2
= static_cast< int >(val2
);
8474 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
8475 if (!SWIG_IsOK(ecode3
)) {
8476 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_StatusBar" "', expected argument " "3"" of type '" "long""'");
8478 arg3
= static_cast< long >(val3
);
8482 arg4
= wxString_in_helper(obj3
);
8483 if (arg4
== NULL
) SWIG_fail
;
8488 if (!wxPyCheckForApp()) SWIG_fail
;
8489 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8490 result
= (wxStatusBar
*)new wxStatusBar(arg1
,arg2
,arg3
,(wxString
const &)*arg4
);
8491 wxPyEndAllowThreads(__tstate
);
8492 if (PyErr_Occurred()) SWIG_fail
;
8494 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxStatusBar
, SWIG_POINTER_NEW
| 0 );
8509 SWIGINTERN PyObject
*_wrap_new_PreStatusBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8510 PyObject
*resultobj
= 0;
8511 wxStatusBar
*result
= 0 ;
8513 if (!SWIG_Python_UnpackTuple(args
,"new_PreStatusBar",0,0,0)) SWIG_fail
;
8515 if (!wxPyCheckForApp()) SWIG_fail
;
8516 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8517 result
= (wxStatusBar
*)new wxStatusBar();
8518 wxPyEndAllowThreads(__tstate
);
8519 if (PyErr_Occurred()) SWIG_fail
;
8521 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxStatusBar
, SWIG_POINTER_OWN
| 0 );
8528 SWIGINTERN PyObject
*_wrap_StatusBar_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8529 PyObject
*resultobj
= 0;
8530 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
8531 wxWindow
*arg2
= (wxWindow
*) 0 ;
8532 int arg3
= (int) -1 ;
8533 long arg4
= (long) wxST_SIZEGRIP
;
8534 wxString
const &arg5_defvalue
= wxPyStatusLineNameStr
;
8535 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
8545 bool temp5
= false ;
8546 PyObject
* obj0
= 0 ;
8547 PyObject
* obj1
= 0 ;
8548 PyObject
* obj2
= 0 ;
8549 PyObject
* obj3
= 0 ;
8550 PyObject
* obj4
= 0 ;
8551 char * kwnames
[] = {
8552 (char *) "self",(char *) "parent",(char *) "id",(char *) "style",(char *) "name", NULL
8555 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:StatusBar_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
8556 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStatusBar
, 0 | 0 );
8557 if (!SWIG_IsOK(res1
)) {
8558 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StatusBar_Create" "', expected argument " "1"" of type '" "wxStatusBar *""'");
8560 arg1
= reinterpret_cast< wxStatusBar
* >(argp1
);
8561 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
8562 if (!SWIG_IsOK(res2
)) {
8563 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "StatusBar_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
8565 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
8567 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
8568 if (!SWIG_IsOK(ecode3
)) {
8569 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "StatusBar_Create" "', expected argument " "3"" of type '" "int""'");
8571 arg3
= static_cast< int >(val3
);
8574 ecode4
= SWIG_AsVal_long(obj3
, &val4
);
8575 if (!SWIG_IsOK(ecode4
)) {
8576 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "StatusBar_Create" "', expected argument " "4"" of type '" "long""'");
8578 arg4
= static_cast< long >(val4
);
8582 arg5
= wxString_in_helper(obj4
);
8583 if (arg5
== NULL
) SWIG_fail
;
8588 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8589 result
= (bool)(arg1
)->Create(arg2
,arg3
,arg4
,(wxString
const &)*arg5
);
8590 wxPyEndAllowThreads(__tstate
);
8591 if (PyErr_Occurred()) SWIG_fail
;
8594 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8610 SWIGINTERN PyObject
*_wrap_StatusBar_SetFieldsCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8611 PyObject
*resultobj
= 0;
8612 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
8613 int arg2
= (int) 1 ;
8618 PyObject
* obj0
= 0 ;
8619 PyObject
* obj1
= 0 ;
8620 char * kwnames
[] = {
8621 (char *) "self",(char *) "number", NULL
8624 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:StatusBar_SetFieldsCount",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
8625 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStatusBar
, 0 | 0 );
8626 if (!SWIG_IsOK(res1
)) {
8627 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StatusBar_SetFieldsCount" "', expected argument " "1"" of type '" "wxStatusBar *""'");
8629 arg1
= reinterpret_cast< wxStatusBar
* >(argp1
);
8631 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
8632 if (!SWIG_IsOK(ecode2
)) {
8633 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "StatusBar_SetFieldsCount" "', expected argument " "2"" of type '" "int""'");
8635 arg2
= static_cast< int >(val2
);
8638 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8639 (arg1
)->SetFieldsCount(arg2
);
8640 wxPyEndAllowThreads(__tstate
);
8641 if (PyErr_Occurred()) SWIG_fail
;
8643 resultobj
= SWIG_Py_Void();
8650 SWIGINTERN PyObject
*_wrap_StatusBar_GetFieldsCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8651 PyObject
*resultobj
= 0;
8652 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
8656 PyObject
*swig_obj
[1] ;
8658 if (!args
) SWIG_fail
;
8660 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxStatusBar
, 0 | 0 );
8661 if (!SWIG_IsOK(res1
)) {
8662 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StatusBar_GetFieldsCount" "', expected argument " "1"" of type '" "wxStatusBar const *""'");
8664 arg1
= reinterpret_cast< wxStatusBar
* >(argp1
);
8666 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8667 result
= (int)((wxStatusBar
const *)arg1
)->GetFieldsCount();
8668 wxPyEndAllowThreads(__tstate
);
8669 if (PyErr_Occurred()) SWIG_fail
;
8671 resultobj
= SWIG_From_int(static_cast< int >(result
));
8678 SWIGINTERN PyObject
*_wrap_StatusBar_SetStatusText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8679 PyObject
*resultobj
= 0;
8680 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
8681 wxString
*arg2
= 0 ;
8682 int arg3
= (int) 0 ;
8685 bool temp2
= false ;
8688 PyObject
* obj0
= 0 ;
8689 PyObject
* obj1
= 0 ;
8690 PyObject
* obj2
= 0 ;
8691 char * kwnames
[] = {
8692 (char *) "self",(char *) "text",(char *) "number", NULL
8695 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:StatusBar_SetStatusText",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
8696 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStatusBar
, 0 | 0 );
8697 if (!SWIG_IsOK(res1
)) {
8698 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StatusBar_SetStatusText" "', expected argument " "1"" of type '" "wxStatusBar *""'");
8700 arg1
= reinterpret_cast< wxStatusBar
* >(argp1
);
8702 arg2
= wxString_in_helper(obj1
);
8703 if (arg2
== NULL
) SWIG_fail
;
8707 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
8708 if (!SWIG_IsOK(ecode3
)) {
8709 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "StatusBar_SetStatusText" "', expected argument " "3"" of type '" "int""'");
8711 arg3
= static_cast< int >(val3
);
8714 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8715 (arg1
)->SetStatusText((wxString
const &)*arg2
,arg3
);
8716 wxPyEndAllowThreads(__tstate
);
8717 if (PyErr_Occurred()) SWIG_fail
;
8719 resultobj
= SWIG_Py_Void();
8734 SWIGINTERN PyObject
*_wrap_StatusBar_GetStatusText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8735 PyObject
*resultobj
= 0;
8736 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
8737 int arg2
= (int) 0 ;
8743 PyObject
* obj0
= 0 ;
8744 PyObject
* obj1
= 0 ;
8745 char * kwnames
[] = {
8746 (char *) "self",(char *) "number", NULL
8749 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:StatusBar_GetStatusText",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
8750 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStatusBar
, 0 | 0 );
8751 if (!SWIG_IsOK(res1
)) {
8752 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StatusBar_GetStatusText" "', expected argument " "1"" of type '" "wxStatusBar const *""'");
8754 arg1
= reinterpret_cast< wxStatusBar
* >(argp1
);
8756 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
8757 if (!SWIG_IsOK(ecode2
)) {
8758 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "StatusBar_GetStatusText" "', expected argument " "2"" of type '" "int""'");
8760 arg2
= static_cast< int >(val2
);
8763 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8764 result
= ((wxStatusBar
const *)arg1
)->GetStatusText(arg2
);
8765 wxPyEndAllowThreads(__tstate
);
8766 if (PyErr_Occurred()) SWIG_fail
;
8770 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8772 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8781 SWIGINTERN PyObject
*_wrap_StatusBar_PushStatusText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8782 PyObject
*resultobj
= 0;
8783 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
8784 wxString
*arg2
= 0 ;
8785 int arg3
= (int) 0 ;
8788 bool temp2
= false ;
8791 PyObject
* obj0
= 0 ;
8792 PyObject
* obj1
= 0 ;
8793 PyObject
* obj2
= 0 ;
8794 char * kwnames
[] = {
8795 (char *) "self",(char *) "text",(char *) "number", NULL
8798 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:StatusBar_PushStatusText",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
8799 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStatusBar
, 0 | 0 );
8800 if (!SWIG_IsOK(res1
)) {
8801 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StatusBar_PushStatusText" "', expected argument " "1"" of type '" "wxStatusBar *""'");
8803 arg1
= reinterpret_cast< wxStatusBar
* >(argp1
);
8805 arg2
= wxString_in_helper(obj1
);
8806 if (arg2
== NULL
) SWIG_fail
;
8810 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
8811 if (!SWIG_IsOK(ecode3
)) {
8812 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "StatusBar_PushStatusText" "', expected argument " "3"" of type '" "int""'");
8814 arg3
= static_cast< int >(val3
);
8817 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8818 (arg1
)->PushStatusText((wxString
const &)*arg2
,arg3
);
8819 wxPyEndAllowThreads(__tstate
);
8820 if (PyErr_Occurred()) SWIG_fail
;
8822 resultobj
= SWIG_Py_Void();
8837 SWIGINTERN PyObject
*_wrap_StatusBar_PopStatusText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8838 PyObject
*resultobj
= 0;
8839 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
8840 int arg2
= (int) 0 ;
8845 PyObject
* obj0
= 0 ;
8846 PyObject
* obj1
= 0 ;
8847 char * kwnames
[] = {
8848 (char *) "self",(char *) "number", NULL
8851 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:StatusBar_PopStatusText",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
8852 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStatusBar
, 0 | 0 );
8853 if (!SWIG_IsOK(res1
)) {
8854 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StatusBar_PopStatusText" "', expected argument " "1"" of type '" "wxStatusBar *""'");
8856 arg1
= reinterpret_cast< wxStatusBar
* >(argp1
);
8858 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
8859 if (!SWIG_IsOK(ecode2
)) {
8860 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "StatusBar_PopStatusText" "', expected argument " "2"" of type '" "int""'");
8862 arg2
= static_cast< int >(val2
);
8865 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8866 (arg1
)->PopStatusText(arg2
);
8867 wxPyEndAllowThreads(__tstate
);
8868 if (PyErr_Occurred()) SWIG_fail
;
8870 resultobj
= SWIG_Py_Void();
8877 SWIGINTERN PyObject
*_wrap_StatusBar_SetStatusWidths(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8878 PyObject
*resultobj
= 0;
8879 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
8881 int *arg3
= (int *) 0 ;
8884 PyObject
* obj0
= 0 ;
8885 PyObject
* obj1
= 0 ;
8886 char * kwnames
[] = {
8887 (char *) "self",(char *) "widths", NULL
8890 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StatusBar_SetStatusWidths",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
8891 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStatusBar
, 0 | 0 );
8892 if (!SWIG_IsOK(res1
)) {
8893 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StatusBar_SetStatusWidths" "', expected argument " "1"" of type '" "wxStatusBar *""'");
8895 arg1
= reinterpret_cast< wxStatusBar
* >(argp1
);
8897 arg2
= PyList_Size(obj1
);
8898 arg3
= int_LIST_helper(obj1
);
8899 if (arg3
== NULL
) SWIG_fail
;
8902 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8903 (arg1
)->SetStatusWidths(arg2
,(int const *)arg3
);
8904 wxPyEndAllowThreads(__tstate
);
8905 if (PyErr_Occurred()) SWIG_fail
;
8907 resultobj
= SWIG_Py_Void();
8909 if (arg3
) delete [] arg3
;
8914 if (arg3
) delete [] arg3
;
8920 SWIGINTERN PyObject
*_wrap_StatusBar_SetStatusStyles(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8921 PyObject
*resultobj
= 0;
8922 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
8924 int *arg3
= (int *) 0 ;
8927 PyObject
* obj0
= 0 ;
8928 PyObject
* obj1
= 0 ;
8929 char * kwnames
[] = {
8930 (char *) "self",(char *) "styles", NULL
8933 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StatusBar_SetStatusStyles",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
8934 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStatusBar
, 0 | 0 );
8935 if (!SWIG_IsOK(res1
)) {
8936 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StatusBar_SetStatusStyles" "', expected argument " "1"" of type '" "wxStatusBar *""'");
8938 arg1
= reinterpret_cast< wxStatusBar
* >(argp1
);
8940 arg2
= PyList_Size(obj1
);
8941 arg3
= int_LIST_helper(obj1
);
8942 if (arg3
== NULL
) SWIG_fail
;
8945 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8946 (arg1
)->SetStatusStyles(arg2
,(int const *)arg3
);
8947 wxPyEndAllowThreads(__tstate
);
8948 if (PyErr_Occurred()) SWIG_fail
;
8950 resultobj
= SWIG_Py_Void();
8952 if (arg3
) delete [] arg3
;
8957 if (arg3
) delete [] arg3
;
8963 SWIGINTERN PyObject
*_wrap_StatusBar_GetFieldRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8964 PyObject
*resultobj
= 0;
8965 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
8972 PyObject
* obj0
= 0 ;
8973 PyObject
* obj1
= 0 ;
8974 char * kwnames
[] = {
8975 (char *) "self",(char *) "i", NULL
8978 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StatusBar_GetFieldRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
8979 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStatusBar
, 0 | 0 );
8980 if (!SWIG_IsOK(res1
)) {
8981 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StatusBar_GetFieldRect" "', expected argument " "1"" of type '" "wxStatusBar *""'");
8983 arg1
= reinterpret_cast< wxStatusBar
* >(argp1
);
8984 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
8985 if (!SWIG_IsOK(ecode2
)) {
8986 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "StatusBar_GetFieldRect" "', expected argument " "2"" of type '" "int""'");
8988 arg2
= static_cast< int >(val2
);
8990 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8991 result
= wxStatusBar_GetFieldRect(arg1
,arg2
);
8992 wxPyEndAllowThreads(__tstate
);
8993 if (PyErr_Occurred()) SWIG_fail
;
8995 resultobj
= SWIG_NewPointerObj((new wxRect(static_cast< const wxRect
& >(result
))), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN
| 0 );
9002 SWIGINTERN PyObject
*_wrap_StatusBar_SetMinHeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9003 PyObject
*resultobj
= 0;
9004 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
9010 PyObject
* obj0
= 0 ;
9011 PyObject
* obj1
= 0 ;
9012 char * kwnames
[] = {
9013 (char *) "self",(char *) "height", NULL
9016 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StatusBar_SetMinHeight",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9017 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStatusBar
, 0 | 0 );
9018 if (!SWIG_IsOK(res1
)) {
9019 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StatusBar_SetMinHeight" "', expected argument " "1"" of type '" "wxStatusBar *""'");
9021 arg1
= reinterpret_cast< wxStatusBar
* >(argp1
);
9022 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9023 if (!SWIG_IsOK(ecode2
)) {
9024 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "StatusBar_SetMinHeight" "', expected argument " "2"" of type '" "int""'");
9026 arg2
= static_cast< int >(val2
);
9028 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9029 (arg1
)->SetMinHeight(arg2
);
9030 wxPyEndAllowThreads(__tstate
);
9031 if (PyErr_Occurred()) SWIG_fail
;
9033 resultobj
= SWIG_Py_Void();
9040 SWIGINTERN PyObject
*_wrap_StatusBar_GetBorderX(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9041 PyObject
*resultobj
= 0;
9042 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
9046 PyObject
*swig_obj
[1] ;
9048 if (!args
) SWIG_fail
;
9050 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxStatusBar
, 0 | 0 );
9051 if (!SWIG_IsOK(res1
)) {
9052 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StatusBar_GetBorderX" "', expected argument " "1"" of type '" "wxStatusBar const *""'");
9054 arg1
= reinterpret_cast< wxStatusBar
* >(argp1
);
9056 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9057 result
= (int)((wxStatusBar
const *)arg1
)->GetBorderX();
9058 wxPyEndAllowThreads(__tstate
);
9059 if (PyErr_Occurred()) SWIG_fail
;
9061 resultobj
= SWIG_From_int(static_cast< int >(result
));
9068 SWIGINTERN PyObject
*_wrap_StatusBar_GetBorderY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9069 PyObject
*resultobj
= 0;
9070 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
9074 PyObject
*swig_obj
[1] ;
9076 if (!args
) SWIG_fail
;
9078 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxStatusBar
, 0 | 0 );
9079 if (!SWIG_IsOK(res1
)) {
9080 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StatusBar_GetBorderY" "', expected argument " "1"" of type '" "wxStatusBar const *""'");
9082 arg1
= reinterpret_cast< wxStatusBar
* >(argp1
);
9084 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9085 result
= (int)((wxStatusBar
const *)arg1
)->GetBorderY();
9086 wxPyEndAllowThreads(__tstate
);
9087 if (PyErr_Occurred()) SWIG_fail
;
9089 resultobj
= SWIG_From_int(static_cast< int >(result
));
9096 SWIGINTERN PyObject
*_wrap_StatusBar_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9097 PyObject
*resultobj
= 0;
9098 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
9099 SwigValueWrapper
<wxVisualAttributes
> result
;
9102 PyObject
* obj0
= 0 ;
9103 char * kwnames
[] = {
9104 (char *) "variant", NULL
9107 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:StatusBar_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
9109 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
9110 if (!SWIG_IsOK(ecode1
)) {
9111 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "StatusBar_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
9113 arg1
= static_cast< wxWindowVariant
>(val1
);
9116 if (!wxPyCheckForApp()) SWIG_fail
;
9117 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9118 result
= wxStatusBar::GetClassDefaultAttributes(arg1
);
9119 wxPyEndAllowThreads(__tstate
);
9120 if (PyErr_Occurred()) SWIG_fail
;
9122 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
9129 SWIGINTERN PyObject
*StatusBar_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9131 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
9132 SWIG_TypeNewClientData(SWIGTYPE_p_wxStatusBar
, SWIG_NewClientData(obj
));
9133 return SWIG_Py_Void();
9136 SWIGINTERN PyObject
*StatusBar_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9137 return SWIG_Python_InitShadowInstance(args
);
9140 SWIGINTERN
int SplitterNameStr_set(PyObject
*) {
9141 SWIG_Error(SWIG_AttributeError
,"Variable SplitterNameStr is read-only.");
9146 SWIGINTERN PyObject
*SplitterNameStr_get(void) {
9147 PyObject
*pyobj
= 0;
9151 pyobj
= PyUnicode_FromWideChar((&wxPySplitterNameStr
)->c_str(), (&wxPySplitterNameStr
)->Len());
9153 pyobj
= PyString_FromStringAndSize((&wxPySplitterNameStr
)->c_str(), (&wxPySplitterNameStr
)->Len());
9160 SWIGINTERN PyObject
*_wrap_new_SplitterWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9161 PyObject
*resultobj
= 0;
9162 wxWindow
*arg1
= (wxWindow
*) 0 ;
9163 int arg2
= (int) -1 ;
9164 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
9165 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
9166 wxSize
const &arg4_defvalue
= wxDefaultSize
;
9167 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
9168 long arg5
= (long) wxSP_3D
;
9169 wxString
const &arg6_defvalue
= wxPySplitterNameStr
;
9170 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
9171 wxSplitterWindow
*result
= 0 ;
9180 bool temp6
= false ;
9181 PyObject
* obj0
= 0 ;
9182 PyObject
* obj1
= 0 ;
9183 PyObject
* obj2
= 0 ;
9184 PyObject
* obj3
= 0 ;
9185 PyObject
* obj4
= 0 ;
9186 PyObject
* obj5
= 0 ;
9187 char * kwnames
[] = {
9188 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
9191 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_SplitterWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
9192 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
9193 if (!SWIG_IsOK(res1
)) {
9194 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_SplitterWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
9196 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
9198 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9199 if (!SWIG_IsOK(ecode2
)) {
9200 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_SplitterWindow" "', expected argument " "2"" of type '" "int""'");
9202 arg2
= static_cast< int >(val2
);
9207 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
9213 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
9217 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
9218 if (!SWIG_IsOK(ecode5
)) {
9219 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_SplitterWindow" "', expected argument " "5"" of type '" "long""'");
9221 arg5
= static_cast< long >(val5
);
9225 arg6
= wxString_in_helper(obj5
);
9226 if (arg6
== NULL
) SWIG_fail
;
9231 if (!wxPyCheckForApp()) SWIG_fail
;
9232 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9233 result
= (wxSplitterWindow
*)new wxSplitterWindow(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
9234 wxPyEndAllowThreads(__tstate
);
9235 if (PyErr_Occurred()) SWIG_fail
;
9237 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSplitterWindow
, SWIG_POINTER_NEW
| 0 );
9252 SWIGINTERN PyObject
*_wrap_new_PreSplitterWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9253 PyObject
*resultobj
= 0;
9254 wxSplitterWindow
*result
= 0 ;
9256 if (!SWIG_Python_UnpackTuple(args
,"new_PreSplitterWindow",0,0,0)) SWIG_fail
;
9258 if (!wxPyCheckForApp()) SWIG_fail
;
9259 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9260 result
= (wxSplitterWindow
*)new wxSplitterWindow();
9261 wxPyEndAllowThreads(__tstate
);
9262 if (PyErr_Occurred()) SWIG_fail
;
9264 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSplitterWindow
, SWIG_POINTER_OWN
| 0 );
9271 SWIGINTERN PyObject
*_wrap_SplitterWindow_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9272 PyObject
*resultobj
= 0;
9273 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
9274 wxWindow
*arg2
= (wxWindow
*) 0 ;
9275 int arg3
= (int) -1 ;
9276 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
9277 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
9278 wxSize
const &arg5_defvalue
= wxDefaultSize
;
9279 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
9280 long arg6
= (long) wxSP_3D
;
9281 wxString
const &arg7_defvalue
= wxPySplitterNameStr
;
9282 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
9294 bool temp7
= false ;
9295 PyObject
* obj0
= 0 ;
9296 PyObject
* obj1
= 0 ;
9297 PyObject
* obj2
= 0 ;
9298 PyObject
* obj3
= 0 ;
9299 PyObject
* obj4
= 0 ;
9300 PyObject
* obj5
= 0 ;
9301 PyObject
* obj6
= 0 ;
9302 char * kwnames
[] = {
9303 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
9306 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:SplitterWindow_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
9307 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
9308 if (!SWIG_IsOK(res1
)) {
9309 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_Create" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
9311 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
9312 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
9313 if (!SWIG_IsOK(res2
)) {
9314 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "SplitterWindow_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
9316 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
9318 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
9319 if (!SWIG_IsOK(ecode3
)) {
9320 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "SplitterWindow_Create" "', expected argument " "3"" of type '" "int""'");
9322 arg3
= static_cast< int >(val3
);
9327 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
9333 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
9337 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
9338 if (!SWIG_IsOK(ecode6
)) {
9339 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "SplitterWindow_Create" "', expected argument " "6"" of type '" "long""'");
9341 arg6
= static_cast< long >(val6
);
9345 arg7
= wxString_in_helper(obj6
);
9346 if (arg7
== NULL
) SWIG_fail
;
9351 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9352 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
9353 wxPyEndAllowThreads(__tstate
);
9354 if (PyErr_Occurred()) SWIG_fail
;
9357 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9373 SWIGINTERN PyObject
*_wrap_SplitterWindow_GetWindow1(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9374 PyObject
*resultobj
= 0;
9375 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
9376 wxWindow
*result
= 0 ;
9379 PyObject
*swig_obj
[1] ;
9381 if (!args
) SWIG_fail
;
9383 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
9384 if (!SWIG_IsOK(res1
)) {
9385 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_GetWindow1" "', expected argument " "1"" of type '" "wxSplitterWindow const *""'");
9387 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
9389 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9390 result
= (wxWindow
*)((wxSplitterWindow
const *)arg1
)->GetWindow1();
9391 wxPyEndAllowThreads(__tstate
);
9392 if (PyErr_Occurred()) SWIG_fail
;
9395 resultobj
= wxPyMake_wxObject(result
, 0);
9403 SWIGINTERN PyObject
*_wrap_SplitterWindow_GetWindow2(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9404 PyObject
*resultobj
= 0;
9405 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
9406 wxWindow
*result
= 0 ;
9409 PyObject
*swig_obj
[1] ;
9411 if (!args
) SWIG_fail
;
9413 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
9414 if (!SWIG_IsOK(res1
)) {
9415 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_GetWindow2" "', expected argument " "1"" of type '" "wxSplitterWindow const *""'");
9417 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
9419 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9420 result
= (wxWindow
*)((wxSplitterWindow
const *)arg1
)->GetWindow2();
9421 wxPyEndAllowThreads(__tstate
);
9422 if (PyErr_Occurred()) SWIG_fail
;
9425 resultobj
= wxPyMake_wxObject(result
, 0);
9433 SWIGINTERN PyObject
*_wrap_SplitterWindow_SetSplitMode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9434 PyObject
*resultobj
= 0;
9435 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
9441 PyObject
* obj0
= 0 ;
9442 PyObject
* obj1
= 0 ;
9443 char * kwnames
[] = {
9444 (char *) "self",(char *) "mode", NULL
9447 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplitterWindow_SetSplitMode",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9448 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
9449 if (!SWIG_IsOK(res1
)) {
9450 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_SetSplitMode" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
9452 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
9453 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9454 if (!SWIG_IsOK(ecode2
)) {
9455 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SplitterWindow_SetSplitMode" "', expected argument " "2"" of type '" "int""'");
9457 arg2
= static_cast< int >(val2
);
9459 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9460 (arg1
)->SetSplitMode(arg2
);
9461 wxPyEndAllowThreads(__tstate
);
9462 if (PyErr_Occurred()) SWIG_fail
;
9464 resultobj
= SWIG_Py_Void();
9471 SWIGINTERN PyObject
*_wrap_SplitterWindow_GetSplitMode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9472 PyObject
*resultobj
= 0;
9473 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
9477 PyObject
*swig_obj
[1] ;
9479 if (!args
) SWIG_fail
;
9481 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
9482 if (!SWIG_IsOK(res1
)) {
9483 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_GetSplitMode" "', expected argument " "1"" of type '" "wxSplitterWindow const *""'");
9485 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
9487 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9488 result
= (wxSplitMode
)((wxSplitterWindow
const *)arg1
)->GetSplitMode();
9489 wxPyEndAllowThreads(__tstate
);
9490 if (PyErr_Occurred()) SWIG_fail
;
9492 resultobj
= SWIG_From_int(static_cast< int >(result
));
9499 SWIGINTERN PyObject
*_wrap_SplitterWindow_Initialize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9500 PyObject
*resultobj
= 0;
9501 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
9502 wxWindow
*arg2
= (wxWindow
*) 0 ;
9507 PyObject
* obj0
= 0 ;
9508 PyObject
* obj1
= 0 ;
9509 char * kwnames
[] = {
9510 (char *) "self",(char *) "window", NULL
9513 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplitterWindow_Initialize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9514 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
9515 if (!SWIG_IsOK(res1
)) {
9516 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_Initialize" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
9518 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
9519 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
9520 if (!SWIG_IsOK(res2
)) {
9521 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "SplitterWindow_Initialize" "', expected argument " "2"" of type '" "wxWindow *""'");
9523 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
9525 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9526 (arg1
)->Initialize(arg2
);
9527 wxPyEndAllowThreads(__tstate
);
9528 if (PyErr_Occurred()) SWIG_fail
;
9530 resultobj
= SWIG_Py_Void();
9537 SWIGINTERN PyObject
*_wrap_SplitterWindow_SplitVertically(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9538 PyObject
*resultobj
= 0;
9539 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
9540 wxWindow
*arg2
= (wxWindow
*) 0 ;
9541 wxWindow
*arg3
= (wxWindow
*) 0 ;
9542 int arg4
= (int) 0 ;
9552 PyObject
* obj0
= 0 ;
9553 PyObject
* obj1
= 0 ;
9554 PyObject
* obj2
= 0 ;
9555 PyObject
* obj3
= 0 ;
9556 char * kwnames
[] = {
9557 (char *) "self",(char *) "window1",(char *) "window2",(char *) "sashPosition", NULL
9560 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:SplitterWindow_SplitVertically",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
9561 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
9562 if (!SWIG_IsOK(res1
)) {
9563 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_SplitVertically" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
9565 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
9566 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
9567 if (!SWIG_IsOK(res2
)) {
9568 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "SplitterWindow_SplitVertically" "', expected argument " "2"" of type '" "wxWindow *""'");
9570 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
9571 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxWindow
, 0 | 0 );
9572 if (!SWIG_IsOK(res3
)) {
9573 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "SplitterWindow_SplitVertically" "', expected argument " "3"" of type '" "wxWindow *""'");
9575 arg3
= reinterpret_cast< wxWindow
* >(argp3
);
9577 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
9578 if (!SWIG_IsOK(ecode4
)) {
9579 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "SplitterWindow_SplitVertically" "', expected argument " "4"" of type '" "int""'");
9581 arg4
= static_cast< int >(val4
);
9584 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9585 result
= (bool)(arg1
)->SplitVertically(arg2
,arg3
,arg4
);
9586 wxPyEndAllowThreads(__tstate
);
9587 if (PyErr_Occurred()) SWIG_fail
;
9590 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9598 SWIGINTERN PyObject
*_wrap_SplitterWindow_SplitHorizontally(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9599 PyObject
*resultobj
= 0;
9600 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
9601 wxWindow
*arg2
= (wxWindow
*) 0 ;
9602 wxWindow
*arg3
= (wxWindow
*) 0 ;
9603 int arg4
= (int) 0 ;
9613 PyObject
* obj0
= 0 ;
9614 PyObject
* obj1
= 0 ;
9615 PyObject
* obj2
= 0 ;
9616 PyObject
* obj3
= 0 ;
9617 char * kwnames
[] = {
9618 (char *) "self",(char *) "window1",(char *) "window2",(char *) "sashPosition", NULL
9621 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:SplitterWindow_SplitHorizontally",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
9622 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
9623 if (!SWIG_IsOK(res1
)) {
9624 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_SplitHorizontally" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
9626 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
9627 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
9628 if (!SWIG_IsOK(res2
)) {
9629 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "SplitterWindow_SplitHorizontally" "', expected argument " "2"" of type '" "wxWindow *""'");
9631 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
9632 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxWindow
, 0 | 0 );
9633 if (!SWIG_IsOK(res3
)) {
9634 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "SplitterWindow_SplitHorizontally" "', expected argument " "3"" of type '" "wxWindow *""'");
9636 arg3
= reinterpret_cast< wxWindow
* >(argp3
);
9638 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
9639 if (!SWIG_IsOK(ecode4
)) {
9640 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "SplitterWindow_SplitHorizontally" "', expected argument " "4"" of type '" "int""'");
9642 arg4
= static_cast< int >(val4
);
9645 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9646 result
= (bool)(arg1
)->SplitHorizontally(arg2
,arg3
,arg4
);
9647 wxPyEndAllowThreads(__tstate
);
9648 if (PyErr_Occurred()) SWIG_fail
;
9651 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9659 SWIGINTERN PyObject
*_wrap_SplitterWindow_Unsplit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9660 PyObject
*resultobj
= 0;
9661 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
9662 wxWindow
*arg2
= (wxWindow
*) NULL
;
9668 PyObject
* obj0
= 0 ;
9669 PyObject
* obj1
= 0 ;
9670 char * kwnames
[] = {
9671 (char *) "self",(char *) "toRemove", NULL
9674 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:SplitterWindow_Unsplit",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9675 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
9676 if (!SWIG_IsOK(res1
)) {
9677 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_Unsplit" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
9679 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
9681 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
9682 if (!SWIG_IsOK(res2
)) {
9683 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "SplitterWindow_Unsplit" "', expected argument " "2"" of type '" "wxWindow *""'");
9685 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
9688 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9689 result
= (bool)(arg1
)->Unsplit(arg2
);
9690 wxPyEndAllowThreads(__tstate
);
9691 if (PyErr_Occurred()) SWIG_fail
;
9694 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9702 SWIGINTERN PyObject
*_wrap_SplitterWindow_ReplaceWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9703 PyObject
*resultobj
= 0;
9704 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
9705 wxWindow
*arg2
= (wxWindow
*) 0 ;
9706 wxWindow
*arg3
= (wxWindow
*) 0 ;
9714 PyObject
* obj0
= 0 ;
9715 PyObject
* obj1
= 0 ;
9716 PyObject
* obj2
= 0 ;
9717 char * kwnames
[] = {
9718 (char *) "self",(char *) "winOld",(char *) "winNew", NULL
9721 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SplitterWindow_ReplaceWindow",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
9722 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
9723 if (!SWIG_IsOK(res1
)) {
9724 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_ReplaceWindow" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
9726 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
9727 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
9728 if (!SWIG_IsOK(res2
)) {
9729 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "SplitterWindow_ReplaceWindow" "', expected argument " "2"" of type '" "wxWindow *""'");
9731 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
9732 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxWindow
, 0 | 0 );
9733 if (!SWIG_IsOK(res3
)) {
9734 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "SplitterWindow_ReplaceWindow" "', expected argument " "3"" of type '" "wxWindow *""'");
9736 arg3
= reinterpret_cast< wxWindow
* >(argp3
);
9738 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9739 result
= (bool)(arg1
)->ReplaceWindow(arg2
,arg3
);
9740 wxPyEndAllowThreads(__tstate
);
9741 if (PyErr_Occurred()) SWIG_fail
;
9744 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9752 SWIGINTERN PyObject
*_wrap_SplitterWindow_UpdateSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9753 PyObject
*resultobj
= 0;
9754 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
9757 PyObject
*swig_obj
[1] ;
9759 if (!args
) SWIG_fail
;
9761 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
9762 if (!SWIG_IsOK(res1
)) {
9763 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_UpdateSize" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
9765 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
9767 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9768 (arg1
)->UpdateSize();
9769 wxPyEndAllowThreads(__tstate
);
9770 if (PyErr_Occurred()) SWIG_fail
;
9772 resultobj
= SWIG_Py_Void();
9779 SWIGINTERN PyObject
*_wrap_SplitterWindow_IsSplit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9780 PyObject
*resultobj
= 0;
9781 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
9785 PyObject
*swig_obj
[1] ;
9787 if (!args
) SWIG_fail
;
9789 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
9790 if (!SWIG_IsOK(res1
)) {
9791 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_IsSplit" "', expected argument " "1"" of type '" "wxSplitterWindow const *""'");
9793 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
9795 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9796 result
= (bool)((wxSplitterWindow
const *)arg1
)->IsSplit();
9797 wxPyEndAllowThreads(__tstate
);
9798 if (PyErr_Occurred()) SWIG_fail
;
9801 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9809 SWIGINTERN PyObject
*_wrap_SplitterWindow_SetSashSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9810 PyObject
*resultobj
= 0;
9811 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
9817 PyObject
* obj0
= 0 ;
9818 PyObject
* obj1
= 0 ;
9819 char * kwnames
[] = {
9820 (char *) "self",(char *) "width", NULL
9823 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplitterWindow_SetSashSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9824 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
9825 if (!SWIG_IsOK(res1
)) {
9826 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_SetSashSize" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
9828 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
9829 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9830 if (!SWIG_IsOK(ecode2
)) {
9831 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SplitterWindow_SetSashSize" "', expected argument " "2"" of type '" "int""'");
9833 arg2
= static_cast< int >(val2
);
9835 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9836 (arg1
)->SetSashSize(arg2
);
9837 wxPyEndAllowThreads(__tstate
);
9838 if (PyErr_Occurred()) SWIG_fail
;
9840 resultobj
= SWIG_Py_Void();
9847 SWIGINTERN PyObject
*_wrap_SplitterWindow_SetBorderSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9848 PyObject
*resultobj
= 0;
9849 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
9855 PyObject
* obj0
= 0 ;
9856 PyObject
* obj1
= 0 ;
9857 char * kwnames
[] = {
9858 (char *) "self",(char *) "width", NULL
9861 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplitterWindow_SetBorderSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9862 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
9863 if (!SWIG_IsOK(res1
)) {
9864 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_SetBorderSize" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
9866 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
9867 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9868 if (!SWIG_IsOK(ecode2
)) {
9869 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SplitterWindow_SetBorderSize" "', expected argument " "2"" of type '" "int""'");
9871 arg2
= static_cast< int >(val2
);
9873 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9874 (arg1
)->SetBorderSize(arg2
);
9875 wxPyEndAllowThreads(__tstate
);
9876 if (PyErr_Occurred()) SWIG_fail
;
9878 resultobj
= SWIG_Py_Void();
9885 SWIGINTERN PyObject
*_wrap_SplitterWindow_GetSashSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9886 PyObject
*resultobj
= 0;
9887 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
9891 PyObject
*swig_obj
[1] ;
9893 if (!args
) SWIG_fail
;
9895 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
9896 if (!SWIG_IsOK(res1
)) {
9897 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_GetSashSize" "', expected argument " "1"" of type '" "wxSplitterWindow const *""'");
9899 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
9901 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9902 result
= (int)((wxSplitterWindow
const *)arg1
)->GetSashSize();
9903 wxPyEndAllowThreads(__tstate
);
9904 if (PyErr_Occurred()) SWIG_fail
;
9906 resultobj
= SWIG_From_int(static_cast< int >(result
));
9913 SWIGINTERN PyObject
*_wrap_SplitterWindow_GetBorderSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9914 PyObject
*resultobj
= 0;
9915 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
9919 PyObject
*swig_obj
[1] ;
9921 if (!args
) SWIG_fail
;
9923 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
9924 if (!SWIG_IsOK(res1
)) {
9925 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_GetBorderSize" "', expected argument " "1"" of type '" "wxSplitterWindow const *""'");
9927 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
9929 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9930 result
= (int)((wxSplitterWindow
const *)arg1
)->GetBorderSize();
9931 wxPyEndAllowThreads(__tstate
);
9932 if (PyErr_Occurred()) SWIG_fail
;
9934 resultobj
= SWIG_From_int(static_cast< int >(result
));
9941 SWIGINTERN PyObject
*_wrap_SplitterWindow_SetSashPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9942 PyObject
*resultobj
= 0;
9943 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
9945 bool arg3
= (bool) true ;
9952 PyObject
* obj0
= 0 ;
9953 PyObject
* obj1
= 0 ;
9954 PyObject
* obj2
= 0 ;
9955 char * kwnames
[] = {
9956 (char *) "self",(char *) "position",(char *) "redraw", NULL
9959 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:SplitterWindow_SetSashPosition",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
9960 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
9961 if (!SWIG_IsOK(res1
)) {
9962 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_SetSashPosition" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
9964 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
9965 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9966 if (!SWIG_IsOK(ecode2
)) {
9967 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SplitterWindow_SetSashPosition" "', expected argument " "2"" of type '" "int""'");
9969 arg2
= static_cast< int >(val2
);
9971 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
9972 if (!SWIG_IsOK(ecode3
)) {
9973 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "SplitterWindow_SetSashPosition" "', expected argument " "3"" of type '" "bool""'");
9975 arg3
= static_cast< bool >(val3
);
9978 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9979 (arg1
)->SetSashPosition(arg2
,arg3
);
9980 wxPyEndAllowThreads(__tstate
);
9981 if (PyErr_Occurred()) SWIG_fail
;
9983 resultobj
= SWIG_Py_Void();
9990 SWIGINTERN PyObject
*_wrap_SplitterWindow_GetSashPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9991 PyObject
*resultobj
= 0;
9992 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
9996 PyObject
*swig_obj
[1] ;
9998 if (!args
) SWIG_fail
;
10000 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
10001 if (!SWIG_IsOK(res1
)) {
10002 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_GetSashPosition" "', expected argument " "1"" of type '" "wxSplitterWindow const *""'");
10004 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
10006 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10007 result
= (int)((wxSplitterWindow
const *)arg1
)->GetSashPosition();
10008 wxPyEndAllowThreads(__tstate
);
10009 if (PyErr_Occurred()) SWIG_fail
;
10011 resultobj
= SWIG_From_int(static_cast< int >(result
));
10018 SWIGINTERN PyObject
*_wrap_SplitterWindow_SetSashGravity(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10019 PyObject
*resultobj
= 0;
10020 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
10026 PyObject
* obj0
= 0 ;
10027 PyObject
* obj1
= 0 ;
10028 char * kwnames
[] = {
10029 (char *) "self",(char *) "gravity", NULL
10032 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplitterWindow_SetSashGravity",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10033 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
10034 if (!SWIG_IsOK(res1
)) {
10035 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_SetSashGravity" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
10037 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
10038 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
10039 if (!SWIG_IsOK(ecode2
)) {
10040 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SplitterWindow_SetSashGravity" "', expected argument " "2"" of type '" "double""'");
10042 arg2
= static_cast< double >(val2
);
10044 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10045 (arg1
)->SetSashGravity(arg2
);
10046 wxPyEndAllowThreads(__tstate
);
10047 if (PyErr_Occurred()) SWIG_fail
;
10049 resultobj
= SWIG_Py_Void();
10056 SWIGINTERN PyObject
*_wrap_SplitterWindow_GetSashGravity(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10057 PyObject
*resultobj
= 0;
10058 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
10062 PyObject
*swig_obj
[1] ;
10064 if (!args
) SWIG_fail
;
10065 swig_obj
[0] = args
;
10066 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
10067 if (!SWIG_IsOK(res1
)) {
10068 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_GetSashGravity" "', expected argument " "1"" of type '" "wxSplitterWindow const *""'");
10070 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
10072 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10073 result
= (double)((wxSplitterWindow
const *)arg1
)->GetSashGravity();
10074 wxPyEndAllowThreads(__tstate
);
10075 if (PyErr_Occurred()) SWIG_fail
;
10077 resultobj
= SWIG_From_double(static_cast< double >(result
));
10084 SWIGINTERN PyObject
*_wrap_SplitterWindow_SetMinimumPaneSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10085 PyObject
*resultobj
= 0;
10086 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
10092 PyObject
* obj0
= 0 ;
10093 PyObject
* obj1
= 0 ;
10094 char * kwnames
[] = {
10095 (char *) "self",(char *) "min", NULL
10098 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplitterWindow_SetMinimumPaneSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10099 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
10100 if (!SWIG_IsOK(res1
)) {
10101 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_SetMinimumPaneSize" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
10103 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
10104 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10105 if (!SWIG_IsOK(ecode2
)) {
10106 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SplitterWindow_SetMinimumPaneSize" "', expected argument " "2"" of type '" "int""'");
10108 arg2
= static_cast< int >(val2
);
10110 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10111 (arg1
)->SetMinimumPaneSize(arg2
);
10112 wxPyEndAllowThreads(__tstate
);
10113 if (PyErr_Occurred()) SWIG_fail
;
10115 resultobj
= SWIG_Py_Void();
10122 SWIGINTERN PyObject
*_wrap_SplitterWindow_GetMinimumPaneSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10123 PyObject
*resultobj
= 0;
10124 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
10128 PyObject
*swig_obj
[1] ;
10130 if (!args
) SWIG_fail
;
10131 swig_obj
[0] = args
;
10132 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
10133 if (!SWIG_IsOK(res1
)) {
10134 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_GetMinimumPaneSize" "', expected argument " "1"" of type '" "wxSplitterWindow const *""'");
10136 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
10138 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10139 result
= (int)((wxSplitterWindow
const *)arg1
)->GetMinimumPaneSize();
10140 wxPyEndAllowThreads(__tstate
);
10141 if (PyErr_Occurred()) SWIG_fail
;
10143 resultobj
= SWIG_From_int(static_cast< int >(result
));
10150 SWIGINTERN PyObject
*_wrap_SplitterWindow_SashHitTest(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10151 PyObject
*resultobj
= 0;
10152 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
10155 int arg4
= (int) 5 ;
10165 PyObject
* obj0
= 0 ;
10166 PyObject
* obj1
= 0 ;
10167 PyObject
* obj2
= 0 ;
10168 PyObject
* obj3
= 0 ;
10169 char * kwnames
[] = {
10170 (char *) "self",(char *) "x",(char *) "y",(char *) "tolerance", NULL
10173 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:SplitterWindow_SashHitTest",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
10174 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
10175 if (!SWIG_IsOK(res1
)) {
10176 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_SashHitTest" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
10178 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
10179 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10180 if (!SWIG_IsOK(ecode2
)) {
10181 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SplitterWindow_SashHitTest" "', expected argument " "2"" of type '" "int""'");
10183 arg2
= static_cast< int >(val2
);
10184 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
10185 if (!SWIG_IsOK(ecode3
)) {
10186 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "SplitterWindow_SashHitTest" "', expected argument " "3"" of type '" "int""'");
10188 arg3
= static_cast< int >(val3
);
10190 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
10191 if (!SWIG_IsOK(ecode4
)) {
10192 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "SplitterWindow_SashHitTest" "', expected argument " "4"" of type '" "int""'");
10194 arg4
= static_cast< int >(val4
);
10197 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10198 result
= (bool)(arg1
)->SashHitTest(arg2
,arg3
,arg4
);
10199 wxPyEndAllowThreads(__tstate
);
10200 if (PyErr_Occurred()) SWIG_fail
;
10203 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10211 SWIGINTERN PyObject
*_wrap_SplitterWindow_SizeWindows(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10212 PyObject
*resultobj
= 0;
10213 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
10216 PyObject
*swig_obj
[1] ;
10218 if (!args
) SWIG_fail
;
10219 swig_obj
[0] = args
;
10220 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
10221 if (!SWIG_IsOK(res1
)) {
10222 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_SizeWindows" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
10224 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
10226 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10227 (arg1
)->SizeWindows();
10228 wxPyEndAllowThreads(__tstate
);
10229 if (PyErr_Occurred()) SWIG_fail
;
10231 resultobj
= SWIG_Py_Void();
10238 SWIGINTERN PyObject
*_wrap_SplitterWindow_SetNeedUpdating(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10239 PyObject
*resultobj
= 0;
10240 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
10246 PyObject
* obj0
= 0 ;
10247 PyObject
* obj1
= 0 ;
10248 char * kwnames
[] = {
10249 (char *) "self",(char *) "needUpdating", NULL
10252 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplitterWindow_SetNeedUpdating",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10253 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
10254 if (!SWIG_IsOK(res1
)) {
10255 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_SetNeedUpdating" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
10257 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
10258 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
10259 if (!SWIG_IsOK(ecode2
)) {
10260 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SplitterWindow_SetNeedUpdating" "', expected argument " "2"" of type '" "bool""'");
10262 arg2
= static_cast< bool >(val2
);
10264 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10265 (arg1
)->SetNeedUpdating(arg2
);
10266 wxPyEndAllowThreads(__tstate
);
10267 if (PyErr_Occurred()) SWIG_fail
;
10269 resultobj
= SWIG_Py_Void();
10276 SWIGINTERN PyObject
*_wrap_SplitterWindow_GetNeedUpdating(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10277 PyObject
*resultobj
= 0;
10278 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
10282 PyObject
*swig_obj
[1] ;
10284 if (!args
) SWIG_fail
;
10285 swig_obj
[0] = args
;
10286 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
10287 if (!SWIG_IsOK(res1
)) {
10288 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_GetNeedUpdating" "', expected argument " "1"" of type '" "wxSplitterWindow const *""'");
10290 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
10292 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10293 result
= (bool)((wxSplitterWindow
const *)arg1
)->GetNeedUpdating();
10294 wxPyEndAllowThreads(__tstate
);
10295 if (PyErr_Occurred()) SWIG_fail
;
10298 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10306 SWIGINTERN PyObject
*_wrap_SplitterWindow_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10307 PyObject
*resultobj
= 0;
10308 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
10309 SwigValueWrapper
<wxVisualAttributes
> result
;
10312 PyObject
* obj0
= 0 ;
10313 char * kwnames
[] = {
10314 (char *) "variant", NULL
10317 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:SplitterWindow_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
10319 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
10320 if (!SWIG_IsOK(ecode1
)) {
10321 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "SplitterWindow_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
10323 arg1
= static_cast< wxWindowVariant
>(val1
);
10326 if (!wxPyCheckForApp()) SWIG_fail
;
10327 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10328 result
= wxSplitterWindow::GetClassDefaultAttributes(arg1
);
10329 wxPyEndAllowThreads(__tstate
);
10330 if (PyErr_Occurred()) SWIG_fail
;
10332 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
10339 SWIGINTERN PyObject
*SplitterWindow_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10341 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
10342 SWIG_TypeNewClientData(SWIGTYPE_p_wxSplitterWindow
, SWIG_NewClientData(obj
));
10343 return SWIG_Py_Void();
10346 SWIGINTERN PyObject
*SplitterWindow_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10347 return SWIG_Python_InitShadowInstance(args
);
10350 SWIGINTERN PyObject
*_wrap_new_SplitterEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10351 PyObject
*resultobj
= 0;
10352 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
10353 wxSplitterWindow
*arg2
= (wxSplitterWindow
*) (wxSplitterWindow
*) NULL
;
10354 wxSplitterEvent
*result
= 0 ;
10359 PyObject
* obj0
= 0 ;
10360 PyObject
* obj1
= 0 ;
10361 char * kwnames
[] = {
10362 (char *) "type",(char *) "splitter", NULL
10365 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_SplitterEvent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10367 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
10368 if (!SWIG_IsOK(ecode1
)) {
10369 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_SplitterEvent" "', expected argument " "1"" of type '" "wxEventType""'");
10371 arg1
= static_cast< wxEventType
>(val1
);
10374 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
10375 if (!SWIG_IsOK(res2
)) {
10376 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_SplitterEvent" "', expected argument " "2"" of type '" "wxSplitterWindow *""'");
10378 arg2
= reinterpret_cast< wxSplitterWindow
* >(argp2
);
10381 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10382 result
= (wxSplitterEvent
*)new wxSplitterEvent(arg1
,arg2
);
10383 wxPyEndAllowThreads(__tstate
);
10384 if (PyErr_Occurred()) SWIG_fail
;
10386 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSplitterEvent
, SWIG_POINTER_NEW
| 0 );
10393 SWIGINTERN PyObject
*_wrap_SplitterEvent_SetSashPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10394 PyObject
*resultobj
= 0;
10395 wxSplitterEvent
*arg1
= (wxSplitterEvent
*) 0 ;
10401 PyObject
* obj0
= 0 ;
10402 PyObject
* obj1
= 0 ;
10403 char * kwnames
[] = {
10404 (char *) "self",(char *) "pos", NULL
10407 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplitterEvent_SetSashPosition",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10408 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSplitterEvent
, 0 | 0 );
10409 if (!SWIG_IsOK(res1
)) {
10410 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterEvent_SetSashPosition" "', expected argument " "1"" of type '" "wxSplitterEvent *""'");
10412 arg1
= reinterpret_cast< wxSplitterEvent
* >(argp1
);
10413 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10414 if (!SWIG_IsOK(ecode2
)) {
10415 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SplitterEvent_SetSashPosition" "', expected argument " "2"" of type '" "int""'");
10417 arg2
= static_cast< int >(val2
);
10419 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10420 (arg1
)->SetSashPosition(arg2
);
10421 wxPyEndAllowThreads(__tstate
);
10422 if (PyErr_Occurred()) SWIG_fail
;
10424 resultobj
= SWIG_Py_Void();
10431 SWIGINTERN PyObject
*_wrap_SplitterEvent_GetSashPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10432 PyObject
*resultobj
= 0;
10433 wxSplitterEvent
*arg1
= (wxSplitterEvent
*) 0 ;
10437 PyObject
*swig_obj
[1] ;
10439 if (!args
) SWIG_fail
;
10440 swig_obj
[0] = args
;
10441 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterEvent
, 0 | 0 );
10442 if (!SWIG_IsOK(res1
)) {
10443 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterEvent_GetSashPosition" "', expected argument " "1"" of type '" "wxSplitterEvent const *""'");
10445 arg1
= reinterpret_cast< wxSplitterEvent
* >(argp1
);
10447 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10448 result
= (int)((wxSplitterEvent
const *)arg1
)->GetSashPosition();
10449 wxPyEndAllowThreads(__tstate
);
10450 if (PyErr_Occurred()) SWIG_fail
;
10452 resultobj
= SWIG_From_int(static_cast< int >(result
));
10459 SWIGINTERN PyObject
*_wrap_SplitterEvent_GetWindowBeingRemoved(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10460 PyObject
*resultobj
= 0;
10461 wxSplitterEvent
*arg1
= (wxSplitterEvent
*) 0 ;
10462 wxWindow
*result
= 0 ;
10465 PyObject
*swig_obj
[1] ;
10467 if (!args
) SWIG_fail
;
10468 swig_obj
[0] = args
;
10469 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterEvent
, 0 | 0 );
10470 if (!SWIG_IsOK(res1
)) {
10471 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterEvent_GetWindowBeingRemoved" "', expected argument " "1"" of type '" "wxSplitterEvent const *""'");
10473 arg1
= reinterpret_cast< wxSplitterEvent
* >(argp1
);
10475 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10476 result
= (wxWindow
*)((wxSplitterEvent
const *)arg1
)->GetWindowBeingRemoved();
10477 wxPyEndAllowThreads(__tstate
);
10478 if (PyErr_Occurred()) SWIG_fail
;
10481 resultobj
= wxPyMake_wxObject(result
, 0);
10489 SWIGINTERN PyObject
*_wrap_SplitterEvent_GetX(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10490 PyObject
*resultobj
= 0;
10491 wxSplitterEvent
*arg1
= (wxSplitterEvent
*) 0 ;
10495 PyObject
*swig_obj
[1] ;
10497 if (!args
) SWIG_fail
;
10498 swig_obj
[0] = args
;
10499 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterEvent
, 0 | 0 );
10500 if (!SWIG_IsOK(res1
)) {
10501 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterEvent_GetX" "', expected argument " "1"" of type '" "wxSplitterEvent const *""'");
10503 arg1
= reinterpret_cast< wxSplitterEvent
* >(argp1
);
10505 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10506 result
= (int)((wxSplitterEvent
const *)arg1
)->GetX();
10507 wxPyEndAllowThreads(__tstate
);
10508 if (PyErr_Occurred()) SWIG_fail
;
10510 resultobj
= SWIG_From_int(static_cast< int >(result
));
10517 SWIGINTERN PyObject
*_wrap_SplitterEvent_GetY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10518 PyObject
*resultobj
= 0;
10519 wxSplitterEvent
*arg1
= (wxSplitterEvent
*) 0 ;
10523 PyObject
*swig_obj
[1] ;
10525 if (!args
) SWIG_fail
;
10526 swig_obj
[0] = args
;
10527 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterEvent
, 0 | 0 );
10528 if (!SWIG_IsOK(res1
)) {
10529 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterEvent_GetY" "', expected argument " "1"" of type '" "wxSplitterEvent const *""'");
10531 arg1
= reinterpret_cast< wxSplitterEvent
* >(argp1
);
10533 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10534 result
= (int)((wxSplitterEvent
const *)arg1
)->GetY();
10535 wxPyEndAllowThreads(__tstate
);
10536 if (PyErr_Occurred()) SWIG_fail
;
10538 resultobj
= SWIG_From_int(static_cast< int >(result
));
10545 SWIGINTERN PyObject
*SplitterEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10547 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
10548 SWIG_TypeNewClientData(SWIGTYPE_p_wxSplitterEvent
, SWIG_NewClientData(obj
));
10549 return SWIG_Py_Void();
10552 SWIGINTERN PyObject
*SplitterEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10553 return SWIG_Python_InitShadowInstance(args
);
10556 SWIGINTERN
int SashNameStr_set(PyObject
*) {
10557 SWIG_Error(SWIG_AttributeError
,"Variable SashNameStr is read-only.");
10562 SWIGINTERN PyObject
*SashNameStr_get(void) {
10563 PyObject
*pyobj
= 0;
10567 pyobj
= PyUnicode_FromWideChar((&wxPySashNameStr
)->c_str(), (&wxPySashNameStr
)->Len());
10569 pyobj
= PyString_FromStringAndSize((&wxPySashNameStr
)->c_str(), (&wxPySashNameStr
)->Len());
10576 SWIGINTERN
int SashLayoutNameStr_set(PyObject
*) {
10577 SWIG_Error(SWIG_AttributeError
,"Variable SashLayoutNameStr is read-only.");
10582 SWIGINTERN PyObject
*SashLayoutNameStr_get(void) {
10583 PyObject
*pyobj
= 0;
10587 pyobj
= PyUnicode_FromWideChar((&wxPySashLayoutNameStr
)->c_str(), (&wxPySashLayoutNameStr
)->Len());
10589 pyobj
= PyString_FromStringAndSize((&wxPySashLayoutNameStr
)->c_str(), (&wxPySashLayoutNameStr
)->Len());
10596 SWIGINTERN PyObject
*_wrap_new_SashWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10597 PyObject
*resultobj
= 0;
10598 wxWindow
*arg1
= (wxWindow
*) 0 ;
10599 int arg2
= (int) -1 ;
10600 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
10601 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
10602 wxSize
const &arg4_defvalue
= wxDefaultSize
;
10603 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
10604 long arg5
= (long) wxCLIP_CHILDREN
|wxSW_3D
;
10605 wxString
const &arg6_defvalue
= wxPySashNameStr
;
10606 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
10607 wxSashWindow
*result
= 0 ;
10616 bool temp6
= false ;
10617 PyObject
* obj0
= 0 ;
10618 PyObject
* obj1
= 0 ;
10619 PyObject
* obj2
= 0 ;
10620 PyObject
* obj3
= 0 ;
10621 PyObject
* obj4
= 0 ;
10622 PyObject
* obj5
= 0 ;
10623 char * kwnames
[] = {
10624 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
10627 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_SashWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
10628 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
10629 if (!SWIG_IsOK(res1
)) {
10630 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_SashWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
10632 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
10634 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10635 if (!SWIG_IsOK(ecode2
)) {
10636 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_SashWindow" "', expected argument " "2"" of type '" "int""'");
10638 arg2
= static_cast< int >(val2
);
10643 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
10649 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
10653 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
10654 if (!SWIG_IsOK(ecode5
)) {
10655 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_SashWindow" "', expected argument " "5"" of type '" "long""'");
10657 arg5
= static_cast< long >(val5
);
10661 arg6
= wxString_in_helper(obj5
);
10662 if (arg6
== NULL
) SWIG_fail
;
10667 if (!wxPyCheckForApp()) SWIG_fail
;
10668 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10669 result
= (wxSashWindow
*)new wxSashWindow(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
10670 wxPyEndAllowThreads(__tstate
);
10671 if (PyErr_Occurred()) SWIG_fail
;
10673 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSashWindow
, SWIG_POINTER_NEW
| 0 );
10688 SWIGINTERN PyObject
*_wrap_new_PreSashWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10689 PyObject
*resultobj
= 0;
10690 wxSashWindow
*result
= 0 ;
10692 if (!SWIG_Python_UnpackTuple(args
,"new_PreSashWindow",0,0,0)) SWIG_fail
;
10694 if (!wxPyCheckForApp()) SWIG_fail
;
10695 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10696 result
= (wxSashWindow
*)new wxSashWindow();
10697 wxPyEndAllowThreads(__tstate
);
10698 if (PyErr_Occurred()) SWIG_fail
;
10700 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSashWindow
, SWIG_POINTER_OWN
| 0 );
10707 SWIGINTERN PyObject
*_wrap_SashWindow_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10708 PyObject
*resultobj
= 0;
10709 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
10710 wxWindow
*arg2
= (wxWindow
*) 0 ;
10711 int arg3
= (int) -1 ;
10712 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
10713 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
10714 wxSize
const &arg5_defvalue
= wxDefaultSize
;
10715 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
10716 long arg6
= (long) wxCLIP_CHILDREN
|wxSW_3D
;
10717 wxString
const &arg7_defvalue
= wxPySashNameStr
;
10718 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
10730 bool temp7
= false ;
10731 PyObject
* obj0
= 0 ;
10732 PyObject
* obj1
= 0 ;
10733 PyObject
* obj2
= 0 ;
10734 PyObject
* obj3
= 0 ;
10735 PyObject
* obj4
= 0 ;
10736 PyObject
* obj5
= 0 ;
10737 PyObject
* obj6
= 0 ;
10738 char * kwnames
[] = {
10739 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
10742 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:SashWindow_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
10743 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSashWindow
, 0 | 0 );
10744 if (!SWIG_IsOK(res1
)) {
10745 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashWindow_Create" "', expected argument " "1"" of type '" "wxSashWindow *""'");
10747 arg1
= reinterpret_cast< wxSashWindow
* >(argp1
);
10748 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
10749 if (!SWIG_IsOK(res2
)) {
10750 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "SashWindow_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
10752 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
10754 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
10755 if (!SWIG_IsOK(ecode3
)) {
10756 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "SashWindow_Create" "', expected argument " "3"" of type '" "int""'");
10758 arg3
= static_cast< int >(val3
);
10763 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
10769 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
10773 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
10774 if (!SWIG_IsOK(ecode6
)) {
10775 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "SashWindow_Create" "', expected argument " "6"" of type '" "long""'");
10777 arg6
= static_cast< long >(val6
);
10781 arg7
= wxString_in_helper(obj6
);
10782 if (arg7
== NULL
) SWIG_fail
;
10787 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10788 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
10789 wxPyEndAllowThreads(__tstate
);
10790 if (PyErr_Occurred()) SWIG_fail
;
10793 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10809 SWIGINTERN PyObject
*_wrap_SashWindow_SetSashVisible(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10810 PyObject
*resultobj
= 0;
10811 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
10812 wxSashEdgePosition arg2
;
10820 PyObject
* obj0
= 0 ;
10821 PyObject
* obj1
= 0 ;
10822 PyObject
* obj2
= 0 ;
10823 char * kwnames
[] = {
10824 (char *) "self",(char *) "edge",(char *) "sash", NULL
10827 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SashWindow_SetSashVisible",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
10828 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSashWindow
, 0 | 0 );
10829 if (!SWIG_IsOK(res1
)) {
10830 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashWindow_SetSashVisible" "', expected argument " "1"" of type '" "wxSashWindow *""'");
10832 arg1
= reinterpret_cast< wxSashWindow
* >(argp1
);
10833 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10834 if (!SWIG_IsOK(ecode2
)) {
10835 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SashWindow_SetSashVisible" "', expected argument " "2"" of type '" "wxSashEdgePosition""'");
10837 arg2
= static_cast< wxSashEdgePosition
>(val2
);
10838 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
10839 if (!SWIG_IsOK(ecode3
)) {
10840 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "SashWindow_SetSashVisible" "', expected argument " "3"" of type '" "bool""'");
10842 arg3
= static_cast< bool >(val3
);
10844 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10845 (arg1
)->SetSashVisible(arg2
,arg3
);
10846 wxPyEndAllowThreads(__tstate
);
10847 if (PyErr_Occurred()) SWIG_fail
;
10849 resultobj
= SWIG_Py_Void();
10856 SWIGINTERN PyObject
*_wrap_SashWindow_GetSashVisible(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10857 PyObject
*resultobj
= 0;
10858 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
10859 wxSashEdgePosition arg2
;
10865 PyObject
* obj0
= 0 ;
10866 PyObject
* obj1
= 0 ;
10867 char * kwnames
[] = {
10868 (char *) "self",(char *) "edge", NULL
10871 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_GetSashVisible",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10872 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSashWindow
, 0 | 0 );
10873 if (!SWIG_IsOK(res1
)) {
10874 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashWindow_GetSashVisible" "', expected argument " "1"" of type '" "wxSashWindow const *""'");
10876 arg1
= reinterpret_cast< wxSashWindow
* >(argp1
);
10877 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10878 if (!SWIG_IsOK(ecode2
)) {
10879 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SashWindow_GetSashVisible" "', expected argument " "2"" of type '" "wxSashEdgePosition""'");
10881 arg2
= static_cast< wxSashEdgePosition
>(val2
);
10883 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10884 result
= (bool)((wxSashWindow
const *)arg1
)->GetSashVisible(arg2
);
10885 wxPyEndAllowThreads(__tstate
);
10886 if (PyErr_Occurred()) SWIG_fail
;
10889 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10897 SWIGINTERN PyObject
*_wrap_SashWindow_SetSashBorder(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10898 PyObject
*resultobj
= 0;
10899 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
10900 wxSashEdgePosition arg2
;
10908 PyObject
* obj0
= 0 ;
10909 PyObject
* obj1
= 0 ;
10910 PyObject
* obj2
= 0 ;
10911 char * kwnames
[] = {
10912 (char *) "self",(char *) "edge",(char *) "border", NULL
10915 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SashWindow_SetSashBorder",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
10916 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSashWindow
, 0 | 0 );
10917 if (!SWIG_IsOK(res1
)) {
10918 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashWindow_SetSashBorder" "', expected argument " "1"" of type '" "wxSashWindow *""'");
10920 arg1
= reinterpret_cast< wxSashWindow
* >(argp1
);
10921 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10922 if (!SWIG_IsOK(ecode2
)) {
10923 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SashWindow_SetSashBorder" "', expected argument " "2"" of type '" "wxSashEdgePosition""'");
10925 arg2
= static_cast< wxSashEdgePosition
>(val2
);
10926 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
10927 if (!SWIG_IsOK(ecode3
)) {
10928 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "SashWindow_SetSashBorder" "', expected argument " "3"" of type '" "bool""'");
10930 arg3
= static_cast< bool >(val3
);
10932 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10933 (arg1
)->SetSashBorder(arg2
,arg3
);
10934 wxPyEndAllowThreads(__tstate
);
10935 if (PyErr_Occurred()) SWIG_fail
;
10937 resultobj
= SWIG_Py_Void();
10944 SWIGINTERN PyObject
*_wrap_SashWindow_HasBorder(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10945 PyObject
*resultobj
= 0;
10946 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
10947 wxSashEdgePosition arg2
;
10953 PyObject
* obj0
= 0 ;
10954 PyObject
* obj1
= 0 ;
10955 char * kwnames
[] = {
10956 (char *) "self",(char *) "edge", NULL
10959 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_HasBorder",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10960 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSashWindow
, 0 | 0 );
10961 if (!SWIG_IsOK(res1
)) {
10962 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashWindow_HasBorder" "', expected argument " "1"" of type '" "wxSashWindow const *""'");
10964 arg1
= reinterpret_cast< wxSashWindow
* >(argp1
);
10965 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10966 if (!SWIG_IsOK(ecode2
)) {
10967 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SashWindow_HasBorder" "', expected argument " "2"" of type '" "wxSashEdgePosition""'");
10969 arg2
= static_cast< wxSashEdgePosition
>(val2
);
10971 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10972 result
= (bool)((wxSashWindow
const *)arg1
)->HasBorder(arg2
);
10973 wxPyEndAllowThreads(__tstate
);
10974 if (PyErr_Occurred()) SWIG_fail
;
10977 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10985 SWIGINTERN PyObject
*_wrap_SashWindow_GetEdgeMargin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10986 PyObject
*resultobj
= 0;
10987 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
10988 wxSashEdgePosition arg2
;
10994 PyObject
* obj0
= 0 ;
10995 PyObject
* obj1
= 0 ;
10996 char * kwnames
[] = {
10997 (char *) "self",(char *) "edge", NULL
11000 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_GetEdgeMargin",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11001 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSashWindow
, 0 | 0 );
11002 if (!SWIG_IsOK(res1
)) {
11003 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashWindow_GetEdgeMargin" "', expected argument " "1"" of type '" "wxSashWindow const *""'");
11005 arg1
= reinterpret_cast< wxSashWindow
* >(argp1
);
11006 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11007 if (!SWIG_IsOK(ecode2
)) {
11008 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SashWindow_GetEdgeMargin" "', expected argument " "2"" of type '" "wxSashEdgePosition""'");
11010 arg2
= static_cast< wxSashEdgePosition
>(val2
);
11012 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11013 result
= (int)((wxSashWindow
const *)arg1
)->GetEdgeMargin(arg2
);
11014 wxPyEndAllowThreads(__tstate
);
11015 if (PyErr_Occurred()) SWIG_fail
;
11017 resultobj
= SWIG_From_int(static_cast< int >(result
));
11024 SWIGINTERN PyObject
*_wrap_SashWindow_SetDefaultBorderSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11025 PyObject
*resultobj
= 0;
11026 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
11032 PyObject
* obj0
= 0 ;
11033 PyObject
* obj1
= 0 ;
11034 char * kwnames
[] = {
11035 (char *) "self",(char *) "width", NULL
11038 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_SetDefaultBorderSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11039 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSashWindow
, 0 | 0 );
11040 if (!SWIG_IsOK(res1
)) {
11041 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashWindow_SetDefaultBorderSize" "', expected argument " "1"" of type '" "wxSashWindow *""'");
11043 arg1
= reinterpret_cast< wxSashWindow
* >(argp1
);
11044 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11045 if (!SWIG_IsOK(ecode2
)) {
11046 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SashWindow_SetDefaultBorderSize" "', expected argument " "2"" of type '" "int""'");
11048 arg2
= static_cast< int >(val2
);
11050 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11051 (arg1
)->SetDefaultBorderSize(arg2
);
11052 wxPyEndAllowThreads(__tstate
);
11053 if (PyErr_Occurred()) SWIG_fail
;
11055 resultobj
= SWIG_Py_Void();
11062 SWIGINTERN PyObject
*_wrap_SashWindow_GetDefaultBorderSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11063 PyObject
*resultobj
= 0;
11064 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
11068 PyObject
*swig_obj
[1] ;
11070 if (!args
) SWIG_fail
;
11071 swig_obj
[0] = args
;
11072 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSashWindow
, 0 | 0 );
11073 if (!SWIG_IsOK(res1
)) {
11074 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashWindow_GetDefaultBorderSize" "', expected argument " "1"" of type '" "wxSashWindow const *""'");
11076 arg1
= reinterpret_cast< wxSashWindow
* >(argp1
);
11078 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11079 result
= (int)((wxSashWindow
const *)arg1
)->GetDefaultBorderSize();
11080 wxPyEndAllowThreads(__tstate
);
11081 if (PyErr_Occurred()) SWIG_fail
;
11083 resultobj
= SWIG_From_int(static_cast< int >(result
));
11090 SWIGINTERN PyObject
*_wrap_SashWindow_SetExtraBorderSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11091 PyObject
*resultobj
= 0;
11092 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
11098 PyObject
* obj0
= 0 ;
11099 PyObject
* obj1
= 0 ;
11100 char * kwnames
[] = {
11101 (char *) "self",(char *) "width", NULL
11104 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_SetExtraBorderSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11105 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSashWindow
, 0 | 0 );
11106 if (!SWIG_IsOK(res1
)) {
11107 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashWindow_SetExtraBorderSize" "', expected argument " "1"" of type '" "wxSashWindow *""'");
11109 arg1
= reinterpret_cast< wxSashWindow
* >(argp1
);
11110 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11111 if (!SWIG_IsOK(ecode2
)) {
11112 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SashWindow_SetExtraBorderSize" "', expected argument " "2"" of type '" "int""'");
11114 arg2
= static_cast< int >(val2
);
11116 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11117 (arg1
)->SetExtraBorderSize(arg2
);
11118 wxPyEndAllowThreads(__tstate
);
11119 if (PyErr_Occurred()) SWIG_fail
;
11121 resultobj
= SWIG_Py_Void();
11128 SWIGINTERN PyObject
*_wrap_SashWindow_GetExtraBorderSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11129 PyObject
*resultobj
= 0;
11130 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
11134 PyObject
*swig_obj
[1] ;
11136 if (!args
) SWIG_fail
;
11137 swig_obj
[0] = args
;
11138 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSashWindow
, 0 | 0 );
11139 if (!SWIG_IsOK(res1
)) {
11140 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashWindow_GetExtraBorderSize" "', expected argument " "1"" of type '" "wxSashWindow const *""'");
11142 arg1
= reinterpret_cast< wxSashWindow
* >(argp1
);
11144 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11145 result
= (int)((wxSashWindow
const *)arg1
)->GetExtraBorderSize();
11146 wxPyEndAllowThreads(__tstate
);
11147 if (PyErr_Occurred()) SWIG_fail
;
11149 resultobj
= SWIG_From_int(static_cast< int >(result
));
11156 SWIGINTERN PyObject
*_wrap_SashWindow_SetMinimumSizeX(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11157 PyObject
*resultobj
= 0;
11158 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
11164 PyObject
* obj0
= 0 ;
11165 PyObject
* obj1
= 0 ;
11166 char * kwnames
[] = {
11167 (char *) "self",(char *) "min", NULL
11170 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_SetMinimumSizeX",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11171 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSashWindow
, 0 | 0 );
11172 if (!SWIG_IsOK(res1
)) {
11173 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashWindow_SetMinimumSizeX" "', expected argument " "1"" of type '" "wxSashWindow *""'");
11175 arg1
= reinterpret_cast< wxSashWindow
* >(argp1
);
11176 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11177 if (!SWIG_IsOK(ecode2
)) {
11178 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SashWindow_SetMinimumSizeX" "', expected argument " "2"" of type '" "int""'");
11180 arg2
= static_cast< int >(val2
);
11182 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11183 (arg1
)->SetMinimumSizeX(arg2
);
11184 wxPyEndAllowThreads(__tstate
);
11185 if (PyErr_Occurred()) SWIG_fail
;
11187 resultobj
= SWIG_Py_Void();
11194 SWIGINTERN PyObject
*_wrap_SashWindow_SetMinimumSizeY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11195 PyObject
*resultobj
= 0;
11196 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
11202 PyObject
* obj0
= 0 ;
11203 PyObject
* obj1
= 0 ;
11204 char * kwnames
[] = {
11205 (char *) "self",(char *) "min", NULL
11208 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_SetMinimumSizeY",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11209 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSashWindow
, 0 | 0 );
11210 if (!SWIG_IsOK(res1
)) {
11211 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashWindow_SetMinimumSizeY" "', expected argument " "1"" of type '" "wxSashWindow *""'");
11213 arg1
= reinterpret_cast< wxSashWindow
* >(argp1
);
11214 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11215 if (!SWIG_IsOK(ecode2
)) {
11216 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SashWindow_SetMinimumSizeY" "', expected argument " "2"" of type '" "int""'");
11218 arg2
= static_cast< int >(val2
);
11220 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11221 (arg1
)->SetMinimumSizeY(arg2
);
11222 wxPyEndAllowThreads(__tstate
);
11223 if (PyErr_Occurred()) SWIG_fail
;
11225 resultobj
= SWIG_Py_Void();
11232 SWIGINTERN PyObject
*_wrap_SashWindow_GetMinimumSizeX(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11233 PyObject
*resultobj
= 0;
11234 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
11238 PyObject
*swig_obj
[1] ;
11240 if (!args
) SWIG_fail
;
11241 swig_obj
[0] = args
;
11242 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSashWindow
, 0 | 0 );
11243 if (!SWIG_IsOK(res1
)) {
11244 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashWindow_GetMinimumSizeX" "', expected argument " "1"" of type '" "wxSashWindow const *""'");
11246 arg1
= reinterpret_cast< wxSashWindow
* >(argp1
);
11248 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11249 result
= (int)((wxSashWindow
const *)arg1
)->GetMinimumSizeX();
11250 wxPyEndAllowThreads(__tstate
);
11251 if (PyErr_Occurred()) SWIG_fail
;
11253 resultobj
= SWIG_From_int(static_cast< int >(result
));
11260 SWIGINTERN PyObject
*_wrap_SashWindow_GetMinimumSizeY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11261 PyObject
*resultobj
= 0;
11262 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
11266 PyObject
*swig_obj
[1] ;
11268 if (!args
) SWIG_fail
;
11269 swig_obj
[0] = args
;
11270 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSashWindow
, 0 | 0 );
11271 if (!SWIG_IsOK(res1
)) {
11272 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashWindow_GetMinimumSizeY" "', expected argument " "1"" of type '" "wxSashWindow const *""'");
11274 arg1
= reinterpret_cast< wxSashWindow
* >(argp1
);
11276 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11277 result
= (int)((wxSashWindow
const *)arg1
)->GetMinimumSizeY();
11278 wxPyEndAllowThreads(__tstate
);
11279 if (PyErr_Occurred()) SWIG_fail
;
11281 resultobj
= SWIG_From_int(static_cast< int >(result
));
11288 SWIGINTERN PyObject
*_wrap_SashWindow_SetMaximumSizeX(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11289 PyObject
*resultobj
= 0;
11290 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
11296 PyObject
* obj0
= 0 ;
11297 PyObject
* obj1
= 0 ;
11298 char * kwnames
[] = {
11299 (char *) "self",(char *) "max", NULL
11302 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_SetMaximumSizeX",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11303 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSashWindow
, 0 | 0 );
11304 if (!SWIG_IsOK(res1
)) {
11305 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashWindow_SetMaximumSizeX" "', expected argument " "1"" of type '" "wxSashWindow *""'");
11307 arg1
= reinterpret_cast< wxSashWindow
* >(argp1
);
11308 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11309 if (!SWIG_IsOK(ecode2
)) {
11310 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SashWindow_SetMaximumSizeX" "', expected argument " "2"" of type '" "int""'");
11312 arg2
= static_cast< int >(val2
);
11314 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11315 (arg1
)->SetMaximumSizeX(arg2
);
11316 wxPyEndAllowThreads(__tstate
);
11317 if (PyErr_Occurred()) SWIG_fail
;
11319 resultobj
= SWIG_Py_Void();
11326 SWIGINTERN PyObject
*_wrap_SashWindow_SetMaximumSizeY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11327 PyObject
*resultobj
= 0;
11328 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
11334 PyObject
* obj0
= 0 ;
11335 PyObject
* obj1
= 0 ;
11336 char * kwnames
[] = {
11337 (char *) "self",(char *) "max", NULL
11340 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_SetMaximumSizeY",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11341 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSashWindow
, 0 | 0 );
11342 if (!SWIG_IsOK(res1
)) {
11343 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashWindow_SetMaximumSizeY" "', expected argument " "1"" of type '" "wxSashWindow *""'");
11345 arg1
= reinterpret_cast< wxSashWindow
* >(argp1
);
11346 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11347 if (!SWIG_IsOK(ecode2
)) {
11348 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SashWindow_SetMaximumSizeY" "', expected argument " "2"" of type '" "int""'");
11350 arg2
= static_cast< int >(val2
);
11352 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11353 (arg1
)->SetMaximumSizeY(arg2
);
11354 wxPyEndAllowThreads(__tstate
);
11355 if (PyErr_Occurred()) SWIG_fail
;
11357 resultobj
= SWIG_Py_Void();
11364 SWIGINTERN PyObject
*_wrap_SashWindow_GetMaximumSizeX(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11365 PyObject
*resultobj
= 0;
11366 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
11370 PyObject
*swig_obj
[1] ;
11372 if (!args
) SWIG_fail
;
11373 swig_obj
[0] = args
;
11374 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSashWindow
, 0 | 0 );
11375 if (!SWIG_IsOK(res1
)) {
11376 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashWindow_GetMaximumSizeX" "', expected argument " "1"" of type '" "wxSashWindow const *""'");
11378 arg1
= reinterpret_cast< wxSashWindow
* >(argp1
);
11380 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11381 result
= (int)((wxSashWindow
const *)arg1
)->GetMaximumSizeX();
11382 wxPyEndAllowThreads(__tstate
);
11383 if (PyErr_Occurred()) SWIG_fail
;
11385 resultobj
= SWIG_From_int(static_cast< int >(result
));
11392 SWIGINTERN PyObject
*_wrap_SashWindow_GetMaximumSizeY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11393 PyObject
*resultobj
= 0;
11394 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
11398 PyObject
*swig_obj
[1] ;
11400 if (!args
) SWIG_fail
;
11401 swig_obj
[0] = args
;
11402 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSashWindow
, 0 | 0 );
11403 if (!SWIG_IsOK(res1
)) {
11404 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashWindow_GetMaximumSizeY" "', expected argument " "1"" of type '" "wxSashWindow const *""'");
11406 arg1
= reinterpret_cast< wxSashWindow
* >(argp1
);
11408 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11409 result
= (int)((wxSashWindow
const *)arg1
)->GetMaximumSizeY();
11410 wxPyEndAllowThreads(__tstate
);
11411 if (PyErr_Occurred()) SWIG_fail
;
11413 resultobj
= SWIG_From_int(static_cast< int >(result
));
11420 SWIGINTERN PyObject
*_wrap_SashWindow_SashHitTest(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11421 PyObject
*resultobj
= 0;
11422 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
11425 int arg4
= (int) 2 ;
11426 wxSashEdgePosition result
;
11435 PyObject
* obj0
= 0 ;
11436 PyObject
* obj1
= 0 ;
11437 PyObject
* obj2
= 0 ;
11438 PyObject
* obj3
= 0 ;
11439 char * kwnames
[] = {
11440 (char *) "self",(char *) "x",(char *) "y",(char *) "tolerance", NULL
11443 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:SashWindow_SashHitTest",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
11444 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSashWindow
, 0 | 0 );
11445 if (!SWIG_IsOK(res1
)) {
11446 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashWindow_SashHitTest" "', expected argument " "1"" of type '" "wxSashWindow *""'");
11448 arg1
= reinterpret_cast< wxSashWindow
* >(argp1
);
11449 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11450 if (!SWIG_IsOK(ecode2
)) {
11451 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SashWindow_SashHitTest" "', expected argument " "2"" of type '" "int""'");
11453 arg2
= static_cast< int >(val2
);
11454 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
11455 if (!SWIG_IsOK(ecode3
)) {
11456 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "SashWindow_SashHitTest" "', expected argument " "3"" of type '" "int""'");
11458 arg3
= static_cast< int >(val3
);
11460 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
11461 if (!SWIG_IsOK(ecode4
)) {
11462 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "SashWindow_SashHitTest" "', expected argument " "4"" of type '" "int""'");
11464 arg4
= static_cast< int >(val4
);
11467 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11468 result
= (wxSashEdgePosition
)(arg1
)->SashHitTest(arg2
,arg3
,arg4
);
11469 wxPyEndAllowThreads(__tstate
);
11470 if (PyErr_Occurred()) SWIG_fail
;
11472 resultobj
= SWIG_From_int(static_cast< int >(result
));
11479 SWIGINTERN PyObject
*_wrap_SashWindow_SizeWindows(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11480 PyObject
*resultobj
= 0;
11481 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
11484 PyObject
*swig_obj
[1] ;
11486 if (!args
) SWIG_fail
;
11487 swig_obj
[0] = args
;
11488 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSashWindow
, 0 | 0 );
11489 if (!SWIG_IsOK(res1
)) {
11490 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashWindow_SizeWindows" "', expected argument " "1"" of type '" "wxSashWindow *""'");
11492 arg1
= reinterpret_cast< wxSashWindow
* >(argp1
);
11494 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11495 (arg1
)->SizeWindows();
11496 wxPyEndAllowThreads(__tstate
);
11497 if (PyErr_Occurred()) SWIG_fail
;
11499 resultobj
= SWIG_Py_Void();
11506 SWIGINTERN PyObject
*SashWindow_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11508 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
11509 SWIG_TypeNewClientData(SWIGTYPE_p_wxSashWindow
, SWIG_NewClientData(obj
));
11510 return SWIG_Py_Void();
11513 SWIGINTERN PyObject
*SashWindow_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11514 return SWIG_Python_InitShadowInstance(args
);
11517 SWIGINTERN PyObject
*_wrap_new_SashEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11518 PyObject
*resultobj
= 0;
11519 int arg1
= (int) 0 ;
11520 wxSashEdgePosition arg2
= (wxSashEdgePosition
) wxSASH_NONE
;
11521 wxSashEvent
*result
= 0 ;
11526 PyObject
* obj0
= 0 ;
11527 PyObject
* obj1
= 0 ;
11528 char * kwnames
[] = {
11529 (char *) "id",(char *) "edge", NULL
11532 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_SashEvent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11534 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
11535 if (!SWIG_IsOK(ecode1
)) {
11536 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_SashEvent" "', expected argument " "1"" of type '" "int""'");
11538 arg1
= static_cast< int >(val1
);
11541 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11542 if (!SWIG_IsOK(ecode2
)) {
11543 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_SashEvent" "', expected argument " "2"" of type '" "wxSashEdgePosition""'");
11545 arg2
= static_cast< wxSashEdgePosition
>(val2
);
11548 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11549 result
= (wxSashEvent
*)new wxSashEvent(arg1
,arg2
);
11550 wxPyEndAllowThreads(__tstate
);
11551 if (PyErr_Occurred()) SWIG_fail
;
11553 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSashEvent
, SWIG_POINTER_NEW
| 0 );
11560 SWIGINTERN PyObject
*_wrap_SashEvent_SetEdge(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11561 PyObject
*resultobj
= 0;
11562 wxSashEvent
*arg1
= (wxSashEvent
*) 0 ;
11563 wxSashEdgePosition arg2
;
11568 PyObject
* obj0
= 0 ;
11569 PyObject
* obj1
= 0 ;
11570 char * kwnames
[] = {
11571 (char *) "self",(char *) "edge", NULL
11574 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashEvent_SetEdge",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11575 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSashEvent
, 0 | 0 );
11576 if (!SWIG_IsOK(res1
)) {
11577 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashEvent_SetEdge" "', expected argument " "1"" of type '" "wxSashEvent *""'");
11579 arg1
= reinterpret_cast< wxSashEvent
* >(argp1
);
11580 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11581 if (!SWIG_IsOK(ecode2
)) {
11582 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SashEvent_SetEdge" "', expected argument " "2"" of type '" "wxSashEdgePosition""'");
11584 arg2
= static_cast< wxSashEdgePosition
>(val2
);
11586 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11587 (arg1
)->SetEdge(arg2
);
11588 wxPyEndAllowThreads(__tstate
);
11589 if (PyErr_Occurred()) SWIG_fail
;
11591 resultobj
= SWIG_Py_Void();
11598 SWIGINTERN PyObject
*_wrap_SashEvent_GetEdge(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11599 PyObject
*resultobj
= 0;
11600 wxSashEvent
*arg1
= (wxSashEvent
*) 0 ;
11601 wxSashEdgePosition result
;
11604 PyObject
*swig_obj
[1] ;
11606 if (!args
) SWIG_fail
;
11607 swig_obj
[0] = args
;
11608 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSashEvent
, 0 | 0 );
11609 if (!SWIG_IsOK(res1
)) {
11610 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashEvent_GetEdge" "', expected argument " "1"" of type '" "wxSashEvent const *""'");
11612 arg1
= reinterpret_cast< wxSashEvent
* >(argp1
);
11614 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11615 result
= (wxSashEdgePosition
)((wxSashEvent
const *)arg1
)->GetEdge();
11616 wxPyEndAllowThreads(__tstate
);
11617 if (PyErr_Occurred()) SWIG_fail
;
11619 resultobj
= SWIG_From_int(static_cast< int >(result
));
11626 SWIGINTERN PyObject
*_wrap_SashEvent_SetDragRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11627 PyObject
*resultobj
= 0;
11628 wxSashEvent
*arg1
= (wxSashEvent
*) 0 ;
11633 PyObject
* obj0
= 0 ;
11634 PyObject
* obj1
= 0 ;
11635 char * kwnames
[] = {
11636 (char *) "self",(char *) "rect", NULL
11639 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashEvent_SetDragRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11640 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSashEvent
, 0 | 0 );
11641 if (!SWIG_IsOK(res1
)) {
11642 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashEvent_SetDragRect" "', expected argument " "1"" of type '" "wxSashEvent *""'");
11644 arg1
= reinterpret_cast< wxSashEvent
* >(argp1
);
11647 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
11650 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11651 (arg1
)->SetDragRect((wxRect
const &)*arg2
);
11652 wxPyEndAllowThreads(__tstate
);
11653 if (PyErr_Occurred()) SWIG_fail
;
11655 resultobj
= SWIG_Py_Void();
11662 SWIGINTERN PyObject
*_wrap_SashEvent_GetDragRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11663 PyObject
*resultobj
= 0;
11664 wxSashEvent
*arg1
= (wxSashEvent
*) 0 ;
11668 PyObject
*swig_obj
[1] ;
11670 if (!args
) SWIG_fail
;
11671 swig_obj
[0] = args
;
11672 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSashEvent
, 0 | 0 );
11673 if (!SWIG_IsOK(res1
)) {
11674 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashEvent_GetDragRect" "', expected argument " "1"" of type '" "wxSashEvent const *""'");
11676 arg1
= reinterpret_cast< wxSashEvent
* >(argp1
);
11678 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11679 result
= ((wxSashEvent
const *)arg1
)->GetDragRect();
11680 wxPyEndAllowThreads(__tstate
);
11681 if (PyErr_Occurred()) SWIG_fail
;
11683 resultobj
= SWIG_NewPointerObj((new wxRect(static_cast< const wxRect
& >(result
))), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN
| 0 );
11690 SWIGINTERN PyObject
*_wrap_SashEvent_SetDragStatus(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11691 PyObject
*resultobj
= 0;
11692 wxSashEvent
*arg1
= (wxSashEvent
*) 0 ;
11693 wxSashDragStatus arg2
;
11698 PyObject
* obj0
= 0 ;
11699 PyObject
* obj1
= 0 ;
11700 char * kwnames
[] = {
11701 (char *) "self",(char *) "status", NULL
11704 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashEvent_SetDragStatus",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11705 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSashEvent
, 0 | 0 );
11706 if (!SWIG_IsOK(res1
)) {
11707 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashEvent_SetDragStatus" "', expected argument " "1"" of type '" "wxSashEvent *""'");
11709 arg1
= reinterpret_cast< wxSashEvent
* >(argp1
);
11710 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11711 if (!SWIG_IsOK(ecode2
)) {
11712 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SashEvent_SetDragStatus" "', expected argument " "2"" of type '" "wxSashDragStatus""'");
11714 arg2
= static_cast< wxSashDragStatus
>(val2
);
11716 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11717 (arg1
)->SetDragStatus(arg2
);
11718 wxPyEndAllowThreads(__tstate
);
11719 if (PyErr_Occurred()) SWIG_fail
;
11721 resultobj
= SWIG_Py_Void();
11728 SWIGINTERN PyObject
*_wrap_SashEvent_GetDragStatus(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11729 PyObject
*resultobj
= 0;
11730 wxSashEvent
*arg1
= (wxSashEvent
*) 0 ;
11731 wxSashDragStatus result
;
11734 PyObject
*swig_obj
[1] ;
11736 if (!args
) SWIG_fail
;
11737 swig_obj
[0] = args
;
11738 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSashEvent
, 0 | 0 );
11739 if (!SWIG_IsOK(res1
)) {
11740 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashEvent_GetDragStatus" "', expected argument " "1"" of type '" "wxSashEvent const *""'");
11742 arg1
= reinterpret_cast< wxSashEvent
* >(argp1
);
11744 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11745 result
= (wxSashDragStatus
)((wxSashEvent
const *)arg1
)->GetDragStatus();
11746 wxPyEndAllowThreads(__tstate
);
11747 if (PyErr_Occurred()) SWIG_fail
;
11749 resultobj
= SWIG_From_int(static_cast< int >(result
));
11756 SWIGINTERN PyObject
*SashEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11758 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
11759 SWIG_TypeNewClientData(SWIGTYPE_p_wxSashEvent
, SWIG_NewClientData(obj
));
11760 return SWIG_Py_Void();
11763 SWIGINTERN PyObject
*SashEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11764 return SWIG_Python_InitShadowInstance(args
);
11767 SWIGINTERN PyObject
*_wrap_new_QueryLayoutInfoEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11768 PyObject
*resultobj
= 0;
11769 int arg1
= (int) 0 ;
11770 wxQueryLayoutInfoEvent
*result
= 0 ;
11773 PyObject
* obj0
= 0 ;
11774 char * kwnames
[] = {
11775 (char *) "id", NULL
11778 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_QueryLayoutInfoEvent",kwnames
,&obj0
)) SWIG_fail
;
11780 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
11781 if (!SWIG_IsOK(ecode1
)) {
11782 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_QueryLayoutInfoEvent" "', expected argument " "1"" of type '" "int""'");
11784 arg1
= static_cast< int >(val1
);
11787 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11788 result
= (wxQueryLayoutInfoEvent
*)new wxQueryLayoutInfoEvent(arg1
);
11789 wxPyEndAllowThreads(__tstate
);
11790 if (PyErr_Occurred()) SWIG_fail
;
11792 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxQueryLayoutInfoEvent
, SWIG_POINTER_NEW
| 0 );
11799 SWIGINTERN PyObject
*_wrap_QueryLayoutInfoEvent_SetRequestedLength(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11800 PyObject
*resultobj
= 0;
11801 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
11807 PyObject
* obj0
= 0 ;
11808 PyObject
* obj1
= 0 ;
11809 char * kwnames
[] = {
11810 (char *) "self",(char *) "length", NULL
11813 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:QueryLayoutInfoEvent_SetRequestedLength",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11814 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxQueryLayoutInfoEvent
, 0 | 0 );
11815 if (!SWIG_IsOK(res1
)) {
11816 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "QueryLayoutInfoEvent_SetRequestedLength" "', expected argument " "1"" of type '" "wxQueryLayoutInfoEvent *""'");
11818 arg1
= reinterpret_cast< wxQueryLayoutInfoEvent
* >(argp1
);
11819 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11820 if (!SWIG_IsOK(ecode2
)) {
11821 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "QueryLayoutInfoEvent_SetRequestedLength" "', expected argument " "2"" of type '" "int""'");
11823 arg2
= static_cast< int >(val2
);
11825 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11826 (arg1
)->SetRequestedLength(arg2
);
11827 wxPyEndAllowThreads(__tstate
);
11828 if (PyErr_Occurred()) SWIG_fail
;
11830 resultobj
= SWIG_Py_Void();
11837 SWIGINTERN PyObject
*_wrap_QueryLayoutInfoEvent_GetRequestedLength(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11838 PyObject
*resultobj
= 0;
11839 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
11843 PyObject
*swig_obj
[1] ;
11845 if (!args
) SWIG_fail
;
11846 swig_obj
[0] = args
;
11847 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxQueryLayoutInfoEvent
, 0 | 0 );
11848 if (!SWIG_IsOK(res1
)) {
11849 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "QueryLayoutInfoEvent_GetRequestedLength" "', expected argument " "1"" of type '" "wxQueryLayoutInfoEvent const *""'");
11851 arg1
= reinterpret_cast< wxQueryLayoutInfoEvent
* >(argp1
);
11853 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11854 result
= (int)((wxQueryLayoutInfoEvent
const *)arg1
)->GetRequestedLength();
11855 wxPyEndAllowThreads(__tstate
);
11856 if (PyErr_Occurred()) SWIG_fail
;
11858 resultobj
= SWIG_From_int(static_cast< int >(result
));
11865 SWIGINTERN PyObject
*_wrap_QueryLayoutInfoEvent_SetFlags(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11866 PyObject
*resultobj
= 0;
11867 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
11873 PyObject
* obj0
= 0 ;
11874 PyObject
* obj1
= 0 ;
11875 char * kwnames
[] = {
11876 (char *) "self",(char *) "flags", NULL
11879 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:QueryLayoutInfoEvent_SetFlags",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11880 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxQueryLayoutInfoEvent
, 0 | 0 );
11881 if (!SWIG_IsOK(res1
)) {
11882 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "QueryLayoutInfoEvent_SetFlags" "', expected argument " "1"" of type '" "wxQueryLayoutInfoEvent *""'");
11884 arg1
= reinterpret_cast< wxQueryLayoutInfoEvent
* >(argp1
);
11885 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11886 if (!SWIG_IsOK(ecode2
)) {
11887 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "QueryLayoutInfoEvent_SetFlags" "', expected argument " "2"" of type '" "int""'");
11889 arg2
= static_cast< int >(val2
);
11891 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11892 (arg1
)->SetFlags(arg2
);
11893 wxPyEndAllowThreads(__tstate
);
11894 if (PyErr_Occurred()) SWIG_fail
;
11896 resultobj
= SWIG_Py_Void();
11903 SWIGINTERN PyObject
*_wrap_QueryLayoutInfoEvent_GetFlags(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11904 PyObject
*resultobj
= 0;
11905 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
11909 PyObject
*swig_obj
[1] ;
11911 if (!args
) SWIG_fail
;
11912 swig_obj
[0] = args
;
11913 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxQueryLayoutInfoEvent
, 0 | 0 );
11914 if (!SWIG_IsOK(res1
)) {
11915 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "QueryLayoutInfoEvent_GetFlags" "', expected argument " "1"" of type '" "wxQueryLayoutInfoEvent const *""'");
11917 arg1
= reinterpret_cast< wxQueryLayoutInfoEvent
* >(argp1
);
11919 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11920 result
= (int)((wxQueryLayoutInfoEvent
const *)arg1
)->GetFlags();
11921 wxPyEndAllowThreads(__tstate
);
11922 if (PyErr_Occurred()) SWIG_fail
;
11924 resultobj
= SWIG_From_int(static_cast< int >(result
));
11931 SWIGINTERN PyObject
*_wrap_QueryLayoutInfoEvent_SetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11932 PyObject
*resultobj
= 0;
11933 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
11938 PyObject
* obj0
= 0 ;
11939 PyObject
* obj1
= 0 ;
11940 char * kwnames
[] = {
11941 (char *) "self",(char *) "size", NULL
11944 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:QueryLayoutInfoEvent_SetSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11945 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxQueryLayoutInfoEvent
, 0 | 0 );
11946 if (!SWIG_IsOK(res1
)) {
11947 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "QueryLayoutInfoEvent_SetSize" "', expected argument " "1"" of type '" "wxQueryLayoutInfoEvent *""'");
11949 arg1
= reinterpret_cast< wxQueryLayoutInfoEvent
* >(argp1
);
11952 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
11955 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11956 (arg1
)->SetSize((wxSize
const &)*arg2
);
11957 wxPyEndAllowThreads(__tstate
);
11958 if (PyErr_Occurred()) SWIG_fail
;
11960 resultobj
= SWIG_Py_Void();
11967 SWIGINTERN PyObject
*_wrap_QueryLayoutInfoEvent_GetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11968 PyObject
*resultobj
= 0;
11969 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
11973 PyObject
*swig_obj
[1] ;
11975 if (!args
) SWIG_fail
;
11976 swig_obj
[0] = args
;
11977 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxQueryLayoutInfoEvent
, 0 | 0 );
11978 if (!SWIG_IsOK(res1
)) {
11979 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "QueryLayoutInfoEvent_GetSize" "', expected argument " "1"" of type '" "wxQueryLayoutInfoEvent const *""'");
11981 arg1
= reinterpret_cast< wxQueryLayoutInfoEvent
* >(argp1
);
11983 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11984 result
= ((wxQueryLayoutInfoEvent
const *)arg1
)->GetSize();
11985 wxPyEndAllowThreads(__tstate
);
11986 if (PyErr_Occurred()) SWIG_fail
;
11988 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
11995 SWIGINTERN PyObject
*_wrap_QueryLayoutInfoEvent_SetOrientation(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11996 PyObject
*resultobj
= 0;
11997 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
11998 wxLayoutOrientation arg2
;
12003 PyObject
* obj0
= 0 ;
12004 PyObject
* obj1
= 0 ;
12005 char * kwnames
[] = {
12006 (char *) "self",(char *) "orient", NULL
12009 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:QueryLayoutInfoEvent_SetOrientation",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12010 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxQueryLayoutInfoEvent
, 0 | 0 );
12011 if (!SWIG_IsOK(res1
)) {
12012 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "QueryLayoutInfoEvent_SetOrientation" "', expected argument " "1"" of type '" "wxQueryLayoutInfoEvent *""'");
12014 arg1
= reinterpret_cast< wxQueryLayoutInfoEvent
* >(argp1
);
12015 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
12016 if (!SWIG_IsOK(ecode2
)) {
12017 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "QueryLayoutInfoEvent_SetOrientation" "', expected argument " "2"" of type '" "wxLayoutOrientation""'");
12019 arg2
= static_cast< wxLayoutOrientation
>(val2
);
12021 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12022 (arg1
)->SetOrientation(arg2
);
12023 wxPyEndAllowThreads(__tstate
);
12024 if (PyErr_Occurred()) SWIG_fail
;
12026 resultobj
= SWIG_Py_Void();
12033 SWIGINTERN PyObject
*_wrap_QueryLayoutInfoEvent_GetOrientation(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12034 PyObject
*resultobj
= 0;
12035 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
12036 wxLayoutOrientation result
;
12039 PyObject
*swig_obj
[1] ;
12041 if (!args
) SWIG_fail
;
12042 swig_obj
[0] = args
;
12043 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxQueryLayoutInfoEvent
, 0 | 0 );
12044 if (!SWIG_IsOK(res1
)) {
12045 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "QueryLayoutInfoEvent_GetOrientation" "', expected argument " "1"" of type '" "wxQueryLayoutInfoEvent const *""'");
12047 arg1
= reinterpret_cast< wxQueryLayoutInfoEvent
* >(argp1
);
12049 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12050 result
= (wxLayoutOrientation
)((wxQueryLayoutInfoEvent
const *)arg1
)->GetOrientation();
12051 wxPyEndAllowThreads(__tstate
);
12052 if (PyErr_Occurred()) SWIG_fail
;
12054 resultobj
= SWIG_From_int(static_cast< int >(result
));
12061 SWIGINTERN PyObject
*_wrap_QueryLayoutInfoEvent_SetAlignment(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12062 PyObject
*resultobj
= 0;
12063 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
12064 wxLayoutAlignment arg2
;
12069 PyObject
* obj0
= 0 ;
12070 PyObject
* obj1
= 0 ;
12071 char * kwnames
[] = {
12072 (char *) "self",(char *) "align", NULL
12075 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:QueryLayoutInfoEvent_SetAlignment",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12076 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxQueryLayoutInfoEvent
, 0 | 0 );
12077 if (!SWIG_IsOK(res1
)) {
12078 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "QueryLayoutInfoEvent_SetAlignment" "', expected argument " "1"" of type '" "wxQueryLayoutInfoEvent *""'");
12080 arg1
= reinterpret_cast< wxQueryLayoutInfoEvent
* >(argp1
);
12081 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
12082 if (!SWIG_IsOK(ecode2
)) {
12083 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "QueryLayoutInfoEvent_SetAlignment" "', expected argument " "2"" of type '" "wxLayoutAlignment""'");
12085 arg2
= static_cast< wxLayoutAlignment
>(val2
);
12087 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12088 (arg1
)->SetAlignment(arg2
);
12089 wxPyEndAllowThreads(__tstate
);
12090 if (PyErr_Occurred()) SWIG_fail
;
12092 resultobj
= SWIG_Py_Void();
12099 SWIGINTERN PyObject
*_wrap_QueryLayoutInfoEvent_GetAlignment(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12100 PyObject
*resultobj
= 0;
12101 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
12102 wxLayoutAlignment result
;
12105 PyObject
*swig_obj
[1] ;
12107 if (!args
) SWIG_fail
;
12108 swig_obj
[0] = args
;
12109 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxQueryLayoutInfoEvent
, 0 | 0 );
12110 if (!SWIG_IsOK(res1
)) {
12111 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "QueryLayoutInfoEvent_GetAlignment" "', expected argument " "1"" of type '" "wxQueryLayoutInfoEvent const *""'");
12113 arg1
= reinterpret_cast< wxQueryLayoutInfoEvent
* >(argp1
);
12115 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12116 result
= (wxLayoutAlignment
)((wxQueryLayoutInfoEvent
const *)arg1
)->GetAlignment();
12117 wxPyEndAllowThreads(__tstate
);
12118 if (PyErr_Occurred()) SWIG_fail
;
12120 resultobj
= SWIG_From_int(static_cast< int >(result
));
12127 SWIGINTERN PyObject
*QueryLayoutInfoEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12129 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
12130 SWIG_TypeNewClientData(SWIGTYPE_p_wxQueryLayoutInfoEvent
, SWIG_NewClientData(obj
));
12131 return SWIG_Py_Void();
12134 SWIGINTERN PyObject
*QueryLayoutInfoEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12135 return SWIG_Python_InitShadowInstance(args
);
12138 SWIGINTERN PyObject
*_wrap_new_CalculateLayoutEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12139 PyObject
*resultobj
= 0;
12140 int arg1
= (int) 0 ;
12141 wxCalculateLayoutEvent
*result
= 0 ;
12144 PyObject
* obj0
= 0 ;
12145 char * kwnames
[] = {
12146 (char *) "id", NULL
12149 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_CalculateLayoutEvent",kwnames
,&obj0
)) SWIG_fail
;
12151 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
12152 if (!SWIG_IsOK(ecode1
)) {
12153 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_CalculateLayoutEvent" "', expected argument " "1"" of type '" "int""'");
12155 arg1
= static_cast< int >(val1
);
12158 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12159 result
= (wxCalculateLayoutEvent
*)new wxCalculateLayoutEvent(arg1
);
12160 wxPyEndAllowThreads(__tstate
);
12161 if (PyErr_Occurred()) SWIG_fail
;
12163 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxCalculateLayoutEvent
, SWIG_POINTER_NEW
| 0 );
12170 SWIGINTERN PyObject
*_wrap_CalculateLayoutEvent_SetFlags(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12171 PyObject
*resultobj
= 0;
12172 wxCalculateLayoutEvent
*arg1
= (wxCalculateLayoutEvent
*) 0 ;
12178 PyObject
* obj0
= 0 ;
12179 PyObject
* obj1
= 0 ;
12180 char * kwnames
[] = {
12181 (char *) "self",(char *) "flags", NULL
12184 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CalculateLayoutEvent_SetFlags",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12185 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxCalculateLayoutEvent
, 0 | 0 );
12186 if (!SWIG_IsOK(res1
)) {
12187 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CalculateLayoutEvent_SetFlags" "', expected argument " "1"" of type '" "wxCalculateLayoutEvent *""'");
12189 arg1
= reinterpret_cast< wxCalculateLayoutEvent
* >(argp1
);
12190 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
12191 if (!SWIG_IsOK(ecode2
)) {
12192 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "CalculateLayoutEvent_SetFlags" "', expected argument " "2"" of type '" "int""'");
12194 arg2
= static_cast< int >(val2
);
12196 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12197 (arg1
)->SetFlags(arg2
);
12198 wxPyEndAllowThreads(__tstate
);
12199 if (PyErr_Occurred()) SWIG_fail
;
12201 resultobj
= SWIG_Py_Void();
12208 SWIGINTERN PyObject
*_wrap_CalculateLayoutEvent_GetFlags(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12209 PyObject
*resultobj
= 0;
12210 wxCalculateLayoutEvent
*arg1
= (wxCalculateLayoutEvent
*) 0 ;
12214 PyObject
*swig_obj
[1] ;
12216 if (!args
) SWIG_fail
;
12217 swig_obj
[0] = args
;
12218 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCalculateLayoutEvent
, 0 | 0 );
12219 if (!SWIG_IsOK(res1
)) {
12220 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CalculateLayoutEvent_GetFlags" "', expected argument " "1"" of type '" "wxCalculateLayoutEvent const *""'");
12222 arg1
= reinterpret_cast< wxCalculateLayoutEvent
* >(argp1
);
12224 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12225 result
= (int)((wxCalculateLayoutEvent
const *)arg1
)->GetFlags();
12226 wxPyEndAllowThreads(__tstate
);
12227 if (PyErr_Occurred()) SWIG_fail
;
12229 resultobj
= SWIG_From_int(static_cast< int >(result
));
12236 SWIGINTERN PyObject
*_wrap_CalculateLayoutEvent_SetRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12237 PyObject
*resultobj
= 0;
12238 wxCalculateLayoutEvent
*arg1
= (wxCalculateLayoutEvent
*) 0 ;
12243 PyObject
* obj0
= 0 ;
12244 PyObject
* obj1
= 0 ;
12245 char * kwnames
[] = {
12246 (char *) "self",(char *) "rect", NULL
12249 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CalculateLayoutEvent_SetRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12250 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxCalculateLayoutEvent
, 0 | 0 );
12251 if (!SWIG_IsOK(res1
)) {
12252 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CalculateLayoutEvent_SetRect" "', expected argument " "1"" of type '" "wxCalculateLayoutEvent *""'");
12254 arg1
= reinterpret_cast< wxCalculateLayoutEvent
* >(argp1
);
12257 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
12260 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12261 (arg1
)->SetRect((wxRect
const &)*arg2
);
12262 wxPyEndAllowThreads(__tstate
);
12263 if (PyErr_Occurred()) SWIG_fail
;
12265 resultobj
= SWIG_Py_Void();
12272 SWIGINTERN PyObject
*_wrap_CalculateLayoutEvent_GetRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12273 PyObject
*resultobj
= 0;
12274 wxCalculateLayoutEvent
*arg1
= (wxCalculateLayoutEvent
*) 0 ;
12278 PyObject
*swig_obj
[1] ;
12280 if (!args
) SWIG_fail
;
12281 swig_obj
[0] = args
;
12282 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCalculateLayoutEvent
, 0 | 0 );
12283 if (!SWIG_IsOK(res1
)) {
12284 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CalculateLayoutEvent_GetRect" "', expected argument " "1"" of type '" "wxCalculateLayoutEvent const *""'");
12286 arg1
= reinterpret_cast< wxCalculateLayoutEvent
* >(argp1
);
12288 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12289 result
= ((wxCalculateLayoutEvent
const *)arg1
)->GetRect();
12290 wxPyEndAllowThreads(__tstate
);
12291 if (PyErr_Occurred()) SWIG_fail
;
12293 resultobj
= SWIG_NewPointerObj((new wxRect(static_cast< const wxRect
& >(result
))), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN
| 0 );
12300 SWIGINTERN PyObject
*CalculateLayoutEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12302 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
12303 SWIG_TypeNewClientData(SWIGTYPE_p_wxCalculateLayoutEvent
, SWIG_NewClientData(obj
));
12304 return SWIG_Py_Void();
12307 SWIGINTERN PyObject
*CalculateLayoutEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12308 return SWIG_Python_InitShadowInstance(args
);
12311 SWIGINTERN PyObject
*_wrap_new_SashLayoutWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12312 PyObject
*resultobj
= 0;
12313 wxWindow
*arg1
= (wxWindow
*) 0 ;
12314 int arg2
= (int) -1 ;
12315 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
12316 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
12317 wxSize
const &arg4_defvalue
= wxDefaultSize
;
12318 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
12319 long arg5
= (long) wxCLIP_CHILDREN
|wxSW_3D
;
12320 wxString
const &arg6_defvalue
= wxPySashLayoutNameStr
;
12321 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
12322 wxSashLayoutWindow
*result
= 0 ;
12331 bool temp6
= false ;
12332 PyObject
* obj0
= 0 ;
12333 PyObject
* obj1
= 0 ;
12334 PyObject
* obj2
= 0 ;
12335 PyObject
* obj3
= 0 ;
12336 PyObject
* obj4
= 0 ;
12337 PyObject
* obj5
= 0 ;
12338 char * kwnames
[] = {
12339 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
12342 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_SashLayoutWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
12343 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
12344 if (!SWIG_IsOK(res1
)) {
12345 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_SashLayoutWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
12347 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
12349 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
12350 if (!SWIG_IsOK(ecode2
)) {
12351 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_SashLayoutWindow" "', expected argument " "2"" of type '" "int""'");
12353 arg2
= static_cast< int >(val2
);
12358 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
12364 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
12368 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
12369 if (!SWIG_IsOK(ecode5
)) {
12370 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_SashLayoutWindow" "', expected argument " "5"" of type '" "long""'");
12372 arg5
= static_cast< long >(val5
);
12376 arg6
= wxString_in_helper(obj5
);
12377 if (arg6
== NULL
) SWIG_fail
;
12382 if (!wxPyCheckForApp()) SWIG_fail
;
12383 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12384 result
= (wxSashLayoutWindow
*)new wxSashLayoutWindow(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
12385 wxPyEndAllowThreads(__tstate
);
12386 if (PyErr_Occurred()) SWIG_fail
;
12388 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSashLayoutWindow
, SWIG_POINTER_NEW
| 0 );
12403 SWIGINTERN PyObject
*_wrap_new_PreSashLayoutWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12404 PyObject
*resultobj
= 0;
12405 wxSashLayoutWindow
*result
= 0 ;
12407 if (!SWIG_Python_UnpackTuple(args
,"new_PreSashLayoutWindow",0,0,0)) SWIG_fail
;
12409 if (!wxPyCheckForApp()) SWIG_fail
;
12410 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12411 result
= (wxSashLayoutWindow
*)new wxSashLayoutWindow();
12412 wxPyEndAllowThreads(__tstate
);
12413 if (PyErr_Occurred()) SWIG_fail
;
12415 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSashLayoutWindow
, SWIG_POINTER_OWN
| 0 );
12422 SWIGINTERN PyObject
*_wrap_SashLayoutWindow_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12423 PyObject
*resultobj
= 0;
12424 wxSashLayoutWindow
*arg1
= (wxSashLayoutWindow
*) 0 ;
12425 wxWindow
*arg2
= (wxWindow
*) 0 ;
12426 int arg3
= (int) -1 ;
12427 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
12428 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
12429 wxSize
const &arg5_defvalue
= wxDefaultSize
;
12430 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
12431 long arg6
= (long) wxCLIP_CHILDREN
|wxSW_3D
;
12432 wxString
const &arg7_defvalue
= wxPySashLayoutNameStr
;
12433 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
12445 bool temp7
= false ;
12446 PyObject
* obj0
= 0 ;
12447 PyObject
* obj1
= 0 ;
12448 PyObject
* obj2
= 0 ;
12449 PyObject
* obj3
= 0 ;
12450 PyObject
* obj4
= 0 ;
12451 PyObject
* obj5
= 0 ;
12452 PyObject
* obj6
= 0 ;
12453 char * kwnames
[] = {
12454 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
12457 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:SashLayoutWindow_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
12458 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSashLayoutWindow
, 0 | 0 );
12459 if (!SWIG_IsOK(res1
)) {
12460 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashLayoutWindow_Create" "', expected argument " "1"" of type '" "wxSashLayoutWindow *""'");
12462 arg1
= reinterpret_cast< wxSashLayoutWindow
* >(argp1
);
12463 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
12464 if (!SWIG_IsOK(res2
)) {
12465 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "SashLayoutWindow_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
12467 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
12469 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
12470 if (!SWIG_IsOK(ecode3
)) {
12471 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "SashLayoutWindow_Create" "', expected argument " "3"" of type '" "int""'");
12473 arg3
= static_cast< int >(val3
);
12478 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
12484 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
12488 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
12489 if (!SWIG_IsOK(ecode6
)) {
12490 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "SashLayoutWindow_Create" "', expected argument " "6"" of type '" "long""'");
12492 arg6
= static_cast< long >(val6
);
12496 arg7
= wxString_in_helper(obj6
);
12497 if (arg7
== NULL
) SWIG_fail
;
12502 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12503 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
12504 wxPyEndAllowThreads(__tstate
);
12505 if (PyErr_Occurred()) SWIG_fail
;
12508 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12524 SWIGINTERN PyObject
*_wrap_SashLayoutWindow_GetAlignment(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12525 PyObject
*resultobj
= 0;
12526 wxSashLayoutWindow
*arg1
= (wxSashLayoutWindow
*) 0 ;
12527 wxLayoutAlignment result
;
12530 PyObject
*swig_obj
[1] ;
12532 if (!args
) SWIG_fail
;
12533 swig_obj
[0] = args
;
12534 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSashLayoutWindow
, 0 | 0 );
12535 if (!SWIG_IsOK(res1
)) {
12536 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashLayoutWindow_GetAlignment" "', expected argument " "1"" of type '" "wxSashLayoutWindow *""'");
12538 arg1
= reinterpret_cast< wxSashLayoutWindow
* >(argp1
);
12540 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12541 result
= (wxLayoutAlignment
)(arg1
)->GetAlignment();
12542 wxPyEndAllowThreads(__tstate
);
12543 if (PyErr_Occurred()) SWIG_fail
;
12545 resultobj
= SWIG_From_int(static_cast< int >(result
));
12552 SWIGINTERN PyObject
*_wrap_SashLayoutWindow_GetOrientation(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12553 PyObject
*resultobj
= 0;
12554 wxSashLayoutWindow
*arg1
= (wxSashLayoutWindow
*) 0 ;
12555 wxLayoutOrientation result
;
12558 PyObject
*swig_obj
[1] ;
12560 if (!args
) SWIG_fail
;
12561 swig_obj
[0] = args
;
12562 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSashLayoutWindow
, 0 | 0 );
12563 if (!SWIG_IsOK(res1
)) {
12564 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashLayoutWindow_GetOrientation" "', expected argument " "1"" of type '" "wxSashLayoutWindow *""'");
12566 arg1
= reinterpret_cast< wxSashLayoutWindow
* >(argp1
);
12568 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12569 result
= (wxLayoutOrientation
)(arg1
)->GetOrientation();
12570 wxPyEndAllowThreads(__tstate
);
12571 if (PyErr_Occurred()) SWIG_fail
;
12573 resultobj
= SWIG_From_int(static_cast< int >(result
));
12580 SWIGINTERN PyObject
*_wrap_SashLayoutWindow_SetAlignment(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12581 PyObject
*resultobj
= 0;
12582 wxSashLayoutWindow
*arg1
= (wxSashLayoutWindow
*) 0 ;
12583 wxLayoutAlignment arg2
;
12588 PyObject
* obj0
= 0 ;
12589 PyObject
* obj1
= 0 ;
12590 char * kwnames
[] = {
12591 (char *) "self",(char *) "alignment", NULL
12594 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashLayoutWindow_SetAlignment",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12595 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSashLayoutWindow
, 0 | 0 );
12596 if (!SWIG_IsOK(res1
)) {
12597 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashLayoutWindow_SetAlignment" "', expected argument " "1"" of type '" "wxSashLayoutWindow *""'");
12599 arg1
= reinterpret_cast< wxSashLayoutWindow
* >(argp1
);
12600 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
12601 if (!SWIG_IsOK(ecode2
)) {
12602 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SashLayoutWindow_SetAlignment" "', expected argument " "2"" of type '" "wxLayoutAlignment""'");
12604 arg2
= static_cast< wxLayoutAlignment
>(val2
);
12606 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12607 (arg1
)->SetAlignment(arg2
);
12608 wxPyEndAllowThreads(__tstate
);
12609 if (PyErr_Occurred()) SWIG_fail
;
12611 resultobj
= SWIG_Py_Void();
12618 SWIGINTERN PyObject
*_wrap_SashLayoutWindow_SetDefaultSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12619 PyObject
*resultobj
= 0;
12620 wxSashLayoutWindow
*arg1
= (wxSashLayoutWindow
*) 0 ;
12625 PyObject
* obj0
= 0 ;
12626 PyObject
* obj1
= 0 ;
12627 char * kwnames
[] = {
12628 (char *) "self",(char *) "size", NULL
12631 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashLayoutWindow_SetDefaultSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12632 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSashLayoutWindow
, 0 | 0 );
12633 if (!SWIG_IsOK(res1
)) {
12634 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashLayoutWindow_SetDefaultSize" "', expected argument " "1"" of type '" "wxSashLayoutWindow *""'");
12636 arg1
= reinterpret_cast< wxSashLayoutWindow
* >(argp1
);
12639 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
12642 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12643 (arg1
)->SetDefaultSize((wxSize
const &)*arg2
);
12644 wxPyEndAllowThreads(__tstate
);
12645 if (PyErr_Occurred()) SWIG_fail
;
12647 resultobj
= SWIG_Py_Void();
12654 SWIGINTERN PyObject
*_wrap_SashLayoutWindow_SetOrientation(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12655 PyObject
*resultobj
= 0;
12656 wxSashLayoutWindow
*arg1
= (wxSashLayoutWindow
*) 0 ;
12657 wxLayoutOrientation arg2
;
12662 PyObject
* obj0
= 0 ;
12663 PyObject
* obj1
= 0 ;
12664 char * kwnames
[] = {
12665 (char *) "self",(char *) "orientation", NULL
12668 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashLayoutWindow_SetOrientation",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12669 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSashLayoutWindow
, 0 | 0 );
12670 if (!SWIG_IsOK(res1
)) {
12671 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashLayoutWindow_SetOrientation" "', expected argument " "1"" of type '" "wxSashLayoutWindow *""'");
12673 arg1
= reinterpret_cast< wxSashLayoutWindow
* >(argp1
);
12674 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
12675 if (!SWIG_IsOK(ecode2
)) {
12676 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SashLayoutWindow_SetOrientation" "', expected argument " "2"" of type '" "wxLayoutOrientation""'");
12678 arg2
= static_cast< wxLayoutOrientation
>(val2
);
12680 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12681 (arg1
)->SetOrientation(arg2
);
12682 wxPyEndAllowThreads(__tstate
);
12683 if (PyErr_Occurred()) SWIG_fail
;
12685 resultobj
= SWIG_Py_Void();
12692 SWIGINTERN PyObject
*SashLayoutWindow_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12694 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
12695 SWIG_TypeNewClientData(SWIGTYPE_p_wxSashLayoutWindow
, SWIG_NewClientData(obj
));
12696 return SWIG_Py_Void();
12699 SWIGINTERN PyObject
*SashLayoutWindow_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12700 return SWIG_Python_InitShadowInstance(args
);
12703 SWIGINTERN PyObject
*_wrap_new_LayoutAlgorithm(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12704 PyObject
*resultobj
= 0;
12705 wxLayoutAlgorithm
*result
= 0 ;
12707 if (!SWIG_Python_UnpackTuple(args
,"new_LayoutAlgorithm",0,0,0)) SWIG_fail
;
12709 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12710 result
= (wxLayoutAlgorithm
*)new wxLayoutAlgorithm();
12711 wxPyEndAllowThreads(__tstate
);
12712 if (PyErr_Occurred()) SWIG_fail
;
12714 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxLayoutAlgorithm
, SWIG_POINTER_NEW
| 0 );
12721 SWIGINTERN PyObject
*_wrap_delete_LayoutAlgorithm(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12722 PyObject
*resultobj
= 0;
12723 wxLayoutAlgorithm
*arg1
= (wxLayoutAlgorithm
*) 0 ;
12726 PyObject
*swig_obj
[1] ;
12728 if (!args
) SWIG_fail
;
12729 swig_obj
[0] = args
;
12730 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLayoutAlgorithm
, SWIG_POINTER_DISOWN
| 0 );
12731 if (!SWIG_IsOK(res1
)) {
12732 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_LayoutAlgorithm" "', expected argument " "1"" of type '" "wxLayoutAlgorithm *""'");
12734 arg1
= reinterpret_cast< wxLayoutAlgorithm
* >(argp1
);
12736 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12739 wxPyEndAllowThreads(__tstate
);
12740 if (PyErr_Occurred()) SWIG_fail
;
12742 resultobj
= SWIG_Py_Void();
12749 SWIGINTERN PyObject
*_wrap_LayoutAlgorithm_LayoutMDIFrame(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12750 PyObject
*resultobj
= 0;
12751 wxLayoutAlgorithm
*arg1
= (wxLayoutAlgorithm
*) 0 ;
12752 wxMDIParentFrame
*arg2
= (wxMDIParentFrame
*) 0 ;
12753 wxRect
*arg3
= (wxRect
*) NULL
;
12761 PyObject
* obj0
= 0 ;
12762 PyObject
* obj1
= 0 ;
12763 PyObject
* obj2
= 0 ;
12764 char * kwnames
[] = {
12765 (char *) "self",(char *) "frame",(char *) "rect", NULL
12768 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:LayoutAlgorithm_LayoutMDIFrame",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
12769 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxLayoutAlgorithm
, 0 | 0 );
12770 if (!SWIG_IsOK(res1
)) {
12771 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "LayoutAlgorithm_LayoutMDIFrame" "', expected argument " "1"" of type '" "wxLayoutAlgorithm *""'");
12773 arg1
= reinterpret_cast< wxLayoutAlgorithm
* >(argp1
);
12774 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxMDIParentFrame
, 0 | 0 );
12775 if (!SWIG_IsOK(res2
)) {
12776 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "LayoutAlgorithm_LayoutMDIFrame" "', expected argument " "2"" of type '" "wxMDIParentFrame *""'");
12778 arg2
= reinterpret_cast< wxMDIParentFrame
* >(argp2
);
12780 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxRect
, 0 | 0 );
12781 if (!SWIG_IsOK(res3
)) {
12782 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "LayoutAlgorithm_LayoutMDIFrame" "', expected argument " "3"" of type '" "wxRect *""'");
12784 arg3
= reinterpret_cast< wxRect
* >(argp3
);
12787 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12788 result
= (bool)(arg1
)->LayoutMDIFrame(arg2
,arg3
);
12789 wxPyEndAllowThreads(__tstate
);
12790 if (PyErr_Occurred()) SWIG_fail
;
12793 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12801 SWIGINTERN PyObject
*_wrap_LayoutAlgorithm_LayoutFrame(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12802 PyObject
*resultobj
= 0;
12803 wxLayoutAlgorithm
*arg1
= (wxLayoutAlgorithm
*) 0 ;
12804 wxFrame
*arg2
= (wxFrame
*) 0 ;
12805 wxWindow
*arg3
= (wxWindow
*) NULL
;
12813 PyObject
* obj0
= 0 ;
12814 PyObject
* obj1
= 0 ;
12815 PyObject
* obj2
= 0 ;
12816 char * kwnames
[] = {
12817 (char *) "self",(char *) "frame",(char *) "mainWindow", NULL
12820 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:LayoutAlgorithm_LayoutFrame",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
12821 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxLayoutAlgorithm
, 0 | 0 );
12822 if (!SWIG_IsOK(res1
)) {
12823 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "LayoutAlgorithm_LayoutFrame" "', expected argument " "1"" of type '" "wxLayoutAlgorithm *""'");
12825 arg1
= reinterpret_cast< wxLayoutAlgorithm
* >(argp1
);
12826 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxFrame
, 0 | 0 );
12827 if (!SWIG_IsOK(res2
)) {
12828 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "LayoutAlgorithm_LayoutFrame" "', expected argument " "2"" of type '" "wxFrame *""'");
12830 arg2
= reinterpret_cast< wxFrame
* >(argp2
);
12832 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxWindow
, 0 | 0 );
12833 if (!SWIG_IsOK(res3
)) {
12834 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "LayoutAlgorithm_LayoutFrame" "', expected argument " "3"" of type '" "wxWindow *""'");
12836 arg3
= reinterpret_cast< wxWindow
* >(argp3
);
12839 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12840 result
= (bool)(arg1
)->LayoutFrame(arg2
,arg3
);
12841 wxPyEndAllowThreads(__tstate
);
12842 if (PyErr_Occurred()) SWIG_fail
;
12845 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12853 SWIGINTERN PyObject
*_wrap_LayoutAlgorithm_LayoutWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12854 PyObject
*resultobj
= 0;
12855 wxLayoutAlgorithm
*arg1
= (wxLayoutAlgorithm
*) 0 ;
12856 wxWindow
*arg2
= (wxWindow
*) 0 ;
12857 wxWindow
*arg3
= (wxWindow
*) NULL
;
12865 PyObject
* obj0
= 0 ;
12866 PyObject
* obj1
= 0 ;
12867 PyObject
* obj2
= 0 ;
12868 char * kwnames
[] = {
12869 (char *) "self",(char *) "parent",(char *) "mainWindow", NULL
12872 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:LayoutAlgorithm_LayoutWindow",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
12873 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxLayoutAlgorithm
, 0 | 0 );
12874 if (!SWIG_IsOK(res1
)) {
12875 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "LayoutAlgorithm_LayoutWindow" "', expected argument " "1"" of type '" "wxLayoutAlgorithm *""'");
12877 arg1
= reinterpret_cast< wxLayoutAlgorithm
* >(argp1
);
12878 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
12879 if (!SWIG_IsOK(res2
)) {
12880 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "LayoutAlgorithm_LayoutWindow" "', expected argument " "2"" of type '" "wxWindow *""'");
12882 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
12884 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxWindow
, 0 | 0 );
12885 if (!SWIG_IsOK(res3
)) {
12886 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "LayoutAlgorithm_LayoutWindow" "', expected argument " "3"" of type '" "wxWindow *""'");
12888 arg3
= reinterpret_cast< wxWindow
* >(argp3
);
12891 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12892 result
= (bool)(arg1
)->LayoutWindow(arg2
,arg3
);
12893 wxPyEndAllowThreads(__tstate
);
12894 if (PyErr_Occurred()) SWIG_fail
;
12897 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12905 SWIGINTERN PyObject
*LayoutAlgorithm_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12907 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
12908 SWIG_TypeNewClientData(SWIGTYPE_p_wxLayoutAlgorithm
, SWIG_NewClientData(obj
));
12909 return SWIG_Py_Void();
12912 SWIGINTERN PyObject
*LayoutAlgorithm_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12913 return SWIG_Python_InitShadowInstance(args
);
12916 SWIGINTERN PyObject
*_wrap_new_PopupWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12917 PyObject
*resultobj
= 0;
12918 wxWindow
*arg1
= (wxWindow
*) 0 ;
12919 int arg2
= (int) wxBORDER_NONE
;
12920 wxPopupWindow
*result
= 0 ;
12925 PyObject
* obj0
= 0 ;
12926 PyObject
* obj1
= 0 ;
12927 char * kwnames
[] = {
12928 (char *) "parent",(char *) "flags", NULL
12931 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_PopupWindow",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12932 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
12933 if (!SWIG_IsOK(res1
)) {
12934 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PopupWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
12936 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
12938 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
12939 if (!SWIG_IsOK(ecode2
)) {
12940 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_PopupWindow" "', expected argument " "2"" of type '" "int""'");
12942 arg2
= static_cast< int >(val2
);
12945 if (!wxPyCheckForApp()) SWIG_fail
;
12946 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12947 result
= (wxPopupWindow
*)new wxPopupWindow(arg1
,arg2
);
12948 wxPyEndAllowThreads(__tstate
);
12949 if (PyErr_Occurred()) SWIG_fail
;
12951 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPopupWindow
, SWIG_POINTER_NEW
| 0 );
12958 SWIGINTERN PyObject
*_wrap_new_PrePopupWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12959 PyObject
*resultobj
= 0;
12960 wxPopupWindow
*result
= 0 ;
12962 if (!SWIG_Python_UnpackTuple(args
,"new_PrePopupWindow",0,0,0)) SWIG_fail
;
12964 if (!wxPyCheckForApp()) SWIG_fail
;
12965 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12966 result
= (wxPopupWindow
*)new wxPopupWindow();
12967 wxPyEndAllowThreads(__tstate
);
12968 if (PyErr_Occurred()) SWIG_fail
;
12970 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPopupWindow
, SWIG_POINTER_OWN
| 0 );
12977 SWIGINTERN PyObject
*_wrap_PopupWindow_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12978 PyObject
*resultobj
= 0;
12979 wxPopupWindow
*arg1
= (wxPopupWindow
*) 0 ;
12980 wxWindow
*arg2
= (wxWindow
*) 0 ;
12981 int arg3
= (int) wxBORDER_NONE
;
12989 PyObject
* obj0
= 0 ;
12990 PyObject
* obj1
= 0 ;
12991 PyObject
* obj2
= 0 ;
12992 char * kwnames
[] = {
12993 (char *) "self",(char *) "parent",(char *) "flags", NULL
12996 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:PopupWindow_Create",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
12997 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPopupWindow
, 0 | 0 );
12998 if (!SWIG_IsOK(res1
)) {
12999 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PopupWindow_Create" "', expected argument " "1"" of type '" "wxPopupWindow *""'");
13001 arg1
= reinterpret_cast< wxPopupWindow
* >(argp1
);
13002 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
13003 if (!SWIG_IsOK(res2
)) {
13004 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PopupWindow_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
13006 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
13008 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
13009 if (!SWIG_IsOK(ecode3
)) {
13010 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PopupWindow_Create" "', expected argument " "3"" of type '" "int""'");
13012 arg3
= static_cast< int >(val3
);
13015 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13016 result
= (bool)(arg1
)->Create(arg2
,arg3
);
13017 wxPyEndAllowThreads(__tstate
);
13018 if (PyErr_Occurred()) SWIG_fail
;
13021 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13029 SWIGINTERN PyObject
*_wrap_PopupWindow_Position(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13030 PyObject
*resultobj
= 0;
13031 wxPopupWindow
*arg1
= (wxPopupWindow
*) 0 ;
13032 wxPoint
*arg2
= 0 ;
13038 PyObject
* obj0
= 0 ;
13039 PyObject
* obj1
= 0 ;
13040 PyObject
* obj2
= 0 ;
13041 char * kwnames
[] = {
13042 (char *) "self",(char *) "ptOrigin",(char *) "size", NULL
13045 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PopupWindow_Position",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
13046 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPopupWindow
, 0 | 0 );
13047 if (!SWIG_IsOK(res1
)) {
13048 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PopupWindow_Position" "', expected argument " "1"" of type '" "wxPopupWindow *""'");
13050 arg1
= reinterpret_cast< wxPopupWindow
* >(argp1
);
13053 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
13057 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
13060 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13061 (arg1
)->Position((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
);
13062 wxPyEndAllowThreads(__tstate
);
13063 if (PyErr_Occurred()) SWIG_fail
;
13065 resultobj
= SWIG_Py_Void();
13072 SWIGINTERN PyObject
*PopupWindow_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13074 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
13075 SWIG_TypeNewClientData(SWIGTYPE_p_wxPopupWindow
, SWIG_NewClientData(obj
));
13076 return SWIG_Py_Void();
13079 SWIGINTERN PyObject
*PopupWindow_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13080 return SWIG_Python_InitShadowInstance(args
);
13083 SWIGINTERN PyObject
*_wrap_new_PopupTransientWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13084 PyObject
*resultobj
= 0;
13085 wxWindow
*arg1
= (wxWindow
*) 0 ;
13086 int arg2
= (int) wxBORDER_NONE
;
13087 wxPyPopupTransientWindow
*result
= 0 ;
13092 PyObject
* obj0
= 0 ;
13093 PyObject
* obj1
= 0 ;
13094 char * kwnames
[] = {
13095 (char *) "parent",(char *) "style", NULL
13098 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_PopupTransientWindow",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13099 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
13100 if (!SWIG_IsOK(res1
)) {
13101 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PopupTransientWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
13103 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
13105 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
13106 if (!SWIG_IsOK(ecode2
)) {
13107 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_PopupTransientWindow" "', expected argument " "2"" of type '" "int""'");
13109 arg2
= static_cast< int >(val2
);
13112 if (!wxPyCheckForApp()) SWIG_fail
;
13113 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13114 result
= (wxPyPopupTransientWindow
*)new wxPyPopupTransientWindow(arg1
,arg2
);
13115 wxPyEndAllowThreads(__tstate
);
13116 if (PyErr_Occurred()) SWIG_fail
;
13118 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyPopupTransientWindow
, SWIG_POINTER_NEW
| 0 );
13125 SWIGINTERN PyObject
*_wrap_new_PrePopupTransientWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13126 PyObject
*resultobj
= 0;
13127 wxPyPopupTransientWindow
*result
= 0 ;
13129 if (!SWIG_Python_UnpackTuple(args
,"new_PrePopupTransientWindow",0,0,0)) SWIG_fail
;
13131 if (!wxPyCheckForApp()) SWIG_fail
;
13132 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13133 result
= (wxPyPopupTransientWindow
*)new wxPyPopupTransientWindow();
13134 wxPyEndAllowThreads(__tstate
);
13135 if (PyErr_Occurred()) SWIG_fail
;
13137 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyPopupTransientWindow
, SWIG_POINTER_OWN
| 0 );
13144 SWIGINTERN PyObject
*_wrap_PopupTransientWindow__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13145 PyObject
*resultobj
= 0;
13146 wxPyPopupTransientWindow
*arg1
= (wxPyPopupTransientWindow
*) 0 ;
13147 PyObject
*arg2
= (PyObject
*) 0 ;
13148 PyObject
*arg3
= (PyObject
*) 0 ;
13151 PyObject
* obj0
= 0 ;
13152 PyObject
* obj1
= 0 ;
13153 PyObject
* obj2
= 0 ;
13154 char * kwnames
[] = {
13155 (char *) "self",(char *) "self",(char *) "_class", NULL
13158 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PopupTransientWindow__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
13159 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPopupTransientWindow
, 0 | 0 );
13160 if (!SWIG_IsOK(res1
)) {
13161 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PopupTransientWindow__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyPopupTransientWindow *""'");
13163 arg1
= reinterpret_cast< wxPyPopupTransientWindow
* >(argp1
);
13167 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13168 (arg1
)->_setCallbackInfo(arg2
,arg3
);
13169 wxPyEndAllowThreads(__tstate
);
13170 if (PyErr_Occurred()) SWIG_fail
;
13172 resultobj
= SWIG_Py_Void();
13179 SWIGINTERN PyObject
*_wrap_PopupTransientWindow_Popup(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13180 PyObject
*resultobj
= 0;
13181 wxPyPopupTransientWindow
*arg1
= (wxPyPopupTransientWindow
*) 0 ;
13182 wxWindow
*arg2
= (wxWindow
*) NULL
;
13187 PyObject
* obj0
= 0 ;
13188 PyObject
* obj1
= 0 ;
13189 char * kwnames
[] = {
13190 (char *) "self",(char *) "focus", NULL
13193 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:PopupTransientWindow_Popup",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13194 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPopupTransientWindow
, 0 | 0 );
13195 if (!SWIG_IsOK(res1
)) {
13196 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PopupTransientWindow_Popup" "', expected argument " "1"" of type '" "wxPyPopupTransientWindow *""'");
13198 arg1
= reinterpret_cast< wxPyPopupTransientWindow
* >(argp1
);
13200 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
13201 if (!SWIG_IsOK(res2
)) {
13202 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PopupTransientWindow_Popup" "', expected argument " "2"" of type '" "wxWindow *""'");
13204 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
13207 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13208 (arg1
)->Popup(arg2
);
13209 wxPyEndAllowThreads(__tstate
);
13210 if (PyErr_Occurred()) SWIG_fail
;
13212 resultobj
= SWIG_Py_Void();
13219 SWIGINTERN PyObject
*_wrap_PopupTransientWindow_Dismiss(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13220 PyObject
*resultobj
= 0;
13221 wxPyPopupTransientWindow
*arg1
= (wxPyPopupTransientWindow
*) 0 ;
13224 PyObject
*swig_obj
[1] ;
13226 if (!args
) SWIG_fail
;
13227 swig_obj
[0] = args
;
13228 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPopupTransientWindow
, 0 | 0 );
13229 if (!SWIG_IsOK(res1
)) {
13230 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PopupTransientWindow_Dismiss" "', expected argument " "1"" of type '" "wxPyPopupTransientWindow *""'");
13232 arg1
= reinterpret_cast< wxPyPopupTransientWindow
* >(argp1
);
13234 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13236 wxPyEndAllowThreads(__tstate
);
13237 if (PyErr_Occurred()) SWIG_fail
;
13239 resultobj
= SWIG_Py_Void();
13246 SWIGINTERN PyObject
*PopupTransientWindow_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13248 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
13249 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyPopupTransientWindow
, SWIG_NewClientData(obj
));
13250 return SWIG_Py_Void();
13253 SWIGINTERN PyObject
*PopupTransientWindow_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13254 return SWIG_Python_InitShadowInstance(args
);
13257 SWIGINTERN PyObject
*_wrap_new_TipWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13258 PyObject
*resultobj
= 0;
13259 wxWindow
*arg1
= (wxWindow
*) 0 ;
13260 wxString
*arg2
= 0 ;
13261 int arg3
= (int) 100 ;
13262 wxRect
*arg4
= (wxRect
*) NULL
;
13263 wxTipWindow
*result
= 0 ;
13266 bool temp2
= false ;
13271 PyObject
* obj0
= 0 ;
13272 PyObject
* obj1
= 0 ;
13273 PyObject
* obj2
= 0 ;
13274 PyObject
* obj3
= 0 ;
13275 char * kwnames
[] = {
13276 (char *) "parent",(char *) "text",(char *) "maxLength",(char *) "rectBound", NULL
13279 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:new_TipWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
13280 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
13281 if (!SWIG_IsOK(res1
)) {
13282 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_TipWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
13284 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
13286 arg2
= wxString_in_helper(obj1
);
13287 if (arg2
== NULL
) SWIG_fail
;
13291 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
13292 if (!SWIG_IsOK(ecode3
)) {
13293 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_TipWindow" "', expected argument " "3"" of type '" "int""'");
13295 arg3
= static_cast< int >(val3
);
13298 res4
= SWIG_ConvertPtr(obj3
, &argp4
,SWIGTYPE_p_wxRect
, 0 | 0 );
13299 if (!SWIG_IsOK(res4
)) {
13300 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "new_TipWindow" "', expected argument " "4"" of type '" "wxRect *""'");
13302 arg4
= reinterpret_cast< wxRect
* >(argp4
);
13305 if (!wxPyCheckForApp()) SWIG_fail
;
13306 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13307 result
= (wxTipWindow
*)new_wxTipWindow(arg1
,(wxString
const &)*arg2
,arg3
,arg4
);
13308 wxPyEndAllowThreads(__tstate
);
13309 if (PyErr_Occurred()) SWIG_fail
;
13311 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTipWindow
, SWIG_POINTER_NEW
| 0 );
13326 SWIGINTERN PyObject
*_wrap_TipWindow_SetBoundingRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13327 PyObject
*resultobj
= 0;
13328 wxTipWindow
*arg1
= (wxTipWindow
*) 0 ;
13333 PyObject
* obj0
= 0 ;
13334 PyObject
* obj1
= 0 ;
13335 char * kwnames
[] = {
13336 (char *) "self",(char *) "rectBound", NULL
13339 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TipWindow_SetBoundingRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13340 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTipWindow
, 0 | 0 );
13341 if (!SWIG_IsOK(res1
)) {
13342 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TipWindow_SetBoundingRect" "', expected argument " "1"" of type '" "wxTipWindow *""'");
13344 arg1
= reinterpret_cast< wxTipWindow
* >(argp1
);
13347 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
13350 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13351 (arg1
)->SetBoundingRect((wxRect
const &)*arg2
);
13352 wxPyEndAllowThreads(__tstate
);
13353 if (PyErr_Occurred()) SWIG_fail
;
13355 resultobj
= SWIG_Py_Void();
13362 SWIGINTERN PyObject
*_wrap_TipWindow_Close(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13363 PyObject
*resultobj
= 0;
13364 wxTipWindow
*arg1
= (wxTipWindow
*) 0 ;
13367 PyObject
*swig_obj
[1] ;
13369 if (!args
) SWIG_fail
;
13370 swig_obj
[0] = args
;
13371 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTipWindow
, 0 | 0 );
13372 if (!SWIG_IsOK(res1
)) {
13373 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TipWindow_Close" "', expected argument " "1"" of type '" "wxTipWindow *""'");
13375 arg1
= reinterpret_cast< wxTipWindow
* >(argp1
);
13377 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13379 wxPyEndAllowThreads(__tstate
);
13380 if (PyErr_Occurred()) SWIG_fail
;
13382 resultobj
= SWIG_Py_Void();
13389 SWIGINTERN PyObject
*TipWindow_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13391 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
13392 SWIG_TypeNewClientData(SWIGTYPE_p_wxTipWindow
, SWIG_NewClientData(obj
));
13393 return SWIG_Py_Void();
13396 SWIGINTERN PyObject
*TipWindow_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13397 return SWIG_Python_InitShadowInstance(args
);
13400 SWIGINTERN PyObject
*_wrap_new_VScrolledWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13401 PyObject
*resultobj
= 0;
13402 wxWindow
*arg1
= (wxWindow
*) 0 ;
13403 int arg2
= (int) wxID_ANY
;
13404 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
13405 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
13406 wxSize
const &arg4_defvalue
= wxDefaultSize
;
13407 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
13408 long arg5
= (long) 0 ;
13409 wxString
const &arg6_defvalue
= wxPyPanelNameStr
;
13410 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
13411 wxPyVScrolledWindow
*result
= 0 ;
13420 bool temp6
= false ;
13421 PyObject
* obj0
= 0 ;
13422 PyObject
* obj1
= 0 ;
13423 PyObject
* obj2
= 0 ;
13424 PyObject
* obj3
= 0 ;
13425 PyObject
* obj4
= 0 ;
13426 PyObject
* obj5
= 0 ;
13427 char * kwnames
[] = {
13428 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
13431 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_VScrolledWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
13432 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
13433 if (!SWIG_IsOK(res1
)) {
13434 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_VScrolledWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
13436 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
13438 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
13439 if (!SWIG_IsOK(ecode2
)) {
13440 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_VScrolledWindow" "', expected argument " "2"" of type '" "int""'");
13442 arg2
= static_cast< int >(val2
);
13447 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
13453 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
13457 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
13458 if (!SWIG_IsOK(ecode5
)) {
13459 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_VScrolledWindow" "', expected argument " "5"" of type '" "long""'");
13461 arg5
= static_cast< long >(val5
);
13465 arg6
= wxString_in_helper(obj5
);
13466 if (arg6
== NULL
) SWIG_fail
;
13471 if (!wxPyCheckForApp()) SWIG_fail
;
13472 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13473 result
= (wxPyVScrolledWindow
*)new wxPyVScrolledWindow(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
13474 wxPyEndAllowThreads(__tstate
);
13475 if (PyErr_Occurred()) SWIG_fail
;
13477 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyVScrolledWindow
, SWIG_POINTER_NEW
| 0 );
13492 SWIGINTERN PyObject
*_wrap_new_PreVScrolledWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13493 PyObject
*resultobj
= 0;
13494 wxPyVScrolledWindow
*result
= 0 ;
13496 if (!SWIG_Python_UnpackTuple(args
,"new_PreVScrolledWindow",0,0,0)) SWIG_fail
;
13498 if (!wxPyCheckForApp()) SWIG_fail
;
13499 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13500 result
= (wxPyVScrolledWindow
*)new wxPyVScrolledWindow();
13501 wxPyEndAllowThreads(__tstate
);
13502 if (PyErr_Occurred()) SWIG_fail
;
13504 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyVScrolledWindow
, SWIG_POINTER_OWN
| 0 );
13511 SWIGINTERN PyObject
*_wrap_VScrolledWindow__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13512 PyObject
*resultobj
= 0;
13513 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
13514 PyObject
*arg2
= (PyObject
*) 0 ;
13515 PyObject
*arg3
= (PyObject
*) 0 ;
13518 PyObject
* obj0
= 0 ;
13519 PyObject
* obj1
= 0 ;
13520 PyObject
* obj2
= 0 ;
13521 char * kwnames
[] = {
13522 (char *) "self",(char *) "self",(char *) "_class", NULL
13525 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:VScrolledWindow__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
13526 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVScrolledWindow
, 0 | 0 );
13527 if (!SWIG_IsOK(res1
)) {
13528 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VScrolledWindow__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyVScrolledWindow *""'");
13530 arg1
= reinterpret_cast< wxPyVScrolledWindow
* >(argp1
);
13534 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13535 (arg1
)->_setCallbackInfo(arg2
,arg3
);
13536 wxPyEndAllowThreads(__tstate
);
13537 if (PyErr_Occurred()) SWIG_fail
;
13539 resultobj
= SWIG_Py_Void();
13546 SWIGINTERN PyObject
*_wrap_VScrolledWindow_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13547 PyObject
*resultobj
= 0;
13548 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
13549 wxWindow
*arg2
= (wxWindow
*) 0 ;
13550 int arg3
= (int) wxID_ANY
;
13551 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
13552 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
13553 wxSize
const &arg5_defvalue
= wxDefaultSize
;
13554 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
13555 long arg6
= (long) 0 ;
13556 wxString
const &arg7_defvalue
= wxPyPanelNameStr
;
13557 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
13569 bool temp7
= false ;
13570 PyObject
* obj0
= 0 ;
13571 PyObject
* obj1
= 0 ;
13572 PyObject
* obj2
= 0 ;
13573 PyObject
* obj3
= 0 ;
13574 PyObject
* obj4
= 0 ;
13575 PyObject
* obj5
= 0 ;
13576 PyObject
* obj6
= 0 ;
13577 char * kwnames
[] = {
13578 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
13581 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:VScrolledWindow_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
13582 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVScrolledWindow
, 0 | 0 );
13583 if (!SWIG_IsOK(res1
)) {
13584 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VScrolledWindow_Create" "', expected argument " "1"" of type '" "wxPyVScrolledWindow *""'");
13586 arg1
= reinterpret_cast< wxPyVScrolledWindow
* >(argp1
);
13587 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
13588 if (!SWIG_IsOK(res2
)) {
13589 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "VScrolledWindow_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
13591 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
13593 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
13594 if (!SWIG_IsOK(ecode3
)) {
13595 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "VScrolledWindow_Create" "', expected argument " "3"" of type '" "int""'");
13597 arg3
= static_cast< int >(val3
);
13602 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
13608 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
13612 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
13613 if (!SWIG_IsOK(ecode6
)) {
13614 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "VScrolledWindow_Create" "', expected argument " "6"" of type '" "long""'");
13616 arg6
= static_cast< long >(val6
);
13620 arg7
= wxString_in_helper(obj6
);
13621 if (arg7
== NULL
) SWIG_fail
;
13626 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13627 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
13628 wxPyEndAllowThreads(__tstate
);
13629 if (PyErr_Occurred()) SWIG_fail
;
13632 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13648 SWIGINTERN PyObject
*_wrap_VScrolledWindow_SetLineCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13649 PyObject
*resultobj
= 0;
13650 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
13656 PyObject
* obj0
= 0 ;
13657 PyObject
* obj1
= 0 ;
13658 char * kwnames
[] = {
13659 (char *) "self",(char *) "count", NULL
13662 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VScrolledWindow_SetLineCount",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13663 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVScrolledWindow
, 0 | 0 );
13664 if (!SWIG_IsOK(res1
)) {
13665 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VScrolledWindow_SetLineCount" "', expected argument " "1"" of type '" "wxPyVScrolledWindow *""'");
13667 arg1
= reinterpret_cast< wxPyVScrolledWindow
* >(argp1
);
13668 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
13669 if (!SWIG_IsOK(ecode2
)) {
13670 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "VScrolledWindow_SetLineCount" "', expected argument " "2"" of type '" "size_t""'");
13672 arg2
= static_cast< size_t >(val2
);
13674 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13675 (arg1
)->SetLineCount(arg2
);
13676 wxPyEndAllowThreads(__tstate
);
13677 if (PyErr_Occurred()) SWIG_fail
;
13679 resultobj
= SWIG_Py_Void();
13686 SWIGINTERN PyObject
*_wrap_VScrolledWindow_ScrollToLine(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13687 PyObject
*resultobj
= 0;
13688 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
13695 PyObject
* obj0
= 0 ;
13696 PyObject
* obj1
= 0 ;
13697 char * kwnames
[] = {
13698 (char *) "self",(char *) "line", NULL
13701 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VScrolledWindow_ScrollToLine",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13702 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVScrolledWindow
, 0 | 0 );
13703 if (!SWIG_IsOK(res1
)) {
13704 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VScrolledWindow_ScrollToLine" "', expected argument " "1"" of type '" "wxPyVScrolledWindow *""'");
13706 arg1
= reinterpret_cast< wxPyVScrolledWindow
* >(argp1
);
13707 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
13708 if (!SWIG_IsOK(ecode2
)) {
13709 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "VScrolledWindow_ScrollToLine" "', expected argument " "2"" of type '" "size_t""'");
13711 arg2
= static_cast< size_t >(val2
);
13713 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13714 result
= (bool)(arg1
)->ScrollToLine(arg2
);
13715 wxPyEndAllowThreads(__tstate
);
13716 if (PyErr_Occurred()) SWIG_fail
;
13719 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13727 SWIGINTERN PyObject
*_wrap_VScrolledWindow_RefreshLine(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13728 PyObject
*resultobj
= 0;
13729 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
13735 PyObject
* obj0
= 0 ;
13736 PyObject
* obj1
= 0 ;
13737 char * kwnames
[] = {
13738 (char *) "self",(char *) "line", NULL
13741 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VScrolledWindow_RefreshLine",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13742 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVScrolledWindow
, 0 | 0 );
13743 if (!SWIG_IsOK(res1
)) {
13744 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VScrolledWindow_RefreshLine" "', expected argument " "1"" of type '" "wxPyVScrolledWindow *""'");
13746 arg1
= reinterpret_cast< wxPyVScrolledWindow
* >(argp1
);
13747 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
13748 if (!SWIG_IsOK(ecode2
)) {
13749 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "VScrolledWindow_RefreshLine" "', expected argument " "2"" of type '" "size_t""'");
13751 arg2
= static_cast< size_t >(val2
);
13753 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13754 (arg1
)->RefreshLine(arg2
);
13755 wxPyEndAllowThreads(__tstate
);
13756 if (PyErr_Occurred()) SWIG_fail
;
13758 resultobj
= SWIG_Py_Void();
13765 SWIGINTERN PyObject
*_wrap_VScrolledWindow_RefreshLines(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13766 PyObject
*resultobj
= 0;
13767 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
13776 PyObject
* obj0
= 0 ;
13777 PyObject
* obj1
= 0 ;
13778 PyObject
* obj2
= 0 ;
13779 char * kwnames
[] = {
13780 (char *) "self",(char *) "from",(char *) "to", NULL
13783 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:VScrolledWindow_RefreshLines",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
13784 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVScrolledWindow
, 0 | 0 );
13785 if (!SWIG_IsOK(res1
)) {
13786 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VScrolledWindow_RefreshLines" "', expected argument " "1"" of type '" "wxPyVScrolledWindow *""'");
13788 arg1
= reinterpret_cast< wxPyVScrolledWindow
* >(argp1
);
13789 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
13790 if (!SWIG_IsOK(ecode2
)) {
13791 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "VScrolledWindow_RefreshLines" "', expected argument " "2"" of type '" "size_t""'");
13793 arg2
= static_cast< size_t >(val2
);
13794 ecode3
= SWIG_AsVal_size_t(obj2
, &val3
);
13795 if (!SWIG_IsOK(ecode3
)) {
13796 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "VScrolledWindow_RefreshLines" "', expected argument " "3"" of type '" "size_t""'");
13798 arg3
= static_cast< size_t >(val3
);
13800 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13801 (arg1
)->RefreshLines(arg2
,arg3
);
13802 wxPyEndAllowThreads(__tstate
);
13803 if (PyErr_Occurred()) SWIG_fail
;
13805 resultobj
= SWIG_Py_Void();
13812 SWIGINTERN PyObject
*_wrap_VScrolledWindow_HitTestXY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13813 PyObject
*resultobj
= 0;
13814 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
13824 PyObject
* obj0
= 0 ;
13825 PyObject
* obj1
= 0 ;
13826 PyObject
* obj2
= 0 ;
13827 char * kwnames
[] = {
13828 (char *) "self",(char *) "x",(char *) "y", NULL
13831 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:VScrolledWindow_HitTestXY",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
13832 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVScrolledWindow
, 0 | 0 );
13833 if (!SWIG_IsOK(res1
)) {
13834 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VScrolledWindow_HitTestXY" "', expected argument " "1"" of type '" "wxPyVScrolledWindow const *""'");
13836 arg1
= reinterpret_cast< wxPyVScrolledWindow
* >(argp1
);
13837 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
13838 if (!SWIG_IsOK(ecode2
)) {
13839 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "VScrolledWindow_HitTestXY" "', expected argument " "2"" of type '" "int""'");
13841 arg2
= static_cast< int >(val2
);
13842 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
13843 if (!SWIG_IsOK(ecode3
)) {
13844 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "VScrolledWindow_HitTestXY" "', expected argument " "3"" of type '" "int""'");
13846 arg3
= static_cast< int >(val3
);
13848 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13849 result
= (int)((wxPyVScrolledWindow
const *)arg1
)->HitTest(arg2
,arg3
);
13850 wxPyEndAllowThreads(__tstate
);
13851 if (PyErr_Occurred()) SWIG_fail
;
13853 resultobj
= SWIG_From_int(static_cast< int >(result
));
13860 SWIGINTERN PyObject
*_wrap_VScrolledWindow_HitTest(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13861 PyObject
*resultobj
= 0;
13862 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
13863 wxPoint
*arg2
= 0 ;
13868 PyObject
* obj0
= 0 ;
13869 PyObject
* obj1
= 0 ;
13870 char * kwnames
[] = {
13871 (char *) "self",(char *) "pt", NULL
13874 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VScrolledWindow_HitTest",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13875 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVScrolledWindow
, 0 | 0 );
13876 if (!SWIG_IsOK(res1
)) {
13877 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VScrolledWindow_HitTest" "', expected argument " "1"" of type '" "wxPyVScrolledWindow const *""'");
13879 arg1
= reinterpret_cast< wxPyVScrolledWindow
* >(argp1
);
13882 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
13885 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13886 result
= (int)((wxPyVScrolledWindow
const *)arg1
)->HitTest((wxPoint
const &)*arg2
);
13887 wxPyEndAllowThreads(__tstate
);
13888 if (PyErr_Occurred()) SWIG_fail
;
13890 resultobj
= SWIG_From_int(static_cast< int >(result
));
13897 SWIGINTERN PyObject
*_wrap_VScrolledWindow_RefreshAll(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13898 PyObject
*resultobj
= 0;
13899 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
13902 PyObject
*swig_obj
[1] ;
13904 if (!args
) SWIG_fail
;
13905 swig_obj
[0] = args
;
13906 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyVScrolledWindow
, 0 | 0 );
13907 if (!SWIG_IsOK(res1
)) {
13908 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VScrolledWindow_RefreshAll" "', expected argument " "1"" of type '" "wxPyVScrolledWindow *""'");
13910 arg1
= reinterpret_cast< wxPyVScrolledWindow
* >(argp1
);
13912 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13913 (arg1
)->RefreshAll();
13914 wxPyEndAllowThreads(__tstate
);
13915 if (PyErr_Occurred()) SWIG_fail
;
13917 resultobj
= SWIG_Py_Void();
13924 SWIGINTERN PyObject
*_wrap_VScrolledWindow_GetLineCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13925 PyObject
*resultobj
= 0;
13926 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
13930 PyObject
*swig_obj
[1] ;
13932 if (!args
) SWIG_fail
;
13933 swig_obj
[0] = args
;
13934 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyVScrolledWindow
, 0 | 0 );
13935 if (!SWIG_IsOK(res1
)) {
13936 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VScrolledWindow_GetLineCount" "', expected argument " "1"" of type '" "wxPyVScrolledWindow const *""'");
13938 arg1
= reinterpret_cast< wxPyVScrolledWindow
* >(argp1
);
13940 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13941 result
= (size_t)((wxPyVScrolledWindow
const *)arg1
)->GetLineCount();
13942 wxPyEndAllowThreads(__tstate
);
13943 if (PyErr_Occurred()) SWIG_fail
;
13945 resultobj
= SWIG_From_size_t(static_cast< size_t >(result
));
13952 SWIGINTERN PyObject
*_wrap_VScrolledWindow_GetVisibleBegin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13953 PyObject
*resultobj
= 0;
13954 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
13958 PyObject
*swig_obj
[1] ;
13960 if (!args
) SWIG_fail
;
13961 swig_obj
[0] = args
;
13962 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyVScrolledWindow
, 0 | 0 );
13963 if (!SWIG_IsOK(res1
)) {
13964 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VScrolledWindow_GetVisibleBegin" "', expected argument " "1"" of type '" "wxPyVScrolledWindow const *""'");
13966 arg1
= reinterpret_cast< wxPyVScrolledWindow
* >(argp1
);
13968 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13969 result
= (size_t)((wxPyVScrolledWindow
const *)arg1
)->GetVisibleBegin();
13970 wxPyEndAllowThreads(__tstate
);
13971 if (PyErr_Occurred()) SWIG_fail
;
13973 resultobj
= SWIG_From_size_t(static_cast< size_t >(result
));
13980 SWIGINTERN PyObject
*_wrap_VScrolledWindow_GetVisibleEnd(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13981 PyObject
*resultobj
= 0;
13982 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
13986 PyObject
*swig_obj
[1] ;
13988 if (!args
) SWIG_fail
;
13989 swig_obj
[0] = args
;
13990 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyVScrolledWindow
, 0 | 0 );
13991 if (!SWIG_IsOK(res1
)) {
13992 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VScrolledWindow_GetVisibleEnd" "', expected argument " "1"" of type '" "wxPyVScrolledWindow const *""'");
13994 arg1
= reinterpret_cast< wxPyVScrolledWindow
* >(argp1
);
13996 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13997 result
= (size_t)((wxPyVScrolledWindow
const *)arg1
)->GetVisibleEnd();
13998 wxPyEndAllowThreads(__tstate
);
13999 if (PyErr_Occurred()) SWIG_fail
;
14001 resultobj
= SWIG_From_size_t(static_cast< size_t >(result
));
14008 SWIGINTERN PyObject
*_wrap_VScrolledWindow_IsVisible(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14009 PyObject
*resultobj
= 0;
14010 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
14017 PyObject
* obj0
= 0 ;
14018 PyObject
* obj1
= 0 ;
14019 char * kwnames
[] = {
14020 (char *) "self",(char *) "line", NULL
14023 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VScrolledWindow_IsVisible",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14024 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVScrolledWindow
, 0 | 0 );
14025 if (!SWIG_IsOK(res1
)) {
14026 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VScrolledWindow_IsVisible" "', expected argument " "1"" of type '" "wxPyVScrolledWindow const *""'");
14028 arg1
= reinterpret_cast< wxPyVScrolledWindow
* >(argp1
);
14029 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
14030 if (!SWIG_IsOK(ecode2
)) {
14031 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "VScrolledWindow_IsVisible" "', expected argument " "2"" of type '" "size_t""'");
14033 arg2
= static_cast< size_t >(val2
);
14035 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14036 result
= (bool)((wxPyVScrolledWindow
const *)arg1
)->IsVisible(arg2
);
14037 wxPyEndAllowThreads(__tstate
);
14038 if (PyErr_Occurred()) SWIG_fail
;
14041 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14049 SWIGINTERN PyObject
*_wrap_VScrolledWindow_GetFirstVisibleLine(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14050 PyObject
*resultobj
= 0;
14051 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
14055 PyObject
*swig_obj
[1] ;
14057 if (!args
) SWIG_fail
;
14058 swig_obj
[0] = args
;
14059 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyVScrolledWindow
, 0 | 0 );
14060 if (!SWIG_IsOK(res1
)) {
14061 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VScrolledWindow_GetFirstVisibleLine" "', expected argument " "1"" of type '" "wxPyVScrolledWindow const *""'");
14063 arg1
= reinterpret_cast< wxPyVScrolledWindow
* >(argp1
);
14065 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14066 result
= (size_t)((wxPyVScrolledWindow
const *)arg1
)->GetFirstVisibleLine();
14067 wxPyEndAllowThreads(__tstate
);
14068 if (PyErr_Occurred()) SWIG_fail
;
14070 resultobj
= SWIG_From_size_t(static_cast< size_t >(result
));
14077 SWIGINTERN PyObject
*_wrap_VScrolledWindow_GetLastVisibleLine(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14078 PyObject
*resultobj
= 0;
14079 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
14083 PyObject
*swig_obj
[1] ;
14085 if (!args
) SWIG_fail
;
14086 swig_obj
[0] = args
;
14087 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyVScrolledWindow
, 0 | 0 );
14088 if (!SWIG_IsOK(res1
)) {
14089 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VScrolledWindow_GetLastVisibleLine" "', expected argument " "1"" of type '" "wxPyVScrolledWindow const *""'");
14091 arg1
= reinterpret_cast< wxPyVScrolledWindow
* >(argp1
);
14093 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14094 result
= (size_t)((wxPyVScrolledWindow
const *)arg1
)->GetLastVisibleLine();
14095 wxPyEndAllowThreads(__tstate
);
14096 if (PyErr_Occurred()) SWIG_fail
;
14098 resultobj
= SWIG_From_size_t(static_cast< size_t >(result
));
14105 SWIGINTERN PyObject
*_wrap_VScrolledWindow_FindFirstFromBottom(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14106 PyObject
*resultobj
= 0;
14107 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
14109 bool arg3
= (bool) false ;
14117 PyObject
* obj0
= 0 ;
14118 PyObject
* obj1
= 0 ;
14119 PyObject
* obj2
= 0 ;
14120 char * kwnames
[] = {
14121 (char *) "self",(char *) "lineLast",(char *) "fullyVisible", NULL
14124 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:VScrolledWindow_FindFirstFromBottom",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
14125 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVScrolledWindow
, 0 | 0 );
14126 if (!SWIG_IsOK(res1
)) {
14127 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VScrolledWindow_FindFirstFromBottom" "', expected argument " "1"" of type '" "wxPyVScrolledWindow *""'");
14129 arg1
= reinterpret_cast< wxPyVScrolledWindow
* >(argp1
);
14130 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
14131 if (!SWIG_IsOK(ecode2
)) {
14132 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "VScrolledWindow_FindFirstFromBottom" "', expected argument " "2"" of type '" "size_t""'");
14134 arg2
= static_cast< size_t >(val2
);
14136 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
14137 if (!SWIG_IsOK(ecode3
)) {
14138 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "VScrolledWindow_FindFirstFromBottom" "', expected argument " "3"" of type '" "bool""'");
14140 arg3
= static_cast< bool >(val3
);
14143 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14144 result
= (size_t)(arg1
)->FindFirstFromBottom(arg2
,arg3
);
14145 wxPyEndAllowThreads(__tstate
);
14146 if (PyErr_Occurred()) SWIG_fail
;
14148 resultobj
= SWIG_From_size_t(static_cast< size_t >(result
));
14155 SWIGINTERN PyObject
*_wrap_VScrolledWindow_GetLinesHeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14156 PyObject
*resultobj
= 0;
14157 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
14167 PyObject
* obj0
= 0 ;
14168 PyObject
* obj1
= 0 ;
14169 PyObject
* obj2
= 0 ;
14170 char * kwnames
[] = {
14171 (char *) "self",(char *) "lineMin",(char *) "lineMax", NULL
14174 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:VScrolledWindow_GetLinesHeight",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
14175 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVScrolledWindow
, 0 | 0 );
14176 if (!SWIG_IsOK(res1
)) {
14177 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VScrolledWindow_GetLinesHeight" "', expected argument " "1"" of type '" "wxPyVScrolledWindow const *""'");
14179 arg1
= reinterpret_cast< wxPyVScrolledWindow
* >(argp1
);
14180 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
14181 if (!SWIG_IsOK(ecode2
)) {
14182 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "VScrolledWindow_GetLinesHeight" "', expected argument " "2"" of type '" "size_t""'");
14184 arg2
= static_cast< size_t >(val2
);
14185 ecode3
= SWIG_AsVal_size_t(obj2
, &val3
);
14186 if (!SWIG_IsOK(ecode3
)) {
14187 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "VScrolledWindow_GetLinesHeight" "', expected argument " "3"" of type '" "size_t""'");
14189 arg3
= static_cast< size_t >(val3
);
14191 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14192 result
= (int)((wxPyVScrolledWindow
const *)arg1
)->GetLinesHeight(arg2
,arg3
);
14193 wxPyEndAllowThreads(__tstate
);
14194 if (PyErr_Occurred()) SWIG_fail
;
14196 resultobj
= SWIG_From_int(static_cast< int >(result
));
14203 SWIGINTERN PyObject
*VScrolledWindow_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14205 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
14206 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyVScrolledWindow
, SWIG_NewClientData(obj
));
14207 return SWIG_Py_Void();
14210 SWIGINTERN PyObject
*VScrolledWindow_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14211 return SWIG_Python_InitShadowInstance(args
);
14214 SWIGINTERN
int VListBoxNameStr_set(PyObject
*) {
14215 SWIG_Error(SWIG_AttributeError
,"Variable VListBoxNameStr is read-only.");
14220 SWIGINTERN PyObject
*VListBoxNameStr_get(void) {
14221 PyObject
*pyobj
= 0;
14225 pyobj
= PyUnicode_FromWideChar((&wxPyVListBoxNameStr
)->c_str(), (&wxPyVListBoxNameStr
)->Len());
14227 pyobj
= PyString_FromStringAndSize((&wxPyVListBoxNameStr
)->c_str(), (&wxPyVListBoxNameStr
)->Len());
14234 SWIGINTERN PyObject
*_wrap_new_VListBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14235 PyObject
*resultobj
= 0;
14236 wxWindow
*arg1
= (wxWindow
*) 0 ;
14237 int arg2
= (int) wxID_ANY
;
14238 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
14239 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
14240 wxSize
const &arg4_defvalue
= wxDefaultSize
;
14241 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
14242 long arg5
= (long) 0 ;
14243 wxString
const &arg6_defvalue
= wxPyVListBoxNameStr
;
14244 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
14245 wxPyVListBox
*result
= 0 ;
14254 bool temp6
= false ;
14255 PyObject
* obj0
= 0 ;
14256 PyObject
* obj1
= 0 ;
14257 PyObject
* obj2
= 0 ;
14258 PyObject
* obj3
= 0 ;
14259 PyObject
* obj4
= 0 ;
14260 PyObject
* obj5
= 0 ;
14261 char * kwnames
[] = {
14262 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
14265 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_VListBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
14266 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
14267 if (!SWIG_IsOK(res1
)) {
14268 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_VListBox" "', expected argument " "1"" of type '" "wxWindow *""'");
14270 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
14272 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
14273 if (!SWIG_IsOK(ecode2
)) {
14274 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_VListBox" "', expected argument " "2"" of type '" "int""'");
14276 arg2
= static_cast< int >(val2
);
14281 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
14287 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
14291 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
14292 if (!SWIG_IsOK(ecode5
)) {
14293 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_VListBox" "', expected argument " "5"" of type '" "long""'");
14295 arg5
= static_cast< long >(val5
);
14299 arg6
= wxString_in_helper(obj5
);
14300 if (arg6
== NULL
) SWIG_fail
;
14305 if (!wxPyCheckForApp()) SWIG_fail
;
14306 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14307 result
= (wxPyVListBox
*)new wxPyVListBox(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
14308 wxPyEndAllowThreads(__tstate
);
14309 if (PyErr_Occurred()) SWIG_fail
;
14311 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyVListBox
, SWIG_POINTER_NEW
| 0 );
14326 SWIGINTERN PyObject
*_wrap_new_PreVListBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14327 PyObject
*resultobj
= 0;
14328 wxPyVListBox
*result
= 0 ;
14330 if (!SWIG_Python_UnpackTuple(args
,"new_PreVListBox",0,0,0)) SWIG_fail
;
14332 if (!wxPyCheckForApp()) SWIG_fail
;
14333 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14334 result
= (wxPyVListBox
*)new wxPyVListBox();
14335 wxPyEndAllowThreads(__tstate
);
14336 if (PyErr_Occurred()) SWIG_fail
;
14338 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyVListBox
, SWIG_POINTER_OWN
| 0 );
14345 SWIGINTERN PyObject
*_wrap_VListBox__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14346 PyObject
*resultobj
= 0;
14347 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
14348 PyObject
*arg2
= (PyObject
*) 0 ;
14349 PyObject
*arg3
= (PyObject
*) 0 ;
14352 PyObject
* obj0
= 0 ;
14353 PyObject
* obj1
= 0 ;
14354 PyObject
* obj2
= 0 ;
14355 char * kwnames
[] = {
14356 (char *) "self",(char *) "self",(char *) "_class", NULL
14359 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:VListBox__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
14360 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
14361 if (!SWIG_IsOK(res1
)) {
14362 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
14364 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
14368 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14369 (arg1
)->_setCallbackInfo(arg2
,arg3
);
14370 wxPyEndAllowThreads(__tstate
);
14371 if (PyErr_Occurred()) SWIG_fail
;
14373 resultobj
= SWIG_Py_Void();
14380 SWIGINTERN PyObject
*_wrap_VListBox_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14381 PyObject
*resultobj
= 0;
14382 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
14383 wxWindow
*arg2
= (wxWindow
*) 0 ;
14384 int arg3
= (int) wxID_ANY
;
14385 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
14386 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
14387 wxSize
const &arg5_defvalue
= wxDefaultSize
;
14388 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
14389 long arg6
= (long) 0 ;
14390 wxString
const &arg7_defvalue
= wxPyVListBoxNameStr
;
14391 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
14403 bool temp7
= false ;
14404 PyObject
* obj0
= 0 ;
14405 PyObject
* obj1
= 0 ;
14406 PyObject
* obj2
= 0 ;
14407 PyObject
* obj3
= 0 ;
14408 PyObject
* obj4
= 0 ;
14409 PyObject
* obj5
= 0 ;
14410 PyObject
* obj6
= 0 ;
14411 char * kwnames
[] = {
14412 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
14415 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:VListBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
14416 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
14417 if (!SWIG_IsOK(res1
)) {
14418 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_Create" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
14420 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
14421 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
14422 if (!SWIG_IsOK(res2
)) {
14423 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "VListBox_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
14425 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
14427 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
14428 if (!SWIG_IsOK(ecode3
)) {
14429 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "VListBox_Create" "', expected argument " "3"" of type '" "int""'");
14431 arg3
= static_cast< int >(val3
);
14436 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
14442 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
14446 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
14447 if (!SWIG_IsOK(ecode6
)) {
14448 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "VListBox_Create" "', expected argument " "6"" of type '" "long""'");
14450 arg6
= static_cast< long >(val6
);
14454 arg7
= wxString_in_helper(obj6
);
14455 if (arg7
== NULL
) SWIG_fail
;
14460 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14461 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
14462 wxPyEndAllowThreads(__tstate
);
14463 if (PyErr_Occurred()) SWIG_fail
;
14466 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14482 SWIGINTERN PyObject
*_wrap_VListBox_GetItemCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14483 PyObject
*resultobj
= 0;
14484 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
14488 PyObject
*swig_obj
[1] ;
14490 if (!args
) SWIG_fail
;
14491 swig_obj
[0] = args
;
14492 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
14493 if (!SWIG_IsOK(res1
)) {
14494 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_GetItemCount" "', expected argument " "1"" of type '" "wxPyVListBox const *""'");
14496 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
14498 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14499 result
= (size_t)((wxPyVListBox
const *)arg1
)->GetItemCount();
14500 wxPyEndAllowThreads(__tstate
);
14501 if (PyErr_Occurred()) SWIG_fail
;
14503 resultobj
= SWIG_From_size_t(static_cast< size_t >(result
));
14510 SWIGINTERN PyObject
*_wrap_VListBox_HasMultipleSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14511 PyObject
*resultobj
= 0;
14512 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
14516 PyObject
*swig_obj
[1] ;
14518 if (!args
) SWIG_fail
;
14519 swig_obj
[0] = args
;
14520 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
14521 if (!SWIG_IsOK(res1
)) {
14522 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_HasMultipleSelection" "', expected argument " "1"" of type '" "wxPyVListBox const *""'");
14524 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
14526 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14527 result
= (bool)((wxPyVListBox
const *)arg1
)->HasMultipleSelection();
14528 wxPyEndAllowThreads(__tstate
);
14529 if (PyErr_Occurred()) SWIG_fail
;
14532 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14540 SWIGINTERN PyObject
*_wrap_VListBox_GetSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14541 PyObject
*resultobj
= 0;
14542 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
14546 PyObject
*swig_obj
[1] ;
14548 if (!args
) SWIG_fail
;
14549 swig_obj
[0] = args
;
14550 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
14551 if (!SWIG_IsOK(res1
)) {
14552 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_GetSelection" "', expected argument " "1"" of type '" "wxPyVListBox const *""'");
14554 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
14556 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14557 result
= (int)((wxPyVListBox
const *)arg1
)->GetSelection();
14558 wxPyEndAllowThreads(__tstate
);
14559 if (PyErr_Occurred()) SWIG_fail
;
14561 resultobj
= SWIG_From_int(static_cast< int >(result
));
14568 SWIGINTERN PyObject
*_wrap_VListBox_IsCurrent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14569 PyObject
*resultobj
= 0;
14570 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
14577 PyObject
* obj0
= 0 ;
14578 PyObject
* obj1
= 0 ;
14579 char * kwnames
[] = {
14580 (char *) "self",(char *) "item", NULL
14583 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_IsCurrent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14584 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
14585 if (!SWIG_IsOK(res1
)) {
14586 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_IsCurrent" "', expected argument " "1"" of type '" "wxPyVListBox const *""'");
14588 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
14589 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
14590 if (!SWIG_IsOK(ecode2
)) {
14591 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "VListBox_IsCurrent" "', expected argument " "2"" of type '" "size_t""'");
14593 arg2
= static_cast< size_t >(val2
);
14595 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14596 result
= (bool)((wxPyVListBox
const *)arg1
)->IsCurrent(arg2
);
14597 wxPyEndAllowThreads(__tstate
);
14598 if (PyErr_Occurred()) SWIG_fail
;
14601 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14609 SWIGINTERN PyObject
*_wrap_VListBox_IsSelected(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14610 PyObject
*resultobj
= 0;
14611 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
14618 PyObject
* obj0
= 0 ;
14619 PyObject
* obj1
= 0 ;
14620 char * kwnames
[] = {
14621 (char *) "self",(char *) "item", NULL
14624 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_IsSelected",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14625 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
14626 if (!SWIG_IsOK(res1
)) {
14627 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_IsSelected" "', expected argument " "1"" of type '" "wxPyVListBox const *""'");
14629 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
14630 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
14631 if (!SWIG_IsOK(ecode2
)) {
14632 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "VListBox_IsSelected" "', expected argument " "2"" of type '" "size_t""'");
14634 arg2
= static_cast< size_t >(val2
);
14636 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14637 result
= (bool)((wxPyVListBox
const *)arg1
)->IsSelected(arg2
);
14638 wxPyEndAllowThreads(__tstate
);
14639 if (PyErr_Occurred()) SWIG_fail
;
14642 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14650 SWIGINTERN PyObject
*_wrap_VListBox_GetSelectedCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14651 PyObject
*resultobj
= 0;
14652 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
14656 PyObject
*swig_obj
[1] ;
14658 if (!args
) SWIG_fail
;
14659 swig_obj
[0] = args
;
14660 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
14661 if (!SWIG_IsOK(res1
)) {
14662 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_GetSelectedCount" "', expected argument " "1"" of type '" "wxPyVListBox const *""'");
14664 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
14666 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14667 result
= (size_t)((wxPyVListBox
const *)arg1
)->GetSelectedCount();
14668 wxPyEndAllowThreads(__tstate
);
14669 if (PyErr_Occurred()) SWIG_fail
;
14671 resultobj
= SWIG_From_size_t(static_cast< size_t >(result
));
14678 SWIGINTERN PyObject
*_wrap_VListBox_GetFirstSelected(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14679 PyObject
*resultobj
= 0;
14680 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
14681 PyObject
*result
= 0 ;
14684 PyObject
*swig_obj
[1] ;
14686 if (!args
) SWIG_fail
;
14687 swig_obj
[0] = args
;
14688 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
14689 if (!SWIG_IsOK(res1
)) {
14690 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_GetFirstSelected" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
14692 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
14694 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14695 result
= (PyObject
*)wxPyVListBox_GetFirstSelected(arg1
);
14696 wxPyEndAllowThreads(__tstate
);
14697 if (PyErr_Occurred()) SWIG_fail
;
14699 resultobj
= result
;
14706 SWIGINTERN PyObject
*_wrap_VListBox_GetNextSelected(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14707 PyObject
*resultobj
= 0;
14708 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
14709 unsigned long arg2
;
14710 PyObject
*result
= 0 ;
14713 unsigned long val2
;
14715 PyObject
* obj0
= 0 ;
14716 PyObject
* obj1
= 0 ;
14717 char * kwnames
[] = {
14718 (char *) "self",(char *) "cookie", NULL
14721 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_GetNextSelected",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14722 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
14723 if (!SWIG_IsOK(res1
)) {
14724 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_GetNextSelected" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
14726 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
14727 ecode2
= SWIG_AsVal_unsigned_SS_long(obj1
, &val2
);
14728 if (!SWIG_IsOK(ecode2
)) {
14729 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "VListBox_GetNextSelected" "', expected argument " "2"" of type '" "unsigned long""'");
14731 arg2
= static_cast< unsigned long >(val2
);
14733 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14734 result
= (PyObject
*)wxPyVListBox_GetNextSelected(arg1
,arg2
);
14735 wxPyEndAllowThreads(__tstate
);
14736 if (PyErr_Occurred()) SWIG_fail
;
14738 resultobj
= result
;
14745 SWIGINTERN PyObject
*_wrap_VListBox_GetMargins(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14746 PyObject
*resultobj
= 0;
14747 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
14751 PyObject
*swig_obj
[1] ;
14753 if (!args
) SWIG_fail
;
14754 swig_obj
[0] = args
;
14755 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
14756 if (!SWIG_IsOK(res1
)) {
14757 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_GetMargins" "', expected argument " "1"" of type '" "wxPyVListBox const *""'");
14759 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
14761 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14762 result
= ((wxPyVListBox
const *)arg1
)->GetMargins();
14763 wxPyEndAllowThreads(__tstate
);
14764 if (PyErr_Occurred()) SWIG_fail
;
14766 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
14773 SWIGINTERN PyObject
*_wrap_VListBox_GetSelectionBackground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14774 PyObject
*resultobj
= 0;
14775 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
14776 wxColour
*result
= 0 ;
14779 PyObject
*swig_obj
[1] ;
14781 if (!args
) SWIG_fail
;
14782 swig_obj
[0] = args
;
14783 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
14784 if (!SWIG_IsOK(res1
)) {
14785 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_GetSelectionBackground" "', expected argument " "1"" of type '" "wxPyVListBox const *""'");
14787 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
14789 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14791 wxColour
const &_result_ref
= ((wxPyVListBox
const *)arg1
)->GetSelectionBackground();
14792 result
= (wxColour
*) &_result_ref
;
14794 wxPyEndAllowThreads(__tstate
);
14795 if (PyErr_Occurred()) SWIG_fail
;
14797 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColour
, 0 | 0 );
14804 SWIGINTERN PyObject
*_wrap_VListBox_SetItemCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14805 PyObject
*resultobj
= 0;
14806 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
14812 PyObject
* obj0
= 0 ;
14813 PyObject
* obj1
= 0 ;
14814 char * kwnames
[] = {
14815 (char *) "self",(char *) "count", NULL
14818 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_SetItemCount",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14819 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
14820 if (!SWIG_IsOK(res1
)) {
14821 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_SetItemCount" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
14823 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
14824 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
14825 if (!SWIG_IsOK(ecode2
)) {
14826 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "VListBox_SetItemCount" "', expected argument " "2"" of type '" "size_t""'");
14828 arg2
= static_cast< size_t >(val2
);
14830 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14831 (arg1
)->SetItemCount(arg2
);
14832 wxPyEndAllowThreads(__tstate
);
14833 if (PyErr_Occurred()) SWIG_fail
;
14835 resultobj
= SWIG_Py_Void();
14842 SWIGINTERN PyObject
*_wrap_VListBox_Clear(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14843 PyObject
*resultobj
= 0;
14844 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
14847 PyObject
*swig_obj
[1] ;
14849 if (!args
) SWIG_fail
;
14850 swig_obj
[0] = args
;
14851 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
14852 if (!SWIG_IsOK(res1
)) {
14853 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_Clear" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
14855 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
14857 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14859 wxPyEndAllowThreads(__tstate
);
14860 if (PyErr_Occurred()) SWIG_fail
;
14862 resultobj
= SWIG_Py_Void();
14869 SWIGINTERN PyObject
*_wrap_VListBox_SetSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14870 PyObject
*resultobj
= 0;
14871 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
14877 PyObject
* obj0
= 0 ;
14878 PyObject
* obj1
= 0 ;
14879 char * kwnames
[] = {
14880 (char *) "self",(char *) "selection", NULL
14883 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_SetSelection",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14884 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
14885 if (!SWIG_IsOK(res1
)) {
14886 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_SetSelection" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
14888 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
14889 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
14890 if (!SWIG_IsOK(ecode2
)) {
14891 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "VListBox_SetSelection" "', expected argument " "2"" of type '" "int""'");
14893 arg2
= static_cast< int >(val2
);
14895 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14896 (arg1
)->SetSelection(arg2
);
14897 wxPyEndAllowThreads(__tstate
);
14898 if (PyErr_Occurred()) SWIG_fail
;
14900 resultobj
= SWIG_Py_Void();
14907 SWIGINTERN PyObject
*_wrap_VListBox_Select(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14908 PyObject
*resultobj
= 0;
14909 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
14911 bool arg3
= (bool) true ;
14919 PyObject
* obj0
= 0 ;
14920 PyObject
* obj1
= 0 ;
14921 PyObject
* obj2
= 0 ;
14922 char * kwnames
[] = {
14923 (char *) "self",(char *) "item",(char *) "select", NULL
14926 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:VListBox_Select",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
14927 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
14928 if (!SWIG_IsOK(res1
)) {
14929 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_Select" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
14931 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
14932 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
14933 if (!SWIG_IsOK(ecode2
)) {
14934 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "VListBox_Select" "', expected argument " "2"" of type '" "size_t""'");
14936 arg2
= static_cast< size_t >(val2
);
14938 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
14939 if (!SWIG_IsOK(ecode3
)) {
14940 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "VListBox_Select" "', expected argument " "3"" of type '" "bool""'");
14942 arg3
= static_cast< bool >(val3
);
14945 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14946 result
= (bool)(arg1
)->Select(arg2
,arg3
);
14947 wxPyEndAllowThreads(__tstate
);
14948 if (PyErr_Occurred()) SWIG_fail
;
14951 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14959 SWIGINTERN PyObject
*_wrap_VListBox_SelectRange(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14960 PyObject
*resultobj
= 0;
14961 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
14971 PyObject
* obj0
= 0 ;
14972 PyObject
* obj1
= 0 ;
14973 PyObject
* obj2
= 0 ;
14974 char * kwnames
[] = {
14975 (char *) "self",(char *) "from",(char *) "to", NULL
14978 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:VListBox_SelectRange",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
14979 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
14980 if (!SWIG_IsOK(res1
)) {
14981 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_SelectRange" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
14983 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
14984 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
14985 if (!SWIG_IsOK(ecode2
)) {
14986 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "VListBox_SelectRange" "', expected argument " "2"" of type '" "size_t""'");
14988 arg2
= static_cast< size_t >(val2
);
14989 ecode3
= SWIG_AsVal_size_t(obj2
, &val3
);
14990 if (!SWIG_IsOK(ecode3
)) {
14991 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "VListBox_SelectRange" "', expected argument " "3"" of type '" "size_t""'");
14993 arg3
= static_cast< size_t >(val3
);
14995 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14996 result
= (bool)(arg1
)->SelectRange(arg2
,arg3
);
14997 wxPyEndAllowThreads(__tstate
);
14998 if (PyErr_Occurred()) SWIG_fail
;
15001 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15009 SWIGINTERN PyObject
*_wrap_VListBox_Toggle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15010 PyObject
*resultobj
= 0;
15011 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
15017 PyObject
* obj0
= 0 ;
15018 PyObject
* obj1
= 0 ;
15019 char * kwnames
[] = {
15020 (char *) "self",(char *) "item", NULL
15023 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_Toggle",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15024 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
15025 if (!SWIG_IsOK(res1
)) {
15026 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_Toggle" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
15028 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
15029 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
15030 if (!SWIG_IsOK(ecode2
)) {
15031 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "VListBox_Toggle" "', expected argument " "2"" of type '" "size_t""'");
15033 arg2
= static_cast< size_t >(val2
);
15035 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15036 (arg1
)->Toggle(arg2
);
15037 wxPyEndAllowThreads(__tstate
);
15038 if (PyErr_Occurred()) SWIG_fail
;
15040 resultobj
= SWIG_Py_Void();
15047 SWIGINTERN PyObject
*_wrap_VListBox_SelectAll(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15048 PyObject
*resultobj
= 0;
15049 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
15053 PyObject
*swig_obj
[1] ;
15055 if (!args
) SWIG_fail
;
15056 swig_obj
[0] = args
;
15057 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
15058 if (!SWIG_IsOK(res1
)) {
15059 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_SelectAll" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
15061 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
15063 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15064 result
= (bool)(arg1
)->SelectAll();
15065 wxPyEndAllowThreads(__tstate
);
15066 if (PyErr_Occurred()) SWIG_fail
;
15069 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15077 SWIGINTERN PyObject
*_wrap_VListBox_DeselectAll(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15078 PyObject
*resultobj
= 0;
15079 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
15083 PyObject
*swig_obj
[1] ;
15085 if (!args
) SWIG_fail
;
15086 swig_obj
[0] = args
;
15087 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
15088 if (!SWIG_IsOK(res1
)) {
15089 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_DeselectAll" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
15091 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
15093 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15094 result
= (bool)(arg1
)->DeselectAll();
15095 wxPyEndAllowThreads(__tstate
);
15096 if (PyErr_Occurred()) SWIG_fail
;
15099 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15107 SWIGINTERN PyObject
*_wrap_VListBox_SetMargins(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15108 PyObject
*resultobj
= 0;
15109 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
15110 wxPoint
*arg2
= 0 ;
15114 PyObject
* obj0
= 0 ;
15115 PyObject
* obj1
= 0 ;
15116 char * kwnames
[] = {
15117 (char *) "self",(char *) "pt", NULL
15120 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_SetMargins",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15121 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
15122 if (!SWIG_IsOK(res1
)) {
15123 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_SetMargins" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
15125 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
15128 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
15131 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15132 (arg1
)->SetMargins((wxPoint
const &)*arg2
);
15133 wxPyEndAllowThreads(__tstate
);
15134 if (PyErr_Occurred()) SWIG_fail
;
15136 resultobj
= SWIG_Py_Void();
15143 SWIGINTERN PyObject
*_wrap_VListBox_SetMarginsXY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15144 PyObject
*resultobj
= 0;
15145 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
15154 PyObject
* obj0
= 0 ;
15155 PyObject
* obj1
= 0 ;
15156 PyObject
* obj2
= 0 ;
15157 char * kwnames
[] = {
15158 (char *) "self",(char *) "x",(char *) "y", NULL
15161 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:VListBox_SetMarginsXY",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
15162 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
15163 if (!SWIG_IsOK(res1
)) {
15164 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_SetMarginsXY" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
15166 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
15167 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15168 if (!SWIG_IsOK(ecode2
)) {
15169 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "VListBox_SetMarginsXY" "', expected argument " "2"" of type '" "int""'");
15171 arg2
= static_cast< int >(val2
);
15172 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
15173 if (!SWIG_IsOK(ecode3
)) {
15174 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "VListBox_SetMarginsXY" "', expected argument " "3"" of type '" "int""'");
15176 arg3
= static_cast< int >(val3
);
15178 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15179 (arg1
)->SetMargins(arg2
,arg3
);
15180 wxPyEndAllowThreads(__tstate
);
15181 if (PyErr_Occurred()) SWIG_fail
;
15183 resultobj
= SWIG_Py_Void();
15190 SWIGINTERN PyObject
*_wrap_VListBox_SetSelectionBackground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15191 PyObject
*resultobj
= 0;
15192 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
15193 wxColour
*arg2
= 0 ;
15197 PyObject
* obj0
= 0 ;
15198 PyObject
* obj1
= 0 ;
15199 char * kwnames
[] = {
15200 (char *) "self",(char *) "col", NULL
15203 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_SetSelectionBackground",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15204 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
15205 if (!SWIG_IsOK(res1
)) {
15206 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_SetSelectionBackground" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
15208 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
15211 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
15214 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15215 (arg1
)->SetSelectionBackground((wxColour
const &)*arg2
);
15216 wxPyEndAllowThreads(__tstate
);
15217 if (PyErr_Occurred()) SWIG_fail
;
15219 resultobj
= SWIG_Py_Void();
15226 SWIGINTERN PyObject
*_wrap_VListBox_OnDrawSeparator(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15227 PyObject
*resultobj
= 0;
15228 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
15239 PyObject
* obj0
= 0 ;
15240 PyObject
* obj1
= 0 ;
15241 PyObject
* obj2
= 0 ;
15242 PyObject
* obj3
= 0 ;
15243 char * kwnames
[] = {
15244 (char *) "self",(char *) "dc",(char *) "rect",(char *) "n", NULL
15247 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:VListBox_OnDrawSeparator",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
15248 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
15249 if (!SWIG_IsOK(res1
)) {
15250 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_OnDrawSeparator" "', expected argument " "1"" of type '" "wxPyVListBox const *""'");
15252 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
15253 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDC
, 0 );
15254 if (!SWIG_IsOK(res2
)) {
15255 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "VListBox_OnDrawSeparator" "', expected argument " "2"" of type '" "wxDC &""'");
15258 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "VListBox_OnDrawSeparator" "', expected argument " "2"" of type '" "wxDC &""'");
15260 arg2
= reinterpret_cast< wxDC
* >(argp2
);
15263 if ( ! wxRect_helper(obj2
, &arg3
)) SWIG_fail
;
15265 ecode4
= SWIG_AsVal_size_t(obj3
, &val4
);
15266 if (!SWIG_IsOK(ecode4
)) {
15267 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "VListBox_OnDrawSeparator" "', expected argument " "4"" of type '" "size_t""'");
15269 arg4
= static_cast< size_t >(val4
);
15271 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15272 ((wxPyVListBox
const *)arg1
)->OnDrawSeparator(*arg2
,*arg3
,arg4
);
15273 wxPyEndAllowThreads(__tstate
);
15274 if (PyErr_Occurred()) SWIG_fail
;
15276 resultobj
= SWIG_Py_Void();
15283 SWIGINTERN PyObject
*_wrap_VListBox_OnDrawBackground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15284 PyObject
*resultobj
= 0;
15285 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
15296 PyObject
* obj0
= 0 ;
15297 PyObject
* obj1
= 0 ;
15298 PyObject
* obj2
= 0 ;
15299 PyObject
* obj3
= 0 ;
15300 char * kwnames
[] = {
15301 (char *) "self",(char *) "dc",(char *) "rect",(char *) "n", NULL
15304 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:VListBox_OnDrawBackground",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
15305 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
15306 if (!SWIG_IsOK(res1
)) {
15307 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_OnDrawBackground" "', expected argument " "1"" of type '" "wxPyVListBox const *""'");
15309 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
15310 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDC
, 0 );
15311 if (!SWIG_IsOK(res2
)) {
15312 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "VListBox_OnDrawBackground" "', expected argument " "2"" of type '" "wxDC &""'");
15315 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "VListBox_OnDrawBackground" "', expected argument " "2"" of type '" "wxDC &""'");
15317 arg2
= reinterpret_cast< wxDC
* >(argp2
);
15320 if ( ! wxRect_helper(obj2
, &arg3
)) SWIG_fail
;
15322 ecode4
= SWIG_AsVal_size_t(obj3
, &val4
);
15323 if (!SWIG_IsOK(ecode4
)) {
15324 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "VListBox_OnDrawBackground" "', expected argument " "4"" of type '" "size_t""'");
15326 arg4
= static_cast< size_t >(val4
);
15328 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15329 ((wxPyVListBox
const *)arg1
)->OnDrawBackground(*arg2
,(wxRect
const &)*arg3
,arg4
);
15330 wxPyEndAllowThreads(__tstate
);
15331 if (PyErr_Occurred()) SWIG_fail
;
15333 resultobj
= SWIG_Py_Void();
15340 SWIGINTERN PyObject
*VListBox_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15342 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
15343 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyVListBox
, SWIG_NewClientData(obj
));
15344 return SWIG_Py_Void();
15347 SWIGINTERN PyObject
*VListBox_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15348 return SWIG_Python_InitShadowInstance(args
);
15351 SWIGINTERN PyObject
*_wrap_new_HtmlListBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15352 PyObject
*resultobj
= 0;
15353 wxWindow
*arg1
= (wxWindow
*) 0 ;
15354 int arg2
= (int) wxID_ANY
;
15355 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
15356 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
15357 wxSize
const &arg4_defvalue
= wxDefaultSize
;
15358 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
15359 long arg5
= (long) 0 ;
15360 wxString
const &arg6_defvalue
= wxPyVListBoxNameStr
;
15361 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
15362 wxPyHtmlListBox
*result
= 0 ;
15371 bool temp6
= false ;
15372 PyObject
* obj0
= 0 ;
15373 PyObject
* obj1
= 0 ;
15374 PyObject
* obj2
= 0 ;
15375 PyObject
* obj3
= 0 ;
15376 PyObject
* obj4
= 0 ;
15377 PyObject
* obj5
= 0 ;
15378 char * kwnames
[] = {
15379 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
15382 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_HtmlListBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
15383 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
15384 if (!SWIG_IsOK(res1
)) {
15385 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_HtmlListBox" "', expected argument " "1"" of type '" "wxWindow *""'");
15387 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
15389 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15390 if (!SWIG_IsOK(ecode2
)) {
15391 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_HtmlListBox" "', expected argument " "2"" of type '" "int""'");
15393 arg2
= static_cast< int >(val2
);
15398 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
15404 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
15408 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
15409 if (!SWIG_IsOK(ecode5
)) {
15410 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_HtmlListBox" "', expected argument " "5"" of type '" "long""'");
15412 arg5
= static_cast< long >(val5
);
15416 arg6
= wxString_in_helper(obj5
);
15417 if (arg6
== NULL
) SWIG_fail
;
15422 if (!wxPyCheckForApp()) SWIG_fail
;
15423 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15424 result
= (wxPyHtmlListBox
*)new wxPyHtmlListBox(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
15425 wxPyEndAllowThreads(__tstate
);
15426 if (PyErr_Occurred()) SWIG_fail
;
15428 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyHtmlListBox
, SWIG_POINTER_NEW
| 0 );
15443 SWIGINTERN PyObject
*_wrap_new_PreHtmlListBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15444 PyObject
*resultobj
= 0;
15445 wxPyHtmlListBox
*result
= 0 ;
15447 if (!SWIG_Python_UnpackTuple(args
,"new_PreHtmlListBox",0,0,0)) SWIG_fail
;
15449 if (!wxPyCheckForApp()) SWIG_fail
;
15450 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15451 result
= (wxPyHtmlListBox
*)new wxPyHtmlListBox();
15452 wxPyEndAllowThreads(__tstate
);
15453 if (PyErr_Occurred()) SWIG_fail
;
15455 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyHtmlListBox
, SWIG_POINTER_OWN
| 0 );
15462 SWIGINTERN PyObject
*_wrap_HtmlListBox__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15463 PyObject
*resultobj
= 0;
15464 wxPyHtmlListBox
*arg1
= (wxPyHtmlListBox
*) 0 ;
15465 PyObject
*arg2
= (PyObject
*) 0 ;
15466 PyObject
*arg3
= (PyObject
*) 0 ;
15469 PyObject
* obj0
= 0 ;
15470 PyObject
* obj1
= 0 ;
15471 PyObject
* obj2
= 0 ;
15472 char * kwnames
[] = {
15473 (char *) "self",(char *) "self",(char *) "_class", NULL
15476 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:HtmlListBox__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
15477 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyHtmlListBox
, 0 | 0 );
15478 if (!SWIG_IsOK(res1
)) {
15479 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlListBox__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyHtmlListBox *""'");
15481 arg1
= reinterpret_cast< wxPyHtmlListBox
* >(argp1
);
15485 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15486 (arg1
)->_setCallbackInfo(arg2
,arg3
);
15487 wxPyEndAllowThreads(__tstate
);
15488 if (PyErr_Occurred()) SWIG_fail
;
15490 resultobj
= SWIG_Py_Void();
15497 SWIGINTERN PyObject
*_wrap_HtmlListBox_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15498 PyObject
*resultobj
= 0;
15499 wxPyHtmlListBox
*arg1
= (wxPyHtmlListBox
*) 0 ;
15500 wxWindow
*arg2
= (wxWindow
*) 0 ;
15501 int arg3
= (int) wxID_ANY
;
15502 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
15503 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
15504 wxSize
const &arg5_defvalue
= wxDefaultSize
;
15505 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
15506 long arg6
= (long) 0 ;
15507 wxString
const &arg7_defvalue
= wxPyVListBoxNameStr
;
15508 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
15520 bool temp7
= false ;
15521 PyObject
* obj0
= 0 ;
15522 PyObject
* obj1
= 0 ;
15523 PyObject
* obj2
= 0 ;
15524 PyObject
* obj3
= 0 ;
15525 PyObject
* obj4
= 0 ;
15526 PyObject
* obj5
= 0 ;
15527 PyObject
* obj6
= 0 ;
15528 char * kwnames
[] = {
15529 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
15532 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:HtmlListBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
15533 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyHtmlListBox
, 0 | 0 );
15534 if (!SWIG_IsOK(res1
)) {
15535 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlListBox_Create" "', expected argument " "1"" of type '" "wxPyHtmlListBox *""'");
15537 arg1
= reinterpret_cast< wxPyHtmlListBox
* >(argp1
);
15538 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
15539 if (!SWIG_IsOK(res2
)) {
15540 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "HtmlListBox_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
15542 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
15544 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
15545 if (!SWIG_IsOK(ecode3
)) {
15546 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "HtmlListBox_Create" "', expected argument " "3"" of type '" "int""'");
15548 arg3
= static_cast< int >(val3
);
15553 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
15559 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
15563 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
15564 if (!SWIG_IsOK(ecode6
)) {
15565 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "HtmlListBox_Create" "', expected argument " "6"" of type '" "long""'");
15567 arg6
= static_cast< long >(val6
);
15571 arg7
= wxString_in_helper(obj6
);
15572 if (arg7
== NULL
) SWIG_fail
;
15577 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15578 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
15579 wxPyEndAllowThreads(__tstate
);
15580 if (PyErr_Occurred()) SWIG_fail
;
15583 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15599 SWIGINTERN PyObject
*_wrap_HtmlListBox_SetItemCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15600 PyObject
*resultobj
= 0;
15601 wxPyHtmlListBox
*arg1
= (wxPyHtmlListBox
*) 0 ;
15607 PyObject
* obj0
= 0 ;
15608 PyObject
* obj1
= 0 ;
15609 char * kwnames
[] = {
15610 (char *) "self",(char *) "count", NULL
15613 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlListBox_SetItemCount",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15614 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyHtmlListBox
, 0 | 0 );
15615 if (!SWIG_IsOK(res1
)) {
15616 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlListBox_SetItemCount" "', expected argument " "1"" of type '" "wxPyHtmlListBox *""'");
15618 arg1
= reinterpret_cast< wxPyHtmlListBox
* >(argp1
);
15619 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
15620 if (!SWIG_IsOK(ecode2
)) {
15621 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "HtmlListBox_SetItemCount" "', expected argument " "2"" of type '" "size_t""'");
15623 arg2
= static_cast< size_t >(val2
);
15625 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15626 (arg1
)->SetItemCount(arg2
);
15627 wxPyEndAllowThreads(__tstate
);
15628 if (PyErr_Occurred()) SWIG_fail
;
15630 resultobj
= SWIG_Py_Void();
15637 SWIGINTERN PyObject
*_wrap_HtmlListBox_GetFileSystem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15638 PyObject
*resultobj
= 0;
15639 wxPyHtmlListBox
*arg1
= (wxPyHtmlListBox
*) 0 ;
15640 wxFileSystem
*result
= 0 ;
15643 PyObject
*swig_obj
[1] ;
15645 if (!args
) SWIG_fail
;
15646 swig_obj
[0] = args
;
15647 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyHtmlListBox
, 0 | 0 );
15648 if (!SWIG_IsOK(res1
)) {
15649 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlListBox_GetFileSystem" "', expected argument " "1"" of type '" "wxPyHtmlListBox *""'");
15651 arg1
= reinterpret_cast< wxPyHtmlListBox
* >(argp1
);
15653 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15655 wxFileSystem
&_result_ref
= (arg1
)->GetFileSystem();
15656 result
= (wxFileSystem
*) &_result_ref
;
15658 wxPyEndAllowThreads(__tstate
);
15659 if (PyErr_Occurred()) SWIG_fail
;
15661 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFileSystem
, 0 | 0 );
15668 SWIGINTERN PyObject
*_wrap_HtmlListBox_OnLinkClicked(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15669 PyObject
*resultobj
= 0;
15670 wxPyHtmlListBox
*arg1
= (wxPyHtmlListBox
*) 0 ;
15672 wxHtmlLinkInfo
*arg3
= 0 ;
15679 PyObject
* obj0
= 0 ;
15680 PyObject
* obj1
= 0 ;
15681 PyObject
* obj2
= 0 ;
15682 char * kwnames
[] = {
15683 (char *) "self",(char *) "n",(char *) "link", NULL
15686 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:HtmlListBox_OnLinkClicked",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
15687 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyHtmlListBox
, 0 | 0 );
15688 if (!SWIG_IsOK(res1
)) {
15689 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlListBox_OnLinkClicked" "', expected argument " "1"" of type '" "wxPyHtmlListBox *""'");
15691 arg1
= reinterpret_cast< wxPyHtmlListBox
* >(argp1
);
15692 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
15693 if (!SWIG_IsOK(ecode2
)) {
15694 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "HtmlListBox_OnLinkClicked" "', expected argument " "2"" of type '" "size_t""'");
15696 arg2
= static_cast< size_t >(val2
);
15697 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxHtmlLinkInfo
, 0 | 0);
15698 if (!SWIG_IsOK(res3
)) {
15699 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "HtmlListBox_OnLinkClicked" "', expected argument " "3"" of type '" "wxHtmlLinkInfo const &""'");
15702 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "HtmlListBox_OnLinkClicked" "', expected argument " "3"" of type '" "wxHtmlLinkInfo const &""'");
15704 arg3
= reinterpret_cast< wxHtmlLinkInfo
* >(argp3
);
15706 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15707 (arg1
)->OnLinkClicked(arg2
,(wxHtmlLinkInfo
const &)*arg3
);
15708 wxPyEndAllowThreads(__tstate
);
15709 if (PyErr_Occurred()) SWIG_fail
;
15711 resultobj
= SWIG_Py_Void();
15718 SWIGINTERN PyObject
*HtmlListBox_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15720 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
15721 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyHtmlListBox
, SWIG_NewClientData(obj
));
15722 return SWIG_Py_Void();
15725 SWIGINTERN PyObject
*HtmlListBox_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15726 return SWIG_Python_InitShadowInstance(args
);
15729 SWIGINTERN PyObject
*_wrap_new_TaskBarIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15730 PyObject
*resultobj
= 0;
15731 wxPyTaskBarIcon
*result
= 0 ;
15733 if (!SWIG_Python_UnpackTuple(args
,"new_TaskBarIcon",0,0,0)) SWIG_fail
;
15735 if (!wxPyCheckForApp()) SWIG_fail
;
15736 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15737 result
= (wxPyTaskBarIcon
*)new wxPyTaskBarIcon();
15738 wxPyEndAllowThreads(__tstate
);
15739 if (PyErr_Occurred()) SWIG_fail
;
15741 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyTaskBarIcon
, SWIG_POINTER_NEW
| 0 );
15748 SWIGINTERN PyObject
*_wrap_delete_TaskBarIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15749 PyObject
*resultobj
= 0;
15750 wxPyTaskBarIcon
*arg1
= (wxPyTaskBarIcon
*) 0 ;
15753 PyObject
*swig_obj
[1] ;
15755 if (!args
) SWIG_fail
;
15756 swig_obj
[0] = args
;
15757 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTaskBarIcon
, SWIG_POINTER_DISOWN
| 0 );
15758 if (!SWIG_IsOK(res1
)) {
15759 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_TaskBarIcon" "', expected argument " "1"" of type '" "wxPyTaskBarIcon *""'");
15761 arg1
= reinterpret_cast< wxPyTaskBarIcon
* >(argp1
);
15763 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15766 wxPyEndAllowThreads(__tstate
);
15767 if (PyErr_Occurred()) SWIG_fail
;
15769 resultobj
= SWIG_Py_Void();
15776 SWIGINTERN PyObject
*_wrap_TaskBarIcon__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15777 PyObject
*resultobj
= 0;
15778 wxPyTaskBarIcon
*arg1
= (wxPyTaskBarIcon
*) 0 ;
15779 PyObject
*arg2
= (PyObject
*) 0 ;
15780 PyObject
*arg3
= (PyObject
*) 0 ;
15786 PyObject
* obj0
= 0 ;
15787 PyObject
* obj1
= 0 ;
15788 PyObject
* obj2
= 0 ;
15789 PyObject
* obj3
= 0 ;
15790 char * kwnames
[] = {
15791 (char *) "self",(char *) "self",(char *) "_class",(char *) "incref", NULL
15794 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:TaskBarIcon__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
15795 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTaskBarIcon
, 0 | 0 );
15796 if (!SWIG_IsOK(res1
)) {
15797 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TaskBarIcon__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyTaskBarIcon *""'");
15799 arg1
= reinterpret_cast< wxPyTaskBarIcon
* >(argp1
);
15802 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
15803 if (!SWIG_IsOK(ecode4
)) {
15804 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "TaskBarIcon__setCallbackInfo" "', expected argument " "4"" of type '" "int""'");
15806 arg4
= static_cast< int >(val4
);
15808 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15809 (arg1
)->_setCallbackInfo(arg2
,arg3
,arg4
);
15810 wxPyEndAllowThreads(__tstate
);
15811 if (PyErr_Occurred()) SWIG_fail
;
15813 resultobj
= SWIG_Py_Void();
15820 SWIGINTERN PyObject
*_wrap_TaskBarIcon_Destroy(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15821 PyObject
*resultobj
= 0;
15822 wxPyTaskBarIcon
*arg1
= (wxPyTaskBarIcon
*) 0 ;
15825 PyObject
*swig_obj
[1] ;
15827 if (!args
) SWIG_fail
;
15828 swig_obj
[0] = args
;
15829 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTaskBarIcon
, 0 | 0 );
15830 if (!SWIG_IsOK(res1
)) {
15831 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TaskBarIcon_Destroy" "', expected argument " "1"" of type '" "wxPyTaskBarIcon *""'");
15833 arg1
= reinterpret_cast< wxPyTaskBarIcon
* >(argp1
);
15835 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15836 wxPyTaskBarIcon_Destroy(arg1
);
15837 wxPyEndAllowThreads(__tstate
);
15838 if (PyErr_Occurred()) SWIG_fail
;
15840 resultobj
= SWIG_Py_Void();
15847 SWIGINTERN PyObject
*_wrap_TaskBarIcon_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15848 PyObject
*resultobj
= 0;
15849 wxPyTaskBarIcon
*arg1
= (wxPyTaskBarIcon
*) 0 ;
15853 PyObject
*swig_obj
[1] ;
15855 if (!args
) SWIG_fail
;
15856 swig_obj
[0] = args
;
15857 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTaskBarIcon
, 0 | 0 );
15858 if (!SWIG_IsOK(res1
)) {
15859 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TaskBarIcon_IsOk" "', expected argument " "1"" of type '" "wxPyTaskBarIcon const *""'");
15861 arg1
= reinterpret_cast< wxPyTaskBarIcon
* >(argp1
);
15863 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15864 result
= (bool)((wxPyTaskBarIcon
const *)arg1
)->IsOk();
15865 wxPyEndAllowThreads(__tstate
);
15866 if (PyErr_Occurred()) SWIG_fail
;
15869 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15877 SWIGINTERN PyObject
*_wrap_TaskBarIcon_IsIconInstalled(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15878 PyObject
*resultobj
= 0;
15879 wxPyTaskBarIcon
*arg1
= (wxPyTaskBarIcon
*) 0 ;
15883 PyObject
*swig_obj
[1] ;
15885 if (!args
) SWIG_fail
;
15886 swig_obj
[0] = args
;
15887 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTaskBarIcon
, 0 | 0 );
15888 if (!SWIG_IsOK(res1
)) {
15889 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TaskBarIcon_IsIconInstalled" "', expected argument " "1"" of type '" "wxPyTaskBarIcon const *""'");
15891 arg1
= reinterpret_cast< wxPyTaskBarIcon
* >(argp1
);
15893 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15894 result
= (bool)((wxPyTaskBarIcon
const *)arg1
)->IsIconInstalled();
15895 wxPyEndAllowThreads(__tstate
);
15896 if (PyErr_Occurred()) SWIG_fail
;
15899 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15907 SWIGINTERN PyObject
*_wrap_TaskBarIcon_SetIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15908 PyObject
*resultobj
= 0;
15909 wxPyTaskBarIcon
*arg1
= (wxPyTaskBarIcon
*) 0 ;
15911 wxString
const &arg3_defvalue
= wxPyEmptyString
;
15912 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
15918 bool temp3
= false ;
15919 PyObject
* obj0
= 0 ;
15920 PyObject
* obj1
= 0 ;
15921 PyObject
* obj2
= 0 ;
15922 char * kwnames
[] = {
15923 (char *) "self",(char *) "icon",(char *) "tooltip", NULL
15926 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TaskBarIcon_SetIcon",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
15927 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTaskBarIcon
, 0 | 0 );
15928 if (!SWIG_IsOK(res1
)) {
15929 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TaskBarIcon_SetIcon" "', expected argument " "1"" of type '" "wxPyTaskBarIcon *""'");
15931 arg1
= reinterpret_cast< wxPyTaskBarIcon
* >(argp1
);
15932 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxIcon
, 0 | 0);
15933 if (!SWIG_IsOK(res2
)) {
15934 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TaskBarIcon_SetIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
15937 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TaskBarIcon_SetIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
15939 arg2
= reinterpret_cast< wxIcon
* >(argp2
);
15942 arg3
= wxString_in_helper(obj2
);
15943 if (arg3
== NULL
) SWIG_fail
;
15948 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15949 result
= (bool)(arg1
)->SetIcon((wxIcon
const &)*arg2
,(wxString
const &)*arg3
);
15950 wxPyEndAllowThreads(__tstate
);
15951 if (PyErr_Occurred()) SWIG_fail
;
15954 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15970 SWIGINTERN PyObject
*_wrap_TaskBarIcon_RemoveIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15971 PyObject
*resultobj
= 0;
15972 wxPyTaskBarIcon
*arg1
= (wxPyTaskBarIcon
*) 0 ;
15976 PyObject
*swig_obj
[1] ;
15978 if (!args
) SWIG_fail
;
15979 swig_obj
[0] = args
;
15980 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTaskBarIcon
, 0 | 0 );
15981 if (!SWIG_IsOK(res1
)) {
15982 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TaskBarIcon_RemoveIcon" "', expected argument " "1"" of type '" "wxPyTaskBarIcon *""'");
15984 arg1
= reinterpret_cast< wxPyTaskBarIcon
* >(argp1
);
15986 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15987 result
= (bool)(arg1
)->RemoveIcon();
15988 wxPyEndAllowThreads(__tstate
);
15989 if (PyErr_Occurred()) SWIG_fail
;
15992 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16000 SWIGINTERN PyObject
*_wrap_TaskBarIcon_PopupMenu(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16001 PyObject
*resultobj
= 0;
16002 wxPyTaskBarIcon
*arg1
= (wxPyTaskBarIcon
*) 0 ;
16003 wxMenu
*arg2
= (wxMenu
*) 0 ;
16009 PyObject
* obj0
= 0 ;
16010 PyObject
* obj1
= 0 ;
16011 char * kwnames
[] = {
16012 (char *) "self",(char *) "menu", NULL
16015 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TaskBarIcon_PopupMenu",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16016 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTaskBarIcon
, 0 | 0 );
16017 if (!SWIG_IsOK(res1
)) {
16018 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TaskBarIcon_PopupMenu" "', expected argument " "1"" of type '" "wxPyTaskBarIcon *""'");
16020 arg1
= reinterpret_cast< wxPyTaskBarIcon
* >(argp1
);
16021 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxMenu
, 0 | 0 );
16022 if (!SWIG_IsOK(res2
)) {
16023 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TaskBarIcon_PopupMenu" "', expected argument " "2"" of type '" "wxMenu *""'");
16025 arg2
= reinterpret_cast< wxMenu
* >(argp2
);
16027 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16028 result
= (bool)(arg1
)->PopupMenu(arg2
);
16029 wxPyEndAllowThreads(__tstate
);
16030 if (PyErr_Occurred()) SWIG_fail
;
16033 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16041 SWIGINTERN PyObject
*TaskBarIcon_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16043 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
16044 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyTaskBarIcon
, SWIG_NewClientData(obj
));
16045 return SWIG_Py_Void();
16048 SWIGINTERN PyObject
*TaskBarIcon_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16049 return SWIG_Python_InitShadowInstance(args
);
16052 SWIGINTERN PyObject
*_wrap_new_TaskBarIconEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16053 PyObject
*resultobj
= 0;
16055 wxTaskBarIcon
*arg2
= (wxTaskBarIcon
*) 0 ;
16056 wxTaskBarIconEvent
*result
= 0 ;
16061 PyObject
* obj0
= 0 ;
16062 PyObject
* obj1
= 0 ;
16063 char * kwnames
[] = {
16064 (char *) "evtType",(char *) "tbIcon", NULL
16067 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_TaskBarIconEvent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16068 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
16069 if (!SWIG_IsOK(ecode1
)) {
16070 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_TaskBarIconEvent" "', expected argument " "1"" of type '" "wxEventType""'");
16072 arg1
= static_cast< wxEventType
>(val1
);
16073 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxTaskBarIcon
, 0 | 0 );
16074 if (!SWIG_IsOK(res2
)) {
16075 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_TaskBarIconEvent" "', expected argument " "2"" of type '" "wxTaskBarIcon *""'");
16077 arg2
= reinterpret_cast< wxTaskBarIcon
* >(argp2
);
16079 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16080 result
= (wxTaskBarIconEvent
*)new wxTaskBarIconEvent(arg1
,arg2
);
16081 wxPyEndAllowThreads(__tstate
);
16082 if (PyErr_Occurred()) SWIG_fail
;
16084 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTaskBarIconEvent
, SWIG_POINTER_NEW
| 0 );
16091 SWIGINTERN PyObject
*TaskBarIconEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16093 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
16094 SWIG_TypeNewClientData(SWIGTYPE_p_wxTaskBarIconEvent
, SWIG_NewClientData(obj
));
16095 return SWIG_Py_Void();
16098 SWIGINTERN PyObject
*TaskBarIconEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16099 return SWIG_Python_InitShadowInstance(args
);
16102 SWIGINTERN
int FileSelectorPromptStr_set(PyObject
*) {
16103 SWIG_Error(SWIG_AttributeError
,"Variable FileSelectorPromptStr is read-only.");
16108 SWIGINTERN PyObject
*FileSelectorPromptStr_get(void) {
16109 PyObject
*pyobj
= 0;
16113 pyobj
= PyUnicode_FromWideChar((&wxPyFileSelectorPromptStr
)->c_str(), (&wxPyFileSelectorPromptStr
)->Len());
16115 pyobj
= PyString_FromStringAndSize((&wxPyFileSelectorPromptStr
)->c_str(), (&wxPyFileSelectorPromptStr
)->Len());
16122 SWIGINTERN
int DirSelectorPromptStr_set(PyObject
*) {
16123 SWIG_Error(SWIG_AttributeError
,"Variable DirSelectorPromptStr is read-only.");
16128 SWIGINTERN PyObject
*DirSelectorPromptStr_get(void) {
16129 PyObject
*pyobj
= 0;
16133 pyobj
= PyUnicode_FromWideChar((&wxPyDirSelectorPromptStr
)->c_str(), (&wxPyDirSelectorPromptStr
)->Len());
16135 pyobj
= PyString_FromStringAndSize((&wxPyDirSelectorPromptStr
)->c_str(), (&wxPyDirSelectorPromptStr
)->Len());
16142 SWIGINTERN
int DirDialogNameStr_set(PyObject
*) {
16143 SWIG_Error(SWIG_AttributeError
,"Variable DirDialogNameStr is read-only.");
16148 SWIGINTERN PyObject
*DirDialogNameStr_get(void) {
16149 PyObject
*pyobj
= 0;
16153 pyobj
= PyUnicode_FromWideChar((&wxPyDirDialogNameStr
)->c_str(), (&wxPyDirDialogNameStr
)->Len());
16155 pyobj
= PyString_FromStringAndSize((&wxPyDirDialogNameStr
)->c_str(), (&wxPyDirDialogNameStr
)->Len());
16162 SWIGINTERN
int FileSelectorDefaultWildcardStr_set(PyObject
*) {
16163 SWIG_Error(SWIG_AttributeError
,"Variable FileSelectorDefaultWildcardStr is read-only.");
16168 SWIGINTERN PyObject
*FileSelectorDefaultWildcardStr_get(void) {
16169 PyObject
*pyobj
= 0;
16173 pyobj
= PyUnicode_FromWideChar((&wxPyFileSelectorDefaultWildcardStr
)->c_str(), (&wxPyFileSelectorDefaultWildcardStr
)->Len());
16175 pyobj
= PyString_FromStringAndSize((&wxPyFileSelectorDefaultWildcardStr
)->c_str(), (&wxPyFileSelectorDefaultWildcardStr
)->Len());
16182 SWIGINTERN
int GetTextFromUserPromptStr_set(PyObject
*) {
16183 SWIG_Error(SWIG_AttributeError
,"Variable GetTextFromUserPromptStr is read-only.");
16188 SWIGINTERN PyObject
*GetTextFromUserPromptStr_get(void) {
16189 PyObject
*pyobj
= 0;
16193 pyobj
= PyUnicode_FromWideChar((&wxPyGetTextFromUserPromptStr
)->c_str(), (&wxPyGetTextFromUserPromptStr
)->Len());
16195 pyobj
= PyString_FromStringAndSize((&wxPyGetTextFromUserPromptStr
)->c_str(), (&wxPyGetTextFromUserPromptStr
)->Len());
16202 SWIGINTERN
int MessageBoxCaptionStr_set(PyObject
*) {
16203 SWIG_Error(SWIG_AttributeError
,"Variable MessageBoxCaptionStr is read-only.");
16208 SWIGINTERN PyObject
*MessageBoxCaptionStr_get(void) {
16209 PyObject
*pyobj
= 0;
16213 pyobj
= PyUnicode_FromWideChar((&wxPyMessageBoxCaptionStr
)->c_str(), (&wxPyMessageBoxCaptionStr
)->Len());
16215 pyobj
= PyString_FromStringAndSize((&wxPyMessageBoxCaptionStr
)->c_str(), (&wxPyMessageBoxCaptionStr
)->Len());
16222 SWIGINTERN PyObject
*_wrap_new_ColourData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16223 PyObject
*resultobj
= 0;
16224 wxColourData
*result
= 0 ;
16226 if (!SWIG_Python_UnpackTuple(args
,"new_ColourData",0,0,0)) SWIG_fail
;
16228 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16229 result
= (wxColourData
*)new wxColourData();
16230 wxPyEndAllowThreads(__tstate
);
16231 if (PyErr_Occurred()) SWIG_fail
;
16233 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColourData
, SWIG_POINTER_NEW
| 0 );
16240 SWIGINTERN PyObject
*_wrap_delete_ColourData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16241 PyObject
*resultobj
= 0;
16242 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
, SWIG_POINTER_DISOWN
| 0 );
16250 if (!SWIG_IsOK(res1
)) {
16251 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_ColourData" "', expected argument " "1"" of type '" "wxColourData *""'");
16253 arg1
= reinterpret_cast< wxColourData
* >(argp1
);
16255 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16258 wxPyEndAllowThreads(__tstate
);
16259 if (PyErr_Occurred()) SWIG_fail
;
16261 resultobj
= SWIG_Py_Void();
16268 SWIGINTERN PyObject
*_wrap_ColourData_GetChooseFull(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16269 PyObject
*resultobj
= 0;
16270 wxColourData
*arg1
= (wxColourData
*) 0 ;
16274 PyObject
*swig_obj
[1] ;
16276 if (!args
) SWIG_fail
;
16277 swig_obj
[0] = args
;
16278 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxColourData
, 0 | 0 );
16279 if (!SWIG_IsOK(res1
)) {
16280 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ColourData_GetChooseFull" "', expected argument " "1"" of type '" "wxColourData *""'");
16282 arg1
= reinterpret_cast< wxColourData
* >(argp1
);
16284 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16285 result
= (bool)(arg1
)->GetChooseFull();
16286 wxPyEndAllowThreads(__tstate
);
16287 if (PyErr_Occurred()) SWIG_fail
;
16290 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16298 SWIGINTERN PyObject
*_wrap_ColourData_GetColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16299 PyObject
*resultobj
= 0;
16300 wxColourData
*arg1
= (wxColourData
*) 0 ;
16304 PyObject
*swig_obj
[1] ;
16306 if (!args
) SWIG_fail
;
16307 swig_obj
[0] = args
;
16308 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxColourData
, 0 | 0 );
16309 if (!SWIG_IsOK(res1
)) {
16310 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ColourData_GetColour" "', expected argument " "1"" of type '" "wxColourData *""'");
16312 arg1
= reinterpret_cast< wxColourData
* >(argp1
);
16314 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16315 result
= (arg1
)->GetColour();
16316 wxPyEndAllowThreads(__tstate
);
16317 if (PyErr_Occurred()) SWIG_fail
;
16319 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
16326 SWIGINTERN PyObject
*_wrap_ColourData_GetCustomColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16327 PyObject
*resultobj
= 0;
16328 wxColourData
*arg1
= (wxColourData
*) 0 ;
16335 PyObject
* obj0
= 0 ;
16336 PyObject
* obj1
= 0 ;
16337 char * kwnames
[] = {
16338 (char *) "self",(char *) "i", NULL
16341 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ColourData_GetCustomColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16342 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColourData
, 0 | 0 );
16343 if (!SWIG_IsOK(res1
)) {
16344 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ColourData_GetCustomColour" "', expected argument " "1"" of type '" "wxColourData *""'");
16346 arg1
= reinterpret_cast< wxColourData
* >(argp1
);
16347 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
16348 if (!SWIG_IsOK(ecode2
)) {
16349 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ColourData_GetCustomColour" "', expected argument " "2"" of type '" "int""'");
16351 arg2
= static_cast< int >(val2
);
16353 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16354 result
= (arg1
)->GetCustomColour(arg2
);
16355 wxPyEndAllowThreads(__tstate
);
16356 if (PyErr_Occurred()) SWIG_fail
;
16358 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
16365 SWIGINTERN PyObject
*_wrap_ColourData_SetChooseFull(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16366 PyObject
*resultobj
= 0;
16367 wxColourData
*arg1
= (wxColourData
*) 0 ;
16373 PyObject
* obj0
= 0 ;
16374 PyObject
* obj1
= 0 ;
16375 char * kwnames
[] = {
16376 (char *) "self",(char *) "flag", NULL
16379 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ColourData_SetChooseFull",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16380 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColourData
, 0 | 0 );
16381 if (!SWIG_IsOK(res1
)) {
16382 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ColourData_SetChooseFull" "', expected argument " "1"" of type '" "wxColourData *""'");
16384 arg1
= reinterpret_cast< wxColourData
* >(argp1
);
16385 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
16386 if (!SWIG_IsOK(ecode2
)) {
16387 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ColourData_SetChooseFull" "', expected argument " "2"" of type '" "int""'");
16389 arg2
= static_cast< int >(val2
);
16391 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16392 (arg1
)->SetChooseFull(arg2
);
16393 wxPyEndAllowThreads(__tstate
);
16394 if (PyErr_Occurred()) SWIG_fail
;
16396 resultobj
= SWIG_Py_Void();
16403 SWIGINTERN PyObject
*_wrap_ColourData_SetColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16404 PyObject
*resultobj
= 0;
16405 wxColourData
*arg1
= (wxColourData
*) 0 ;
16406 wxColour
*arg2
= 0 ;
16410 PyObject
* obj0
= 0 ;
16411 PyObject
* obj1
= 0 ;
16412 char * kwnames
[] = {
16413 (char *) "self",(char *) "colour", NULL
16416 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ColourData_SetColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16417 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColourData
, 0 | 0 );
16418 if (!SWIG_IsOK(res1
)) {
16419 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ColourData_SetColour" "', expected argument " "1"" of type '" "wxColourData *""'");
16421 arg1
= reinterpret_cast< wxColourData
* >(argp1
);
16424 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
16427 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16428 (arg1
)->SetColour((wxColour
const &)*arg2
);
16429 wxPyEndAllowThreads(__tstate
);
16430 if (PyErr_Occurred()) SWIG_fail
;
16432 resultobj
= SWIG_Py_Void();
16439 SWIGINTERN PyObject
*_wrap_ColourData_SetCustomColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16440 PyObject
*resultobj
= 0;
16441 wxColourData
*arg1
= (wxColourData
*) 0 ;
16443 wxColour
*arg3
= 0 ;
16449 PyObject
* obj0
= 0 ;
16450 PyObject
* obj1
= 0 ;
16451 PyObject
* obj2
= 0 ;
16452 char * kwnames
[] = {
16453 (char *) "self",(char *) "i",(char *) "colour", NULL
16456 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ColourData_SetCustomColour",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
16457 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColourData
, 0 | 0 );
16458 if (!SWIG_IsOK(res1
)) {
16459 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ColourData_SetCustomColour" "', expected argument " "1"" of type '" "wxColourData *""'");
16461 arg1
= reinterpret_cast< wxColourData
* >(argp1
);
16462 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
16463 if (!SWIG_IsOK(ecode2
)) {
16464 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ColourData_SetCustomColour" "', expected argument " "2"" of type '" "int""'");
16466 arg2
= static_cast< int >(val2
);
16469 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
16472 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16473 (arg1
)->SetCustomColour(arg2
,(wxColour
const &)*arg3
);
16474 wxPyEndAllowThreads(__tstate
);
16475 if (PyErr_Occurred()) SWIG_fail
;
16477 resultobj
= SWIG_Py_Void();
16484 SWIGINTERN PyObject
*ColourData_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16486 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
16487 SWIG_TypeNewClientData(SWIGTYPE_p_wxColourData
, SWIG_NewClientData(obj
));
16488 return SWIG_Py_Void();
16491 SWIGINTERN PyObject
*ColourData_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16492 return SWIG_Python_InitShadowInstance(args
);
16495 SWIGINTERN PyObject
*_wrap_new_ColourDialog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16496 PyObject
*resultobj
= 0;
16497 wxWindow
*arg1
= (wxWindow
*) 0 ;
16498 wxColourData
*arg2
= (wxColourData
*) NULL
;
16499 wxColourDialog
*result
= 0 ;
16504 PyObject
* obj0
= 0 ;
16505 PyObject
* obj1
= 0 ;
16506 char * kwnames
[] = {
16507 (char *) "parent",(char *) "data", NULL
16510 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_ColourDialog",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16511 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
16512 if (!SWIG_IsOK(res1
)) {
16513 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_ColourDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
16515 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
16517 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxColourData
, 0 | 0 );
16518 if (!SWIG_IsOK(res2
)) {
16519 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_ColourDialog" "', expected argument " "2"" of type '" "wxColourData *""'");
16521 arg2
= reinterpret_cast< wxColourData
* >(argp2
);
16524 if (!wxPyCheckForApp()) SWIG_fail
;
16525 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16526 result
= (wxColourDialog
*)new wxColourDialog(arg1
,arg2
);
16527 wxPyEndAllowThreads(__tstate
);
16528 if (PyErr_Occurred()) SWIG_fail
;
16530 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColourDialog
, SWIG_POINTER_NEW
| 0 );
16537 SWIGINTERN PyObject
*_wrap_ColourDialog_GetColourData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16538 PyObject
*resultobj
= 0;
16539 wxColourDialog
*arg1
= (wxColourDialog
*) 0 ;
16540 wxColourData
*result
= 0 ;
16543 PyObject
*swig_obj
[1] ;
16545 if (!args
) SWIG_fail
;
16546 swig_obj
[0] = args
;
16547 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxColourDialog
, 0 | 0 );
16548 if (!SWIG_IsOK(res1
)) {
16549 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ColourDialog_GetColourData" "', expected argument " "1"" of type '" "wxColourDialog *""'");
16551 arg1
= reinterpret_cast< wxColourDialog
* >(argp1
);
16553 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16555 wxColourData
&_result_ref
= (arg1
)->GetColourData();
16556 result
= (wxColourData
*) &_result_ref
;
16558 wxPyEndAllowThreads(__tstate
);
16559 if (PyErr_Occurred()) SWIG_fail
;
16561 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColourData
, 0 | 0 );
16568 SWIGINTERN PyObject
*ColourDialog_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16570 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
16571 SWIG_TypeNewClientData(SWIGTYPE_p_wxColourDialog
, SWIG_NewClientData(obj
));
16572 return SWIG_Py_Void();
16575 SWIGINTERN PyObject
*ColourDialog_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16576 return SWIG_Python_InitShadowInstance(args
);
16579 SWIGINTERN PyObject
*_wrap_GetColourFromUser(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16580 PyObject
*resultobj
= 0;
16581 wxWindow
*arg1
= (wxWindow
*) (wxWindow
*) NULL
;
16582 wxColour
const &arg2_defvalue
= wxNullColour
;
16583 wxColour
*arg2
= (wxColour
*) &arg2_defvalue
;
16584 wxString
const &arg3_defvalue
= wxPyEmptyString
;
16585 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
16590 bool temp3
= false ;
16591 PyObject
* obj0
= 0 ;
16592 PyObject
* obj1
= 0 ;
16593 PyObject
* obj2
= 0 ;
16594 char * kwnames
[] = {
16595 (char *) "parent",(char *) "colInit",(char *) "caption", NULL
16598 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:GetColourFromUser",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
16600 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
16601 if (!SWIG_IsOK(res1
)) {
16602 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GetColourFromUser" "', expected argument " "1"" of type '" "wxWindow *""'");
16604 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
16609 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
16614 arg3
= wxString_in_helper(obj2
);
16615 if (arg3
== NULL
) SWIG_fail
;
16620 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16621 result
= wxGetColourFromUser(arg1
,(wxColour
const &)*arg2
,(wxString
const &)*arg3
);
16622 wxPyEndAllowThreads(__tstate
);
16623 if (PyErr_Occurred()) SWIG_fail
;
16625 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
16640 SWIGINTERN PyObject
*_wrap_new_DirDialog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16641 PyObject
*resultobj
= 0;
16642 wxWindow
*arg1
= (wxWindow
*) 0 ;
16643 wxString
const &arg2_defvalue
= wxPyDirSelectorPromptStr
;
16644 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
16645 wxString
const &arg3_defvalue
= wxPyEmptyString
;
16646 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
16647 long arg4
= (long) wxDD_DEFAULT_STYLE
;
16648 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
16649 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
16650 wxSize
const &arg6_defvalue
= wxDefaultSize
;
16651 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
16652 wxString
const &arg7_defvalue
= wxPyDirDialogNameStr
;
16653 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
16654 wxDirDialog
*result
= 0 ;
16657 bool temp2
= false ;
16658 bool temp3
= false ;
16663 bool temp7
= false ;
16664 PyObject
* obj0
= 0 ;
16665 PyObject
* obj1
= 0 ;
16666 PyObject
* obj2
= 0 ;
16667 PyObject
* obj3
= 0 ;
16668 PyObject
* obj4
= 0 ;
16669 PyObject
* obj5
= 0 ;
16670 PyObject
* obj6
= 0 ;
16671 char * kwnames
[] = {
16672 (char *) "parent",(char *) "message",(char *) "defaultPath",(char *) "style",(char *) "pos",(char *) "size",(char *) "name", NULL
16675 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_DirDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
16676 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
16677 if (!SWIG_IsOK(res1
)) {
16678 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_DirDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
16680 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
16683 arg2
= wxString_in_helper(obj1
);
16684 if (arg2
== NULL
) SWIG_fail
;
16690 arg3
= wxString_in_helper(obj2
);
16691 if (arg3
== NULL
) SWIG_fail
;
16696 ecode4
= SWIG_AsVal_long(obj3
, &val4
);
16697 if (!SWIG_IsOK(ecode4
)) {
16698 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_DirDialog" "', expected argument " "4"" of type '" "long""'");
16700 arg4
= static_cast< long >(val4
);
16705 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
16711 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
16716 arg7
= wxString_in_helper(obj6
);
16717 if (arg7
== NULL
) SWIG_fail
;
16722 if (!wxPyCheckForApp()) SWIG_fail
;
16723 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16724 result
= (wxDirDialog
*)new wxDirDialog(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,(wxString
const &)*arg7
);
16725 wxPyEndAllowThreads(__tstate
);
16726 if (PyErr_Occurred()) SWIG_fail
;
16728 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDirDialog
, SWIG_POINTER_NEW
| 0 );
16759 SWIGINTERN PyObject
*_wrap_DirDialog_GetPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16760 PyObject
*resultobj
= 0;
16761 wxDirDialog
*arg1
= (wxDirDialog
*) 0 ;
16765 PyObject
*swig_obj
[1] ;
16767 if (!args
) SWIG_fail
;
16768 swig_obj
[0] = args
;
16769 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDirDialog
, 0 | 0 );
16770 if (!SWIG_IsOK(res1
)) {
16771 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DirDialog_GetPath" "', expected argument " "1"" of type '" "wxDirDialog *""'");
16773 arg1
= reinterpret_cast< wxDirDialog
* >(argp1
);
16775 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16776 result
= (arg1
)->GetPath();
16777 wxPyEndAllowThreads(__tstate
);
16778 if (PyErr_Occurred()) SWIG_fail
;
16782 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
16784 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
16793 SWIGINTERN PyObject
*_wrap_DirDialog_GetMessage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16794 PyObject
*resultobj
= 0;
16795 wxDirDialog
*arg1
= (wxDirDialog
*) 0 ;
16799 PyObject
*swig_obj
[1] ;
16801 if (!args
) SWIG_fail
;
16802 swig_obj
[0] = args
;
16803 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDirDialog
, 0 | 0 );
16804 if (!SWIG_IsOK(res1
)) {
16805 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DirDialog_GetMessage" "', expected argument " "1"" of type '" "wxDirDialog *""'");
16807 arg1
= reinterpret_cast< wxDirDialog
* >(argp1
);
16809 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16810 result
= (arg1
)->GetMessage();
16811 wxPyEndAllowThreads(__tstate
);
16812 if (PyErr_Occurred()) SWIG_fail
;
16816 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
16818 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
16827 SWIGINTERN PyObject
*_wrap_DirDialog_SetMessage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16828 PyObject
*resultobj
= 0;
16829 wxDirDialog
*arg1
= (wxDirDialog
*) 0 ;
16830 wxString
*arg2
= 0 ;
16833 bool temp2
= false ;
16834 PyObject
* obj0
= 0 ;
16835 PyObject
* obj1
= 0 ;
16836 char * kwnames
[] = {
16837 (char *) "self",(char *) "message", NULL
16840 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DirDialog_SetMessage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16841 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDirDialog
, 0 | 0 );
16842 if (!SWIG_IsOK(res1
)) {
16843 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DirDialog_SetMessage" "', expected argument " "1"" of type '" "wxDirDialog *""'");
16845 arg1
= reinterpret_cast< wxDirDialog
* >(argp1
);
16847 arg2
= wxString_in_helper(obj1
);
16848 if (arg2
== NULL
) SWIG_fail
;
16852 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16853 (arg1
)->SetMessage((wxString
const &)*arg2
);
16854 wxPyEndAllowThreads(__tstate
);
16855 if (PyErr_Occurred()) SWIG_fail
;
16857 resultobj
= SWIG_Py_Void();
16872 SWIGINTERN PyObject
*_wrap_DirDialog_SetPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16873 PyObject
*resultobj
= 0;
16874 wxDirDialog
*arg1
= (wxDirDialog
*) 0 ;
16875 wxString
*arg2
= 0 ;
16878 bool temp2
= false ;
16879 PyObject
* obj0
= 0 ;
16880 PyObject
* obj1
= 0 ;
16881 char * kwnames
[] = {
16882 (char *) "self",(char *) "path", NULL
16885 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DirDialog_SetPath",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16886 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDirDialog
, 0 | 0 );
16887 if (!SWIG_IsOK(res1
)) {
16888 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DirDialog_SetPath" "', expected argument " "1"" of type '" "wxDirDialog *""'");
16890 arg1
= reinterpret_cast< wxDirDialog
* >(argp1
);
16892 arg2
= wxString_in_helper(obj1
);
16893 if (arg2
== NULL
) SWIG_fail
;
16897 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16898 (arg1
)->SetPath((wxString
const &)*arg2
);
16899 wxPyEndAllowThreads(__tstate
);
16900 if (PyErr_Occurred()) SWIG_fail
;
16902 resultobj
= SWIG_Py_Void();
16917 SWIGINTERN PyObject
*DirDialog_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16919 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
16920 SWIG_TypeNewClientData(SWIGTYPE_p_wxDirDialog
, SWIG_NewClientData(obj
));
16921 return SWIG_Py_Void();
16924 SWIGINTERN PyObject
*DirDialog_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16925 return SWIG_Python_InitShadowInstance(args
);
16928 SWIGINTERN PyObject
*_wrap_new_FileDialog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16929 PyObject
*resultobj
= 0;
16930 wxWindow
*arg1
= (wxWindow
*) 0 ;
16931 wxString
const &arg2_defvalue
= wxPyFileSelectorPromptStr
;
16932 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
16933 wxString
const &arg3_defvalue
= wxPyEmptyString
;
16934 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
16935 wxString
const &arg4_defvalue
= wxPyEmptyString
;
16936 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
16937 wxString
const &arg5_defvalue
= wxPyFileSelectorDefaultWildcardStr
;
16938 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
16939 long arg6
= (long) wxFD_DEFAULT_STYLE
;
16940 wxPoint
const &arg7_defvalue
= wxDefaultPosition
;
16941 wxPoint
*arg7
= (wxPoint
*) &arg7_defvalue
;
16942 wxFileDialog
*result
= 0 ;
16945 bool temp2
= false ;
16946 bool temp3
= false ;
16947 bool temp4
= false ;
16948 bool temp5
= false ;
16952 PyObject
* obj0
= 0 ;
16953 PyObject
* obj1
= 0 ;
16954 PyObject
* obj2
= 0 ;
16955 PyObject
* obj3
= 0 ;
16956 PyObject
* obj4
= 0 ;
16957 PyObject
* obj5
= 0 ;
16958 PyObject
* obj6
= 0 ;
16959 char * kwnames
[] = {
16960 (char *) "parent",(char *) "message",(char *) "defaultDir",(char *) "defaultFile",(char *) "wildcard",(char *) "style",(char *) "pos", NULL
16963 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_FileDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
16964 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
16965 if (!SWIG_IsOK(res1
)) {
16966 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_FileDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
16968 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
16971 arg2
= wxString_in_helper(obj1
);
16972 if (arg2
== NULL
) SWIG_fail
;
16978 arg3
= wxString_in_helper(obj2
);
16979 if (arg3
== NULL
) SWIG_fail
;
16985 arg4
= wxString_in_helper(obj3
);
16986 if (arg4
== NULL
) SWIG_fail
;
16992 arg5
= wxString_in_helper(obj4
);
16993 if (arg5
== NULL
) SWIG_fail
;
16998 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
16999 if (!SWIG_IsOK(ecode6
)) {
17000 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_FileDialog" "', expected argument " "6"" of type '" "long""'");
17002 arg6
= static_cast< long >(val6
);
17007 if ( ! wxPoint_helper(obj6
, &arg7
)) SWIG_fail
;
17011 if (!wxPyCheckForApp()) SWIG_fail
;
17012 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17013 result
= (wxFileDialog
*)new wxFileDialog(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,(wxString
const &)*arg5
,arg6
,(wxPoint
const &)*arg7
);
17014 wxPyEndAllowThreads(__tstate
);
17015 if (PyErr_Occurred()) SWIG_fail
;
17017 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFileDialog
, SWIG_POINTER_NEW
| 0 );
17056 SWIGINTERN PyObject
*_wrap_FileDialog_SetMessage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17057 PyObject
*resultobj
= 0;
17058 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
17059 wxString
*arg2
= 0 ;
17062 bool temp2
= false ;
17063 PyObject
* obj0
= 0 ;
17064 PyObject
* obj1
= 0 ;
17065 char * kwnames
[] = {
17066 (char *) "self",(char *) "message", NULL
17069 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileDialog_SetMessage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17070 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFileDialog
, 0 | 0 );
17071 if (!SWIG_IsOK(res1
)) {
17072 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileDialog_SetMessage" "', expected argument " "1"" of type '" "wxFileDialog *""'");
17074 arg1
= reinterpret_cast< wxFileDialog
* >(argp1
);
17076 arg2
= wxString_in_helper(obj1
);
17077 if (arg2
== NULL
) SWIG_fail
;
17081 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17082 (arg1
)->SetMessage((wxString
const &)*arg2
);
17083 wxPyEndAllowThreads(__tstate
);
17084 if (PyErr_Occurred()) SWIG_fail
;
17086 resultobj
= SWIG_Py_Void();
17101 SWIGINTERN PyObject
*_wrap_FileDialog_SetPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17102 PyObject
*resultobj
= 0;
17103 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
17104 wxString
*arg2
= 0 ;
17107 bool temp2
= false ;
17108 PyObject
* obj0
= 0 ;
17109 PyObject
* obj1
= 0 ;
17110 char * kwnames
[] = {
17111 (char *) "self",(char *) "path", NULL
17114 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileDialog_SetPath",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17115 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFileDialog
, 0 | 0 );
17116 if (!SWIG_IsOK(res1
)) {
17117 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileDialog_SetPath" "', expected argument " "1"" of type '" "wxFileDialog *""'");
17119 arg1
= reinterpret_cast< wxFileDialog
* >(argp1
);
17121 arg2
= wxString_in_helper(obj1
);
17122 if (arg2
== NULL
) SWIG_fail
;
17126 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17127 (arg1
)->SetPath((wxString
const &)*arg2
);
17128 wxPyEndAllowThreads(__tstate
);
17129 if (PyErr_Occurred()) SWIG_fail
;
17131 resultobj
= SWIG_Py_Void();
17146 SWIGINTERN PyObject
*_wrap_FileDialog_SetDirectory(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17147 PyObject
*resultobj
= 0;
17148 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
17149 wxString
*arg2
= 0 ;
17152 bool temp2
= false ;
17153 PyObject
* obj0
= 0 ;
17154 PyObject
* obj1
= 0 ;
17155 char * kwnames
[] = {
17156 (char *) "self",(char *) "dir", NULL
17159 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileDialog_SetDirectory",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17160 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFileDialog
, 0 | 0 );
17161 if (!SWIG_IsOK(res1
)) {
17162 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileDialog_SetDirectory" "', expected argument " "1"" of type '" "wxFileDialog *""'");
17164 arg1
= reinterpret_cast< wxFileDialog
* >(argp1
);
17166 arg2
= wxString_in_helper(obj1
);
17167 if (arg2
== NULL
) SWIG_fail
;
17171 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17172 (arg1
)->SetDirectory((wxString
const &)*arg2
);
17173 wxPyEndAllowThreads(__tstate
);
17174 if (PyErr_Occurred()) SWIG_fail
;
17176 resultobj
= SWIG_Py_Void();
17191 SWIGINTERN PyObject
*_wrap_FileDialog_SetFilename(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17192 PyObject
*resultobj
= 0;
17193 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
17194 wxString
*arg2
= 0 ;
17197 bool temp2
= false ;
17198 PyObject
* obj0
= 0 ;
17199 PyObject
* obj1
= 0 ;
17200 char * kwnames
[] = {
17201 (char *) "self",(char *) "name", NULL
17204 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileDialog_SetFilename",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17205 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFileDialog
, 0 | 0 );
17206 if (!SWIG_IsOK(res1
)) {
17207 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileDialog_SetFilename" "', expected argument " "1"" of type '" "wxFileDialog *""'");
17209 arg1
= reinterpret_cast< wxFileDialog
* >(argp1
);
17211 arg2
= wxString_in_helper(obj1
);
17212 if (arg2
== NULL
) SWIG_fail
;
17216 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17217 (arg1
)->SetFilename((wxString
const &)*arg2
);
17218 wxPyEndAllowThreads(__tstate
);
17219 if (PyErr_Occurred()) SWIG_fail
;
17221 resultobj
= SWIG_Py_Void();
17236 SWIGINTERN PyObject
*_wrap_FileDialog_SetWildcard(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17237 PyObject
*resultobj
= 0;
17238 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
17239 wxString
*arg2
= 0 ;
17242 bool temp2
= false ;
17243 PyObject
* obj0
= 0 ;
17244 PyObject
* obj1
= 0 ;
17245 char * kwnames
[] = {
17246 (char *) "self",(char *) "wildCard", NULL
17249 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileDialog_SetWildcard",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17250 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFileDialog
, 0 | 0 );
17251 if (!SWIG_IsOK(res1
)) {
17252 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileDialog_SetWildcard" "', expected argument " "1"" of type '" "wxFileDialog *""'");
17254 arg1
= reinterpret_cast< wxFileDialog
* >(argp1
);
17256 arg2
= wxString_in_helper(obj1
);
17257 if (arg2
== NULL
) SWIG_fail
;
17261 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17262 (arg1
)->SetWildcard((wxString
const &)*arg2
);
17263 wxPyEndAllowThreads(__tstate
);
17264 if (PyErr_Occurred()) SWIG_fail
;
17266 resultobj
= SWIG_Py_Void();
17281 SWIGINTERN PyObject
*_wrap_FileDialog_SetFilterIndex(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17282 PyObject
*resultobj
= 0;
17283 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
17289 PyObject
* obj0
= 0 ;
17290 PyObject
* obj1
= 0 ;
17291 char * kwnames
[] = {
17292 (char *) "self",(char *) "filterIndex", NULL
17295 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileDialog_SetFilterIndex",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17296 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFileDialog
, 0 | 0 );
17297 if (!SWIG_IsOK(res1
)) {
17298 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileDialog_SetFilterIndex" "', expected argument " "1"" of type '" "wxFileDialog *""'");
17300 arg1
= reinterpret_cast< wxFileDialog
* >(argp1
);
17301 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
17302 if (!SWIG_IsOK(ecode2
)) {
17303 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "FileDialog_SetFilterIndex" "', expected argument " "2"" of type '" "int""'");
17305 arg2
= static_cast< int >(val2
);
17307 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17308 (arg1
)->SetFilterIndex(arg2
);
17309 wxPyEndAllowThreads(__tstate
);
17310 if (PyErr_Occurred()) SWIG_fail
;
17312 resultobj
= SWIG_Py_Void();
17319 SWIGINTERN PyObject
*_wrap_FileDialog_GetMessage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17320 PyObject
*resultobj
= 0;
17321 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
17325 PyObject
*swig_obj
[1] ;
17327 if (!args
) SWIG_fail
;
17328 swig_obj
[0] = args
;
17329 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFileDialog
, 0 | 0 );
17330 if (!SWIG_IsOK(res1
)) {
17331 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileDialog_GetMessage" "', expected argument " "1"" of type '" "wxFileDialog const *""'");
17333 arg1
= reinterpret_cast< wxFileDialog
* >(argp1
);
17335 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17336 result
= ((wxFileDialog
const *)arg1
)->GetMessage();
17337 wxPyEndAllowThreads(__tstate
);
17338 if (PyErr_Occurred()) SWIG_fail
;
17342 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
17344 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
17353 SWIGINTERN PyObject
*_wrap_FileDialog_GetPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17354 PyObject
*resultobj
= 0;
17355 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
17359 PyObject
*swig_obj
[1] ;
17361 if (!args
) SWIG_fail
;
17362 swig_obj
[0] = args
;
17363 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFileDialog
, 0 | 0 );
17364 if (!SWIG_IsOK(res1
)) {
17365 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileDialog_GetPath" "', expected argument " "1"" of type '" "wxFileDialog const *""'");
17367 arg1
= reinterpret_cast< wxFileDialog
* >(argp1
);
17369 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17370 result
= ((wxFileDialog
const *)arg1
)->GetPath();
17371 wxPyEndAllowThreads(__tstate
);
17372 if (PyErr_Occurred()) SWIG_fail
;
17376 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
17378 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
17387 SWIGINTERN PyObject
*_wrap_FileDialog_GetDirectory(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17388 PyObject
*resultobj
= 0;
17389 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
17393 PyObject
*swig_obj
[1] ;
17395 if (!args
) SWIG_fail
;
17396 swig_obj
[0] = args
;
17397 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFileDialog
, 0 | 0 );
17398 if (!SWIG_IsOK(res1
)) {
17399 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileDialog_GetDirectory" "', expected argument " "1"" of type '" "wxFileDialog const *""'");
17401 arg1
= reinterpret_cast< wxFileDialog
* >(argp1
);
17403 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17404 result
= ((wxFileDialog
const *)arg1
)->GetDirectory();
17405 wxPyEndAllowThreads(__tstate
);
17406 if (PyErr_Occurred()) SWIG_fail
;
17410 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
17412 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
17421 SWIGINTERN PyObject
*_wrap_FileDialog_GetFilename(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17422 PyObject
*resultobj
= 0;
17423 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
17427 PyObject
*swig_obj
[1] ;
17429 if (!args
) SWIG_fail
;
17430 swig_obj
[0] = args
;
17431 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFileDialog
, 0 | 0 );
17432 if (!SWIG_IsOK(res1
)) {
17433 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileDialog_GetFilename" "', expected argument " "1"" of type '" "wxFileDialog const *""'");
17435 arg1
= reinterpret_cast< wxFileDialog
* >(argp1
);
17437 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17438 result
= ((wxFileDialog
const *)arg1
)->GetFilename();
17439 wxPyEndAllowThreads(__tstate
);
17440 if (PyErr_Occurred()) SWIG_fail
;
17444 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
17446 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
17455 SWIGINTERN PyObject
*_wrap_FileDialog_GetWildcard(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17456 PyObject
*resultobj
= 0;
17457 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
17461 PyObject
*swig_obj
[1] ;
17463 if (!args
) SWIG_fail
;
17464 swig_obj
[0] = args
;
17465 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFileDialog
, 0 | 0 );
17466 if (!SWIG_IsOK(res1
)) {
17467 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileDialog_GetWildcard" "', expected argument " "1"" of type '" "wxFileDialog const *""'");
17469 arg1
= reinterpret_cast< wxFileDialog
* >(argp1
);
17471 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17472 result
= ((wxFileDialog
const *)arg1
)->GetWildcard();
17473 wxPyEndAllowThreads(__tstate
);
17474 if (PyErr_Occurred()) SWIG_fail
;
17478 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
17480 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
17489 SWIGINTERN PyObject
*_wrap_FileDialog_GetFilterIndex(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17490 PyObject
*resultobj
= 0;
17491 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
17495 PyObject
*swig_obj
[1] ;
17497 if (!args
) SWIG_fail
;
17498 swig_obj
[0] = args
;
17499 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFileDialog
, 0 | 0 );
17500 if (!SWIG_IsOK(res1
)) {
17501 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileDialog_GetFilterIndex" "', expected argument " "1"" of type '" "wxFileDialog const *""'");
17503 arg1
= reinterpret_cast< wxFileDialog
* >(argp1
);
17505 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17506 result
= (int)((wxFileDialog
const *)arg1
)->GetFilterIndex();
17507 wxPyEndAllowThreads(__tstate
);
17508 if (PyErr_Occurred()) SWIG_fail
;
17510 resultobj
= SWIG_From_int(static_cast< int >(result
));
17517 SWIGINTERN PyObject
*_wrap_FileDialog_GetFilenames(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17518 PyObject
*resultobj
= 0;
17519 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
17520 PyObject
*result
= 0 ;
17523 PyObject
*swig_obj
[1] ;
17525 if (!args
) SWIG_fail
;
17526 swig_obj
[0] = args
;
17527 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFileDialog
, 0 | 0 );
17528 if (!SWIG_IsOK(res1
)) {
17529 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileDialog_GetFilenames" "', expected argument " "1"" of type '" "wxFileDialog *""'");
17531 arg1
= reinterpret_cast< wxFileDialog
* >(argp1
);
17533 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17534 result
= (PyObject
*)wxFileDialog_GetFilenames(arg1
);
17535 wxPyEndAllowThreads(__tstate
);
17536 if (PyErr_Occurred()) SWIG_fail
;
17538 resultobj
= result
;
17545 SWIGINTERN PyObject
*_wrap_FileDialog_GetPaths(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17546 PyObject
*resultobj
= 0;
17547 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
17548 PyObject
*result
= 0 ;
17551 PyObject
*swig_obj
[1] ;
17553 if (!args
) SWIG_fail
;
17554 swig_obj
[0] = args
;
17555 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFileDialog
, 0 | 0 );
17556 if (!SWIG_IsOK(res1
)) {
17557 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileDialog_GetPaths" "', expected argument " "1"" of type '" "wxFileDialog *""'");
17559 arg1
= reinterpret_cast< wxFileDialog
* >(argp1
);
17561 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17562 result
= (PyObject
*)wxFileDialog_GetPaths(arg1
);
17563 wxPyEndAllowThreads(__tstate
);
17564 if (PyErr_Occurred()) SWIG_fail
;
17566 resultobj
= result
;
17573 SWIGINTERN PyObject
*FileDialog_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17575 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
17576 SWIG_TypeNewClientData(SWIGTYPE_p_wxFileDialog
, SWIG_NewClientData(obj
));
17577 return SWIG_Py_Void();
17580 SWIGINTERN PyObject
*FileDialog_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17581 return SWIG_Python_InitShadowInstance(args
);
17584 SWIGINTERN PyObject
*_wrap_new_MultiChoiceDialog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17585 PyObject
*resultobj
= 0;
17586 wxWindow
*arg1
= (wxWindow
*) 0 ;
17587 wxString
*arg2
= 0 ;
17588 wxString
*arg3
= 0 ;
17589 int arg4
= (int) 0 ;
17590 wxString
*arg5
= (wxString
*) NULL
;
17591 long arg6
= (long) wxCHOICEDLG_STYLE
;
17592 wxPoint
const &arg7_defvalue
= wxDefaultPosition
;
17593 wxPoint
*arg7
= (wxPoint
*) &arg7_defvalue
;
17594 wxMultiChoiceDialog
*result
= 0 ;
17597 bool temp2
= false ;
17598 bool temp3
= false ;
17602 PyObject
* obj0
= 0 ;
17603 PyObject
* obj1
= 0 ;
17604 PyObject
* obj2
= 0 ;
17605 PyObject
* obj3
= 0 ;
17606 PyObject
* obj4
= 0 ;
17607 PyObject
* obj5
= 0 ;
17608 char * kwnames
[] = {
17609 (char *) "parent",(char *) "message",(char *) "caption",(char *) "choices",(char *) "style",(char *) "pos", NULL
17612 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOO:new_MultiChoiceDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
17613 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
17614 if (!SWIG_IsOK(res1
)) {
17615 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_MultiChoiceDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
17617 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
17619 arg2
= wxString_in_helper(obj1
);
17620 if (arg2
== NULL
) SWIG_fail
;
17624 arg3
= wxString_in_helper(obj2
);
17625 if (arg3
== NULL
) SWIG_fail
;
17630 arg4
= PyList_Size(obj3
);
17631 arg5
= wxString_LIST_helper(obj3
);
17632 if (arg5
== NULL
) SWIG_fail
;
17636 ecode6
= SWIG_AsVal_long(obj4
, &val6
);
17637 if (!SWIG_IsOK(ecode6
)) {
17638 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_MultiChoiceDialog" "', expected argument " "6"" of type '" "long""'");
17640 arg6
= static_cast< long >(val6
);
17645 if ( ! wxPoint_helper(obj5
, &arg7
)) SWIG_fail
;
17649 if (!wxPyCheckForApp()) SWIG_fail
;
17650 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17651 result
= (wxMultiChoiceDialog
*)new wxMultiChoiceDialog(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
,arg5
,arg6
,(wxPoint
const &)*arg7
);
17652 wxPyEndAllowThreads(__tstate
);
17653 if (PyErr_Occurred()) SWIG_fail
;
17655 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMultiChoiceDialog
, SWIG_POINTER_NEW
| 0 );
17665 if (arg5
) delete [] arg5
;
17678 if (arg5
) delete [] arg5
;
17684 SWIGINTERN PyObject
*_wrap_MultiChoiceDialog_SetSelections(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17685 PyObject
*resultobj
= 0;
17686 wxMultiChoiceDialog
*arg1
= (wxMultiChoiceDialog
*) 0 ;
17687 wxArrayInt
*arg2
= 0 ;
17690 bool temp2
= false ;
17691 PyObject
* obj0
= 0 ;
17692 PyObject
* obj1
= 0 ;
17693 char * kwnames
[] = {
17694 (char *) "self",(char *) "selections", NULL
17697 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MultiChoiceDialog_SetSelections",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17698 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMultiChoiceDialog
, 0 | 0 );
17699 if (!SWIG_IsOK(res1
)) {
17700 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MultiChoiceDialog_SetSelections" "', expected argument " "1"" of type '" "wxMultiChoiceDialog *""'");
17702 arg1
= reinterpret_cast< wxMultiChoiceDialog
* >(argp1
);
17704 if (! PySequence_Check(obj1
)) {
17705 PyErr_SetString(PyExc_TypeError
, "Sequence of integers expected.");
17708 arg2
= new wxArrayInt
;
17710 int i
, len
=PySequence_Length(obj1
);
17711 for (i
=0; i
<len
; i
++) {
17712 PyObject
* item
= PySequence_GetItem(obj1
, i
);
17713 PyObject
* number
= PyNumber_Int(item
);
17714 arg2
->Add(PyInt_AS_LONG(number
));
17720 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17721 (arg1
)->SetSelections((wxArrayInt
const &)*arg2
);
17722 wxPyEndAllowThreads(__tstate
);
17723 if (PyErr_Occurred()) SWIG_fail
;
17725 resultobj
= SWIG_Py_Void();
17727 if (temp2
) delete arg2
;
17732 if (temp2
) delete arg2
;
17738 SWIGINTERN PyObject
*_wrap_MultiChoiceDialog_GetSelections(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17739 PyObject
*resultobj
= 0;
17740 wxMultiChoiceDialog
*arg1
= (wxMultiChoiceDialog
*) 0 ;
17741 PyObject
*result
= 0 ;
17744 PyObject
*swig_obj
[1] ;
17746 if (!args
) SWIG_fail
;
17747 swig_obj
[0] = args
;
17748 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMultiChoiceDialog
, 0 | 0 );
17749 if (!SWIG_IsOK(res1
)) {
17750 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MultiChoiceDialog_GetSelections" "', expected argument " "1"" of type '" "wxMultiChoiceDialog *""'");
17752 arg1
= reinterpret_cast< wxMultiChoiceDialog
* >(argp1
);
17754 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17755 result
= (PyObject
*)wxMultiChoiceDialog_GetSelections(arg1
);
17756 wxPyEndAllowThreads(__tstate
);
17757 if (PyErr_Occurred()) SWIG_fail
;
17759 resultobj
= result
;
17766 SWIGINTERN PyObject
*MultiChoiceDialog_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17768 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
17769 SWIG_TypeNewClientData(SWIGTYPE_p_wxMultiChoiceDialog
, SWIG_NewClientData(obj
));
17770 return SWIG_Py_Void();
17773 SWIGINTERN PyObject
*MultiChoiceDialog_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17774 return SWIG_Python_InitShadowInstance(args
);
17777 SWIGINTERN PyObject
*_wrap_new_SingleChoiceDialog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17778 PyObject
*resultobj
= 0;
17779 wxWindow
*arg1
= (wxWindow
*) 0 ;
17780 wxString
*arg2
= 0 ;
17781 wxString
*arg3
= 0 ;
17783 wxString
*arg5
= (wxString
*) 0 ;
17784 long arg6
= (long) wxCHOICEDLG_STYLE
;
17785 wxPoint
const &arg7_defvalue
= wxDefaultPosition
;
17786 wxPoint
*arg7
= (wxPoint
*) &arg7_defvalue
;
17787 wxSingleChoiceDialog
*result
= 0 ;
17790 bool temp2
= false ;
17791 bool temp3
= false ;
17795 PyObject
* obj0
= 0 ;
17796 PyObject
* obj1
= 0 ;
17797 PyObject
* obj2
= 0 ;
17798 PyObject
* obj3
= 0 ;
17799 PyObject
* obj4
= 0 ;
17800 PyObject
* obj5
= 0 ;
17801 char * kwnames
[] = {
17802 (char *) "parent",(char *) "message",(char *) "caption",(char *) "choices",(char *) "style",(char *) "pos", NULL
17805 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:new_SingleChoiceDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
17806 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
17807 if (!SWIG_IsOK(res1
)) {
17808 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_SingleChoiceDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
17810 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
17812 arg2
= wxString_in_helper(obj1
);
17813 if (arg2
== NULL
) SWIG_fail
;
17817 arg3
= wxString_in_helper(obj2
);
17818 if (arg3
== NULL
) SWIG_fail
;
17822 arg4
= PyList_Size(obj3
);
17823 arg5
= wxString_LIST_helper(obj3
);
17824 if (arg5
== NULL
) SWIG_fail
;
17827 ecode6
= SWIG_AsVal_long(obj4
, &val6
);
17828 if (!SWIG_IsOK(ecode6
)) {
17829 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_SingleChoiceDialog" "', expected argument " "6"" of type '" "long""'");
17831 arg6
= static_cast< long >(val6
);
17836 if ( ! wxPoint_helper(obj5
, &arg7
)) SWIG_fail
;
17840 if (!wxPyCheckForApp()) SWIG_fail
;
17841 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17842 result
= (wxSingleChoiceDialog
*)new_wxSingleChoiceDialog(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
,arg5
,arg6
,(wxPoint
const &)*arg7
);
17843 wxPyEndAllowThreads(__tstate
);
17844 if (PyErr_Occurred()) SWIG_fail
;
17846 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSingleChoiceDialog
, SWIG_POINTER_NEW
| 0 );
17856 if (arg5
) delete [] arg5
;
17869 if (arg5
) delete [] arg5
;
17875 SWIGINTERN PyObject
*_wrap_SingleChoiceDialog_GetSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17876 PyObject
*resultobj
= 0;
17877 wxSingleChoiceDialog
*arg1
= (wxSingleChoiceDialog
*) 0 ;
17881 PyObject
*swig_obj
[1] ;
17883 if (!args
) SWIG_fail
;
17884 swig_obj
[0] = args
;
17885 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSingleChoiceDialog
, 0 | 0 );
17886 if (!SWIG_IsOK(res1
)) {
17887 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SingleChoiceDialog_GetSelection" "', expected argument " "1"" of type '" "wxSingleChoiceDialog *""'");
17889 arg1
= reinterpret_cast< wxSingleChoiceDialog
* >(argp1
);
17891 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17892 result
= (int)(arg1
)->GetSelection();
17893 wxPyEndAllowThreads(__tstate
);
17894 if (PyErr_Occurred()) SWIG_fail
;
17896 resultobj
= SWIG_From_int(static_cast< int >(result
));
17903 SWIGINTERN PyObject
*_wrap_SingleChoiceDialog_GetStringSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17904 PyObject
*resultobj
= 0;
17905 wxSingleChoiceDialog
*arg1
= (wxSingleChoiceDialog
*) 0 ;
17909 PyObject
*swig_obj
[1] ;
17911 if (!args
) SWIG_fail
;
17912 swig_obj
[0] = args
;
17913 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSingleChoiceDialog
, 0 | 0 );
17914 if (!SWIG_IsOK(res1
)) {
17915 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SingleChoiceDialog_GetStringSelection" "', expected argument " "1"" of type '" "wxSingleChoiceDialog *""'");
17917 arg1
= reinterpret_cast< wxSingleChoiceDialog
* >(argp1
);
17919 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17920 result
= (arg1
)->GetStringSelection();
17921 wxPyEndAllowThreads(__tstate
);
17922 if (PyErr_Occurred()) SWIG_fail
;
17926 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
17928 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
17937 SWIGINTERN PyObject
*_wrap_SingleChoiceDialog_SetSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17938 PyObject
*resultobj
= 0;
17939 wxSingleChoiceDialog
*arg1
= (wxSingleChoiceDialog
*) 0 ;
17945 PyObject
* obj0
= 0 ;
17946 PyObject
* obj1
= 0 ;
17947 char * kwnames
[] = {
17948 (char *) "self",(char *) "sel", NULL
17951 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SingleChoiceDialog_SetSelection",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17952 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSingleChoiceDialog
, 0 | 0 );
17953 if (!SWIG_IsOK(res1
)) {
17954 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SingleChoiceDialog_SetSelection" "', expected argument " "1"" of type '" "wxSingleChoiceDialog *""'");
17956 arg1
= reinterpret_cast< wxSingleChoiceDialog
* >(argp1
);
17957 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
17958 if (!SWIG_IsOK(ecode2
)) {
17959 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SingleChoiceDialog_SetSelection" "', expected argument " "2"" of type '" "int""'");
17961 arg2
= static_cast< int >(val2
);
17963 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17964 (arg1
)->SetSelection(arg2
);
17965 wxPyEndAllowThreads(__tstate
);
17966 if (PyErr_Occurred()) SWIG_fail
;
17968 resultobj
= SWIG_Py_Void();
17975 SWIGINTERN PyObject
*SingleChoiceDialog_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17977 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
17978 SWIG_TypeNewClientData(SWIGTYPE_p_wxSingleChoiceDialog
, SWIG_NewClientData(obj
));
17979 return SWIG_Py_Void();
17982 SWIGINTERN PyObject
*SingleChoiceDialog_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17983 return SWIG_Python_InitShadowInstance(args
);
17986 SWIGINTERN PyObject
*_wrap_new_TextEntryDialog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17987 PyObject
*resultobj
= 0;
17988 wxWindow
*arg1
= (wxWindow
*) 0 ;
17989 wxString
*arg2
= 0 ;
17990 wxString
const &arg3_defvalue
= wxPyGetTextFromUserPromptStr
;
17991 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
17992 wxString
const &arg4_defvalue
= wxPyEmptyString
;
17993 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
17994 long arg5
= (long) wxTextEntryDialogStyle
;
17995 wxPoint
const &arg6_defvalue
= wxDefaultPosition
;
17996 wxPoint
*arg6
= (wxPoint
*) &arg6_defvalue
;
17997 wxTextEntryDialog
*result
= 0 ;
18000 bool temp2
= false ;
18001 bool temp3
= false ;
18002 bool temp4
= false ;
18006 PyObject
* obj0
= 0 ;
18007 PyObject
* obj1
= 0 ;
18008 PyObject
* obj2
= 0 ;
18009 PyObject
* obj3
= 0 ;
18010 PyObject
* obj4
= 0 ;
18011 PyObject
* obj5
= 0 ;
18012 char * kwnames
[] = {
18013 (char *) "parent",(char *) "message",(char *) "caption",(char *) "defaultValue",(char *) "style",(char *) "pos", NULL
18016 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:new_TextEntryDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
18017 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
18018 if (!SWIG_IsOK(res1
)) {
18019 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_TextEntryDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
18021 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
18023 arg2
= wxString_in_helper(obj1
);
18024 if (arg2
== NULL
) SWIG_fail
;
18029 arg3
= wxString_in_helper(obj2
);
18030 if (arg3
== NULL
) SWIG_fail
;
18036 arg4
= wxString_in_helper(obj3
);
18037 if (arg4
== NULL
) SWIG_fail
;
18042 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
18043 if (!SWIG_IsOK(ecode5
)) {
18044 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_TextEntryDialog" "', expected argument " "5"" of type '" "long""'");
18046 arg5
= static_cast< long >(val5
);
18051 if ( ! wxPoint_helper(obj5
, &arg6
)) SWIG_fail
;
18055 if (!wxPyCheckForApp()) SWIG_fail
;
18056 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18057 result
= (wxTextEntryDialog
*)new wxTextEntryDialog(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,arg5
,(wxPoint
const &)*arg6
);
18058 wxPyEndAllowThreads(__tstate
);
18059 if (PyErr_Occurred()) SWIG_fail
;
18061 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTextEntryDialog
, SWIG_POINTER_NEW
| 0 );
18092 SWIGINTERN PyObject
*_wrap_TextEntryDialog_GetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18093 PyObject
*resultobj
= 0;
18094 wxTextEntryDialog
*arg1
= (wxTextEntryDialog
*) 0 ;
18098 PyObject
*swig_obj
[1] ;
18100 if (!args
) SWIG_fail
;
18101 swig_obj
[0] = args
;
18102 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextEntryDialog
, 0 | 0 );
18103 if (!SWIG_IsOK(res1
)) {
18104 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextEntryDialog_GetValue" "', expected argument " "1"" of type '" "wxTextEntryDialog *""'");
18106 arg1
= reinterpret_cast< wxTextEntryDialog
* >(argp1
);
18108 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18109 result
= (arg1
)->GetValue();
18110 wxPyEndAllowThreads(__tstate
);
18111 if (PyErr_Occurred()) SWIG_fail
;
18115 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
18117 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
18126 SWIGINTERN PyObject
*_wrap_TextEntryDialog_SetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18127 PyObject
*resultobj
= 0;
18128 wxTextEntryDialog
*arg1
= (wxTextEntryDialog
*) 0 ;
18129 wxString
*arg2
= 0 ;
18132 bool temp2
= false ;
18133 PyObject
* obj0
= 0 ;
18134 PyObject
* obj1
= 0 ;
18135 char * kwnames
[] = {
18136 (char *) "self",(char *) "value", NULL
18139 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextEntryDialog_SetValue",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18140 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextEntryDialog
, 0 | 0 );
18141 if (!SWIG_IsOK(res1
)) {
18142 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextEntryDialog_SetValue" "', expected argument " "1"" of type '" "wxTextEntryDialog *""'");
18144 arg1
= reinterpret_cast< wxTextEntryDialog
* >(argp1
);
18146 arg2
= wxString_in_helper(obj1
);
18147 if (arg2
== NULL
) SWIG_fail
;
18151 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18152 (arg1
)->SetValue((wxString
const &)*arg2
);
18153 wxPyEndAllowThreads(__tstate
);
18154 if (PyErr_Occurred()) SWIG_fail
;
18156 resultobj
= SWIG_Py_Void();
18171 SWIGINTERN PyObject
*TextEntryDialog_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18173 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
18174 SWIG_TypeNewClientData(SWIGTYPE_p_wxTextEntryDialog
, SWIG_NewClientData(obj
));
18175 return SWIG_Py_Void();
18178 SWIGINTERN PyObject
*TextEntryDialog_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18179 return SWIG_Python_InitShadowInstance(args
);
18182 SWIGINTERN
int GetPasswordFromUserPromptStr_set(PyObject
*) {
18183 SWIG_Error(SWIG_AttributeError
,"Variable GetPasswordFromUserPromptStr is read-only.");
18188 SWIGINTERN PyObject
*GetPasswordFromUserPromptStr_get(void) {
18189 PyObject
*pyobj
= 0;
18193 pyobj
= PyUnicode_FromWideChar((&wxPyGetPasswordFromUserPromptStr
)->c_str(), (&wxPyGetPasswordFromUserPromptStr
)->Len());
18195 pyobj
= PyString_FromStringAndSize((&wxPyGetPasswordFromUserPromptStr
)->c_str(), (&wxPyGetPasswordFromUserPromptStr
)->Len());
18202 SWIGINTERN PyObject
*_wrap_new_PasswordEntryDialog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18203 PyObject
*resultobj
= 0;
18204 wxWindow
*arg1
= (wxWindow
*) 0 ;
18205 wxString
*arg2
= 0 ;
18206 wxString
const &arg3_defvalue
= wxPyGetPasswordFromUserPromptStr
;
18207 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
18208 wxString
const &arg4_defvalue
= wxPyEmptyString
;
18209 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
18210 long arg5
= (long) wxTextEntryDialogStyle
;
18211 wxPoint
const &arg6_defvalue
= wxDefaultPosition
;
18212 wxPoint
*arg6
= (wxPoint
*) &arg6_defvalue
;
18213 wxPasswordEntryDialog
*result
= 0 ;
18216 bool temp2
= false ;
18217 bool temp3
= false ;
18218 bool temp4
= false ;
18222 PyObject
* obj0
= 0 ;
18223 PyObject
* obj1
= 0 ;
18224 PyObject
* obj2
= 0 ;
18225 PyObject
* obj3
= 0 ;
18226 PyObject
* obj4
= 0 ;
18227 PyObject
* obj5
= 0 ;
18228 char * kwnames
[] = {
18229 (char *) "parent",(char *) "message",(char *) "caption",(char *) "value",(char *) "style",(char *) "pos", NULL
18232 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:new_PasswordEntryDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
18233 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
18234 if (!SWIG_IsOK(res1
)) {
18235 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PasswordEntryDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
18237 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
18239 arg2
= wxString_in_helper(obj1
);
18240 if (arg2
== NULL
) SWIG_fail
;
18245 arg3
= wxString_in_helper(obj2
);
18246 if (arg3
== NULL
) SWIG_fail
;
18252 arg4
= wxString_in_helper(obj3
);
18253 if (arg4
== NULL
) SWIG_fail
;
18258 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
18259 if (!SWIG_IsOK(ecode5
)) {
18260 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_PasswordEntryDialog" "', expected argument " "5"" of type '" "long""'");
18262 arg5
= static_cast< long >(val5
);
18267 if ( ! wxPoint_helper(obj5
, &arg6
)) SWIG_fail
;
18271 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18272 result
= (wxPasswordEntryDialog
*)new wxPasswordEntryDialog(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,arg5
,(wxPoint
const &)*arg6
);
18273 wxPyEndAllowThreads(__tstate
);
18274 if (PyErr_Occurred()) SWIG_fail
;
18276 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPasswordEntryDialog
, SWIG_POINTER_NEW
| 0 );
18307 SWIGINTERN PyObject
*PasswordEntryDialog_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18309 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
18310 SWIG_TypeNewClientData(SWIGTYPE_p_wxPasswordEntryDialog
, SWIG_NewClientData(obj
));
18311 return SWIG_Py_Void();
18314 SWIGINTERN PyObject
*PasswordEntryDialog_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18315 return SWIG_Python_InitShadowInstance(args
);
18318 SWIGINTERN PyObject
*_wrap_new_FontData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18319 PyObject
*resultobj
= 0;
18320 wxFontData
*result
= 0 ;
18322 if (!SWIG_Python_UnpackTuple(args
,"new_FontData",0,0,0)) SWIG_fail
;
18324 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18325 result
= (wxFontData
*)new wxFontData();
18326 wxPyEndAllowThreads(__tstate
);
18327 if (PyErr_Occurred()) SWIG_fail
;
18329 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFontData
, SWIG_POINTER_NEW
| 0 );
18336 SWIGINTERN PyObject
*_wrap_delete_FontData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18337 PyObject
*resultobj
= 0;
18338 wxFontData
*arg1
= (wxFontData
*) 0 ;
18341 PyObject
*swig_obj
[1] ;
18343 if (!args
) SWIG_fail
;
18344 swig_obj
[0] = args
;
18345 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFontData
, SWIG_POINTER_DISOWN
| 0 );
18346 if (!SWIG_IsOK(res1
)) {
18347 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_FontData" "', expected argument " "1"" of type '" "wxFontData *""'");
18349 arg1
= reinterpret_cast< wxFontData
* >(argp1
);
18351 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18354 wxPyEndAllowThreads(__tstate
);
18355 if (PyErr_Occurred()) SWIG_fail
;
18357 resultobj
= SWIG_Py_Void();
18364 SWIGINTERN PyObject
*_wrap_FontData_EnableEffects(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18365 PyObject
*resultobj
= 0;
18366 wxFontData
*arg1
= (wxFontData
*) 0 ;
18372 PyObject
* obj0
= 0 ;
18373 PyObject
* obj1
= 0 ;
18374 char * kwnames
[] = {
18375 (char *) "self",(char *) "enable", NULL
18378 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontData_EnableEffects",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18379 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontData
, 0 | 0 );
18380 if (!SWIG_IsOK(res1
)) {
18381 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontData_EnableEffects" "', expected argument " "1"" of type '" "wxFontData *""'");
18383 arg1
= reinterpret_cast< wxFontData
* >(argp1
);
18384 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
18385 if (!SWIG_IsOK(ecode2
)) {
18386 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "FontData_EnableEffects" "', expected argument " "2"" of type '" "bool""'");
18388 arg2
= static_cast< bool >(val2
);
18390 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18391 (arg1
)->EnableEffects(arg2
);
18392 wxPyEndAllowThreads(__tstate
);
18393 if (PyErr_Occurred()) SWIG_fail
;
18395 resultobj
= SWIG_Py_Void();
18402 SWIGINTERN PyObject
*_wrap_FontData_GetAllowSymbols(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18403 PyObject
*resultobj
= 0;
18404 wxFontData
*arg1
= (wxFontData
*) 0 ;
18408 PyObject
*swig_obj
[1] ;
18410 if (!args
) SWIG_fail
;
18411 swig_obj
[0] = args
;
18412 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFontData
, 0 | 0 );
18413 if (!SWIG_IsOK(res1
)) {
18414 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontData_GetAllowSymbols" "', expected argument " "1"" of type '" "wxFontData *""'");
18416 arg1
= reinterpret_cast< wxFontData
* >(argp1
);
18418 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18419 result
= (bool)(arg1
)->GetAllowSymbols();
18420 wxPyEndAllowThreads(__tstate
);
18421 if (PyErr_Occurred()) SWIG_fail
;
18424 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18432 SWIGINTERN PyObject
*_wrap_FontData_GetColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18433 PyObject
*resultobj
= 0;
18434 wxFontData
*arg1
= (wxFontData
*) 0 ;
18438 PyObject
*swig_obj
[1] ;
18440 if (!args
) SWIG_fail
;
18441 swig_obj
[0] = args
;
18442 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFontData
, 0 | 0 );
18443 if (!SWIG_IsOK(res1
)) {
18444 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontData_GetColour" "', expected argument " "1"" of type '" "wxFontData *""'");
18446 arg1
= reinterpret_cast< wxFontData
* >(argp1
);
18448 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18449 result
= (arg1
)->GetColour();
18450 wxPyEndAllowThreads(__tstate
);
18451 if (PyErr_Occurred()) SWIG_fail
;
18453 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
18460 SWIGINTERN PyObject
*_wrap_FontData_GetChosenFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18461 PyObject
*resultobj
= 0;
18462 wxFontData
*arg1
= (wxFontData
*) 0 ;
18466 PyObject
*swig_obj
[1] ;
18468 if (!args
) SWIG_fail
;
18469 swig_obj
[0] = args
;
18470 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFontData
, 0 | 0 );
18471 if (!SWIG_IsOK(res1
)) {
18472 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontData_GetChosenFont" "', expected argument " "1"" of type '" "wxFontData *""'");
18474 arg1
= reinterpret_cast< wxFontData
* >(argp1
);
18476 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18477 result
= (arg1
)->GetChosenFont();
18478 wxPyEndAllowThreads(__tstate
);
18479 if (PyErr_Occurred()) SWIG_fail
;
18481 resultobj
= SWIG_NewPointerObj((new wxFont(static_cast< const wxFont
& >(result
))), SWIGTYPE_p_wxFont
, SWIG_POINTER_OWN
| 0 );
18488 SWIGINTERN PyObject
*_wrap_FontData_GetEnableEffects(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18489 PyObject
*resultobj
= 0;
18490 wxFontData
*arg1
= (wxFontData
*) 0 ;
18494 PyObject
*swig_obj
[1] ;
18496 if (!args
) SWIG_fail
;
18497 swig_obj
[0] = args
;
18498 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFontData
, 0 | 0 );
18499 if (!SWIG_IsOK(res1
)) {
18500 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontData_GetEnableEffects" "', expected argument " "1"" of type '" "wxFontData *""'");
18502 arg1
= reinterpret_cast< wxFontData
* >(argp1
);
18504 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18505 result
= (bool)(arg1
)->GetEnableEffects();
18506 wxPyEndAllowThreads(__tstate
);
18507 if (PyErr_Occurred()) SWIG_fail
;
18510 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18518 SWIGINTERN PyObject
*_wrap_FontData_GetInitialFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18519 PyObject
*resultobj
= 0;
18520 wxFontData
*arg1
= (wxFontData
*) 0 ;
18524 PyObject
*swig_obj
[1] ;
18526 if (!args
) SWIG_fail
;
18527 swig_obj
[0] = args
;
18528 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFontData
, 0 | 0 );
18529 if (!SWIG_IsOK(res1
)) {
18530 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontData_GetInitialFont" "', expected argument " "1"" of type '" "wxFontData *""'");
18532 arg1
= reinterpret_cast< wxFontData
* >(argp1
);
18534 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18535 result
= (arg1
)->GetInitialFont();
18536 wxPyEndAllowThreads(__tstate
);
18537 if (PyErr_Occurred()) SWIG_fail
;
18539 resultobj
= SWIG_NewPointerObj((new wxFont(static_cast< const wxFont
& >(result
))), SWIGTYPE_p_wxFont
, SWIG_POINTER_OWN
| 0 );
18546 SWIGINTERN PyObject
*_wrap_FontData_GetShowHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18547 PyObject
*resultobj
= 0;
18548 wxFontData
*arg1
= (wxFontData
*) 0 ;
18552 PyObject
*swig_obj
[1] ;
18554 if (!args
) SWIG_fail
;
18555 swig_obj
[0] = args
;
18556 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFontData
, 0 | 0 );
18557 if (!SWIG_IsOK(res1
)) {
18558 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontData_GetShowHelp" "', expected argument " "1"" of type '" "wxFontData *""'");
18560 arg1
= reinterpret_cast< wxFontData
* >(argp1
);
18562 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18563 result
= (bool)(arg1
)->GetShowHelp();
18564 wxPyEndAllowThreads(__tstate
);
18565 if (PyErr_Occurred()) SWIG_fail
;
18568 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18576 SWIGINTERN PyObject
*_wrap_FontData_SetAllowSymbols(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18577 PyObject
*resultobj
= 0;
18578 wxFontData
*arg1
= (wxFontData
*) 0 ;
18584 PyObject
* obj0
= 0 ;
18585 PyObject
* obj1
= 0 ;
18586 char * kwnames
[] = {
18587 (char *) "self",(char *) "allowSymbols", NULL
18590 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontData_SetAllowSymbols",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18591 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontData
, 0 | 0 );
18592 if (!SWIG_IsOK(res1
)) {
18593 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontData_SetAllowSymbols" "', expected argument " "1"" of type '" "wxFontData *""'");
18595 arg1
= reinterpret_cast< wxFontData
* >(argp1
);
18596 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
18597 if (!SWIG_IsOK(ecode2
)) {
18598 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "FontData_SetAllowSymbols" "', expected argument " "2"" of type '" "bool""'");
18600 arg2
= static_cast< bool >(val2
);
18602 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18603 (arg1
)->SetAllowSymbols(arg2
);
18604 wxPyEndAllowThreads(__tstate
);
18605 if (PyErr_Occurred()) SWIG_fail
;
18607 resultobj
= SWIG_Py_Void();
18614 SWIGINTERN PyObject
*_wrap_FontData_SetChosenFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18615 PyObject
*resultobj
= 0;
18616 wxFontData
*arg1
= (wxFontData
*) 0 ;
18622 PyObject
* obj0
= 0 ;
18623 PyObject
* obj1
= 0 ;
18624 char * kwnames
[] = {
18625 (char *) "self",(char *) "font", NULL
18628 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontData_SetChosenFont",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18629 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontData
, 0 | 0 );
18630 if (!SWIG_IsOK(res1
)) {
18631 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontData_SetChosenFont" "', expected argument " "1"" of type '" "wxFontData *""'");
18633 arg1
= reinterpret_cast< wxFontData
* >(argp1
);
18634 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxFont
, 0 | 0);
18635 if (!SWIG_IsOK(res2
)) {
18636 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "FontData_SetChosenFont" "', expected argument " "2"" of type '" "wxFont const &""'");
18639 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "FontData_SetChosenFont" "', expected argument " "2"" of type '" "wxFont const &""'");
18641 arg2
= reinterpret_cast< wxFont
* >(argp2
);
18643 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18644 (arg1
)->SetChosenFont((wxFont
const &)*arg2
);
18645 wxPyEndAllowThreads(__tstate
);
18646 if (PyErr_Occurred()) SWIG_fail
;
18648 resultobj
= SWIG_Py_Void();
18655 SWIGINTERN PyObject
*_wrap_FontData_SetColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18656 PyObject
*resultobj
= 0;
18657 wxFontData
*arg1
= (wxFontData
*) 0 ;
18658 wxColour
*arg2
= 0 ;
18662 PyObject
* obj0
= 0 ;
18663 PyObject
* obj1
= 0 ;
18664 char * kwnames
[] = {
18665 (char *) "self",(char *) "colour", NULL
18668 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontData_SetColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18669 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontData
, 0 | 0 );
18670 if (!SWIG_IsOK(res1
)) {
18671 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontData_SetColour" "', expected argument " "1"" of type '" "wxFontData *""'");
18673 arg1
= reinterpret_cast< wxFontData
* >(argp1
);
18676 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
18679 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18680 (arg1
)->SetColour((wxColour
const &)*arg2
);
18681 wxPyEndAllowThreads(__tstate
);
18682 if (PyErr_Occurred()) SWIG_fail
;
18684 resultobj
= SWIG_Py_Void();
18691 SWIGINTERN PyObject
*_wrap_FontData_SetInitialFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18692 PyObject
*resultobj
= 0;
18693 wxFontData
*arg1
= (wxFontData
*) 0 ;
18699 PyObject
* obj0
= 0 ;
18700 PyObject
* obj1
= 0 ;
18701 char * kwnames
[] = {
18702 (char *) "self",(char *) "font", NULL
18705 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontData_SetInitialFont",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18706 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontData
, 0 | 0 );
18707 if (!SWIG_IsOK(res1
)) {
18708 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontData_SetInitialFont" "', expected argument " "1"" of type '" "wxFontData *""'");
18710 arg1
= reinterpret_cast< wxFontData
* >(argp1
);
18711 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxFont
, 0 | 0);
18712 if (!SWIG_IsOK(res2
)) {
18713 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "FontData_SetInitialFont" "', expected argument " "2"" of type '" "wxFont const &""'");
18716 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "FontData_SetInitialFont" "', expected argument " "2"" of type '" "wxFont const &""'");
18718 arg2
= reinterpret_cast< wxFont
* >(argp2
);
18720 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18721 (arg1
)->SetInitialFont((wxFont
const &)*arg2
);
18722 wxPyEndAllowThreads(__tstate
);
18723 if (PyErr_Occurred()) SWIG_fail
;
18725 resultobj
= SWIG_Py_Void();
18732 SWIGINTERN PyObject
*_wrap_FontData_SetRange(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18733 PyObject
*resultobj
= 0;
18734 wxFontData
*arg1
= (wxFontData
*) 0 ;
18743 PyObject
* obj0
= 0 ;
18744 PyObject
* obj1
= 0 ;
18745 PyObject
* obj2
= 0 ;
18746 char * kwnames
[] = {
18747 (char *) "self",(char *) "min",(char *) "max", NULL
18750 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:FontData_SetRange",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
18751 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontData
, 0 | 0 );
18752 if (!SWIG_IsOK(res1
)) {
18753 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontData_SetRange" "', expected argument " "1"" of type '" "wxFontData *""'");
18755 arg1
= reinterpret_cast< wxFontData
* >(argp1
);
18756 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18757 if (!SWIG_IsOK(ecode2
)) {
18758 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "FontData_SetRange" "', expected argument " "2"" of type '" "int""'");
18760 arg2
= static_cast< int >(val2
);
18761 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
18762 if (!SWIG_IsOK(ecode3
)) {
18763 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "FontData_SetRange" "', expected argument " "3"" of type '" "int""'");
18765 arg3
= static_cast< int >(val3
);
18767 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18768 (arg1
)->SetRange(arg2
,arg3
);
18769 wxPyEndAllowThreads(__tstate
);
18770 if (PyErr_Occurred()) SWIG_fail
;
18772 resultobj
= SWIG_Py_Void();
18779 SWIGINTERN PyObject
*_wrap_FontData_SetShowHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18780 PyObject
*resultobj
= 0;
18781 wxFontData
*arg1
= (wxFontData
*) 0 ;
18787 PyObject
* obj0
= 0 ;
18788 PyObject
* obj1
= 0 ;
18789 char * kwnames
[] = {
18790 (char *) "self",(char *) "showHelp", NULL
18793 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontData_SetShowHelp",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18794 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontData
, 0 | 0 );
18795 if (!SWIG_IsOK(res1
)) {
18796 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontData_SetShowHelp" "', expected argument " "1"" of type '" "wxFontData *""'");
18798 arg1
= reinterpret_cast< wxFontData
* >(argp1
);
18799 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
18800 if (!SWIG_IsOK(ecode2
)) {
18801 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "FontData_SetShowHelp" "', expected argument " "2"" of type '" "bool""'");
18803 arg2
= static_cast< bool >(val2
);
18805 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18806 (arg1
)->SetShowHelp(arg2
);
18807 wxPyEndAllowThreads(__tstate
);
18808 if (PyErr_Occurred()) SWIG_fail
;
18810 resultobj
= SWIG_Py_Void();
18817 SWIGINTERN PyObject
*FontData_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18819 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
18820 SWIG_TypeNewClientData(SWIGTYPE_p_wxFontData
, SWIG_NewClientData(obj
));
18821 return SWIG_Py_Void();
18824 SWIGINTERN PyObject
*FontData_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18825 return SWIG_Python_InitShadowInstance(args
);
18828 SWIGINTERN PyObject
*_wrap_new_FontDialog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18829 PyObject
*resultobj
= 0;
18830 wxWindow
*arg1
= (wxWindow
*) 0 ;
18831 wxFontData
*arg2
= 0 ;
18832 wxFontDialog
*result
= 0 ;
18837 PyObject
* obj0
= 0 ;
18838 PyObject
* obj1
= 0 ;
18839 char * kwnames
[] = {
18840 (char *) "parent",(char *) "data", NULL
18843 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_FontDialog",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18844 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
18845 if (!SWIG_IsOK(res1
)) {
18846 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_FontDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
18848 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
18849 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxFontData
, 0 | 0);
18850 if (!SWIG_IsOK(res2
)) {
18851 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_FontDialog" "', expected argument " "2"" of type '" "wxFontData const &""'");
18854 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_FontDialog" "', expected argument " "2"" of type '" "wxFontData const &""'");
18856 arg2
= reinterpret_cast< wxFontData
* >(argp2
);
18858 if (!wxPyCheckForApp()) SWIG_fail
;
18859 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18860 result
= (wxFontDialog
*)new wxFontDialog(arg1
,(wxFontData
const &)*arg2
);
18861 wxPyEndAllowThreads(__tstate
);
18862 if (PyErr_Occurred()) SWIG_fail
;
18864 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFontDialog
, SWIG_POINTER_NEW
| 0 );
18871 SWIGINTERN PyObject
*_wrap_FontDialog_GetFontData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18872 PyObject
*resultobj
= 0;
18873 wxFontDialog
*arg1
= (wxFontDialog
*) 0 ;
18874 wxFontData
*result
= 0 ;
18877 PyObject
*swig_obj
[1] ;
18879 if (!args
) SWIG_fail
;
18880 swig_obj
[0] = args
;
18881 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFontDialog
, 0 | 0 );
18882 if (!SWIG_IsOK(res1
)) {
18883 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontDialog_GetFontData" "', expected argument " "1"" of type '" "wxFontDialog *""'");
18885 arg1
= reinterpret_cast< wxFontDialog
* >(argp1
);
18887 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18889 wxFontData
&_result_ref
= (arg1
)->GetFontData();
18890 result
= (wxFontData
*) &_result_ref
;
18892 wxPyEndAllowThreads(__tstate
);
18893 if (PyErr_Occurred()) SWIG_fail
;
18895 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFontData
, 0 | 0 );
18902 SWIGINTERN PyObject
*FontDialog_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18904 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
18905 SWIG_TypeNewClientData(SWIGTYPE_p_wxFontDialog
, SWIG_NewClientData(obj
));
18906 return SWIG_Py_Void();
18909 SWIGINTERN PyObject
*FontDialog_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18910 return SWIG_Python_InitShadowInstance(args
);
18913 SWIGINTERN PyObject
*_wrap_GetFontFromUser(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18914 PyObject
*resultobj
= 0;
18915 wxWindow
*arg1
= (wxWindow
*) NULL
;
18916 wxFont
const &arg2_defvalue
= wxNullFont
;
18917 wxFont
*arg2
= (wxFont
*) &arg2_defvalue
;
18918 wxString
const &arg3_defvalue
= wxPyEmptyString
;
18919 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
18925 bool temp3
= false ;
18926 PyObject
* obj0
= 0 ;
18927 PyObject
* obj1
= 0 ;
18928 PyObject
* obj2
= 0 ;
18929 char * kwnames
[] = {
18930 (char *) "parent",(char *) "fontInit",(char *) "caption", NULL
18933 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:GetFontFromUser",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
18935 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
18936 if (!SWIG_IsOK(res1
)) {
18937 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GetFontFromUser" "', expected argument " "1"" of type '" "wxWindow *""'");
18939 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
18942 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxFont
, 0 | 0);
18943 if (!SWIG_IsOK(res2
)) {
18944 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GetFontFromUser" "', expected argument " "2"" of type '" "wxFont const &""'");
18947 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GetFontFromUser" "', expected argument " "2"" of type '" "wxFont const &""'");
18949 arg2
= reinterpret_cast< wxFont
* >(argp2
);
18953 arg3
= wxString_in_helper(obj2
);
18954 if (arg3
== NULL
) SWIG_fail
;
18959 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18960 result
= wxGetFontFromUser(arg1
,(wxFont
const &)*arg2
,(wxString
const &)*arg3
);
18961 wxPyEndAllowThreads(__tstate
);
18962 if (PyErr_Occurred()) SWIG_fail
;
18964 resultobj
= SWIG_NewPointerObj((new wxFont(static_cast< const wxFont
& >(result
))), SWIGTYPE_p_wxFont
, SWIG_POINTER_OWN
| 0 );
18979 SWIGINTERN PyObject
*_wrap_new_MessageDialog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18980 PyObject
*resultobj
= 0;
18981 wxWindow
*arg1
= (wxWindow
*) 0 ;
18982 wxString
*arg2
= 0 ;
18983 wxString
const &arg3_defvalue
= wxPyMessageBoxCaptionStr
;
18984 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
18985 long arg4
= (long) wxOK
|wxCANCEL
|wxCENTRE
;
18986 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
18987 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
18988 wxMessageDialog
*result
= 0 ;
18991 bool temp2
= false ;
18992 bool temp3
= false ;
18996 PyObject
* obj0
= 0 ;
18997 PyObject
* obj1
= 0 ;
18998 PyObject
* obj2
= 0 ;
18999 PyObject
* obj3
= 0 ;
19000 PyObject
* obj4
= 0 ;
19001 char * kwnames
[] = {
19002 (char *) "parent",(char *) "message",(char *) "caption",(char *) "style",(char *) "pos", NULL
19005 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:new_MessageDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
19006 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
19007 if (!SWIG_IsOK(res1
)) {
19008 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_MessageDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
19010 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
19012 arg2
= wxString_in_helper(obj1
);
19013 if (arg2
== NULL
) SWIG_fail
;
19018 arg3
= wxString_in_helper(obj2
);
19019 if (arg3
== NULL
) SWIG_fail
;
19024 ecode4
= SWIG_AsVal_long(obj3
, &val4
);
19025 if (!SWIG_IsOK(ecode4
)) {
19026 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_MessageDialog" "', expected argument " "4"" of type '" "long""'");
19028 arg4
= static_cast< long >(val4
);
19033 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
19037 if (!wxPyCheckForApp()) SWIG_fail
;
19038 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19039 result
= (wxMessageDialog
*)new wxMessageDialog(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
,(wxPoint
const &)*arg5
);
19040 wxPyEndAllowThreads(__tstate
);
19041 if (PyErr_Occurred()) SWIG_fail
;
19043 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMessageDialog
, SWIG_POINTER_NEW
| 0 );
19066 SWIGINTERN PyObject
*MessageDialog_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19068 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
19069 SWIG_TypeNewClientData(SWIGTYPE_p_wxMessageDialog
, SWIG_NewClientData(obj
));
19070 return SWIG_Py_Void();
19073 SWIGINTERN PyObject
*MessageDialog_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19074 return SWIG_Python_InitShadowInstance(args
);
19077 SWIGINTERN PyObject
*_wrap_new_ProgressDialog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19078 PyObject
*resultobj
= 0;
19079 wxString
*arg1
= 0 ;
19080 wxString
*arg2
= 0 ;
19081 int arg3
= (int) 100 ;
19082 wxWindow
*arg4
= (wxWindow
*) NULL
;
19083 int arg5
= (int) wxPD_AUTO_HIDE
|wxPD_APP_MODAL
;
19084 wxProgressDialog
*result
= 0 ;
19085 bool temp1
= false ;
19086 bool temp2
= false ;
19093 PyObject
* obj0
= 0 ;
19094 PyObject
* obj1
= 0 ;
19095 PyObject
* obj2
= 0 ;
19096 PyObject
* obj3
= 0 ;
19097 PyObject
* obj4
= 0 ;
19098 char * kwnames
[] = {
19099 (char *) "title",(char *) "message",(char *) "maximum",(char *) "parent",(char *) "style", NULL
19102 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:new_ProgressDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
19104 arg1
= wxString_in_helper(obj0
);
19105 if (arg1
== NULL
) SWIG_fail
;
19109 arg2
= wxString_in_helper(obj1
);
19110 if (arg2
== NULL
) SWIG_fail
;
19114 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
19115 if (!SWIG_IsOK(ecode3
)) {
19116 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_ProgressDialog" "', expected argument " "3"" of type '" "int""'");
19118 arg3
= static_cast< int >(val3
);
19121 res4
= SWIG_ConvertPtr(obj3
, &argp4
,SWIGTYPE_p_wxWindow
, 0 | 0 );
19122 if (!SWIG_IsOK(res4
)) {
19123 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "new_ProgressDialog" "', expected argument " "4"" of type '" "wxWindow *""'");
19125 arg4
= reinterpret_cast< wxWindow
* >(argp4
);
19128 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
19129 if (!SWIG_IsOK(ecode5
)) {
19130 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_ProgressDialog" "', expected argument " "5"" of type '" "int""'");
19132 arg5
= static_cast< int >(val5
);
19135 if (!wxPyCheckForApp()) SWIG_fail
;
19136 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19137 result
= (wxProgressDialog
*)new wxProgressDialog((wxString
const &)*arg1
,(wxString
const &)*arg2
,arg3
,arg4
,arg5
);
19138 wxPyEndAllowThreads(__tstate
);
19139 if (PyErr_Occurred()) SWIG_fail
;
19141 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxProgressDialog
, SWIG_POINTER_NEW
| 0 );
19164 SWIGINTERN PyObject
*_wrap_ProgressDialog_Update(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19165 PyObject
*resultobj
= 0;
19166 wxProgressDialog
*arg1
= (wxProgressDialog
*) 0 ;
19168 wxString
const &arg3_defvalue
= wxPyEmptyString
;
19169 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
19170 bool *arg4
= (bool *) 0 ;
19176 bool temp3
= false ;
19178 int res4
= SWIG_TMPOBJ
;
19179 PyObject
* obj0
= 0 ;
19180 PyObject
* obj1
= 0 ;
19181 PyObject
* obj2
= 0 ;
19182 char * kwnames
[] = {
19183 (char *) "self",(char *) "value",(char *) "newmsg", NULL
19187 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ProgressDialog_Update",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
19188 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxProgressDialog
, 0 | 0 );
19189 if (!SWIG_IsOK(res1
)) {
19190 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ProgressDialog_Update" "', expected argument " "1"" of type '" "wxProgressDialog *""'");
19192 arg1
= reinterpret_cast< wxProgressDialog
* >(argp1
);
19193 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
19194 if (!SWIG_IsOK(ecode2
)) {
19195 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ProgressDialog_Update" "', expected argument " "2"" of type '" "int""'");
19197 arg2
= static_cast< int >(val2
);
19200 arg3
= wxString_in_helper(obj2
);
19201 if (arg3
== NULL
) SWIG_fail
;
19206 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19207 result
= (bool)(arg1
)->Update(arg2
,(wxString
const &)*arg3
,arg4
);
19208 wxPyEndAllowThreads(__tstate
);
19209 if (PyErr_Occurred()) SWIG_fail
;
19212 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19214 if (SWIG_IsTmpObj(res4
)) {
19215 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_bool((*arg4
)));
19217 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
19218 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_bool
, new_flags
));
19234 SWIGINTERN PyObject
*_wrap_ProgressDialog_Resume(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19235 PyObject
*resultobj
= 0;
19236 wxProgressDialog
*arg1
= (wxProgressDialog
*) 0 ;
19239 PyObject
*swig_obj
[1] ;
19241 if (!args
) SWIG_fail
;
19242 swig_obj
[0] = args
;
19243 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxProgressDialog
, 0 | 0 );
19244 if (!SWIG_IsOK(res1
)) {
19245 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ProgressDialog_Resume" "', expected argument " "1"" of type '" "wxProgressDialog *""'");
19247 arg1
= reinterpret_cast< wxProgressDialog
* >(argp1
);
19249 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19251 wxPyEndAllowThreads(__tstate
);
19252 if (PyErr_Occurred()) SWIG_fail
;
19254 resultobj
= SWIG_Py_Void();
19261 SWIGINTERN PyObject
*ProgressDialog_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19263 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
19264 SWIG_TypeNewClientData(SWIGTYPE_p_wxProgressDialog
, SWIG_NewClientData(obj
));
19265 return SWIG_Py_Void();
19268 SWIGINTERN PyObject
*ProgressDialog_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19269 return SWIG_Python_InitShadowInstance(args
);
19272 SWIGINTERN PyObject
*_wrap_new_FindDialogEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19273 PyObject
*resultobj
= 0;
19274 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
19275 int arg2
= (int) 0 ;
19276 wxFindDialogEvent
*result
= 0 ;
19281 PyObject
* obj0
= 0 ;
19282 PyObject
* obj1
= 0 ;
19283 char * kwnames
[] = {
19284 (char *) "commandType",(char *) "id", NULL
19287 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_FindDialogEvent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19289 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
19290 if (!SWIG_IsOK(ecode1
)) {
19291 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_FindDialogEvent" "', expected argument " "1"" of type '" "wxEventType""'");
19293 arg1
= static_cast< wxEventType
>(val1
);
19296 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
19297 if (!SWIG_IsOK(ecode2
)) {
19298 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_FindDialogEvent" "', expected argument " "2"" of type '" "int""'");
19300 arg2
= static_cast< int >(val2
);
19303 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19304 result
= (wxFindDialogEvent
*)new wxFindDialogEvent(arg1
,arg2
);
19305 wxPyEndAllowThreads(__tstate
);
19306 if (PyErr_Occurred()) SWIG_fail
;
19308 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFindDialogEvent
, SWIG_POINTER_NEW
| 0 );
19315 SWIGINTERN PyObject
*_wrap_FindDialogEvent_GetFlags(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19316 PyObject
*resultobj
= 0;
19317 wxFindDialogEvent
*arg1
= (wxFindDialogEvent
*) 0 ;
19321 PyObject
*swig_obj
[1] ;
19323 if (!args
) SWIG_fail
;
19324 swig_obj
[0] = args
;
19325 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFindDialogEvent
, 0 | 0 );
19326 if (!SWIG_IsOK(res1
)) {
19327 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FindDialogEvent_GetFlags" "', expected argument " "1"" of type '" "wxFindDialogEvent *""'");
19329 arg1
= reinterpret_cast< wxFindDialogEvent
* >(argp1
);
19331 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19332 result
= (int)(arg1
)->GetFlags();
19333 wxPyEndAllowThreads(__tstate
);
19334 if (PyErr_Occurred()) SWIG_fail
;
19336 resultobj
= SWIG_From_int(static_cast< int >(result
));
19343 SWIGINTERN PyObject
*_wrap_FindDialogEvent_GetFindString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19344 PyObject
*resultobj
= 0;
19345 wxFindDialogEvent
*arg1
= (wxFindDialogEvent
*) 0 ;
19346 wxString
*result
= 0 ;
19349 PyObject
*swig_obj
[1] ;
19351 if (!args
) SWIG_fail
;
19352 swig_obj
[0] = args
;
19353 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFindDialogEvent
, 0 | 0 );
19354 if (!SWIG_IsOK(res1
)) {
19355 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FindDialogEvent_GetFindString" "', expected argument " "1"" of type '" "wxFindDialogEvent *""'");
19357 arg1
= reinterpret_cast< wxFindDialogEvent
* >(argp1
);
19359 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19361 wxString
const &_result_ref
= (arg1
)->GetFindString();
19362 result
= (wxString
*) &_result_ref
;
19364 wxPyEndAllowThreads(__tstate
);
19365 if (PyErr_Occurred()) SWIG_fail
;
19369 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
19371 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
19380 SWIGINTERN PyObject
*_wrap_FindDialogEvent_GetReplaceString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19381 PyObject
*resultobj
= 0;
19382 wxFindDialogEvent
*arg1
= (wxFindDialogEvent
*) 0 ;
19383 wxString
*result
= 0 ;
19386 PyObject
*swig_obj
[1] ;
19388 if (!args
) SWIG_fail
;
19389 swig_obj
[0] = args
;
19390 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFindDialogEvent
, 0 | 0 );
19391 if (!SWIG_IsOK(res1
)) {
19392 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FindDialogEvent_GetReplaceString" "', expected argument " "1"" of type '" "wxFindDialogEvent *""'");
19394 arg1
= reinterpret_cast< wxFindDialogEvent
* >(argp1
);
19396 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19398 wxString
const &_result_ref
= (arg1
)->GetReplaceString();
19399 result
= (wxString
*) &_result_ref
;
19401 wxPyEndAllowThreads(__tstate
);
19402 if (PyErr_Occurred()) SWIG_fail
;
19406 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
19408 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
19417 SWIGINTERN PyObject
*_wrap_FindDialogEvent_GetDialog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19418 PyObject
*resultobj
= 0;
19419 wxFindDialogEvent
*arg1
= (wxFindDialogEvent
*) 0 ;
19420 wxFindReplaceDialog
*result
= 0 ;
19423 PyObject
*swig_obj
[1] ;
19425 if (!args
) SWIG_fail
;
19426 swig_obj
[0] = args
;
19427 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFindDialogEvent
, 0 | 0 );
19428 if (!SWIG_IsOK(res1
)) {
19429 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FindDialogEvent_GetDialog" "', expected argument " "1"" of type '" "wxFindDialogEvent *""'");
19431 arg1
= reinterpret_cast< wxFindDialogEvent
* >(argp1
);
19433 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19434 result
= (wxFindReplaceDialog
*)(arg1
)->GetDialog();
19435 wxPyEndAllowThreads(__tstate
);
19436 if (PyErr_Occurred()) SWIG_fail
;
19438 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFindReplaceDialog
, 0 | 0 );
19445 SWIGINTERN PyObject
*_wrap_FindDialogEvent_SetFlags(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19446 PyObject
*resultobj
= 0;
19447 wxFindDialogEvent
*arg1
= (wxFindDialogEvent
*) 0 ;
19453 PyObject
* obj0
= 0 ;
19454 PyObject
* obj1
= 0 ;
19455 char * kwnames
[] = {
19456 (char *) "self",(char *) "flags", NULL
19459 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FindDialogEvent_SetFlags",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19460 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFindDialogEvent
, 0 | 0 );
19461 if (!SWIG_IsOK(res1
)) {
19462 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FindDialogEvent_SetFlags" "', expected argument " "1"" of type '" "wxFindDialogEvent *""'");
19464 arg1
= reinterpret_cast< wxFindDialogEvent
* >(argp1
);
19465 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
19466 if (!SWIG_IsOK(ecode2
)) {
19467 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "FindDialogEvent_SetFlags" "', expected argument " "2"" of type '" "int""'");
19469 arg2
= static_cast< int >(val2
);
19471 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19472 (arg1
)->SetFlags(arg2
);
19473 wxPyEndAllowThreads(__tstate
);
19474 if (PyErr_Occurred()) SWIG_fail
;
19476 resultobj
= SWIG_Py_Void();
19483 SWIGINTERN PyObject
*_wrap_FindDialogEvent_SetFindString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19484 PyObject
*resultobj
= 0;
19485 wxFindDialogEvent
*arg1
= (wxFindDialogEvent
*) 0 ;
19486 wxString
*arg2
= 0 ;
19489 bool temp2
= false ;
19490 PyObject
* obj0
= 0 ;
19491 PyObject
* obj1
= 0 ;
19492 char * kwnames
[] = {
19493 (char *) "self",(char *) "str", NULL
19496 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FindDialogEvent_SetFindString",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19497 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFindDialogEvent
, 0 | 0 );
19498 if (!SWIG_IsOK(res1
)) {
19499 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FindDialogEvent_SetFindString" "', expected argument " "1"" of type '" "wxFindDialogEvent *""'");
19501 arg1
= reinterpret_cast< wxFindDialogEvent
* >(argp1
);
19503 arg2
= wxString_in_helper(obj1
);
19504 if (arg2
== NULL
) SWIG_fail
;
19508 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19509 (arg1
)->SetFindString((wxString
const &)*arg2
);
19510 wxPyEndAllowThreads(__tstate
);
19511 if (PyErr_Occurred()) SWIG_fail
;
19513 resultobj
= SWIG_Py_Void();
19528 SWIGINTERN PyObject
*_wrap_FindDialogEvent_SetReplaceString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19529 PyObject
*resultobj
= 0;
19530 wxFindDialogEvent
*arg1
= (wxFindDialogEvent
*) 0 ;
19531 wxString
*arg2
= 0 ;
19534 bool temp2
= false ;
19535 PyObject
* obj0
= 0 ;
19536 PyObject
* obj1
= 0 ;
19537 char * kwnames
[] = {
19538 (char *) "self",(char *) "str", NULL
19541 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FindDialogEvent_SetReplaceString",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19542 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFindDialogEvent
, 0 | 0 );
19543 if (!SWIG_IsOK(res1
)) {
19544 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FindDialogEvent_SetReplaceString" "', expected argument " "1"" of type '" "wxFindDialogEvent *""'");
19546 arg1
= reinterpret_cast< wxFindDialogEvent
* >(argp1
);
19548 arg2
= wxString_in_helper(obj1
);
19549 if (arg2
== NULL
) SWIG_fail
;
19553 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19554 (arg1
)->SetReplaceString((wxString
const &)*arg2
);
19555 wxPyEndAllowThreads(__tstate
);
19556 if (PyErr_Occurred()) SWIG_fail
;
19558 resultobj
= SWIG_Py_Void();
19573 SWIGINTERN PyObject
*FindDialogEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19575 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
19576 SWIG_TypeNewClientData(SWIGTYPE_p_wxFindDialogEvent
, SWIG_NewClientData(obj
));
19577 return SWIG_Py_Void();
19580 SWIGINTERN PyObject
*FindDialogEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19581 return SWIG_Python_InitShadowInstance(args
);
19584 SWIGINTERN PyObject
*_wrap_new_FindReplaceData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19585 PyObject
*resultobj
= 0;
19586 int arg1
= (int) 0 ;
19587 wxFindReplaceData
*result
= 0 ;
19590 PyObject
* obj0
= 0 ;
19591 char * kwnames
[] = {
19592 (char *) "flags", NULL
19595 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_FindReplaceData",kwnames
,&obj0
)) SWIG_fail
;
19597 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
19598 if (!SWIG_IsOK(ecode1
)) {
19599 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_FindReplaceData" "', expected argument " "1"" of type '" "int""'");
19601 arg1
= static_cast< int >(val1
);
19604 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19605 result
= (wxFindReplaceData
*)new wxFindReplaceData(arg1
);
19606 wxPyEndAllowThreads(__tstate
);
19607 if (PyErr_Occurred()) SWIG_fail
;
19609 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFindReplaceData
, SWIG_POINTER_NEW
| 0 );
19616 SWIGINTERN PyObject
*_wrap_delete_FindReplaceData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19617 PyObject
*resultobj
= 0;
19618 wxFindReplaceData
*arg1
= (wxFindReplaceData
*) 0 ;
19621 PyObject
*swig_obj
[1] ;
19623 if (!args
) SWIG_fail
;
19624 swig_obj
[0] = args
;
19625 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFindReplaceData
, SWIG_POINTER_DISOWN
| 0 );
19626 if (!SWIG_IsOK(res1
)) {
19627 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_FindReplaceData" "', expected argument " "1"" of type '" "wxFindReplaceData *""'");
19629 arg1
= reinterpret_cast< wxFindReplaceData
* >(argp1
);
19631 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19634 wxPyEndAllowThreads(__tstate
);
19635 if (PyErr_Occurred()) SWIG_fail
;
19637 resultobj
= SWIG_Py_Void();
19644 SWIGINTERN PyObject
*_wrap_FindReplaceData_GetFindString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19645 PyObject
*resultobj
= 0;
19646 wxFindReplaceData
*arg1
= (wxFindReplaceData
*) 0 ;
19647 wxString
*result
= 0 ;
19650 PyObject
*swig_obj
[1] ;
19652 if (!args
) SWIG_fail
;
19653 swig_obj
[0] = args
;
19654 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFindReplaceData
, 0 | 0 );
19655 if (!SWIG_IsOK(res1
)) {
19656 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FindReplaceData_GetFindString" "', expected argument " "1"" of type '" "wxFindReplaceData *""'");
19658 arg1
= reinterpret_cast< wxFindReplaceData
* >(argp1
);
19660 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19662 wxString
const &_result_ref
= (arg1
)->GetFindString();
19663 result
= (wxString
*) &_result_ref
;
19665 wxPyEndAllowThreads(__tstate
);
19666 if (PyErr_Occurred()) SWIG_fail
;
19670 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
19672 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
19681 SWIGINTERN PyObject
*_wrap_FindReplaceData_GetReplaceString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19682 PyObject
*resultobj
= 0;
19683 wxFindReplaceData
*arg1
= (wxFindReplaceData
*) 0 ;
19684 wxString
*result
= 0 ;
19687 PyObject
*swig_obj
[1] ;
19689 if (!args
) SWIG_fail
;
19690 swig_obj
[0] = args
;
19691 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFindReplaceData
, 0 | 0 );
19692 if (!SWIG_IsOK(res1
)) {
19693 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FindReplaceData_GetReplaceString" "', expected argument " "1"" of type '" "wxFindReplaceData *""'");
19695 arg1
= reinterpret_cast< wxFindReplaceData
* >(argp1
);
19697 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19699 wxString
const &_result_ref
= (arg1
)->GetReplaceString();
19700 result
= (wxString
*) &_result_ref
;
19702 wxPyEndAllowThreads(__tstate
);
19703 if (PyErr_Occurred()) SWIG_fail
;
19707 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
19709 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
19718 SWIGINTERN PyObject
*_wrap_FindReplaceData_GetFlags(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19719 PyObject
*resultobj
= 0;
19720 wxFindReplaceData
*arg1
= (wxFindReplaceData
*) 0 ;
19724 PyObject
*swig_obj
[1] ;
19726 if (!args
) SWIG_fail
;
19727 swig_obj
[0] = args
;
19728 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFindReplaceData
, 0 | 0 );
19729 if (!SWIG_IsOK(res1
)) {
19730 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FindReplaceData_GetFlags" "', expected argument " "1"" of type '" "wxFindReplaceData *""'");
19732 arg1
= reinterpret_cast< wxFindReplaceData
* >(argp1
);
19734 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19735 result
= (int)(arg1
)->GetFlags();
19736 wxPyEndAllowThreads(__tstate
);
19737 if (PyErr_Occurred()) SWIG_fail
;
19739 resultobj
= SWIG_From_int(static_cast< int >(result
));
19746 SWIGINTERN PyObject
*_wrap_FindReplaceData_SetFlags(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19747 PyObject
*resultobj
= 0;
19748 wxFindReplaceData
*arg1
= (wxFindReplaceData
*) 0 ;
19754 PyObject
* obj0
= 0 ;
19755 PyObject
* obj1
= 0 ;
19756 char * kwnames
[] = {
19757 (char *) "self",(char *) "flags", NULL
19760 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FindReplaceData_SetFlags",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19761 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFindReplaceData
, 0 | 0 );
19762 if (!SWIG_IsOK(res1
)) {
19763 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FindReplaceData_SetFlags" "', expected argument " "1"" of type '" "wxFindReplaceData *""'");
19765 arg1
= reinterpret_cast< wxFindReplaceData
* >(argp1
);
19766 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
19767 if (!SWIG_IsOK(ecode2
)) {
19768 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "FindReplaceData_SetFlags" "', expected argument " "2"" of type '" "int""'");
19770 arg2
= static_cast< int >(val2
);
19772 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19773 (arg1
)->SetFlags(arg2
);
19774 wxPyEndAllowThreads(__tstate
);
19775 if (PyErr_Occurred()) SWIG_fail
;
19777 resultobj
= SWIG_Py_Void();
19784 SWIGINTERN PyObject
*_wrap_FindReplaceData_SetFindString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19785 PyObject
*resultobj
= 0;
19786 wxFindReplaceData
*arg1
= (wxFindReplaceData
*) 0 ;
19787 wxString
*arg2
= 0 ;
19790 bool temp2
= false ;
19791 PyObject
* obj0
= 0 ;
19792 PyObject
* obj1
= 0 ;
19793 char * kwnames
[] = {
19794 (char *) "self",(char *) "str", NULL
19797 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FindReplaceData_SetFindString",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19798 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFindReplaceData
, 0 | 0 );
19799 if (!SWIG_IsOK(res1
)) {
19800 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FindReplaceData_SetFindString" "', expected argument " "1"" of type '" "wxFindReplaceData *""'");
19802 arg1
= reinterpret_cast< wxFindReplaceData
* >(argp1
);
19804 arg2
= wxString_in_helper(obj1
);
19805 if (arg2
== NULL
) SWIG_fail
;
19809 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19810 (arg1
)->SetFindString((wxString
const &)*arg2
);
19811 wxPyEndAllowThreads(__tstate
);
19812 if (PyErr_Occurred()) SWIG_fail
;
19814 resultobj
= SWIG_Py_Void();
19829 SWIGINTERN PyObject
*_wrap_FindReplaceData_SetReplaceString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19830 PyObject
*resultobj
= 0;
19831 wxFindReplaceData
*arg1
= (wxFindReplaceData
*) 0 ;
19832 wxString
*arg2
= 0 ;
19835 bool temp2
= false ;
19836 PyObject
* obj0
= 0 ;
19837 PyObject
* obj1
= 0 ;
19838 char * kwnames
[] = {
19839 (char *) "self",(char *) "str", NULL
19842 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FindReplaceData_SetReplaceString",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19843 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFindReplaceData
, 0 | 0 );
19844 if (!SWIG_IsOK(res1
)) {
19845 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FindReplaceData_SetReplaceString" "', expected argument " "1"" of type '" "wxFindReplaceData *""'");
19847 arg1
= reinterpret_cast< wxFindReplaceData
* >(argp1
);
19849 arg2
= wxString_in_helper(obj1
);
19850 if (arg2
== NULL
) SWIG_fail
;
19854 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19855 (arg1
)->SetReplaceString((wxString
const &)*arg2
);
19856 wxPyEndAllowThreads(__tstate
);
19857 if (PyErr_Occurred()) SWIG_fail
;
19859 resultobj
= SWIG_Py_Void();
19874 SWIGINTERN PyObject
*FindReplaceData_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19876 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
19877 SWIG_TypeNewClientData(SWIGTYPE_p_wxFindReplaceData
, SWIG_NewClientData(obj
));
19878 return SWIG_Py_Void();
19881 SWIGINTERN PyObject
*FindReplaceData_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19882 return SWIG_Python_InitShadowInstance(args
);
19885 SWIGINTERN PyObject
*_wrap_new_FindReplaceDialog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19886 PyObject
*resultobj
= 0;
19887 wxWindow
*arg1
= (wxWindow
*) 0 ;
19888 wxFindReplaceData
*arg2
= (wxFindReplaceData
*) 0 ;
19889 wxString
*arg3
= 0 ;
19890 int arg4
= (int) 0 ;
19891 wxFindReplaceDialog
*result
= 0 ;
19896 bool temp3
= false ;
19899 PyObject
* obj0
= 0 ;
19900 PyObject
* obj1
= 0 ;
19901 PyObject
* obj2
= 0 ;
19902 PyObject
* obj3
= 0 ;
19903 char * kwnames
[] = {
19904 (char *) "parent",(char *) "data",(char *) "title",(char *) "style", NULL
19907 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:new_FindReplaceDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
19908 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
19909 if (!SWIG_IsOK(res1
)) {
19910 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_FindReplaceDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
19912 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
19913 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxFindReplaceData
, 0 | 0 );
19914 if (!SWIG_IsOK(res2
)) {
19915 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_FindReplaceDialog" "', expected argument " "2"" of type '" "wxFindReplaceData *""'");
19917 arg2
= reinterpret_cast< wxFindReplaceData
* >(argp2
);
19919 arg3
= wxString_in_helper(obj2
);
19920 if (arg3
== NULL
) SWIG_fail
;
19924 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
19925 if (!SWIG_IsOK(ecode4
)) {
19926 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_FindReplaceDialog" "', expected argument " "4"" of type '" "int""'");
19928 arg4
= static_cast< int >(val4
);
19931 if (!wxPyCheckForApp()) SWIG_fail
;
19932 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19933 result
= (wxFindReplaceDialog
*)new wxFindReplaceDialog(arg1
,arg2
,(wxString
const &)*arg3
,arg4
);
19934 wxPyEndAllowThreads(__tstate
);
19935 if (PyErr_Occurred()) SWIG_fail
;
19937 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFindReplaceDialog
, SWIG_POINTER_NEW
| 0 );
19952 SWIGINTERN PyObject
*_wrap_new_PreFindReplaceDialog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19953 PyObject
*resultobj
= 0;
19954 wxFindReplaceDialog
*result
= 0 ;
19956 if (!SWIG_Python_UnpackTuple(args
,"new_PreFindReplaceDialog",0,0,0)) SWIG_fail
;
19958 if (!wxPyCheckForApp()) SWIG_fail
;
19959 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19960 result
= (wxFindReplaceDialog
*)new wxFindReplaceDialog();
19961 wxPyEndAllowThreads(__tstate
);
19962 if (PyErr_Occurred()) SWIG_fail
;
19964 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFindReplaceDialog
, SWIG_POINTER_OWN
| 0 );
19971 SWIGINTERN PyObject
*_wrap_FindReplaceDialog_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19972 PyObject
*resultobj
= 0;
19973 wxFindReplaceDialog
*arg1
= (wxFindReplaceDialog
*) 0 ;
19974 wxWindow
*arg2
= (wxWindow
*) 0 ;
19975 wxFindReplaceData
*arg3
= (wxFindReplaceData
*) 0 ;
19976 wxString
*arg4
= 0 ;
19977 int arg5
= (int) 0 ;
19985 bool temp4
= false ;
19988 PyObject
* obj0
= 0 ;
19989 PyObject
* obj1
= 0 ;
19990 PyObject
* obj2
= 0 ;
19991 PyObject
* obj3
= 0 ;
19992 PyObject
* obj4
= 0 ;
19993 char * kwnames
[] = {
19994 (char *) "self",(char *) "parent",(char *) "data",(char *) "title",(char *) "style", NULL
19997 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:FindReplaceDialog_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
19998 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFindReplaceDialog
, 0 | 0 );
19999 if (!SWIG_IsOK(res1
)) {
20000 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FindReplaceDialog_Create" "', expected argument " "1"" of type '" "wxFindReplaceDialog *""'");
20002 arg1
= reinterpret_cast< wxFindReplaceDialog
* >(argp1
);
20003 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
20004 if (!SWIG_IsOK(res2
)) {
20005 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "FindReplaceDialog_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
20007 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
20008 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxFindReplaceData
, 0 | 0 );
20009 if (!SWIG_IsOK(res3
)) {
20010 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "FindReplaceDialog_Create" "', expected argument " "3"" of type '" "wxFindReplaceData *""'");
20012 arg3
= reinterpret_cast< wxFindReplaceData
* >(argp3
);
20014 arg4
= wxString_in_helper(obj3
);
20015 if (arg4
== NULL
) SWIG_fail
;
20019 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
20020 if (!SWIG_IsOK(ecode5
)) {
20021 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "FindReplaceDialog_Create" "', expected argument " "5"" of type '" "int""'");
20023 arg5
= static_cast< int >(val5
);
20026 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20027 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,arg5
);
20028 wxPyEndAllowThreads(__tstate
);
20029 if (PyErr_Occurred()) SWIG_fail
;
20032 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20048 SWIGINTERN PyObject
*_wrap_FindReplaceDialog_GetData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20049 PyObject
*resultobj
= 0;
20050 wxFindReplaceDialog
*arg1
= (wxFindReplaceDialog
*) 0 ;
20051 wxFindReplaceData
*result
= 0 ;
20054 PyObject
*swig_obj
[1] ;
20056 if (!args
) SWIG_fail
;
20057 swig_obj
[0] = args
;
20058 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFindReplaceDialog
, 0 | 0 );
20059 if (!SWIG_IsOK(res1
)) {
20060 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FindReplaceDialog_GetData" "', expected argument " "1"" of type '" "wxFindReplaceDialog *""'");
20062 arg1
= reinterpret_cast< wxFindReplaceDialog
* >(argp1
);
20064 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20065 result
= (wxFindReplaceData
*)(arg1
)->GetData();
20066 wxPyEndAllowThreads(__tstate
);
20067 if (PyErr_Occurred()) SWIG_fail
;
20069 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFindReplaceData
, 0 | 0 );
20076 SWIGINTERN PyObject
*_wrap_FindReplaceDialog_SetData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20077 PyObject
*resultobj
= 0;
20078 wxFindReplaceDialog
*arg1
= (wxFindReplaceDialog
*) 0 ;
20079 wxFindReplaceData
*arg2
= (wxFindReplaceData
*) 0 ;
20084 PyObject
* obj0
= 0 ;
20085 PyObject
* obj1
= 0 ;
20086 char * kwnames
[] = {
20087 (char *) "self",(char *) "data", NULL
20090 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FindReplaceDialog_SetData",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20091 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFindReplaceDialog
, 0 | 0 );
20092 if (!SWIG_IsOK(res1
)) {
20093 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FindReplaceDialog_SetData" "', expected argument " "1"" of type '" "wxFindReplaceDialog *""'");
20095 arg1
= reinterpret_cast< wxFindReplaceDialog
* >(argp1
);
20096 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxFindReplaceData
, 0 | 0 );
20097 if (!SWIG_IsOK(res2
)) {
20098 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "FindReplaceDialog_SetData" "', expected argument " "2"" of type '" "wxFindReplaceData *""'");
20100 arg2
= reinterpret_cast< wxFindReplaceData
* >(argp2
);
20102 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20103 (arg1
)->SetData(arg2
);
20104 wxPyEndAllowThreads(__tstate
);
20105 if (PyErr_Occurred()) SWIG_fail
;
20107 resultobj
= SWIG_Py_Void();
20114 SWIGINTERN PyObject
*FindReplaceDialog_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20116 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
20117 SWIG_TypeNewClientData(SWIGTYPE_p_wxFindReplaceDialog
, SWIG_NewClientData(obj
));
20118 return SWIG_Py_Void();
20121 SWIGINTERN PyObject
*FindReplaceDialog_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20122 return SWIG_Python_InitShadowInstance(args
);
20125 SWIGINTERN PyObject
*_wrap_new_MDIParentFrame(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20126 PyObject
*resultobj
= 0;
20127 wxWindow
*arg1
= (wxWindow
*) 0 ;
20128 int arg2
= (int) (int)-1 ;
20129 wxString
const &arg3_defvalue
= wxPyEmptyString
;
20130 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
20131 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
20132 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
20133 wxSize
const &arg5_defvalue
= wxDefaultSize
;
20134 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
20135 long arg6
= (long) wxDEFAULT_FRAME_STYLE
|wxVSCROLL
|wxHSCROLL
;
20136 wxString
const &arg7_defvalue
= wxPyFrameNameStr
;
20137 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
20138 wxMDIParentFrame
*result
= 0 ;
20143 bool temp3
= false ;
20148 bool temp7
= false ;
20149 PyObject
* obj0
= 0 ;
20150 PyObject
* obj1
= 0 ;
20151 PyObject
* obj2
= 0 ;
20152 PyObject
* obj3
= 0 ;
20153 PyObject
* obj4
= 0 ;
20154 PyObject
* obj5
= 0 ;
20155 PyObject
* obj6
= 0 ;
20156 char * kwnames
[] = {
20157 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
20160 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_MDIParentFrame",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
20161 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
20162 if (!SWIG_IsOK(res1
)) {
20163 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_MDIParentFrame" "', expected argument " "1"" of type '" "wxWindow *""'");
20165 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
20167 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
20168 if (!SWIG_IsOK(ecode2
)) {
20169 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_MDIParentFrame" "', expected argument " "2"" of type '" "int""'");
20171 arg2
= static_cast< int >(val2
);
20175 arg3
= wxString_in_helper(obj2
);
20176 if (arg3
== NULL
) SWIG_fail
;
20183 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
20189 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
20193 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
20194 if (!SWIG_IsOK(ecode6
)) {
20195 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_MDIParentFrame" "', expected argument " "6"" of type '" "long""'");
20197 arg6
= static_cast< long >(val6
);
20201 arg7
= wxString_in_helper(obj6
);
20202 if (arg7
== NULL
) SWIG_fail
;
20207 if (!wxPyCheckForApp()) SWIG_fail
;
20208 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20209 result
= (wxMDIParentFrame
*)new wxMDIParentFrame(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
20210 wxPyEndAllowThreads(__tstate
);
20211 if (PyErr_Occurred()) SWIG_fail
;
20213 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMDIParentFrame
, SWIG_POINTER_NEW
| 0 );
20236 SWIGINTERN PyObject
*_wrap_new_PreMDIParentFrame(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20237 PyObject
*resultobj
= 0;
20238 wxMDIParentFrame
*result
= 0 ;
20240 if (!SWIG_Python_UnpackTuple(args
,"new_PreMDIParentFrame",0,0,0)) SWIG_fail
;
20242 if (!wxPyCheckForApp()) SWIG_fail
;
20243 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20244 result
= (wxMDIParentFrame
*)new wxMDIParentFrame();
20245 wxPyEndAllowThreads(__tstate
);
20246 if (PyErr_Occurred()) SWIG_fail
;
20248 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMDIParentFrame
, SWIG_POINTER_OWN
| 0 );
20255 SWIGINTERN PyObject
*_wrap_MDIParentFrame_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20256 PyObject
*resultobj
= 0;
20257 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
20258 wxWindow
*arg2
= (wxWindow
*) 0 ;
20259 int arg3
= (int) (int)-1 ;
20260 wxString
const &arg4_defvalue
= wxPyEmptyString
;
20261 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
20262 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
20263 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
20264 wxSize
const &arg6_defvalue
= wxDefaultSize
;
20265 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
20266 long arg7
= (long) wxDEFAULT_FRAME_STYLE
|wxVSCROLL
|wxHSCROLL
;
20267 wxString
const &arg8_defvalue
= wxPyFrameNameStr
;
20268 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
20276 bool temp4
= false ;
20281 bool temp8
= false ;
20282 PyObject
* obj0
= 0 ;
20283 PyObject
* obj1
= 0 ;
20284 PyObject
* obj2
= 0 ;
20285 PyObject
* obj3
= 0 ;
20286 PyObject
* obj4
= 0 ;
20287 PyObject
* obj5
= 0 ;
20288 PyObject
* obj6
= 0 ;
20289 PyObject
* obj7
= 0 ;
20290 char * kwnames
[] = {
20291 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
20294 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:MDIParentFrame_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
20295 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMDIParentFrame
, 0 | 0 );
20296 if (!SWIG_IsOK(res1
)) {
20297 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MDIParentFrame_Create" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
20299 arg1
= reinterpret_cast< wxMDIParentFrame
* >(argp1
);
20300 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
20301 if (!SWIG_IsOK(res2
)) {
20302 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "MDIParentFrame_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
20304 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
20306 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
20307 if (!SWIG_IsOK(ecode3
)) {
20308 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "MDIParentFrame_Create" "', expected argument " "3"" of type '" "int""'");
20310 arg3
= static_cast< int >(val3
);
20314 arg4
= wxString_in_helper(obj3
);
20315 if (arg4
== NULL
) SWIG_fail
;
20322 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
20328 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
20332 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
20333 if (!SWIG_IsOK(ecode7
)) {
20334 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "MDIParentFrame_Create" "', expected argument " "7"" of type '" "long""'");
20336 arg7
= static_cast< long >(val7
);
20340 arg8
= wxString_in_helper(obj7
);
20341 if (arg8
== NULL
) SWIG_fail
;
20346 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20347 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
20348 wxPyEndAllowThreads(__tstate
);
20349 if (PyErr_Occurred()) SWIG_fail
;
20352 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20376 SWIGINTERN PyObject
*_wrap_MDIParentFrame_ActivateNext(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20377 PyObject
*resultobj
= 0;
20378 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
20381 PyObject
*swig_obj
[1] ;
20383 if (!args
) SWIG_fail
;
20384 swig_obj
[0] = args
;
20385 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMDIParentFrame
, 0 | 0 );
20386 if (!SWIG_IsOK(res1
)) {
20387 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MDIParentFrame_ActivateNext" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
20389 arg1
= reinterpret_cast< wxMDIParentFrame
* >(argp1
);
20391 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20392 (arg1
)->ActivateNext();
20393 wxPyEndAllowThreads(__tstate
);
20394 if (PyErr_Occurred()) SWIG_fail
;
20396 resultobj
= SWIG_Py_Void();
20403 SWIGINTERN PyObject
*_wrap_MDIParentFrame_ActivatePrevious(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20404 PyObject
*resultobj
= 0;
20405 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
20408 PyObject
*swig_obj
[1] ;
20410 if (!args
) SWIG_fail
;
20411 swig_obj
[0] = args
;
20412 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMDIParentFrame
, 0 | 0 );
20413 if (!SWIG_IsOK(res1
)) {
20414 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MDIParentFrame_ActivatePrevious" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
20416 arg1
= reinterpret_cast< wxMDIParentFrame
* >(argp1
);
20418 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20419 (arg1
)->ActivatePrevious();
20420 wxPyEndAllowThreads(__tstate
);
20421 if (PyErr_Occurred()) SWIG_fail
;
20423 resultobj
= SWIG_Py_Void();
20430 SWIGINTERN PyObject
*_wrap_MDIParentFrame_ArrangeIcons(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20431 PyObject
*resultobj
= 0;
20432 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
20435 PyObject
*swig_obj
[1] ;
20437 if (!args
) SWIG_fail
;
20438 swig_obj
[0] = args
;
20439 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMDIParentFrame
, 0 | 0 );
20440 if (!SWIG_IsOK(res1
)) {
20441 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MDIParentFrame_ArrangeIcons" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
20443 arg1
= reinterpret_cast< wxMDIParentFrame
* >(argp1
);
20445 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20446 (arg1
)->ArrangeIcons();
20447 wxPyEndAllowThreads(__tstate
);
20448 if (PyErr_Occurred()) SWIG_fail
;
20450 resultobj
= SWIG_Py_Void();
20457 SWIGINTERN PyObject
*_wrap_MDIParentFrame_Cascade(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20458 PyObject
*resultobj
= 0;
20459 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
20462 PyObject
*swig_obj
[1] ;
20464 if (!args
) SWIG_fail
;
20465 swig_obj
[0] = args
;
20466 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMDIParentFrame
, 0 | 0 );
20467 if (!SWIG_IsOK(res1
)) {
20468 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MDIParentFrame_Cascade" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
20470 arg1
= reinterpret_cast< wxMDIParentFrame
* >(argp1
);
20472 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20474 wxPyEndAllowThreads(__tstate
);
20475 if (PyErr_Occurred()) SWIG_fail
;
20477 resultobj
= SWIG_Py_Void();
20484 SWIGINTERN PyObject
*_wrap_MDIParentFrame_GetActiveChild(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20485 PyObject
*resultobj
= 0;
20486 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
20487 wxMDIChildFrame
*result
= 0 ;
20490 PyObject
*swig_obj
[1] ;
20492 if (!args
) SWIG_fail
;
20493 swig_obj
[0] = args
;
20494 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMDIParentFrame
, 0 | 0 );
20495 if (!SWIG_IsOK(res1
)) {
20496 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MDIParentFrame_GetActiveChild" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
20498 arg1
= reinterpret_cast< wxMDIParentFrame
* >(argp1
);
20500 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20501 result
= (wxMDIChildFrame
*)(arg1
)->GetActiveChild();
20502 wxPyEndAllowThreads(__tstate
);
20503 if (PyErr_Occurred()) SWIG_fail
;
20506 resultobj
= wxPyMake_wxObject(result
, (bool)0);
20514 SWIGINTERN PyObject
*_wrap_MDIParentFrame_GetClientWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20515 PyObject
*resultobj
= 0;
20516 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
20517 wxMDIClientWindow
*result
= 0 ;
20520 PyObject
*swig_obj
[1] ;
20522 if (!args
) SWIG_fail
;
20523 swig_obj
[0] = args
;
20524 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMDIParentFrame
, 0 | 0 );
20525 if (!SWIG_IsOK(res1
)) {
20526 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MDIParentFrame_GetClientWindow" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
20528 arg1
= reinterpret_cast< wxMDIParentFrame
* >(argp1
);
20530 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20531 result
= (wxMDIClientWindow
*)(arg1
)->GetClientWindow();
20532 wxPyEndAllowThreads(__tstate
);
20533 if (PyErr_Occurred()) SWIG_fail
;
20536 resultobj
= wxPyMake_wxObject(result
, (bool)0);
20544 SWIGINTERN PyObject
*_wrap_MDIParentFrame_GetToolBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20545 PyObject
*resultobj
= 0;
20546 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
20547 wxWindow
*result
= 0 ;
20550 PyObject
*swig_obj
[1] ;
20552 if (!args
) SWIG_fail
;
20553 swig_obj
[0] = args
;
20554 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMDIParentFrame
, 0 | 0 );
20555 if (!SWIG_IsOK(res1
)) {
20556 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MDIParentFrame_GetToolBar" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
20558 arg1
= reinterpret_cast< wxMDIParentFrame
* >(argp1
);
20560 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20561 result
= (wxWindow
*)(arg1
)->GetToolBar();
20562 wxPyEndAllowThreads(__tstate
);
20563 if (PyErr_Occurred()) SWIG_fail
;
20566 resultobj
= wxPyMake_wxObject(result
, 0);
20574 SWIGINTERN PyObject
*_wrap_MDIParentFrame_Tile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20575 PyObject
*resultobj
= 0;
20576 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
20577 wxOrientation arg2
= (wxOrientation
) wxHORIZONTAL
;
20582 PyObject
* obj0
= 0 ;
20583 PyObject
* obj1
= 0 ;
20584 char * kwnames
[] = {
20585 (char *) "self",(char *) "orient", NULL
20588 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:MDIParentFrame_Tile",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20589 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMDIParentFrame
, 0 | 0 );
20590 if (!SWIG_IsOK(res1
)) {
20591 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MDIParentFrame_Tile" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
20593 arg1
= reinterpret_cast< wxMDIParentFrame
* >(argp1
);
20595 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
20596 if (!SWIG_IsOK(ecode2
)) {
20597 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "MDIParentFrame_Tile" "', expected argument " "2"" of type '" "wxOrientation""'");
20599 arg2
= static_cast< wxOrientation
>(val2
);
20602 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20603 (arg1
)->Tile(arg2
);
20604 wxPyEndAllowThreads(__tstate
);
20605 if (PyErr_Occurred()) SWIG_fail
;
20607 resultobj
= SWIG_Py_Void();
20614 SWIGINTERN PyObject
*MDIParentFrame_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20616 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
20617 SWIG_TypeNewClientData(SWIGTYPE_p_wxMDIParentFrame
, SWIG_NewClientData(obj
));
20618 return SWIG_Py_Void();
20621 SWIGINTERN PyObject
*MDIParentFrame_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20622 return SWIG_Python_InitShadowInstance(args
);
20625 SWIGINTERN PyObject
*_wrap_new_MDIChildFrame(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20626 PyObject
*resultobj
= 0;
20627 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
20628 int arg2
= (int) (int)-1 ;
20629 wxString
const &arg3_defvalue
= wxPyEmptyString
;
20630 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
20631 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
20632 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
20633 wxSize
const &arg5_defvalue
= wxDefaultSize
;
20634 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
20635 long arg6
= (long) wxDEFAULT_FRAME_STYLE
;
20636 wxString
const &arg7_defvalue
= wxPyFrameNameStr
;
20637 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
20638 wxMDIChildFrame
*result
= 0 ;
20643 bool temp3
= false ;
20648 bool temp7
= false ;
20649 PyObject
* obj0
= 0 ;
20650 PyObject
* obj1
= 0 ;
20651 PyObject
* obj2
= 0 ;
20652 PyObject
* obj3
= 0 ;
20653 PyObject
* obj4
= 0 ;
20654 PyObject
* obj5
= 0 ;
20655 PyObject
* obj6
= 0 ;
20656 char * kwnames
[] = {
20657 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
20660 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_MDIChildFrame",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
20661 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMDIParentFrame
, 0 | 0 );
20662 if (!SWIG_IsOK(res1
)) {
20663 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_MDIChildFrame" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
20665 arg1
= reinterpret_cast< wxMDIParentFrame
* >(argp1
);
20667 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
20668 if (!SWIG_IsOK(ecode2
)) {
20669 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_MDIChildFrame" "', expected argument " "2"" of type '" "int""'");
20671 arg2
= static_cast< int >(val2
);
20675 arg3
= wxString_in_helper(obj2
);
20676 if (arg3
== NULL
) SWIG_fail
;
20683 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
20689 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
20693 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
20694 if (!SWIG_IsOK(ecode6
)) {
20695 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_MDIChildFrame" "', expected argument " "6"" of type '" "long""'");
20697 arg6
= static_cast< long >(val6
);
20701 arg7
= wxString_in_helper(obj6
);
20702 if (arg7
== NULL
) SWIG_fail
;
20707 if (!wxPyCheckForApp()) SWIG_fail
;
20708 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20709 result
= (wxMDIChildFrame
*)new wxMDIChildFrame(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
20710 wxPyEndAllowThreads(__tstate
);
20711 if (PyErr_Occurred()) SWIG_fail
;
20713 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMDIChildFrame
, SWIG_POINTER_NEW
| 0 );
20736 SWIGINTERN PyObject
*_wrap_new_PreMDIChildFrame(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20737 PyObject
*resultobj
= 0;
20738 wxMDIChildFrame
*result
= 0 ;
20740 if (!SWIG_Python_UnpackTuple(args
,"new_PreMDIChildFrame",0,0,0)) SWIG_fail
;
20742 if (!wxPyCheckForApp()) SWIG_fail
;
20743 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20744 result
= (wxMDIChildFrame
*)new wxMDIChildFrame();
20745 wxPyEndAllowThreads(__tstate
);
20746 if (PyErr_Occurred()) SWIG_fail
;
20748 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMDIChildFrame
, SWIG_POINTER_OWN
| 0 );
20755 SWIGINTERN PyObject
*_wrap_MDIChildFrame_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20756 PyObject
*resultobj
= 0;
20757 wxMDIChildFrame
*arg1
= (wxMDIChildFrame
*) 0 ;
20758 wxMDIParentFrame
*arg2
= (wxMDIParentFrame
*) 0 ;
20759 int arg3
= (int) (int)-1 ;
20760 wxString
const &arg4_defvalue
= wxPyEmptyString
;
20761 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
20762 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
20763 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
20764 wxSize
const &arg6_defvalue
= wxDefaultSize
;
20765 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
20766 long arg7
= (long) wxDEFAULT_FRAME_STYLE
;
20767 wxString
const &arg8_defvalue
= wxPyFrameNameStr
;
20768 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
20776 bool temp4
= false ;
20781 bool temp8
= false ;
20782 PyObject
* obj0
= 0 ;
20783 PyObject
* obj1
= 0 ;
20784 PyObject
* obj2
= 0 ;
20785 PyObject
* obj3
= 0 ;
20786 PyObject
* obj4
= 0 ;
20787 PyObject
* obj5
= 0 ;
20788 PyObject
* obj6
= 0 ;
20789 PyObject
* obj7
= 0 ;
20790 char * kwnames
[] = {
20791 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
20794 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:MDIChildFrame_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
20795 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMDIChildFrame
, 0 | 0 );
20796 if (!SWIG_IsOK(res1
)) {
20797 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MDIChildFrame_Create" "', expected argument " "1"" of type '" "wxMDIChildFrame *""'");
20799 arg1
= reinterpret_cast< wxMDIChildFrame
* >(argp1
);
20800 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxMDIParentFrame
, 0 | 0 );
20801 if (!SWIG_IsOK(res2
)) {
20802 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "MDIChildFrame_Create" "', expected argument " "2"" of type '" "wxMDIParentFrame *""'");
20804 arg2
= reinterpret_cast< wxMDIParentFrame
* >(argp2
);
20806 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
20807 if (!SWIG_IsOK(ecode3
)) {
20808 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "MDIChildFrame_Create" "', expected argument " "3"" of type '" "int""'");
20810 arg3
= static_cast< int >(val3
);
20814 arg4
= wxString_in_helper(obj3
);
20815 if (arg4
== NULL
) SWIG_fail
;
20822 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
20828 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
20832 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
20833 if (!SWIG_IsOK(ecode7
)) {
20834 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "MDIChildFrame_Create" "', expected argument " "7"" of type '" "long""'");
20836 arg7
= static_cast< long >(val7
);
20840 arg8
= wxString_in_helper(obj7
);
20841 if (arg8
== NULL
) SWIG_fail
;
20846 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20847 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
20848 wxPyEndAllowThreads(__tstate
);
20849 if (PyErr_Occurred()) SWIG_fail
;
20852 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20876 SWIGINTERN PyObject
*_wrap_MDIChildFrame_Activate(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20877 PyObject
*resultobj
= 0;
20878 wxMDIChildFrame
*arg1
= (wxMDIChildFrame
*) 0 ;
20881 PyObject
*swig_obj
[1] ;
20883 if (!args
) SWIG_fail
;
20884 swig_obj
[0] = args
;
20885 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMDIChildFrame
, 0 | 0 );
20886 if (!SWIG_IsOK(res1
)) {
20887 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MDIChildFrame_Activate" "', expected argument " "1"" of type '" "wxMDIChildFrame *""'");
20889 arg1
= reinterpret_cast< wxMDIChildFrame
* >(argp1
);
20891 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20892 (arg1
)->Activate();
20893 wxPyEndAllowThreads(__tstate
);
20894 if (PyErr_Occurred()) SWIG_fail
;
20896 resultobj
= SWIG_Py_Void();
20903 SWIGINTERN PyObject
*MDIChildFrame_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20905 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
20906 SWIG_TypeNewClientData(SWIGTYPE_p_wxMDIChildFrame
, SWIG_NewClientData(obj
));
20907 return SWIG_Py_Void();
20910 SWIGINTERN PyObject
*MDIChildFrame_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20911 return SWIG_Python_InitShadowInstance(args
);
20914 SWIGINTERN PyObject
*_wrap_new_MDIClientWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20915 PyObject
*resultobj
= 0;
20916 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
20917 long arg2
= (long) 0 ;
20918 wxMDIClientWindow
*result
= 0 ;
20923 PyObject
* obj0
= 0 ;
20924 PyObject
* obj1
= 0 ;
20925 char * kwnames
[] = {
20926 (char *) "parent",(char *) "style", NULL
20929 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_MDIClientWindow",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20930 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMDIParentFrame
, 0 | 0 );
20931 if (!SWIG_IsOK(res1
)) {
20932 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_MDIClientWindow" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
20934 arg1
= reinterpret_cast< wxMDIParentFrame
* >(argp1
);
20936 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
20937 if (!SWIG_IsOK(ecode2
)) {
20938 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_MDIClientWindow" "', expected argument " "2"" of type '" "long""'");
20940 arg2
= static_cast< long >(val2
);
20943 if (!wxPyCheckForApp()) SWIG_fail
;
20944 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20945 result
= (wxMDIClientWindow
*)new wxMDIClientWindow(arg1
,arg2
);
20946 wxPyEndAllowThreads(__tstate
);
20947 if (PyErr_Occurred()) SWIG_fail
;
20949 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMDIClientWindow
, SWIG_POINTER_NEW
| 0 );
20956 SWIGINTERN PyObject
*_wrap_new_PreMDIClientWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20957 PyObject
*resultobj
= 0;
20958 wxMDIClientWindow
*result
= 0 ;
20960 if (!SWIG_Python_UnpackTuple(args
,"new_PreMDIClientWindow",0,0,0)) SWIG_fail
;
20962 if (!wxPyCheckForApp()) SWIG_fail
;
20963 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20964 result
= (wxMDIClientWindow
*)new wxMDIClientWindow();
20965 wxPyEndAllowThreads(__tstate
);
20966 if (PyErr_Occurred()) SWIG_fail
;
20968 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMDIClientWindow
, SWIG_POINTER_OWN
| 0 );
20975 SWIGINTERN PyObject
*_wrap_MDIClientWindow_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20976 PyObject
*resultobj
= 0;
20977 wxMDIClientWindow
*arg1
= (wxMDIClientWindow
*) 0 ;
20978 wxMDIParentFrame
*arg2
= (wxMDIParentFrame
*) 0 ;
20979 long arg3
= (long) 0 ;
20987 PyObject
* obj0
= 0 ;
20988 PyObject
* obj1
= 0 ;
20989 PyObject
* obj2
= 0 ;
20990 char * kwnames
[] = {
20991 (char *) "self",(char *) "parent",(char *) "style", NULL
20994 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:MDIClientWindow_Create",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
20995 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMDIClientWindow
, 0 | 0 );
20996 if (!SWIG_IsOK(res1
)) {
20997 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MDIClientWindow_Create" "', expected argument " "1"" of type '" "wxMDIClientWindow *""'");
20999 arg1
= reinterpret_cast< wxMDIClientWindow
* >(argp1
);
21000 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxMDIParentFrame
, 0 | 0 );
21001 if (!SWIG_IsOK(res2
)) {
21002 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "MDIClientWindow_Create" "', expected argument " "2"" of type '" "wxMDIParentFrame *""'");
21004 arg2
= reinterpret_cast< wxMDIParentFrame
* >(argp2
);
21006 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
21007 if (!SWIG_IsOK(ecode3
)) {
21008 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "MDIClientWindow_Create" "', expected argument " "3"" of type '" "long""'");
21010 arg3
= static_cast< long >(val3
);
21013 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21014 result
= (bool)(arg1
)->Create(arg2
,arg3
);
21015 wxPyEndAllowThreads(__tstate
);
21016 if (PyErr_Occurred()) SWIG_fail
;
21019 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21027 SWIGINTERN PyObject
*MDIClientWindow_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21029 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
21030 SWIG_TypeNewClientData(SWIGTYPE_p_wxMDIClientWindow
, SWIG_NewClientData(obj
));
21031 return SWIG_Py_Void();
21034 SWIGINTERN PyObject
*MDIClientWindow_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21035 return SWIG_Python_InitShadowInstance(args
);
21038 SWIGINTERN PyObject
*_wrap_new_PyWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21039 PyObject
*resultobj
= 0;
21040 wxWindow
*arg1
= (wxWindow
*) 0 ;
21041 int arg2
= (int) (int)-1 ;
21042 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
21043 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
21044 wxSize
const &arg4_defvalue
= wxDefaultSize
;
21045 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
21046 long arg5
= (long) 0 ;
21047 wxString
const &arg6_defvalue
= wxPyPanelNameStr
;
21048 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
21049 wxPyWindow
*result
= 0 ;
21058 bool temp6
= false ;
21059 PyObject
* obj0
= 0 ;
21060 PyObject
* obj1
= 0 ;
21061 PyObject
* obj2
= 0 ;
21062 PyObject
* obj3
= 0 ;
21063 PyObject
* obj4
= 0 ;
21064 PyObject
* obj5
= 0 ;
21065 char * kwnames
[] = {
21066 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
21069 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_PyWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
21070 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
21071 if (!SWIG_IsOK(res1
)) {
21072 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PyWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
21074 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
21076 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21077 if (!SWIG_IsOK(ecode2
)) {
21078 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_PyWindow" "', expected argument " "2"" of type '" "int""'");
21080 arg2
= static_cast< int >(val2
);
21085 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
21091 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
21095 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
21096 if (!SWIG_IsOK(ecode5
)) {
21097 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_PyWindow" "', expected argument " "5"" of type '" "long""'");
21099 arg5
= static_cast< long >(val5
);
21103 arg6
= wxString_in_helper(obj5
);
21104 if (arg6
== NULL
) SWIG_fail
;
21109 if (!wxPyCheckForApp()) SWIG_fail
;
21110 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21111 result
= (wxPyWindow
*)new wxPyWindow(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
21112 wxPyEndAllowThreads(__tstate
);
21113 if (PyErr_Occurred()) SWIG_fail
;
21115 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyWindow
, SWIG_POINTER_NEW
| 0 );
21130 SWIGINTERN PyObject
*_wrap_new_PrePyWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21131 PyObject
*resultobj
= 0;
21132 wxPyWindow
*result
= 0 ;
21134 if (!SWIG_Python_UnpackTuple(args
,"new_PrePyWindow",0,0,0)) SWIG_fail
;
21136 if (!wxPyCheckForApp()) SWIG_fail
;
21137 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21138 result
= (wxPyWindow
*)new wxPyWindow();
21139 wxPyEndAllowThreads(__tstate
);
21140 if (PyErr_Occurred()) SWIG_fail
;
21142 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyWindow
, SWIG_POINTER_OWN
| 0 );
21149 SWIGINTERN PyObject
*_wrap_PyWindow__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21150 PyObject
*resultobj
= 0;
21151 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
21152 PyObject
*arg2
= (PyObject
*) 0 ;
21153 PyObject
*arg3
= (PyObject
*) 0 ;
21156 PyObject
* obj0
= 0 ;
21157 PyObject
* obj1
= 0 ;
21158 PyObject
* obj2
= 0 ;
21159 char * kwnames
[] = {
21160 (char *) "self",(char *) "self",(char *) "_class", NULL
21163 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyWindow__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
21164 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyWindow
, 0 | 0 );
21165 if (!SWIG_IsOK(res1
)) {
21166 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyWindow__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyWindow *""'");
21168 arg1
= reinterpret_cast< wxPyWindow
* >(argp1
);
21172 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21173 (arg1
)->_setCallbackInfo(arg2
,arg3
);
21174 wxPyEndAllowThreads(__tstate
);
21175 if (PyErr_Occurred()) SWIG_fail
;
21177 resultobj
= SWIG_Py_Void();
21184 SWIGINTERN PyObject
*_wrap_PyWindow_SetBestSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21185 PyObject
*resultobj
= 0;
21186 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
21191 PyObject
* obj0
= 0 ;
21192 PyObject
* obj1
= 0 ;
21193 char * kwnames
[] = {
21194 (char *) "self",(char *) "size", NULL
21197 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyWindow_SetBestSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21198 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyWindow
, 0 | 0 );
21199 if (!SWIG_IsOK(res1
)) {
21200 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyWindow_SetBestSize" "', expected argument " "1"" of type '" "wxPyWindow *""'");
21202 arg1
= reinterpret_cast< wxPyWindow
* >(argp1
);
21205 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
21208 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21209 (arg1
)->SetBestSize((wxSize
const &)*arg2
);
21210 wxPyEndAllowThreads(__tstate
);
21211 if (PyErr_Occurred()) SWIG_fail
;
21213 resultobj
= SWIG_Py_Void();
21220 SWIGINTERN PyObject
*_wrap_PyWindow_DoEraseBackground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21221 PyObject
*resultobj
= 0;
21222 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
21223 wxDC
*arg2
= (wxDC
*) 0 ;
21229 PyObject
* obj0
= 0 ;
21230 PyObject
* obj1
= 0 ;
21231 char * kwnames
[] = {
21232 (char *) "self",(char *) "dc", NULL
21235 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyWindow_DoEraseBackground",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21236 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyWindow
, 0 | 0 );
21237 if (!SWIG_IsOK(res1
)) {
21238 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyWindow_DoEraseBackground" "', expected argument " "1"" of type '" "wxPyWindow *""'");
21240 arg1
= reinterpret_cast< wxPyWindow
* >(argp1
);
21241 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxDC
, 0 | 0 );
21242 if (!SWIG_IsOK(res2
)) {
21243 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PyWindow_DoEraseBackground" "', expected argument " "2"" of type '" "wxDC *""'");
21245 arg2
= reinterpret_cast< wxDC
* >(argp2
);
21247 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21248 result
= (bool)(arg1
)->DoEraseBackground(arg2
);
21249 wxPyEndAllowThreads(__tstate
);
21250 if (PyErr_Occurred()) SWIG_fail
;
21253 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21261 SWIGINTERN PyObject
*_wrap_PyWindow_DoMoveWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21262 PyObject
*resultobj
= 0;
21263 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
21278 PyObject
* obj0
= 0 ;
21279 PyObject
* obj1
= 0 ;
21280 PyObject
* obj2
= 0 ;
21281 PyObject
* obj3
= 0 ;
21282 PyObject
* obj4
= 0 ;
21283 char * kwnames
[] = {
21284 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
21287 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:PyWindow_DoMoveWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
21288 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyWindow
, 0 | 0 );
21289 if (!SWIG_IsOK(res1
)) {
21290 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyWindow_DoMoveWindow" "', expected argument " "1"" of type '" "wxPyWindow *""'");
21292 arg1
= reinterpret_cast< wxPyWindow
* >(argp1
);
21293 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21294 if (!SWIG_IsOK(ecode2
)) {
21295 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PyWindow_DoMoveWindow" "', expected argument " "2"" of type '" "int""'");
21297 arg2
= static_cast< int >(val2
);
21298 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
21299 if (!SWIG_IsOK(ecode3
)) {
21300 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PyWindow_DoMoveWindow" "', expected argument " "3"" of type '" "int""'");
21302 arg3
= static_cast< int >(val3
);
21303 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
21304 if (!SWIG_IsOK(ecode4
)) {
21305 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PyWindow_DoMoveWindow" "', expected argument " "4"" of type '" "int""'");
21307 arg4
= static_cast< int >(val4
);
21308 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
21309 if (!SWIG_IsOK(ecode5
)) {
21310 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PyWindow_DoMoveWindow" "', expected argument " "5"" of type '" "int""'");
21312 arg5
= static_cast< int >(val5
);
21314 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21315 (arg1
)->DoMoveWindow(arg2
,arg3
,arg4
,arg5
);
21316 wxPyEndAllowThreads(__tstate
);
21317 if (PyErr_Occurred()) SWIG_fail
;
21319 resultobj
= SWIG_Py_Void();
21326 SWIGINTERN PyObject
*_wrap_PyWindow_DoSetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21327 PyObject
*resultobj
= 0;
21328 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
21333 int arg6
= (int) wxSIZE_AUTO
;
21346 PyObject
* obj0
= 0 ;
21347 PyObject
* obj1
= 0 ;
21348 PyObject
* obj2
= 0 ;
21349 PyObject
* obj3
= 0 ;
21350 PyObject
* obj4
= 0 ;
21351 PyObject
* obj5
= 0 ;
21352 char * kwnames
[] = {
21353 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
21356 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:PyWindow_DoSetSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
21357 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyWindow
, 0 | 0 );
21358 if (!SWIG_IsOK(res1
)) {
21359 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyWindow_DoSetSize" "', expected argument " "1"" of type '" "wxPyWindow *""'");
21361 arg1
= reinterpret_cast< wxPyWindow
* >(argp1
);
21362 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21363 if (!SWIG_IsOK(ecode2
)) {
21364 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PyWindow_DoSetSize" "', expected argument " "2"" of type '" "int""'");
21366 arg2
= static_cast< int >(val2
);
21367 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
21368 if (!SWIG_IsOK(ecode3
)) {
21369 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PyWindow_DoSetSize" "', expected argument " "3"" of type '" "int""'");
21371 arg3
= static_cast< int >(val3
);
21372 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
21373 if (!SWIG_IsOK(ecode4
)) {
21374 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PyWindow_DoSetSize" "', expected argument " "4"" of type '" "int""'");
21376 arg4
= static_cast< int >(val4
);
21377 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
21378 if (!SWIG_IsOK(ecode5
)) {
21379 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PyWindow_DoSetSize" "', expected argument " "5"" of type '" "int""'");
21381 arg5
= static_cast< int >(val5
);
21383 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
21384 if (!SWIG_IsOK(ecode6
)) {
21385 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "PyWindow_DoSetSize" "', expected argument " "6"" of type '" "int""'");
21387 arg6
= static_cast< int >(val6
);
21390 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21391 (arg1
)->DoSetSize(arg2
,arg3
,arg4
,arg5
,arg6
);
21392 wxPyEndAllowThreads(__tstate
);
21393 if (PyErr_Occurred()) SWIG_fail
;
21395 resultobj
= SWIG_Py_Void();
21402 SWIGINTERN PyObject
*_wrap_PyWindow_DoSetClientSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21403 PyObject
*resultobj
= 0;
21404 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
21413 PyObject
* obj0
= 0 ;
21414 PyObject
* obj1
= 0 ;
21415 PyObject
* obj2
= 0 ;
21416 char * kwnames
[] = {
21417 (char *) "self",(char *) "width",(char *) "height", NULL
21420 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyWindow_DoSetClientSize",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
21421 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyWindow
, 0 | 0 );
21422 if (!SWIG_IsOK(res1
)) {
21423 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyWindow_DoSetClientSize" "', expected argument " "1"" of type '" "wxPyWindow *""'");
21425 arg1
= reinterpret_cast< wxPyWindow
* >(argp1
);
21426 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21427 if (!SWIG_IsOK(ecode2
)) {
21428 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PyWindow_DoSetClientSize" "', expected argument " "2"" of type '" "int""'");
21430 arg2
= static_cast< int >(val2
);
21431 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
21432 if (!SWIG_IsOK(ecode3
)) {
21433 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PyWindow_DoSetClientSize" "', expected argument " "3"" of type '" "int""'");
21435 arg3
= static_cast< int >(val3
);
21437 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21438 (arg1
)->DoSetClientSize(arg2
,arg3
);
21439 wxPyEndAllowThreads(__tstate
);
21440 if (PyErr_Occurred()) SWIG_fail
;
21442 resultobj
= SWIG_Py_Void();
21449 SWIGINTERN PyObject
*_wrap_PyWindow_DoSetVirtualSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21450 PyObject
*resultobj
= 0;
21451 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
21460 PyObject
* obj0
= 0 ;
21461 PyObject
* obj1
= 0 ;
21462 PyObject
* obj2
= 0 ;
21463 char * kwnames
[] = {
21464 (char *) "self",(char *) "x",(char *) "y", NULL
21467 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyWindow_DoSetVirtualSize",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
21468 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyWindow
, 0 | 0 );
21469 if (!SWIG_IsOK(res1
)) {
21470 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyWindow_DoSetVirtualSize" "', expected argument " "1"" of type '" "wxPyWindow *""'");
21472 arg1
= reinterpret_cast< wxPyWindow
* >(argp1
);
21473 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21474 if (!SWIG_IsOK(ecode2
)) {
21475 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PyWindow_DoSetVirtualSize" "', expected argument " "2"" of type '" "int""'");
21477 arg2
= static_cast< int >(val2
);
21478 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
21479 if (!SWIG_IsOK(ecode3
)) {
21480 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PyWindow_DoSetVirtualSize" "', expected argument " "3"" of type '" "int""'");
21482 arg3
= static_cast< int >(val3
);
21484 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21485 (arg1
)->DoSetVirtualSize(arg2
,arg3
);
21486 wxPyEndAllowThreads(__tstate
);
21487 if (PyErr_Occurred()) SWIG_fail
;
21489 resultobj
= SWIG_Py_Void();
21496 SWIGINTERN PyObject
*_wrap_PyWindow_DoGetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21497 PyObject
*resultobj
= 0;
21498 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
21499 int *arg2
= (int *) 0 ;
21500 int *arg3
= (int *) 0 ;
21504 int res2
= SWIG_TMPOBJ
;
21506 int res3
= SWIG_TMPOBJ
;
21507 PyObject
*swig_obj
[1] ;
21511 if (!args
) SWIG_fail
;
21512 swig_obj
[0] = args
;
21513 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyWindow
, 0 | 0 );
21514 if (!SWIG_IsOK(res1
)) {
21515 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyWindow_DoGetSize" "', expected argument " "1"" of type '" "wxPyWindow const *""'");
21517 arg1
= reinterpret_cast< wxPyWindow
* >(argp1
);
21519 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21520 ((wxPyWindow
const *)arg1
)->DoGetSize(arg2
,arg3
);
21521 wxPyEndAllowThreads(__tstate
);
21522 if (PyErr_Occurred()) SWIG_fail
;
21524 resultobj
= SWIG_Py_Void();
21525 if (SWIG_IsTmpObj(res2
)) {
21526 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
21528 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
21529 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
21531 if (SWIG_IsTmpObj(res3
)) {
21532 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
21534 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
21535 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
21543 SWIGINTERN PyObject
*_wrap_PyWindow_DoGetClientSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21544 PyObject
*resultobj
= 0;
21545 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
21546 int *arg2
= (int *) 0 ;
21547 int *arg3
= (int *) 0 ;
21551 int res2
= SWIG_TMPOBJ
;
21553 int res3
= SWIG_TMPOBJ
;
21554 PyObject
*swig_obj
[1] ;
21558 if (!args
) SWIG_fail
;
21559 swig_obj
[0] = args
;
21560 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyWindow
, 0 | 0 );
21561 if (!SWIG_IsOK(res1
)) {
21562 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyWindow_DoGetClientSize" "', expected argument " "1"" of type '" "wxPyWindow const *""'");
21564 arg1
= reinterpret_cast< wxPyWindow
* >(argp1
);
21566 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21567 ((wxPyWindow
const *)arg1
)->DoGetClientSize(arg2
,arg3
);
21568 wxPyEndAllowThreads(__tstate
);
21569 if (PyErr_Occurred()) SWIG_fail
;
21571 resultobj
= SWIG_Py_Void();
21572 if (SWIG_IsTmpObj(res2
)) {
21573 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
21575 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
21576 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
21578 if (SWIG_IsTmpObj(res3
)) {
21579 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
21581 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
21582 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
21590 SWIGINTERN PyObject
*_wrap_PyWindow_DoGetPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21591 PyObject
*resultobj
= 0;
21592 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
21593 int *arg2
= (int *) 0 ;
21594 int *arg3
= (int *) 0 ;
21598 int res2
= SWIG_TMPOBJ
;
21600 int res3
= SWIG_TMPOBJ
;
21601 PyObject
*swig_obj
[1] ;
21605 if (!args
) SWIG_fail
;
21606 swig_obj
[0] = args
;
21607 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyWindow
, 0 | 0 );
21608 if (!SWIG_IsOK(res1
)) {
21609 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyWindow_DoGetPosition" "', expected argument " "1"" of type '" "wxPyWindow const *""'");
21611 arg1
= reinterpret_cast< wxPyWindow
* >(argp1
);
21613 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21614 ((wxPyWindow
const *)arg1
)->DoGetPosition(arg2
,arg3
);
21615 wxPyEndAllowThreads(__tstate
);
21616 if (PyErr_Occurred()) SWIG_fail
;
21618 resultobj
= SWIG_Py_Void();
21619 if (SWIG_IsTmpObj(res2
)) {
21620 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
21622 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
21623 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
21625 if (SWIG_IsTmpObj(res3
)) {
21626 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
21628 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
21629 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
21637 SWIGINTERN PyObject
*_wrap_PyWindow_DoGetVirtualSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21638 PyObject
*resultobj
= 0;
21639 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
21643 PyObject
*swig_obj
[1] ;
21645 if (!args
) SWIG_fail
;
21646 swig_obj
[0] = args
;
21647 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyWindow
, 0 | 0 );
21648 if (!SWIG_IsOK(res1
)) {
21649 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyWindow_DoGetVirtualSize" "', expected argument " "1"" of type '" "wxPyWindow const *""'");
21651 arg1
= reinterpret_cast< wxPyWindow
* >(argp1
);
21653 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21654 result
= ((wxPyWindow
const *)arg1
)->DoGetVirtualSize();
21655 wxPyEndAllowThreads(__tstate
);
21656 if (PyErr_Occurred()) SWIG_fail
;
21658 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
21665 SWIGINTERN PyObject
*_wrap_PyWindow_DoGetBestSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21666 PyObject
*resultobj
= 0;
21667 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
21671 PyObject
*swig_obj
[1] ;
21673 if (!args
) SWIG_fail
;
21674 swig_obj
[0] = args
;
21675 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyWindow
, 0 | 0 );
21676 if (!SWIG_IsOK(res1
)) {
21677 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyWindow_DoGetBestSize" "', expected argument " "1"" of type '" "wxPyWindow const *""'");
21679 arg1
= reinterpret_cast< wxPyWindow
* >(argp1
);
21681 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21682 result
= ((wxPyWindow
const *)arg1
)->DoGetBestSize();
21683 wxPyEndAllowThreads(__tstate
);
21684 if (PyErr_Occurred()) SWIG_fail
;
21686 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
21693 SWIGINTERN PyObject
*_wrap_PyWindow_GetDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21694 PyObject
*resultobj
= 0;
21695 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
21696 SwigValueWrapper
<wxVisualAttributes
> result
;
21699 PyObject
*swig_obj
[1] ;
21701 if (!args
) SWIG_fail
;
21702 swig_obj
[0] = args
;
21703 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyWindow
, 0 | 0 );
21704 if (!SWIG_IsOK(res1
)) {
21705 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyWindow_GetDefaultAttributes" "', expected argument " "1"" of type '" "wxPyWindow *""'");
21707 arg1
= reinterpret_cast< wxPyWindow
* >(argp1
);
21709 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21710 result
= (arg1
)->GetDefaultAttributes();
21711 wxPyEndAllowThreads(__tstate
);
21712 if (PyErr_Occurred()) SWIG_fail
;
21714 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
21721 SWIGINTERN PyObject
*_wrap_PyWindow_OnInternalIdle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21722 PyObject
*resultobj
= 0;
21723 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
21726 PyObject
*swig_obj
[1] ;
21728 if (!args
) SWIG_fail
;
21729 swig_obj
[0] = args
;
21730 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyWindow
, 0 | 0 );
21731 if (!SWIG_IsOK(res1
)) {
21732 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyWindow_OnInternalIdle" "', expected argument " "1"" of type '" "wxPyWindow *""'");
21734 arg1
= reinterpret_cast< wxPyWindow
* >(argp1
);
21736 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21737 (arg1
)->OnInternalIdle();
21738 wxPyEndAllowThreads(__tstate
);
21739 if (PyErr_Occurred()) SWIG_fail
;
21741 resultobj
= SWIG_Py_Void();
21748 SWIGINTERN PyObject
*PyWindow_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21750 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
21751 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyWindow
, SWIG_NewClientData(obj
));
21752 return SWIG_Py_Void();
21755 SWIGINTERN PyObject
*PyWindow_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21756 return SWIG_Python_InitShadowInstance(args
);
21759 SWIGINTERN PyObject
*_wrap_new_PyPanel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21760 PyObject
*resultobj
= 0;
21761 wxWindow
*arg1
= (wxWindow
*) 0 ;
21762 int arg2
= (int) (int)-1 ;
21763 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
21764 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
21765 wxSize
const &arg4_defvalue
= wxDefaultSize
;
21766 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
21767 long arg5
= (long) 0 ;
21768 wxString
const &arg6_defvalue
= wxPyPanelNameStr
;
21769 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
21770 wxPyPanel
*result
= 0 ;
21779 bool temp6
= false ;
21780 PyObject
* obj0
= 0 ;
21781 PyObject
* obj1
= 0 ;
21782 PyObject
* obj2
= 0 ;
21783 PyObject
* obj3
= 0 ;
21784 PyObject
* obj4
= 0 ;
21785 PyObject
* obj5
= 0 ;
21786 char * kwnames
[] = {
21787 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
21790 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_PyPanel",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
21791 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
21792 if (!SWIG_IsOK(res1
)) {
21793 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PyPanel" "', expected argument " "1"" of type '" "wxWindow *""'");
21795 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
21797 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21798 if (!SWIG_IsOK(ecode2
)) {
21799 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_PyPanel" "', expected argument " "2"" of type '" "int""'");
21801 arg2
= static_cast< int >(val2
);
21806 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
21812 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
21816 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
21817 if (!SWIG_IsOK(ecode5
)) {
21818 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_PyPanel" "', expected argument " "5"" of type '" "long""'");
21820 arg5
= static_cast< long >(val5
);
21824 arg6
= wxString_in_helper(obj5
);
21825 if (arg6
== NULL
) SWIG_fail
;
21830 if (!wxPyCheckForApp()) SWIG_fail
;
21831 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21832 result
= (wxPyPanel
*)new wxPyPanel(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
21833 wxPyEndAllowThreads(__tstate
);
21834 if (PyErr_Occurred()) SWIG_fail
;
21836 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyPanel
, SWIG_POINTER_NEW
| 0 );
21851 SWIGINTERN PyObject
*_wrap_new_PrePyPanel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21852 PyObject
*resultobj
= 0;
21853 wxPyPanel
*result
= 0 ;
21855 if (!SWIG_Python_UnpackTuple(args
,"new_PrePyPanel",0,0,0)) SWIG_fail
;
21857 if (!wxPyCheckForApp()) SWIG_fail
;
21858 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21859 result
= (wxPyPanel
*)new wxPyPanel();
21860 wxPyEndAllowThreads(__tstate
);
21861 if (PyErr_Occurred()) SWIG_fail
;
21863 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyPanel
, SWIG_POINTER_OWN
| 0 );
21870 SWIGINTERN PyObject
*_wrap_PyPanel__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21871 PyObject
*resultobj
= 0;
21872 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
21873 PyObject
*arg2
= (PyObject
*) 0 ;
21874 PyObject
*arg3
= (PyObject
*) 0 ;
21877 PyObject
* obj0
= 0 ;
21878 PyObject
* obj1
= 0 ;
21879 PyObject
* obj2
= 0 ;
21880 char * kwnames
[] = {
21881 (char *) "self",(char *) "self",(char *) "_class", NULL
21884 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyPanel__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
21885 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPanel
, 0 | 0 );
21886 if (!SWIG_IsOK(res1
)) {
21887 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPanel__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyPanel *""'");
21889 arg1
= reinterpret_cast< wxPyPanel
* >(argp1
);
21893 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21894 (arg1
)->_setCallbackInfo(arg2
,arg3
);
21895 wxPyEndAllowThreads(__tstate
);
21896 if (PyErr_Occurred()) SWIG_fail
;
21898 resultobj
= SWIG_Py_Void();
21905 SWIGINTERN PyObject
*_wrap_PyPanel_SetBestSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21906 PyObject
*resultobj
= 0;
21907 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
21912 PyObject
* obj0
= 0 ;
21913 PyObject
* obj1
= 0 ;
21914 char * kwnames
[] = {
21915 (char *) "self",(char *) "size", NULL
21918 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPanel_SetBestSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21919 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPanel
, 0 | 0 );
21920 if (!SWIG_IsOK(res1
)) {
21921 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPanel_SetBestSize" "', expected argument " "1"" of type '" "wxPyPanel *""'");
21923 arg1
= reinterpret_cast< wxPyPanel
* >(argp1
);
21926 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
21929 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21930 (arg1
)->SetBestSize((wxSize
const &)*arg2
);
21931 wxPyEndAllowThreads(__tstate
);
21932 if (PyErr_Occurred()) SWIG_fail
;
21934 resultobj
= SWIG_Py_Void();
21941 SWIGINTERN PyObject
*_wrap_PyPanel_DoEraseBackground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21942 PyObject
*resultobj
= 0;
21943 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
21944 wxDC
*arg2
= (wxDC
*) 0 ;
21950 PyObject
* obj0
= 0 ;
21951 PyObject
* obj1
= 0 ;
21952 char * kwnames
[] = {
21953 (char *) "self",(char *) "dc", NULL
21956 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPanel_DoEraseBackground",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21957 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPanel
, 0 | 0 );
21958 if (!SWIG_IsOK(res1
)) {
21959 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPanel_DoEraseBackground" "', expected argument " "1"" of type '" "wxPyPanel *""'");
21961 arg1
= reinterpret_cast< wxPyPanel
* >(argp1
);
21962 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxDC
, 0 | 0 );
21963 if (!SWIG_IsOK(res2
)) {
21964 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PyPanel_DoEraseBackground" "', expected argument " "2"" of type '" "wxDC *""'");
21966 arg2
= reinterpret_cast< wxDC
* >(argp2
);
21968 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21969 result
= (bool)(arg1
)->DoEraseBackground(arg2
);
21970 wxPyEndAllowThreads(__tstate
);
21971 if (PyErr_Occurred()) SWIG_fail
;
21974 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21982 SWIGINTERN PyObject
*_wrap_PyPanel_DoMoveWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21983 PyObject
*resultobj
= 0;
21984 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
21999 PyObject
* obj0
= 0 ;
22000 PyObject
* obj1
= 0 ;
22001 PyObject
* obj2
= 0 ;
22002 PyObject
* obj3
= 0 ;
22003 PyObject
* obj4
= 0 ;
22004 char * kwnames
[] = {
22005 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
22008 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:PyPanel_DoMoveWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
22009 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPanel
, 0 | 0 );
22010 if (!SWIG_IsOK(res1
)) {
22011 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPanel_DoMoveWindow" "', expected argument " "1"" of type '" "wxPyPanel *""'");
22013 arg1
= reinterpret_cast< wxPyPanel
* >(argp1
);
22014 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22015 if (!SWIG_IsOK(ecode2
)) {
22016 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PyPanel_DoMoveWindow" "', expected argument " "2"" of type '" "int""'");
22018 arg2
= static_cast< int >(val2
);
22019 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
22020 if (!SWIG_IsOK(ecode3
)) {
22021 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PyPanel_DoMoveWindow" "', expected argument " "3"" of type '" "int""'");
22023 arg3
= static_cast< int >(val3
);
22024 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
22025 if (!SWIG_IsOK(ecode4
)) {
22026 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PyPanel_DoMoveWindow" "', expected argument " "4"" of type '" "int""'");
22028 arg4
= static_cast< int >(val4
);
22029 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
22030 if (!SWIG_IsOK(ecode5
)) {
22031 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PyPanel_DoMoveWindow" "', expected argument " "5"" of type '" "int""'");
22033 arg5
= static_cast< int >(val5
);
22035 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22036 (arg1
)->DoMoveWindow(arg2
,arg3
,arg4
,arg5
);
22037 wxPyEndAllowThreads(__tstate
);
22038 if (PyErr_Occurred()) SWIG_fail
;
22040 resultobj
= SWIG_Py_Void();
22047 SWIGINTERN PyObject
*_wrap_PyPanel_DoSetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22048 PyObject
*resultobj
= 0;
22049 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
22054 int arg6
= (int) wxSIZE_AUTO
;
22067 PyObject
* obj0
= 0 ;
22068 PyObject
* obj1
= 0 ;
22069 PyObject
* obj2
= 0 ;
22070 PyObject
* obj3
= 0 ;
22071 PyObject
* obj4
= 0 ;
22072 PyObject
* obj5
= 0 ;
22073 char * kwnames
[] = {
22074 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
22077 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:PyPanel_DoSetSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
22078 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPanel
, 0 | 0 );
22079 if (!SWIG_IsOK(res1
)) {
22080 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPanel_DoSetSize" "', expected argument " "1"" of type '" "wxPyPanel *""'");
22082 arg1
= reinterpret_cast< wxPyPanel
* >(argp1
);
22083 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22084 if (!SWIG_IsOK(ecode2
)) {
22085 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PyPanel_DoSetSize" "', expected argument " "2"" of type '" "int""'");
22087 arg2
= static_cast< int >(val2
);
22088 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
22089 if (!SWIG_IsOK(ecode3
)) {
22090 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PyPanel_DoSetSize" "', expected argument " "3"" of type '" "int""'");
22092 arg3
= static_cast< int >(val3
);
22093 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
22094 if (!SWIG_IsOK(ecode4
)) {
22095 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PyPanel_DoSetSize" "', expected argument " "4"" of type '" "int""'");
22097 arg4
= static_cast< int >(val4
);
22098 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
22099 if (!SWIG_IsOK(ecode5
)) {
22100 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PyPanel_DoSetSize" "', expected argument " "5"" of type '" "int""'");
22102 arg5
= static_cast< int >(val5
);
22104 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
22105 if (!SWIG_IsOK(ecode6
)) {
22106 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "PyPanel_DoSetSize" "', expected argument " "6"" of type '" "int""'");
22108 arg6
= static_cast< int >(val6
);
22111 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22112 (arg1
)->DoSetSize(arg2
,arg3
,arg4
,arg5
,arg6
);
22113 wxPyEndAllowThreads(__tstate
);
22114 if (PyErr_Occurred()) SWIG_fail
;
22116 resultobj
= SWIG_Py_Void();
22123 SWIGINTERN PyObject
*_wrap_PyPanel_DoSetClientSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22124 PyObject
*resultobj
= 0;
22125 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
22134 PyObject
* obj0
= 0 ;
22135 PyObject
* obj1
= 0 ;
22136 PyObject
* obj2
= 0 ;
22137 char * kwnames
[] = {
22138 (char *) "self",(char *) "width",(char *) "height", NULL
22141 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyPanel_DoSetClientSize",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
22142 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPanel
, 0 | 0 );
22143 if (!SWIG_IsOK(res1
)) {
22144 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPanel_DoSetClientSize" "', expected argument " "1"" of type '" "wxPyPanel *""'");
22146 arg1
= reinterpret_cast< wxPyPanel
* >(argp1
);
22147 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22148 if (!SWIG_IsOK(ecode2
)) {
22149 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PyPanel_DoSetClientSize" "', expected argument " "2"" of type '" "int""'");
22151 arg2
= static_cast< int >(val2
);
22152 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
22153 if (!SWIG_IsOK(ecode3
)) {
22154 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PyPanel_DoSetClientSize" "', expected argument " "3"" of type '" "int""'");
22156 arg3
= static_cast< int >(val3
);
22158 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22159 (arg1
)->DoSetClientSize(arg2
,arg3
);
22160 wxPyEndAllowThreads(__tstate
);
22161 if (PyErr_Occurred()) SWIG_fail
;
22163 resultobj
= SWIG_Py_Void();
22170 SWIGINTERN PyObject
*_wrap_PyPanel_DoSetVirtualSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22171 PyObject
*resultobj
= 0;
22172 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
22181 PyObject
* obj0
= 0 ;
22182 PyObject
* obj1
= 0 ;
22183 PyObject
* obj2
= 0 ;
22184 char * kwnames
[] = {
22185 (char *) "self",(char *) "x",(char *) "y", NULL
22188 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyPanel_DoSetVirtualSize",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
22189 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPanel
, 0 | 0 );
22190 if (!SWIG_IsOK(res1
)) {
22191 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPanel_DoSetVirtualSize" "', expected argument " "1"" of type '" "wxPyPanel *""'");
22193 arg1
= reinterpret_cast< wxPyPanel
* >(argp1
);
22194 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22195 if (!SWIG_IsOK(ecode2
)) {
22196 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PyPanel_DoSetVirtualSize" "', expected argument " "2"" of type '" "int""'");
22198 arg2
= static_cast< int >(val2
);
22199 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
22200 if (!SWIG_IsOK(ecode3
)) {
22201 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PyPanel_DoSetVirtualSize" "', expected argument " "3"" of type '" "int""'");
22203 arg3
= static_cast< int >(val3
);
22205 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22206 (arg1
)->DoSetVirtualSize(arg2
,arg3
);
22207 wxPyEndAllowThreads(__tstate
);
22208 if (PyErr_Occurred()) SWIG_fail
;
22210 resultobj
= SWIG_Py_Void();
22217 SWIGINTERN PyObject
*_wrap_PyPanel_DoGetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22218 PyObject
*resultobj
= 0;
22219 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
22220 int *arg2
= (int *) 0 ;
22221 int *arg3
= (int *) 0 ;
22225 int res2
= SWIG_TMPOBJ
;
22227 int res3
= SWIG_TMPOBJ
;
22228 PyObject
*swig_obj
[1] ;
22232 if (!args
) SWIG_fail
;
22233 swig_obj
[0] = args
;
22234 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPanel
, 0 | 0 );
22235 if (!SWIG_IsOK(res1
)) {
22236 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPanel_DoGetSize" "', expected argument " "1"" of type '" "wxPyPanel const *""'");
22238 arg1
= reinterpret_cast< wxPyPanel
* >(argp1
);
22240 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22241 ((wxPyPanel
const *)arg1
)->DoGetSize(arg2
,arg3
);
22242 wxPyEndAllowThreads(__tstate
);
22243 if (PyErr_Occurred()) SWIG_fail
;
22245 resultobj
= SWIG_Py_Void();
22246 if (SWIG_IsTmpObj(res2
)) {
22247 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
22249 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
22250 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
22252 if (SWIG_IsTmpObj(res3
)) {
22253 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
22255 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
22256 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
22264 SWIGINTERN PyObject
*_wrap_PyPanel_DoGetClientSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22265 PyObject
*resultobj
= 0;
22266 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
22267 int *arg2
= (int *) 0 ;
22268 int *arg3
= (int *) 0 ;
22272 int res2
= SWIG_TMPOBJ
;
22274 int res3
= SWIG_TMPOBJ
;
22275 PyObject
*swig_obj
[1] ;
22279 if (!args
) SWIG_fail
;
22280 swig_obj
[0] = args
;
22281 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPanel
, 0 | 0 );
22282 if (!SWIG_IsOK(res1
)) {
22283 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPanel_DoGetClientSize" "', expected argument " "1"" of type '" "wxPyPanel const *""'");
22285 arg1
= reinterpret_cast< wxPyPanel
* >(argp1
);
22287 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22288 ((wxPyPanel
const *)arg1
)->DoGetClientSize(arg2
,arg3
);
22289 wxPyEndAllowThreads(__tstate
);
22290 if (PyErr_Occurred()) SWIG_fail
;
22292 resultobj
= SWIG_Py_Void();
22293 if (SWIG_IsTmpObj(res2
)) {
22294 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
22296 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
22297 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
22299 if (SWIG_IsTmpObj(res3
)) {
22300 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
22302 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
22303 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
22311 SWIGINTERN PyObject
*_wrap_PyPanel_DoGetPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22312 PyObject
*resultobj
= 0;
22313 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
22314 int *arg2
= (int *) 0 ;
22315 int *arg3
= (int *) 0 ;
22319 int res2
= SWIG_TMPOBJ
;
22321 int res3
= SWIG_TMPOBJ
;
22322 PyObject
*swig_obj
[1] ;
22326 if (!args
) SWIG_fail
;
22327 swig_obj
[0] = args
;
22328 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPanel
, 0 | 0 );
22329 if (!SWIG_IsOK(res1
)) {
22330 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPanel_DoGetPosition" "', expected argument " "1"" of type '" "wxPyPanel const *""'");
22332 arg1
= reinterpret_cast< wxPyPanel
* >(argp1
);
22334 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22335 ((wxPyPanel
const *)arg1
)->DoGetPosition(arg2
,arg3
);
22336 wxPyEndAllowThreads(__tstate
);
22337 if (PyErr_Occurred()) SWIG_fail
;
22339 resultobj
= SWIG_Py_Void();
22340 if (SWIG_IsTmpObj(res2
)) {
22341 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
22343 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
22344 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
22346 if (SWIG_IsTmpObj(res3
)) {
22347 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
22349 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
22350 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
22358 SWIGINTERN PyObject
*_wrap_PyPanel_DoGetVirtualSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22359 PyObject
*resultobj
= 0;
22360 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
22364 PyObject
*swig_obj
[1] ;
22366 if (!args
) SWIG_fail
;
22367 swig_obj
[0] = args
;
22368 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPanel
, 0 | 0 );
22369 if (!SWIG_IsOK(res1
)) {
22370 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPanel_DoGetVirtualSize" "', expected argument " "1"" of type '" "wxPyPanel const *""'");
22372 arg1
= reinterpret_cast< wxPyPanel
* >(argp1
);
22374 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22375 result
= ((wxPyPanel
const *)arg1
)->DoGetVirtualSize();
22376 wxPyEndAllowThreads(__tstate
);
22377 if (PyErr_Occurred()) SWIG_fail
;
22379 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
22386 SWIGINTERN PyObject
*_wrap_PyPanel_DoGetBestSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22387 PyObject
*resultobj
= 0;
22388 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
22392 PyObject
*swig_obj
[1] ;
22394 if (!args
) SWIG_fail
;
22395 swig_obj
[0] = args
;
22396 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPanel
, 0 | 0 );
22397 if (!SWIG_IsOK(res1
)) {
22398 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPanel_DoGetBestSize" "', expected argument " "1"" of type '" "wxPyPanel const *""'");
22400 arg1
= reinterpret_cast< wxPyPanel
* >(argp1
);
22402 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22403 result
= ((wxPyPanel
const *)arg1
)->DoGetBestSize();
22404 wxPyEndAllowThreads(__tstate
);
22405 if (PyErr_Occurred()) SWIG_fail
;
22407 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
22414 SWIGINTERN PyObject
*_wrap_PyPanel_GetDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22415 PyObject
*resultobj
= 0;
22416 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
22417 SwigValueWrapper
<wxVisualAttributes
> result
;
22420 PyObject
*swig_obj
[1] ;
22422 if (!args
) SWIG_fail
;
22423 swig_obj
[0] = args
;
22424 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPanel
, 0 | 0 );
22425 if (!SWIG_IsOK(res1
)) {
22426 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPanel_GetDefaultAttributes" "', expected argument " "1"" of type '" "wxPyPanel *""'");
22428 arg1
= reinterpret_cast< wxPyPanel
* >(argp1
);
22430 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22431 result
= (arg1
)->GetDefaultAttributes();
22432 wxPyEndAllowThreads(__tstate
);
22433 if (PyErr_Occurred()) SWIG_fail
;
22435 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
22442 SWIGINTERN PyObject
*_wrap_PyPanel_OnInternalIdle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22443 PyObject
*resultobj
= 0;
22444 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
22447 PyObject
*swig_obj
[1] ;
22449 if (!args
) SWIG_fail
;
22450 swig_obj
[0] = args
;
22451 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPanel
, 0 | 0 );
22452 if (!SWIG_IsOK(res1
)) {
22453 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPanel_OnInternalIdle" "', expected argument " "1"" of type '" "wxPyPanel *""'");
22455 arg1
= reinterpret_cast< wxPyPanel
* >(argp1
);
22457 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22458 (arg1
)->OnInternalIdle();
22459 wxPyEndAllowThreads(__tstate
);
22460 if (PyErr_Occurred()) SWIG_fail
;
22462 resultobj
= SWIG_Py_Void();
22469 SWIGINTERN PyObject
*PyPanel_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22471 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
22472 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyPanel
, SWIG_NewClientData(obj
));
22473 return SWIG_Py_Void();
22476 SWIGINTERN PyObject
*PyPanel_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22477 return SWIG_Python_InitShadowInstance(args
);
22480 SWIGINTERN PyObject
*_wrap_new_PyScrolledWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22481 PyObject
*resultobj
= 0;
22482 wxWindow
*arg1
= (wxWindow
*) 0 ;
22483 int arg2
= (int) (int)-1 ;
22484 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
22485 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
22486 wxSize
const &arg4_defvalue
= wxDefaultSize
;
22487 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
22488 long arg5
= (long) 0 ;
22489 wxString
const &arg6_defvalue
= wxPyPanelNameStr
;
22490 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
22491 wxPyScrolledWindow
*result
= 0 ;
22500 bool temp6
= false ;
22501 PyObject
* obj0
= 0 ;
22502 PyObject
* obj1
= 0 ;
22503 PyObject
* obj2
= 0 ;
22504 PyObject
* obj3
= 0 ;
22505 PyObject
* obj4
= 0 ;
22506 PyObject
* obj5
= 0 ;
22507 char * kwnames
[] = {
22508 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
22511 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_PyScrolledWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
22512 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
22513 if (!SWIG_IsOK(res1
)) {
22514 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PyScrolledWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
22516 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
22518 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22519 if (!SWIG_IsOK(ecode2
)) {
22520 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_PyScrolledWindow" "', expected argument " "2"" of type '" "int""'");
22522 arg2
= static_cast< int >(val2
);
22527 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
22533 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
22537 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
22538 if (!SWIG_IsOK(ecode5
)) {
22539 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_PyScrolledWindow" "', expected argument " "5"" of type '" "long""'");
22541 arg5
= static_cast< long >(val5
);
22545 arg6
= wxString_in_helper(obj5
);
22546 if (arg6
== NULL
) SWIG_fail
;
22551 if (!wxPyCheckForApp()) SWIG_fail
;
22552 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22553 result
= (wxPyScrolledWindow
*)new wxPyScrolledWindow(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
22554 wxPyEndAllowThreads(__tstate
);
22555 if (PyErr_Occurred()) SWIG_fail
;
22557 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyScrolledWindow
, SWIG_POINTER_NEW
| 0 );
22572 SWIGINTERN PyObject
*_wrap_new_PrePyScrolledWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22573 PyObject
*resultobj
= 0;
22574 wxPyScrolledWindow
*result
= 0 ;
22576 if (!SWIG_Python_UnpackTuple(args
,"new_PrePyScrolledWindow",0,0,0)) SWIG_fail
;
22578 if (!wxPyCheckForApp()) SWIG_fail
;
22579 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22580 result
= (wxPyScrolledWindow
*)new wxPyScrolledWindow();
22581 wxPyEndAllowThreads(__tstate
);
22582 if (PyErr_Occurred()) SWIG_fail
;
22584 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyScrolledWindow
, SWIG_POINTER_OWN
| 0 );
22591 SWIGINTERN PyObject
*_wrap_PyScrolledWindow__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22592 PyObject
*resultobj
= 0;
22593 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
22594 PyObject
*arg2
= (PyObject
*) 0 ;
22595 PyObject
*arg3
= (PyObject
*) 0 ;
22598 PyObject
* obj0
= 0 ;
22599 PyObject
* obj1
= 0 ;
22600 PyObject
* obj2
= 0 ;
22601 char * kwnames
[] = {
22602 (char *) "self",(char *) "self",(char *) "_class", NULL
22605 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyScrolledWindow__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
22606 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyScrolledWindow
, 0 | 0 );
22607 if (!SWIG_IsOK(res1
)) {
22608 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyScrolledWindow__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyScrolledWindow *""'");
22610 arg1
= reinterpret_cast< wxPyScrolledWindow
* >(argp1
);
22614 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22615 (arg1
)->_setCallbackInfo(arg2
,arg3
);
22616 wxPyEndAllowThreads(__tstate
);
22617 if (PyErr_Occurred()) SWIG_fail
;
22619 resultobj
= SWIG_Py_Void();
22626 SWIGINTERN PyObject
*_wrap_PyScrolledWindow_SetBestSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22627 PyObject
*resultobj
= 0;
22628 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
22633 PyObject
* obj0
= 0 ;
22634 PyObject
* obj1
= 0 ;
22635 char * kwnames
[] = {
22636 (char *) "self",(char *) "size", NULL
22639 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyScrolledWindow_SetBestSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22640 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyScrolledWindow
, 0 | 0 );
22641 if (!SWIG_IsOK(res1
)) {
22642 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyScrolledWindow_SetBestSize" "', expected argument " "1"" of type '" "wxPyScrolledWindow *""'");
22644 arg1
= reinterpret_cast< wxPyScrolledWindow
* >(argp1
);
22647 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
22650 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22651 (arg1
)->SetBestSize((wxSize
const &)*arg2
);
22652 wxPyEndAllowThreads(__tstate
);
22653 if (PyErr_Occurred()) SWIG_fail
;
22655 resultobj
= SWIG_Py_Void();
22662 SWIGINTERN PyObject
*_wrap_PyScrolledWindow_DoEraseBackground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22663 PyObject
*resultobj
= 0;
22664 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
22665 wxDC
*arg2
= (wxDC
*) 0 ;
22671 PyObject
* obj0
= 0 ;
22672 PyObject
* obj1
= 0 ;
22673 char * kwnames
[] = {
22674 (char *) "self",(char *) "dc", NULL
22677 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyScrolledWindow_DoEraseBackground",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22678 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyScrolledWindow
, 0 | 0 );
22679 if (!SWIG_IsOK(res1
)) {
22680 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyScrolledWindow_DoEraseBackground" "', expected argument " "1"" of type '" "wxPyScrolledWindow *""'");
22682 arg1
= reinterpret_cast< wxPyScrolledWindow
* >(argp1
);
22683 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxDC
, 0 | 0 );
22684 if (!SWIG_IsOK(res2
)) {
22685 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PyScrolledWindow_DoEraseBackground" "', expected argument " "2"" of type '" "wxDC *""'");
22687 arg2
= reinterpret_cast< wxDC
* >(argp2
);
22689 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22690 result
= (bool)(arg1
)->DoEraseBackground(arg2
);
22691 wxPyEndAllowThreads(__tstate
);
22692 if (PyErr_Occurred()) SWIG_fail
;
22695 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22703 SWIGINTERN PyObject
*_wrap_PyScrolledWindow_DoMoveWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22704 PyObject
*resultobj
= 0;
22705 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
22720 PyObject
* obj0
= 0 ;
22721 PyObject
* obj1
= 0 ;
22722 PyObject
* obj2
= 0 ;
22723 PyObject
* obj3
= 0 ;
22724 PyObject
* obj4
= 0 ;
22725 char * kwnames
[] = {
22726 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
22729 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:PyScrolledWindow_DoMoveWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
22730 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyScrolledWindow
, 0 | 0 );
22731 if (!SWIG_IsOK(res1
)) {
22732 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyScrolledWindow_DoMoveWindow" "', expected argument " "1"" of type '" "wxPyScrolledWindow *""'");
22734 arg1
= reinterpret_cast< wxPyScrolledWindow
* >(argp1
);
22735 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22736 if (!SWIG_IsOK(ecode2
)) {
22737 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PyScrolledWindow_DoMoveWindow" "', expected argument " "2"" of type '" "int""'");
22739 arg2
= static_cast< int >(val2
);
22740 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
22741 if (!SWIG_IsOK(ecode3
)) {
22742 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PyScrolledWindow_DoMoveWindow" "', expected argument " "3"" of type '" "int""'");
22744 arg3
= static_cast< int >(val3
);
22745 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
22746 if (!SWIG_IsOK(ecode4
)) {
22747 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PyScrolledWindow_DoMoveWindow" "', expected argument " "4"" of type '" "int""'");
22749 arg4
= static_cast< int >(val4
);
22750 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
22751 if (!SWIG_IsOK(ecode5
)) {
22752 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PyScrolledWindow_DoMoveWindow" "', expected argument " "5"" of type '" "int""'");
22754 arg5
= static_cast< int >(val5
);
22756 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22757 (arg1
)->DoMoveWindow(arg2
,arg3
,arg4
,arg5
);
22758 wxPyEndAllowThreads(__tstate
);
22759 if (PyErr_Occurred()) SWIG_fail
;
22761 resultobj
= SWIG_Py_Void();
22768 SWIGINTERN PyObject
*_wrap_PyScrolledWindow_DoSetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22769 PyObject
*resultobj
= 0;
22770 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
22775 int arg6
= (int) wxSIZE_AUTO
;
22788 PyObject
* obj0
= 0 ;
22789 PyObject
* obj1
= 0 ;
22790 PyObject
* obj2
= 0 ;
22791 PyObject
* obj3
= 0 ;
22792 PyObject
* obj4
= 0 ;
22793 PyObject
* obj5
= 0 ;
22794 char * kwnames
[] = {
22795 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
22798 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:PyScrolledWindow_DoSetSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
22799 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyScrolledWindow
, 0 | 0 );
22800 if (!SWIG_IsOK(res1
)) {
22801 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyScrolledWindow_DoSetSize" "', expected argument " "1"" of type '" "wxPyScrolledWindow *""'");
22803 arg1
= reinterpret_cast< wxPyScrolledWindow
* >(argp1
);
22804 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22805 if (!SWIG_IsOK(ecode2
)) {
22806 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PyScrolledWindow_DoSetSize" "', expected argument " "2"" of type '" "int""'");
22808 arg2
= static_cast< int >(val2
);
22809 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
22810 if (!SWIG_IsOK(ecode3
)) {
22811 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PyScrolledWindow_DoSetSize" "', expected argument " "3"" of type '" "int""'");
22813 arg3
= static_cast< int >(val3
);
22814 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
22815 if (!SWIG_IsOK(ecode4
)) {
22816 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PyScrolledWindow_DoSetSize" "', expected argument " "4"" of type '" "int""'");
22818 arg4
= static_cast< int >(val4
);
22819 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
22820 if (!SWIG_IsOK(ecode5
)) {
22821 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PyScrolledWindow_DoSetSize" "', expected argument " "5"" of type '" "int""'");
22823 arg5
= static_cast< int >(val5
);
22825 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
22826 if (!SWIG_IsOK(ecode6
)) {
22827 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "PyScrolledWindow_DoSetSize" "', expected argument " "6"" of type '" "int""'");
22829 arg6
= static_cast< int >(val6
);
22832 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22833 (arg1
)->DoSetSize(arg2
,arg3
,arg4
,arg5
,arg6
);
22834 wxPyEndAllowThreads(__tstate
);
22835 if (PyErr_Occurred()) SWIG_fail
;
22837 resultobj
= SWIG_Py_Void();
22844 SWIGINTERN PyObject
*_wrap_PyScrolledWindow_DoSetClientSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22845 PyObject
*resultobj
= 0;
22846 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
22855 PyObject
* obj0
= 0 ;
22856 PyObject
* obj1
= 0 ;
22857 PyObject
* obj2
= 0 ;
22858 char * kwnames
[] = {
22859 (char *) "self",(char *) "width",(char *) "height", NULL
22862 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyScrolledWindow_DoSetClientSize",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
22863 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyScrolledWindow
, 0 | 0 );
22864 if (!SWIG_IsOK(res1
)) {
22865 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyScrolledWindow_DoSetClientSize" "', expected argument " "1"" of type '" "wxPyScrolledWindow *""'");
22867 arg1
= reinterpret_cast< wxPyScrolledWindow
* >(argp1
);
22868 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22869 if (!SWIG_IsOK(ecode2
)) {
22870 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PyScrolledWindow_DoSetClientSize" "', expected argument " "2"" of type '" "int""'");
22872 arg2
= static_cast< int >(val2
);
22873 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
22874 if (!SWIG_IsOK(ecode3
)) {
22875 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PyScrolledWindow_DoSetClientSize" "', expected argument " "3"" of type '" "int""'");
22877 arg3
= static_cast< int >(val3
);
22879 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22880 (arg1
)->DoSetClientSize(arg2
,arg3
);
22881 wxPyEndAllowThreads(__tstate
);
22882 if (PyErr_Occurred()) SWIG_fail
;
22884 resultobj
= SWIG_Py_Void();
22891 SWIGINTERN PyObject
*_wrap_PyScrolledWindow_DoSetVirtualSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22892 PyObject
*resultobj
= 0;
22893 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
22902 PyObject
* obj0
= 0 ;
22903 PyObject
* obj1
= 0 ;
22904 PyObject
* obj2
= 0 ;
22905 char * kwnames
[] = {
22906 (char *) "self",(char *) "x",(char *) "y", NULL
22909 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyScrolledWindow_DoSetVirtualSize",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
22910 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyScrolledWindow
, 0 | 0 );
22911 if (!SWIG_IsOK(res1
)) {
22912 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyScrolledWindow_DoSetVirtualSize" "', expected argument " "1"" of type '" "wxPyScrolledWindow *""'");
22914 arg1
= reinterpret_cast< wxPyScrolledWindow
* >(argp1
);
22915 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22916 if (!SWIG_IsOK(ecode2
)) {
22917 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PyScrolledWindow_DoSetVirtualSize" "', expected argument " "2"" of type '" "int""'");
22919 arg2
= static_cast< int >(val2
);
22920 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
22921 if (!SWIG_IsOK(ecode3
)) {
22922 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PyScrolledWindow_DoSetVirtualSize" "', expected argument " "3"" of type '" "int""'");
22924 arg3
= static_cast< int >(val3
);
22926 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22927 (arg1
)->DoSetVirtualSize(arg2
,arg3
);
22928 wxPyEndAllowThreads(__tstate
);
22929 if (PyErr_Occurred()) SWIG_fail
;
22931 resultobj
= SWIG_Py_Void();
22938 SWIGINTERN PyObject
*_wrap_PyScrolledWindow_DoGetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22939 PyObject
*resultobj
= 0;
22940 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
22941 int *arg2
= (int *) 0 ;
22942 int *arg3
= (int *) 0 ;
22946 int res2
= SWIG_TMPOBJ
;
22948 int res3
= SWIG_TMPOBJ
;
22949 PyObject
*swig_obj
[1] ;
22953 if (!args
) SWIG_fail
;
22954 swig_obj
[0] = args
;
22955 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyScrolledWindow
, 0 | 0 );
22956 if (!SWIG_IsOK(res1
)) {
22957 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyScrolledWindow_DoGetSize" "', expected argument " "1"" of type '" "wxPyScrolledWindow const *""'");
22959 arg1
= reinterpret_cast< wxPyScrolledWindow
* >(argp1
);
22961 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22962 ((wxPyScrolledWindow
const *)arg1
)->DoGetSize(arg2
,arg3
);
22963 wxPyEndAllowThreads(__tstate
);
22964 if (PyErr_Occurred()) SWIG_fail
;
22966 resultobj
= SWIG_Py_Void();
22967 if (SWIG_IsTmpObj(res2
)) {
22968 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
22970 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
22971 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
22973 if (SWIG_IsTmpObj(res3
)) {
22974 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
22976 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
22977 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
22985 SWIGINTERN PyObject
*_wrap_PyScrolledWindow_DoGetClientSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22986 PyObject
*resultobj
= 0;
22987 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
22988 int *arg2
= (int *) 0 ;
22989 int *arg3
= (int *) 0 ;
22993 int res2
= SWIG_TMPOBJ
;
22995 int res3
= SWIG_TMPOBJ
;
22996 PyObject
*swig_obj
[1] ;
23000 if (!args
) SWIG_fail
;
23001 swig_obj
[0] = args
;
23002 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyScrolledWindow
, 0 | 0 );
23003 if (!SWIG_IsOK(res1
)) {
23004 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyScrolledWindow_DoGetClientSize" "', expected argument " "1"" of type '" "wxPyScrolledWindow const *""'");
23006 arg1
= reinterpret_cast< wxPyScrolledWindow
* >(argp1
);
23008 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23009 ((wxPyScrolledWindow
const *)arg1
)->DoGetClientSize(arg2
,arg3
);
23010 wxPyEndAllowThreads(__tstate
);
23011 if (PyErr_Occurred()) SWIG_fail
;
23013 resultobj
= SWIG_Py_Void();
23014 if (SWIG_IsTmpObj(res2
)) {
23015 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
23017 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
23018 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
23020 if (SWIG_IsTmpObj(res3
)) {
23021 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
23023 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
23024 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
23032 SWIGINTERN PyObject
*_wrap_PyScrolledWindow_DoGetPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23033 PyObject
*resultobj
= 0;
23034 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
23035 int *arg2
= (int *) 0 ;
23036 int *arg3
= (int *) 0 ;
23040 int res2
= SWIG_TMPOBJ
;
23042 int res3
= SWIG_TMPOBJ
;
23043 PyObject
*swig_obj
[1] ;
23047 if (!args
) SWIG_fail
;
23048 swig_obj
[0] = args
;
23049 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyScrolledWindow
, 0 | 0 );
23050 if (!SWIG_IsOK(res1
)) {
23051 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyScrolledWindow_DoGetPosition" "', expected argument " "1"" of type '" "wxPyScrolledWindow const *""'");
23053 arg1
= reinterpret_cast< wxPyScrolledWindow
* >(argp1
);
23055 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23056 ((wxPyScrolledWindow
const *)arg1
)->DoGetPosition(arg2
,arg3
);
23057 wxPyEndAllowThreads(__tstate
);
23058 if (PyErr_Occurred()) SWIG_fail
;
23060 resultobj
= SWIG_Py_Void();
23061 if (SWIG_IsTmpObj(res2
)) {
23062 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
23064 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
23065 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
23067 if (SWIG_IsTmpObj(res3
)) {
23068 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
23070 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
23071 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
23079 SWIGINTERN PyObject
*_wrap_PyScrolledWindow_DoGetVirtualSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23080 PyObject
*resultobj
= 0;
23081 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
23085 PyObject
*swig_obj
[1] ;
23087 if (!args
) SWIG_fail
;
23088 swig_obj
[0] = args
;
23089 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyScrolledWindow
, 0 | 0 );
23090 if (!SWIG_IsOK(res1
)) {
23091 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyScrolledWindow_DoGetVirtualSize" "', expected argument " "1"" of type '" "wxPyScrolledWindow const *""'");
23093 arg1
= reinterpret_cast< wxPyScrolledWindow
* >(argp1
);
23095 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23096 result
= ((wxPyScrolledWindow
const *)arg1
)->DoGetVirtualSize();
23097 wxPyEndAllowThreads(__tstate
);
23098 if (PyErr_Occurred()) SWIG_fail
;
23100 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
23107 SWIGINTERN PyObject
*_wrap_PyScrolledWindow_DoGetBestSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23108 PyObject
*resultobj
= 0;
23109 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
23113 PyObject
*swig_obj
[1] ;
23115 if (!args
) SWIG_fail
;
23116 swig_obj
[0] = args
;
23117 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyScrolledWindow
, 0 | 0 );
23118 if (!SWIG_IsOK(res1
)) {
23119 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyScrolledWindow_DoGetBestSize" "', expected argument " "1"" of type '" "wxPyScrolledWindow const *""'");
23121 arg1
= reinterpret_cast< wxPyScrolledWindow
* >(argp1
);
23123 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23124 result
= ((wxPyScrolledWindow
const *)arg1
)->DoGetBestSize();
23125 wxPyEndAllowThreads(__tstate
);
23126 if (PyErr_Occurred()) SWIG_fail
;
23128 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
23135 SWIGINTERN PyObject
*_wrap_PyScrolledWindow_GetDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23136 PyObject
*resultobj
= 0;
23137 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
23138 SwigValueWrapper
<wxVisualAttributes
> result
;
23141 PyObject
*swig_obj
[1] ;
23143 if (!args
) SWIG_fail
;
23144 swig_obj
[0] = args
;
23145 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyScrolledWindow
, 0 | 0 );
23146 if (!SWIG_IsOK(res1
)) {
23147 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyScrolledWindow_GetDefaultAttributes" "', expected argument " "1"" of type '" "wxPyScrolledWindow *""'");
23149 arg1
= reinterpret_cast< wxPyScrolledWindow
* >(argp1
);
23151 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23152 result
= (arg1
)->GetDefaultAttributes();
23153 wxPyEndAllowThreads(__tstate
);
23154 if (PyErr_Occurred()) SWIG_fail
;
23156 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
23163 SWIGINTERN PyObject
*_wrap_PyScrolledWindow_OnInternalIdle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23164 PyObject
*resultobj
= 0;
23165 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
23168 PyObject
*swig_obj
[1] ;
23170 if (!args
) SWIG_fail
;
23171 swig_obj
[0] = args
;
23172 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyScrolledWindow
, 0 | 0 );
23173 if (!SWIG_IsOK(res1
)) {
23174 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyScrolledWindow_OnInternalIdle" "', expected argument " "1"" of type '" "wxPyScrolledWindow *""'");
23176 arg1
= reinterpret_cast< wxPyScrolledWindow
* >(argp1
);
23178 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23179 (arg1
)->OnInternalIdle();
23180 wxPyEndAllowThreads(__tstate
);
23181 if (PyErr_Occurred()) SWIG_fail
;
23183 resultobj
= SWIG_Py_Void();
23190 SWIGINTERN PyObject
*PyScrolledWindow_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23192 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
23193 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyScrolledWindow
, SWIG_NewClientData(obj
));
23194 return SWIG_Py_Void();
23197 SWIGINTERN PyObject
*PyScrolledWindow_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23198 return SWIG_Python_InitShadowInstance(args
);
23201 SWIGINTERN
int PrintoutTitleStr_set(PyObject
*) {
23202 SWIG_Error(SWIG_AttributeError
,"Variable PrintoutTitleStr is read-only.");
23207 SWIGINTERN PyObject
*PrintoutTitleStr_get(void) {
23208 PyObject
*pyobj
= 0;
23212 pyobj
= PyUnicode_FromWideChar((&wxPyPrintoutTitleStr
)->c_str(), (&wxPyPrintoutTitleStr
)->Len());
23214 pyobj
= PyString_FromStringAndSize((&wxPyPrintoutTitleStr
)->c_str(), (&wxPyPrintoutTitleStr
)->Len());
23221 SWIGINTERN
int PreviewCanvasNameStr_set(PyObject
*) {
23222 SWIG_Error(SWIG_AttributeError
,"Variable PreviewCanvasNameStr is read-only.");
23227 SWIGINTERN PyObject
*PreviewCanvasNameStr_get(void) {
23228 PyObject
*pyobj
= 0;
23232 pyobj
= PyUnicode_FromWideChar((&wxPyPreviewCanvasNameStr
)->c_str(), (&wxPyPreviewCanvasNameStr
)->Len());
23234 pyobj
= PyString_FromStringAndSize((&wxPyPreviewCanvasNameStr
)->c_str(), (&wxPyPreviewCanvasNameStr
)->Len());
23241 SWIGINTERN PyObject
*_wrap_new_PrintData__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**SWIGUNUSEDPARM(swig_obj
)) {
23242 PyObject
*resultobj
= 0;
23243 wxPrintData
*result
= 0 ;
23245 if ((nobjs
< 0) || (nobjs
> 0)) SWIG_fail
;
23247 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23248 result
= (wxPrintData
*)new wxPrintData();
23249 wxPyEndAllowThreads(__tstate
);
23250 if (PyErr_Occurred()) SWIG_fail
;
23252 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPrintData
, SWIG_POINTER_NEW
| 0 );
23259 SWIGINTERN PyObject
*_wrap_new_PrintData__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
23260 PyObject
*resultobj
= 0;
23261 wxPrintData
*arg1
= 0 ;
23262 wxPrintData
*result
= 0 ;
23266 if ((nobjs
< 1) || (nobjs
> 1)) SWIG_fail
;
23267 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxPrintData
, 0 | 0);
23268 if (!SWIG_IsOK(res1
)) {
23269 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PrintData" "', expected argument " "1"" of type '" "wxPrintData const &""'");
23272 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_PrintData" "', expected argument " "1"" of type '" "wxPrintData const &""'");
23274 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
23276 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23277 result
= (wxPrintData
*)new wxPrintData((wxPrintData
const &)*arg1
);
23278 wxPyEndAllowThreads(__tstate
);
23279 if (PyErr_Occurred()) SWIG_fail
;
23281 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPrintData
, SWIG_POINTER_NEW
| 0 );
23288 SWIGINTERN PyObject
*_wrap_new_PrintData(PyObject
*self
, PyObject
*args
) {
23292 if (!(argc
= SWIG_Python_UnpackTuple(args
,"new_PrintData",0,1,argv
))) SWIG_fail
;
23295 return _wrap_new_PrintData__SWIG_0(self
, argc
, argv
);
23298 return _wrap_new_PrintData__SWIG_1(self
, argc
, argv
);
23302 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'new_PrintData'");
23307 SWIGINTERN PyObject
*_wrap_delete_PrintData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23308 PyObject
*resultobj
= 0;
23309 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
23312 PyObject
*swig_obj
[1] ;
23314 if (!args
) SWIG_fail
;
23315 swig_obj
[0] = args
;
23316 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintData
, SWIG_POINTER_DISOWN
| 0 );
23317 if (!SWIG_IsOK(res1
)) {
23318 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_PrintData" "', expected argument " "1"" of type '" "wxPrintData *""'");
23320 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
23322 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23325 wxPyEndAllowThreads(__tstate
);
23326 if (PyErr_Occurred()) SWIG_fail
;
23328 resultobj
= SWIG_Py_Void();
23335 SWIGINTERN PyObject
*_wrap_PrintData_GetNoCopies(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23336 PyObject
*resultobj
= 0;
23337 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
23341 PyObject
*swig_obj
[1] ;
23343 if (!args
) SWIG_fail
;
23344 swig_obj
[0] = args
;
23345 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
23346 if (!SWIG_IsOK(res1
)) {
23347 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_GetNoCopies" "', expected argument " "1"" of type '" "wxPrintData *""'");
23349 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
23351 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23352 result
= (int)(arg1
)->GetNoCopies();
23353 wxPyEndAllowThreads(__tstate
);
23354 if (PyErr_Occurred()) SWIG_fail
;
23356 resultobj
= SWIG_From_int(static_cast< int >(result
));
23363 SWIGINTERN PyObject
*_wrap_PrintData_GetCollate(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23364 PyObject
*resultobj
= 0;
23365 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
23369 PyObject
*swig_obj
[1] ;
23371 if (!args
) SWIG_fail
;
23372 swig_obj
[0] = args
;
23373 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
23374 if (!SWIG_IsOK(res1
)) {
23375 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_GetCollate" "', expected argument " "1"" of type '" "wxPrintData *""'");
23377 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
23379 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23380 result
= (bool)(arg1
)->GetCollate();
23381 wxPyEndAllowThreads(__tstate
);
23382 if (PyErr_Occurred()) SWIG_fail
;
23385 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23393 SWIGINTERN PyObject
*_wrap_PrintData_GetOrientation(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23394 PyObject
*resultobj
= 0;
23395 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
23399 PyObject
*swig_obj
[1] ;
23401 if (!args
) SWIG_fail
;
23402 swig_obj
[0] = args
;
23403 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
23404 if (!SWIG_IsOK(res1
)) {
23405 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_GetOrientation" "', expected argument " "1"" of type '" "wxPrintData *""'");
23407 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
23409 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23410 result
= (int)(arg1
)->GetOrientation();
23411 wxPyEndAllowThreads(__tstate
);
23412 if (PyErr_Occurred()) SWIG_fail
;
23414 resultobj
= SWIG_From_int(static_cast< int >(result
));
23421 SWIGINTERN PyObject
*_wrap_PrintData_Ok(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23422 PyObject
*resultobj
= 0;
23423 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
23427 PyObject
*swig_obj
[1] ;
23429 if (!args
) SWIG_fail
;
23430 swig_obj
[0] = args
;
23431 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
23432 if (!SWIG_IsOK(res1
)) {
23433 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_Ok" "', expected argument " "1"" of type '" "wxPrintData *""'");
23435 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
23437 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23438 result
= (bool)(arg1
)->Ok();
23439 wxPyEndAllowThreads(__tstate
);
23440 if (PyErr_Occurred()) SWIG_fail
;
23443 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23451 SWIGINTERN PyObject
*_wrap_PrintData_GetPrinterName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23452 PyObject
*resultobj
= 0;
23453 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
23454 wxString
*result
= 0 ;
23457 PyObject
*swig_obj
[1] ;
23459 if (!args
) SWIG_fail
;
23460 swig_obj
[0] = args
;
23461 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
23462 if (!SWIG_IsOK(res1
)) {
23463 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_GetPrinterName" "', expected argument " "1"" of type '" "wxPrintData *""'");
23465 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
23467 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23469 wxString
const &_result_ref
= (arg1
)->GetPrinterName();
23470 result
= (wxString
*) &_result_ref
;
23472 wxPyEndAllowThreads(__tstate
);
23473 if (PyErr_Occurred()) SWIG_fail
;
23477 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
23479 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
23488 SWIGINTERN PyObject
*_wrap_PrintData_GetColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23489 PyObject
*resultobj
= 0;
23490 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
23494 PyObject
*swig_obj
[1] ;
23496 if (!args
) SWIG_fail
;
23497 swig_obj
[0] = args
;
23498 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
23499 if (!SWIG_IsOK(res1
)) {
23500 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_GetColour" "', expected argument " "1"" of type '" "wxPrintData *""'");
23502 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
23504 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23505 result
= (bool)(arg1
)->GetColour();
23506 wxPyEndAllowThreads(__tstate
);
23507 if (PyErr_Occurred()) SWIG_fail
;
23510 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23518 SWIGINTERN PyObject
*_wrap_PrintData_GetDuplex(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23519 PyObject
*resultobj
= 0;
23520 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
23521 wxDuplexMode result
;
23524 PyObject
*swig_obj
[1] ;
23526 if (!args
) SWIG_fail
;
23527 swig_obj
[0] = args
;
23528 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
23529 if (!SWIG_IsOK(res1
)) {
23530 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_GetDuplex" "', expected argument " "1"" of type '" "wxPrintData *""'");
23532 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
23534 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23535 result
= (wxDuplexMode
)(arg1
)->GetDuplex();
23536 wxPyEndAllowThreads(__tstate
);
23537 if (PyErr_Occurred()) SWIG_fail
;
23539 resultobj
= SWIG_From_int(static_cast< int >(result
));
23546 SWIGINTERN PyObject
*_wrap_PrintData_GetPaperId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23547 PyObject
*resultobj
= 0;
23548 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
23549 wxPaperSize result
;
23552 PyObject
*swig_obj
[1] ;
23554 if (!args
) SWIG_fail
;
23555 swig_obj
[0] = args
;
23556 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
23557 if (!SWIG_IsOK(res1
)) {
23558 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_GetPaperId" "', expected argument " "1"" of type '" "wxPrintData *""'");
23560 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
23562 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23563 result
= (wxPaperSize
)(arg1
)->GetPaperId();
23564 wxPyEndAllowThreads(__tstate
);
23565 if (PyErr_Occurred()) SWIG_fail
;
23567 resultobj
= SWIG_From_int(static_cast< int >(result
));
23574 SWIGINTERN PyObject
*_wrap_PrintData_GetPaperSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23575 PyObject
*resultobj
= 0;
23576 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
23577 wxSize
*result
= 0 ;
23580 PyObject
*swig_obj
[1] ;
23582 if (!args
) SWIG_fail
;
23583 swig_obj
[0] = args
;
23584 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
23585 if (!SWIG_IsOK(res1
)) {
23586 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_GetPaperSize" "', expected argument " "1"" of type '" "wxPrintData *""'");
23588 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
23590 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23592 wxSize
const &_result_ref
= (arg1
)->GetPaperSize();
23593 result
= (wxSize
*) &_result_ref
;
23595 wxPyEndAllowThreads(__tstate
);
23596 if (PyErr_Occurred()) SWIG_fail
;
23598 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSize
, 0 | 0 );
23605 SWIGINTERN PyObject
*_wrap_PrintData_GetQuality(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23606 PyObject
*resultobj
= 0;
23607 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
23611 PyObject
*swig_obj
[1] ;
23613 if (!args
) SWIG_fail
;
23614 swig_obj
[0] = args
;
23615 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
23616 if (!SWIG_IsOK(res1
)) {
23617 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_GetQuality" "', expected argument " "1"" of type '" "wxPrintData *""'");
23619 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
23621 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23622 result
= (int)(arg1
)->GetQuality();
23623 wxPyEndAllowThreads(__tstate
);
23624 if (PyErr_Occurred()) SWIG_fail
;
23626 resultobj
= SWIG_From_int(static_cast< int >(result
));
23633 SWIGINTERN PyObject
*_wrap_PrintData_GetBin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23634 PyObject
*resultobj
= 0;
23635 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
23639 PyObject
*swig_obj
[1] ;
23641 if (!args
) SWIG_fail
;
23642 swig_obj
[0] = args
;
23643 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
23644 if (!SWIG_IsOK(res1
)) {
23645 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_GetBin" "', expected argument " "1"" of type '" "wxPrintData *""'");
23647 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
23649 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23650 result
= (wxPrintBin
)(arg1
)->GetBin();
23651 wxPyEndAllowThreads(__tstate
);
23652 if (PyErr_Occurred()) SWIG_fail
;
23654 resultobj
= SWIG_From_int(static_cast< int >(result
));
23661 SWIGINTERN PyObject
*_wrap_PrintData_GetPrintMode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23662 PyObject
*resultobj
= 0;
23663 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
23664 wxPrintMode result
;
23667 PyObject
*swig_obj
[1] ;
23669 if (!args
) SWIG_fail
;
23670 swig_obj
[0] = args
;
23671 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
23672 if (!SWIG_IsOK(res1
)) {
23673 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_GetPrintMode" "', expected argument " "1"" of type '" "wxPrintData const *""'");
23675 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
23677 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23678 result
= (wxPrintMode
)((wxPrintData
const *)arg1
)->GetPrintMode();
23679 wxPyEndAllowThreads(__tstate
);
23680 if (PyErr_Occurred()) SWIG_fail
;
23682 resultobj
= SWIG_From_int(static_cast< int >(result
));
23689 SWIGINTERN PyObject
*_wrap_PrintData_SetNoCopies(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23690 PyObject
*resultobj
= 0;
23691 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
23697 PyObject
* obj0
= 0 ;
23698 PyObject
* obj1
= 0 ;
23699 char * kwnames
[] = {
23700 (char *) "self",(char *) "v", NULL
23703 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetNoCopies",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23704 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
23705 if (!SWIG_IsOK(res1
)) {
23706 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_SetNoCopies" "', expected argument " "1"" of type '" "wxPrintData *""'");
23708 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
23709 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
23710 if (!SWIG_IsOK(ecode2
)) {
23711 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintData_SetNoCopies" "', expected argument " "2"" of type '" "int""'");
23713 arg2
= static_cast< int >(val2
);
23715 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23716 (arg1
)->SetNoCopies(arg2
);
23717 wxPyEndAllowThreads(__tstate
);
23718 if (PyErr_Occurred()) SWIG_fail
;
23720 resultobj
= SWIG_Py_Void();
23727 SWIGINTERN PyObject
*_wrap_PrintData_SetCollate(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23728 PyObject
*resultobj
= 0;
23729 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
23735 PyObject
* obj0
= 0 ;
23736 PyObject
* obj1
= 0 ;
23737 char * kwnames
[] = {
23738 (char *) "self",(char *) "flag", NULL
23741 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetCollate",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23742 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
23743 if (!SWIG_IsOK(res1
)) {
23744 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_SetCollate" "', expected argument " "1"" of type '" "wxPrintData *""'");
23746 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
23747 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
23748 if (!SWIG_IsOK(ecode2
)) {
23749 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintData_SetCollate" "', expected argument " "2"" of type '" "bool""'");
23751 arg2
= static_cast< bool >(val2
);
23753 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23754 (arg1
)->SetCollate(arg2
);
23755 wxPyEndAllowThreads(__tstate
);
23756 if (PyErr_Occurred()) SWIG_fail
;
23758 resultobj
= SWIG_Py_Void();
23765 SWIGINTERN PyObject
*_wrap_PrintData_SetOrientation(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23766 PyObject
*resultobj
= 0;
23767 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
23773 PyObject
* obj0
= 0 ;
23774 PyObject
* obj1
= 0 ;
23775 char * kwnames
[] = {
23776 (char *) "self",(char *) "orient", NULL
23779 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetOrientation",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23780 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
23781 if (!SWIG_IsOK(res1
)) {
23782 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_SetOrientation" "', expected argument " "1"" of type '" "wxPrintData *""'");
23784 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
23785 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
23786 if (!SWIG_IsOK(ecode2
)) {
23787 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintData_SetOrientation" "', expected argument " "2"" of type '" "int""'");
23789 arg2
= static_cast< int >(val2
);
23791 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23792 (arg1
)->SetOrientation(arg2
);
23793 wxPyEndAllowThreads(__tstate
);
23794 if (PyErr_Occurred()) SWIG_fail
;
23796 resultobj
= SWIG_Py_Void();
23803 SWIGINTERN PyObject
*_wrap_PrintData_SetPrinterName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23804 PyObject
*resultobj
= 0;
23805 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
23806 wxString
*arg2
= 0 ;
23809 bool temp2
= false ;
23810 PyObject
* obj0
= 0 ;
23811 PyObject
* obj1
= 0 ;
23812 char * kwnames
[] = {
23813 (char *) "self",(char *) "name", NULL
23816 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPrinterName",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23817 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
23818 if (!SWIG_IsOK(res1
)) {
23819 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_SetPrinterName" "', expected argument " "1"" of type '" "wxPrintData *""'");
23821 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
23823 arg2
= wxString_in_helper(obj1
);
23824 if (arg2
== NULL
) SWIG_fail
;
23828 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23829 (arg1
)->SetPrinterName((wxString
const &)*arg2
);
23830 wxPyEndAllowThreads(__tstate
);
23831 if (PyErr_Occurred()) SWIG_fail
;
23833 resultobj
= SWIG_Py_Void();
23848 SWIGINTERN PyObject
*_wrap_PrintData_SetColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23849 PyObject
*resultobj
= 0;
23850 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
23856 PyObject
* obj0
= 0 ;
23857 PyObject
* obj1
= 0 ;
23858 char * kwnames
[] = {
23859 (char *) "self",(char *) "colour", NULL
23862 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23863 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
23864 if (!SWIG_IsOK(res1
)) {
23865 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_SetColour" "', expected argument " "1"" of type '" "wxPrintData *""'");
23867 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
23868 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
23869 if (!SWIG_IsOK(ecode2
)) {
23870 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintData_SetColour" "', expected argument " "2"" of type '" "bool""'");
23872 arg2
= static_cast< bool >(val2
);
23874 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23875 (arg1
)->SetColour(arg2
);
23876 wxPyEndAllowThreads(__tstate
);
23877 if (PyErr_Occurred()) SWIG_fail
;
23879 resultobj
= SWIG_Py_Void();
23886 SWIGINTERN PyObject
*_wrap_PrintData_SetDuplex(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23887 PyObject
*resultobj
= 0;
23888 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
23889 wxDuplexMode arg2
;
23894 PyObject
* obj0
= 0 ;
23895 PyObject
* obj1
= 0 ;
23896 char * kwnames
[] = {
23897 (char *) "self",(char *) "duplex", NULL
23900 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetDuplex",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23901 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
23902 if (!SWIG_IsOK(res1
)) {
23903 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_SetDuplex" "', expected argument " "1"" of type '" "wxPrintData *""'");
23905 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
23906 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
23907 if (!SWIG_IsOK(ecode2
)) {
23908 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintData_SetDuplex" "', expected argument " "2"" of type '" "wxDuplexMode""'");
23910 arg2
= static_cast< wxDuplexMode
>(val2
);
23912 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23913 (arg1
)->SetDuplex(arg2
);
23914 wxPyEndAllowThreads(__tstate
);
23915 if (PyErr_Occurred()) SWIG_fail
;
23917 resultobj
= SWIG_Py_Void();
23924 SWIGINTERN PyObject
*_wrap_PrintData_SetPaperId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23925 PyObject
*resultobj
= 0;
23926 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
23932 PyObject
* obj0
= 0 ;
23933 PyObject
* obj1
= 0 ;
23934 char * kwnames
[] = {
23935 (char *) "self",(char *) "sizeId", NULL
23938 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPaperId",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23939 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
23940 if (!SWIG_IsOK(res1
)) {
23941 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_SetPaperId" "', expected argument " "1"" of type '" "wxPrintData *""'");
23943 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
23944 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
23945 if (!SWIG_IsOK(ecode2
)) {
23946 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintData_SetPaperId" "', expected argument " "2"" of type '" "wxPaperSize""'");
23948 arg2
= static_cast< wxPaperSize
>(val2
);
23950 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23951 (arg1
)->SetPaperId(arg2
);
23952 wxPyEndAllowThreads(__tstate
);
23953 if (PyErr_Occurred()) SWIG_fail
;
23955 resultobj
= SWIG_Py_Void();
23962 SWIGINTERN PyObject
*_wrap_PrintData_SetPaperSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23963 PyObject
*resultobj
= 0;
23964 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
23969 PyObject
* obj0
= 0 ;
23970 PyObject
* obj1
= 0 ;
23971 char * kwnames
[] = {
23972 (char *) "self",(char *) "sz", NULL
23975 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPaperSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23976 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
23977 if (!SWIG_IsOK(res1
)) {
23978 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_SetPaperSize" "', expected argument " "1"" of type '" "wxPrintData *""'");
23980 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
23983 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
23986 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23987 (arg1
)->SetPaperSize((wxSize
const &)*arg2
);
23988 wxPyEndAllowThreads(__tstate
);
23989 if (PyErr_Occurred()) SWIG_fail
;
23991 resultobj
= SWIG_Py_Void();
23998 SWIGINTERN PyObject
*_wrap_PrintData_SetQuality(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23999 PyObject
*resultobj
= 0;
24000 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
24006 PyObject
* obj0
= 0 ;
24007 PyObject
* obj1
= 0 ;
24008 char * kwnames
[] = {
24009 (char *) "self",(char *) "quality", NULL
24012 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetQuality",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24013 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
24014 if (!SWIG_IsOK(res1
)) {
24015 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_SetQuality" "', expected argument " "1"" of type '" "wxPrintData *""'");
24017 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
24018 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24019 if (!SWIG_IsOK(ecode2
)) {
24020 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintData_SetQuality" "', expected argument " "2"" of type '" "int""'");
24022 arg2
= static_cast< int >(val2
);
24024 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24025 (arg1
)->SetQuality(arg2
);
24026 wxPyEndAllowThreads(__tstate
);
24027 if (PyErr_Occurred()) SWIG_fail
;
24029 resultobj
= SWIG_Py_Void();
24036 SWIGINTERN PyObject
*_wrap_PrintData_SetBin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24037 PyObject
*resultobj
= 0;
24038 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
24044 PyObject
* obj0
= 0 ;
24045 PyObject
* obj1
= 0 ;
24046 char * kwnames
[] = {
24047 (char *) "self",(char *) "bin", NULL
24050 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetBin",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24051 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
24052 if (!SWIG_IsOK(res1
)) {
24053 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_SetBin" "', expected argument " "1"" of type '" "wxPrintData *""'");
24055 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
24056 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24057 if (!SWIG_IsOK(ecode2
)) {
24058 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintData_SetBin" "', expected argument " "2"" of type '" "wxPrintBin""'");
24060 arg2
= static_cast< wxPrintBin
>(val2
);
24062 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24063 (arg1
)->SetBin(arg2
);
24064 wxPyEndAllowThreads(__tstate
);
24065 if (PyErr_Occurred()) SWIG_fail
;
24067 resultobj
= SWIG_Py_Void();
24074 SWIGINTERN PyObject
*_wrap_PrintData_SetPrintMode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24075 PyObject
*resultobj
= 0;
24076 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
24082 PyObject
* obj0
= 0 ;
24083 PyObject
* obj1
= 0 ;
24084 char * kwnames
[] = {
24085 (char *) "self",(char *) "printMode", NULL
24088 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPrintMode",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24089 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
24090 if (!SWIG_IsOK(res1
)) {
24091 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_SetPrintMode" "', expected argument " "1"" of type '" "wxPrintData *""'");
24093 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
24094 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24095 if (!SWIG_IsOK(ecode2
)) {
24096 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintData_SetPrintMode" "', expected argument " "2"" of type '" "wxPrintMode""'");
24098 arg2
= static_cast< wxPrintMode
>(val2
);
24100 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24101 (arg1
)->SetPrintMode(arg2
);
24102 wxPyEndAllowThreads(__tstate
);
24103 if (PyErr_Occurred()) SWIG_fail
;
24105 resultobj
= SWIG_Py_Void();
24112 SWIGINTERN PyObject
*_wrap_PrintData_GetFilename(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24113 PyObject
*resultobj
= 0;
24114 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
24118 PyObject
*swig_obj
[1] ;
24120 if (!args
) SWIG_fail
;
24121 swig_obj
[0] = args
;
24122 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
24123 if (!SWIG_IsOK(res1
)) {
24124 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_GetFilename" "', expected argument " "1"" of type '" "wxPrintData const *""'");
24126 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
24128 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24129 result
= ((wxPrintData
const *)arg1
)->GetFilename();
24130 wxPyEndAllowThreads(__tstate
);
24131 if (PyErr_Occurred()) SWIG_fail
;
24135 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
24137 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
24146 SWIGINTERN PyObject
*_wrap_PrintData_SetFilename(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24147 PyObject
*resultobj
= 0;
24148 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
24149 wxString
*arg2
= 0 ;
24152 bool temp2
= false ;
24153 PyObject
* obj0
= 0 ;
24154 PyObject
* obj1
= 0 ;
24155 char * kwnames
[] = {
24156 (char *) "self",(char *) "filename", NULL
24159 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetFilename",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24160 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
24161 if (!SWIG_IsOK(res1
)) {
24162 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_SetFilename" "', expected argument " "1"" of type '" "wxPrintData *""'");
24164 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
24166 arg2
= wxString_in_helper(obj1
);
24167 if (arg2
== NULL
) SWIG_fail
;
24171 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24172 (arg1
)->SetFilename((wxString
const &)*arg2
);
24173 wxPyEndAllowThreads(__tstate
);
24174 if (PyErr_Occurred()) SWIG_fail
;
24176 resultobj
= SWIG_Py_Void();
24191 SWIGINTERN PyObject
*_wrap_PrintData_GetPrivData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24192 PyObject
*resultobj
= 0;
24193 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
24194 PyObject
*result
= 0 ;
24197 PyObject
*swig_obj
[1] ;
24199 if (!args
) SWIG_fail
;
24200 swig_obj
[0] = args
;
24201 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
24202 if (!SWIG_IsOK(res1
)) {
24203 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_GetPrivData" "', expected argument " "1"" of type '" "wxPrintData *""'");
24205 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
24207 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24208 result
= (PyObject
*)wxPrintData_GetPrivData(arg1
);
24209 wxPyEndAllowThreads(__tstate
);
24210 if (PyErr_Occurred()) SWIG_fail
;
24212 resultobj
= result
;
24219 SWIGINTERN PyObject
*_wrap_PrintData_SetPrivData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24220 PyObject
*resultobj
= 0;
24221 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
24222 PyObject
*arg2
= (PyObject
*) 0 ;
24225 PyObject
* obj0
= 0 ;
24226 PyObject
* obj1
= 0 ;
24227 char * kwnames
[] = {
24228 (char *) "self",(char *) "data", NULL
24231 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPrivData",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24232 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
24233 if (!SWIG_IsOK(res1
)) {
24234 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_SetPrivData" "', expected argument " "1"" of type '" "wxPrintData *""'");
24236 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
24239 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24240 wxPrintData_SetPrivData(arg1
,arg2
);
24241 wxPyEndAllowThreads(__tstate
);
24242 if (PyErr_Occurred()) SWIG_fail
;
24244 resultobj
= SWIG_Py_Void();
24251 SWIGINTERN PyObject
*PrintData_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24253 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
24254 SWIG_TypeNewClientData(SWIGTYPE_p_wxPrintData
, SWIG_NewClientData(obj
));
24255 return SWIG_Py_Void();
24258 SWIGINTERN PyObject
*PrintData_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24259 return SWIG_Python_InitShadowInstance(args
);
24262 SWIGINTERN PyObject
*_wrap_new_PageSetupDialogData__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**SWIGUNUSEDPARM(swig_obj
)) {
24263 PyObject
*resultobj
= 0;
24264 wxPageSetupDialogData
*result
= 0 ;
24266 if ((nobjs
< 0) || (nobjs
> 0)) SWIG_fail
;
24268 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24269 result
= (wxPageSetupDialogData
*)new wxPageSetupDialogData();
24270 wxPyEndAllowThreads(__tstate
);
24271 if (PyErr_Occurred()) SWIG_fail
;
24273 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPageSetupDialogData
, SWIG_POINTER_NEW
| 0 );
24280 SWIGINTERN PyObject
*_wrap_new_PageSetupDialogData__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
24281 PyObject
*resultobj
= 0;
24282 wxPageSetupDialogData
*arg1
= 0 ;
24283 wxPageSetupDialogData
*result
= 0 ;
24287 if ((nobjs
< 1) || (nobjs
> 1)) SWIG_fail
;
24288 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0);
24289 if (!SWIG_IsOK(res1
)) {
24290 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PageSetupDialogData" "', expected argument " "1"" of type '" "wxPageSetupDialogData const &""'");
24293 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_PageSetupDialogData" "', expected argument " "1"" of type '" "wxPageSetupDialogData const &""'");
24295 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
24297 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24298 result
= (wxPageSetupDialogData
*)new wxPageSetupDialogData((wxPageSetupDialogData
const &)*arg1
);
24299 wxPyEndAllowThreads(__tstate
);
24300 if (PyErr_Occurred()) SWIG_fail
;
24302 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPageSetupDialogData
, SWIG_POINTER_NEW
| 0 );
24309 SWIGINTERN PyObject
*_wrap_new_PageSetupDialogData__SWIG_2(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
24310 PyObject
*resultobj
= 0;
24311 wxPrintData
*arg1
= 0 ;
24312 wxPageSetupDialogData
*result
= 0 ;
24316 if ((nobjs
< 1) || (nobjs
> 1)) SWIG_fail
;
24317 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxPrintData
, 0 | 0);
24318 if (!SWIG_IsOK(res1
)) {
24319 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PageSetupDialogData" "', expected argument " "1"" of type '" "wxPrintData const &""'");
24322 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_PageSetupDialogData" "', expected argument " "1"" of type '" "wxPrintData const &""'");
24324 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
24326 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24327 result
= (wxPageSetupDialogData
*)new wxPageSetupDialogData((wxPrintData
const &)*arg1
);
24328 wxPyEndAllowThreads(__tstate
);
24329 if (PyErr_Occurred()) SWIG_fail
;
24331 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPageSetupDialogData
, SWIG_POINTER_NEW
| 0 );
24338 SWIGINTERN PyObject
*_wrap_new_PageSetupDialogData(PyObject
*self
, PyObject
*args
) {
24342 if (!(argc
= SWIG_Python_UnpackTuple(args
,"new_PageSetupDialogData",0,1,argv
))) SWIG_fail
;
24345 return _wrap_new_PageSetupDialogData__SWIG_0(self
, argc
, argv
);
24350 int res
= SWIG_ConvertPtr(argv
[0], 0, SWIGTYPE_p_wxPageSetupDialogData
, 0);
24351 _v
= SWIG_CheckState(res
);
24353 if (!_v
) goto check_2
;
24354 return _wrap_new_PageSetupDialogData__SWIG_1(self
, argc
, argv
);
24359 return _wrap_new_PageSetupDialogData__SWIG_2(self
, argc
, argv
);
24363 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'new_PageSetupDialogData'");
24368 SWIGINTERN PyObject
*_wrap_delete_PageSetupDialogData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24369 PyObject
*resultobj
= 0;
24370 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
24373 PyObject
*swig_obj
[1] ;
24375 if (!args
) SWIG_fail
;
24376 swig_obj
[0] = args
;
24377 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, SWIG_POINTER_DISOWN
| 0 );
24378 if (!SWIG_IsOK(res1
)) {
24379 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_PageSetupDialogData" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
24381 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
24383 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24386 wxPyEndAllowThreads(__tstate
);
24387 if (PyErr_Occurred()) SWIG_fail
;
24389 resultobj
= SWIG_Py_Void();
24396 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_EnableHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24397 PyObject
*resultobj
= 0;
24398 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
24404 PyObject
* obj0
= 0 ;
24405 PyObject
* obj1
= 0 ;
24406 char * kwnames
[] = {
24407 (char *) "self",(char *) "flag", NULL
24410 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_EnableHelp",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24411 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
24412 if (!SWIG_IsOK(res1
)) {
24413 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_EnableHelp" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
24415 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
24416 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
24417 if (!SWIG_IsOK(ecode2
)) {
24418 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PageSetupDialogData_EnableHelp" "', expected argument " "2"" of type '" "bool""'");
24420 arg2
= static_cast< bool >(val2
);
24422 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24423 (arg1
)->EnableHelp(arg2
);
24424 wxPyEndAllowThreads(__tstate
);
24425 if (PyErr_Occurred()) SWIG_fail
;
24427 resultobj
= SWIG_Py_Void();
24434 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_EnableMargins(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24435 PyObject
*resultobj
= 0;
24436 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
24442 PyObject
* obj0
= 0 ;
24443 PyObject
* obj1
= 0 ;
24444 char * kwnames
[] = {
24445 (char *) "self",(char *) "flag", NULL
24448 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_EnableMargins",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24449 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
24450 if (!SWIG_IsOK(res1
)) {
24451 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_EnableMargins" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
24453 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
24454 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
24455 if (!SWIG_IsOK(ecode2
)) {
24456 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PageSetupDialogData_EnableMargins" "', expected argument " "2"" of type '" "bool""'");
24458 arg2
= static_cast< bool >(val2
);
24460 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24461 (arg1
)->EnableMargins(arg2
);
24462 wxPyEndAllowThreads(__tstate
);
24463 if (PyErr_Occurred()) SWIG_fail
;
24465 resultobj
= SWIG_Py_Void();
24472 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_EnableOrientation(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24473 PyObject
*resultobj
= 0;
24474 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
24480 PyObject
* obj0
= 0 ;
24481 PyObject
* obj1
= 0 ;
24482 char * kwnames
[] = {
24483 (char *) "self",(char *) "flag", NULL
24486 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_EnableOrientation",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24487 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
24488 if (!SWIG_IsOK(res1
)) {
24489 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_EnableOrientation" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
24491 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
24492 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
24493 if (!SWIG_IsOK(ecode2
)) {
24494 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PageSetupDialogData_EnableOrientation" "', expected argument " "2"" of type '" "bool""'");
24496 arg2
= static_cast< bool >(val2
);
24498 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24499 (arg1
)->EnableOrientation(arg2
);
24500 wxPyEndAllowThreads(__tstate
);
24501 if (PyErr_Occurred()) SWIG_fail
;
24503 resultobj
= SWIG_Py_Void();
24510 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_EnablePaper(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24511 PyObject
*resultobj
= 0;
24512 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
24518 PyObject
* obj0
= 0 ;
24519 PyObject
* obj1
= 0 ;
24520 char * kwnames
[] = {
24521 (char *) "self",(char *) "flag", NULL
24524 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_EnablePaper",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24525 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
24526 if (!SWIG_IsOK(res1
)) {
24527 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_EnablePaper" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
24529 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
24530 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
24531 if (!SWIG_IsOK(ecode2
)) {
24532 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PageSetupDialogData_EnablePaper" "', expected argument " "2"" of type '" "bool""'");
24534 arg2
= static_cast< bool >(val2
);
24536 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24537 (arg1
)->EnablePaper(arg2
);
24538 wxPyEndAllowThreads(__tstate
);
24539 if (PyErr_Occurred()) SWIG_fail
;
24541 resultobj
= SWIG_Py_Void();
24548 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_EnablePrinter(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24549 PyObject
*resultobj
= 0;
24550 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
24556 PyObject
* obj0
= 0 ;
24557 PyObject
* obj1
= 0 ;
24558 char * kwnames
[] = {
24559 (char *) "self",(char *) "flag", NULL
24562 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_EnablePrinter",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24563 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
24564 if (!SWIG_IsOK(res1
)) {
24565 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_EnablePrinter" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
24567 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
24568 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
24569 if (!SWIG_IsOK(ecode2
)) {
24570 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PageSetupDialogData_EnablePrinter" "', expected argument " "2"" of type '" "bool""'");
24572 arg2
= static_cast< bool >(val2
);
24574 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24575 (arg1
)->EnablePrinter(arg2
);
24576 wxPyEndAllowThreads(__tstate
);
24577 if (PyErr_Occurred()) SWIG_fail
;
24579 resultobj
= SWIG_Py_Void();
24586 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_GetDefaultMinMargins(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24587 PyObject
*resultobj
= 0;
24588 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
24592 PyObject
*swig_obj
[1] ;
24594 if (!args
) SWIG_fail
;
24595 swig_obj
[0] = args
;
24596 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
24597 if (!SWIG_IsOK(res1
)) {
24598 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_GetDefaultMinMargins" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
24600 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
24602 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24603 result
= (bool)(arg1
)->GetDefaultMinMargins();
24604 wxPyEndAllowThreads(__tstate
);
24605 if (PyErr_Occurred()) SWIG_fail
;
24608 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24616 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_GetEnableMargins(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24617 PyObject
*resultobj
= 0;
24618 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
24622 PyObject
*swig_obj
[1] ;
24624 if (!args
) SWIG_fail
;
24625 swig_obj
[0] = args
;
24626 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
24627 if (!SWIG_IsOK(res1
)) {
24628 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_GetEnableMargins" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
24630 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
24632 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24633 result
= (bool)(arg1
)->GetEnableMargins();
24634 wxPyEndAllowThreads(__tstate
);
24635 if (PyErr_Occurred()) SWIG_fail
;
24638 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24646 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_GetEnableOrientation(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24647 PyObject
*resultobj
= 0;
24648 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
24652 PyObject
*swig_obj
[1] ;
24654 if (!args
) SWIG_fail
;
24655 swig_obj
[0] = args
;
24656 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
24657 if (!SWIG_IsOK(res1
)) {
24658 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_GetEnableOrientation" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
24660 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
24662 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24663 result
= (bool)(arg1
)->GetEnableOrientation();
24664 wxPyEndAllowThreads(__tstate
);
24665 if (PyErr_Occurred()) SWIG_fail
;
24668 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24676 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_GetEnablePaper(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24677 PyObject
*resultobj
= 0;
24678 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
24682 PyObject
*swig_obj
[1] ;
24684 if (!args
) SWIG_fail
;
24685 swig_obj
[0] = args
;
24686 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
24687 if (!SWIG_IsOK(res1
)) {
24688 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_GetEnablePaper" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
24690 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
24692 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24693 result
= (bool)(arg1
)->GetEnablePaper();
24694 wxPyEndAllowThreads(__tstate
);
24695 if (PyErr_Occurred()) SWIG_fail
;
24698 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24706 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_GetEnablePrinter(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24707 PyObject
*resultobj
= 0;
24708 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
24712 PyObject
*swig_obj
[1] ;
24714 if (!args
) SWIG_fail
;
24715 swig_obj
[0] = args
;
24716 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
24717 if (!SWIG_IsOK(res1
)) {
24718 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_GetEnablePrinter" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
24720 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
24722 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24723 result
= (bool)(arg1
)->GetEnablePrinter();
24724 wxPyEndAllowThreads(__tstate
);
24725 if (PyErr_Occurred()) SWIG_fail
;
24728 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24736 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_GetEnableHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24737 PyObject
*resultobj
= 0;
24738 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
24742 PyObject
*swig_obj
[1] ;
24744 if (!args
) SWIG_fail
;
24745 swig_obj
[0] = args
;
24746 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
24747 if (!SWIG_IsOK(res1
)) {
24748 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_GetEnableHelp" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
24750 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
24752 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24753 result
= (bool)(arg1
)->GetEnableHelp();
24754 wxPyEndAllowThreads(__tstate
);
24755 if (PyErr_Occurred()) SWIG_fail
;
24758 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24766 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_GetDefaultInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24767 PyObject
*resultobj
= 0;
24768 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
24772 PyObject
*swig_obj
[1] ;
24774 if (!args
) SWIG_fail
;
24775 swig_obj
[0] = args
;
24776 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
24777 if (!SWIG_IsOK(res1
)) {
24778 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_GetDefaultInfo" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
24780 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
24782 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24783 result
= (bool)(arg1
)->GetDefaultInfo();
24784 wxPyEndAllowThreads(__tstate
);
24785 if (PyErr_Occurred()) SWIG_fail
;
24788 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24796 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_GetMarginTopLeft(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24797 PyObject
*resultobj
= 0;
24798 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
24802 PyObject
*swig_obj
[1] ;
24804 if (!args
) SWIG_fail
;
24805 swig_obj
[0] = args
;
24806 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
24807 if (!SWIG_IsOK(res1
)) {
24808 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_GetMarginTopLeft" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
24810 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
24812 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24813 result
= (arg1
)->GetMarginTopLeft();
24814 wxPyEndAllowThreads(__tstate
);
24815 if (PyErr_Occurred()) SWIG_fail
;
24817 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
24824 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_GetMarginBottomRight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24825 PyObject
*resultobj
= 0;
24826 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
24830 PyObject
*swig_obj
[1] ;
24832 if (!args
) SWIG_fail
;
24833 swig_obj
[0] = args
;
24834 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
24835 if (!SWIG_IsOK(res1
)) {
24836 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_GetMarginBottomRight" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
24838 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
24840 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24841 result
= (arg1
)->GetMarginBottomRight();
24842 wxPyEndAllowThreads(__tstate
);
24843 if (PyErr_Occurred()) SWIG_fail
;
24845 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
24852 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_GetMinMarginTopLeft(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24853 PyObject
*resultobj
= 0;
24854 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
24858 PyObject
*swig_obj
[1] ;
24860 if (!args
) SWIG_fail
;
24861 swig_obj
[0] = args
;
24862 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
24863 if (!SWIG_IsOK(res1
)) {
24864 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_GetMinMarginTopLeft" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
24866 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
24868 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24869 result
= (arg1
)->GetMinMarginTopLeft();
24870 wxPyEndAllowThreads(__tstate
);
24871 if (PyErr_Occurred()) SWIG_fail
;
24873 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
24880 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_GetMinMarginBottomRight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24881 PyObject
*resultobj
= 0;
24882 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
24886 PyObject
*swig_obj
[1] ;
24888 if (!args
) SWIG_fail
;
24889 swig_obj
[0] = args
;
24890 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
24891 if (!SWIG_IsOK(res1
)) {
24892 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_GetMinMarginBottomRight" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
24894 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
24896 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24897 result
= (arg1
)->GetMinMarginBottomRight();
24898 wxPyEndAllowThreads(__tstate
);
24899 if (PyErr_Occurred()) SWIG_fail
;
24901 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
24908 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_GetPaperId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24909 PyObject
*resultobj
= 0;
24910 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
24911 wxPaperSize result
;
24914 PyObject
*swig_obj
[1] ;
24916 if (!args
) SWIG_fail
;
24917 swig_obj
[0] = args
;
24918 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
24919 if (!SWIG_IsOK(res1
)) {
24920 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_GetPaperId" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
24922 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
24924 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24925 result
= (wxPaperSize
)(arg1
)->GetPaperId();
24926 wxPyEndAllowThreads(__tstate
);
24927 if (PyErr_Occurred()) SWIG_fail
;
24929 resultobj
= SWIG_From_int(static_cast< int >(result
));
24936 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_GetPaperSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24937 PyObject
*resultobj
= 0;
24938 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
24942 PyObject
*swig_obj
[1] ;
24944 if (!args
) SWIG_fail
;
24945 swig_obj
[0] = args
;
24946 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
24947 if (!SWIG_IsOK(res1
)) {
24948 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_GetPaperSize" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
24950 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
24952 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24953 result
= (arg1
)->GetPaperSize();
24954 wxPyEndAllowThreads(__tstate
);
24955 if (PyErr_Occurred()) SWIG_fail
;
24957 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
24964 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_GetPrintData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24965 PyObject
*resultobj
= 0;
24966 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
24967 wxPrintData
*result
= 0 ;
24970 PyObject
*swig_obj
[1] ;
24972 if (!args
) SWIG_fail
;
24973 swig_obj
[0] = args
;
24974 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
24975 if (!SWIG_IsOK(res1
)) {
24976 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_GetPrintData" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
24978 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
24980 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24982 wxPrintData
&_result_ref
= (arg1
)->GetPrintData();
24983 result
= (wxPrintData
*) &_result_ref
;
24985 wxPyEndAllowThreads(__tstate
);
24986 if (PyErr_Occurred()) SWIG_fail
;
24988 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPrintData
, 0 | 0 );
24995 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_Ok(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24996 PyObject
*resultobj
= 0;
24997 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
25001 PyObject
*swig_obj
[1] ;
25003 if (!args
) SWIG_fail
;
25004 swig_obj
[0] = args
;
25005 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
25006 if (!SWIG_IsOK(res1
)) {
25007 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_Ok" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25009 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
25011 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25012 result
= (bool)(arg1
)->Ok();
25013 wxPyEndAllowThreads(__tstate
);
25014 if (PyErr_Occurred()) SWIG_fail
;
25017 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25025 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_SetDefaultInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25026 PyObject
*resultobj
= 0;
25027 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
25033 PyObject
* obj0
= 0 ;
25034 PyObject
* obj1
= 0 ;
25035 char * kwnames
[] = {
25036 (char *) "self",(char *) "flag", NULL
25039 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetDefaultInfo",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25040 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
25041 if (!SWIG_IsOK(res1
)) {
25042 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_SetDefaultInfo" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25044 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
25045 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
25046 if (!SWIG_IsOK(ecode2
)) {
25047 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PageSetupDialogData_SetDefaultInfo" "', expected argument " "2"" of type '" "bool""'");
25049 arg2
= static_cast< bool >(val2
);
25051 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25052 (arg1
)->SetDefaultInfo(arg2
);
25053 wxPyEndAllowThreads(__tstate
);
25054 if (PyErr_Occurred()) SWIG_fail
;
25056 resultobj
= SWIG_Py_Void();
25063 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_SetDefaultMinMargins(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25064 PyObject
*resultobj
= 0;
25065 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
25071 PyObject
* obj0
= 0 ;
25072 PyObject
* obj1
= 0 ;
25073 char * kwnames
[] = {
25074 (char *) "self",(char *) "flag", NULL
25077 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetDefaultMinMargins",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25078 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
25079 if (!SWIG_IsOK(res1
)) {
25080 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_SetDefaultMinMargins" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25082 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
25083 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
25084 if (!SWIG_IsOK(ecode2
)) {
25085 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PageSetupDialogData_SetDefaultMinMargins" "', expected argument " "2"" of type '" "bool""'");
25087 arg2
= static_cast< bool >(val2
);
25089 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25090 (arg1
)->SetDefaultMinMargins(arg2
);
25091 wxPyEndAllowThreads(__tstate
);
25092 if (PyErr_Occurred()) SWIG_fail
;
25094 resultobj
= SWIG_Py_Void();
25101 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_SetMarginTopLeft(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25102 PyObject
*resultobj
= 0;
25103 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
25104 wxPoint
*arg2
= 0 ;
25108 PyObject
* obj0
= 0 ;
25109 PyObject
* obj1
= 0 ;
25110 char * kwnames
[] = {
25111 (char *) "self",(char *) "pt", NULL
25114 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetMarginTopLeft",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25115 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
25116 if (!SWIG_IsOK(res1
)) {
25117 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_SetMarginTopLeft" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25119 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
25122 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
25125 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25126 (arg1
)->SetMarginTopLeft((wxPoint
const &)*arg2
);
25127 wxPyEndAllowThreads(__tstate
);
25128 if (PyErr_Occurred()) SWIG_fail
;
25130 resultobj
= SWIG_Py_Void();
25137 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_SetMarginBottomRight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25138 PyObject
*resultobj
= 0;
25139 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
25140 wxPoint
*arg2
= 0 ;
25144 PyObject
* obj0
= 0 ;
25145 PyObject
* obj1
= 0 ;
25146 char * kwnames
[] = {
25147 (char *) "self",(char *) "pt", NULL
25150 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetMarginBottomRight",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25151 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
25152 if (!SWIG_IsOK(res1
)) {
25153 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_SetMarginBottomRight" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25155 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
25158 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
25161 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25162 (arg1
)->SetMarginBottomRight((wxPoint
const &)*arg2
);
25163 wxPyEndAllowThreads(__tstate
);
25164 if (PyErr_Occurred()) SWIG_fail
;
25166 resultobj
= SWIG_Py_Void();
25173 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_SetMinMarginTopLeft(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25174 PyObject
*resultobj
= 0;
25175 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
25176 wxPoint
*arg2
= 0 ;
25180 PyObject
* obj0
= 0 ;
25181 PyObject
* obj1
= 0 ;
25182 char * kwnames
[] = {
25183 (char *) "self",(char *) "pt", NULL
25186 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetMinMarginTopLeft",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25187 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
25188 if (!SWIG_IsOK(res1
)) {
25189 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_SetMinMarginTopLeft" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25191 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
25194 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
25197 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25198 (arg1
)->SetMinMarginTopLeft((wxPoint
const &)*arg2
);
25199 wxPyEndAllowThreads(__tstate
);
25200 if (PyErr_Occurred()) SWIG_fail
;
25202 resultobj
= SWIG_Py_Void();
25209 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_SetMinMarginBottomRight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25210 PyObject
*resultobj
= 0;
25211 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
25212 wxPoint
*arg2
= 0 ;
25216 PyObject
* obj0
= 0 ;
25217 PyObject
* obj1
= 0 ;
25218 char * kwnames
[] = {
25219 (char *) "self",(char *) "pt", NULL
25222 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetMinMarginBottomRight",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25223 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
25224 if (!SWIG_IsOK(res1
)) {
25225 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_SetMinMarginBottomRight" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25227 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
25230 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
25233 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25234 (arg1
)->SetMinMarginBottomRight((wxPoint
const &)*arg2
);
25235 wxPyEndAllowThreads(__tstate
);
25236 if (PyErr_Occurred()) SWIG_fail
;
25238 resultobj
= SWIG_Py_Void();
25245 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_SetPaperId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25246 PyObject
*resultobj
= 0;
25247 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
25253 PyObject
* obj0
= 0 ;
25254 PyObject
* obj1
= 0 ;
25255 char * kwnames
[] = {
25256 (char *) "self",(char *) "id", NULL
25259 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetPaperId",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25260 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
25261 if (!SWIG_IsOK(res1
)) {
25262 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_SetPaperId" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25264 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
25265 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
25266 if (!SWIG_IsOK(ecode2
)) {
25267 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PageSetupDialogData_SetPaperId" "', expected argument " "2"" of type '" "wxPaperSize""'");
25269 arg2
= static_cast< wxPaperSize
>(val2
);
25271 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25272 (arg1
)->SetPaperId(arg2
);
25273 wxPyEndAllowThreads(__tstate
);
25274 if (PyErr_Occurred()) SWIG_fail
;
25276 resultobj
= SWIG_Py_Void();
25283 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_SetPaperSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25284 PyObject
*resultobj
= 0;
25285 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
25290 PyObject
* obj0
= 0 ;
25291 PyObject
* obj1
= 0 ;
25292 char * kwnames
[] = {
25293 (char *) "self",(char *) "size", NULL
25296 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetPaperSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25297 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
25298 if (!SWIG_IsOK(res1
)) {
25299 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_SetPaperSize" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25301 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
25304 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
25307 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25308 (arg1
)->SetPaperSize((wxSize
const &)*arg2
);
25309 wxPyEndAllowThreads(__tstate
);
25310 if (PyErr_Occurred()) SWIG_fail
;
25312 resultobj
= SWIG_Py_Void();
25319 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_SetPrintData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25320 PyObject
*resultobj
= 0;
25321 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
25322 wxPrintData
*arg2
= 0 ;
25327 PyObject
* obj0
= 0 ;
25328 PyObject
* obj1
= 0 ;
25329 char * kwnames
[] = {
25330 (char *) "self",(char *) "printData", NULL
25333 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetPrintData",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25334 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
25335 if (!SWIG_IsOK(res1
)) {
25336 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_SetPrintData" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25338 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
25339 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxPrintData
, 0 | 0);
25340 if (!SWIG_IsOK(res2
)) {
25341 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PageSetupDialogData_SetPrintData" "', expected argument " "2"" of type '" "wxPrintData const &""'");
25344 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PageSetupDialogData_SetPrintData" "', expected argument " "2"" of type '" "wxPrintData const &""'");
25346 arg2
= reinterpret_cast< wxPrintData
* >(argp2
);
25348 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25349 (arg1
)->SetPrintData((wxPrintData
const &)*arg2
);
25350 wxPyEndAllowThreads(__tstate
);
25351 if (PyErr_Occurred()) SWIG_fail
;
25353 resultobj
= SWIG_Py_Void();
25360 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_CalculateIdFromPaperSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25361 PyObject
*resultobj
= 0;
25362 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
25365 PyObject
*swig_obj
[1] ;
25367 if (!args
) SWIG_fail
;
25368 swig_obj
[0] = args
;
25369 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
25370 if (!SWIG_IsOK(res1
)) {
25371 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_CalculateIdFromPaperSize" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25373 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
25375 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25376 (arg1
)->CalculateIdFromPaperSize();
25377 wxPyEndAllowThreads(__tstate
);
25378 if (PyErr_Occurred()) SWIG_fail
;
25380 resultobj
= SWIG_Py_Void();
25387 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_CalculatePaperSizeFromId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25388 PyObject
*resultobj
= 0;
25389 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
25392 PyObject
*swig_obj
[1] ;
25394 if (!args
) SWIG_fail
;
25395 swig_obj
[0] = args
;
25396 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
25397 if (!SWIG_IsOK(res1
)) {
25398 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_CalculatePaperSizeFromId" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25400 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
25402 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25403 (arg1
)->CalculatePaperSizeFromId();
25404 wxPyEndAllowThreads(__tstate
);
25405 if (PyErr_Occurred()) SWIG_fail
;
25407 resultobj
= SWIG_Py_Void();
25414 SWIGINTERN PyObject
*PageSetupDialogData_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25416 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
25417 SWIG_TypeNewClientData(SWIGTYPE_p_wxPageSetupDialogData
, SWIG_NewClientData(obj
));
25418 return SWIG_Py_Void();
25421 SWIGINTERN PyObject
*PageSetupDialogData_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25422 return SWIG_Python_InitShadowInstance(args
);
25425 SWIGINTERN PyObject
*_wrap_new_PageSetupDialog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25426 PyObject
*resultobj
= 0;
25427 wxWindow
*arg1
= (wxWindow
*) 0 ;
25428 wxPageSetupDialogData
*arg2
= (wxPageSetupDialogData
*) NULL
;
25429 wxPageSetupDialog
*result
= 0 ;
25434 PyObject
* obj0
= 0 ;
25435 PyObject
* obj1
= 0 ;
25436 char * kwnames
[] = {
25437 (char *) "parent",(char *) "data", NULL
25440 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_PageSetupDialog",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25441 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
25442 if (!SWIG_IsOK(res1
)) {
25443 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PageSetupDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
25445 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
25447 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
25448 if (!SWIG_IsOK(res2
)) {
25449 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_PageSetupDialog" "', expected argument " "2"" of type '" "wxPageSetupDialogData *""'");
25451 arg2
= reinterpret_cast< wxPageSetupDialogData
* >(argp2
);
25454 if (!wxPyCheckForApp()) SWIG_fail
;
25455 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25456 result
= (wxPageSetupDialog
*)new wxPageSetupDialog(arg1
,arg2
);
25457 wxPyEndAllowThreads(__tstate
);
25458 if (PyErr_Occurred()) SWIG_fail
;
25460 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPageSetupDialog
, SWIG_POINTER_NEW
| 0 );
25467 SWIGINTERN PyObject
*_wrap_delete_PageSetupDialog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25468 PyObject
*resultobj
= 0;
25469 wxPageSetupDialog
*arg1
= (wxPageSetupDialog
*) 0 ;
25472 PyObject
*swig_obj
[1] ;
25474 if (!args
) SWIG_fail
;
25475 swig_obj
[0] = args
;
25476 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialog
, SWIG_POINTER_DISOWN
| 0 );
25477 if (!SWIG_IsOK(res1
)) {
25478 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_PageSetupDialog" "', expected argument " "1"" of type '" "wxPageSetupDialog *""'");
25480 arg1
= reinterpret_cast< wxPageSetupDialog
* >(argp1
);
25482 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25485 wxPyEndAllowThreads(__tstate
);
25486 if (PyErr_Occurred()) SWIG_fail
;
25488 resultobj
= SWIG_Py_Void();
25495 SWIGINTERN PyObject
*_wrap_PageSetupDialog_GetPageSetupData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25496 PyObject
*resultobj
= 0;
25497 wxPageSetupDialog
*arg1
= (wxPageSetupDialog
*) 0 ;
25498 wxPageSetupDialogData
*result
= 0 ;
25501 PyObject
*swig_obj
[1] ;
25503 if (!args
) SWIG_fail
;
25504 swig_obj
[0] = args
;
25505 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialog
, 0 | 0 );
25506 if (!SWIG_IsOK(res1
)) {
25507 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialog_GetPageSetupData" "', expected argument " "1"" of type '" "wxPageSetupDialog *""'");
25509 arg1
= reinterpret_cast< wxPageSetupDialog
* >(argp1
);
25511 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25513 wxPageSetupDialogData
&_result_ref
= (arg1
)->GetPageSetupData();
25514 result
= (wxPageSetupDialogData
*) &_result_ref
;
25516 wxPyEndAllowThreads(__tstate
);
25517 if (PyErr_Occurred()) SWIG_fail
;
25519 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
25526 SWIGINTERN PyObject
*_wrap_PageSetupDialog_GetPageSetupDialogData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25527 PyObject
*resultobj
= 0;
25528 wxPageSetupDialog
*arg1
= (wxPageSetupDialog
*) 0 ;
25529 wxPageSetupDialogData
*result
= 0 ;
25532 PyObject
*swig_obj
[1] ;
25534 if (!args
) SWIG_fail
;
25535 swig_obj
[0] = args
;
25536 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialog
, 0 | 0 );
25537 if (!SWIG_IsOK(res1
)) {
25538 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialog_GetPageSetupDialogData" "', expected argument " "1"" of type '" "wxPageSetupDialog *""'");
25540 arg1
= reinterpret_cast< wxPageSetupDialog
* >(argp1
);
25542 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25544 wxPageSetupDialogData
&_result_ref
= (arg1
)->GetPageSetupDialogData();
25545 result
= (wxPageSetupDialogData
*) &_result_ref
;
25547 wxPyEndAllowThreads(__tstate
);
25548 if (PyErr_Occurred()) SWIG_fail
;
25550 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
25557 SWIGINTERN PyObject
*_wrap_PageSetupDialog_ShowModal(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25558 PyObject
*resultobj
= 0;
25559 wxPageSetupDialog
*arg1
= (wxPageSetupDialog
*) 0 ;
25563 PyObject
*swig_obj
[1] ;
25565 if (!args
) SWIG_fail
;
25566 swig_obj
[0] = args
;
25567 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialog
, 0 | 0 );
25568 if (!SWIG_IsOK(res1
)) {
25569 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialog_ShowModal" "', expected argument " "1"" of type '" "wxPageSetupDialog *""'");
25571 arg1
= reinterpret_cast< wxPageSetupDialog
* >(argp1
);
25573 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25574 result
= (int)(arg1
)->ShowModal();
25575 wxPyEndAllowThreads(__tstate
);
25576 if (PyErr_Occurred()) SWIG_fail
;
25578 resultobj
= SWIG_From_int(static_cast< int >(result
));
25585 SWIGINTERN PyObject
*PageSetupDialog_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25587 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
25588 SWIG_TypeNewClientData(SWIGTYPE_p_wxPageSetupDialog
, SWIG_NewClientData(obj
));
25589 return SWIG_Py_Void();
25592 SWIGINTERN PyObject
*PageSetupDialog_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25593 return SWIG_Python_InitShadowInstance(args
);
25596 SWIGINTERN PyObject
*_wrap_new_PrintDialogData__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**SWIGUNUSEDPARM(swig_obj
)) {
25597 PyObject
*resultobj
= 0;
25598 wxPrintDialogData
*result
= 0 ;
25600 if ((nobjs
< 0) || (nobjs
> 0)) SWIG_fail
;
25602 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25603 result
= (wxPrintDialogData
*)new wxPrintDialogData();
25604 wxPyEndAllowThreads(__tstate
);
25605 if (PyErr_Occurred()) SWIG_fail
;
25607 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPrintDialogData
, SWIG_POINTER_NEW
| 0 );
25614 SWIGINTERN PyObject
*_wrap_new_PrintDialogData__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
25615 PyObject
*resultobj
= 0;
25616 wxPrintData
*arg1
= 0 ;
25617 wxPrintDialogData
*result
= 0 ;
25621 if ((nobjs
< 1) || (nobjs
> 1)) SWIG_fail
;
25622 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxPrintData
, 0 | 0);
25623 if (!SWIG_IsOK(res1
)) {
25624 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PrintDialogData" "', expected argument " "1"" of type '" "wxPrintData const &""'");
25627 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_PrintDialogData" "', expected argument " "1"" of type '" "wxPrintData const &""'");
25629 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
25631 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25632 result
= (wxPrintDialogData
*)new wxPrintDialogData((wxPrintData
const &)*arg1
);
25633 wxPyEndAllowThreads(__tstate
);
25634 if (PyErr_Occurred()) SWIG_fail
;
25636 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPrintDialogData
, SWIG_POINTER_NEW
| 0 );
25643 SWIGINTERN PyObject
*_wrap_new_PrintDialogData__SWIG_2(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
25644 PyObject
*resultobj
= 0;
25645 wxPrintDialogData
*arg1
= 0 ;
25646 wxPrintDialogData
*result
= 0 ;
25650 if ((nobjs
< 1) || (nobjs
> 1)) SWIG_fail
;
25651 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxPrintDialogData
, 0 | 0);
25652 if (!SWIG_IsOK(res1
)) {
25653 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PrintDialogData" "', expected argument " "1"" of type '" "wxPrintDialogData const &""'");
25656 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_PrintDialogData" "', expected argument " "1"" of type '" "wxPrintDialogData const &""'");
25658 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
25660 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25661 result
= (wxPrintDialogData
*)new wxPrintDialogData((wxPrintDialogData
const &)*arg1
);
25662 wxPyEndAllowThreads(__tstate
);
25663 if (PyErr_Occurred()) SWIG_fail
;
25665 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPrintDialogData
, SWIG_POINTER_NEW
| 0 );
25672 SWIGINTERN PyObject
*_wrap_new_PrintDialogData(PyObject
*self
, PyObject
*args
) {
25676 if (!(argc
= SWIG_Python_UnpackTuple(args
,"new_PrintDialogData",0,1,argv
))) SWIG_fail
;
25679 return _wrap_new_PrintDialogData__SWIG_0(self
, argc
, argv
);
25684 int res
= SWIG_ConvertPtr(argv
[0], 0, SWIGTYPE_p_wxPrintData
, 0);
25685 _v
= SWIG_CheckState(res
);
25687 if (!_v
) goto check_2
;
25688 return _wrap_new_PrintDialogData__SWIG_1(self
, argc
, argv
);
25693 return _wrap_new_PrintDialogData__SWIG_2(self
, argc
, argv
);
25697 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'new_PrintDialogData'");
25702 SWIGINTERN PyObject
*_wrap_delete_PrintDialogData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25703 PyObject
*resultobj
= 0;
25704 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
25707 PyObject
*swig_obj
[1] ;
25709 if (!args
) SWIG_fail
;
25710 swig_obj
[0] = args
;
25711 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialogData
, SWIG_POINTER_DISOWN
| 0 );
25712 if (!SWIG_IsOK(res1
)) {
25713 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_PrintDialogData" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
25715 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
25717 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25720 wxPyEndAllowThreads(__tstate
);
25721 if (PyErr_Occurred()) SWIG_fail
;
25723 resultobj
= SWIG_Py_Void();
25730 SWIGINTERN PyObject
*_wrap_PrintDialogData_GetFromPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25731 PyObject
*resultobj
= 0;
25732 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
25736 PyObject
*swig_obj
[1] ;
25738 if (!args
) SWIG_fail
;
25739 swig_obj
[0] = args
;
25740 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
25741 if (!SWIG_IsOK(res1
)) {
25742 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_GetFromPage" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
25744 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
25746 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25747 result
= (int)((wxPrintDialogData
const *)arg1
)->GetFromPage();
25748 wxPyEndAllowThreads(__tstate
);
25749 if (PyErr_Occurred()) SWIG_fail
;
25751 resultobj
= SWIG_From_int(static_cast< int >(result
));
25758 SWIGINTERN PyObject
*_wrap_PrintDialogData_GetToPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25759 PyObject
*resultobj
= 0;
25760 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
25764 PyObject
*swig_obj
[1] ;
25766 if (!args
) SWIG_fail
;
25767 swig_obj
[0] = args
;
25768 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
25769 if (!SWIG_IsOK(res1
)) {
25770 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_GetToPage" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
25772 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
25774 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25775 result
= (int)((wxPrintDialogData
const *)arg1
)->GetToPage();
25776 wxPyEndAllowThreads(__tstate
);
25777 if (PyErr_Occurred()) SWIG_fail
;
25779 resultobj
= SWIG_From_int(static_cast< int >(result
));
25786 SWIGINTERN PyObject
*_wrap_PrintDialogData_GetMinPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25787 PyObject
*resultobj
= 0;
25788 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
25792 PyObject
*swig_obj
[1] ;
25794 if (!args
) SWIG_fail
;
25795 swig_obj
[0] = args
;
25796 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
25797 if (!SWIG_IsOK(res1
)) {
25798 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_GetMinPage" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
25800 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
25802 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25803 result
= (int)((wxPrintDialogData
const *)arg1
)->GetMinPage();
25804 wxPyEndAllowThreads(__tstate
);
25805 if (PyErr_Occurred()) SWIG_fail
;
25807 resultobj
= SWIG_From_int(static_cast< int >(result
));
25814 SWIGINTERN PyObject
*_wrap_PrintDialogData_GetMaxPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25815 PyObject
*resultobj
= 0;
25816 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
25820 PyObject
*swig_obj
[1] ;
25822 if (!args
) SWIG_fail
;
25823 swig_obj
[0] = args
;
25824 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
25825 if (!SWIG_IsOK(res1
)) {
25826 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_GetMaxPage" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
25828 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
25830 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25831 result
= (int)((wxPrintDialogData
const *)arg1
)->GetMaxPage();
25832 wxPyEndAllowThreads(__tstate
);
25833 if (PyErr_Occurred()) SWIG_fail
;
25835 resultobj
= SWIG_From_int(static_cast< int >(result
));
25842 SWIGINTERN PyObject
*_wrap_PrintDialogData_GetNoCopies(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25843 PyObject
*resultobj
= 0;
25844 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
25848 PyObject
*swig_obj
[1] ;
25850 if (!args
) SWIG_fail
;
25851 swig_obj
[0] = args
;
25852 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
25853 if (!SWIG_IsOK(res1
)) {
25854 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_GetNoCopies" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
25856 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
25858 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25859 result
= (int)((wxPrintDialogData
const *)arg1
)->GetNoCopies();
25860 wxPyEndAllowThreads(__tstate
);
25861 if (PyErr_Occurred()) SWIG_fail
;
25863 resultobj
= SWIG_From_int(static_cast< int >(result
));
25870 SWIGINTERN PyObject
*_wrap_PrintDialogData_GetAllPages(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25871 PyObject
*resultobj
= 0;
25872 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
25876 PyObject
*swig_obj
[1] ;
25878 if (!args
) SWIG_fail
;
25879 swig_obj
[0] = args
;
25880 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
25881 if (!SWIG_IsOK(res1
)) {
25882 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_GetAllPages" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
25884 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
25886 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25887 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetAllPages();
25888 wxPyEndAllowThreads(__tstate
);
25889 if (PyErr_Occurred()) SWIG_fail
;
25892 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25900 SWIGINTERN PyObject
*_wrap_PrintDialogData_GetSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25901 PyObject
*resultobj
= 0;
25902 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
25906 PyObject
*swig_obj
[1] ;
25908 if (!args
) SWIG_fail
;
25909 swig_obj
[0] = args
;
25910 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
25911 if (!SWIG_IsOK(res1
)) {
25912 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_GetSelection" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
25914 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
25916 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25917 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetSelection();
25918 wxPyEndAllowThreads(__tstate
);
25919 if (PyErr_Occurred()) SWIG_fail
;
25922 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25930 SWIGINTERN PyObject
*_wrap_PrintDialogData_GetCollate(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25931 PyObject
*resultobj
= 0;
25932 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
25936 PyObject
*swig_obj
[1] ;
25938 if (!args
) SWIG_fail
;
25939 swig_obj
[0] = args
;
25940 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
25941 if (!SWIG_IsOK(res1
)) {
25942 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_GetCollate" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
25944 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
25946 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25947 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetCollate();
25948 wxPyEndAllowThreads(__tstate
);
25949 if (PyErr_Occurred()) SWIG_fail
;
25952 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25960 SWIGINTERN PyObject
*_wrap_PrintDialogData_GetPrintToFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25961 PyObject
*resultobj
= 0;
25962 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
25966 PyObject
*swig_obj
[1] ;
25968 if (!args
) SWIG_fail
;
25969 swig_obj
[0] = args
;
25970 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
25971 if (!SWIG_IsOK(res1
)) {
25972 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_GetPrintToFile" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
25974 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
25976 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25977 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetPrintToFile();
25978 wxPyEndAllowThreads(__tstate
);
25979 if (PyErr_Occurred()) SWIG_fail
;
25982 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25990 SWIGINTERN PyObject
*_wrap_PrintDialogData_SetFromPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25991 PyObject
*resultobj
= 0;
25992 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
25998 PyObject
* obj0
= 0 ;
25999 PyObject
* obj1
= 0 ;
26000 char * kwnames
[] = {
26001 (char *) "self",(char *) "v", NULL
26004 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetFromPage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26005 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
26006 if (!SWIG_IsOK(res1
)) {
26007 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_SetFromPage" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26009 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
26010 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
26011 if (!SWIG_IsOK(ecode2
)) {
26012 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintDialogData_SetFromPage" "', expected argument " "2"" of type '" "int""'");
26014 arg2
= static_cast< int >(val2
);
26016 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26017 (arg1
)->SetFromPage(arg2
);
26018 wxPyEndAllowThreads(__tstate
);
26019 if (PyErr_Occurred()) SWIG_fail
;
26021 resultobj
= SWIG_Py_Void();
26028 SWIGINTERN PyObject
*_wrap_PrintDialogData_SetToPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26029 PyObject
*resultobj
= 0;
26030 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
26036 PyObject
* obj0
= 0 ;
26037 PyObject
* obj1
= 0 ;
26038 char * kwnames
[] = {
26039 (char *) "self",(char *) "v", NULL
26042 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetToPage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26043 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
26044 if (!SWIG_IsOK(res1
)) {
26045 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_SetToPage" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26047 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
26048 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
26049 if (!SWIG_IsOK(ecode2
)) {
26050 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintDialogData_SetToPage" "', expected argument " "2"" of type '" "int""'");
26052 arg2
= static_cast< int >(val2
);
26054 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26055 (arg1
)->SetToPage(arg2
);
26056 wxPyEndAllowThreads(__tstate
);
26057 if (PyErr_Occurred()) SWIG_fail
;
26059 resultobj
= SWIG_Py_Void();
26066 SWIGINTERN PyObject
*_wrap_PrintDialogData_SetMinPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26067 PyObject
*resultobj
= 0;
26068 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
26074 PyObject
* obj0
= 0 ;
26075 PyObject
* obj1
= 0 ;
26076 char * kwnames
[] = {
26077 (char *) "self",(char *) "v", NULL
26080 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetMinPage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26081 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
26082 if (!SWIG_IsOK(res1
)) {
26083 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_SetMinPage" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26085 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
26086 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
26087 if (!SWIG_IsOK(ecode2
)) {
26088 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintDialogData_SetMinPage" "', expected argument " "2"" of type '" "int""'");
26090 arg2
= static_cast< int >(val2
);
26092 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26093 (arg1
)->SetMinPage(arg2
);
26094 wxPyEndAllowThreads(__tstate
);
26095 if (PyErr_Occurred()) SWIG_fail
;
26097 resultobj
= SWIG_Py_Void();
26104 SWIGINTERN PyObject
*_wrap_PrintDialogData_SetMaxPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26105 PyObject
*resultobj
= 0;
26106 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
26112 PyObject
* obj0
= 0 ;
26113 PyObject
* obj1
= 0 ;
26114 char * kwnames
[] = {
26115 (char *) "self",(char *) "v", NULL
26118 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetMaxPage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26119 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
26120 if (!SWIG_IsOK(res1
)) {
26121 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_SetMaxPage" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26123 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
26124 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
26125 if (!SWIG_IsOK(ecode2
)) {
26126 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintDialogData_SetMaxPage" "', expected argument " "2"" of type '" "int""'");
26128 arg2
= static_cast< int >(val2
);
26130 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26131 (arg1
)->SetMaxPage(arg2
);
26132 wxPyEndAllowThreads(__tstate
);
26133 if (PyErr_Occurred()) SWIG_fail
;
26135 resultobj
= SWIG_Py_Void();
26142 SWIGINTERN PyObject
*_wrap_PrintDialogData_SetNoCopies(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26143 PyObject
*resultobj
= 0;
26144 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
26150 PyObject
* obj0
= 0 ;
26151 PyObject
* obj1
= 0 ;
26152 char * kwnames
[] = {
26153 (char *) "self",(char *) "v", NULL
26156 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetNoCopies",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26157 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
26158 if (!SWIG_IsOK(res1
)) {
26159 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_SetNoCopies" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26161 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
26162 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
26163 if (!SWIG_IsOK(ecode2
)) {
26164 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintDialogData_SetNoCopies" "', expected argument " "2"" of type '" "int""'");
26166 arg2
= static_cast< int >(val2
);
26168 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26169 (arg1
)->SetNoCopies(arg2
);
26170 wxPyEndAllowThreads(__tstate
);
26171 if (PyErr_Occurred()) SWIG_fail
;
26173 resultobj
= SWIG_Py_Void();
26180 SWIGINTERN PyObject
*_wrap_PrintDialogData_SetAllPages(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26181 PyObject
*resultobj
= 0;
26182 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
26188 PyObject
* obj0
= 0 ;
26189 PyObject
* obj1
= 0 ;
26190 char * kwnames
[] = {
26191 (char *) "self",(char *) "flag", NULL
26194 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetAllPages",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26195 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
26196 if (!SWIG_IsOK(res1
)) {
26197 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_SetAllPages" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26199 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
26200 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
26201 if (!SWIG_IsOK(ecode2
)) {
26202 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintDialogData_SetAllPages" "', expected argument " "2"" of type '" "bool""'");
26204 arg2
= static_cast< bool >(val2
);
26206 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26207 (arg1
)->SetAllPages(arg2
);
26208 wxPyEndAllowThreads(__tstate
);
26209 if (PyErr_Occurred()) SWIG_fail
;
26211 resultobj
= SWIG_Py_Void();
26218 SWIGINTERN PyObject
*_wrap_PrintDialogData_SetSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26219 PyObject
*resultobj
= 0;
26220 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
26226 PyObject
* obj0
= 0 ;
26227 PyObject
* obj1
= 0 ;
26228 char * kwnames
[] = {
26229 (char *) "self",(char *) "flag", NULL
26232 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetSelection",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26233 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
26234 if (!SWIG_IsOK(res1
)) {
26235 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_SetSelection" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26237 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
26238 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
26239 if (!SWIG_IsOK(ecode2
)) {
26240 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintDialogData_SetSelection" "', expected argument " "2"" of type '" "bool""'");
26242 arg2
= static_cast< bool >(val2
);
26244 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26245 (arg1
)->SetSelection(arg2
);
26246 wxPyEndAllowThreads(__tstate
);
26247 if (PyErr_Occurred()) SWIG_fail
;
26249 resultobj
= SWIG_Py_Void();
26256 SWIGINTERN PyObject
*_wrap_PrintDialogData_SetCollate(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26257 PyObject
*resultobj
= 0;
26258 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
26264 PyObject
* obj0
= 0 ;
26265 PyObject
* obj1
= 0 ;
26266 char * kwnames
[] = {
26267 (char *) "self",(char *) "flag", NULL
26270 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetCollate",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26271 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
26272 if (!SWIG_IsOK(res1
)) {
26273 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_SetCollate" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26275 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
26276 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
26277 if (!SWIG_IsOK(ecode2
)) {
26278 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintDialogData_SetCollate" "', expected argument " "2"" of type '" "bool""'");
26280 arg2
= static_cast< bool >(val2
);
26282 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26283 (arg1
)->SetCollate(arg2
);
26284 wxPyEndAllowThreads(__tstate
);
26285 if (PyErr_Occurred()) SWIG_fail
;
26287 resultobj
= SWIG_Py_Void();
26294 SWIGINTERN PyObject
*_wrap_PrintDialogData_SetPrintToFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26295 PyObject
*resultobj
= 0;
26296 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
26302 PyObject
* obj0
= 0 ;
26303 PyObject
* obj1
= 0 ;
26304 char * kwnames
[] = {
26305 (char *) "self",(char *) "flag", NULL
26308 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetPrintToFile",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26309 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
26310 if (!SWIG_IsOK(res1
)) {
26311 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_SetPrintToFile" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26313 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
26314 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
26315 if (!SWIG_IsOK(ecode2
)) {
26316 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintDialogData_SetPrintToFile" "', expected argument " "2"" of type '" "bool""'");
26318 arg2
= static_cast< bool >(val2
);
26320 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26321 (arg1
)->SetPrintToFile(arg2
);
26322 wxPyEndAllowThreads(__tstate
);
26323 if (PyErr_Occurred()) SWIG_fail
;
26325 resultobj
= SWIG_Py_Void();
26332 SWIGINTERN PyObject
*_wrap_PrintDialogData_EnablePrintToFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26333 PyObject
*resultobj
= 0;
26334 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
26340 PyObject
* obj0
= 0 ;
26341 PyObject
* obj1
= 0 ;
26342 char * kwnames
[] = {
26343 (char *) "self",(char *) "flag", NULL
26346 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_EnablePrintToFile",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26347 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
26348 if (!SWIG_IsOK(res1
)) {
26349 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_EnablePrintToFile" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26351 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
26352 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
26353 if (!SWIG_IsOK(ecode2
)) {
26354 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintDialogData_EnablePrintToFile" "', expected argument " "2"" of type '" "bool""'");
26356 arg2
= static_cast< bool >(val2
);
26358 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26359 (arg1
)->EnablePrintToFile(arg2
);
26360 wxPyEndAllowThreads(__tstate
);
26361 if (PyErr_Occurred()) SWIG_fail
;
26363 resultobj
= SWIG_Py_Void();
26370 SWIGINTERN PyObject
*_wrap_PrintDialogData_EnableSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26371 PyObject
*resultobj
= 0;
26372 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
26378 PyObject
* obj0
= 0 ;
26379 PyObject
* obj1
= 0 ;
26380 char * kwnames
[] = {
26381 (char *) "self",(char *) "flag", NULL
26384 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_EnableSelection",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26385 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
26386 if (!SWIG_IsOK(res1
)) {
26387 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_EnableSelection" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26389 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
26390 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
26391 if (!SWIG_IsOK(ecode2
)) {
26392 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintDialogData_EnableSelection" "', expected argument " "2"" of type '" "bool""'");
26394 arg2
= static_cast< bool >(val2
);
26396 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26397 (arg1
)->EnableSelection(arg2
);
26398 wxPyEndAllowThreads(__tstate
);
26399 if (PyErr_Occurred()) SWIG_fail
;
26401 resultobj
= SWIG_Py_Void();
26408 SWIGINTERN PyObject
*_wrap_PrintDialogData_EnablePageNumbers(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26409 PyObject
*resultobj
= 0;
26410 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
26416 PyObject
* obj0
= 0 ;
26417 PyObject
* obj1
= 0 ;
26418 char * kwnames
[] = {
26419 (char *) "self",(char *) "flag", NULL
26422 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_EnablePageNumbers",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26423 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
26424 if (!SWIG_IsOK(res1
)) {
26425 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_EnablePageNumbers" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26427 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
26428 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
26429 if (!SWIG_IsOK(ecode2
)) {
26430 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintDialogData_EnablePageNumbers" "', expected argument " "2"" of type '" "bool""'");
26432 arg2
= static_cast< bool >(val2
);
26434 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26435 (arg1
)->EnablePageNumbers(arg2
);
26436 wxPyEndAllowThreads(__tstate
);
26437 if (PyErr_Occurred()) SWIG_fail
;
26439 resultobj
= SWIG_Py_Void();
26446 SWIGINTERN PyObject
*_wrap_PrintDialogData_EnableHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26447 PyObject
*resultobj
= 0;
26448 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
26454 PyObject
* obj0
= 0 ;
26455 PyObject
* obj1
= 0 ;
26456 char * kwnames
[] = {
26457 (char *) "self",(char *) "flag", NULL
26460 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_EnableHelp",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26461 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
26462 if (!SWIG_IsOK(res1
)) {
26463 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_EnableHelp" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26465 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
26466 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
26467 if (!SWIG_IsOK(ecode2
)) {
26468 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintDialogData_EnableHelp" "', expected argument " "2"" of type '" "bool""'");
26470 arg2
= static_cast< bool >(val2
);
26472 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26473 (arg1
)->EnableHelp(arg2
);
26474 wxPyEndAllowThreads(__tstate
);
26475 if (PyErr_Occurred()) SWIG_fail
;
26477 resultobj
= SWIG_Py_Void();
26484 SWIGINTERN PyObject
*_wrap_PrintDialogData_GetEnablePrintToFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26485 PyObject
*resultobj
= 0;
26486 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
26490 PyObject
*swig_obj
[1] ;
26492 if (!args
) SWIG_fail
;
26493 swig_obj
[0] = args
;
26494 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
26495 if (!SWIG_IsOK(res1
)) {
26496 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_GetEnablePrintToFile" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
26498 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
26500 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26501 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetEnablePrintToFile();
26502 wxPyEndAllowThreads(__tstate
);
26503 if (PyErr_Occurred()) SWIG_fail
;
26506 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26514 SWIGINTERN PyObject
*_wrap_PrintDialogData_GetEnableSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26515 PyObject
*resultobj
= 0;
26516 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
26520 PyObject
*swig_obj
[1] ;
26522 if (!args
) SWIG_fail
;
26523 swig_obj
[0] = args
;
26524 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
26525 if (!SWIG_IsOK(res1
)) {
26526 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_GetEnableSelection" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
26528 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
26530 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26531 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetEnableSelection();
26532 wxPyEndAllowThreads(__tstate
);
26533 if (PyErr_Occurred()) SWIG_fail
;
26536 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26544 SWIGINTERN PyObject
*_wrap_PrintDialogData_GetEnablePageNumbers(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26545 PyObject
*resultobj
= 0;
26546 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
26550 PyObject
*swig_obj
[1] ;
26552 if (!args
) SWIG_fail
;
26553 swig_obj
[0] = args
;
26554 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
26555 if (!SWIG_IsOK(res1
)) {
26556 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_GetEnablePageNumbers" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
26558 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
26560 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26561 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetEnablePageNumbers();
26562 wxPyEndAllowThreads(__tstate
);
26563 if (PyErr_Occurred()) SWIG_fail
;
26566 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26574 SWIGINTERN PyObject
*_wrap_PrintDialogData_GetEnableHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26575 PyObject
*resultobj
= 0;
26576 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
26580 PyObject
*swig_obj
[1] ;
26582 if (!args
) SWIG_fail
;
26583 swig_obj
[0] = args
;
26584 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
26585 if (!SWIG_IsOK(res1
)) {
26586 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_GetEnableHelp" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
26588 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
26590 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26591 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetEnableHelp();
26592 wxPyEndAllowThreads(__tstate
);
26593 if (PyErr_Occurred()) SWIG_fail
;
26596 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26604 SWIGINTERN PyObject
*_wrap_PrintDialogData_Ok(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26605 PyObject
*resultobj
= 0;
26606 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
26610 PyObject
*swig_obj
[1] ;
26612 if (!args
) SWIG_fail
;
26613 swig_obj
[0] = args
;
26614 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
26615 if (!SWIG_IsOK(res1
)) {
26616 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_Ok" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
26618 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
26620 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26621 result
= (bool)((wxPrintDialogData
const *)arg1
)->Ok();
26622 wxPyEndAllowThreads(__tstate
);
26623 if (PyErr_Occurred()) SWIG_fail
;
26626 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26634 SWIGINTERN PyObject
*_wrap_PrintDialogData_GetPrintData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26635 PyObject
*resultobj
= 0;
26636 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
26637 wxPrintData
*result
= 0 ;
26640 PyObject
*swig_obj
[1] ;
26642 if (!args
) SWIG_fail
;
26643 swig_obj
[0] = args
;
26644 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
26645 if (!SWIG_IsOK(res1
)) {
26646 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_GetPrintData" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26648 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
26650 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26652 wxPrintData
&_result_ref
= (arg1
)->GetPrintData();
26653 result
= (wxPrintData
*) &_result_ref
;
26655 wxPyEndAllowThreads(__tstate
);
26656 if (PyErr_Occurred()) SWIG_fail
;
26658 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPrintData
, 0 | 0 );
26665 SWIGINTERN PyObject
*_wrap_PrintDialogData_SetPrintData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26666 PyObject
*resultobj
= 0;
26667 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
26668 wxPrintData
*arg2
= 0 ;
26673 PyObject
* obj0
= 0 ;
26674 PyObject
* obj1
= 0 ;
26675 char * kwnames
[] = {
26676 (char *) "self",(char *) "printData", NULL
26679 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetPrintData",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26680 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
26681 if (!SWIG_IsOK(res1
)) {
26682 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_SetPrintData" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26684 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
26685 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxPrintData
, 0 | 0);
26686 if (!SWIG_IsOK(res2
)) {
26687 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PrintDialogData_SetPrintData" "', expected argument " "2"" of type '" "wxPrintData const &""'");
26690 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PrintDialogData_SetPrintData" "', expected argument " "2"" of type '" "wxPrintData const &""'");
26692 arg2
= reinterpret_cast< wxPrintData
* >(argp2
);
26694 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26695 (arg1
)->SetPrintData((wxPrintData
const &)*arg2
);
26696 wxPyEndAllowThreads(__tstate
);
26697 if (PyErr_Occurred()) SWIG_fail
;
26699 resultobj
= SWIG_Py_Void();
26706 SWIGINTERN PyObject
*PrintDialogData_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26708 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
26709 SWIG_TypeNewClientData(SWIGTYPE_p_wxPrintDialogData
, SWIG_NewClientData(obj
));
26710 return SWIG_Py_Void();
26713 SWIGINTERN PyObject
*PrintDialogData_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26714 return SWIG_Python_InitShadowInstance(args
);
26717 SWIGINTERN PyObject
*_wrap_new_PrintDialog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26718 PyObject
*resultobj
= 0;
26719 wxWindow
*arg1
= (wxWindow
*) 0 ;
26720 wxPrintDialogData
*arg2
= (wxPrintDialogData
*) NULL
;
26721 wxPrintDialog
*result
= 0 ;
26726 PyObject
* obj0
= 0 ;
26727 PyObject
* obj1
= 0 ;
26728 char * kwnames
[] = {
26729 (char *) "parent",(char *) "data", NULL
26732 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_PrintDialog",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26733 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
26734 if (!SWIG_IsOK(res1
)) {
26735 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PrintDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
26737 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
26739 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
26740 if (!SWIG_IsOK(res2
)) {
26741 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_PrintDialog" "', expected argument " "2"" of type '" "wxPrintDialogData *""'");
26743 arg2
= reinterpret_cast< wxPrintDialogData
* >(argp2
);
26746 if (!wxPyCheckForApp()) SWIG_fail
;
26747 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26748 result
= (wxPrintDialog
*)new wxPrintDialog(arg1
,arg2
);
26749 wxPyEndAllowThreads(__tstate
);
26750 if (PyErr_Occurred()) SWIG_fail
;
26752 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPrintDialog
, SWIG_POINTER_NEW
| 0 );
26759 SWIGINTERN PyObject
*_wrap_delete_PrintDialog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26760 PyObject
*resultobj
= 0;
26761 wxPrintDialog
*arg1
= (wxPrintDialog
*) 0 ;
26764 PyObject
*swig_obj
[1] ;
26766 if (!args
) SWIG_fail
;
26767 swig_obj
[0] = args
;
26768 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialog
, SWIG_POINTER_DISOWN
| 0 );
26769 if (!SWIG_IsOK(res1
)) {
26770 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_PrintDialog" "', expected argument " "1"" of type '" "wxPrintDialog *""'");
26772 arg1
= reinterpret_cast< wxPrintDialog
* >(argp1
);
26774 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26777 wxPyEndAllowThreads(__tstate
);
26778 if (PyErr_Occurred()) SWIG_fail
;
26780 resultobj
= SWIG_Py_Void();
26787 SWIGINTERN PyObject
*_wrap_PrintDialog_ShowModal(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26788 PyObject
*resultobj
= 0;
26789 wxPrintDialog
*arg1
= (wxPrintDialog
*) 0 ;
26793 PyObject
*swig_obj
[1] ;
26795 if (!args
) SWIG_fail
;
26796 swig_obj
[0] = args
;
26797 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialog
, 0 | 0 );
26798 if (!SWIG_IsOK(res1
)) {
26799 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialog_ShowModal" "', expected argument " "1"" of type '" "wxPrintDialog *""'");
26801 arg1
= reinterpret_cast< wxPrintDialog
* >(argp1
);
26803 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26804 result
= (int)(arg1
)->ShowModal();
26805 wxPyEndAllowThreads(__tstate
);
26806 if (PyErr_Occurred()) SWIG_fail
;
26808 resultobj
= SWIG_From_int(static_cast< int >(result
));
26815 SWIGINTERN PyObject
*_wrap_PrintDialog_GetPrintDialogData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26816 PyObject
*resultobj
= 0;
26817 wxPrintDialog
*arg1
= (wxPrintDialog
*) 0 ;
26818 wxPrintDialogData
*result
= 0 ;
26821 PyObject
*swig_obj
[1] ;
26823 if (!args
) SWIG_fail
;
26824 swig_obj
[0] = args
;
26825 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialog
, 0 | 0 );
26826 if (!SWIG_IsOK(res1
)) {
26827 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialog_GetPrintDialogData" "', expected argument " "1"" of type '" "wxPrintDialog *""'");
26829 arg1
= reinterpret_cast< wxPrintDialog
* >(argp1
);
26831 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26833 wxPrintDialogData
&_result_ref
= (arg1
)->GetPrintDialogData();
26834 result
= (wxPrintDialogData
*) &_result_ref
;
26836 wxPyEndAllowThreads(__tstate
);
26837 if (PyErr_Occurred()) SWIG_fail
;
26839 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
26846 SWIGINTERN PyObject
*_wrap_PrintDialog_GetPrintData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26847 PyObject
*resultobj
= 0;
26848 wxPrintDialog
*arg1
= (wxPrintDialog
*) 0 ;
26849 wxPrintData
*result
= 0 ;
26852 PyObject
*swig_obj
[1] ;
26854 if (!args
) SWIG_fail
;
26855 swig_obj
[0] = args
;
26856 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialog
, 0 | 0 );
26857 if (!SWIG_IsOK(res1
)) {
26858 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialog_GetPrintData" "', expected argument " "1"" of type '" "wxPrintDialog *""'");
26860 arg1
= reinterpret_cast< wxPrintDialog
* >(argp1
);
26862 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26864 wxPrintData
&_result_ref
= (arg1
)->GetPrintData();
26865 result
= (wxPrintData
*) &_result_ref
;
26867 wxPyEndAllowThreads(__tstate
);
26868 if (PyErr_Occurred()) SWIG_fail
;
26870 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPrintData
, 0 | 0 );
26877 SWIGINTERN PyObject
*_wrap_PrintDialog_GetPrintDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26878 PyObject
*resultobj
= 0;
26879 wxPrintDialog
*arg1
= (wxPrintDialog
*) 0 ;
26883 PyObject
*swig_obj
[1] ;
26885 if (!args
) SWIG_fail
;
26886 swig_obj
[0] = args
;
26887 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialog
, 0 | 0 );
26888 if (!SWIG_IsOK(res1
)) {
26889 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialog_GetPrintDC" "', expected argument " "1"" of type '" "wxPrintDialog *""'");
26891 arg1
= reinterpret_cast< wxPrintDialog
* >(argp1
);
26893 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26894 result
= (wxDC
*)(arg1
)->GetPrintDC();
26895 wxPyEndAllowThreads(__tstate
);
26896 if (PyErr_Occurred()) SWIG_fail
;
26899 resultobj
= wxPyMake_wxObject(result
, (bool)SWIG_POINTER_OWN
);
26907 SWIGINTERN PyObject
*PrintDialog_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26909 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
26910 SWIG_TypeNewClientData(SWIGTYPE_p_wxPrintDialog
, SWIG_NewClientData(obj
));
26911 return SWIG_Py_Void();
26914 SWIGINTERN PyObject
*PrintDialog_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26915 return SWIG_Python_InitShadowInstance(args
);
26918 SWIGINTERN PyObject
*_wrap_new_Printer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26919 PyObject
*resultobj
= 0;
26920 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) NULL
;
26921 wxPrinter
*result
= 0 ;
26924 PyObject
* obj0
= 0 ;
26925 char * kwnames
[] = {
26926 (char *) "data", NULL
26929 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_Printer",kwnames
,&obj0
)) SWIG_fail
;
26931 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
26932 if (!SWIG_IsOK(res1
)) {
26933 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_Printer" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26935 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
26938 if (!wxPyCheckForApp()) SWIG_fail
;
26939 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26940 result
= (wxPrinter
*)new wxPrinter(arg1
);
26941 wxPyEndAllowThreads(__tstate
);
26942 if (PyErr_Occurred()) SWIG_fail
;
26944 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPrinter
, SWIG_POINTER_NEW
| 0 );
26951 SWIGINTERN PyObject
*_wrap_delete_Printer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26952 PyObject
*resultobj
= 0;
26953 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
26956 PyObject
*swig_obj
[1] ;
26958 if (!args
) SWIG_fail
;
26959 swig_obj
[0] = args
;
26960 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrinter
, SWIG_POINTER_DISOWN
| 0 );
26961 if (!SWIG_IsOK(res1
)) {
26962 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Printer" "', expected argument " "1"" of type '" "wxPrinter *""'");
26964 arg1
= reinterpret_cast< wxPrinter
* >(argp1
);
26966 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26969 wxPyEndAllowThreads(__tstate
);
26970 if (PyErr_Occurred()) SWIG_fail
;
26972 resultobj
= SWIG_Py_Void();
26979 SWIGINTERN PyObject
*_wrap_Printer_CreateAbortWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26980 PyObject
*resultobj
= 0;
26981 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
26982 wxWindow
*arg2
= (wxWindow
*) 0 ;
26983 wxPyPrintout
*arg3
= (wxPyPrintout
*) 0 ;
26984 wxWindow
*result
= 0 ;
26991 PyObject
* obj0
= 0 ;
26992 PyObject
* obj1
= 0 ;
26993 PyObject
* obj2
= 0 ;
26994 char * kwnames
[] = {
26995 (char *) "self",(char *) "parent",(char *) "printout", NULL
26998 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Printer_CreateAbortWindow",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
26999 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrinter
, 0 | 0 );
27000 if (!SWIG_IsOK(res1
)) {
27001 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printer_CreateAbortWindow" "', expected argument " "1"" of type '" "wxPrinter *""'");
27003 arg1
= reinterpret_cast< wxPrinter
* >(argp1
);
27004 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
27005 if (!SWIG_IsOK(res2
)) {
27006 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Printer_CreateAbortWindow" "', expected argument " "2"" of type '" "wxWindow *""'");
27008 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
27009 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
27010 if (!SWIG_IsOK(res3
)) {
27011 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "Printer_CreateAbortWindow" "', expected argument " "3"" of type '" "wxPyPrintout *""'");
27013 arg3
= reinterpret_cast< wxPyPrintout
* >(argp3
);
27015 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27016 result
= (wxWindow
*)(arg1
)->CreateAbortWindow(arg2
,arg3
);
27017 wxPyEndAllowThreads(__tstate
);
27018 if (PyErr_Occurred()) SWIG_fail
;
27021 resultobj
= wxPyMake_wxObject(result
, 0);
27029 SWIGINTERN PyObject
*_wrap_Printer_ReportError(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27030 PyObject
*resultobj
= 0;
27031 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
27032 wxWindow
*arg2
= (wxWindow
*) 0 ;
27033 wxPyPrintout
*arg3
= (wxPyPrintout
*) 0 ;
27034 wxString
*arg4
= 0 ;
27041 bool temp4
= false ;
27042 PyObject
* obj0
= 0 ;
27043 PyObject
* obj1
= 0 ;
27044 PyObject
* obj2
= 0 ;
27045 PyObject
* obj3
= 0 ;
27046 char * kwnames
[] = {
27047 (char *) "self",(char *) "parent",(char *) "printout",(char *) "message", NULL
27050 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Printer_ReportError",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
27051 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrinter
, 0 | 0 );
27052 if (!SWIG_IsOK(res1
)) {
27053 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printer_ReportError" "', expected argument " "1"" of type '" "wxPrinter *""'");
27055 arg1
= reinterpret_cast< wxPrinter
* >(argp1
);
27056 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
27057 if (!SWIG_IsOK(res2
)) {
27058 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Printer_ReportError" "', expected argument " "2"" of type '" "wxWindow *""'");
27060 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
27061 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
27062 if (!SWIG_IsOK(res3
)) {
27063 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "Printer_ReportError" "', expected argument " "3"" of type '" "wxPyPrintout *""'");
27065 arg3
= reinterpret_cast< wxPyPrintout
* >(argp3
);
27067 arg4
= wxString_in_helper(obj3
);
27068 if (arg4
== NULL
) SWIG_fail
;
27072 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27073 (arg1
)->ReportError(arg2
,arg3
,(wxString
const &)*arg4
);
27074 wxPyEndAllowThreads(__tstate
);
27075 if (PyErr_Occurred()) SWIG_fail
;
27077 resultobj
= SWIG_Py_Void();
27092 SWIGINTERN PyObject
*_wrap_Printer_Setup(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27093 PyObject
*resultobj
= 0;
27094 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
27095 wxWindow
*arg2
= (wxWindow
*) 0 ;
27101 PyObject
* obj0
= 0 ;
27102 PyObject
* obj1
= 0 ;
27103 char * kwnames
[] = {
27104 (char *) "self",(char *) "parent", NULL
27107 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Printer_Setup",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
27108 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrinter
, 0 | 0 );
27109 if (!SWIG_IsOK(res1
)) {
27110 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printer_Setup" "', expected argument " "1"" of type '" "wxPrinter *""'");
27112 arg1
= reinterpret_cast< wxPrinter
* >(argp1
);
27113 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
27114 if (!SWIG_IsOK(res2
)) {
27115 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Printer_Setup" "', expected argument " "2"" of type '" "wxWindow *""'");
27117 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
27119 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27120 result
= (bool)(arg1
)->Setup(arg2
);
27121 wxPyEndAllowThreads(__tstate
);
27122 if (PyErr_Occurred()) SWIG_fail
;
27125 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27133 SWIGINTERN PyObject
*_wrap_Printer_Print(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27134 PyObject
*resultobj
= 0;
27135 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
27136 wxWindow
*arg2
= (wxWindow
*) 0 ;
27137 wxPyPrintout
*arg3
= (wxPyPrintout
*) 0 ;
27138 bool arg4
= (bool) true ;
27148 PyObject
* obj0
= 0 ;
27149 PyObject
* obj1
= 0 ;
27150 PyObject
* obj2
= 0 ;
27151 PyObject
* obj3
= 0 ;
27152 char * kwnames
[] = {
27153 (char *) "self",(char *) "parent",(char *) "printout",(char *) "prompt", NULL
27156 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Printer_Print",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
27157 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrinter
, 0 | 0 );
27158 if (!SWIG_IsOK(res1
)) {
27159 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printer_Print" "', expected argument " "1"" of type '" "wxPrinter *""'");
27161 arg1
= reinterpret_cast< wxPrinter
* >(argp1
);
27162 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
27163 if (!SWIG_IsOK(res2
)) {
27164 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Printer_Print" "', expected argument " "2"" of type '" "wxWindow *""'");
27166 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
27167 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
27168 if (!SWIG_IsOK(res3
)) {
27169 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "Printer_Print" "', expected argument " "3"" of type '" "wxPyPrintout *""'");
27171 arg3
= reinterpret_cast< wxPyPrintout
* >(argp3
);
27173 ecode4
= SWIG_AsVal_bool(obj3
, &val4
);
27174 if (!SWIG_IsOK(ecode4
)) {
27175 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Printer_Print" "', expected argument " "4"" of type '" "bool""'");
27177 arg4
= static_cast< bool >(val4
);
27180 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27181 result
= (bool)(arg1
)->Print(arg2
,arg3
,arg4
);
27182 wxPyEndAllowThreads(__tstate
);
27183 if (PyErr_Occurred()) SWIG_fail
;
27186 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27194 SWIGINTERN PyObject
*_wrap_Printer_PrintDialog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27195 PyObject
*resultobj
= 0;
27196 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
27197 wxWindow
*arg2
= (wxWindow
*) 0 ;
27203 PyObject
* obj0
= 0 ;
27204 PyObject
* obj1
= 0 ;
27205 char * kwnames
[] = {
27206 (char *) "self",(char *) "parent", NULL
27209 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Printer_PrintDialog",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
27210 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrinter
, 0 | 0 );
27211 if (!SWIG_IsOK(res1
)) {
27212 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printer_PrintDialog" "', expected argument " "1"" of type '" "wxPrinter *""'");
27214 arg1
= reinterpret_cast< wxPrinter
* >(argp1
);
27215 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
27216 if (!SWIG_IsOK(res2
)) {
27217 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Printer_PrintDialog" "', expected argument " "2"" of type '" "wxWindow *""'");
27219 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
27221 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27222 result
= (wxDC
*)(arg1
)->PrintDialog(arg2
);
27223 wxPyEndAllowThreads(__tstate
);
27224 if (PyErr_Occurred()) SWIG_fail
;
27227 resultobj
= wxPyMake_wxObject(result
, (bool)0);
27235 SWIGINTERN PyObject
*_wrap_Printer_GetPrintDialogData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27236 PyObject
*resultobj
= 0;
27237 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
27238 wxPrintDialogData
*result
= 0 ;
27241 PyObject
*swig_obj
[1] ;
27243 if (!args
) SWIG_fail
;
27244 swig_obj
[0] = args
;
27245 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrinter
, 0 | 0 );
27246 if (!SWIG_IsOK(res1
)) {
27247 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printer_GetPrintDialogData" "', expected argument " "1"" of type '" "wxPrinter const *""'");
27249 arg1
= reinterpret_cast< wxPrinter
* >(argp1
);
27251 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27253 wxPrintDialogData
&_result_ref
= ((wxPrinter
const *)arg1
)->GetPrintDialogData();
27254 result
= (wxPrintDialogData
*) &_result_ref
;
27256 wxPyEndAllowThreads(__tstate
);
27257 if (PyErr_Occurred()) SWIG_fail
;
27259 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
27266 SWIGINTERN PyObject
*_wrap_Printer_GetAbort(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27267 PyObject
*resultobj
= 0;
27268 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
27272 PyObject
*swig_obj
[1] ;
27274 if (!args
) SWIG_fail
;
27275 swig_obj
[0] = args
;
27276 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrinter
, 0 | 0 );
27277 if (!SWIG_IsOK(res1
)) {
27278 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printer_GetAbort" "', expected argument " "1"" of type '" "wxPrinter *""'");
27280 arg1
= reinterpret_cast< wxPrinter
* >(argp1
);
27282 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27283 result
= (bool)(arg1
)->GetAbort();
27284 wxPyEndAllowThreads(__tstate
);
27285 if (PyErr_Occurred()) SWIG_fail
;
27288 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27296 SWIGINTERN PyObject
*_wrap_Printer_GetLastError(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27297 PyObject
*resultobj
= 0;
27298 wxPrinterError result
;
27300 if (!SWIG_Python_UnpackTuple(args
,"Printer_GetLastError",0,0,0)) SWIG_fail
;
27302 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27303 result
= (wxPrinterError
)wxPrinter::GetLastError();
27304 wxPyEndAllowThreads(__tstate
);
27305 if (PyErr_Occurred()) SWIG_fail
;
27307 resultobj
= SWIG_From_int(static_cast< int >(result
));
27314 SWIGINTERN PyObject
*Printer_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27316 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
27317 SWIG_TypeNewClientData(SWIGTYPE_p_wxPrinter
, SWIG_NewClientData(obj
));
27318 return SWIG_Py_Void();
27321 SWIGINTERN PyObject
*Printer_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27322 return SWIG_Python_InitShadowInstance(args
);
27325 SWIGINTERN PyObject
*_wrap_new_Printout(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27326 PyObject
*resultobj
= 0;
27327 wxString
const &arg1_defvalue
= wxPyPrintoutTitleStr
;
27328 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
27329 wxPyPrintout
*result
= 0 ;
27330 bool temp1
= false ;
27331 PyObject
* obj0
= 0 ;
27332 char * kwnames
[] = {
27333 (char *) "title", NULL
27336 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_Printout",kwnames
,&obj0
)) SWIG_fail
;
27339 arg1
= wxString_in_helper(obj0
);
27340 if (arg1
== NULL
) SWIG_fail
;
27345 if (!wxPyCheckForApp()) SWIG_fail
;
27346 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27347 result
= (wxPyPrintout
*)new wxPyPrintout((wxString
const &)*arg1
);
27348 wxPyEndAllowThreads(__tstate
);
27349 if (PyErr_Occurred()) SWIG_fail
;
27351 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_NEW
| 0 );
27366 SWIGINTERN PyObject
*_wrap_delete_Printout(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27367 PyObject
*resultobj
= 0;
27368 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
27371 PyObject
*swig_obj
[1] ;
27373 if (!args
) SWIG_fail
;
27374 swig_obj
[0] = args
;
27375 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_DISOWN
| 0 );
27376 if (!SWIG_IsOK(res1
)) {
27377 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Printout" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
27379 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
27381 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27384 wxPyEndAllowThreads(__tstate
);
27385 if (PyErr_Occurred()) SWIG_fail
;
27387 resultobj
= SWIG_Py_Void();
27394 SWIGINTERN PyObject
*_wrap_Printout__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27395 PyObject
*resultobj
= 0;
27396 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
27397 PyObject
*arg2
= (PyObject
*) 0 ;
27398 PyObject
*arg3
= (PyObject
*) 0 ;
27401 PyObject
* obj0
= 0 ;
27402 PyObject
* obj1
= 0 ;
27403 PyObject
* obj2
= 0 ;
27404 char * kwnames
[] = {
27405 (char *) "self",(char *) "self",(char *) "_class", NULL
27408 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Printout__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
27409 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
27410 if (!SWIG_IsOK(res1
)) {
27411 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
27413 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
27417 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27418 (arg1
)->_setCallbackInfo(arg2
,arg3
);
27419 wxPyEndAllowThreads(__tstate
);
27420 if (PyErr_Occurred()) SWIG_fail
;
27422 resultobj
= SWIG_Py_Void();
27429 SWIGINTERN PyObject
*_wrap_Printout_GetTitle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27430 PyObject
*resultobj
= 0;
27431 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
27435 PyObject
*swig_obj
[1] ;
27437 if (!args
) SWIG_fail
;
27438 swig_obj
[0] = args
;
27439 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
27440 if (!SWIG_IsOK(res1
)) {
27441 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_GetTitle" "', expected argument " "1"" of type '" "wxPyPrintout const *""'");
27443 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
27445 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27446 result
= ((wxPyPrintout
const *)arg1
)->GetTitle();
27447 wxPyEndAllowThreads(__tstate
);
27448 if (PyErr_Occurred()) SWIG_fail
;
27452 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
27454 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
27463 SWIGINTERN PyObject
*_wrap_Printout_GetDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27464 PyObject
*resultobj
= 0;
27465 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
27469 PyObject
*swig_obj
[1] ;
27471 if (!args
) SWIG_fail
;
27472 swig_obj
[0] = args
;
27473 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
27474 if (!SWIG_IsOK(res1
)) {
27475 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_GetDC" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
27477 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
27479 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27480 result
= (wxDC
*)(arg1
)->GetDC();
27481 wxPyEndAllowThreads(__tstate
);
27482 if (PyErr_Occurred()) SWIG_fail
;
27485 resultobj
= wxPyMake_wxObject(result
, (bool)0);
27493 SWIGINTERN PyObject
*_wrap_Printout_SetDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27494 PyObject
*resultobj
= 0;
27495 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
27496 wxDC
*arg2
= (wxDC
*) 0 ;
27501 PyObject
* obj0
= 0 ;
27502 PyObject
* obj1
= 0 ;
27503 char * kwnames
[] = {
27504 (char *) "self",(char *) "dc", NULL
27507 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Printout_SetDC",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
27508 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
27509 if (!SWIG_IsOK(res1
)) {
27510 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_SetDC" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
27512 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
27513 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxDC
, 0 | 0 );
27514 if (!SWIG_IsOK(res2
)) {
27515 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Printout_SetDC" "', expected argument " "2"" of type '" "wxDC *""'");
27517 arg2
= reinterpret_cast< wxDC
* >(argp2
);
27519 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27520 (arg1
)->SetDC(arg2
);
27521 wxPyEndAllowThreads(__tstate
);
27522 if (PyErr_Occurred()) SWIG_fail
;
27524 resultobj
= SWIG_Py_Void();
27531 SWIGINTERN PyObject
*_wrap_Printout_SetPageSizePixels(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27532 PyObject
*resultobj
= 0;
27533 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
27542 PyObject
* obj0
= 0 ;
27543 PyObject
* obj1
= 0 ;
27544 PyObject
* obj2
= 0 ;
27545 char * kwnames
[] = {
27546 (char *) "self",(char *) "w",(char *) "h", NULL
27549 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Printout_SetPageSizePixels",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
27550 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
27551 if (!SWIG_IsOK(res1
)) {
27552 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_SetPageSizePixels" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
27554 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
27555 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
27556 if (!SWIG_IsOK(ecode2
)) {
27557 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Printout_SetPageSizePixels" "', expected argument " "2"" of type '" "int""'");
27559 arg2
= static_cast< int >(val2
);
27560 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
27561 if (!SWIG_IsOK(ecode3
)) {
27562 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Printout_SetPageSizePixels" "', expected argument " "3"" of type '" "int""'");
27564 arg3
= static_cast< int >(val3
);
27566 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27567 (arg1
)->SetPageSizePixels(arg2
,arg3
);
27568 wxPyEndAllowThreads(__tstate
);
27569 if (PyErr_Occurred()) SWIG_fail
;
27571 resultobj
= SWIG_Py_Void();
27578 SWIGINTERN PyObject
*_wrap_Printout_GetPageSizePixels(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27579 PyObject
*resultobj
= 0;
27580 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
27581 int *arg2
= (int *) 0 ;
27582 int *arg3
= (int *) 0 ;
27586 int res2
= SWIG_TMPOBJ
;
27588 int res3
= SWIG_TMPOBJ
;
27589 PyObject
*swig_obj
[1] ;
27593 if (!args
) SWIG_fail
;
27594 swig_obj
[0] = args
;
27595 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
27596 if (!SWIG_IsOK(res1
)) {
27597 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_GetPageSizePixels" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
27599 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
27601 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27602 (arg1
)->GetPageSizePixels(arg2
,arg3
);
27603 wxPyEndAllowThreads(__tstate
);
27604 if (PyErr_Occurred()) SWIG_fail
;
27606 resultobj
= SWIG_Py_Void();
27607 if (SWIG_IsTmpObj(res2
)) {
27608 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
27610 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
27611 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
27613 if (SWIG_IsTmpObj(res3
)) {
27614 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
27616 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
27617 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
27625 SWIGINTERN PyObject
*_wrap_Printout_SetPageSizeMM(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27626 PyObject
*resultobj
= 0;
27627 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
27636 PyObject
* obj0
= 0 ;
27637 PyObject
* obj1
= 0 ;
27638 PyObject
* obj2
= 0 ;
27639 char * kwnames
[] = {
27640 (char *) "self",(char *) "w",(char *) "h", NULL
27643 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Printout_SetPageSizeMM",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
27644 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
27645 if (!SWIG_IsOK(res1
)) {
27646 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_SetPageSizeMM" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
27648 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
27649 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
27650 if (!SWIG_IsOK(ecode2
)) {
27651 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Printout_SetPageSizeMM" "', expected argument " "2"" of type '" "int""'");
27653 arg2
= static_cast< int >(val2
);
27654 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
27655 if (!SWIG_IsOK(ecode3
)) {
27656 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Printout_SetPageSizeMM" "', expected argument " "3"" of type '" "int""'");
27658 arg3
= static_cast< int >(val3
);
27660 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27661 (arg1
)->SetPageSizeMM(arg2
,arg3
);
27662 wxPyEndAllowThreads(__tstate
);
27663 if (PyErr_Occurred()) SWIG_fail
;
27665 resultobj
= SWIG_Py_Void();
27672 SWIGINTERN PyObject
*_wrap_Printout_GetPageSizeMM(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27673 PyObject
*resultobj
= 0;
27674 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
27675 int *arg2
= (int *) 0 ;
27676 int *arg3
= (int *) 0 ;
27680 int res2
= SWIG_TMPOBJ
;
27682 int res3
= SWIG_TMPOBJ
;
27683 PyObject
*swig_obj
[1] ;
27687 if (!args
) SWIG_fail
;
27688 swig_obj
[0] = args
;
27689 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
27690 if (!SWIG_IsOK(res1
)) {
27691 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_GetPageSizeMM" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
27693 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
27695 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27696 (arg1
)->GetPageSizeMM(arg2
,arg3
);
27697 wxPyEndAllowThreads(__tstate
);
27698 if (PyErr_Occurred()) SWIG_fail
;
27700 resultobj
= SWIG_Py_Void();
27701 if (SWIG_IsTmpObj(res2
)) {
27702 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
27704 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
27705 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
27707 if (SWIG_IsTmpObj(res3
)) {
27708 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
27710 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
27711 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
27719 SWIGINTERN PyObject
*_wrap_Printout_SetPPIScreen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27720 PyObject
*resultobj
= 0;
27721 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
27730 PyObject
* obj0
= 0 ;
27731 PyObject
* obj1
= 0 ;
27732 PyObject
* obj2
= 0 ;
27733 char * kwnames
[] = {
27734 (char *) "self",(char *) "x",(char *) "y", NULL
27737 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Printout_SetPPIScreen",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
27738 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
27739 if (!SWIG_IsOK(res1
)) {
27740 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_SetPPIScreen" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
27742 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
27743 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
27744 if (!SWIG_IsOK(ecode2
)) {
27745 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Printout_SetPPIScreen" "', expected argument " "2"" of type '" "int""'");
27747 arg2
= static_cast< int >(val2
);
27748 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
27749 if (!SWIG_IsOK(ecode3
)) {
27750 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Printout_SetPPIScreen" "', expected argument " "3"" of type '" "int""'");
27752 arg3
= static_cast< int >(val3
);
27754 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27755 (arg1
)->SetPPIScreen(arg2
,arg3
);
27756 wxPyEndAllowThreads(__tstate
);
27757 if (PyErr_Occurred()) SWIG_fail
;
27759 resultobj
= SWIG_Py_Void();
27766 SWIGINTERN PyObject
*_wrap_Printout_GetPPIScreen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27767 PyObject
*resultobj
= 0;
27768 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
27769 int *arg2
= (int *) 0 ;
27770 int *arg3
= (int *) 0 ;
27774 int res2
= SWIG_TMPOBJ
;
27776 int res3
= SWIG_TMPOBJ
;
27777 PyObject
*swig_obj
[1] ;
27781 if (!args
) SWIG_fail
;
27782 swig_obj
[0] = args
;
27783 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
27784 if (!SWIG_IsOK(res1
)) {
27785 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_GetPPIScreen" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
27787 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
27789 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27790 (arg1
)->GetPPIScreen(arg2
,arg3
);
27791 wxPyEndAllowThreads(__tstate
);
27792 if (PyErr_Occurred()) SWIG_fail
;
27794 resultobj
= SWIG_Py_Void();
27795 if (SWIG_IsTmpObj(res2
)) {
27796 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
27798 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
27799 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
27801 if (SWIG_IsTmpObj(res3
)) {
27802 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
27804 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
27805 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
27813 SWIGINTERN PyObject
*_wrap_Printout_SetPPIPrinter(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27814 PyObject
*resultobj
= 0;
27815 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
27824 PyObject
* obj0
= 0 ;
27825 PyObject
* obj1
= 0 ;
27826 PyObject
* obj2
= 0 ;
27827 char * kwnames
[] = {
27828 (char *) "self",(char *) "x",(char *) "y", NULL
27831 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Printout_SetPPIPrinter",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
27832 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
27833 if (!SWIG_IsOK(res1
)) {
27834 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_SetPPIPrinter" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
27836 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
27837 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
27838 if (!SWIG_IsOK(ecode2
)) {
27839 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Printout_SetPPIPrinter" "', expected argument " "2"" of type '" "int""'");
27841 arg2
= static_cast< int >(val2
);
27842 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
27843 if (!SWIG_IsOK(ecode3
)) {
27844 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Printout_SetPPIPrinter" "', expected argument " "3"" of type '" "int""'");
27846 arg3
= static_cast< int >(val3
);
27848 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27849 (arg1
)->SetPPIPrinter(arg2
,arg3
);
27850 wxPyEndAllowThreads(__tstate
);
27851 if (PyErr_Occurred()) SWIG_fail
;
27853 resultobj
= SWIG_Py_Void();
27860 SWIGINTERN PyObject
*_wrap_Printout_GetPPIPrinter(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27861 PyObject
*resultobj
= 0;
27862 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
27863 int *arg2
= (int *) 0 ;
27864 int *arg3
= (int *) 0 ;
27868 int res2
= SWIG_TMPOBJ
;
27870 int res3
= SWIG_TMPOBJ
;
27871 PyObject
*swig_obj
[1] ;
27875 if (!args
) SWIG_fail
;
27876 swig_obj
[0] = args
;
27877 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
27878 if (!SWIG_IsOK(res1
)) {
27879 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_GetPPIPrinter" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
27881 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
27883 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27884 (arg1
)->GetPPIPrinter(arg2
,arg3
);
27885 wxPyEndAllowThreads(__tstate
);
27886 if (PyErr_Occurred()) SWIG_fail
;
27888 resultobj
= SWIG_Py_Void();
27889 if (SWIG_IsTmpObj(res2
)) {
27890 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
27892 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
27893 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
27895 if (SWIG_IsTmpObj(res3
)) {
27896 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
27898 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
27899 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
27907 SWIGINTERN PyObject
*_wrap_Printout_IsPreview(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27908 PyObject
*resultobj
= 0;
27909 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
27913 PyObject
*swig_obj
[1] ;
27915 if (!args
) SWIG_fail
;
27916 swig_obj
[0] = args
;
27917 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
27918 if (!SWIG_IsOK(res1
)) {
27919 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_IsPreview" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
27921 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
27923 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27924 result
= (bool)(arg1
)->IsPreview();
27925 wxPyEndAllowThreads(__tstate
);
27926 if (PyErr_Occurred()) SWIG_fail
;
27929 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27937 SWIGINTERN PyObject
*_wrap_Printout_SetIsPreview(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27938 PyObject
*resultobj
= 0;
27939 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
27945 PyObject
* obj0
= 0 ;
27946 PyObject
* obj1
= 0 ;
27947 char * kwnames
[] = {
27948 (char *) "self",(char *) "p", NULL
27951 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Printout_SetIsPreview",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
27952 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
27953 if (!SWIG_IsOK(res1
)) {
27954 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_SetIsPreview" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
27956 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
27957 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
27958 if (!SWIG_IsOK(ecode2
)) {
27959 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Printout_SetIsPreview" "', expected argument " "2"" of type '" "bool""'");
27961 arg2
= static_cast< bool >(val2
);
27963 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27964 (arg1
)->SetIsPreview(arg2
);
27965 wxPyEndAllowThreads(__tstate
);
27966 if (PyErr_Occurred()) SWIG_fail
;
27968 resultobj
= SWIG_Py_Void();
27975 SWIGINTERN PyObject
*_wrap_Printout_OnBeginDocument(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27976 PyObject
*resultobj
= 0;
27977 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
27987 PyObject
* obj0
= 0 ;
27988 PyObject
* obj1
= 0 ;
27989 PyObject
* obj2
= 0 ;
27990 char * kwnames
[] = {
27991 (char *) "self",(char *) "startPage",(char *) "endPage", NULL
27994 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Printout_OnBeginDocument",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
27995 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
27996 if (!SWIG_IsOK(res1
)) {
27997 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_OnBeginDocument" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
27999 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
28000 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
28001 if (!SWIG_IsOK(ecode2
)) {
28002 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Printout_OnBeginDocument" "', expected argument " "2"" of type '" "int""'");
28004 arg2
= static_cast< int >(val2
);
28005 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
28006 if (!SWIG_IsOK(ecode3
)) {
28007 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Printout_OnBeginDocument" "', expected argument " "3"" of type '" "int""'");
28009 arg3
= static_cast< int >(val3
);
28011 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28012 result
= (bool)(arg1
)->OnBeginDocument(arg2
,arg3
);
28013 wxPyEndAllowThreads(__tstate
);
28014 if (PyErr_Occurred()) SWIG_fail
;
28017 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28025 SWIGINTERN PyObject
*_wrap_Printout_OnEndDocument(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28026 PyObject
*resultobj
= 0;
28027 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
28030 PyObject
*swig_obj
[1] ;
28032 if (!args
) SWIG_fail
;
28033 swig_obj
[0] = args
;
28034 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
28035 if (!SWIG_IsOK(res1
)) {
28036 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_OnEndDocument" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28038 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
28040 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28041 (arg1
)->OnEndDocument();
28042 wxPyEndAllowThreads(__tstate
);
28043 if (PyErr_Occurred()) SWIG_fail
;
28045 resultobj
= SWIG_Py_Void();
28052 SWIGINTERN PyObject
*_wrap_Printout_OnBeginPrinting(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28053 PyObject
*resultobj
= 0;
28054 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
28057 PyObject
*swig_obj
[1] ;
28059 if (!args
) SWIG_fail
;
28060 swig_obj
[0] = args
;
28061 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
28062 if (!SWIG_IsOK(res1
)) {
28063 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_OnBeginPrinting" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28065 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
28067 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28068 (arg1
)->OnBeginPrinting();
28069 wxPyEndAllowThreads(__tstate
);
28070 if (PyErr_Occurred()) SWIG_fail
;
28072 resultobj
= SWIG_Py_Void();
28079 SWIGINTERN PyObject
*_wrap_Printout_OnEndPrinting(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28080 PyObject
*resultobj
= 0;
28081 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
28084 PyObject
*swig_obj
[1] ;
28086 if (!args
) SWIG_fail
;
28087 swig_obj
[0] = args
;
28088 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
28089 if (!SWIG_IsOK(res1
)) {
28090 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_OnEndPrinting" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28092 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
28094 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28095 (arg1
)->OnEndPrinting();
28096 wxPyEndAllowThreads(__tstate
);
28097 if (PyErr_Occurred()) SWIG_fail
;
28099 resultobj
= SWIG_Py_Void();
28106 SWIGINTERN PyObject
*_wrap_Printout_OnPreparePrinting(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28107 PyObject
*resultobj
= 0;
28108 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
28111 PyObject
*swig_obj
[1] ;
28113 if (!args
) SWIG_fail
;
28114 swig_obj
[0] = args
;
28115 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
28116 if (!SWIG_IsOK(res1
)) {
28117 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_OnPreparePrinting" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28119 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
28121 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28122 (arg1
)->OnPreparePrinting();
28123 wxPyEndAllowThreads(__tstate
);
28124 if (PyErr_Occurred()) SWIG_fail
;
28126 resultobj
= SWIG_Py_Void();
28133 SWIGINTERN PyObject
*_wrap_Printout_HasPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28134 PyObject
*resultobj
= 0;
28135 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
28142 PyObject
* obj0
= 0 ;
28143 PyObject
* obj1
= 0 ;
28144 char * kwnames
[] = {
28145 (char *) "self",(char *) "page", NULL
28148 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Printout_HasPage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28149 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
28150 if (!SWIG_IsOK(res1
)) {
28151 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_HasPage" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28153 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
28154 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
28155 if (!SWIG_IsOK(ecode2
)) {
28156 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Printout_HasPage" "', expected argument " "2"" of type '" "int""'");
28158 arg2
= static_cast< int >(val2
);
28160 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28161 result
= (bool)(arg1
)->HasPage(arg2
);
28162 wxPyEndAllowThreads(__tstate
);
28163 if (PyErr_Occurred()) SWIG_fail
;
28166 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28174 SWIGINTERN PyObject
*_wrap_Printout_GetPageInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28175 PyObject
*resultobj
= 0;
28176 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
28177 int *arg2
= (int *) 0 ;
28178 int *arg3
= (int *) 0 ;
28179 int *arg4
= (int *) 0 ;
28180 int *arg5
= (int *) 0 ;
28184 int res2
= SWIG_TMPOBJ
;
28186 int res3
= SWIG_TMPOBJ
;
28188 int res4
= SWIG_TMPOBJ
;
28190 int res5
= SWIG_TMPOBJ
;
28191 PyObject
*swig_obj
[1] ;
28197 if (!args
) SWIG_fail
;
28198 swig_obj
[0] = args
;
28199 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
28200 if (!SWIG_IsOK(res1
)) {
28201 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_GetPageInfo" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28203 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
28205 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28206 (arg1
)->GetPageInfo(arg2
,arg3
,arg4
,arg5
);
28207 wxPyEndAllowThreads(__tstate
);
28208 if (PyErr_Occurred()) SWIG_fail
;
28210 resultobj
= SWIG_Py_Void();
28211 if (SWIG_IsTmpObj(res2
)) {
28212 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
28214 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
28215 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
28217 if (SWIG_IsTmpObj(res3
)) {
28218 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
28220 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
28221 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
28223 if (SWIG_IsTmpObj(res4
)) {
28224 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg4
)));
28226 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
28227 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, new_flags
));
28229 if (SWIG_IsTmpObj(res5
)) {
28230 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg5
)));
28232 int new_flags
= SWIG_IsNewObj(res5
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
28233 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg5
), SWIGTYPE_p_int
, new_flags
));
28241 SWIGINTERN PyObject
*Printout_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28243 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
28244 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyPrintout
, SWIG_NewClientData(obj
));
28245 return SWIG_Py_Void();
28248 SWIGINTERN PyObject
*Printout_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28249 return SWIG_Python_InitShadowInstance(args
);
28252 SWIGINTERN PyObject
*_wrap_new_PreviewCanvas(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28253 PyObject
*resultobj
= 0;
28254 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
28255 wxWindow
*arg2
= (wxWindow
*) 0 ;
28256 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
28257 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
28258 wxSize
const &arg4_defvalue
= wxDefaultSize
;
28259 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
28260 long arg5
= (long) 0 ;
28261 wxString
const &arg6_defvalue
= wxPyPreviewCanvasNameStr
;
28262 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
28263 wxPreviewCanvas
*result
= 0 ;
28272 bool temp6
= false ;
28273 PyObject
* obj0
= 0 ;
28274 PyObject
* obj1
= 0 ;
28275 PyObject
* obj2
= 0 ;
28276 PyObject
* obj3
= 0 ;
28277 PyObject
* obj4
= 0 ;
28278 PyObject
* obj5
= 0 ;
28279 char * kwnames
[] = {
28280 (char *) "preview",(char *) "parent",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
28283 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:new_PreviewCanvas",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
28284 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
28285 if (!SWIG_IsOK(res1
)) {
28286 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PreviewCanvas" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
28288 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
28289 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
28290 if (!SWIG_IsOK(res2
)) {
28291 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_PreviewCanvas" "', expected argument " "2"" of type '" "wxWindow *""'");
28293 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
28297 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
28303 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
28307 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
28308 if (!SWIG_IsOK(ecode5
)) {
28309 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_PreviewCanvas" "', expected argument " "5"" of type '" "long""'");
28311 arg5
= static_cast< long >(val5
);
28315 arg6
= wxString_in_helper(obj5
);
28316 if (arg6
== NULL
) SWIG_fail
;
28321 if (!wxPyCheckForApp()) SWIG_fail
;
28322 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28323 result
= (wxPreviewCanvas
*)new wxPreviewCanvas(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
28324 wxPyEndAllowThreads(__tstate
);
28325 if (PyErr_Occurred()) SWIG_fail
;
28327 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPreviewCanvas
, SWIG_POINTER_NEW
| 0 );
28342 SWIGINTERN PyObject
*PreviewCanvas_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28344 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
28345 SWIG_TypeNewClientData(SWIGTYPE_p_wxPreviewCanvas
, SWIG_NewClientData(obj
));
28346 return SWIG_Py_Void();
28349 SWIGINTERN PyObject
*PreviewCanvas_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28350 return SWIG_Python_InitShadowInstance(args
);
28353 SWIGINTERN PyObject
*_wrap_new_PreviewFrame(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28354 PyObject
*resultobj
= 0;
28355 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
28356 wxFrame
*arg2
= (wxFrame
*) 0 ;
28357 wxString
*arg3
= 0 ;
28358 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
28359 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
28360 wxSize
const &arg5_defvalue
= wxDefaultSize
;
28361 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
28362 long arg6
= (long) wxDEFAULT_FRAME_STYLE
;
28363 wxString
const &arg7_defvalue
= wxPyFrameNameStr
;
28364 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
28365 wxPreviewFrame
*result
= 0 ;
28369 bool temp3
= false ;
28374 bool temp7
= false ;
28375 PyObject
* obj0
= 0 ;
28376 PyObject
* obj1
= 0 ;
28377 PyObject
* obj2
= 0 ;
28378 PyObject
* obj3
= 0 ;
28379 PyObject
* obj4
= 0 ;
28380 PyObject
* obj5
= 0 ;
28381 PyObject
* obj6
= 0 ;
28382 char * kwnames
[] = {
28383 (char *) "preview",(char *) "parent",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
28386 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:new_PreviewFrame",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
28387 res1
= SWIG_ConvertPtr(obj0
, SWIG_as_voidptrptr(&arg1
), SWIGTYPE_p_wxPrintPreview
, SWIG_POINTER_DISOWN
| 0 );
28388 if (!SWIG_IsOK(res1
)) {
28389 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PreviewFrame" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
28391 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxFrame
, 0 | 0 );
28392 if (!SWIG_IsOK(res2
)) {
28393 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_PreviewFrame" "', expected argument " "2"" of type '" "wxFrame *""'");
28395 arg2
= reinterpret_cast< wxFrame
* >(argp2
);
28397 arg3
= wxString_in_helper(obj2
);
28398 if (arg3
== NULL
) SWIG_fail
;
28404 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
28410 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
28414 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
28415 if (!SWIG_IsOK(ecode6
)) {
28416 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_PreviewFrame" "', expected argument " "6"" of type '" "long""'");
28418 arg6
= static_cast< long >(val6
);
28422 arg7
= wxString_in_helper(obj6
);
28423 if (arg7
== NULL
) SWIG_fail
;
28428 if (!wxPyCheckForApp()) SWIG_fail
;
28429 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28430 result
= (wxPreviewFrame
*)new wxPreviewFrame(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
28431 wxPyEndAllowThreads(__tstate
);
28432 if (PyErr_Occurred()) SWIG_fail
;
28434 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPreviewFrame
, SWIG_POINTER_NEW
| 0 );
28457 SWIGINTERN PyObject
*_wrap_PreviewFrame_Initialize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28458 PyObject
*resultobj
= 0;
28459 wxPreviewFrame
*arg1
= (wxPreviewFrame
*) 0 ;
28462 PyObject
*swig_obj
[1] ;
28464 if (!args
) SWIG_fail
;
28465 swig_obj
[0] = args
;
28466 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPreviewFrame
, 0 | 0 );
28467 if (!SWIG_IsOK(res1
)) {
28468 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PreviewFrame_Initialize" "', expected argument " "1"" of type '" "wxPreviewFrame *""'");
28470 arg1
= reinterpret_cast< wxPreviewFrame
* >(argp1
);
28472 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28473 (arg1
)->Initialize();
28474 wxPyEndAllowThreads(__tstate
);
28475 if (PyErr_Occurred()) SWIG_fail
;
28477 resultobj
= SWIG_Py_Void();
28484 SWIGINTERN PyObject
*_wrap_PreviewFrame_CreateControlBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28485 PyObject
*resultobj
= 0;
28486 wxPreviewFrame
*arg1
= (wxPreviewFrame
*) 0 ;
28489 PyObject
*swig_obj
[1] ;
28491 if (!args
) SWIG_fail
;
28492 swig_obj
[0] = args
;
28493 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPreviewFrame
, 0 | 0 );
28494 if (!SWIG_IsOK(res1
)) {
28495 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PreviewFrame_CreateControlBar" "', expected argument " "1"" of type '" "wxPreviewFrame *""'");
28497 arg1
= reinterpret_cast< wxPreviewFrame
* >(argp1
);
28499 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28500 (arg1
)->CreateControlBar();
28501 wxPyEndAllowThreads(__tstate
);
28502 if (PyErr_Occurred()) SWIG_fail
;
28504 resultobj
= SWIG_Py_Void();
28511 SWIGINTERN PyObject
*_wrap_PreviewFrame_CreateCanvas(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28512 PyObject
*resultobj
= 0;
28513 wxPreviewFrame
*arg1
= (wxPreviewFrame
*) 0 ;
28516 PyObject
*swig_obj
[1] ;
28518 if (!args
) SWIG_fail
;
28519 swig_obj
[0] = args
;
28520 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPreviewFrame
, 0 | 0 );
28521 if (!SWIG_IsOK(res1
)) {
28522 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PreviewFrame_CreateCanvas" "', expected argument " "1"" of type '" "wxPreviewFrame *""'");
28524 arg1
= reinterpret_cast< wxPreviewFrame
* >(argp1
);
28526 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28527 (arg1
)->CreateCanvas();
28528 wxPyEndAllowThreads(__tstate
);
28529 if (PyErr_Occurred()) SWIG_fail
;
28531 resultobj
= SWIG_Py_Void();
28538 SWIGINTERN PyObject
*_wrap_PreviewFrame_GetControlBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28539 PyObject
*resultobj
= 0;
28540 wxPreviewFrame
*arg1
= (wxPreviewFrame
*) 0 ;
28541 wxPreviewControlBar
*result
= 0 ;
28544 PyObject
*swig_obj
[1] ;
28546 if (!args
) SWIG_fail
;
28547 swig_obj
[0] = args
;
28548 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPreviewFrame
, 0 | 0 );
28549 if (!SWIG_IsOK(res1
)) {
28550 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PreviewFrame_GetControlBar" "', expected argument " "1"" of type '" "wxPreviewFrame const *""'");
28552 arg1
= reinterpret_cast< wxPreviewFrame
* >(argp1
);
28554 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28555 result
= (wxPreviewControlBar
*)((wxPreviewFrame
const *)arg1
)->GetControlBar();
28556 wxPyEndAllowThreads(__tstate
);
28557 if (PyErr_Occurred()) SWIG_fail
;
28559 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPreviewControlBar
, 0 | 0 );
28566 SWIGINTERN PyObject
*PreviewFrame_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28568 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
28569 SWIG_TypeNewClientData(SWIGTYPE_p_wxPreviewFrame
, SWIG_NewClientData(obj
));
28570 return SWIG_Py_Void();
28573 SWIGINTERN PyObject
*PreviewFrame_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28574 return SWIG_Python_InitShadowInstance(args
);
28577 SWIGINTERN PyObject
*_wrap_new_PreviewControlBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28578 PyObject
*resultobj
= 0;
28579 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
28581 wxWindow
*arg3
= (wxWindow
*) 0 ;
28582 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
28583 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
28584 wxSize
const &arg5_defvalue
= wxDefaultSize
;
28585 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
28586 long arg6
= (long) wxTAB_TRAVERSAL
;
28587 wxString
const &arg7_defvalue
= wxPyPanelNameStr
;
28588 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
28589 wxPreviewControlBar
*result
= 0 ;
28600 bool temp7
= false ;
28601 PyObject
* obj0
= 0 ;
28602 PyObject
* obj1
= 0 ;
28603 PyObject
* obj2
= 0 ;
28604 PyObject
* obj3
= 0 ;
28605 PyObject
* obj4
= 0 ;
28606 PyObject
* obj5
= 0 ;
28607 PyObject
* obj6
= 0 ;
28608 char * kwnames
[] = {
28609 (char *) "preview",(char *) "buttons",(char *) "parent",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
28612 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:new_PreviewControlBar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
28613 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
28614 if (!SWIG_IsOK(res1
)) {
28615 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PreviewControlBar" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
28617 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
28618 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
28619 if (!SWIG_IsOK(ecode2
)) {
28620 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_PreviewControlBar" "', expected argument " "2"" of type '" "long""'");
28622 arg2
= static_cast< long >(val2
);
28623 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxWindow
, 0 | 0 );
28624 if (!SWIG_IsOK(res3
)) {
28625 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "new_PreviewControlBar" "', expected argument " "3"" of type '" "wxWindow *""'");
28627 arg3
= reinterpret_cast< wxWindow
* >(argp3
);
28631 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
28637 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
28641 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
28642 if (!SWIG_IsOK(ecode6
)) {
28643 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_PreviewControlBar" "', expected argument " "6"" of type '" "long""'");
28645 arg6
= static_cast< long >(val6
);
28649 arg7
= wxString_in_helper(obj6
);
28650 if (arg7
== NULL
) SWIG_fail
;
28655 if (!wxPyCheckForApp()) SWIG_fail
;
28656 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28657 result
= (wxPreviewControlBar
*)new wxPreviewControlBar(arg1
,arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
28658 wxPyEndAllowThreads(__tstate
);
28659 if (PyErr_Occurred()) SWIG_fail
;
28661 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPreviewControlBar
, SWIG_POINTER_NEW
| 0 );
28676 SWIGINTERN PyObject
*_wrap_PreviewControlBar_GetZoomControl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28677 PyObject
*resultobj
= 0;
28678 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 0 ;
28682 PyObject
*swig_obj
[1] ;
28684 if (!args
) SWIG_fail
;
28685 swig_obj
[0] = args
;
28686 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPreviewControlBar
, 0 | 0 );
28687 if (!SWIG_IsOK(res1
)) {
28688 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PreviewControlBar_GetZoomControl" "', expected argument " "1"" of type '" "wxPreviewControlBar *""'");
28690 arg1
= reinterpret_cast< wxPreviewControlBar
* >(argp1
);
28692 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28693 result
= (int)(arg1
)->GetZoomControl();
28694 wxPyEndAllowThreads(__tstate
);
28695 if (PyErr_Occurred()) SWIG_fail
;
28697 resultobj
= SWIG_From_int(static_cast< int >(result
));
28704 SWIGINTERN PyObject
*_wrap_PreviewControlBar_SetZoomControl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28705 PyObject
*resultobj
= 0;
28706 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 0 ;
28712 PyObject
* obj0
= 0 ;
28713 PyObject
* obj1
= 0 ;
28714 char * kwnames
[] = {
28715 (char *) "self",(char *) "zoom", NULL
28718 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PreviewControlBar_SetZoomControl",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28719 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPreviewControlBar
, 0 | 0 );
28720 if (!SWIG_IsOK(res1
)) {
28721 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PreviewControlBar_SetZoomControl" "', expected argument " "1"" of type '" "wxPreviewControlBar *""'");
28723 arg1
= reinterpret_cast< wxPreviewControlBar
* >(argp1
);
28724 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
28725 if (!SWIG_IsOK(ecode2
)) {
28726 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PreviewControlBar_SetZoomControl" "', expected argument " "2"" of type '" "int""'");
28728 arg2
= static_cast< int >(val2
);
28730 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28731 (arg1
)->SetZoomControl(arg2
);
28732 wxPyEndAllowThreads(__tstate
);
28733 if (PyErr_Occurred()) SWIG_fail
;
28735 resultobj
= SWIG_Py_Void();
28742 SWIGINTERN PyObject
*_wrap_PreviewControlBar_GetPrintPreview(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28743 PyObject
*resultobj
= 0;
28744 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 0 ;
28745 wxPrintPreview
*result
= 0 ;
28748 PyObject
*swig_obj
[1] ;
28750 if (!args
) SWIG_fail
;
28751 swig_obj
[0] = args
;
28752 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPreviewControlBar
, 0 | 0 );
28753 if (!SWIG_IsOK(res1
)) {
28754 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PreviewControlBar_GetPrintPreview" "', expected argument " "1"" of type '" "wxPreviewControlBar *""'");
28756 arg1
= reinterpret_cast< wxPreviewControlBar
* >(argp1
);
28758 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28759 result
= (wxPrintPreview
*)(arg1
)->GetPrintPreview();
28760 wxPyEndAllowThreads(__tstate
);
28761 if (PyErr_Occurred()) SWIG_fail
;
28763 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
28770 SWIGINTERN PyObject
*_wrap_PreviewControlBar_OnNext(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28771 PyObject
*resultobj
= 0;
28772 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 0 ;
28775 PyObject
*swig_obj
[1] ;
28777 if (!args
) SWIG_fail
;
28778 swig_obj
[0] = args
;
28779 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPreviewControlBar
, 0 | 0 );
28780 if (!SWIG_IsOK(res1
)) {
28781 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PreviewControlBar_OnNext" "', expected argument " "1"" of type '" "wxPreviewControlBar *""'");
28783 arg1
= reinterpret_cast< wxPreviewControlBar
* >(argp1
);
28785 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28787 wxPyEndAllowThreads(__tstate
);
28788 if (PyErr_Occurred()) SWIG_fail
;
28790 resultobj
= SWIG_Py_Void();
28797 SWIGINTERN PyObject
*_wrap_PreviewControlBar_OnPrevious(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28798 PyObject
*resultobj
= 0;
28799 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 0 ;
28802 PyObject
*swig_obj
[1] ;
28804 if (!args
) SWIG_fail
;
28805 swig_obj
[0] = args
;
28806 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPreviewControlBar
, 0 | 0 );
28807 if (!SWIG_IsOK(res1
)) {
28808 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PreviewControlBar_OnPrevious" "', expected argument " "1"" of type '" "wxPreviewControlBar *""'");
28810 arg1
= reinterpret_cast< wxPreviewControlBar
* >(argp1
);
28812 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28813 (arg1
)->OnPrevious();
28814 wxPyEndAllowThreads(__tstate
);
28815 if (PyErr_Occurred()) SWIG_fail
;
28817 resultobj
= SWIG_Py_Void();
28824 SWIGINTERN PyObject
*_wrap_PreviewControlBar_OnFirst(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28825 PyObject
*resultobj
= 0;
28826 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 0 ;
28829 PyObject
*swig_obj
[1] ;
28831 if (!args
) SWIG_fail
;
28832 swig_obj
[0] = args
;
28833 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPreviewControlBar
, 0 | 0 );
28834 if (!SWIG_IsOK(res1
)) {
28835 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PreviewControlBar_OnFirst" "', expected argument " "1"" of type '" "wxPreviewControlBar *""'");
28837 arg1
= reinterpret_cast< wxPreviewControlBar
* >(argp1
);
28839 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28841 wxPyEndAllowThreads(__tstate
);
28842 if (PyErr_Occurred()) SWIG_fail
;
28844 resultobj
= SWIG_Py_Void();
28851 SWIGINTERN PyObject
*_wrap_PreviewControlBar_OnLast(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28852 PyObject
*resultobj
= 0;
28853 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 0 ;
28856 PyObject
*swig_obj
[1] ;
28858 if (!args
) SWIG_fail
;
28859 swig_obj
[0] = args
;
28860 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPreviewControlBar
, 0 | 0 );
28861 if (!SWIG_IsOK(res1
)) {
28862 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PreviewControlBar_OnLast" "', expected argument " "1"" of type '" "wxPreviewControlBar *""'");
28864 arg1
= reinterpret_cast< wxPreviewControlBar
* >(argp1
);
28866 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28868 wxPyEndAllowThreads(__tstate
);
28869 if (PyErr_Occurred()) SWIG_fail
;
28871 resultobj
= SWIG_Py_Void();
28878 SWIGINTERN PyObject
*_wrap_PreviewControlBar_OnGoto(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28879 PyObject
*resultobj
= 0;
28880 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 0 ;
28883 PyObject
*swig_obj
[1] ;
28885 if (!args
) SWIG_fail
;
28886 swig_obj
[0] = args
;
28887 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPreviewControlBar
, 0 | 0 );
28888 if (!SWIG_IsOK(res1
)) {
28889 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PreviewControlBar_OnGoto" "', expected argument " "1"" of type '" "wxPreviewControlBar *""'");
28891 arg1
= reinterpret_cast< wxPreviewControlBar
* >(argp1
);
28893 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28895 wxPyEndAllowThreads(__tstate
);
28896 if (PyErr_Occurred()) SWIG_fail
;
28898 resultobj
= SWIG_Py_Void();
28905 SWIGINTERN PyObject
*PreviewControlBar_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28907 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
28908 SWIG_TypeNewClientData(SWIGTYPE_p_wxPreviewControlBar
, SWIG_NewClientData(obj
));
28909 return SWIG_Py_Void();
28912 SWIGINTERN PyObject
*PreviewControlBar_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28913 return SWIG_Python_InitShadowInstance(args
);
28916 SWIGINTERN PyObject
*_wrap_new_PrintPreview__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
28917 PyObject
*resultobj
= 0;
28918 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
28919 wxPyPrintout
*arg2
= (wxPyPrintout
*) 0 ;
28920 wxPrintDialogData
*arg3
= (wxPrintDialogData
*) NULL
;
28921 wxPrintPreview
*result
= 0 ;
28927 if ((nobjs
< 2) || (nobjs
> 3)) SWIG_fail
;
28928 res1
= SWIG_ConvertPtr(swig_obj
[0], SWIG_as_voidptrptr(&arg1
), SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_DISOWN
| 0 );
28929 if (!SWIG_IsOK(res1
)) {
28930 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PrintPreview" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28932 res2
= SWIG_ConvertPtr(swig_obj
[1], SWIG_as_voidptrptr(&arg2
), SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_DISOWN
| 0 );
28933 if (!SWIG_IsOK(res2
)) {
28934 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_PrintPreview" "', expected argument " "2"" of type '" "wxPyPrintout *""'");
28937 res3
= SWIG_ConvertPtr(swig_obj
[2], &argp3
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
28938 if (!SWIG_IsOK(res3
)) {
28939 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "new_PrintPreview" "', expected argument " "3"" of type '" "wxPrintDialogData *""'");
28941 arg3
= reinterpret_cast< wxPrintDialogData
* >(argp3
);
28944 if (!wxPyCheckForApp()) SWIG_fail
;
28945 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28946 result
= (wxPrintPreview
*)new wxPrintPreview(arg1
,arg2
,arg3
);
28947 wxPyEndAllowThreads(__tstate
);
28948 if (PyErr_Occurred()) SWIG_fail
;
28950 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPrintPreview
, SWIG_POINTER_NEW
| 0 );
28957 SWIGINTERN PyObject
*_wrap_new_PrintPreview__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
28958 PyObject
*resultobj
= 0;
28959 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
28960 wxPyPrintout
*arg2
= (wxPyPrintout
*) 0 ;
28961 wxPrintData
*arg3
= (wxPrintData
*) 0 ;
28962 wxPrintPreview
*result
= 0 ;
28968 if ((nobjs
< 3) || (nobjs
> 3)) SWIG_fail
;
28969 res1
= SWIG_ConvertPtr(swig_obj
[0], SWIG_as_voidptrptr(&arg1
), SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_DISOWN
| 0 );
28970 if (!SWIG_IsOK(res1
)) {
28971 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PrintPreview" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28973 res2
= SWIG_ConvertPtr(swig_obj
[1], SWIG_as_voidptrptr(&arg2
), SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_DISOWN
| 0 );
28974 if (!SWIG_IsOK(res2
)) {
28975 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_PrintPreview" "', expected argument " "2"" of type '" "wxPyPrintout *""'");
28977 res3
= SWIG_ConvertPtr(swig_obj
[2], &argp3
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
28978 if (!SWIG_IsOK(res3
)) {
28979 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "new_PrintPreview" "', expected argument " "3"" of type '" "wxPrintData *""'");
28981 arg3
= reinterpret_cast< wxPrintData
* >(argp3
);
28983 if (!wxPyCheckForApp()) SWIG_fail
;
28984 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28985 result
= (wxPrintPreview
*)new wxPrintPreview(arg1
,arg2
,arg3
);
28986 wxPyEndAllowThreads(__tstate
);
28987 if (PyErr_Occurred()) SWIG_fail
;
28989 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPrintPreview
, SWIG_POINTER_NEW
| 0 );
28996 SWIGINTERN PyObject
*_wrap_new_PrintPreview(PyObject
*self
, PyObject
*args
) {
29000 if (!(argc
= SWIG_Python_UnpackTuple(args
,"new_PrintPreview",0,3,argv
))) SWIG_fail
;
29002 if ((argc
>= 2) && (argc
<= 3)) {
29007 int res
= SWIG_ConvertPtr(argv
[2], &vptr
, SWIGTYPE_p_wxPrintDialogData
, 0);
29008 _v
= SWIG_CheckState(res
);
29010 if (!_v
) goto check_1
;
29012 return _wrap_new_PrintPreview__SWIG_0(self
, argc
, argv
);
29017 return _wrap_new_PrintPreview__SWIG_1(self
, argc
, argv
);
29021 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'new_PrintPreview'");
29026 SWIGINTERN PyObject
*_wrap_delete_PrintPreview(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29027 PyObject
*resultobj
= 0;
29028 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
29031 PyObject
*swig_obj
[1] ;
29033 if (!args
) SWIG_fail
;
29034 swig_obj
[0] = args
;
29035 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintPreview
, SWIG_POINTER_DISOWN
| 0 );
29036 if (!SWIG_IsOK(res1
)) {
29037 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_PrintPreview" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29039 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
29041 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29044 wxPyEndAllowThreads(__tstate
);
29045 if (PyErr_Occurred()) SWIG_fail
;
29047 resultobj
= SWIG_Py_Void();
29054 SWIGINTERN PyObject
*_wrap_PrintPreview_SetCurrentPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29055 PyObject
*resultobj
= 0;
29056 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
29063 PyObject
* obj0
= 0 ;
29064 PyObject
* obj1
= 0 ;
29065 char * kwnames
[] = {
29066 (char *) "self",(char *) "pageNum", NULL
29069 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_SetCurrentPage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29070 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
29071 if (!SWIG_IsOK(res1
)) {
29072 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_SetCurrentPage" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29074 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
29075 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
29076 if (!SWIG_IsOK(ecode2
)) {
29077 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintPreview_SetCurrentPage" "', expected argument " "2"" of type '" "int""'");
29079 arg2
= static_cast< int >(val2
);
29081 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29082 result
= (bool)(arg1
)->SetCurrentPage(arg2
);
29083 wxPyEndAllowThreads(__tstate
);
29084 if (PyErr_Occurred()) SWIG_fail
;
29087 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29095 SWIGINTERN PyObject
*_wrap_PrintPreview_GetCurrentPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29096 PyObject
*resultobj
= 0;
29097 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
29101 PyObject
*swig_obj
[1] ;
29103 if (!args
) SWIG_fail
;
29104 swig_obj
[0] = args
;
29105 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
29106 if (!SWIG_IsOK(res1
)) {
29107 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_GetCurrentPage" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29109 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
29111 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29112 result
= (int)(arg1
)->GetCurrentPage();
29113 wxPyEndAllowThreads(__tstate
);
29114 if (PyErr_Occurred()) SWIG_fail
;
29116 resultobj
= SWIG_From_int(static_cast< int >(result
));
29123 SWIGINTERN PyObject
*_wrap_PrintPreview_SetPrintout(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29124 PyObject
*resultobj
= 0;
29125 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
29126 wxPyPrintout
*arg2
= (wxPyPrintout
*) 0 ;
29130 PyObject
* obj0
= 0 ;
29131 PyObject
* obj1
= 0 ;
29132 char * kwnames
[] = {
29133 (char *) "self",(char *) "printout", NULL
29136 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_SetPrintout",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29137 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
29138 if (!SWIG_IsOK(res1
)) {
29139 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_SetPrintout" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29141 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
29142 res2
= SWIG_ConvertPtr(obj1
, SWIG_as_voidptrptr(&arg2
), SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_DISOWN
| 0 );
29143 if (!SWIG_IsOK(res2
)) {
29144 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PrintPreview_SetPrintout" "', expected argument " "2"" of type '" "wxPyPrintout *""'");
29147 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29148 (arg1
)->SetPrintout(arg2
);
29149 wxPyEndAllowThreads(__tstate
);
29150 if (PyErr_Occurred()) SWIG_fail
;
29152 resultobj
= SWIG_Py_Void();
29159 SWIGINTERN PyObject
*_wrap_PrintPreview_GetPrintout(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29160 PyObject
*resultobj
= 0;
29161 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
29162 wxPyPrintout
*result
= 0 ;
29165 PyObject
*swig_obj
[1] ;
29167 if (!args
) SWIG_fail
;
29168 swig_obj
[0] = args
;
29169 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
29170 if (!SWIG_IsOK(res1
)) {
29171 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_GetPrintout" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29173 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
29175 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29176 result
= (wxPyPrintout
*)(arg1
)->GetPrintout();
29177 wxPyEndAllowThreads(__tstate
);
29178 if (PyErr_Occurred()) SWIG_fail
;
29181 resultobj
= wxPyMake_wxObject(result
, 0);
29189 SWIGINTERN PyObject
*_wrap_PrintPreview_GetPrintoutForPrinting(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29190 PyObject
*resultobj
= 0;
29191 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
29192 wxPyPrintout
*result
= 0 ;
29195 PyObject
*swig_obj
[1] ;
29197 if (!args
) SWIG_fail
;
29198 swig_obj
[0] = args
;
29199 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
29200 if (!SWIG_IsOK(res1
)) {
29201 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_GetPrintoutForPrinting" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29203 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
29205 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29206 result
= (wxPyPrintout
*)(arg1
)->GetPrintoutForPrinting();
29207 wxPyEndAllowThreads(__tstate
);
29208 if (PyErr_Occurred()) SWIG_fail
;
29211 resultobj
= wxPyMake_wxObject(result
, 0);
29219 SWIGINTERN PyObject
*_wrap_PrintPreview_SetFrame(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29220 PyObject
*resultobj
= 0;
29221 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
29222 wxFrame
*arg2
= (wxFrame
*) 0 ;
29227 PyObject
* obj0
= 0 ;
29228 PyObject
* obj1
= 0 ;
29229 char * kwnames
[] = {
29230 (char *) "self",(char *) "frame", NULL
29233 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_SetFrame",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29234 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
29235 if (!SWIG_IsOK(res1
)) {
29236 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_SetFrame" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29238 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
29239 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxFrame
, 0 | 0 );
29240 if (!SWIG_IsOK(res2
)) {
29241 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PrintPreview_SetFrame" "', expected argument " "2"" of type '" "wxFrame *""'");
29243 arg2
= reinterpret_cast< wxFrame
* >(argp2
);
29245 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29246 (arg1
)->SetFrame(arg2
);
29247 wxPyEndAllowThreads(__tstate
);
29248 if (PyErr_Occurred()) SWIG_fail
;
29250 resultobj
= SWIG_Py_Void();
29257 SWIGINTERN PyObject
*_wrap_PrintPreview_SetCanvas(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29258 PyObject
*resultobj
= 0;
29259 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
29260 wxPreviewCanvas
*arg2
= (wxPreviewCanvas
*) 0 ;
29265 PyObject
* obj0
= 0 ;
29266 PyObject
* obj1
= 0 ;
29267 char * kwnames
[] = {
29268 (char *) "self",(char *) "canvas", NULL
29271 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_SetCanvas",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29272 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
29273 if (!SWIG_IsOK(res1
)) {
29274 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_SetCanvas" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29276 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
29277 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxPreviewCanvas
, 0 | 0 );
29278 if (!SWIG_IsOK(res2
)) {
29279 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PrintPreview_SetCanvas" "', expected argument " "2"" of type '" "wxPreviewCanvas *""'");
29281 arg2
= reinterpret_cast< wxPreviewCanvas
* >(argp2
);
29283 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29284 (arg1
)->SetCanvas(arg2
);
29285 wxPyEndAllowThreads(__tstate
);
29286 if (PyErr_Occurred()) SWIG_fail
;
29288 resultobj
= SWIG_Py_Void();
29295 SWIGINTERN PyObject
*_wrap_PrintPreview_GetFrame(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29296 PyObject
*resultobj
= 0;
29297 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
29298 wxFrame
*result
= 0 ;
29301 PyObject
*swig_obj
[1] ;
29303 if (!args
) SWIG_fail
;
29304 swig_obj
[0] = args
;
29305 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
29306 if (!SWIG_IsOK(res1
)) {
29307 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_GetFrame" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29309 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
29311 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29312 result
= (wxFrame
*)(arg1
)->GetFrame();
29313 wxPyEndAllowThreads(__tstate
);
29314 if (PyErr_Occurred()) SWIG_fail
;
29317 resultobj
= wxPyMake_wxObject(result
, 0);
29325 SWIGINTERN PyObject
*_wrap_PrintPreview_GetCanvas(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29326 PyObject
*resultobj
= 0;
29327 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
29328 wxPreviewCanvas
*result
= 0 ;
29331 PyObject
*swig_obj
[1] ;
29333 if (!args
) SWIG_fail
;
29334 swig_obj
[0] = args
;
29335 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
29336 if (!SWIG_IsOK(res1
)) {
29337 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_GetCanvas" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29339 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
29341 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29342 result
= (wxPreviewCanvas
*)(arg1
)->GetCanvas();
29343 wxPyEndAllowThreads(__tstate
);
29344 if (PyErr_Occurred()) SWIG_fail
;
29346 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPreviewCanvas
, 0 | 0 );
29353 SWIGINTERN PyObject
*_wrap_PrintPreview_PaintPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29354 PyObject
*resultobj
= 0;
29355 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
29356 wxPreviewCanvas
*arg2
= (wxPreviewCanvas
*) 0 ;
29365 PyObject
* obj0
= 0 ;
29366 PyObject
* obj1
= 0 ;
29367 PyObject
* obj2
= 0 ;
29368 char * kwnames
[] = {
29369 (char *) "self",(char *) "canvas",(char *) "dc", NULL
29372 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PrintPreview_PaintPage",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
29373 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
29374 if (!SWIG_IsOK(res1
)) {
29375 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_PaintPage" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29377 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
29378 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxPreviewCanvas
, 0 | 0 );
29379 if (!SWIG_IsOK(res2
)) {
29380 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PrintPreview_PaintPage" "', expected argument " "2"" of type '" "wxPreviewCanvas *""'");
29382 arg2
= reinterpret_cast< wxPreviewCanvas
* >(argp2
);
29383 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
29384 if (!SWIG_IsOK(res3
)) {
29385 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "PrintPreview_PaintPage" "', expected argument " "3"" of type '" "wxDC &""'");
29388 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PrintPreview_PaintPage" "', expected argument " "3"" of type '" "wxDC &""'");
29390 arg3
= reinterpret_cast< wxDC
* >(argp3
);
29392 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29393 result
= (bool)(arg1
)->PaintPage(arg2
,*arg3
);
29394 wxPyEndAllowThreads(__tstate
);
29395 if (PyErr_Occurred()) SWIG_fail
;
29398 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29406 SWIGINTERN PyObject
*_wrap_PrintPreview_DrawBlankPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29407 PyObject
*resultobj
= 0;
29408 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
29409 wxPreviewCanvas
*arg2
= (wxPreviewCanvas
*) 0 ;
29418 PyObject
* obj0
= 0 ;
29419 PyObject
* obj1
= 0 ;
29420 PyObject
* obj2
= 0 ;
29421 char * kwnames
[] = {
29422 (char *) "self",(char *) "canvas",(char *) "dc", NULL
29425 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PrintPreview_DrawBlankPage",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
29426 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
29427 if (!SWIG_IsOK(res1
)) {
29428 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_DrawBlankPage" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29430 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
29431 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxPreviewCanvas
, 0 | 0 );
29432 if (!SWIG_IsOK(res2
)) {
29433 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PrintPreview_DrawBlankPage" "', expected argument " "2"" of type '" "wxPreviewCanvas *""'");
29435 arg2
= reinterpret_cast< wxPreviewCanvas
* >(argp2
);
29436 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
29437 if (!SWIG_IsOK(res3
)) {
29438 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "PrintPreview_DrawBlankPage" "', expected argument " "3"" of type '" "wxDC &""'");
29441 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PrintPreview_DrawBlankPage" "', expected argument " "3"" of type '" "wxDC &""'");
29443 arg3
= reinterpret_cast< wxDC
* >(argp3
);
29445 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29446 result
= (bool)(arg1
)->DrawBlankPage(arg2
,*arg3
);
29447 wxPyEndAllowThreads(__tstate
);
29448 if (PyErr_Occurred()) SWIG_fail
;
29451 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29459 SWIGINTERN PyObject
*_wrap_PrintPreview_RenderPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29460 PyObject
*resultobj
= 0;
29461 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
29468 PyObject
* obj0
= 0 ;
29469 PyObject
* obj1
= 0 ;
29470 char * kwnames
[] = {
29471 (char *) "self",(char *) "pageNum", NULL
29474 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_RenderPage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29475 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
29476 if (!SWIG_IsOK(res1
)) {
29477 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_RenderPage" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29479 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
29480 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
29481 if (!SWIG_IsOK(ecode2
)) {
29482 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintPreview_RenderPage" "', expected argument " "2"" of type '" "int""'");
29484 arg2
= static_cast< int >(val2
);
29486 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29487 result
= (bool)(arg1
)->RenderPage(arg2
);
29488 wxPyEndAllowThreads(__tstate
);
29489 if (PyErr_Occurred()) SWIG_fail
;
29492 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29500 SWIGINTERN PyObject
*_wrap_PrintPreview_AdjustScrollbars(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29501 PyObject
*resultobj
= 0;
29502 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
29503 wxPreviewCanvas
*arg2
= (wxPreviewCanvas
*) 0 ;
29508 PyObject
* obj0
= 0 ;
29509 PyObject
* obj1
= 0 ;
29510 char * kwnames
[] = {
29511 (char *) "self",(char *) "canvas", NULL
29514 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_AdjustScrollbars",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29515 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
29516 if (!SWIG_IsOK(res1
)) {
29517 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_AdjustScrollbars" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29519 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
29520 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxPreviewCanvas
, 0 | 0 );
29521 if (!SWIG_IsOK(res2
)) {
29522 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PrintPreview_AdjustScrollbars" "', expected argument " "2"" of type '" "wxPreviewCanvas *""'");
29524 arg2
= reinterpret_cast< wxPreviewCanvas
* >(argp2
);
29526 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29527 (arg1
)->AdjustScrollbars(arg2
);
29528 wxPyEndAllowThreads(__tstate
);
29529 if (PyErr_Occurred()) SWIG_fail
;
29531 resultobj
= SWIG_Py_Void();
29538 SWIGINTERN PyObject
*_wrap_PrintPreview_GetPrintDialogData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29539 PyObject
*resultobj
= 0;
29540 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
29541 wxPrintDialogData
*result
= 0 ;
29544 PyObject
*swig_obj
[1] ;
29546 if (!args
) SWIG_fail
;
29547 swig_obj
[0] = args
;
29548 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
29549 if (!SWIG_IsOK(res1
)) {
29550 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_GetPrintDialogData" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29552 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
29554 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29556 wxPrintDialogData
&_result_ref
= (arg1
)->GetPrintDialogData();
29557 result
= (wxPrintDialogData
*) &_result_ref
;
29559 wxPyEndAllowThreads(__tstate
);
29560 if (PyErr_Occurred()) SWIG_fail
;
29562 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
29569 SWIGINTERN PyObject
*_wrap_PrintPreview_SetZoom(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29570 PyObject
*resultobj
= 0;
29571 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
29577 PyObject
* obj0
= 0 ;
29578 PyObject
* obj1
= 0 ;
29579 char * kwnames
[] = {
29580 (char *) "self",(char *) "percent", NULL
29583 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_SetZoom",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29584 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
29585 if (!SWIG_IsOK(res1
)) {
29586 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_SetZoom" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29588 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
29589 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
29590 if (!SWIG_IsOK(ecode2
)) {
29591 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintPreview_SetZoom" "', expected argument " "2"" of type '" "int""'");
29593 arg2
= static_cast< int >(val2
);
29595 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29596 (arg1
)->SetZoom(arg2
);
29597 wxPyEndAllowThreads(__tstate
);
29598 if (PyErr_Occurred()) SWIG_fail
;
29600 resultobj
= SWIG_Py_Void();
29607 SWIGINTERN PyObject
*_wrap_PrintPreview_GetZoom(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29608 PyObject
*resultobj
= 0;
29609 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
29613 PyObject
*swig_obj
[1] ;
29615 if (!args
) SWIG_fail
;
29616 swig_obj
[0] = args
;
29617 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
29618 if (!SWIG_IsOK(res1
)) {
29619 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_GetZoom" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29621 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
29623 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29624 result
= (int)(arg1
)->GetZoom();
29625 wxPyEndAllowThreads(__tstate
);
29626 if (PyErr_Occurred()) SWIG_fail
;
29628 resultobj
= SWIG_From_int(static_cast< int >(result
));
29635 SWIGINTERN PyObject
*_wrap_PrintPreview_GetMaxPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29636 PyObject
*resultobj
= 0;
29637 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
29641 PyObject
*swig_obj
[1] ;
29643 if (!args
) SWIG_fail
;
29644 swig_obj
[0] = args
;
29645 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
29646 if (!SWIG_IsOK(res1
)) {
29647 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_GetMaxPage" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29649 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
29651 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29652 result
= (int)(arg1
)->GetMaxPage();
29653 wxPyEndAllowThreads(__tstate
);
29654 if (PyErr_Occurred()) SWIG_fail
;
29656 resultobj
= SWIG_From_int(static_cast< int >(result
));
29663 SWIGINTERN PyObject
*_wrap_PrintPreview_GetMinPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29664 PyObject
*resultobj
= 0;
29665 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
29669 PyObject
*swig_obj
[1] ;
29671 if (!args
) SWIG_fail
;
29672 swig_obj
[0] = args
;
29673 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
29674 if (!SWIG_IsOK(res1
)) {
29675 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_GetMinPage" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29677 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
29679 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29680 result
= (int)(arg1
)->GetMinPage();
29681 wxPyEndAllowThreads(__tstate
);
29682 if (PyErr_Occurred()) SWIG_fail
;
29684 resultobj
= SWIG_From_int(static_cast< int >(result
));
29691 SWIGINTERN PyObject
*_wrap_PrintPreview_Ok(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29692 PyObject
*resultobj
= 0;
29693 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
29697 PyObject
*swig_obj
[1] ;
29699 if (!args
) SWIG_fail
;
29700 swig_obj
[0] = args
;
29701 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
29702 if (!SWIG_IsOK(res1
)) {
29703 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_Ok" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29705 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
29707 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29708 result
= (bool)(arg1
)->Ok();
29709 wxPyEndAllowThreads(__tstate
);
29710 if (PyErr_Occurred()) SWIG_fail
;
29713 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29721 SWIGINTERN PyObject
*_wrap_PrintPreview_SetOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29722 PyObject
*resultobj
= 0;
29723 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
29729 PyObject
* obj0
= 0 ;
29730 PyObject
* obj1
= 0 ;
29731 char * kwnames
[] = {
29732 (char *) "self",(char *) "ok", NULL
29735 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_SetOk",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29736 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
29737 if (!SWIG_IsOK(res1
)) {
29738 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_SetOk" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29740 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
29741 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
29742 if (!SWIG_IsOK(ecode2
)) {
29743 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintPreview_SetOk" "', expected argument " "2"" of type '" "bool""'");
29745 arg2
= static_cast< bool >(val2
);
29747 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29748 (arg1
)->SetOk(arg2
);
29749 wxPyEndAllowThreads(__tstate
);
29750 if (PyErr_Occurred()) SWIG_fail
;
29752 resultobj
= SWIG_Py_Void();
29759 SWIGINTERN PyObject
*_wrap_PrintPreview_Print(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29760 PyObject
*resultobj
= 0;
29761 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
29768 PyObject
* obj0
= 0 ;
29769 PyObject
* obj1
= 0 ;
29770 char * kwnames
[] = {
29771 (char *) "self",(char *) "interactive", NULL
29774 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_Print",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29775 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
29776 if (!SWIG_IsOK(res1
)) {
29777 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_Print" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29779 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
29780 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
29781 if (!SWIG_IsOK(ecode2
)) {
29782 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintPreview_Print" "', expected argument " "2"" of type '" "bool""'");
29784 arg2
= static_cast< bool >(val2
);
29786 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29787 result
= (bool)(arg1
)->Print(arg2
);
29788 wxPyEndAllowThreads(__tstate
);
29789 if (PyErr_Occurred()) SWIG_fail
;
29792 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29800 SWIGINTERN PyObject
*_wrap_PrintPreview_DetermineScaling(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29801 PyObject
*resultobj
= 0;
29802 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
29805 PyObject
*swig_obj
[1] ;
29807 if (!args
) SWIG_fail
;
29808 swig_obj
[0] = args
;
29809 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
29810 if (!SWIG_IsOK(res1
)) {
29811 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_DetermineScaling" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29813 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
29815 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29816 (arg1
)->DetermineScaling();
29817 wxPyEndAllowThreads(__tstate
);
29818 if (PyErr_Occurred()) SWIG_fail
;
29820 resultobj
= SWIG_Py_Void();
29827 SWIGINTERN PyObject
*PrintPreview_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29829 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
29830 SWIG_TypeNewClientData(SWIGTYPE_p_wxPrintPreview
, SWIG_NewClientData(obj
));
29831 return SWIG_Py_Void();
29834 SWIGINTERN PyObject
*PrintPreview_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29835 return SWIG_Python_InitShadowInstance(args
);
29838 SWIGINTERN PyObject
*_wrap_new_PyPrintPreview__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
29839 PyObject
*resultobj
= 0;
29840 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
29841 wxPyPrintout
*arg2
= (wxPyPrintout
*) 0 ;
29842 wxPrintDialogData
*arg3
= (wxPrintDialogData
*) NULL
;
29843 wxPyPrintPreview
*result
= 0 ;
29849 if ((nobjs
< 2) || (nobjs
> 3)) SWIG_fail
;
29850 res1
= SWIG_ConvertPtr(swig_obj
[0], SWIG_as_voidptrptr(&arg1
), SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_DISOWN
| 0 );
29851 if (!SWIG_IsOK(res1
)) {
29852 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PyPrintPreview" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
29854 res2
= SWIG_ConvertPtr(swig_obj
[1], SWIG_as_voidptrptr(&arg2
), SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_DISOWN
| 0 );
29855 if (!SWIG_IsOK(res2
)) {
29856 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_PyPrintPreview" "', expected argument " "2"" of type '" "wxPyPrintout *""'");
29859 res3
= SWIG_ConvertPtr(swig_obj
[2], &argp3
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
29860 if (!SWIG_IsOK(res3
)) {
29861 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "new_PyPrintPreview" "', expected argument " "3"" of type '" "wxPrintDialogData *""'");
29863 arg3
= reinterpret_cast< wxPrintDialogData
* >(argp3
);
29866 if (!wxPyCheckForApp()) SWIG_fail
;
29867 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29868 result
= (wxPyPrintPreview
*)new wxPyPrintPreview(arg1
,arg2
,arg3
);
29869 wxPyEndAllowThreads(__tstate
);
29870 if (PyErr_Occurred()) SWIG_fail
;
29872 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyPrintPreview
, SWIG_POINTER_NEW
| 0 );
29879 SWIGINTERN PyObject
*_wrap_new_PyPrintPreview__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
29880 PyObject
*resultobj
= 0;
29881 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
29882 wxPyPrintout
*arg2
= (wxPyPrintout
*) 0 ;
29883 wxPrintData
*arg3
= (wxPrintData
*) 0 ;
29884 wxPyPrintPreview
*result
= 0 ;
29890 if ((nobjs
< 3) || (nobjs
> 3)) SWIG_fail
;
29891 res1
= SWIG_ConvertPtr(swig_obj
[0], SWIG_as_voidptrptr(&arg1
), SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_DISOWN
| 0 );
29892 if (!SWIG_IsOK(res1
)) {
29893 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PyPrintPreview" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
29895 res2
= SWIG_ConvertPtr(swig_obj
[1], SWIG_as_voidptrptr(&arg2
), SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_DISOWN
| 0 );
29896 if (!SWIG_IsOK(res2
)) {
29897 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_PyPrintPreview" "', expected argument " "2"" of type '" "wxPyPrintout *""'");
29899 res3
= SWIG_ConvertPtr(swig_obj
[2], &argp3
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
29900 if (!SWIG_IsOK(res3
)) {
29901 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "new_PyPrintPreview" "', expected argument " "3"" of type '" "wxPrintData *""'");
29903 arg3
= reinterpret_cast< wxPrintData
* >(argp3
);
29905 if (!wxPyCheckForApp()) SWIG_fail
;
29906 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29907 result
= (wxPyPrintPreview
*)new wxPyPrintPreview(arg1
,arg2
,arg3
);
29908 wxPyEndAllowThreads(__tstate
);
29909 if (PyErr_Occurred()) SWIG_fail
;
29911 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyPrintPreview
, SWIG_POINTER_NEW
| 0 );
29918 SWIGINTERN PyObject
*_wrap_new_PyPrintPreview(PyObject
*self
, PyObject
*args
) {
29922 if (!(argc
= SWIG_Python_UnpackTuple(args
,"new_PyPrintPreview",0,3,argv
))) SWIG_fail
;
29924 if ((argc
>= 2) && (argc
<= 3)) {
29929 int res
= SWIG_ConvertPtr(argv
[2], &vptr
, SWIGTYPE_p_wxPrintDialogData
, 0);
29930 _v
= SWIG_CheckState(res
);
29932 if (!_v
) goto check_1
;
29934 return _wrap_new_PyPrintPreview__SWIG_0(self
, argc
, argv
);
29939 return _wrap_new_PyPrintPreview__SWIG_1(self
, argc
, argv
);
29943 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'new_PyPrintPreview'");
29948 SWIGINTERN PyObject
*_wrap_PyPrintPreview__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29949 PyObject
*resultobj
= 0;
29950 wxPyPrintPreview
*arg1
= (wxPyPrintPreview
*) 0 ;
29951 PyObject
*arg2
= (PyObject
*) 0 ;
29952 PyObject
*arg3
= (PyObject
*) 0 ;
29955 PyObject
* obj0
= 0 ;
29956 PyObject
* obj1
= 0 ;
29957 PyObject
* obj2
= 0 ;
29958 char * kwnames
[] = {
29959 (char *) "self",(char *) "self",(char *) "_class", NULL
29962 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyPrintPreview__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
29963 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPrintPreview
, 0 | 0 );
29964 if (!SWIG_IsOK(res1
)) {
29965 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPrintPreview__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyPrintPreview *""'");
29967 arg1
= reinterpret_cast< wxPyPrintPreview
* >(argp1
);
29971 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29972 (arg1
)->_setCallbackInfo(arg2
,arg3
);
29973 wxPyEndAllowThreads(__tstate
);
29974 if (PyErr_Occurred()) SWIG_fail
;
29976 resultobj
= SWIG_Py_Void();
29983 SWIGINTERN PyObject
*PyPrintPreview_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29985 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
29986 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyPrintPreview
, SWIG_NewClientData(obj
));
29987 return SWIG_Py_Void();
29990 SWIGINTERN PyObject
*PyPrintPreview_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29991 return SWIG_Python_InitShadowInstance(args
);
29994 SWIGINTERN PyObject
*_wrap_new_PyPreviewFrame(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29995 PyObject
*resultobj
= 0;
29996 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
29997 wxFrame
*arg2
= (wxFrame
*) 0 ;
29998 wxString
*arg3
= 0 ;
29999 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
30000 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
30001 wxSize
const &arg5_defvalue
= wxDefaultSize
;
30002 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
30003 long arg6
= (long) wxDEFAULT_FRAME_STYLE
;
30004 wxString
const &arg7_defvalue
= wxPyFrameNameStr
;
30005 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
30006 wxPyPreviewFrame
*result
= 0 ;
30011 bool temp3
= false ;
30016 bool temp7
= false ;
30017 PyObject
* obj0
= 0 ;
30018 PyObject
* obj1
= 0 ;
30019 PyObject
* obj2
= 0 ;
30020 PyObject
* obj3
= 0 ;
30021 PyObject
* obj4
= 0 ;
30022 PyObject
* obj5
= 0 ;
30023 PyObject
* obj6
= 0 ;
30024 char * kwnames
[] = {
30025 (char *) "preview",(char *) "parent",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
30028 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:new_PyPreviewFrame",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
30029 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
30030 if (!SWIG_IsOK(res1
)) {
30031 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PyPreviewFrame" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
30033 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
30034 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxFrame
, 0 | 0 );
30035 if (!SWIG_IsOK(res2
)) {
30036 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_PyPreviewFrame" "', expected argument " "2"" of type '" "wxFrame *""'");
30038 arg2
= reinterpret_cast< wxFrame
* >(argp2
);
30040 arg3
= wxString_in_helper(obj2
);
30041 if (arg3
== NULL
) SWIG_fail
;
30047 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
30053 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
30057 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
30058 if (!SWIG_IsOK(ecode6
)) {
30059 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_PyPreviewFrame" "', expected argument " "6"" of type '" "long""'");
30061 arg6
= static_cast< long >(val6
);
30065 arg7
= wxString_in_helper(obj6
);
30066 if (arg7
== NULL
) SWIG_fail
;
30071 if (!wxPyCheckForApp()) SWIG_fail
;
30072 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30073 result
= (wxPyPreviewFrame
*)new wxPyPreviewFrame(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
30074 wxPyEndAllowThreads(__tstate
);
30075 if (PyErr_Occurred()) SWIG_fail
;
30077 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyPreviewFrame
, SWIG_POINTER_NEW
| 0 );
30100 SWIGINTERN PyObject
*_wrap_PyPreviewFrame__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30101 PyObject
*resultobj
= 0;
30102 wxPyPreviewFrame
*arg1
= (wxPyPreviewFrame
*) 0 ;
30103 PyObject
*arg2
= (PyObject
*) 0 ;
30104 PyObject
*arg3
= (PyObject
*) 0 ;
30107 PyObject
* obj0
= 0 ;
30108 PyObject
* obj1
= 0 ;
30109 PyObject
* obj2
= 0 ;
30110 char * kwnames
[] = {
30111 (char *) "self",(char *) "self",(char *) "_class", NULL
30114 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyPreviewFrame__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
30115 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPreviewFrame
, 0 | 0 );
30116 if (!SWIG_IsOK(res1
)) {
30117 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPreviewFrame__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyPreviewFrame *""'");
30119 arg1
= reinterpret_cast< wxPyPreviewFrame
* >(argp1
);
30123 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30124 (arg1
)->_setCallbackInfo(arg2
,arg3
);
30125 wxPyEndAllowThreads(__tstate
);
30126 if (PyErr_Occurred()) SWIG_fail
;
30128 resultobj
= SWIG_Py_Void();
30135 SWIGINTERN PyObject
*_wrap_PyPreviewFrame_SetPreviewCanvas(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30136 PyObject
*resultobj
= 0;
30137 wxPyPreviewFrame
*arg1
= (wxPyPreviewFrame
*) 0 ;
30138 wxPreviewCanvas
*arg2
= (wxPreviewCanvas
*) 0 ;
30143 PyObject
* obj0
= 0 ;
30144 PyObject
* obj1
= 0 ;
30145 char * kwnames
[] = {
30146 (char *) "self",(char *) "canvas", NULL
30149 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPreviewFrame_SetPreviewCanvas",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30150 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPreviewFrame
, 0 | 0 );
30151 if (!SWIG_IsOK(res1
)) {
30152 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPreviewFrame_SetPreviewCanvas" "', expected argument " "1"" of type '" "wxPyPreviewFrame *""'");
30154 arg1
= reinterpret_cast< wxPyPreviewFrame
* >(argp1
);
30155 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxPreviewCanvas
, 0 | 0 );
30156 if (!SWIG_IsOK(res2
)) {
30157 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PyPreviewFrame_SetPreviewCanvas" "', expected argument " "2"" of type '" "wxPreviewCanvas *""'");
30159 arg2
= reinterpret_cast< wxPreviewCanvas
* >(argp2
);
30161 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30162 (arg1
)->SetPreviewCanvas(arg2
);
30163 wxPyEndAllowThreads(__tstate
);
30164 if (PyErr_Occurred()) SWIG_fail
;
30166 resultobj
= SWIG_Py_Void();
30173 SWIGINTERN PyObject
*_wrap_PyPreviewFrame_SetControlBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30174 PyObject
*resultobj
= 0;
30175 wxPyPreviewFrame
*arg1
= (wxPyPreviewFrame
*) 0 ;
30176 wxPreviewControlBar
*arg2
= (wxPreviewControlBar
*) 0 ;
30181 PyObject
* obj0
= 0 ;
30182 PyObject
* obj1
= 0 ;
30183 char * kwnames
[] = {
30184 (char *) "self",(char *) "bar", NULL
30187 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPreviewFrame_SetControlBar",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30188 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPreviewFrame
, 0 | 0 );
30189 if (!SWIG_IsOK(res1
)) {
30190 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPreviewFrame_SetControlBar" "', expected argument " "1"" of type '" "wxPyPreviewFrame *""'");
30192 arg1
= reinterpret_cast< wxPyPreviewFrame
* >(argp1
);
30193 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxPreviewControlBar
, 0 | 0 );
30194 if (!SWIG_IsOK(res2
)) {
30195 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PyPreviewFrame_SetControlBar" "', expected argument " "2"" of type '" "wxPreviewControlBar *""'");
30197 arg2
= reinterpret_cast< wxPreviewControlBar
* >(argp2
);
30199 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30200 (arg1
)->SetControlBar(arg2
);
30201 wxPyEndAllowThreads(__tstate
);
30202 if (PyErr_Occurred()) SWIG_fail
;
30204 resultobj
= SWIG_Py_Void();
30211 SWIGINTERN PyObject
*_wrap_PyPreviewFrame_Initialize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30212 PyObject
*resultobj
= 0;
30213 wxPyPreviewFrame
*arg1
= (wxPyPreviewFrame
*) 0 ;
30216 PyObject
*swig_obj
[1] ;
30218 if (!args
) SWIG_fail
;
30219 swig_obj
[0] = args
;
30220 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPreviewFrame
, 0 | 0 );
30221 if (!SWIG_IsOK(res1
)) {
30222 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPreviewFrame_Initialize" "', expected argument " "1"" of type '" "wxPyPreviewFrame *""'");
30224 arg1
= reinterpret_cast< wxPyPreviewFrame
* >(argp1
);
30226 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30227 (arg1
)->Initialize();
30228 wxPyEndAllowThreads(__tstate
);
30229 if (PyErr_Occurred()) SWIG_fail
;
30231 resultobj
= SWIG_Py_Void();
30238 SWIGINTERN PyObject
*_wrap_PyPreviewFrame_CreateCanvas(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30239 PyObject
*resultobj
= 0;
30240 wxPyPreviewFrame
*arg1
= (wxPyPreviewFrame
*) 0 ;
30243 PyObject
*swig_obj
[1] ;
30245 if (!args
) SWIG_fail
;
30246 swig_obj
[0] = args
;
30247 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPreviewFrame
, 0 | 0 );
30248 if (!SWIG_IsOK(res1
)) {
30249 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPreviewFrame_CreateCanvas" "', expected argument " "1"" of type '" "wxPyPreviewFrame *""'");
30251 arg1
= reinterpret_cast< wxPyPreviewFrame
* >(argp1
);
30253 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30254 (arg1
)->CreateCanvas();
30255 wxPyEndAllowThreads(__tstate
);
30256 if (PyErr_Occurred()) SWIG_fail
;
30258 resultobj
= SWIG_Py_Void();
30265 SWIGINTERN PyObject
*_wrap_PyPreviewFrame_CreateControlBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30266 PyObject
*resultobj
= 0;
30267 wxPyPreviewFrame
*arg1
= (wxPyPreviewFrame
*) 0 ;
30270 PyObject
*swig_obj
[1] ;
30272 if (!args
) SWIG_fail
;
30273 swig_obj
[0] = args
;
30274 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPreviewFrame
, 0 | 0 );
30275 if (!SWIG_IsOK(res1
)) {
30276 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPreviewFrame_CreateControlBar" "', expected argument " "1"" of type '" "wxPyPreviewFrame *""'");
30278 arg1
= reinterpret_cast< wxPyPreviewFrame
* >(argp1
);
30280 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30281 (arg1
)->CreateControlBar();
30282 wxPyEndAllowThreads(__tstate
);
30283 if (PyErr_Occurred()) SWIG_fail
;
30285 resultobj
= SWIG_Py_Void();
30292 SWIGINTERN PyObject
*PyPreviewFrame_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30294 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
30295 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyPreviewFrame
, SWIG_NewClientData(obj
));
30296 return SWIG_Py_Void();
30299 SWIGINTERN PyObject
*PyPreviewFrame_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30300 return SWIG_Python_InitShadowInstance(args
);
30303 SWIGINTERN PyObject
*_wrap_new_PyPreviewControlBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30304 PyObject
*resultobj
= 0;
30305 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
30307 wxWindow
*arg3
= (wxWindow
*) 0 ;
30308 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
30309 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
30310 wxSize
const &arg5_defvalue
= wxDefaultSize
;
30311 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
30312 long arg6
= (long) 0 ;
30313 wxString
const &arg7_defvalue
= wxPyPanelNameStr
;
30314 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
30315 wxPyPreviewControlBar
*result
= 0 ;
30326 bool temp7
= false ;
30327 PyObject
* obj0
= 0 ;
30328 PyObject
* obj1
= 0 ;
30329 PyObject
* obj2
= 0 ;
30330 PyObject
* obj3
= 0 ;
30331 PyObject
* obj4
= 0 ;
30332 PyObject
* obj5
= 0 ;
30333 PyObject
* obj6
= 0 ;
30334 char * kwnames
[] = {
30335 (char *) "preview",(char *) "buttons",(char *) "parent",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
30338 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:new_PyPreviewControlBar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
30339 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
30340 if (!SWIG_IsOK(res1
)) {
30341 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PyPreviewControlBar" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
30343 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
30344 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
30345 if (!SWIG_IsOK(ecode2
)) {
30346 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_PyPreviewControlBar" "', expected argument " "2"" of type '" "long""'");
30348 arg2
= static_cast< long >(val2
);
30349 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxWindow
, 0 | 0 );
30350 if (!SWIG_IsOK(res3
)) {
30351 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "new_PyPreviewControlBar" "', expected argument " "3"" of type '" "wxWindow *""'");
30353 arg3
= reinterpret_cast< wxWindow
* >(argp3
);
30357 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
30363 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
30367 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
30368 if (!SWIG_IsOK(ecode6
)) {
30369 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_PyPreviewControlBar" "', expected argument " "6"" of type '" "long""'");
30371 arg6
= static_cast< long >(val6
);
30375 arg7
= wxString_in_helper(obj6
);
30376 if (arg7
== NULL
) SWIG_fail
;
30381 if (!wxPyCheckForApp()) SWIG_fail
;
30382 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30383 result
= (wxPyPreviewControlBar
*)new wxPyPreviewControlBar(arg1
,arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
30384 wxPyEndAllowThreads(__tstate
);
30385 if (PyErr_Occurred()) SWIG_fail
;
30387 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyPreviewControlBar
, SWIG_POINTER_NEW
| 0 );
30402 SWIGINTERN PyObject
*_wrap_PyPreviewControlBar__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30403 PyObject
*resultobj
= 0;
30404 wxPyPreviewControlBar
*arg1
= (wxPyPreviewControlBar
*) 0 ;
30405 PyObject
*arg2
= (PyObject
*) 0 ;
30406 PyObject
*arg3
= (PyObject
*) 0 ;
30409 PyObject
* obj0
= 0 ;
30410 PyObject
* obj1
= 0 ;
30411 PyObject
* obj2
= 0 ;
30412 char * kwnames
[] = {
30413 (char *) "self",(char *) "self",(char *) "_class", NULL
30416 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyPreviewControlBar__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
30417 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPreviewControlBar
, 0 | 0 );
30418 if (!SWIG_IsOK(res1
)) {
30419 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPreviewControlBar__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyPreviewControlBar *""'");
30421 arg1
= reinterpret_cast< wxPyPreviewControlBar
* >(argp1
);
30425 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30426 (arg1
)->_setCallbackInfo(arg2
,arg3
);
30427 wxPyEndAllowThreads(__tstate
);
30428 if (PyErr_Occurred()) SWIG_fail
;
30430 resultobj
= SWIG_Py_Void();
30437 SWIGINTERN PyObject
*_wrap_PyPreviewControlBar_SetPrintPreview(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30438 PyObject
*resultobj
= 0;
30439 wxPyPreviewControlBar
*arg1
= (wxPyPreviewControlBar
*) 0 ;
30440 wxPrintPreview
*arg2
= (wxPrintPreview
*) 0 ;
30445 PyObject
* obj0
= 0 ;
30446 PyObject
* obj1
= 0 ;
30447 char * kwnames
[] = {
30448 (char *) "self",(char *) "preview", NULL
30451 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPreviewControlBar_SetPrintPreview",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30452 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPreviewControlBar
, 0 | 0 );
30453 if (!SWIG_IsOK(res1
)) {
30454 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPreviewControlBar_SetPrintPreview" "', expected argument " "1"" of type '" "wxPyPreviewControlBar *""'");
30456 arg1
= reinterpret_cast< wxPyPreviewControlBar
* >(argp1
);
30457 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
30458 if (!SWIG_IsOK(res2
)) {
30459 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PyPreviewControlBar_SetPrintPreview" "', expected argument " "2"" of type '" "wxPrintPreview *""'");
30461 arg2
= reinterpret_cast< wxPrintPreview
* >(argp2
);
30463 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30464 (arg1
)->SetPrintPreview(arg2
);
30465 wxPyEndAllowThreads(__tstate
);
30466 if (PyErr_Occurred()) SWIG_fail
;
30468 resultobj
= SWIG_Py_Void();
30475 SWIGINTERN PyObject
*_wrap_PyPreviewControlBar_CreateButtons(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30476 PyObject
*resultobj
= 0;
30477 wxPyPreviewControlBar
*arg1
= (wxPyPreviewControlBar
*) 0 ;
30480 PyObject
*swig_obj
[1] ;
30482 if (!args
) SWIG_fail
;
30483 swig_obj
[0] = args
;
30484 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPreviewControlBar
, 0 | 0 );
30485 if (!SWIG_IsOK(res1
)) {
30486 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPreviewControlBar_CreateButtons" "', expected argument " "1"" of type '" "wxPyPreviewControlBar *""'");
30488 arg1
= reinterpret_cast< wxPyPreviewControlBar
* >(argp1
);
30490 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30491 (arg1
)->CreateButtons();
30492 wxPyEndAllowThreads(__tstate
);
30493 if (PyErr_Occurred()) SWIG_fail
;
30495 resultobj
= SWIG_Py_Void();
30502 SWIGINTERN PyObject
*_wrap_PyPreviewControlBar_SetZoomControl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30503 PyObject
*resultobj
= 0;
30504 wxPyPreviewControlBar
*arg1
= (wxPyPreviewControlBar
*) 0 ;
30510 PyObject
* obj0
= 0 ;
30511 PyObject
* obj1
= 0 ;
30512 char * kwnames
[] = {
30513 (char *) "self",(char *) "zoom", NULL
30516 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPreviewControlBar_SetZoomControl",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30517 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPreviewControlBar
, 0 | 0 );
30518 if (!SWIG_IsOK(res1
)) {
30519 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPreviewControlBar_SetZoomControl" "', expected argument " "1"" of type '" "wxPyPreviewControlBar *""'");
30521 arg1
= reinterpret_cast< wxPyPreviewControlBar
* >(argp1
);
30522 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
30523 if (!SWIG_IsOK(ecode2
)) {
30524 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PyPreviewControlBar_SetZoomControl" "', expected argument " "2"" of type '" "int""'");
30526 arg2
= static_cast< int >(val2
);
30528 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30529 (arg1
)->SetZoomControl(arg2
);
30530 wxPyEndAllowThreads(__tstate
);
30531 if (PyErr_Occurred()) SWIG_fail
;
30533 resultobj
= SWIG_Py_Void();
30540 SWIGINTERN PyObject
*PyPreviewControlBar_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30542 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
30543 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyPreviewControlBar
, SWIG_NewClientData(obj
));
30544 return SWIG_Py_Void();
30547 SWIGINTERN PyObject
*PyPreviewControlBar_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30548 return SWIG_Python_InitShadowInstance(args
);
30551 static PyMethodDef SwigMethods
[] = {
30552 { (char *)"new_Panel", (PyCFunction
) _wrap_new_Panel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30553 { (char *)"new_PrePanel", (PyCFunction
)_wrap_new_PrePanel
, METH_NOARGS
, NULL
},
30554 { (char *)"Panel_Create", (PyCFunction
) _wrap_Panel_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30555 { (char *)"Panel_SetFocusIgnoringChildren", (PyCFunction
)_wrap_Panel_SetFocusIgnoringChildren
, METH_O
, NULL
},
30556 { (char *)"Panel_GetClassDefaultAttributes", (PyCFunction
) _wrap_Panel_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30557 { (char *)"Panel_swigregister", Panel_swigregister
, METH_VARARGS
, NULL
},
30558 { (char *)"Panel_swiginit", Panel_swiginit
, METH_VARARGS
, NULL
},
30559 { (char *)"new_ScrolledWindow", (PyCFunction
) _wrap_new_ScrolledWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30560 { (char *)"new_PreScrolledWindow", (PyCFunction
)_wrap_new_PreScrolledWindow
, METH_NOARGS
, NULL
},
30561 { (char *)"ScrolledWindow_Create", (PyCFunction
) _wrap_ScrolledWindow_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30562 { (char *)"ScrolledWindow_SetScrollbars", (PyCFunction
) _wrap_ScrolledWindow_SetScrollbars
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30563 { (char *)"ScrolledWindow_Scroll", (PyCFunction
) _wrap_ScrolledWindow_Scroll
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30564 { (char *)"ScrolledWindow_GetScrollPageSize", (PyCFunction
) _wrap_ScrolledWindow_GetScrollPageSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30565 { (char *)"ScrolledWindow_SetScrollPageSize", (PyCFunction
) _wrap_ScrolledWindow_SetScrollPageSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30566 { (char *)"ScrolledWindow_SetScrollRate", (PyCFunction
) _wrap_ScrolledWindow_SetScrollRate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30567 { (char *)"ScrolledWindow_GetScrollPixelsPerUnit", (PyCFunction
)_wrap_ScrolledWindow_GetScrollPixelsPerUnit
, METH_O
, NULL
},
30568 { (char *)"ScrolledWindow_EnableScrolling", (PyCFunction
) _wrap_ScrolledWindow_EnableScrolling
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30569 { (char *)"ScrolledWindow_GetViewStart", (PyCFunction
)_wrap_ScrolledWindow_GetViewStart
, METH_O
, NULL
},
30570 { (char *)"ScrolledWindow_SetScale", (PyCFunction
) _wrap_ScrolledWindow_SetScale
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30571 { (char *)"ScrolledWindow_GetScaleX", (PyCFunction
)_wrap_ScrolledWindow_GetScaleX
, METH_O
, NULL
},
30572 { (char *)"ScrolledWindow_GetScaleY", (PyCFunction
)_wrap_ScrolledWindow_GetScaleY
, METH_O
, NULL
},
30573 { (char *)"ScrolledWindow_CalcScrolledPosition", _wrap_ScrolledWindow_CalcScrolledPosition
, METH_VARARGS
, NULL
},
30574 { (char *)"ScrolledWindow_CalcUnscrolledPosition", _wrap_ScrolledWindow_CalcUnscrolledPosition
, METH_VARARGS
, NULL
},
30575 { (char *)"ScrolledWindow_AdjustScrollbars", (PyCFunction
)_wrap_ScrolledWindow_AdjustScrollbars
, METH_O
, NULL
},
30576 { (char *)"ScrolledWindow_CalcScrollInc", (PyCFunction
) _wrap_ScrolledWindow_CalcScrollInc
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30577 { (char *)"ScrolledWindow_SetTargetWindow", (PyCFunction
) _wrap_ScrolledWindow_SetTargetWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30578 { (char *)"ScrolledWindow_GetTargetWindow", (PyCFunction
)_wrap_ScrolledWindow_GetTargetWindow
, METH_O
, NULL
},
30579 { (char *)"ScrolledWindow_DoPrepareDC", (PyCFunction
) _wrap_ScrolledWindow_DoPrepareDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30580 { (char *)"ScrolledWindow_GetClassDefaultAttributes", (PyCFunction
) _wrap_ScrolledWindow_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30581 { (char *)"ScrolledWindow_swigregister", ScrolledWindow_swigregister
, METH_VARARGS
, NULL
},
30582 { (char *)"ScrolledWindow_swiginit", ScrolledWindow_swiginit
, METH_VARARGS
, NULL
},
30583 { (char *)"TopLevelWindow_Maximize", (PyCFunction
) _wrap_TopLevelWindow_Maximize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30584 { (char *)"TopLevelWindow_Restore", (PyCFunction
)_wrap_TopLevelWindow_Restore
, METH_O
, NULL
},
30585 { (char *)"TopLevelWindow_Iconize", (PyCFunction
) _wrap_TopLevelWindow_Iconize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30586 { (char *)"TopLevelWindow_IsMaximized", (PyCFunction
)_wrap_TopLevelWindow_IsMaximized
, METH_O
, NULL
},
30587 { (char *)"TopLevelWindow_IsAlwaysMaximized", (PyCFunction
)_wrap_TopLevelWindow_IsAlwaysMaximized
, METH_O
, NULL
},
30588 { (char *)"TopLevelWindow_IsIconized", (PyCFunction
)_wrap_TopLevelWindow_IsIconized
, METH_O
, NULL
},
30589 { (char *)"TopLevelWindow_GetIcon", (PyCFunction
)_wrap_TopLevelWindow_GetIcon
, METH_O
, NULL
},
30590 { (char *)"TopLevelWindow_SetIcon", (PyCFunction
) _wrap_TopLevelWindow_SetIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30591 { (char *)"TopLevelWindow_SetIcons", (PyCFunction
) _wrap_TopLevelWindow_SetIcons
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30592 { (char *)"TopLevelWindow_ShowFullScreen", (PyCFunction
) _wrap_TopLevelWindow_ShowFullScreen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30593 { (char *)"TopLevelWindow_IsFullScreen", (PyCFunction
)_wrap_TopLevelWindow_IsFullScreen
, METH_O
, NULL
},
30594 { (char *)"TopLevelWindow_SetTitle", (PyCFunction
) _wrap_TopLevelWindow_SetTitle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30595 { (char *)"TopLevelWindow_GetTitle", (PyCFunction
)_wrap_TopLevelWindow_GetTitle
, METH_O
, NULL
},
30596 { (char *)"TopLevelWindow_SetShape", (PyCFunction
) _wrap_TopLevelWindow_SetShape
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30597 { (char *)"TopLevelWindow_RequestUserAttention", (PyCFunction
) _wrap_TopLevelWindow_RequestUserAttention
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30598 { (char *)"TopLevelWindow_IsActive", (PyCFunction
)_wrap_TopLevelWindow_IsActive
, METH_O
, NULL
},
30599 { (char *)"TopLevelWindow_MacSetMetalAppearance", (PyCFunction
) _wrap_TopLevelWindow_MacSetMetalAppearance
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30600 { (char *)"TopLevelWindow_MacGetMetalAppearance", (PyCFunction
)_wrap_TopLevelWindow_MacGetMetalAppearance
, METH_O
, NULL
},
30601 { (char *)"TopLevelWindow_CenterOnScreen", (PyCFunction
) _wrap_TopLevelWindow_CenterOnScreen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30602 { (char *)"TopLevelWindow_swigregister", TopLevelWindow_swigregister
, METH_VARARGS
, NULL
},
30603 { (char *)"new_Frame", (PyCFunction
) _wrap_new_Frame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30604 { (char *)"new_PreFrame", (PyCFunction
)_wrap_new_PreFrame
, METH_NOARGS
, NULL
},
30605 { (char *)"Frame_Create", (PyCFunction
) _wrap_Frame_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30606 { (char *)"Frame_SendSizeEvent", (PyCFunction
)_wrap_Frame_SendSizeEvent
, METH_O
, NULL
},
30607 { (char *)"Frame_SetMenuBar", (PyCFunction
) _wrap_Frame_SetMenuBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30608 { (char *)"Frame_GetMenuBar", (PyCFunction
)_wrap_Frame_GetMenuBar
, METH_O
, NULL
},
30609 { (char *)"Frame_ProcessCommand", (PyCFunction
) _wrap_Frame_ProcessCommand
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30610 { (char *)"Frame_CreateStatusBar", (PyCFunction
) _wrap_Frame_CreateStatusBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30611 { (char *)"Frame_GetStatusBar", (PyCFunction
)_wrap_Frame_GetStatusBar
, METH_O
, NULL
},
30612 { (char *)"Frame_SetStatusBar", (PyCFunction
) _wrap_Frame_SetStatusBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30613 { (char *)"Frame_SetStatusText", (PyCFunction
) _wrap_Frame_SetStatusText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30614 { (char *)"Frame_SetStatusWidths", (PyCFunction
) _wrap_Frame_SetStatusWidths
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30615 { (char *)"Frame_PushStatusText", (PyCFunction
) _wrap_Frame_PushStatusText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30616 { (char *)"Frame_PopStatusText", (PyCFunction
) _wrap_Frame_PopStatusText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30617 { (char *)"Frame_SetStatusBarPane", (PyCFunction
) _wrap_Frame_SetStatusBarPane
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30618 { (char *)"Frame_GetStatusBarPane", (PyCFunction
)_wrap_Frame_GetStatusBarPane
, METH_O
, NULL
},
30619 { (char *)"Frame_CreateToolBar", (PyCFunction
) _wrap_Frame_CreateToolBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30620 { (char *)"Frame_GetToolBar", (PyCFunction
)_wrap_Frame_GetToolBar
, METH_O
, NULL
},
30621 { (char *)"Frame_SetToolBar", (PyCFunction
) _wrap_Frame_SetToolBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30622 { (char *)"Frame_DoGiveHelp", (PyCFunction
) _wrap_Frame_DoGiveHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30623 { (char *)"Frame_DoMenuUpdates", (PyCFunction
) _wrap_Frame_DoMenuUpdates
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30624 { (char *)"Frame_GetClassDefaultAttributes", (PyCFunction
) _wrap_Frame_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30625 { (char *)"Frame_swigregister", Frame_swigregister
, METH_VARARGS
, NULL
},
30626 { (char *)"Frame_swiginit", Frame_swiginit
, METH_VARARGS
, NULL
},
30627 { (char *)"new_Dialog", (PyCFunction
) _wrap_new_Dialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30628 { (char *)"new_PreDialog", (PyCFunction
)_wrap_new_PreDialog
, METH_NOARGS
, NULL
},
30629 { (char *)"Dialog_Create", (PyCFunction
) _wrap_Dialog_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30630 { (char *)"Dialog_SetReturnCode", (PyCFunction
) _wrap_Dialog_SetReturnCode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30631 { (char *)"Dialog_GetReturnCode", (PyCFunction
)_wrap_Dialog_GetReturnCode
, METH_O
, NULL
},
30632 { (char *)"Dialog_SetAffirmativeId", (PyCFunction
) _wrap_Dialog_SetAffirmativeId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30633 { (char *)"Dialog_GetAffirmativeId", (PyCFunction
)_wrap_Dialog_GetAffirmativeId
, METH_O
, NULL
},
30634 { (char *)"Dialog_SetEscapeId", (PyCFunction
) _wrap_Dialog_SetEscapeId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30635 { (char *)"Dialog_GetEscapeId", (PyCFunction
)_wrap_Dialog_GetEscapeId
, METH_O
, NULL
},
30636 { (char *)"Dialog_CreateTextSizer", (PyCFunction
) _wrap_Dialog_CreateTextSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30637 { (char *)"Dialog_CreateButtonSizer", (PyCFunction
) _wrap_Dialog_CreateButtonSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30638 { (char *)"Dialog_CreateStdDialogButtonSizer", (PyCFunction
) _wrap_Dialog_CreateStdDialogButtonSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30639 { (char *)"Dialog_IsModal", (PyCFunction
)_wrap_Dialog_IsModal
, METH_O
, NULL
},
30640 { (char *)"Dialog_ShowModal", (PyCFunction
)_wrap_Dialog_ShowModal
, METH_O
, NULL
},
30641 { (char *)"Dialog_EndModal", (PyCFunction
) _wrap_Dialog_EndModal
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30642 { (char *)"Dialog_GetClassDefaultAttributes", (PyCFunction
) _wrap_Dialog_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30643 { (char *)"Dialog_swigregister", Dialog_swigregister
, METH_VARARGS
, NULL
},
30644 { (char *)"Dialog_swiginit", Dialog_swiginit
, METH_VARARGS
, NULL
},
30645 { (char *)"new_MiniFrame", (PyCFunction
) _wrap_new_MiniFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30646 { (char *)"new_PreMiniFrame", (PyCFunction
)_wrap_new_PreMiniFrame
, METH_NOARGS
, NULL
},
30647 { (char *)"MiniFrame_Create", (PyCFunction
) _wrap_MiniFrame_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30648 { (char *)"MiniFrame_swigregister", MiniFrame_swigregister
, METH_VARARGS
, NULL
},
30649 { (char *)"MiniFrame_swiginit", MiniFrame_swiginit
, METH_VARARGS
, NULL
},
30650 { (char *)"new_SplashScreenWindow", (PyCFunction
) _wrap_new_SplashScreenWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30651 { (char *)"SplashScreenWindow_SetBitmap", (PyCFunction
) _wrap_SplashScreenWindow_SetBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30652 { (char *)"SplashScreenWindow_GetBitmap", (PyCFunction
)_wrap_SplashScreenWindow_GetBitmap
, METH_O
, NULL
},
30653 { (char *)"SplashScreenWindow_swigregister", SplashScreenWindow_swigregister
, METH_VARARGS
, NULL
},
30654 { (char *)"SplashScreenWindow_swiginit", SplashScreenWindow_swiginit
, METH_VARARGS
, NULL
},
30655 { (char *)"new_SplashScreen", (PyCFunction
) _wrap_new_SplashScreen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30656 { (char *)"SplashScreen_GetSplashStyle", (PyCFunction
)_wrap_SplashScreen_GetSplashStyle
, METH_O
, NULL
},
30657 { (char *)"SplashScreen_GetSplashWindow", (PyCFunction
)_wrap_SplashScreen_GetSplashWindow
, METH_O
, NULL
},
30658 { (char *)"SplashScreen_GetTimeout", (PyCFunction
)_wrap_SplashScreen_GetTimeout
, METH_O
, NULL
},
30659 { (char *)"SplashScreen_swigregister", SplashScreen_swigregister
, METH_VARARGS
, NULL
},
30660 { (char *)"SplashScreen_swiginit", SplashScreen_swiginit
, METH_VARARGS
, NULL
},
30661 { (char *)"new_StatusBar", (PyCFunction
) _wrap_new_StatusBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30662 { (char *)"new_PreStatusBar", (PyCFunction
)_wrap_new_PreStatusBar
, METH_NOARGS
, NULL
},
30663 { (char *)"StatusBar_Create", (PyCFunction
) _wrap_StatusBar_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30664 { (char *)"StatusBar_SetFieldsCount", (PyCFunction
) _wrap_StatusBar_SetFieldsCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30665 { (char *)"StatusBar_GetFieldsCount", (PyCFunction
)_wrap_StatusBar_GetFieldsCount
, METH_O
, NULL
},
30666 { (char *)"StatusBar_SetStatusText", (PyCFunction
) _wrap_StatusBar_SetStatusText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30667 { (char *)"StatusBar_GetStatusText", (PyCFunction
) _wrap_StatusBar_GetStatusText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30668 { (char *)"StatusBar_PushStatusText", (PyCFunction
) _wrap_StatusBar_PushStatusText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30669 { (char *)"StatusBar_PopStatusText", (PyCFunction
) _wrap_StatusBar_PopStatusText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30670 { (char *)"StatusBar_SetStatusWidths", (PyCFunction
) _wrap_StatusBar_SetStatusWidths
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30671 { (char *)"StatusBar_SetStatusStyles", (PyCFunction
) _wrap_StatusBar_SetStatusStyles
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30672 { (char *)"StatusBar_GetFieldRect", (PyCFunction
) _wrap_StatusBar_GetFieldRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30673 { (char *)"StatusBar_SetMinHeight", (PyCFunction
) _wrap_StatusBar_SetMinHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30674 { (char *)"StatusBar_GetBorderX", (PyCFunction
)_wrap_StatusBar_GetBorderX
, METH_O
, NULL
},
30675 { (char *)"StatusBar_GetBorderY", (PyCFunction
)_wrap_StatusBar_GetBorderY
, METH_O
, NULL
},
30676 { (char *)"StatusBar_GetClassDefaultAttributes", (PyCFunction
) _wrap_StatusBar_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30677 { (char *)"StatusBar_swigregister", StatusBar_swigregister
, METH_VARARGS
, NULL
},
30678 { (char *)"StatusBar_swiginit", StatusBar_swiginit
, METH_VARARGS
, NULL
},
30679 { (char *)"new_SplitterWindow", (PyCFunction
) _wrap_new_SplitterWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30680 { (char *)"new_PreSplitterWindow", (PyCFunction
)_wrap_new_PreSplitterWindow
, METH_NOARGS
, NULL
},
30681 { (char *)"SplitterWindow_Create", (PyCFunction
) _wrap_SplitterWindow_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30682 { (char *)"SplitterWindow_GetWindow1", (PyCFunction
)_wrap_SplitterWindow_GetWindow1
, METH_O
, NULL
},
30683 { (char *)"SplitterWindow_GetWindow2", (PyCFunction
)_wrap_SplitterWindow_GetWindow2
, METH_O
, NULL
},
30684 { (char *)"SplitterWindow_SetSplitMode", (PyCFunction
) _wrap_SplitterWindow_SetSplitMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30685 { (char *)"SplitterWindow_GetSplitMode", (PyCFunction
)_wrap_SplitterWindow_GetSplitMode
, METH_O
, NULL
},
30686 { (char *)"SplitterWindow_Initialize", (PyCFunction
) _wrap_SplitterWindow_Initialize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30687 { (char *)"SplitterWindow_SplitVertically", (PyCFunction
) _wrap_SplitterWindow_SplitVertically
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30688 { (char *)"SplitterWindow_SplitHorizontally", (PyCFunction
) _wrap_SplitterWindow_SplitHorizontally
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30689 { (char *)"SplitterWindow_Unsplit", (PyCFunction
) _wrap_SplitterWindow_Unsplit
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30690 { (char *)"SplitterWindow_ReplaceWindow", (PyCFunction
) _wrap_SplitterWindow_ReplaceWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30691 { (char *)"SplitterWindow_UpdateSize", (PyCFunction
)_wrap_SplitterWindow_UpdateSize
, METH_O
, NULL
},
30692 { (char *)"SplitterWindow_IsSplit", (PyCFunction
)_wrap_SplitterWindow_IsSplit
, METH_O
, NULL
},
30693 { (char *)"SplitterWindow_SetSashSize", (PyCFunction
) _wrap_SplitterWindow_SetSashSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30694 { (char *)"SplitterWindow_SetBorderSize", (PyCFunction
) _wrap_SplitterWindow_SetBorderSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30695 { (char *)"SplitterWindow_GetSashSize", (PyCFunction
)_wrap_SplitterWindow_GetSashSize
, METH_O
, NULL
},
30696 { (char *)"SplitterWindow_GetBorderSize", (PyCFunction
)_wrap_SplitterWindow_GetBorderSize
, METH_O
, NULL
},
30697 { (char *)"SplitterWindow_SetSashPosition", (PyCFunction
) _wrap_SplitterWindow_SetSashPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30698 { (char *)"SplitterWindow_GetSashPosition", (PyCFunction
)_wrap_SplitterWindow_GetSashPosition
, METH_O
, NULL
},
30699 { (char *)"SplitterWindow_SetSashGravity", (PyCFunction
) _wrap_SplitterWindow_SetSashGravity
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30700 { (char *)"SplitterWindow_GetSashGravity", (PyCFunction
)_wrap_SplitterWindow_GetSashGravity
, METH_O
, NULL
},
30701 { (char *)"SplitterWindow_SetMinimumPaneSize", (PyCFunction
) _wrap_SplitterWindow_SetMinimumPaneSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30702 { (char *)"SplitterWindow_GetMinimumPaneSize", (PyCFunction
)_wrap_SplitterWindow_GetMinimumPaneSize
, METH_O
, NULL
},
30703 { (char *)"SplitterWindow_SashHitTest", (PyCFunction
) _wrap_SplitterWindow_SashHitTest
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30704 { (char *)"SplitterWindow_SizeWindows", (PyCFunction
)_wrap_SplitterWindow_SizeWindows
, METH_O
, NULL
},
30705 { (char *)"SplitterWindow_SetNeedUpdating", (PyCFunction
) _wrap_SplitterWindow_SetNeedUpdating
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30706 { (char *)"SplitterWindow_GetNeedUpdating", (PyCFunction
)_wrap_SplitterWindow_GetNeedUpdating
, METH_O
, NULL
},
30707 { (char *)"SplitterWindow_GetClassDefaultAttributes", (PyCFunction
) _wrap_SplitterWindow_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30708 { (char *)"SplitterWindow_swigregister", SplitterWindow_swigregister
, METH_VARARGS
, NULL
},
30709 { (char *)"SplitterWindow_swiginit", SplitterWindow_swiginit
, METH_VARARGS
, NULL
},
30710 { (char *)"new_SplitterEvent", (PyCFunction
) _wrap_new_SplitterEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30711 { (char *)"SplitterEvent_SetSashPosition", (PyCFunction
) _wrap_SplitterEvent_SetSashPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30712 { (char *)"SplitterEvent_GetSashPosition", (PyCFunction
)_wrap_SplitterEvent_GetSashPosition
, METH_O
, NULL
},
30713 { (char *)"SplitterEvent_GetWindowBeingRemoved", (PyCFunction
)_wrap_SplitterEvent_GetWindowBeingRemoved
, METH_O
, NULL
},
30714 { (char *)"SplitterEvent_GetX", (PyCFunction
)_wrap_SplitterEvent_GetX
, METH_O
, NULL
},
30715 { (char *)"SplitterEvent_GetY", (PyCFunction
)_wrap_SplitterEvent_GetY
, METH_O
, NULL
},
30716 { (char *)"SplitterEvent_swigregister", SplitterEvent_swigregister
, METH_VARARGS
, NULL
},
30717 { (char *)"SplitterEvent_swiginit", SplitterEvent_swiginit
, METH_VARARGS
, NULL
},
30718 { (char *)"new_SashWindow", (PyCFunction
) _wrap_new_SashWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30719 { (char *)"new_PreSashWindow", (PyCFunction
)_wrap_new_PreSashWindow
, METH_NOARGS
, NULL
},
30720 { (char *)"SashWindow_Create", (PyCFunction
) _wrap_SashWindow_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30721 { (char *)"SashWindow_SetSashVisible", (PyCFunction
) _wrap_SashWindow_SetSashVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30722 { (char *)"SashWindow_GetSashVisible", (PyCFunction
) _wrap_SashWindow_GetSashVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30723 { (char *)"SashWindow_SetSashBorder", (PyCFunction
) _wrap_SashWindow_SetSashBorder
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30724 { (char *)"SashWindow_HasBorder", (PyCFunction
) _wrap_SashWindow_HasBorder
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30725 { (char *)"SashWindow_GetEdgeMargin", (PyCFunction
) _wrap_SashWindow_GetEdgeMargin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30726 { (char *)"SashWindow_SetDefaultBorderSize", (PyCFunction
) _wrap_SashWindow_SetDefaultBorderSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30727 { (char *)"SashWindow_GetDefaultBorderSize", (PyCFunction
)_wrap_SashWindow_GetDefaultBorderSize
, METH_O
, NULL
},
30728 { (char *)"SashWindow_SetExtraBorderSize", (PyCFunction
) _wrap_SashWindow_SetExtraBorderSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30729 { (char *)"SashWindow_GetExtraBorderSize", (PyCFunction
)_wrap_SashWindow_GetExtraBorderSize
, METH_O
, NULL
},
30730 { (char *)"SashWindow_SetMinimumSizeX", (PyCFunction
) _wrap_SashWindow_SetMinimumSizeX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30731 { (char *)"SashWindow_SetMinimumSizeY", (PyCFunction
) _wrap_SashWindow_SetMinimumSizeY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30732 { (char *)"SashWindow_GetMinimumSizeX", (PyCFunction
)_wrap_SashWindow_GetMinimumSizeX
, METH_O
, NULL
},
30733 { (char *)"SashWindow_GetMinimumSizeY", (PyCFunction
)_wrap_SashWindow_GetMinimumSizeY
, METH_O
, NULL
},
30734 { (char *)"SashWindow_SetMaximumSizeX", (PyCFunction
) _wrap_SashWindow_SetMaximumSizeX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30735 { (char *)"SashWindow_SetMaximumSizeY", (PyCFunction
) _wrap_SashWindow_SetMaximumSizeY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30736 { (char *)"SashWindow_GetMaximumSizeX", (PyCFunction
)_wrap_SashWindow_GetMaximumSizeX
, METH_O
, NULL
},
30737 { (char *)"SashWindow_GetMaximumSizeY", (PyCFunction
)_wrap_SashWindow_GetMaximumSizeY
, METH_O
, NULL
},
30738 { (char *)"SashWindow_SashHitTest", (PyCFunction
) _wrap_SashWindow_SashHitTest
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30739 { (char *)"SashWindow_SizeWindows", (PyCFunction
)_wrap_SashWindow_SizeWindows
, METH_O
, NULL
},
30740 { (char *)"SashWindow_swigregister", SashWindow_swigregister
, METH_VARARGS
, NULL
},
30741 { (char *)"SashWindow_swiginit", SashWindow_swiginit
, METH_VARARGS
, NULL
},
30742 { (char *)"new_SashEvent", (PyCFunction
) _wrap_new_SashEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30743 { (char *)"SashEvent_SetEdge", (PyCFunction
) _wrap_SashEvent_SetEdge
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30744 { (char *)"SashEvent_GetEdge", (PyCFunction
)_wrap_SashEvent_GetEdge
, METH_O
, NULL
},
30745 { (char *)"SashEvent_SetDragRect", (PyCFunction
) _wrap_SashEvent_SetDragRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30746 { (char *)"SashEvent_GetDragRect", (PyCFunction
)_wrap_SashEvent_GetDragRect
, METH_O
, NULL
},
30747 { (char *)"SashEvent_SetDragStatus", (PyCFunction
) _wrap_SashEvent_SetDragStatus
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30748 { (char *)"SashEvent_GetDragStatus", (PyCFunction
)_wrap_SashEvent_GetDragStatus
, METH_O
, NULL
},
30749 { (char *)"SashEvent_swigregister", SashEvent_swigregister
, METH_VARARGS
, NULL
},
30750 { (char *)"SashEvent_swiginit", SashEvent_swiginit
, METH_VARARGS
, NULL
},
30751 { (char *)"new_QueryLayoutInfoEvent", (PyCFunction
) _wrap_new_QueryLayoutInfoEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30752 { (char *)"QueryLayoutInfoEvent_SetRequestedLength", (PyCFunction
) _wrap_QueryLayoutInfoEvent_SetRequestedLength
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30753 { (char *)"QueryLayoutInfoEvent_GetRequestedLength", (PyCFunction
)_wrap_QueryLayoutInfoEvent_GetRequestedLength
, METH_O
, NULL
},
30754 { (char *)"QueryLayoutInfoEvent_SetFlags", (PyCFunction
) _wrap_QueryLayoutInfoEvent_SetFlags
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30755 { (char *)"QueryLayoutInfoEvent_GetFlags", (PyCFunction
)_wrap_QueryLayoutInfoEvent_GetFlags
, METH_O
, NULL
},
30756 { (char *)"QueryLayoutInfoEvent_SetSize", (PyCFunction
) _wrap_QueryLayoutInfoEvent_SetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30757 { (char *)"QueryLayoutInfoEvent_GetSize", (PyCFunction
)_wrap_QueryLayoutInfoEvent_GetSize
, METH_O
, NULL
},
30758 { (char *)"QueryLayoutInfoEvent_SetOrientation", (PyCFunction
) _wrap_QueryLayoutInfoEvent_SetOrientation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30759 { (char *)"QueryLayoutInfoEvent_GetOrientation", (PyCFunction
)_wrap_QueryLayoutInfoEvent_GetOrientation
, METH_O
, NULL
},
30760 { (char *)"QueryLayoutInfoEvent_SetAlignment", (PyCFunction
) _wrap_QueryLayoutInfoEvent_SetAlignment
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30761 { (char *)"QueryLayoutInfoEvent_GetAlignment", (PyCFunction
)_wrap_QueryLayoutInfoEvent_GetAlignment
, METH_O
, NULL
},
30762 { (char *)"QueryLayoutInfoEvent_swigregister", QueryLayoutInfoEvent_swigregister
, METH_VARARGS
, NULL
},
30763 { (char *)"QueryLayoutInfoEvent_swiginit", QueryLayoutInfoEvent_swiginit
, METH_VARARGS
, NULL
},
30764 { (char *)"new_CalculateLayoutEvent", (PyCFunction
) _wrap_new_CalculateLayoutEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30765 { (char *)"CalculateLayoutEvent_SetFlags", (PyCFunction
) _wrap_CalculateLayoutEvent_SetFlags
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30766 { (char *)"CalculateLayoutEvent_GetFlags", (PyCFunction
)_wrap_CalculateLayoutEvent_GetFlags
, METH_O
, NULL
},
30767 { (char *)"CalculateLayoutEvent_SetRect", (PyCFunction
) _wrap_CalculateLayoutEvent_SetRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30768 { (char *)"CalculateLayoutEvent_GetRect", (PyCFunction
)_wrap_CalculateLayoutEvent_GetRect
, METH_O
, NULL
},
30769 { (char *)"CalculateLayoutEvent_swigregister", CalculateLayoutEvent_swigregister
, METH_VARARGS
, NULL
},
30770 { (char *)"CalculateLayoutEvent_swiginit", CalculateLayoutEvent_swiginit
, METH_VARARGS
, NULL
},
30771 { (char *)"new_SashLayoutWindow", (PyCFunction
) _wrap_new_SashLayoutWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30772 { (char *)"new_PreSashLayoutWindow", (PyCFunction
)_wrap_new_PreSashLayoutWindow
, METH_NOARGS
, NULL
},
30773 { (char *)"SashLayoutWindow_Create", (PyCFunction
) _wrap_SashLayoutWindow_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30774 { (char *)"SashLayoutWindow_GetAlignment", (PyCFunction
)_wrap_SashLayoutWindow_GetAlignment
, METH_O
, NULL
},
30775 { (char *)"SashLayoutWindow_GetOrientation", (PyCFunction
)_wrap_SashLayoutWindow_GetOrientation
, METH_O
, NULL
},
30776 { (char *)"SashLayoutWindow_SetAlignment", (PyCFunction
) _wrap_SashLayoutWindow_SetAlignment
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30777 { (char *)"SashLayoutWindow_SetDefaultSize", (PyCFunction
) _wrap_SashLayoutWindow_SetDefaultSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30778 { (char *)"SashLayoutWindow_SetOrientation", (PyCFunction
) _wrap_SashLayoutWindow_SetOrientation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30779 { (char *)"SashLayoutWindow_swigregister", SashLayoutWindow_swigregister
, METH_VARARGS
, NULL
},
30780 { (char *)"SashLayoutWindow_swiginit", SashLayoutWindow_swiginit
, METH_VARARGS
, NULL
},
30781 { (char *)"new_LayoutAlgorithm", (PyCFunction
)_wrap_new_LayoutAlgorithm
, METH_NOARGS
, NULL
},
30782 { (char *)"delete_LayoutAlgorithm", (PyCFunction
)_wrap_delete_LayoutAlgorithm
, METH_O
, NULL
},
30783 { (char *)"LayoutAlgorithm_LayoutMDIFrame", (PyCFunction
) _wrap_LayoutAlgorithm_LayoutMDIFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30784 { (char *)"LayoutAlgorithm_LayoutFrame", (PyCFunction
) _wrap_LayoutAlgorithm_LayoutFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30785 { (char *)"LayoutAlgorithm_LayoutWindow", (PyCFunction
) _wrap_LayoutAlgorithm_LayoutWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30786 { (char *)"LayoutAlgorithm_swigregister", LayoutAlgorithm_swigregister
, METH_VARARGS
, NULL
},
30787 { (char *)"LayoutAlgorithm_swiginit", LayoutAlgorithm_swiginit
, METH_VARARGS
, NULL
},
30788 { (char *)"new_PopupWindow", (PyCFunction
) _wrap_new_PopupWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30789 { (char *)"new_PrePopupWindow", (PyCFunction
)_wrap_new_PrePopupWindow
, METH_NOARGS
, NULL
},
30790 { (char *)"PopupWindow_Create", (PyCFunction
) _wrap_PopupWindow_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30791 { (char *)"PopupWindow_Position", (PyCFunction
) _wrap_PopupWindow_Position
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30792 { (char *)"PopupWindow_swigregister", PopupWindow_swigregister
, METH_VARARGS
, NULL
},
30793 { (char *)"PopupWindow_swiginit", PopupWindow_swiginit
, METH_VARARGS
, NULL
},
30794 { (char *)"new_PopupTransientWindow", (PyCFunction
) _wrap_new_PopupTransientWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30795 { (char *)"new_PrePopupTransientWindow", (PyCFunction
)_wrap_new_PrePopupTransientWindow
, METH_NOARGS
, NULL
},
30796 { (char *)"PopupTransientWindow__setCallbackInfo", (PyCFunction
) _wrap_PopupTransientWindow__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30797 { (char *)"PopupTransientWindow_Popup", (PyCFunction
) _wrap_PopupTransientWindow_Popup
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30798 { (char *)"PopupTransientWindow_Dismiss", (PyCFunction
)_wrap_PopupTransientWindow_Dismiss
, METH_O
, NULL
},
30799 { (char *)"PopupTransientWindow_swigregister", PopupTransientWindow_swigregister
, METH_VARARGS
, NULL
},
30800 { (char *)"PopupTransientWindow_swiginit", PopupTransientWindow_swiginit
, METH_VARARGS
, NULL
},
30801 { (char *)"new_TipWindow", (PyCFunction
) _wrap_new_TipWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30802 { (char *)"TipWindow_SetBoundingRect", (PyCFunction
) _wrap_TipWindow_SetBoundingRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30803 { (char *)"TipWindow_Close", (PyCFunction
)_wrap_TipWindow_Close
, METH_O
, NULL
},
30804 { (char *)"TipWindow_swigregister", TipWindow_swigregister
, METH_VARARGS
, NULL
},
30805 { (char *)"TipWindow_swiginit", TipWindow_swiginit
, METH_VARARGS
, NULL
},
30806 { (char *)"new_VScrolledWindow", (PyCFunction
) _wrap_new_VScrolledWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30807 { (char *)"new_PreVScrolledWindow", (PyCFunction
)_wrap_new_PreVScrolledWindow
, METH_NOARGS
, NULL
},
30808 { (char *)"VScrolledWindow__setCallbackInfo", (PyCFunction
) _wrap_VScrolledWindow__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30809 { (char *)"VScrolledWindow_Create", (PyCFunction
) _wrap_VScrolledWindow_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30810 { (char *)"VScrolledWindow_SetLineCount", (PyCFunction
) _wrap_VScrolledWindow_SetLineCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30811 { (char *)"VScrolledWindow_ScrollToLine", (PyCFunction
) _wrap_VScrolledWindow_ScrollToLine
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30812 { (char *)"VScrolledWindow_RefreshLine", (PyCFunction
) _wrap_VScrolledWindow_RefreshLine
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30813 { (char *)"VScrolledWindow_RefreshLines", (PyCFunction
) _wrap_VScrolledWindow_RefreshLines
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30814 { (char *)"VScrolledWindow_HitTestXY", (PyCFunction
) _wrap_VScrolledWindow_HitTestXY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30815 { (char *)"VScrolledWindow_HitTest", (PyCFunction
) _wrap_VScrolledWindow_HitTest
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30816 { (char *)"VScrolledWindow_RefreshAll", (PyCFunction
)_wrap_VScrolledWindow_RefreshAll
, METH_O
, NULL
},
30817 { (char *)"VScrolledWindow_GetLineCount", (PyCFunction
)_wrap_VScrolledWindow_GetLineCount
, METH_O
, NULL
},
30818 { (char *)"VScrolledWindow_GetVisibleBegin", (PyCFunction
)_wrap_VScrolledWindow_GetVisibleBegin
, METH_O
, NULL
},
30819 { (char *)"VScrolledWindow_GetVisibleEnd", (PyCFunction
)_wrap_VScrolledWindow_GetVisibleEnd
, METH_O
, NULL
},
30820 { (char *)"VScrolledWindow_IsVisible", (PyCFunction
) _wrap_VScrolledWindow_IsVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30821 { (char *)"VScrolledWindow_GetFirstVisibleLine", (PyCFunction
)_wrap_VScrolledWindow_GetFirstVisibleLine
, METH_O
, NULL
},
30822 { (char *)"VScrolledWindow_GetLastVisibleLine", (PyCFunction
)_wrap_VScrolledWindow_GetLastVisibleLine
, METH_O
, NULL
},
30823 { (char *)"VScrolledWindow_FindFirstFromBottom", (PyCFunction
) _wrap_VScrolledWindow_FindFirstFromBottom
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30824 { (char *)"VScrolledWindow_GetLinesHeight", (PyCFunction
) _wrap_VScrolledWindow_GetLinesHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30825 { (char *)"VScrolledWindow_swigregister", VScrolledWindow_swigregister
, METH_VARARGS
, NULL
},
30826 { (char *)"VScrolledWindow_swiginit", VScrolledWindow_swiginit
, METH_VARARGS
, NULL
},
30827 { (char *)"new_VListBox", (PyCFunction
) _wrap_new_VListBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30828 { (char *)"new_PreVListBox", (PyCFunction
)_wrap_new_PreVListBox
, METH_NOARGS
, NULL
},
30829 { (char *)"VListBox__setCallbackInfo", (PyCFunction
) _wrap_VListBox__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30830 { (char *)"VListBox_Create", (PyCFunction
) _wrap_VListBox_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30831 { (char *)"VListBox_GetItemCount", (PyCFunction
)_wrap_VListBox_GetItemCount
, METH_O
, NULL
},
30832 { (char *)"VListBox_HasMultipleSelection", (PyCFunction
)_wrap_VListBox_HasMultipleSelection
, METH_O
, NULL
},
30833 { (char *)"VListBox_GetSelection", (PyCFunction
)_wrap_VListBox_GetSelection
, METH_O
, NULL
},
30834 { (char *)"VListBox_IsCurrent", (PyCFunction
) _wrap_VListBox_IsCurrent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30835 { (char *)"VListBox_IsSelected", (PyCFunction
) _wrap_VListBox_IsSelected
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30836 { (char *)"VListBox_GetSelectedCount", (PyCFunction
)_wrap_VListBox_GetSelectedCount
, METH_O
, NULL
},
30837 { (char *)"VListBox_GetFirstSelected", (PyCFunction
)_wrap_VListBox_GetFirstSelected
, METH_O
, NULL
},
30838 { (char *)"VListBox_GetNextSelected", (PyCFunction
) _wrap_VListBox_GetNextSelected
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30839 { (char *)"VListBox_GetMargins", (PyCFunction
)_wrap_VListBox_GetMargins
, METH_O
, NULL
},
30840 { (char *)"VListBox_GetSelectionBackground", (PyCFunction
)_wrap_VListBox_GetSelectionBackground
, METH_O
, NULL
},
30841 { (char *)"VListBox_SetItemCount", (PyCFunction
) _wrap_VListBox_SetItemCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30842 { (char *)"VListBox_Clear", (PyCFunction
)_wrap_VListBox_Clear
, METH_O
, NULL
},
30843 { (char *)"VListBox_SetSelection", (PyCFunction
) _wrap_VListBox_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30844 { (char *)"VListBox_Select", (PyCFunction
) _wrap_VListBox_Select
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30845 { (char *)"VListBox_SelectRange", (PyCFunction
) _wrap_VListBox_SelectRange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30846 { (char *)"VListBox_Toggle", (PyCFunction
) _wrap_VListBox_Toggle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30847 { (char *)"VListBox_SelectAll", (PyCFunction
)_wrap_VListBox_SelectAll
, METH_O
, NULL
},
30848 { (char *)"VListBox_DeselectAll", (PyCFunction
)_wrap_VListBox_DeselectAll
, METH_O
, NULL
},
30849 { (char *)"VListBox_SetMargins", (PyCFunction
) _wrap_VListBox_SetMargins
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30850 { (char *)"VListBox_SetMarginsXY", (PyCFunction
) _wrap_VListBox_SetMarginsXY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30851 { (char *)"VListBox_SetSelectionBackground", (PyCFunction
) _wrap_VListBox_SetSelectionBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30852 { (char *)"VListBox_OnDrawSeparator", (PyCFunction
) _wrap_VListBox_OnDrawSeparator
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30853 { (char *)"VListBox_OnDrawBackground", (PyCFunction
) _wrap_VListBox_OnDrawBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30854 { (char *)"VListBox_swigregister", VListBox_swigregister
, METH_VARARGS
, NULL
},
30855 { (char *)"VListBox_swiginit", VListBox_swiginit
, METH_VARARGS
, NULL
},
30856 { (char *)"new_HtmlListBox", (PyCFunction
) _wrap_new_HtmlListBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30857 { (char *)"new_PreHtmlListBox", (PyCFunction
)_wrap_new_PreHtmlListBox
, METH_NOARGS
, NULL
},
30858 { (char *)"HtmlListBox__setCallbackInfo", (PyCFunction
) _wrap_HtmlListBox__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30859 { (char *)"HtmlListBox_Create", (PyCFunction
) _wrap_HtmlListBox_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30860 { (char *)"HtmlListBox_SetItemCount", (PyCFunction
) _wrap_HtmlListBox_SetItemCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30861 { (char *)"HtmlListBox_GetFileSystem", (PyCFunction
)_wrap_HtmlListBox_GetFileSystem
, METH_O
, NULL
},
30862 { (char *)"HtmlListBox_OnLinkClicked", (PyCFunction
) _wrap_HtmlListBox_OnLinkClicked
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30863 { (char *)"HtmlListBox_swigregister", HtmlListBox_swigregister
, METH_VARARGS
, NULL
},
30864 { (char *)"HtmlListBox_swiginit", HtmlListBox_swiginit
, METH_VARARGS
, NULL
},
30865 { (char *)"new_TaskBarIcon", (PyCFunction
)_wrap_new_TaskBarIcon
, METH_NOARGS
, NULL
},
30866 { (char *)"delete_TaskBarIcon", (PyCFunction
)_wrap_delete_TaskBarIcon
, METH_O
, NULL
},
30867 { (char *)"TaskBarIcon__setCallbackInfo", (PyCFunction
) _wrap_TaskBarIcon__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30868 { (char *)"TaskBarIcon_Destroy", (PyCFunction
)_wrap_TaskBarIcon_Destroy
, METH_O
, NULL
},
30869 { (char *)"TaskBarIcon_IsOk", (PyCFunction
)_wrap_TaskBarIcon_IsOk
, METH_O
, NULL
},
30870 { (char *)"TaskBarIcon_IsIconInstalled", (PyCFunction
)_wrap_TaskBarIcon_IsIconInstalled
, METH_O
, NULL
},
30871 { (char *)"TaskBarIcon_SetIcon", (PyCFunction
) _wrap_TaskBarIcon_SetIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30872 { (char *)"TaskBarIcon_RemoveIcon", (PyCFunction
)_wrap_TaskBarIcon_RemoveIcon
, METH_O
, NULL
},
30873 { (char *)"TaskBarIcon_PopupMenu", (PyCFunction
) _wrap_TaskBarIcon_PopupMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30874 { (char *)"TaskBarIcon_swigregister", TaskBarIcon_swigregister
, METH_VARARGS
, NULL
},
30875 { (char *)"TaskBarIcon_swiginit", TaskBarIcon_swiginit
, METH_VARARGS
, NULL
},
30876 { (char *)"new_TaskBarIconEvent", (PyCFunction
) _wrap_new_TaskBarIconEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30877 { (char *)"TaskBarIconEvent_swigregister", TaskBarIconEvent_swigregister
, METH_VARARGS
, NULL
},
30878 { (char *)"TaskBarIconEvent_swiginit", TaskBarIconEvent_swiginit
, METH_VARARGS
, NULL
},
30879 { (char *)"new_ColourData", (PyCFunction
)_wrap_new_ColourData
, METH_NOARGS
, NULL
},
30880 { (char *)"delete_ColourData", (PyCFunction
)_wrap_delete_ColourData
, METH_O
, NULL
},
30881 { (char *)"ColourData_GetChooseFull", (PyCFunction
)_wrap_ColourData_GetChooseFull
, METH_O
, NULL
},
30882 { (char *)"ColourData_GetColour", (PyCFunction
)_wrap_ColourData_GetColour
, METH_O
, NULL
},
30883 { (char *)"ColourData_GetCustomColour", (PyCFunction
) _wrap_ColourData_GetCustomColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30884 { (char *)"ColourData_SetChooseFull", (PyCFunction
) _wrap_ColourData_SetChooseFull
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30885 { (char *)"ColourData_SetColour", (PyCFunction
) _wrap_ColourData_SetColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30886 { (char *)"ColourData_SetCustomColour", (PyCFunction
) _wrap_ColourData_SetCustomColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30887 { (char *)"ColourData_swigregister", ColourData_swigregister
, METH_VARARGS
, NULL
},
30888 { (char *)"ColourData_swiginit", ColourData_swiginit
, METH_VARARGS
, NULL
},
30889 { (char *)"new_ColourDialog", (PyCFunction
) _wrap_new_ColourDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30890 { (char *)"ColourDialog_GetColourData", (PyCFunction
)_wrap_ColourDialog_GetColourData
, METH_O
, NULL
},
30891 { (char *)"ColourDialog_swigregister", ColourDialog_swigregister
, METH_VARARGS
, NULL
},
30892 { (char *)"ColourDialog_swiginit", ColourDialog_swiginit
, METH_VARARGS
, NULL
},
30893 { (char *)"GetColourFromUser", (PyCFunction
) _wrap_GetColourFromUser
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30894 { (char *)"new_DirDialog", (PyCFunction
) _wrap_new_DirDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30895 { (char *)"DirDialog_GetPath", (PyCFunction
)_wrap_DirDialog_GetPath
, METH_O
, NULL
},
30896 { (char *)"DirDialog_GetMessage", (PyCFunction
)_wrap_DirDialog_GetMessage
, METH_O
, NULL
},
30897 { (char *)"DirDialog_SetMessage", (PyCFunction
) _wrap_DirDialog_SetMessage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30898 { (char *)"DirDialog_SetPath", (PyCFunction
) _wrap_DirDialog_SetPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30899 { (char *)"DirDialog_swigregister", DirDialog_swigregister
, METH_VARARGS
, NULL
},
30900 { (char *)"DirDialog_swiginit", DirDialog_swiginit
, METH_VARARGS
, NULL
},
30901 { (char *)"new_FileDialog", (PyCFunction
) _wrap_new_FileDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30902 { (char *)"FileDialog_SetMessage", (PyCFunction
) _wrap_FileDialog_SetMessage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30903 { (char *)"FileDialog_SetPath", (PyCFunction
) _wrap_FileDialog_SetPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30904 { (char *)"FileDialog_SetDirectory", (PyCFunction
) _wrap_FileDialog_SetDirectory
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30905 { (char *)"FileDialog_SetFilename", (PyCFunction
) _wrap_FileDialog_SetFilename
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30906 { (char *)"FileDialog_SetWildcard", (PyCFunction
) _wrap_FileDialog_SetWildcard
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30907 { (char *)"FileDialog_SetFilterIndex", (PyCFunction
) _wrap_FileDialog_SetFilterIndex
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30908 { (char *)"FileDialog_GetMessage", (PyCFunction
)_wrap_FileDialog_GetMessage
, METH_O
, NULL
},
30909 { (char *)"FileDialog_GetPath", (PyCFunction
)_wrap_FileDialog_GetPath
, METH_O
, NULL
},
30910 { (char *)"FileDialog_GetDirectory", (PyCFunction
)_wrap_FileDialog_GetDirectory
, METH_O
, NULL
},
30911 { (char *)"FileDialog_GetFilename", (PyCFunction
)_wrap_FileDialog_GetFilename
, METH_O
, NULL
},
30912 { (char *)"FileDialog_GetWildcard", (PyCFunction
)_wrap_FileDialog_GetWildcard
, METH_O
, NULL
},
30913 { (char *)"FileDialog_GetFilterIndex", (PyCFunction
)_wrap_FileDialog_GetFilterIndex
, METH_O
, NULL
},
30914 { (char *)"FileDialog_GetFilenames", (PyCFunction
)_wrap_FileDialog_GetFilenames
, METH_O
, NULL
},
30915 { (char *)"FileDialog_GetPaths", (PyCFunction
)_wrap_FileDialog_GetPaths
, METH_O
, NULL
},
30916 { (char *)"FileDialog_swigregister", FileDialog_swigregister
, METH_VARARGS
, NULL
},
30917 { (char *)"FileDialog_swiginit", FileDialog_swiginit
, METH_VARARGS
, NULL
},
30918 { (char *)"new_MultiChoiceDialog", (PyCFunction
) _wrap_new_MultiChoiceDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30919 { (char *)"MultiChoiceDialog_SetSelections", (PyCFunction
) _wrap_MultiChoiceDialog_SetSelections
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30920 { (char *)"MultiChoiceDialog_GetSelections", (PyCFunction
)_wrap_MultiChoiceDialog_GetSelections
, METH_O
, NULL
},
30921 { (char *)"MultiChoiceDialog_swigregister", MultiChoiceDialog_swigregister
, METH_VARARGS
, NULL
},
30922 { (char *)"MultiChoiceDialog_swiginit", MultiChoiceDialog_swiginit
, METH_VARARGS
, NULL
},
30923 { (char *)"new_SingleChoiceDialog", (PyCFunction
) _wrap_new_SingleChoiceDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30924 { (char *)"SingleChoiceDialog_GetSelection", (PyCFunction
)_wrap_SingleChoiceDialog_GetSelection
, METH_O
, NULL
},
30925 { (char *)"SingleChoiceDialog_GetStringSelection", (PyCFunction
)_wrap_SingleChoiceDialog_GetStringSelection
, METH_O
, NULL
},
30926 { (char *)"SingleChoiceDialog_SetSelection", (PyCFunction
) _wrap_SingleChoiceDialog_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30927 { (char *)"SingleChoiceDialog_swigregister", SingleChoiceDialog_swigregister
, METH_VARARGS
, NULL
},
30928 { (char *)"SingleChoiceDialog_swiginit", SingleChoiceDialog_swiginit
, METH_VARARGS
, NULL
},
30929 { (char *)"new_TextEntryDialog", (PyCFunction
) _wrap_new_TextEntryDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30930 { (char *)"TextEntryDialog_GetValue", (PyCFunction
)_wrap_TextEntryDialog_GetValue
, METH_O
, NULL
},
30931 { (char *)"TextEntryDialog_SetValue", (PyCFunction
) _wrap_TextEntryDialog_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30932 { (char *)"TextEntryDialog_swigregister", TextEntryDialog_swigregister
, METH_VARARGS
, NULL
},
30933 { (char *)"TextEntryDialog_swiginit", TextEntryDialog_swiginit
, METH_VARARGS
, NULL
},
30934 { (char *)"new_PasswordEntryDialog", (PyCFunction
) _wrap_new_PasswordEntryDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30935 { (char *)"PasswordEntryDialog_swigregister", PasswordEntryDialog_swigregister
, METH_VARARGS
, NULL
},
30936 { (char *)"PasswordEntryDialog_swiginit", PasswordEntryDialog_swiginit
, METH_VARARGS
, NULL
},
30937 { (char *)"new_FontData", (PyCFunction
)_wrap_new_FontData
, METH_NOARGS
, NULL
},
30938 { (char *)"delete_FontData", (PyCFunction
)_wrap_delete_FontData
, METH_O
, NULL
},
30939 { (char *)"FontData_EnableEffects", (PyCFunction
) _wrap_FontData_EnableEffects
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30940 { (char *)"FontData_GetAllowSymbols", (PyCFunction
)_wrap_FontData_GetAllowSymbols
, METH_O
, NULL
},
30941 { (char *)"FontData_GetColour", (PyCFunction
)_wrap_FontData_GetColour
, METH_O
, NULL
},
30942 { (char *)"FontData_GetChosenFont", (PyCFunction
)_wrap_FontData_GetChosenFont
, METH_O
, NULL
},
30943 { (char *)"FontData_GetEnableEffects", (PyCFunction
)_wrap_FontData_GetEnableEffects
, METH_O
, NULL
},
30944 { (char *)"FontData_GetInitialFont", (PyCFunction
)_wrap_FontData_GetInitialFont
, METH_O
, NULL
},
30945 { (char *)"FontData_GetShowHelp", (PyCFunction
)_wrap_FontData_GetShowHelp
, METH_O
, NULL
},
30946 { (char *)"FontData_SetAllowSymbols", (PyCFunction
) _wrap_FontData_SetAllowSymbols
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30947 { (char *)"FontData_SetChosenFont", (PyCFunction
) _wrap_FontData_SetChosenFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30948 { (char *)"FontData_SetColour", (PyCFunction
) _wrap_FontData_SetColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30949 { (char *)"FontData_SetInitialFont", (PyCFunction
) _wrap_FontData_SetInitialFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30950 { (char *)"FontData_SetRange", (PyCFunction
) _wrap_FontData_SetRange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30951 { (char *)"FontData_SetShowHelp", (PyCFunction
) _wrap_FontData_SetShowHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30952 { (char *)"FontData_swigregister", FontData_swigregister
, METH_VARARGS
, NULL
},
30953 { (char *)"FontData_swiginit", FontData_swiginit
, METH_VARARGS
, NULL
},
30954 { (char *)"new_FontDialog", (PyCFunction
) _wrap_new_FontDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30955 { (char *)"FontDialog_GetFontData", (PyCFunction
)_wrap_FontDialog_GetFontData
, METH_O
, NULL
},
30956 { (char *)"FontDialog_swigregister", FontDialog_swigregister
, METH_VARARGS
, NULL
},
30957 { (char *)"FontDialog_swiginit", FontDialog_swiginit
, METH_VARARGS
, NULL
},
30958 { (char *)"GetFontFromUser", (PyCFunction
) _wrap_GetFontFromUser
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30959 { (char *)"new_MessageDialog", (PyCFunction
) _wrap_new_MessageDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30960 { (char *)"MessageDialog_swigregister", MessageDialog_swigregister
, METH_VARARGS
, NULL
},
30961 { (char *)"MessageDialog_swiginit", MessageDialog_swiginit
, METH_VARARGS
, NULL
},
30962 { (char *)"new_ProgressDialog", (PyCFunction
) _wrap_new_ProgressDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30963 { (char *)"ProgressDialog_Update", (PyCFunction
) _wrap_ProgressDialog_Update
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30964 { (char *)"ProgressDialog_Resume", (PyCFunction
)_wrap_ProgressDialog_Resume
, METH_O
, NULL
},
30965 { (char *)"ProgressDialog_swigregister", ProgressDialog_swigregister
, METH_VARARGS
, NULL
},
30966 { (char *)"ProgressDialog_swiginit", ProgressDialog_swiginit
, METH_VARARGS
, NULL
},
30967 { (char *)"new_FindDialogEvent", (PyCFunction
) _wrap_new_FindDialogEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30968 { (char *)"FindDialogEvent_GetFlags", (PyCFunction
)_wrap_FindDialogEvent_GetFlags
, METH_O
, NULL
},
30969 { (char *)"FindDialogEvent_GetFindString", (PyCFunction
)_wrap_FindDialogEvent_GetFindString
, METH_O
, NULL
},
30970 { (char *)"FindDialogEvent_GetReplaceString", (PyCFunction
)_wrap_FindDialogEvent_GetReplaceString
, METH_O
, NULL
},
30971 { (char *)"FindDialogEvent_GetDialog", (PyCFunction
)_wrap_FindDialogEvent_GetDialog
, METH_O
, NULL
},
30972 { (char *)"FindDialogEvent_SetFlags", (PyCFunction
) _wrap_FindDialogEvent_SetFlags
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30973 { (char *)"FindDialogEvent_SetFindString", (PyCFunction
) _wrap_FindDialogEvent_SetFindString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30974 { (char *)"FindDialogEvent_SetReplaceString", (PyCFunction
) _wrap_FindDialogEvent_SetReplaceString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30975 { (char *)"FindDialogEvent_swigregister", FindDialogEvent_swigregister
, METH_VARARGS
, NULL
},
30976 { (char *)"FindDialogEvent_swiginit", FindDialogEvent_swiginit
, METH_VARARGS
, NULL
},
30977 { (char *)"new_FindReplaceData", (PyCFunction
) _wrap_new_FindReplaceData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30978 { (char *)"delete_FindReplaceData", (PyCFunction
)_wrap_delete_FindReplaceData
, METH_O
, NULL
},
30979 { (char *)"FindReplaceData_GetFindString", (PyCFunction
)_wrap_FindReplaceData_GetFindString
, METH_O
, NULL
},
30980 { (char *)"FindReplaceData_GetReplaceString", (PyCFunction
)_wrap_FindReplaceData_GetReplaceString
, METH_O
, NULL
},
30981 { (char *)"FindReplaceData_GetFlags", (PyCFunction
)_wrap_FindReplaceData_GetFlags
, METH_O
, NULL
},
30982 { (char *)"FindReplaceData_SetFlags", (PyCFunction
) _wrap_FindReplaceData_SetFlags
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30983 { (char *)"FindReplaceData_SetFindString", (PyCFunction
) _wrap_FindReplaceData_SetFindString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30984 { (char *)"FindReplaceData_SetReplaceString", (PyCFunction
) _wrap_FindReplaceData_SetReplaceString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30985 { (char *)"FindReplaceData_swigregister", FindReplaceData_swigregister
, METH_VARARGS
, NULL
},
30986 { (char *)"FindReplaceData_swiginit", FindReplaceData_swiginit
, METH_VARARGS
, NULL
},
30987 { (char *)"new_FindReplaceDialog", (PyCFunction
) _wrap_new_FindReplaceDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30988 { (char *)"new_PreFindReplaceDialog", (PyCFunction
)_wrap_new_PreFindReplaceDialog
, METH_NOARGS
, NULL
},
30989 { (char *)"FindReplaceDialog_Create", (PyCFunction
) _wrap_FindReplaceDialog_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30990 { (char *)"FindReplaceDialog_GetData", (PyCFunction
)_wrap_FindReplaceDialog_GetData
, METH_O
, NULL
},
30991 { (char *)"FindReplaceDialog_SetData", (PyCFunction
) _wrap_FindReplaceDialog_SetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30992 { (char *)"FindReplaceDialog_swigregister", FindReplaceDialog_swigregister
, METH_VARARGS
, NULL
},
30993 { (char *)"FindReplaceDialog_swiginit", FindReplaceDialog_swiginit
, METH_VARARGS
, NULL
},
30994 { (char *)"new_MDIParentFrame", (PyCFunction
) _wrap_new_MDIParentFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30995 { (char *)"new_PreMDIParentFrame", (PyCFunction
)_wrap_new_PreMDIParentFrame
, METH_NOARGS
, NULL
},
30996 { (char *)"MDIParentFrame_Create", (PyCFunction
) _wrap_MDIParentFrame_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30997 { (char *)"MDIParentFrame_ActivateNext", (PyCFunction
)_wrap_MDIParentFrame_ActivateNext
, METH_O
, NULL
},
30998 { (char *)"MDIParentFrame_ActivatePrevious", (PyCFunction
)_wrap_MDIParentFrame_ActivatePrevious
, METH_O
, NULL
},
30999 { (char *)"MDIParentFrame_ArrangeIcons", (PyCFunction
)_wrap_MDIParentFrame_ArrangeIcons
, METH_O
, NULL
},
31000 { (char *)"MDIParentFrame_Cascade", (PyCFunction
)_wrap_MDIParentFrame_Cascade
, METH_O
, NULL
},
31001 { (char *)"MDIParentFrame_GetActiveChild", (PyCFunction
)_wrap_MDIParentFrame_GetActiveChild
, METH_O
, NULL
},
31002 { (char *)"MDIParentFrame_GetClientWindow", (PyCFunction
)_wrap_MDIParentFrame_GetClientWindow
, METH_O
, NULL
},
31003 { (char *)"MDIParentFrame_GetToolBar", (PyCFunction
)_wrap_MDIParentFrame_GetToolBar
, METH_O
, NULL
},
31004 { (char *)"MDIParentFrame_Tile", (PyCFunction
) _wrap_MDIParentFrame_Tile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31005 { (char *)"MDIParentFrame_swigregister", MDIParentFrame_swigregister
, METH_VARARGS
, NULL
},
31006 { (char *)"MDIParentFrame_swiginit", MDIParentFrame_swiginit
, METH_VARARGS
, NULL
},
31007 { (char *)"new_MDIChildFrame", (PyCFunction
) _wrap_new_MDIChildFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31008 { (char *)"new_PreMDIChildFrame", (PyCFunction
)_wrap_new_PreMDIChildFrame
, METH_NOARGS
, NULL
},
31009 { (char *)"MDIChildFrame_Create", (PyCFunction
) _wrap_MDIChildFrame_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31010 { (char *)"MDIChildFrame_Activate", (PyCFunction
)_wrap_MDIChildFrame_Activate
, METH_O
, NULL
},
31011 { (char *)"MDIChildFrame_swigregister", MDIChildFrame_swigregister
, METH_VARARGS
, NULL
},
31012 { (char *)"MDIChildFrame_swiginit", MDIChildFrame_swiginit
, METH_VARARGS
, NULL
},
31013 { (char *)"new_MDIClientWindow", (PyCFunction
) _wrap_new_MDIClientWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31014 { (char *)"new_PreMDIClientWindow", (PyCFunction
)_wrap_new_PreMDIClientWindow
, METH_NOARGS
, NULL
},
31015 { (char *)"MDIClientWindow_Create", (PyCFunction
) _wrap_MDIClientWindow_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31016 { (char *)"MDIClientWindow_swigregister", MDIClientWindow_swigregister
, METH_VARARGS
, NULL
},
31017 { (char *)"MDIClientWindow_swiginit", MDIClientWindow_swiginit
, METH_VARARGS
, NULL
},
31018 { (char *)"new_PyWindow", (PyCFunction
) _wrap_new_PyWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31019 { (char *)"new_PrePyWindow", (PyCFunction
)_wrap_new_PrePyWindow
, METH_NOARGS
, NULL
},
31020 { (char *)"PyWindow__setCallbackInfo", (PyCFunction
) _wrap_PyWindow__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31021 { (char *)"PyWindow_SetBestSize", (PyCFunction
) _wrap_PyWindow_SetBestSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31022 { (char *)"PyWindow_DoEraseBackground", (PyCFunction
) _wrap_PyWindow_DoEraseBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31023 { (char *)"PyWindow_DoMoveWindow", (PyCFunction
) _wrap_PyWindow_DoMoveWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31024 { (char *)"PyWindow_DoSetSize", (PyCFunction
) _wrap_PyWindow_DoSetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31025 { (char *)"PyWindow_DoSetClientSize", (PyCFunction
) _wrap_PyWindow_DoSetClientSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31026 { (char *)"PyWindow_DoSetVirtualSize", (PyCFunction
) _wrap_PyWindow_DoSetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31027 { (char *)"PyWindow_DoGetSize", (PyCFunction
)_wrap_PyWindow_DoGetSize
, METH_O
, NULL
},
31028 { (char *)"PyWindow_DoGetClientSize", (PyCFunction
)_wrap_PyWindow_DoGetClientSize
, METH_O
, NULL
},
31029 { (char *)"PyWindow_DoGetPosition", (PyCFunction
)_wrap_PyWindow_DoGetPosition
, METH_O
, NULL
},
31030 { (char *)"PyWindow_DoGetVirtualSize", (PyCFunction
)_wrap_PyWindow_DoGetVirtualSize
, METH_O
, NULL
},
31031 { (char *)"PyWindow_DoGetBestSize", (PyCFunction
)_wrap_PyWindow_DoGetBestSize
, METH_O
, NULL
},
31032 { (char *)"PyWindow_GetDefaultAttributes", (PyCFunction
)_wrap_PyWindow_GetDefaultAttributes
, METH_O
, NULL
},
31033 { (char *)"PyWindow_OnInternalIdle", (PyCFunction
)_wrap_PyWindow_OnInternalIdle
, METH_O
, NULL
},
31034 { (char *)"PyWindow_swigregister", PyWindow_swigregister
, METH_VARARGS
, NULL
},
31035 { (char *)"PyWindow_swiginit", PyWindow_swiginit
, METH_VARARGS
, NULL
},
31036 { (char *)"new_PyPanel", (PyCFunction
) _wrap_new_PyPanel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31037 { (char *)"new_PrePyPanel", (PyCFunction
)_wrap_new_PrePyPanel
, METH_NOARGS
, NULL
},
31038 { (char *)"PyPanel__setCallbackInfo", (PyCFunction
) _wrap_PyPanel__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31039 { (char *)"PyPanel_SetBestSize", (PyCFunction
) _wrap_PyPanel_SetBestSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31040 { (char *)"PyPanel_DoEraseBackground", (PyCFunction
) _wrap_PyPanel_DoEraseBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31041 { (char *)"PyPanel_DoMoveWindow", (PyCFunction
) _wrap_PyPanel_DoMoveWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31042 { (char *)"PyPanel_DoSetSize", (PyCFunction
) _wrap_PyPanel_DoSetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31043 { (char *)"PyPanel_DoSetClientSize", (PyCFunction
) _wrap_PyPanel_DoSetClientSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31044 { (char *)"PyPanel_DoSetVirtualSize", (PyCFunction
) _wrap_PyPanel_DoSetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31045 { (char *)"PyPanel_DoGetSize", (PyCFunction
)_wrap_PyPanel_DoGetSize
, METH_O
, NULL
},
31046 { (char *)"PyPanel_DoGetClientSize", (PyCFunction
)_wrap_PyPanel_DoGetClientSize
, METH_O
, NULL
},
31047 { (char *)"PyPanel_DoGetPosition", (PyCFunction
)_wrap_PyPanel_DoGetPosition
, METH_O
, NULL
},
31048 { (char *)"PyPanel_DoGetVirtualSize", (PyCFunction
)_wrap_PyPanel_DoGetVirtualSize
, METH_O
, NULL
},
31049 { (char *)"PyPanel_DoGetBestSize", (PyCFunction
)_wrap_PyPanel_DoGetBestSize
, METH_O
, NULL
},
31050 { (char *)"PyPanel_GetDefaultAttributes", (PyCFunction
)_wrap_PyPanel_GetDefaultAttributes
, METH_O
, NULL
},
31051 { (char *)"PyPanel_OnInternalIdle", (PyCFunction
)_wrap_PyPanel_OnInternalIdle
, METH_O
, NULL
},
31052 { (char *)"PyPanel_swigregister", PyPanel_swigregister
, METH_VARARGS
, NULL
},
31053 { (char *)"PyPanel_swiginit", PyPanel_swiginit
, METH_VARARGS
, NULL
},
31054 { (char *)"new_PyScrolledWindow", (PyCFunction
) _wrap_new_PyScrolledWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31055 { (char *)"new_PrePyScrolledWindow", (PyCFunction
)_wrap_new_PrePyScrolledWindow
, METH_NOARGS
, NULL
},
31056 { (char *)"PyScrolledWindow__setCallbackInfo", (PyCFunction
) _wrap_PyScrolledWindow__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31057 { (char *)"PyScrolledWindow_SetBestSize", (PyCFunction
) _wrap_PyScrolledWindow_SetBestSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31058 { (char *)"PyScrolledWindow_DoEraseBackground", (PyCFunction
) _wrap_PyScrolledWindow_DoEraseBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31059 { (char *)"PyScrolledWindow_DoMoveWindow", (PyCFunction
) _wrap_PyScrolledWindow_DoMoveWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31060 { (char *)"PyScrolledWindow_DoSetSize", (PyCFunction
) _wrap_PyScrolledWindow_DoSetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31061 { (char *)"PyScrolledWindow_DoSetClientSize", (PyCFunction
) _wrap_PyScrolledWindow_DoSetClientSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31062 { (char *)"PyScrolledWindow_DoSetVirtualSize", (PyCFunction
) _wrap_PyScrolledWindow_DoSetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31063 { (char *)"PyScrolledWindow_DoGetSize", (PyCFunction
)_wrap_PyScrolledWindow_DoGetSize
, METH_O
, NULL
},
31064 { (char *)"PyScrolledWindow_DoGetClientSize", (PyCFunction
)_wrap_PyScrolledWindow_DoGetClientSize
, METH_O
, NULL
},
31065 { (char *)"PyScrolledWindow_DoGetPosition", (PyCFunction
)_wrap_PyScrolledWindow_DoGetPosition
, METH_O
, NULL
},
31066 { (char *)"PyScrolledWindow_DoGetVirtualSize", (PyCFunction
)_wrap_PyScrolledWindow_DoGetVirtualSize
, METH_O
, NULL
},
31067 { (char *)"PyScrolledWindow_DoGetBestSize", (PyCFunction
)_wrap_PyScrolledWindow_DoGetBestSize
, METH_O
, NULL
},
31068 { (char *)"PyScrolledWindow_GetDefaultAttributes", (PyCFunction
)_wrap_PyScrolledWindow_GetDefaultAttributes
, METH_O
, NULL
},
31069 { (char *)"PyScrolledWindow_OnInternalIdle", (PyCFunction
)_wrap_PyScrolledWindow_OnInternalIdle
, METH_O
, NULL
},
31070 { (char *)"PyScrolledWindow_swigregister", PyScrolledWindow_swigregister
, METH_VARARGS
, NULL
},
31071 { (char *)"PyScrolledWindow_swiginit", PyScrolledWindow_swiginit
, METH_VARARGS
, NULL
},
31072 { (char *)"new_PrintData", _wrap_new_PrintData
, METH_VARARGS
, NULL
},
31073 { (char *)"delete_PrintData", (PyCFunction
)_wrap_delete_PrintData
, METH_O
, NULL
},
31074 { (char *)"PrintData_GetNoCopies", (PyCFunction
)_wrap_PrintData_GetNoCopies
, METH_O
, NULL
},
31075 { (char *)"PrintData_GetCollate", (PyCFunction
)_wrap_PrintData_GetCollate
, METH_O
, NULL
},
31076 { (char *)"PrintData_GetOrientation", (PyCFunction
)_wrap_PrintData_GetOrientation
, METH_O
, NULL
},
31077 { (char *)"PrintData_Ok", (PyCFunction
)_wrap_PrintData_Ok
, METH_O
, NULL
},
31078 { (char *)"PrintData_GetPrinterName", (PyCFunction
)_wrap_PrintData_GetPrinterName
, METH_O
, NULL
},
31079 { (char *)"PrintData_GetColour", (PyCFunction
)_wrap_PrintData_GetColour
, METH_O
, NULL
},
31080 { (char *)"PrintData_GetDuplex", (PyCFunction
)_wrap_PrintData_GetDuplex
, METH_O
, NULL
},
31081 { (char *)"PrintData_GetPaperId", (PyCFunction
)_wrap_PrintData_GetPaperId
, METH_O
, NULL
},
31082 { (char *)"PrintData_GetPaperSize", (PyCFunction
)_wrap_PrintData_GetPaperSize
, METH_O
, NULL
},
31083 { (char *)"PrintData_GetQuality", (PyCFunction
)_wrap_PrintData_GetQuality
, METH_O
, NULL
},
31084 { (char *)"PrintData_GetBin", (PyCFunction
)_wrap_PrintData_GetBin
, METH_O
, NULL
},
31085 { (char *)"PrintData_GetPrintMode", (PyCFunction
)_wrap_PrintData_GetPrintMode
, METH_O
, NULL
},
31086 { (char *)"PrintData_SetNoCopies", (PyCFunction
) _wrap_PrintData_SetNoCopies
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31087 { (char *)"PrintData_SetCollate", (PyCFunction
) _wrap_PrintData_SetCollate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31088 { (char *)"PrintData_SetOrientation", (PyCFunction
) _wrap_PrintData_SetOrientation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31089 { (char *)"PrintData_SetPrinterName", (PyCFunction
) _wrap_PrintData_SetPrinterName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31090 { (char *)"PrintData_SetColour", (PyCFunction
) _wrap_PrintData_SetColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31091 { (char *)"PrintData_SetDuplex", (PyCFunction
) _wrap_PrintData_SetDuplex
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31092 { (char *)"PrintData_SetPaperId", (PyCFunction
) _wrap_PrintData_SetPaperId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31093 { (char *)"PrintData_SetPaperSize", (PyCFunction
) _wrap_PrintData_SetPaperSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31094 { (char *)"PrintData_SetQuality", (PyCFunction
) _wrap_PrintData_SetQuality
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31095 { (char *)"PrintData_SetBin", (PyCFunction
) _wrap_PrintData_SetBin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31096 { (char *)"PrintData_SetPrintMode", (PyCFunction
) _wrap_PrintData_SetPrintMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31097 { (char *)"PrintData_GetFilename", (PyCFunction
)_wrap_PrintData_GetFilename
, METH_O
, NULL
},
31098 { (char *)"PrintData_SetFilename", (PyCFunction
) _wrap_PrintData_SetFilename
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31099 { (char *)"PrintData_GetPrivData", (PyCFunction
)_wrap_PrintData_GetPrivData
, METH_O
, NULL
},
31100 { (char *)"PrintData_SetPrivData", (PyCFunction
) _wrap_PrintData_SetPrivData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31101 { (char *)"PrintData_swigregister", PrintData_swigregister
, METH_VARARGS
, NULL
},
31102 { (char *)"PrintData_swiginit", PrintData_swiginit
, METH_VARARGS
, NULL
},
31103 { (char *)"new_PageSetupDialogData", _wrap_new_PageSetupDialogData
, METH_VARARGS
, NULL
},
31104 { (char *)"delete_PageSetupDialogData", (PyCFunction
)_wrap_delete_PageSetupDialogData
, METH_O
, NULL
},
31105 { (char *)"PageSetupDialogData_EnableHelp", (PyCFunction
) _wrap_PageSetupDialogData_EnableHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31106 { (char *)"PageSetupDialogData_EnableMargins", (PyCFunction
) _wrap_PageSetupDialogData_EnableMargins
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31107 { (char *)"PageSetupDialogData_EnableOrientation", (PyCFunction
) _wrap_PageSetupDialogData_EnableOrientation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31108 { (char *)"PageSetupDialogData_EnablePaper", (PyCFunction
) _wrap_PageSetupDialogData_EnablePaper
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31109 { (char *)"PageSetupDialogData_EnablePrinter", (PyCFunction
) _wrap_PageSetupDialogData_EnablePrinter
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31110 { (char *)"PageSetupDialogData_GetDefaultMinMargins", (PyCFunction
)_wrap_PageSetupDialogData_GetDefaultMinMargins
, METH_O
, NULL
},
31111 { (char *)"PageSetupDialogData_GetEnableMargins", (PyCFunction
)_wrap_PageSetupDialogData_GetEnableMargins
, METH_O
, NULL
},
31112 { (char *)"PageSetupDialogData_GetEnableOrientation", (PyCFunction
)_wrap_PageSetupDialogData_GetEnableOrientation
, METH_O
, NULL
},
31113 { (char *)"PageSetupDialogData_GetEnablePaper", (PyCFunction
)_wrap_PageSetupDialogData_GetEnablePaper
, METH_O
, NULL
},
31114 { (char *)"PageSetupDialogData_GetEnablePrinter", (PyCFunction
)_wrap_PageSetupDialogData_GetEnablePrinter
, METH_O
, NULL
},
31115 { (char *)"PageSetupDialogData_GetEnableHelp", (PyCFunction
)_wrap_PageSetupDialogData_GetEnableHelp
, METH_O
, NULL
},
31116 { (char *)"PageSetupDialogData_GetDefaultInfo", (PyCFunction
)_wrap_PageSetupDialogData_GetDefaultInfo
, METH_O
, NULL
},
31117 { (char *)"PageSetupDialogData_GetMarginTopLeft", (PyCFunction
)_wrap_PageSetupDialogData_GetMarginTopLeft
, METH_O
, NULL
},
31118 { (char *)"PageSetupDialogData_GetMarginBottomRight", (PyCFunction
)_wrap_PageSetupDialogData_GetMarginBottomRight
, METH_O
, NULL
},
31119 { (char *)"PageSetupDialogData_GetMinMarginTopLeft", (PyCFunction
)_wrap_PageSetupDialogData_GetMinMarginTopLeft
, METH_O
, NULL
},
31120 { (char *)"PageSetupDialogData_GetMinMarginBottomRight", (PyCFunction
)_wrap_PageSetupDialogData_GetMinMarginBottomRight
, METH_O
, NULL
},
31121 { (char *)"PageSetupDialogData_GetPaperId", (PyCFunction
)_wrap_PageSetupDialogData_GetPaperId
, METH_O
, NULL
},
31122 { (char *)"PageSetupDialogData_GetPaperSize", (PyCFunction
)_wrap_PageSetupDialogData_GetPaperSize
, METH_O
, NULL
},
31123 { (char *)"PageSetupDialogData_GetPrintData", (PyCFunction
)_wrap_PageSetupDialogData_GetPrintData
, METH_O
, NULL
},
31124 { (char *)"PageSetupDialogData_Ok", (PyCFunction
)_wrap_PageSetupDialogData_Ok
, METH_O
, NULL
},
31125 { (char *)"PageSetupDialogData_SetDefaultInfo", (PyCFunction
) _wrap_PageSetupDialogData_SetDefaultInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31126 { (char *)"PageSetupDialogData_SetDefaultMinMargins", (PyCFunction
) _wrap_PageSetupDialogData_SetDefaultMinMargins
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31127 { (char *)"PageSetupDialogData_SetMarginTopLeft", (PyCFunction
) _wrap_PageSetupDialogData_SetMarginTopLeft
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31128 { (char *)"PageSetupDialogData_SetMarginBottomRight", (PyCFunction
) _wrap_PageSetupDialogData_SetMarginBottomRight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31129 { (char *)"PageSetupDialogData_SetMinMarginTopLeft", (PyCFunction
) _wrap_PageSetupDialogData_SetMinMarginTopLeft
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31130 { (char *)"PageSetupDialogData_SetMinMarginBottomRight", (PyCFunction
) _wrap_PageSetupDialogData_SetMinMarginBottomRight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31131 { (char *)"PageSetupDialogData_SetPaperId", (PyCFunction
) _wrap_PageSetupDialogData_SetPaperId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31132 { (char *)"PageSetupDialogData_SetPaperSize", (PyCFunction
) _wrap_PageSetupDialogData_SetPaperSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31133 { (char *)"PageSetupDialogData_SetPrintData", (PyCFunction
) _wrap_PageSetupDialogData_SetPrintData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31134 { (char *)"PageSetupDialogData_CalculateIdFromPaperSize", (PyCFunction
)_wrap_PageSetupDialogData_CalculateIdFromPaperSize
, METH_O
, NULL
},
31135 { (char *)"PageSetupDialogData_CalculatePaperSizeFromId", (PyCFunction
)_wrap_PageSetupDialogData_CalculatePaperSizeFromId
, METH_O
, NULL
},
31136 { (char *)"PageSetupDialogData_swigregister", PageSetupDialogData_swigregister
, METH_VARARGS
, NULL
},
31137 { (char *)"PageSetupDialogData_swiginit", PageSetupDialogData_swiginit
, METH_VARARGS
, NULL
},
31138 { (char *)"new_PageSetupDialog", (PyCFunction
) _wrap_new_PageSetupDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31139 { (char *)"delete_PageSetupDialog", (PyCFunction
)_wrap_delete_PageSetupDialog
, METH_O
, NULL
},
31140 { (char *)"PageSetupDialog_GetPageSetupData", (PyCFunction
)_wrap_PageSetupDialog_GetPageSetupData
, METH_O
, NULL
},
31141 { (char *)"PageSetupDialog_GetPageSetupDialogData", (PyCFunction
)_wrap_PageSetupDialog_GetPageSetupDialogData
, METH_O
, NULL
},
31142 { (char *)"PageSetupDialog_ShowModal", (PyCFunction
)_wrap_PageSetupDialog_ShowModal
, METH_O
, NULL
},
31143 { (char *)"PageSetupDialog_swigregister", PageSetupDialog_swigregister
, METH_VARARGS
, NULL
},
31144 { (char *)"PageSetupDialog_swiginit", PageSetupDialog_swiginit
, METH_VARARGS
, NULL
},
31145 { (char *)"new_PrintDialogData", _wrap_new_PrintDialogData
, METH_VARARGS
, NULL
},
31146 { (char *)"delete_PrintDialogData", (PyCFunction
)_wrap_delete_PrintDialogData
, METH_O
, NULL
},
31147 { (char *)"PrintDialogData_GetFromPage", (PyCFunction
)_wrap_PrintDialogData_GetFromPage
, METH_O
, NULL
},
31148 { (char *)"PrintDialogData_GetToPage", (PyCFunction
)_wrap_PrintDialogData_GetToPage
, METH_O
, NULL
},
31149 { (char *)"PrintDialogData_GetMinPage", (PyCFunction
)_wrap_PrintDialogData_GetMinPage
, METH_O
, NULL
},
31150 { (char *)"PrintDialogData_GetMaxPage", (PyCFunction
)_wrap_PrintDialogData_GetMaxPage
, METH_O
, NULL
},
31151 { (char *)"PrintDialogData_GetNoCopies", (PyCFunction
)_wrap_PrintDialogData_GetNoCopies
, METH_O
, NULL
},
31152 { (char *)"PrintDialogData_GetAllPages", (PyCFunction
)_wrap_PrintDialogData_GetAllPages
, METH_O
, NULL
},
31153 { (char *)"PrintDialogData_GetSelection", (PyCFunction
)_wrap_PrintDialogData_GetSelection
, METH_O
, NULL
},
31154 { (char *)"PrintDialogData_GetCollate", (PyCFunction
)_wrap_PrintDialogData_GetCollate
, METH_O
, NULL
},
31155 { (char *)"PrintDialogData_GetPrintToFile", (PyCFunction
)_wrap_PrintDialogData_GetPrintToFile
, METH_O
, NULL
},
31156 { (char *)"PrintDialogData_SetFromPage", (PyCFunction
) _wrap_PrintDialogData_SetFromPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31157 { (char *)"PrintDialogData_SetToPage", (PyCFunction
) _wrap_PrintDialogData_SetToPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31158 { (char *)"PrintDialogData_SetMinPage", (PyCFunction
) _wrap_PrintDialogData_SetMinPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31159 { (char *)"PrintDialogData_SetMaxPage", (PyCFunction
) _wrap_PrintDialogData_SetMaxPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31160 { (char *)"PrintDialogData_SetNoCopies", (PyCFunction
) _wrap_PrintDialogData_SetNoCopies
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31161 { (char *)"PrintDialogData_SetAllPages", (PyCFunction
) _wrap_PrintDialogData_SetAllPages
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31162 { (char *)"PrintDialogData_SetSelection", (PyCFunction
) _wrap_PrintDialogData_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31163 { (char *)"PrintDialogData_SetCollate", (PyCFunction
) _wrap_PrintDialogData_SetCollate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31164 { (char *)"PrintDialogData_SetPrintToFile", (PyCFunction
) _wrap_PrintDialogData_SetPrintToFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31165 { (char *)"PrintDialogData_EnablePrintToFile", (PyCFunction
) _wrap_PrintDialogData_EnablePrintToFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31166 { (char *)"PrintDialogData_EnableSelection", (PyCFunction
) _wrap_PrintDialogData_EnableSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31167 { (char *)"PrintDialogData_EnablePageNumbers", (PyCFunction
) _wrap_PrintDialogData_EnablePageNumbers
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31168 { (char *)"PrintDialogData_EnableHelp", (PyCFunction
) _wrap_PrintDialogData_EnableHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31169 { (char *)"PrintDialogData_GetEnablePrintToFile", (PyCFunction
)_wrap_PrintDialogData_GetEnablePrintToFile
, METH_O
, NULL
},
31170 { (char *)"PrintDialogData_GetEnableSelection", (PyCFunction
)_wrap_PrintDialogData_GetEnableSelection
, METH_O
, NULL
},
31171 { (char *)"PrintDialogData_GetEnablePageNumbers", (PyCFunction
)_wrap_PrintDialogData_GetEnablePageNumbers
, METH_O
, NULL
},
31172 { (char *)"PrintDialogData_GetEnableHelp", (PyCFunction
)_wrap_PrintDialogData_GetEnableHelp
, METH_O
, NULL
},
31173 { (char *)"PrintDialogData_Ok", (PyCFunction
)_wrap_PrintDialogData_Ok
, METH_O
, NULL
},
31174 { (char *)"PrintDialogData_GetPrintData", (PyCFunction
)_wrap_PrintDialogData_GetPrintData
, METH_O
, NULL
},
31175 { (char *)"PrintDialogData_SetPrintData", (PyCFunction
) _wrap_PrintDialogData_SetPrintData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31176 { (char *)"PrintDialogData_swigregister", PrintDialogData_swigregister
, METH_VARARGS
, NULL
},
31177 { (char *)"PrintDialogData_swiginit", PrintDialogData_swiginit
, METH_VARARGS
, NULL
},
31178 { (char *)"new_PrintDialog", (PyCFunction
) _wrap_new_PrintDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31179 { (char *)"delete_PrintDialog", (PyCFunction
)_wrap_delete_PrintDialog
, METH_O
, NULL
},
31180 { (char *)"PrintDialog_ShowModal", (PyCFunction
)_wrap_PrintDialog_ShowModal
, METH_O
, NULL
},
31181 { (char *)"PrintDialog_GetPrintDialogData", (PyCFunction
)_wrap_PrintDialog_GetPrintDialogData
, METH_O
, NULL
},
31182 { (char *)"PrintDialog_GetPrintData", (PyCFunction
)_wrap_PrintDialog_GetPrintData
, METH_O
, NULL
},
31183 { (char *)"PrintDialog_GetPrintDC", (PyCFunction
)_wrap_PrintDialog_GetPrintDC
, METH_O
, NULL
},
31184 { (char *)"PrintDialog_swigregister", PrintDialog_swigregister
, METH_VARARGS
, NULL
},
31185 { (char *)"PrintDialog_swiginit", PrintDialog_swiginit
, METH_VARARGS
, NULL
},
31186 { (char *)"new_Printer", (PyCFunction
) _wrap_new_Printer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31187 { (char *)"delete_Printer", (PyCFunction
)_wrap_delete_Printer
, METH_O
, NULL
},
31188 { (char *)"Printer_CreateAbortWindow", (PyCFunction
) _wrap_Printer_CreateAbortWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31189 { (char *)"Printer_ReportError", (PyCFunction
) _wrap_Printer_ReportError
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31190 { (char *)"Printer_Setup", (PyCFunction
) _wrap_Printer_Setup
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31191 { (char *)"Printer_Print", (PyCFunction
) _wrap_Printer_Print
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31192 { (char *)"Printer_PrintDialog", (PyCFunction
) _wrap_Printer_PrintDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31193 { (char *)"Printer_GetPrintDialogData", (PyCFunction
)_wrap_Printer_GetPrintDialogData
, METH_O
, NULL
},
31194 { (char *)"Printer_GetAbort", (PyCFunction
)_wrap_Printer_GetAbort
, METH_O
, NULL
},
31195 { (char *)"Printer_GetLastError", (PyCFunction
)_wrap_Printer_GetLastError
, METH_NOARGS
, NULL
},
31196 { (char *)"Printer_swigregister", Printer_swigregister
, METH_VARARGS
, NULL
},
31197 { (char *)"Printer_swiginit", Printer_swiginit
, METH_VARARGS
, NULL
},
31198 { (char *)"new_Printout", (PyCFunction
) _wrap_new_Printout
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31199 { (char *)"delete_Printout", (PyCFunction
)_wrap_delete_Printout
, METH_O
, NULL
},
31200 { (char *)"Printout__setCallbackInfo", (PyCFunction
) _wrap_Printout__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31201 { (char *)"Printout_GetTitle", (PyCFunction
)_wrap_Printout_GetTitle
, METH_O
, NULL
},
31202 { (char *)"Printout_GetDC", (PyCFunction
)_wrap_Printout_GetDC
, METH_O
, NULL
},
31203 { (char *)"Printout_SetDC", (PyCFunction
) _wrap_Printout_SetDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31204 { (char *)"Printout_SetPageSizePixels", (PyCFunction
) _wrap_Printout_SetPageSizePixels
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31205 { (char *)"Printout_GetPageSizePixels", (PyCFunction
)_wrap_Printout_GetPageSizePixels
, METH_O
, NULL
},
31206 { (char *)"Printout_SetPageSizeMM", (PyCFunction
) _wrap_Printout_SetPageSizeMM
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31207 { (char *)"Printout_GetPageSizeMM", (PyCFunction
)_wrap_Printout_GetPageSizeMM
, METH_O
, NULL
},
31208 { (char *)"Printout_SetPPIScreen", (PyCFunction
) _wrap_Printout_SetPPIScreen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31209 { (char *)"Printout_GetPPIScreen", (PyCFunction
)_wrap_Printout_GetPPIScreen
, METH_O
, NULL
},
31210 { (char *)"Printout_SetPPIPrinter", (PyCFunction
) _wrap_Printout_SetPPIPrinter
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31211 { (char *)"Printout_GetPPIPrinter", (PyCFunction
)_wrap_Printout_GetPPIPrinter
, METH_O
, NULL
},
31212 { (char *)"Printout_IsPreview", (PyCFunction
)_wrap_Printout_IsPreview
, METH_O
, NULL
},
31213 { (char *)"Printout_SetIsPreview", (PyCFunction
) _wrap_Printout_SetIsPreview
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31214 { (char *)"Printout_OnBeginDocument", (PyCFunction
) _wrap_Printout_OnBeginDocument
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31215 { (char *)"Printout_OnEndDocument", (PyCFunction
)_wrap_Printout_OnEndDocument
, METH_O
, NULL
},
31216 { (char *)"Printout_OnBeginPrinting", (PyCFunction
)_wrap_Printout_OnBeginPrinting
, METH_O
, NULL
},
31217 { (char *)"Printout_OnEndPrinting", (PyCFunction
)_wrap_Printout_OnEndPrinting
, METH_O
, NULL
},
31218 { (char *)"Printout_OnPreparePrinting", (PyCFunction
)_wrap_Printout_OnPreparePrinting
, METH_O
, NULL
},
31219 { (char *)"Printout_HasPage", (PyCFunction
) _wrap_Printout_HasPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31220 { (char *)"Printout_GetPageInfo", (PyCFunction
)_wrap_Printout_GetPageInfo
, METH_O
, NULL
},
31221 { (char *)"Printout_swigregister", Printout_swigregister
, METH_VARARGS
, NULL
},
31222 { (char *)"Printout_swiginit", Printout_swiginit
, METH_VARARGS
, NULL
},
31223 { (char *)"new_PreviewCanvas", (PyCFunction
) _wrap_new_PreviewCanvas
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31224 { (char *)"PreviewCanvas_swigregister", PreviewCanvas_swigregister
, METH_VARARGS
, NULL
},
31225 { (char *)"PreviewCanvas_swiginit", PreviewCanvas_swiginit
, METH_VARARGS
, NULL
},
31226 { (char *)"new_PreviewFrame", (PyCFunction
) _wrap_new_PreviewFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31227 { (char *)"PreviewFrame_Initialize", (PyCFunction
)_wrap_PreviewFrame_Initialize
, METH_O
, NULL
},
31228 { (char *)"PreviewFrame_CreateControlBar", (PyCFunction
)_wrap_PreviewFrame_CreateControlBar
, METH_O
, NULL
},
31229 { (char *)"PreviewFrame_CreateCanvas", (PyCFunction
)_wrap_PreviewFrame_CreateCanvas
, METH_O
, NULL
},
31230 { (char *)"PreviewFrame_GetControlBar", (PyCFunction
)_wrap_PreviewFrame_GetControlBar
, METH_O
, NULL
},
31231 { (char *)"PreviewFrame_swigregister", PreviewFrame_swigregister
, METH_VARARGS
, NULL
},
31232 { (char *)"PreviewFrame_swiginit", PreviewFrame_swiginit
, METH_VARARGS
, NULL
},
31233 { (char *)"new_PreviewControlBar", (PyCFunction
) _wrap_new_PreviewControlBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31234 { (char *)"PreviewControlBar_GetZoomControl", (PyCFunction
)_wrap_PreviewControlBar_GetZoomControl
, METH_O
, NULL
},
31235 { (char *)"PreviewControlBar_SetZoomControl", (PyCFunction
) _wrap_PreviewControlBar_SetZoomControl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31236 { (char *)"PreviewControlBar_GetPrintPreview", (PyCFunction
)_wrap_PreviewControlBar_GetPrintPreview
, METH_O
, NULL
},
31237 { (char *)"PreviewControlBar_OnNext", (PyCFunction
)_wrap_PreviewControlBar_OnNext
, METH_O
, NULL
},
31238 { (char *)"PreviewControlBar_OnPrevious", (PyCFunction
)_wrap_PreviewControlBar_OnPrevious
, METH_O
, NULL
},
31239 { (char *)"PreviewControlBar_OnFirst", (PyCFunction
)_wrap_PreviewControlBar_OnFirst
, METH_O
, NULL
},
31240 { (char *)"PreviewControlBar_OnLast", (PyCFunction
)_wrap_PreviewControlBar_OnLast
, METH_O
, NULL
},
31241 { (char *)"PreviewControlBar_OnGoto", (PyCFunction
)_wrap_PreviewControlBar_OnGoto
, METH_O
, NULL
},
31242 { (char *)"PreviewControlBar_swigregister", PreviewControlBar_swigregister
, METH_VARARGS
, NULL
},
31243 { (char *)"PreviewControlBar_swiginit", PreviewControlBar_swiginit
, METH_VARARGS
, NULL
},
31244 { (char *)"new_PrintPreview", _wrap_new_PrintPreview
, METH_VARARGS
, NULL
},
31245 { (char *)"delete_PrintPreview", (PyCFunction
)_wrap_delete_PrintPreview
, METH_O
, NULL
},
31246 { (char *)"PrintPreview_SetCurrentPage", (PyCFunction
) _wrap_PrintPreview_SetCurrentPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31247 { (char *)"PrintPreview_GetCurrentPage", (PyCFunction
)_wrap_PrintPreview_GetCurrentPage
, METH_O
, NULL
},
31248 { (char *)"PrintPreview_SetPrintout", (PyCFunction
) _wrap_PrintPreview_SetPrintout
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31249 { (char *)"PrintPreview_GetPrintout", (PyCFunction
)_wrap_PrintPreview_GetPrintout
, METH_O
, NULL
},
31250 { (char *)"PrintPreview_GetPrintoutForPrinting", (PyCFunction
)_wrap_PrintPreview_GetPrintoutForPrinting
, METH_O
, NULL
},
31251 { (char *)"PrintPreview_SetFrame", (PyCFunction
) _wrap_PrintPreview_SetFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31252 { (char *)"PrintPreview_SetCanvas", (PyCFunction
) _wrap_PrintPreview_SetCanvas
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31253 { (char *)"PrintPreview_GetFrame", (PyCFunction
)_wrap_PrintPreview_GetFrame
, METH_O
, NULL
},
31254 { (char *)"PrintPreview_GetCanvas", (PyCFunction
)_wrap_PrintPreview_GetCanvas
, METH_O
, NULL
},
31255 { (char *)"PrintPreview_PaintPage", (PyCFunction
) _wrap_PrintPreview_PaintPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31256 { (char *)"PrintPreview_DrawBlankPage", (PyCFunction
) _wrap_PrintPreview_DrawBlankPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31257 { (char *)"PrintPreview_RenderPage", (PyCFunction
) _wrap_PrintPreview_RenderPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31258 { (char *)"PrintPreview_AdjustScrollbars", (PyCFunction
) _wrap_PrintPreview_AdjustScrollbars
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31259 { (char *)"PrintPreview_GetPrintDialogData", (PyCFunction
)_wrap_PrintPreview_GetPrintDialogData
, METH_O
, NULL
},
31260 { (char *)"PrintPreview_SetZoom", (PyCFunction
) _wrap_PrintPreview_SetZoom
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31261 { (char *)"PrintPreview_GetZoom", (PyCFunction
)_wrap_PrintPreview_GetZoom
, METH_O
, NULL
},
31262 { (char *)"PrintPreview_GetMaxPage", (PyCFunction
)_wrap_PrintPreview_GetMaxPage
, METH_O
, NULL
},
31263 { (char *)"PrintPreview_GetMinPage", (PyCFunction
)_wrap_PrintPreview_GetMinPage
, METH_O
, NULL
},
31264 { (char *)"PrintPreview_Ok", (PyCFunction
)_wrap_PrintPreview_Ok
, METH_O
, NULL
},
31265 { (char *)"PrintPreview_SetOk", (PyCFunction
) _wrap_PrintPreview_SetOk
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31266 { (char *)"PrintPreview_Print", (PyCFunction
) _wrap_PrintPreview_Print
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31267 { (char *)"PrintPreview_DetermineScaling", (PyCFunction
)_wrap_PrintPreview_DetermineScaling
, METH_O
, NULL
},
31268 { (char *)"PrintPreview_swigregister", PrintPreview_swigregister
, METH_VARARGS
, NULL
},
31269 { (char *)"PrintPreview_swiginit", PrintPreview_swiginit
, METH_VARARGS
, NULL
},
31270 { (char *)"new_PyPrintPreview", _wrap_new_PyPrintPreview
, METH_VARARGS
, NULL
},
31271 { (char *)"PyPrintPreview__setCallbackInfo", (PyCFunction
) _wrap_PyPrintPreview__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31272 { (char *)"PyPrintPreview_swigregister", PyPrintPreview_swigregister
, METH_VARARGS
, NULL
},
31273 { (char *)"PyPrintPreview_swiginit", PyPrintPreview_swiginit
, METH_VARARGS
, NULL
},
31274 { (char *)"new_PyPreviewFrame", (PyCFunction
) _wrap_new_PyPreviewFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31275 { (char *)"PyPreviewFrame__setCallbackInfo", (PyCFunction
) _wrap_PyPreviewFrame__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31276 { (char *)"PyPreviewFrame_SetPreviewCanvas", (PyCFunction
) _wrap_PyPreviewFrame_SetPreviewCanvas
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31277 { (char *)"PyPreviewFrame_SetControlBar", (PyCFunction
) _wrap_PyPreviewFrame_SetControlBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31278 { (char *)"PyPreviewFrame_Initialize", (PyCFunction
)_wrap_PyPreviewFrame_Initialize
, METH_O
, NULL
},
31279 { (char *)"PyPreviewFrame_CreateCanvas", (PyCFunction
)_wrap_PyPreviewFrame_CreateCanvas
, METH_O
, NULL
},
31280 { (char *)"PyPreviewFrame_CreateControlBar", (PyCFunction
)_wrap_PyPreviewFrame_CreateControlBar
, METH_O
, NULL
},
31281 { (char *)"PyPreviewFrame_swigregister", PyPreviewFrame_swigregister
, METH_VARARGS
, NULL
},
31282 { (char *)"PyPreviewFrame_swiginit", PyPreviewFrame_swiginit
, METH_VARARGS
, NULL
},
31283 { (char *)"new_PyPreviewControlBar", (PyCFunction
) _wrap_new_PyPreviewControlBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31284 { (char *)"PyPreviewControlBar__setCallbackInfo", (PyCFunction
) _wrap_PyPreviewControlBar__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31285 { (char *)"PyPreviewControlBar_SetPrintPreview", (PyCFunction
) _wrap_PyPreviewControlBar_SetPrintPreview
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31286 { (char *)"PyPreviewControlBar_CreateButtons", (PyCFunction
)_wrap_PyPreviewControlBar_CreateButtons
, METH_O
, NULL
},
31287 { (char *)"PyPreviewControlBar_SetZoomControl", (PyCFunction
) _wrap_PyPreviewControlBar_SetZoomControl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31288 { (char *)"PyPreviewControlBar_swigregister", PyPreviewControlBar_swigregister
, METH_VARARGS
, NULL
},
31289 { (char *)"PyPreviewControlBar_swiginit", PyPreviewControlBar_swiginit
, METH_VARARGS
, NULL
},
31290 { NULL
, NULL
, 0, NULL
}
31294 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
31296 static void *_p_wxPyPreviewFrameTo_p_wxPreviewFrame(void *x
) {
31297 return (void *)((wxPreviewFrame
*) ((wxPyPreviewFrame
*) x
));
31299 static void *_p_wxContextMenuEventTo_p_wxEvent(void *x
) {
31300 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
31302 static void *_p_wxMenuEventTo_p_wxEvent(void *x
) {
31303 return (void *)((wxEvent
*) ((wxMenuEvent
*) x
));
31305 static void *_p_wxCloseEventTo_p_wxEvent(void *x
) {
31306 return (void *)((wxEvent
*) ((wxCloseEvent
*) x
));
31308 static void *_p_wxMouseEventTo_p_wxEvent(void *x
) {
31309 return (void *)((wxEvent
*) ((wxMouseEvent
*) x
));
31311 static void *_p_wxEraseEventTo_p_wxEvent(void *x
) {
31312 return (void *)((wxEvent
*) ((wxEraseEvent
*) x
));
31314 static void *_p_wxSetCursorEventTo_p_wxEvent(void *x
) {
31315 return (void *)((wxEvent
*) ((wxSetCursorEvent
*) x
));
31317 static void *_p_wxSplitterEventTo_p_wxEvent(void *x
) {
31318 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*) ((wxSplitterEvent
*) x
));
31320 static void *_p_wxInitDialogEventTo_p_wxEvent(void *x
) {
31321 return (void *)((wxEvent
*) ((wxInitDialogEvent
*) x
));
31323 static void *_p_wxScrollEventTo_p_wxEvent(void *x
) {
31324 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxScrollEvent
*) x
));
31326 static void *_p_wxFindDialogEventTo_p_wxEvent(void *x
) {
31327 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxFindDialogEvent
*) x
));
31329 static void *_p_wxNotifyEventTo_p_wxEvent(void *x
) {
31330 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxNotifyEvent
*) x
));
31332 static void *_p_wxPyEventTo_p_wxEvent(void *x
) {
31333 return (void *)((wxEvent
*) ((wxPyEvent
*) x
));
31335 static void *_p_wxCalculateLayoutEventTo_p_wxEvent(void *x
) {
31336 return (void *)((wxEvent
*) ((wxCalculateLayoutEvent
*) x
));
31338 static void *_p_wxIdleEventTo_p_wxEvent(void *x
) {
31339 return (void *)((wxEvent
*) ((wxIdleEvent
*) x
));
31341 static void *_p_wxWindowCreateEventTo_p_wxEvent(void *x
) {
31342 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
31344 static void *_p_wxQueryNewPaletteEventTo_p_wxEvent(void *x
) {
31345 return (void *)((wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
31347 static void *_p_wxMaximizeEventTo_p_wxEvent(void *x
) {
31348 return (void *)((wxEvent
*) ((wxMaximizeEvent
*) x
));
31350 static void *_p_wxIconizeEventTo_p_wxEvent(void *x
) {
31351 return (void *)((wxEvent
*) ((wxIconizeEvent
*) x
));
31353 static void *_p_wxActivateEventTo_p_wxEvent(void *x
) {
31354 return (void *)((wxEvent
*) ((wxActivateEvent
*) x
));
31356 static void *_p_wxSizeEventTo_p_wxEvent(void *x
) {
31357 return (void *)((wxEvent
*) ((wxSizeEvent
*) x
));
31359 static void *_p_wxMoveEventTo_p_wxEvent(void *x
) {
31360 return (void *)((wxEvent
*) ((wxMoveEvent
*) x
));
31362 static void *_p_wxDateEventTo_p_wxEvent(void *x
) {
31363 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxDateEvent
*) x
));
31365 static void *_p_wxClipboardTextEventTo_p_wxEvent(void *x
) {
31366 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxClipboardTextEvent
*) x
));
31368 static void *_p_wxPaintEventTo_p_wxEvent(void *x
) {
31369 return (void *)((wxEvent
*) ((wxPaintEvent
*) x
));
31371 static void *_p_wxNcPaintEventTo_p_wxEvent(void *x
) {
31372 return (void *)((wxEvent
*) ((wxNcPaintEvent
*) x
));
31374 static void *_p_wxUpdateUIEventTo_p_wxEvent(void *x
) {
31375 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
31377 static void *_p_wxPaletteChangedEventTo_p_wxEvent(void *x
) {
31378 return (void *)((wxEvent
*) ((wxPaletteChangedEvent
*) x
));
31380 static void *_p_wxDisplayChangedEventTo_p_wxEvent(void *x
) {
31381 return (void *)((wxEvent
*) ((wxDisplayChangedEvent
*) x
));
31383 static void *_p_wxMouseCaptureChangedEventTo_p_wxEvent(void *x
) {
31384 return (void *)((wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
31386 static void *_p_wxSysColourChangedEventTo_p_wxEvent(void *x
) {
31387 return (void *)((wxEvent
*) ((wxSysColourChangedEvent
*) x
));
31389 static void *_p_wxDropFilesEventTo_p_wxEvent(void *x
) {
31390 return (void *)((wxEvent
*) ((wxDropFilesEvent
*) x
));
31392 static void *_p_wxFocusEventTo_p_wxEvent(void *x
) {
31393 return (void *)((wxEvent
*) ((wxFocusEvent
*) x
));
31395 static void *_p_wxChildFocusEventTo_p_wxEvent(void *x
) {
31396 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
31398 static void *_p_wxSashEventTo_p_wxEvent(void *x
) {
31399 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxSashEvent
*) x
));
31401 static void *_p_wxQueryLayoutInfoEventTo_p_wxEvent(void *x
) {
31402 return (void *)((wxEvent
*) ((wxQueryLayoutInfoEvent
*) x
));
31404 static void *_p_wxShowEventTo_p_wxEvent(void *x
) {
31405 return (void *)((wxEvent
*) ((wxShowEvent
*) x
));
31407 static void *_p_wxCommandEventTo_p_wxEvent(void *x
) {
31408 return (void *)((wxEvent
*) ((wxCommandEvent
*) x
));
31410 static void *_p_wxPyCommandEventTo_p_wxEvent(void *x
) {
31411 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
31413 static void *_p_wxWindowDestroyEventTo_p_wxEvent(void *x
) {
31414 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
31416 static void *_p_wxNavigationKeyEventTo_p_wxEvent(void *x
) {
31417 return (void *)((wxEvent
*) ((wxNavigationKeyEvent
*) x
));
31419 static void *_p_wxKeyEventTo_p_wxEvent(void *x
) {
31420 return (void *)((wxEvent
*) ((wxKeyEvent
*) x
));
31422 static void *_p_wxScrollWinEventTo_p_wxEvent(void *x
) {
31423 return (void *)((wxEvent
*) ((wxScrollWinEvent
*) x
));
31425 static void *_p_wxTaskBarIconEventTo_p_wxEvent(void *x
) {
31426 return (void *)((wxEvent
*) ((wxTaskBarIconEvent
*) x
));
31428 static void *_p_wxSplitterEventTo_p_wxNotifyEvent(void *x
) {
31429 return (void *)((wxNotifyEvent
*) ((wxSplitterEvent
*) x
));
31431 static void *_p_wxPasswordEntryDialogTo_p_wxTextEntryDialog(void *x
) {
31432 return (void *)((wxTextEntryDialog
*) ((wxPasswordEntryDialog
*) x
));
31434 static void *_p_wxSplashScreenTo_p_wxEvtHandler(void *x
) {
31435 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxSplashScreen
*) x
));
31437 static void *_p_wxMiniFrameTo_p_wxEvtHandler(void *x
) {
31438 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMiniFrame
*) x
));
31440 static void *_p_wxPyPanelTo_p_wxEvtHandler(void *x
) {
31441 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*) ((wxPyPanel
*) x
));
31443 static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x
) {
31444 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxMenuBar
*) x
));
31446 static void *_p_wxValidatorTo_p_wxEvtHandler(void *x
) {
31447 return (void *)((wxEvtHandler
*) ((wxValidator
*) x
));
31449 static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x
) {
31450 return (void *)((wxEvtHandler
*) (wxValidator
*) ((wxPyValidator
*) x
));
31452 static void *_p_wxMenuTo_p_wxEvtHandler(void *x
) {
31453 return (void *)((wxEvtHandler
*) ((wxMenu
*) x
));
31455 static void *_p_wxPasswordEntryDialogTo_p_wxEvtHandler(void *x
) {
31456 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*)(wxTextEntryDialog
*) ((wxPasswordEntryDialog
*) x
));
31458 static void *_p_wxTextEntryDialogTo_p_wxEvtHandler(void *x
) {
31459 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxTextEntryDialog
*) x
));
31461 static void *_p_wxSingleChoiceDialogTo_p_wxEvtHandler(void *x
) {
31462 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxSingleChoiceDialog
*) x
));
31464 static void *_p_wxMultiChoiceDialogTo_p_wxEvtHandler(void *x
) {
31465 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxMultiChoiceDialog
*) x
));
31467 static void *_p_wxFileDialogTo_p_wxEvtHandler(void *x
) {
31468 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFileDialog
*) x
));
31470 static void *_p_wxMessageDialogTo_p_wxEvtHandler(void *x
) {
31471 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxMessageDialog
*) x
));
31473 static void *_p_wxProgressDialogTo_p_wxEvtHandler(void *x
) {
31474 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxProgressDialog
*) x
));
31476 static void *_p_wxFindReplaceDialogTo_p_wxEvtHandler(void *x
) {
31477 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFindReplaceDialog
*) x
));
31479 static void *_p_wxPanelTo_p_wxEvtHandler(void *x
) {
31480 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxPanel
*) x
));
31482 static void *_p_wxStatusBarTo_p_wxEvtHandler(void *x
) {
31483 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxStatusBar
*) x
));
31485 static void *_p_wxPyVScrolledWindowTo_p_wxEvtHandler(void *x
) {
31486 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*) ((wxPyVScrolledWindow
*) x
));
31488 static void *_p_wxTipWindowTo_p_wxEvtHandler(void *x
) {
31489 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPopupWindow
*)(wxPyPopupTransientWindow
*) ((wxTipWindow
*) x
));
31491 static void *_p_wxPyPopupTransientWindowTo_p_wxEvtHandler(void *x
) {
31492 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPopupWindow
*) ((wxPyPopupTransientWindow
*) x
));
31494 static void *_p_wxPopupWindowTo_p_wxEvtHandler(void *x
) {
31495 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxPopupWindow
*) x
));
31497 static void *_p_wxSashLayoutWindowTo_p_wxEvtHandler(void *x
) {
31498 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxSashWindow
*) ((wxSashLayoutWindow
*) x
));
31500 static void *_p_wxSashWindowTo_p_wxEvtHandler(void *x
) {
31501 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxSashWindow
*) x
));
31503 static void *_p_wxSplitterWindowTo_p_wxEvtHandler(void *x
) {
31504 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxSplitterWindow
*) x
));
31506 static void *_p_wxSplashScreenWindowTo_p_wxEvtHandler(void *x
) {
31507 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxSplashScreenWindow
*) x
));
31509 static void *_p_wxWindowTo_p_wxEvtHandler(void *x
) {
31510 return (void *)((wxEvtHandler
*) ((wxWindow
*) x
));
31512 static void *_p_wxScrolledWindowTo_p_wxEvtHandler(void *x
) {
31513 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*) ((wxScrolledWindow
*) x
));
31515 static void *_p_wxTopLevelWindowTo_p_wxEvtHandler(void *x
) {
31516 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxTopLevelWindow
*) x
));
31518 static void *_p_wxMDIClientWindowTo_p_wxEvtHandler(void *x
) {
31519 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxMDIClientWindow
*) x
));
31521 static void *_p_wxPyScrolledWindowTo_p_wxEvtHandler(void *x
) {
31522 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*)(wxScrolledWindow
*) ((wxPyScrolledWindow
*) x
));
31524 static void *_p_wxControlTo_p_wxEvtHandler(void *x
) {
31525 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxControl
*) x
));
31527 static void *_p_wxPreviewFrameTo_p_wxEvtHandler(void *x
) {
31528 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxPreviewFrame
*) x
));
31530 static void *_p_wxPyPreviewFrameTo_p_wxEvtHandler(void *x
) {
31531 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*)(wxPreviewFrame
*) ((wxPyPreviewFrame
*) x
));
31533 static void *_p_wxMDIChildFrameTo_p_wxEvtHandler(void *x
) {
31534 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMDIChildFrame
*) x
));
31536 static void *_p_wxPyAppTo_p_wxEvtHandler(void *x
) {
31537 return (void *)((wxEvtHandler
*) ((wxPyApp
*) x
));
31539 static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x
) {
31540 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
31542 static void *_p_wxPyWindowTo_p_wxEvtHandler(void *x
) {
31543 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxPyWindow
*) x
));
31545 static void *_p_wxPreviewCanvasTo_p_wxEvtHandler(void *x
) {
31546 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*)(wxScrolledWindow
*) ((wxPreviewCanvas
*) x
));
31548 static void *_p_wxPyHtmlListBoxTo_p_wxEvtHandler(void *x
) {
31549 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*)(wxPyVScrolledWindow
*)(wxPyVListBox
*) ((wxPyHtmlListBox
*) x
));
31551 static void *_p_wxPyVListBoxTo_p_wxEvtHandler(void *x
) {
31552 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*)(wxPyVScrolledWindow
*) ((wxPyVListBox
*) x
));
31554 static void *_p_wxPreviewControlBarTo_p_wxEvtHandler(void *x
) {
31555 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*) ((wxPreviewControlBar
*) x
));
31557 static void *_p_wxPyPreviewControlBarTo_p_wxEvtHandler(void *x
) {
31558 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*)(wxPreviewControlBar
*) ((wxPyPreviewControlBar
*) x
));
31560 static void *_p_wxPyTaskBarIconTo_p_wxEvtHandler(void *x
) {
31561 return (void *)((wxEvtHandler
*) ((wxPyTaskBarIcon
*) x
));
31563 static void *_p_wxFrameTo_p_wxEvtHandler(void *x
) {
31564 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*) ((wxFrame
*) x
));
31566 static void *_p_wxDirDialogTo_p_wxEvtHandler(void *x
) {
31567 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxDirDialog
*) x
));
31569 static void *_p_wxColourDialogTo_p_wxEvtHandler(void *x
) {
31570 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxColourDialog
*) x
));
31572 static void *_p_wxDialogTo_p_wxEvtHandler(void *x
) {
31573 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*) ((wxDialog
*) x
));
31575 static void *_p_wxFontDialogTo_p_wxEvtHandler(void *x
) {
31576 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFontDialog
*) x
));
31578 static void *_p_wxMDIParentFrameTo_p_wxEvtHandler(void *x
) {
31579 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMDIParentFrame
*) x
));
31581 static void *_p_wxPyHtmlListBoxTo_p_wxPyVListBox(void *x
) {
31582 return (void *)((wxPyVListBox
*) ((wxPyHtmlListBox
*) x
));
31584 static void *_p_wxMDIChildFrameTo_p_wxFrame(void *x
) {
31585 return (void *)((wxFrame
*) ((wxMDIChildFrame
*) x
));
31587 static void *_p_wxProgressDialogTo_p_wxFrame(void *x
) {
31588 return (void *)((wxFrame
*) ((wxProgressDialog
*) x
));
31590 static void *_p_wxPreviewFrameTo_p_wxFrame(void *x
) {
31591 return (void *)((wxFrame
*) ((wxPreviewFrame
*) x
));
31593 static void *_p_wxPyPreviewFrameTo_p_wxFrame(void *x
) {
31594 return (void *)((wxFrame
*) (wxPreviewFrame
*) ((wxPyPreviewFrame
*) x
));
31596 static void *_p_wxMiniFrameTo_p_wxFrame(void *x
) {
31597 return (void *)((wxFrame
*) ((wxMiniFrame
*) x
));
31599 static void *_p_wxSplashScreenTo_p_wxFrame(void *x
) {
31600 return (void *)((wxFrame
*) ((wxSplashScreen
*) x
));
31602 static void *_p_wxMDIParentFrameTo_p_wxFrame(void *x
) {
31603 return (void *)((wxFrame
*) ((wxMDIParentFrame
*) x
));
31605 static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x
) {
31606 return (void *)((wxObject
*) ((wxLayoutConstraints
*) x
));
31608 static void *_p_wxQueryLayoutInfoEventTo_p_wxObject(void *x
) {
31609 return (void *)((wxObject
*) (wxEvent
*) ((wxQueryLayoutInfoEvent
*) x
));
31611 static void *_p_wxPreviewFrameTo_p_wxObject(void *x
) {
31612 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxPreviewFrame
*) x
));
31614 static void *_p_wxPyPreviewFrameTo_p_wxObject(void *x
) {
31615 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*)(wxPreviewFrame
*) ((wxPyPreviewFrame
*) x
));
31617 static void *_p_wxGBSizerItemTo_p_wxObject(void *x
) {
31618 return (void *)((wxObject
*) (wxSizerItem
*) ((wxGBSizerItem
*) x
));
31620 static void *_p_wxSizerItemTo_p_wxObject(void *x
) {
31621 return (void *)((wxObject
*) ((wxSizerItem
*) x
));
31623 static void *_p_wxScrollEventTo_p_wxObject(void *x
) {
31624 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxScrollEvent
*) x
));
31626 static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x
) {
31627 return (void *)((wxObject
*) ((wxIndividualLayoutConstraint
*) x
));
31629 static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x
) {
31630 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStaticBoxSizer
*) x
));
31632 static void *_p_wxBoxSizerTo_p_wxObject(void *x
) {
31633 return (void *)((wxObject
*) (wxSizer
*) ((wxBoxSizer
*) x
));
31635 static void *_p_wxSizerTo_p_wxObject(void *x
) {
31636 return (void *)((wxObject
*) ((wxSizer
*) x
));
31638 static void *_p_wxGridBagSizerTo_p_wxObject(void *x
) {
31639 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*)(wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
31641 static void *_p_wxUpdateUIEventTo_p_wxObject(void *x
) {
31642 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
31644 static void *_p_wxPyPanelTo_p_wxObject(void *x
) {
31645 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*) ((wxPyPanel
*) x
));
31647 static void *_p_wxEventTo_p_wxObject(void *x
) {
31648 return (void *)((wxObject
*) ((wxEvent
*) x
));
31650 static void *_p_wxFontDataTo_p_wxObject(void *x
) {
31651 return (void *)((wxObject
*) ((wxFontData
*) x
));
31653 static void *_p_wxPrintDataTo_p_wxObject(void *x
) {
31654 return (void *)((wxObject
*) ((wxPrintData
*) x
));
31656 static void *_p_wxFlexGridSizerTo_p_wxObject(void *x
) {
31657 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*) ((wxFlexGridSizer
*) x
));
31659 static void *_p_wxGridSizerTo_p_wxObject(void *x
) {
31660 return (void *)((wxObject
*) (wxSizer
*) ((wxGridSizer
*) x
));
31662 static void *_p_wxInitDialogEventTo_p_wxObject(void *x
) {
31663 return (void *)((wxObject
*) (wxEvent
*) ((wxInitDialogEvent
*) x
));
31665 static void *_p_wxLayoutAlgorithmTo_p_wxObject(void *x
) {
31666 return (void *)((wxObject
*) ((wxLayoutAlgorithm
*) x
));
31668 static void *_p_wxPyTaskBarIconTo_p_wxObject(void *x
) {
31669 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyTaskBarIcon
*) x
));
31671 static void *_p_wxFindDialogEventTo_p_wxObject(void *x
) {
31672 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxFindDialogEvent
*) x
));
31674 static void *_p_wxClipboardTextEventTo_p_wxObject(void *x
) {
31675 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxClipboardTextEvent
*) x
));
31677 static void *_p_wxPaintEventTo_p_wxObject(void *x
) {
31678 return (void *)((wxObject
*) (wxEvent
*) ((wxPaintEvent
*) x
));
31680 static void *_p_wxNcPaintEventTo_p_wxObject(void *x
) {
31681 return (void *)((wxObject
*) (wxEvent
*) ((wxNcPaintEvent
*) x
));
31683 static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x
) {
31684 return (void *)((wxObject
*) (wxEvent
*) ((wxPaletteChangedEvent
*) x
));
31686 static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x
) {
31687 return (void *)((wxObject
*) (wxEvent
*) ((wxDisplayChangedEvent
*) x
));
31689 static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x
) {
31690 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
31692 static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x
) {
31693 return (void *)((wxObject
*) (wxEvent
*) ((wxSysColourChangedEvent
*) x
));
31695 static void *_p_wxPreviewCanvasTo_p_wxObject(void *x
) {
31696 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*)(wxScrolledWindow
*) ((wxPreviewCanvas
*) x
));
31698 static void *_p_wxControlTo_p_wxObject(void *x
) {
31699 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxControl
*) x
));
31701 static void *_p_wxSetCursorEventTo_p_wxObject(void *x
) {
31702 return (void *)((wxObject
*) (wxEvent
*) ((wxSetCursorEvent
*) x
));
31704 static void *_p_wxSplitterEventTo_p_wxObject(void *x
) {
31705 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*) ((wxSplitterEvent
*) x
));
31707 static void *_p_wxFSFileTo_p_wxObject(void *x
) {
31708 return (void *)((wxObject
*) ((wxFSFile
*) x
));
31710 static void *_p_wxFindReplaceDataTo_p_wxObject(void *x
) {
31711 return (void *)((wxObject
*) ((wxFindReplaceData
*) x
));
31713 static void *_p_wxPySizerTo_p_wxObject(void *x
) {
31714 return (void *)((wxObject
*) (wxSizer
*) ((wxPySizer
*) x
));
31716 static void *_p_wxMDIChildFrameTo_p_wxObject(void *x
) {
31717 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMDIChildFrame
*) x
));
31719 static void *_p_wxColourDataTo_p_wxObject(void *x
) {
31720 return (void *)((wxObject
*) ((wxColourData
*) x
));
31722 static void *_p_wxPyEventTo_p_wxObject(void *x
) {
31723 return (void *)((wxObject
*) (wxEvent
*) ((wxPyEvent
*) x
));
31725 static void *_p_wxNotifyEventTo_p_wxObject(void *x
) {
31726 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxNotifyEvent
*) x
));
31728 static void *_p_wxPyWindowTo_p_wxObject(void *x
) {
31729 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxPyWindow
*) x
));
31731 static void *_p_wxSplashScreenTo_p_wxObject(void *x
) {
31732 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxSplashScreen
*) x
));
31734 static void *_p_wxFileDialogTo_p_wxObject(void *x
) {
31735 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFileDialog
*) x
));
31737 static void *_p_wxMultiChoiceDialogTo_p_wxObject(void *x
) {
31738 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxMultiChoiceDialog
*) x
));
31740 static void *_p_wxSingleChoiceDialogTo_p_wxObject(void *x
) {
31741 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxSingleChoiceDialog
*) x
));
31743 static void *_p_wxTextEntryDialogTo_p_wxObject(void *x
) {
31744 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxTextEntryDialog
*) x
));
31746 static void *_p_wxPasswordEntryDialogTo_p_wxObject(void *x
) {
31747 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*)(wxTextEntryDialog
*) ((wxPasswordEntryDialog
*) x
));
31749 static void *_p_wxMessageDialogTo_p_wxObject(void *x
) {
31750 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxMessageDialog
*) x
));
31752 static void *_p_wxProgressDialogTo_p_wxObject(void *x
) {
31753 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxProgressDialog
*) x
));
31755 static void *_p_wxFindReplaceDialogTo_p_wxObject(void *x
) {
31756 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFindReplaceDialog
*) x
));
31758 static void *_p_wxShowEventTo_p_wxObject(void *x
) {
31759 return (void *)((wxObject
*) (wxEvent
*) ((wxShowEvent
*) x
));
31761 static void *_p_wxPrinterTo_p_wxObject(void *x
) {
31762 return (void *)((wxObject
*) ((wxPrinter
*) x
));
31764 static void *_p_wxMenuItemTo_p_wxObject(void *x
) {
31765 return (void *)((wxObject
*) ((wxMenuItem
*) x
));
31767 static void *_p_wxDateEventTo_p_wxObject(void *x
) {
31768 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxDateEvent
*) x
));
31770 static void *_p_wxIdleEventTo_p_wxObject(void *x
) {
31771 return (void *)((wxObject
*) (wxEvent
*) ((wxIdleEvent
*) x
));
31773 static void *_p_wxWindowCreateEventTo_p_wxObject(void *x
) {
31774 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
31776 static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x
) {
31777 return (void *)((wxObject
*) (wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
31779 static void *_p_wxMaximizeEventTo_p_wxObject(void *x
) {
31780 return (void *)((wxObject
*) (wxEvent
*) ((wxMaximizeEvent
*) x
));
31782 static void *_p_wxIconizeEventTo_p_wxObject(void *x
) {
31783 return (void *)((wxObject
*) (wxEvent
*) ((wxIconizeEvent
*) x
));
31785 static void *_p_wxSizeEventTo_p_wxObject(void *x
) {
31786 return (void *)((wxObject
*) (wxEvent
*) ((wxSizeEvent
*) x
));
31788 static void *_p_wxMoveEventTo_p_wxObject(void *x
) {
31789 return (void *)((wxObject
*) (wxEvent
*) ((wxMoveEvent
*) x
));
31791 static void *_p_wxActivateEventTo_p_wxObject(void *x
) {
31792 return (void *)((wxObject
*) (wxEvent
*) ((wxActivateEvent
*) x
));
31794 static void *_p_wxPNMHandlerTo_p_wxObject(void *x
) {
31795 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNMHandler
*) x
));
31797 static void *_p_wxJPEGHandlerTo_p_wxObject(void *x
) {
31798 return (void *)((wxObject
*) (wxImageHandler
*) ((wxJPEGHandler
*) x
));
31800 static void *_p_wxPCXHandlerTo_p_wxObject(void *x
) {
31801 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPCXHandler
*) x
));
31803 static void *_p_wxGIFHandlerTo_p_wxObject(void *x
) {
31804 return (void *)((wxObject
*) (wxImageHandler
*) ((wxGIFHandler
*) x
));
31806 static void *_p_wxPNGHandlerTo_p_wxObject(void *x
) {
31807 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNGHandler
*) x
));
31809 static void *_p_wxANIHandlerTo_p_wxObject(void *x
) {
31810 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*)(wxCURHandler
*) ((wxANIHandler
*) x
));
31812 static void *_p_wxCURHandlerTo_p_wxObject(void *x
) {
31813 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*) ((wxCURHandler
*) x
));
31815 static void *_p_wxICOHandlerTo_p_wxObject(void *x
) {
31816 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*) ((wxICOHandler
*) x
));
31818 static void *_p_wxBMPHandlerTo_p_wxObject(void *x
) {
31819 return (void *)((wxObject
*) (wxImageHandler
*) ((wxBMPHandler
*) x
));
31821 static void *_p_wxPyImageHandlerTo_p_wxObject(void *x
) {
31822 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPyImageHandler
*) x
));
31824 static void *_p_wxImageHandlerTo_p_wxObject(void *x
) {
31825 return (void *)((wxObject
*) ((wxImageHandler
*) x
));
31827 static void *_p_wxXPMHandlerTo_p_wxObject(void *x
) {
31828 return (void *)((wxObject
*) (wxImageHandler
*) ((wxXPMHandler
*) x
));
31830 static void *_p_wxTIFFHandlerTo_p_wxObject(void *x
) {
31831 return (void *)((wxObject
*) (wxImageHandler
*) ((wxTIFFHandler
*) x
));
31833 static void *_p_wxEvtHandlerTo_p_wxObject(void *x
) {
31834 return (void *)((wxObject
*) ((wxEvtHandler
*) x
));
31836 static void *_p_wxCalculateLayoutEventTo_p_wxObject(void *x
) {
31837 return (void *)((wxObject
*) (wxEvent
*) ((wxCalculateLayoutEvent
*) x
));
31839 static void *_p_wxPyVListBoxTo_p_wxObject(void *x
) {
31840 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*)(wxPyVScrolledWindow
*) ((wxPyVListBox
*) x
));
31842 static void *_p_wxPyHtmlListBoxTo_p_wxObject(void *x
) {
31843 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*)(wxPyVScrolledWindow
*)(wxPyVListBox
*) ((wxPyHtmlListBox
*) x
));
31845 static void *_p_wxStdDialogButtonSizerTo_p_wxObject(void *x
) {
31846 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStdDialogButtonSizer
*) x
));
31848 static void *_p_wxAcceleratorTableTo_p_wxObject(void *x
) {
31849 return (void *)((wxObject
*) ((wxAcceleratorTable
*) x
));
31851 static void *_p_wxMiniFrameTo_p_wxObject(void *x
) {
31852 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMiniFrame
*) x
));
31854 static void *_p_wxImageTo_p_wxObject(void *x
) {
31855 return (void *)((wxObject
*) ((wxImage
*) x
));
31857 static void *_p_wxFrameTo_p_wxObject(void *x
) {
31858 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*) ((wxFrame
*) x
));
31860 static void *_p_wxPyPrintoutTo_p_wxObject(void *x
) {
31861 return (void *)((wxObject
*) ((wxPyPrintout
*) x
));
31863 static void *_p_wxScrollWinEventTo_p_wxObject(void *x
) {
31864 return (void *)((wxObject
*) (wxEvent
*) ((wxScrollWinEvent
*) x
));
31866 static void *_p_wxTaskBarIconEventTo_p_wxObject(void *x
) {
31867 return (void *)((wxObject
*) (wxEvent
*) ((wxTaskBarIconEvent
*) x
));
31869 static void *_p_wxStatusBarTo_p_wxObject(void *x
) {
31870 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxStatusBar
*) x
));
31872 static void *_p_wxMDIParentFrameTo_p_wxObject(void *x
) {
31873 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMDIParentFrame
*) x
));
31875 static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x
) {
31876 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
31878 static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x
) {
31879 return (void *)((wxObject
*) (wxEvent
*) ((wxNavigationKeyEvent
*) x
));
31881 static void *_p_wxKeyEventTo_p_wxObject(void *x
) {
31882 return (void *)((wxObject
*) (wxEvent
*) ((wxKeyEvent
*) x
));
31884 static void *_p_wxWindowTo_p_wxObject(void *x
) {
31885 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxWindow
*) x
));
31887 static void *_p_wxMenuTo_p_wxObject(void *x
) {
31888 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxMenu
*) x
));
31890 static void *_p_wxMenuBarTo_p_wxObject(void *x
) {
31891 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxMenuBar
*) x
));
31893 static void *_p_wxScrolledWindowTo_p_wxObject(void *x
) {
31894 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*) ((wxScrolledWindow
*) x
));
31896 static void *_p_wxTopLevelWindowTo_p_wxObject(void *x
) {
31897 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxTopLevelWindow
*) x
));
31899 static void *_p_wxSplashScreenWindowTo_p_wxObject(void *x
) {
31900 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxSplashScreenWindow
*) x
));
31902 static void *_p_wxSplitterWindowTo_p_wxObject(void *x
) {
31903 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxSplitterWindow
*) x
));
31905 static void *_p_wxSashWindowTo_p_wxObject(void *x
) {
31906 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxSashWindow
*) x
));
31908 static void *_p_wxSashLayoutWindowTo_p_wxObject(void *x
) {
31909 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxSashWindow
*) ((wxSashLayoutWindow
*) x
));
31911 static void *_p_wxPopupWindowTo_p_wxObject(void *x
) {
31912 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxPopupWindow
*) x
));
31914 static void *_p_wxPyPopupTransientWindowTo_p_wxObject(void *x
) {
31915 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPopupWindow
*) ((wxPyPopupTransientWindow
*) x
));
31917 static void *_p_wxTipWindowTo_p_wxObject(void *x
) {
31918 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPopupWindow
*)(wxPyPopupTransientWindow
*) ((wxTipWindow
*) x
));
31920 static void *_p_wxPyVScrolledWindowTo_p_wxObject(void *x
) {
31921 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*) ((wxPyVScrolledWindow
*) x
));
31923 static void *_p_wxMDIClientWindowTo_p_wxObject(void *x
) {
31924 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxMDIClientWindow
*) x
));
31926 static void *_p_wxPyScrolledWindowTo_p_wxObject(void *x
) {
31927 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*)(wxScrolledWindow
*) ((wxPyScrolledWindow
*) x
));
31929 static void *_p_wxSashEventTo_p_wxObject(void *x
) {
31930 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxSashEvent
*) x
));
31932 static void *_p_wxPrintPreviewTo_p_wxObject(void *x
) {
31933 return (void *)((wxObject
*) ((wxPrintPreview
*) x
));
31935 static void *_p_wxPyPrintPreviewTo_p_wxObject(void *x
) {
31936 return (void *)((wxObject
*) (wxPrintPreview
*) ((wxPyPrintPreview
*) x
));
31938 static void *_p_wxPanelTo_p_wxObject(void *x
) {
31939 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxPanel
*) x
));
31941 static void *_p_wxDialogTo_p_wxObject(void *x
) {
31942 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*) ((wxDialog
*) x
));
31944 static void *_p_wxColourDialogTo_p_wxObject(void *x
) {
31945 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxColourDialog
*) x
));
31947 static void *_p_wxDirDialogTo_p_wxObject(void *x
) {
31948 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxDirDialog
*) x
));
31950 static void *_p_wxFontDialogTo_p_wxObject(void *x
) {
31951 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFontDialog
*) x
));
31953 static void *_p_wxPageSetupDialogTo_p_wxObject(void *x
) {
31954 return (void *)((wxObject
*) ((wxPageSetupDialog
*) x
));
31956 static void *_p_wxPrintDialogTo_p_wxObject(void *x
) {
31957 return (void *)((wxObject
*) ((wxPrintDialog
*) x
));
31959 static void *_p_wxFileSystemTo_p_wxObject(void *x
) {
31960 return (void *)((wxObject
*) ((wxFileSystem
*) x
));
31962 static void *_p_wxContextMenuEventTo_p_wxObject(void *x
) {
31963 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
31965 static void *_p_wxMenuEventTo_p_wxObject(void *x
) {
31966 return (void *)((wxObject
*) (wxEvent
*) ((wxMenuEvent
*) x
));
31968 static void *_p_wxPyAppTo_p_wxObject(void *x
) {
31969 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyApp
*) x
));
31971 static void *_p_wxCloseEventTo_p_wxObject(void *x
) {
31972 return (void *)((wxObject
*) (wxEvent
*) ((wxCloseEvent
*) x
));
31974 static void *_p_wxMouseEventTo_p_wxObject(void *x
) {
31975 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseEvent
*) x
));
31977 static void *_p_wxEraseEventTo_p_wxObject(void *x
) {
31978 return (void *)((wxObject
*) (wxEvent
*) ((wxEraseEvent
*) x
));
31980 static void *_p_wxPyCommandEventTo_p_wxObject(void *x
) {
31981 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
31983 static void *_p_wxCommandEventTo_p_wxObject(void *x
) {
31984 return (void *)((wxObject
*) (wxEvent
*) ((wxCommandEvent
*) x
));
31986 static void *_p_wxPreviewControlBarTo_p_wxObject(void *x
) {
31987 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*) ((wxPreviewControlBar
*) x
));
31989 static void *_p_wxPyPreviewControlBarTo_p_wxObject(void *x
) {
31990 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*)(wxPreviewControlBar
*) ((wxPyPreviewControlBar
*) x
));
31992 static void *_p_wxDropFilesEventTo_p_wxObject(void *x
) {
31993 return (void *)((wxObject
*) (wxEvent
*) ((wxDropFilesEvent
*) x
));
31995 static void *_p_wxFocusEventTo_p_wxObject(void *x
) {
31996 return (void *)((wxObject
*) (wxEvent
*) ((wxFocusEvent
*) x
));
31998 static void *_p_wxChildFocusEventTo_p_wxObject(void *x
) {
31999 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
32001 static void *_p_wxControlWithItemsTo_p_wxObject(void *x
) {
32002 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
32004 static void *_p_wxPageSetupDialogDataTo_p_wxObject(void *x
) {
32005 return (void *)((wxObject
*) ((wxPageSetupDialogData
*) x
));
32007 static void *_p_wxPrintDialogDataTo_p_wxObject(void *x
) {
32008 return (void *)((wxObject
*) ((wxPrintDialogData
*) x
));
32010 static void *_p_wxPyValidatorTo_p_wxObject(void *x
) {
32011 return (void *)((wxObject
*) (wxEvtHandler
*)(wxValidator
*) ((wxPyValidator
*) x
));
32013 static void *_p_wxValidatorTo_p_wxObject(void *x
) {
32014 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxValidator
*) x
));
32016 static void *_p_wxPyVListBoxTo_p_wxPyVScrolledWindow(void *x
) {
32017 return (void *)((wxPyVScrolledWindow
*) ((wxPyVListBox
*) x
));
32019 static void *_p_wxPyHtmlListBoxTo_p_wxPyVScrolledWindow(void *x
) {
32020 return (void *)((wxPyVScrolledWindow
*) (wxPyVListBox
*) ((wxPyHtmlListBox
*) x
));
32022 static void *_p_wxTipWindowTo_p_wxPyPopupTransientWindow(void *x
) {
32023 return (void *)((wxPyPopupTransientWindow
*) ((wxTipWindow
*) x
));
32025 static void *_p_wxPyPopupTransientWindowTo_p_wxPopupWindow(void *x
) {
32026 return (void *)((wxPopupWindow
*) ((wxPyPopupTransientWindow
*) x
));
32028 static void *_p_wxTipWindowTo_p_wxPopupWindow(void *x
) {
32029 return (void *)((wxPopupWindow
*) (wxPyPopupTransientWindow
*) ((wxTipWindow
*) x
));
32031 static void *_p_wxSashLayoutWindowTo_p_wxSashWindow(void *x
) {
32032 return (void *)((wxSashWindow
*) ((wxSashLayoutWindow
*) x
));
32034 static void *_p_wxFrameTo_p_wxTopLevelWindow(void *x
) {
32035 return (void *)((wxTopLevelWindow
*) ((wxFrame
*) x
));
32037 static void *_p_wxMiniFrameTo_p_wxTopLevelWindow(void *x
) {
32038 return (void *)((wxTopLevelWindow
*) (wxFrame
*) ((wxMiniFrame
*) x
));
32040 static void *_p_wxFontDialogTo_p_wxTopLevelWindow(void *x
) {
32041 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxFontDialog
*) x
));
32043 static void *_p_wxDirDialogTo_p_wxTopLevelWindow(void *x
) {
32044 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxDirDialog
*) x
));
32046 static void *_p_wxColourDialogTo_p_wxTopLevelWindow(void *x
) {
32047 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxColourDialog
*) x
));
32049 static void *_p_wxDialogTo_p_wxTopLevelWindow(void *x
) {
32050 return (void *)((wxTopLevelWindow
*) ((wxDialog
*) x
));
32052 static void *_p_wxSplashScreenTo_p_wxTopLevelWindow(void *x
) {
32053 return (void *)((wxTopLevelWindow
*) (wxFrame
*) ((wxSplashScreen
*) x
));
32055 static void *_p_wxMDIParentFrameTo_p_wxTopLevelWindow(void *x
) {
32056 return (void *)((wxTopLevelWindow
*) (wxFrame
*) ((wxMDIParentFrame
*) x
));
32058 static void *_p_wxMDIChildFrameTo_p_wxTopLevelWindow(void *x
) {
32059 return (void *)((wxTopLevelWindow
*) (wxFrame
*) ((wxMDIChildFrame
*) x
));
32061 static void *_p_wxProgressDialogTo_p_wxTopLevelWindow(void *x
) {
32062 return (void *)((wxTopLevelWindow
*) (wxFrame
*) ((wxProgressDialog
*) x
));
32064 static void *_p_wxMessageDialogTo_p_wxTopLevelWindow(void *x
) {
32065 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxMessageDialog
*) x
));
32067 static void *_p_wxPasswordEntryDialogTo_p_wxTopLevelWindow(void *x
) {
32068 return (void *)((wxTopLevelWindow
*) (wxDialog
*)(wxTextEntryDialog
*) ((wxPasswordEntryDialog
*) x
));
32070 static void *_p_wxTextEntryDialogTo_p_wxTopLevelWindow(void *x
) {
32071 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxTextEntryDialog
*) x
));
32073 static void *_p_wxSingleChoiceDialogTo_p_wxTopLevelWindow(void *x
) {
32074 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxSingleChoiceDialog
*) x
));
32076 static void *_p_wxMultiChoiceDialogTo_p_wxTopLevelWindow(void *x
) {
32077 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxMultiChoiceDialog
*) x
));
32079 static void *_p_wxFileDialogTo_p_wxTopLevelWindow(void *x
) {
32080 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxFileDialog
*) x
));
32082 static void *_p_wxFindReplaceDialogTo_p_wxTopLevelWindow(void *x
) {
32083 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxFindReplaceDialog
*) x
));
32085 static void *_p_wxPreviewFrameTo_p_wxTopLevelWindow(void *x
) {
32086 return (void *)((wxTopLevelWindow
*) (wxFrame
*) ((wxPreviewFrame
*) x
));
32088 static void *_p_wxPyPreviewFrameTo_p_wxTopLevelWindow(void *x
) {
32089 return (void *)((wxTopLevelWindow
*) (wxFrame
*)(wxPreviewFrame
*) ((wxPyPreviewFrame
*) x
));
32091 static void *_p_wxSplashScreenTo_p_wxWindow(void *x
) {
32092 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxSplashScreen
*) x
));
32094 static void *_p_wxMiniFrameTo_p_wxWindow(void *x
) {
32095 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxMiniFrame
*) x
));
32097 static void *_p_wxPyPanelTo_p_wxWindow(void *x
) {
32098 return (void *)((wxWindow
*) (wxPanel
*) ((wxPyPanel
*) x
));
32100 static void *_p_wxMenuBarTo_p_wxWindow(void *x
) {
32101 return (void *)((wxWindow
*) ((wxMenuBar
*) x
));
32103 static void *_p_wxFindReplaceDialogTo_p_wxWindow(void *x
) {
32104 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxFindReplaceDialog
*) x
));
32106 static void *_p_wxProgressDialogTo_p_wxWindow(void *x
) {
32107 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxProgressDialog
*) x
));
32109 static void *_p_wxMessageDialogTo_p_wxWindow(void *x
) {
32110 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxMessageDialog
*) x
));
32112 static void *_p_wxPasswordEntryDialogTo_p_wxWindow(void *x
) {
32113 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*)(wxTextEntryDialog
*) ((wxPasswordEntryDialog
*) x
));
32115 static void *_p_wxTextEntryDialogTo_p_wxWindow(void *x
) {
32116 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxTextEntryDialog
*) x
));
32118 static void *_p_wxSingleChoiceDialogTo_p_wxWindow(void *x
) {
32119 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxSingleChoiceDialog
*) x
));
32121 static void *_p_wxMultiChoiceDialogTo_p_wxWindow(void *x
) {
32122 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxMultiChoiceDialog
*) x
));
32124 static void *_p_wxFileDialogTo_p_wxWindow(void *x
) {
32125 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxFileDialog
*) x
));
32127 static void *_p_wxPanelTo_p_wxWindow(void *x
) {
32128 return (void *)((wxWindow
*) ((wxPanel
*) x
));
32130 static void *_p_wxStatusBarTo_p_wxWindow(void *x
) {
32131 return (void *)((wxWindow
*) ((wxStatusBar
*) x
));
32133 static void *_p_wxPyVScrolledWindowTo_p_wxWindow(void *x
) {
32134 return (void *)((wxWindow
*) (wxPanel
*) ((wxPyVScrolledWindow
*) x
));
32136 static void *_p_wxTipWindowTo_p_wxWindow(void *x
) {
32137 return (void *)((wxWindow
*) (wxPopupWindow
*)(wxPyPopupTransientWindow
*) ((wxTipWindow
*) x
));
32139 static void *_p_wxPyPopupTransientWindowTo_p_wxWindow(void *x
) {
32140 return (void *)((wxWindow
*) (wxPopupWindow
*) ((wxPyPopupTransientWindow
*) x
));
32142 static void *_p_wxPopupWindowTo_p_wxWindow(void *x
) {
32143 return (void *)((wxWindow
*) ((wxPopupWindow
*) x
));
32145 static void *_p_wxSashLayoutWindowTo_p_wxWindow(void *x
) {
32146 return (void *)((wxWindow
*) (wxSashWindow
*) ((wxSashLayoutWindow
*) x
));
32148 static void *_p_wxScrolledWindowTo_p_wxWindow(void *x
) {
32149 return (void *)((wxWindow
*) (wxPanel
*) ((wxScrolledWindow
*) x
));
32151 static void *_p_wxTopLevelWindowTo_p_wxWindow(void *x
) {
32152 return (void *)((wxWindow
*) ((wxTopLevelWindow
*) x
));
32154 static void *_p_wxSplashScreenWindowTo_p_wxWindow(void *x
) {
32155 return (void *)((wxWindow
*) ((wxSplashScreenWindow
*) x
));
32157 static void *_p_wxSplitterWindowTo_p_wxWindow(void *x
) {
32158 return (void *)((wxWindow
*) ((wxSplitterWindow
*) x
));
32160 static void *_p_wxSashWindowTo_p_wxWindow(void *x
) {
32161 return (void *)((wxWindow
*) ((wxSashWindow
*) x
));
32163 static void *_p_wxMDIClientWindowTo_p_wxWindow(void *x
) {
32164 return (void *)((wxWindow
*) ((wxMDIClientWindow
*) x
));
32166 static void *_p_wxPyScrolledWindowTo_p_wxWindow(void *x
) {
32167 return (void *)((wxWindow
*) (wxPanel
*)(wxScrolledWindow
*) ((wxPyScrolledWindow
*) x
));
32169 static void *_p_wxControlTo_p_wxWindow(void *x
) {
32170 return (void *)((wxWindow
*) ((wxControl
*) x
));
32172 static void *_p_wxPreviewFrameTo_p_wxWindow(void *x
) {
32173 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxPreviewFrame
*) x
));
32175 static void *_p_wxPyPreviewFrameTo_p_wxWindow(void *x
) {
32176 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*)(wxPreviewFrame
*) ((wxPyPreviewFrame
*) x
));
32178 static void *_p_wxMDIChildFrameTo_p_wxWindow(void *x
) {
32179 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxMDIChildFrame
*) x
));
32181 static void *_p_wxControlWithItemsTo_p_wxWindow(void *x
) {
32182 return (void *)((wxWindow
*) (wxControl
*) ((wxControlWithItems
*) x
));
32184 static void *_p_wxPyWindowTo_p_wxWindow(void *x
) {
32185 return (void *)((wxWindow
*) ((wxPyWindow
*) x
));
32187 static void *_p_wxPreviewCanvasTo_p_wxWindow(void *x
) {
32188 return (void *)((wxWindow
*) (wxPanel
*)(wxScrolledWindow
*) ((wxPreviewCanvas
*) x
));
32190 static void *_p_wxPyHtmlListBoxTo_p_wxWindow(void *x
) {
32191 return (void *)((wxWindow
*) (wxPanel
*)(wxPyVScrolledWindow
*)(wxPyVListBox
*) ((wxPyHtmlListBox
*) x
));
32193 static void *_p_wxPyVListBoxTo_p_wxWindow(void *x
) {
32194 return (void *)((wxWindow
*) (wxPanel
*)(wxPyVScrolledWindow
*) ((wxPyVListBox
*) x
));
32196 static void *_p_wxPreviewControlBarTo_p_wxWindow(void *x
) {
32197 return (void *)((wxWindow
*) (wxPanel
*) ((wxPreviewControlBar
*) x
));
32199 static void *_p_wxPyPreviewControlBarTo_p_wxWindow(void *x
) {
32200 return (void *)((wxWindow
*) (wxPanel
*)(wxPreviewControlBar
*) ((wxPyPreviewControlBar
*) x
));
32202 static void *_p_wxFrameTo_p_wxWindow(void *x
) {
32203 return (void *)((wxWindow
*) (wxTopLevelWindow
*) ((wxFrame
*) x
));
32205 static void *_p_wxFontDialogTo_p_wxWindow(void *x
) {
32206 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxFontDialog
*) x
));
32208 static void *_p_wxDirDialogTo_p_wxWindow(void *x
) {
32209 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxDirDialog
*) x
));
32211 static void *_p_wxColourDialogTo_p_wxWindow(void *x
) {
32212 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxColourDialog
*) x
));
32214 static void *_p_wxDialogTo_p_wxWindow(void *x
) {
32215 return (void *)((wxWindow
*) (wxTopLevelWindow
*) ((wxDialog
*) x
));
32217 static void *_p_wxMDIParentFrameTo_p_wxWindow(void *x
) {
32218 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxMDIParentFrame
*) x
));
32220 static void *_p_wxPyScrolledWindowTo_p_wxScrolledWindow(void *x
) {
32221 return (void *)((wxScrolledWindow
*) ((wxPyScrolledWindow
*) x
));
32223 static void *_p_wxPreviewCanvasTo_p_wxScrolledWindow(void *x
) {
32224 return (void *)((wxScrolledWindow
*) ((wxPreviewCanvas
*) x
));
32226 static void *_p_wxPyPrintPreviewTo_p_wxPrintPreview(void *x
) {
32227 return (void *)((wxPrintPreview
*) ((wxPyPrintPreview
*) x
));
32229 static void *_p_wxColourDialogTo_p_wxDialog(void *x
) {
32230 return (void *)((wxDialog
*) ((wxColourDialog
*) x
));
32232 static void *_p_wxDirDialogTo_p_wxDialog(void *x
) {
32233 return (void *)((wxDialog
*) ((wxDirDialog
*) x
));
32235 static void *_p_wxFontDialogTo_p_wxDialog(void *x
) {
32236 return (void *)((wxDialog
*) ((wxFontDialog
*) x
));
32238 static void *_p_wxFileDialogTo_p_wxDialog(void *x
) {
32239 return (void *)((wxDialog
*) ((wxFileDialog
*) x
));
32241 static void *_p_wxMultiChoiceDialogTo_p_wxDialog(void *x
) {
32242 return (void *)((wxDialog
*) ((wxMultiChoiceDialog
*) x
));
32244 static void *_p_wxSingleChoiceDialogTo_p_wxDialog(void *x
) {
32245 return (void *)((wxDialog
*) ((wxSingleChoiceDialog
*) x
));
32247 static void *_p_wxTextEntryDialogTo_p_wxDialog(void *x
) {
32248 return (void *)((wxDialog
*) ((wxTextEntryDialog
*) x
));
32250 static void *_p_wxPasswordEntryDialogTo_p_wxDialog(void *x
) {
32251 return (void *)((wxDialog
*) (wxTextEntryDialog
*) ((wxPasswordEntryDialog
*) x
));
32253 static void *_p_wxMessageDialogTo_p_wxDialog(void *x
) {
32254 return (void *)((wxDialog
*) ((wxMessageDialog
*) x
));
32256 static void *_p_wxFindReplaceDialogTo_p_wxDialog(void *x
) {
32257 return (void *)((wxDialog
*) ((wxFindReplaceDialog
*) x
));
32259 static void *_p_wxScrolledWindowTo_p_wxPanel(void *x
) {
32260 return (void *)((wxPanel
*) ((wxScrolledWindow
*) x
));
32262 static void *_p_wxPyVScrolledWindowTo_p_wxPanel(void *x
) {
32263 return (void *)((wxPanel
*) ((wxPyVScrolledWindow
*) x
));
32265 static void *_p_wxPyScrolledWindowTo_p_wxPanel(void *x
) {
32266 return (void *)((wxPanel
*) (wxScrolledWindow
*) ((wxPyScrolledWindow
*) x
));
32268 static void *_p_wxPyVListBoxTo_p_wxPanel(void *x
) {
32269 return (void *)((wxPanel
*) (wxPyVScrolledWindow
*) ((wxPyVListBox
*) x
));
32271 static void *_p_wxPyHtmlListBoxTo_p_wxPanel(void *x
) {
32272 return (void *)((wxPanel
*) (wxPyVScrolledWindow
*)(wxPyVListBox
*) ((wxPyHtmlListBox
*) x
));
32274 static void *_p_wxPyPanelTo_p_wxPanel(void *x
) {
32275 return (void *)((wxPanel
*) ((wxPyPanel
*) x
));
32277 static void *_p_wxPreviewCanvasTo_p_wxPanel(void *x
) {
32278 return (void *)((wxPanel
*) (wxScrolledWindow
*) ((wxPreviewCanvas
*) x
));
32280 static void *_p_wxPreviewControlBarTo_p_wxPanel(void *x
) {
32281 return (void *)((wxPanel
*) ((wxPreviewControlBar
*) x
));
32283 static void *_p_wxPyPreviewControlBarTo_p_wxPanel(void *x
) {
32284 return (void *)((wxPanel
*) (wxPreviewControlBar
*) ((wxPyPreviewControlBar
*) x
));
32286 static void *_p_wxChildFocusEventTo_p_wxCommandEvent(void *x
) {
32287 return (void *)((wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
32289 static void *_p_wxScrollEventTo_p_wxCommandEvent(void *x
) {
32290 return (void *)((wxCommandEvent
*) ((wxScrollEvent
*) x
));
32292 static void *_p_wxWindowCreateEventTo_p_wxCommandEvent(void *x
) {
32293 return (void *)((wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
32295 static void *_p_wxDateEventTo_p_wxCommandEvent(void *x
) {
32296 return (void *)((wxCommandEvent
*) ((wxDateEvent
*) x
));
32298 static void *_p_wxUpdateUIEventTo_p_wxCommandEvent(void *x
) {
32299 return (void *)((wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
32301 static void *_p_wxClipboardTextEventTo_p_wxCommandEvent(void *x
) {
32302 return (void *)((wxCommandEvent
*) ((wxClipboardTextEvent
*) x
));
32304 static void *_p_wxFindDialogEventTo_p_wxCommandEvent(void *x
) {
32305 return (void *)((wxCommandEvent
*) ((wxFindDialogEvent
*) x
));
32307 static void *_p_wxWindowDestroyEventTo_p_wxCommandEvent(void *x
) {
32308 return (void *)((wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
32310 static void *_p_wxContextMenuEventTo_p_wxCommandEvent(void *x
) {
32311 return (void *)((wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
32313 static void *_p_wxSplitterEventTo_p_wxCommandEvent(void *x
) {
32314 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*) ((wxSplitterEvent
*) x
));
32316 static void *_p_wxNotifyEventTo_p_wxCommandEvent(void *x
) {
32317 return (void *)((wxCommandEvent
*) ((wxNotifyEvent
*) x
));
32319 static void *_p_wxPyCommandEventTo_p_wxCommandEvent(void *x
) {
32320 return (void *)((wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
32322 static void *_p_wxSashEventTo_p_wxCommandEvent(void *x
) {
32323 return (void *)((wxCommandEvent
*) ((wxSashEvent
*) x
));
32325 static void *_p_wxPyPreviewControlBarTo_p_wxPreviewControlBar(void *x
) {
32326 return (void *)((wxPreviewControlBar
*) ((wxPyPreviewControlBar
*) x
));
32328 static swig_type_info _swigt__p_bool
= {"_p_bool", "bool *", 0, 0, (void*)0, 0};
32329 static swig_type_info _swigt__p_char
= {"_p_char", "char *", 0, 0, (void*)0, 0};
32330 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};
32331 static swig_type_info _swigt__p_int
= {"_p_int", "int *", 0, 0, (void*)0, 0};
32332 static swig_type_info _swigt__p_unsigned_char
= {"_p_unsigned_char", "unsigned char *|byte *", 0, 0, (void*)0, 0};
32333 static swig_type_info _swigt__p_unsigned_int
= {"_p_unsigned_int", "unsigned int *|time_t *", 0, 0, (void*)0, 0};
32334 static swig_type_info _swigt__p_unsigned_long
= {"_p_unsigned_long", "unsigned long *|wxUIntPtr *", 0, 0, (void*)0, 0};
32335 static swig_type_info _swigt__p_wxArrayInt
= {"_p_wxArrayInt", "wxArrayInt *", 0, 0, (void*)0, 0};
32336 static swig_type_info _swigt__p_wxBitmap
= {"_p_wxBitmap", "wxBitmap *", 0, 0, (void*)0, 0};
32337 static swig_type_info _swigt__p_wxCalculateLayoutEvent
= {"_p_wxCalculateLayoutEvent", "wxCalculateLayoutEvent *", 0, 0, (void*)0, 0};
32338 static swig_type_info _swigt__p_wxColour
= {"_p_wxColour", "wxColour *", 0, 0, (void*)0, 0};
32339 static swig_type_info _swigt__p_wxColourData
= {"_p_wxColourData", "wxColourData *", 0, 0, (void*)0, 0};
32340 static swig_type_info _swigt__p_wxColourDialog
= {"_p_wxColourDialog", "wxColourDialog *", 0, 0, (void*)0, 0};
32341 static swig_type_info _swigt__p_wxCommandEvent
= {"_p_wxCommandEvent", "wxCommandEvent *", 0, 0, (void*)0, 0};
32342 static swig_type_info _swigt__p_wxWindowDestroyEvent
= {"_p_wxWindowDestroyEvent", 0, 0, 0, 0, 0};
32343 static swig_type_info _swigt__p_wxClipboardTextEvent
= {"_p_wxClipboardTextEvent", 0, 0, 0, 0, 0};
32344 static swig_type_info _swigt__p_wxScrollEvent
= {"_p_wxScrollEvent", 0, 0, 0, 0, 0};
32345 static swig_type_info _swigt__p_wxPyCommandEvent
= {"_p_wxPyCommandEvent", 0, 0, 0, 0, 0};
32346 static swig_type_info _swigt__p_wxContextMenuEvent
= {"_p_wxContextMenuEvent", 0, 0, 0, 0, 0};
32347 static swig_type_info _swigt__p_wxChildFocusEvent
= {"_p_wxChildFocusEvent", 0, 0, 0, 0, 0};
32348 static swig_type_info _swigt__p_wxWindowCreateEvent
= {"_p_wxWindowCreateEvent", 0, 0, 0, 0, 0};
32349 static swig_type_info _swigt__p_wxDateEvent
= {"_p_wxDateEvent", 0, 0, 0, 0, 0};
32350 static swig_type_info _swigt__p_wxUpdateUIEvent
= {"_p_wxUpdateUIEvent", 0, 0, 0, 0, 0};
32351 static swig_type_info _swigt__p_wxDC
= {"_p_wxDC", "wxDC *", 0, 0, (void*)0, 0};
32352 static swig_type_info _swigt__p_wxDialog
= {"_p_wxDialog", "wxDialog *", 0, 0, (void*)0, 0};
32353 static swig_type_info _swigt__p_wxDirDialog
= {"_p_wxDirDialog", "wxDirDialog *", 0, 0, (void*)0, 0};
32354 static swig_type_info _swigt__p_wxDuplexMode
= {"_p_wxDuplexMode", "enum wxDuplexMode *|wxDuplexMode *", 0, 0, (void*)0, 0};
32355 static swig_type_info _swigt__p_wxEvent
= {"_p_wxEvent", "wxEvent *", 0, 0, (void*)0, 0};
32356 static swig_type_info _swigt__p_wxMenuEvent
= {"_p_wxMenuEvent", 0, 0, 0, 0, 0};
32357 static swig_type_info _swigt__p_wxCloseEvent
= {"_p_wxCloseEvent", 0, 0, 0, 0, 0};
32358 static swig_type_info _swigt__p_wxMouseEvent
= {"_p_wxMouseEvent", 0, 0, 0, 0, 0};
32359 static swig_type_info _swigt__p_wxEraseEvent
= {"_p_wxEraseEvent", 0, 0, 0, 0, 0};
32360 static swig_type_info _swigt__p_wxSetCursorEvent
= {"_p_wxSetCursorEvent", 0, 0, 0, 0, 0};
32361 static swig_type_info _swigt__p_wxInitDialogEvent
= {"_p_wxInitDialogEvent", 0, 0, 0, 0, 0};
32362 static swig_type_info _swigt__p_wxPyEvent
= {"_p_wxPyEvent", 0, 0, 0, 0, 0};
32363 static swig_type_info _swigt__p_wxIdleEvent
= {"_p_wxIdleEvent", 0, 0, 0, 0, 0};
32364 static swig_type_info _swigt__p_wxQueryNewPaletteEvent
= {"_p_wxQueryNewPaletteEvent", 0, 0, 0, 0, 0};
32365 static swig_type_info _swigt__p_wxMaximizeEvent
= {"_p_wxMaximizeEvent", 0, 0, 0, 0, 0};
32366 static swig_type_info _swigt__p_wxIconizeEvent
= {"_p_wxIconizeEvent", 0, 0, 0, 0, 0};
32367 static swig_type_info _swigt__p_wxActivateEvent
= {"_p_wxActivateEvent", 0, 0, 0, 0, 0};
32368 static swig_type_info _swigt__p_wxSizeEvent
= {"_p_wxSizeEvent", 0, 0, 0, 0, 0};
32369 static swig_type_info _swigt__p_wxMoveEvent
= {"_p_wxMoveEvent", 0, 0, 0, 0, 0};
32370 static swig_type_info _swigt__p_wxPaintEvent
= {"_p_wxPaintEvent", 0, 0, 0, 0, 0};
32371 static swig_type_info _swigt__p_wxNcPaintEvent
= {"_p_wxNcPaintEvent", 0, 0, 0, 0, 0};
32372 static swig_type_info _swigt__p_wxPaletteChangedEvent
= {"_p_wxPaletteChangedEvent", 0, 0, 0, 0, 0};
32373 static swig_type_info _swigt__p_wxDisplayChangedEvent
= {"_p_wxDisplayChangedEvent", 0, 0, 0, 0, 0};
32374 static swig_type_info _swigt__p_wxMouseCaptureChangedEvent
= {"_p_wxMouseCaptureChangedEvent", 0, 0, 0, 0, 0};
32375 static swig_type_info _swigt__p_wxSysColourChangedEvent
= {"_p_wxSysColourChangedEvent", 0, 0, 0, 0, 0};
32376 static swig_type_info _swigt__p_wxDropFilesEvent
= {"_p_wxDropFilesEvent", 0, 0, 0, 0, 0};
32377 static swig_type_info _swigt__p_wxFocusEvent
= {"_p_wxFocusEvent", 0, 0, 0, 0, 0};
32378 static swig_type_info _swigt__p_wxShowEvent
= {"_p_wxShowEvent", 0, 0, 0, 0, 0};
32379 static swig_type_info _swigt__p_wxNavigationKeyEvent
= {"_p_wxNavigationKeyEvent", 0, 0, 0, 0, 0};
32380 static swig_type_info _swigt__p_wxKeyEvent
= {"_p_wxKeyEvent", 0, 0, 0, 0, 0};
32381 static swig_type_info _swigt__p_wxEvtHandler
= {"_p_wxEvtHandler", "wxEvtHandler *", 0, 0, (void*)0, 0};
32382 static swig_type_info _swigt__p_wxValidator
= {"_p_wxValidator", 0, 0, 0, 0, 0};
32383 static swig_type_info _swigt__p_wxPyValidator
= {"_p_wxPyValidator", 0, 0, 0, 0, 0};
32384 static swig_type_info _swigt__p_wxControl
= {"_p_wxControl", 0, 0, 0, 0, 0};
32385 static swig_type_info _swigt__p_wxPyApp
= {"_p_wxPyApp", 0, 0, 0, 0, 0};
32386 static swig_type_info _swigt__p_wxControlWithItems
= {"_p_wxControlWithItems", 0, 0, 0, 0, 0};
32387 static swig_type_info _swigt__p_wxFileDialog
= {"_p_wxFileDialog", "wxFileDialog *", 0, 0, (void*)0, 0};
32388 static swig_type_info _swigt__p_wxFileSystem
= {"_p_wxFileSystem", "wxFileSystem *", 0, 0, (void*)0, 0};
32389 static swig_type_info _swigt__p_wxFindDialogEvent
= {"_p_wxFindDialogEvent", "wxFindDialogEvent *", 0, 0, (void*)0, 0};
32390 static swig_type_info _swigt__p_wxFindReplaceData
= {"_p_wxFindReplaceData", "wxFindReplaceData *", 0, 0, (void*)0, 0};
32391 static swig_type_info _swigt__p_wxFindReplaceDialog
= {"_p_wxFindReplaceDialog", "wxFindReplaceDialog *", 0, 0, (void*)0, 0};
32392 static swig_type_info _swigt__p_wxFont
= {"_p_wxFont", "wxFont *", 0, 0, (void*)0, 0};
32393 static swig_type_info _swigt__p_wxFontData
= {"_p_wxFontData", "wxFontData *", 0, 0, (void*)0, 0};
32394 static swig_type_info _swigt__p_wxFontDialog
= {"_p_wxFontDialog", "wxFontDialog *", 0, 0, (void*)0, 0};
32395 static swig_type_info _swigt__p_wxFrame
= {"_p_wxFrame", "wxFrame *", 0, 0, (void*)0, 0};
32396 static swig_type_info _swigt__p_wxHtmlLinkInfo
= {"_p_wxHtmlLinkInfo", "wxHtmlLinkInfo *", 0, 0, (void*)0, 0};
32397 static swig_type_info _swigt__p_wxIcon
= {"_p_wxIcon", "wxIcon *", 0, 0, (void*)0, 0};
32398 static swig_type_info _swigt__p_wxIconBundle
= {"_p_wxIconBundle", "wxIconBundle *", 0, 0, (void*)0, 0};
32399 static swig_type_info _swigt__p_wxLayoutAlgorithm
= {"_p_wxLayoutAlgorithm", "wxLayoutAlgorithm *", 0, 0, (void*)0, 0};
32400 static swig_type_info _swigt__p_wxMDIChildFrame
= {"_p_wxMDIChildFrame", "wxMDIChildFrame *", 0, 0, (void*)0, 0};
32401 static swig_type_info _swigt__p_wxMDIClientWindow
= {"_p_wxMDIClientWindow", "wxMDIClientWindow *", 0, 0, (void*)0, 0};
32402 static swig_type_info _swigt__p_wxMDIParentFrame
= {"_p_wxMDIParentFrame", "wxMDIParentFrame *", 0, 0, (void*)0, 0};
32403 static swig_type_info _swigt__p_wxMenu
= {"_p_wxMenu", "wxMenu *", 0, 0, (void*)0, 0};
32404 static swig_type_info _swigt__p_wxMenuBar
= {"_p_wxMenuBar", "wxMenuBar *", 0, 0, (void*)0, 0};
32405 static swig_type_info _swigt__p_wxMessageDialog
= {"_p_wxMessageDialog", "wxMessageDialog *", 0, 0, (void*)0, 0};
32406 static swig_type_info _swigt__p_wxMiniFrame
= {"_p_wxMiniFrame", "wxMiniFrame *", 0, 0, (void*)0, 0};
32407 static swig_type_info _swigt__p_wxMultiChoiceDialog
= {"_p_wxMultiChoiceDialog", "wxMultiChoiceDialog *", 0, 0, (void*)0, 0};
32408 static swig_type_info _swigt__p_wxNotifyEvent
= {"_p_wxNotifyEvent", "wxNotifyEvent *", 0, 0, (void*)0, 0};
32409 static swig_type_info _swigt__p_wxObject
= {"_p_wxObject", "wxObject *", 0, 0, (void*)0, 0};
32410 static swig_type_info _swigt__p_wxLayoutConstraints
= {"_p_wxLayoutConstraints", 0, 0, 0, 0, 0};
32411 static swig_type_info _swigt__p_wxGBSizerItem
= {"_p_wxGBSizerItem", 0, 0, 0, 0, 0};
32412 static swig_type_info _swigt__p_wxSizerItem
= {"_p_wxSizerItem", 0, 0, 0, 0, 0};
32413 static swig_type_info _swigt__p_wxIndividualLayoutConstraint
= {"_p_wxIndividualLayoutConstraint", 0, 0, 0, 0, 0};
32414 static swig_type_info _swigt__p_wxStaticBoxSizer
= {"_p_wxStaticBoxSizer", 0, 0, 0, 0, 0};
32415 static swig_type_info _swigt__p_wxBoxSizer
= {"_p_wxBoxSizer", 0, 0, 0, 0, 0};
32416 static swig_type_info _swigt__p_wxSizer
= {"_p_wxSizer", 0, 0, 0, 0, 0};
32417 static swig_type_info _swigt__p_wxGridBagSizer
= {"_p_wxGridBagSizer", 0, 0, 0, 0, 0};
32418 static swig_type_info _swigt__p_wxGridSizer
= {"_p_wxGridSizer", 0, 0, 0, 0, 0};
32419 static swig_type_info _swigt__p_wxFlexGridSizer
= {"_p_wxFlexGridSizer", 0, 0, 0, 0, 0};
32420 static swig_type_info _swigt__p_wxFSFile
= {"_p_wxFSFile", 0, 0, 0, 0, 0};
32421 static swig_type_info _swigt__p_wxPySizer
= {"_p_wxPySizer", 0, 0, 0, 0, 0};
32422 static swig_type_info _swigt__p_wxMenuItem
= {"_p_wxMenuItem", 0, 0, 0, 0, 0};
32423 static swig_type_info _swigt__p_wxPyImageHandler
= {"_p_wxPyImageHandler", 0, 0, 0, 0, 0};
32424 static swig_type_info _swigt__p_wxBMPHandler
= {"_p_wxBMPHandler", 0, 0, 0, 0, 0};
32425 static swig_type_info _swigt__p_wxICOHandler
= {"_p_wxICOHandler", 0, 0, 0, 0, 0};
32426 static swig_type_info _swigt__p_wxCURHandler
= {"_p_wxCURHandler", 0, 0, 0, 0, 0};
32427 static swig_type_info _swigt__p_wxANIHandler
= {"_p_wxANIHandler", 0, 0, 0, 0, 0};
32428 static swig_type_info _swigt__p_wxPNGHandler
= {"_p_wxPNGHandler", 0, 0, 0, 0, 0};
32429 static swig_type_info _swigt__p_wxGIFHandler
= {"_p_wxGIFHandler", 0, 0, 0, 0, 0};
32430 static swig_type_info _swigt__p_wxPCXHandler
= {"_p_wxPCXHandler", 0, 0, 0, 0, 0};
32431 static swig_type_info _swigt__p_wxJPEGHandler
= {"_p_wxJPEGHandler", 0, 0, 0, 0, 0};
32432 static swig_type_info _swigt__p_wxPNMHandler
= {"_p_wxPNMHandler", 0, 0, 0, 0, 0};
32433 static swig_type_info _swigt__p_wxImageHandler
= {"_p_wxImageHandler", 0, 0, 0, 0, 0};
32434 static swig_type_info _swigt__p_wxXPMHandler
= {"_p_wxXPMHandler", 0, 0, 0, 0, 0};
32435 static swig_type_info _swigt__p_wxTIFFHandler
= {"_p_wxTIFFHandler", 0, 0, 0, 0, 0};
32436 static swig_type_info _swigt__p_wxAcceleratorTable
= {"_p_wxAcceleratorTable", 0, 0, 0, 0, 0};
32437 static swig_type_info _swigt__p_wxImage
= {"_p_wxImage", 0, 0, 0, 0, 0};
32438 static swig_type_info _swigt__p_wxPageSetupDialog
= {"_p_wxPageSetupDialog", "wxPageSetupDialog *", 0, 0, (void*)0, 0};
32439 static swig_type_info _swigt__p_wxPageSetupDialogData
= {"_p_wxPageSetupDialogData", "wxPageSetupDialogData *", 0, 0, (void*)0, 0};
32440 static swig_type_info _swigt__p_wxPanel
= {"_p_wxPanel", "wxPanel *", 0, 0, (void*)0, 0};
32441 static swig_type_info _swigt__p_wxPaperSize
= {"_p_wxPaperSize", "enum wxPaperSize *|wxPaperSize *", 0, 0, (void*)0, 0};
32442 static swig_type_info _swigt__p_wxPasswordEntryDialog
= {"_p_wxPasswordEntryDialog", "wxPasswordEntryDialog *", 0, 0, (void*)0, 0};
32443 static swig_type_info _swigt__p_wxPoint
= {"_p_wxPoint", "wxPoint *", 0, 0, (void*)0, 0};
32444 static swig_type_info _swigt__p_wxPopupWindow
= {"_p_wxPopupWindow", "wxPopupWindow *", 0, 0, (void*)0, 0};
32445 static swig_type_info _swigt__p_wxPreviewCanvas
= {"_p_wxPreviewCanvas", "wxPreviewCanvas *", 0, 0, (void*)0, 0};
32446 static swig_type_info _swigt__p_wxPreviewControlBar
= {"_p_wxPreviewControlBar", "wxPreviewControlBar *", 0, 0, (void*)0, 0};
32447 static swig_type_info _swigt__p_wxPreviewFrame
= {"_p_wxPreviewFrame", "wxPreviewFrame *", 0, 0, (void*)0, 0};
32448 static swig_type_info _swigt__p_wxPrintData
= {"_p_wxPrintData", "wxPrintData *", 0, 0, (void*)0, 0};
32449 static swig_type_info _swigt__p_wxPrintDialog
= {"_p_wxPrintDialog", "wxPrintDialog *", 0, 0, (void*)0, 0};
32450 static swig_type_info _swigt__p_wxPrintDialogData
= {"_p_wxPrintDialogData", "wxPrintDialogData *", 0, 0, (void*)0, 0};
32451 static swig_type_info _swigt__p_wxPrintPreview
= {"_p_wxPrintPreview", "wxPrintPreview *", 0, 0, (void*)0, 0};
32452 static swig_type_info _swigt__p_wxPrinter
= {"_p_wxPrinter", "wxPrinter *", 0, 0, (void*)0, 0};
32453 static swig_type_info _swigt__p_wxProgressDialog
= {"_p_wxProgressDialog", "wxProgressDialog *", 0, 0, (void*)0, 0};
32454 static swig_type_info _swigt__p_wxPyHtmlListBox
= {"_p_wxPyHtmlListBox", "wxPyHtmlListBox *", 0, 0, (void*)0, 0};
32455 static swig_type_info _swigt__p_wxPyPanel
= {"_p_wxPyPanel", "wxPyPanel *", 0, 0, (void*)0, 0};
32456 static swig_type_info _swigt__p_wxPyPopupTransientWindow
= {"_p_wxPyPopupTransientWindow", "wxPyPopupTransientWindow *", 0, 0, (void*)0, 0};
32457 static swig_type_info _swigt__p_wxPyPreviewControlBar
= {"_p_wxPyPreviewControlBar", "wxPyPreviewControlBar *", 0, 0, (void*)0, 0};
32458 static swig_type_info _swigt__p_wxPyPreviewFrame
= {"_p_wxPyPreviewFrame", "wxPyPreviewFrame *", 0, 0, (void*)0, 0};
32459 static swig_type_info _swigt__p_wxPyPrintPreview
= {"_p_wxPyPrintPreview", "wxPyPrintPreview *", 0, 0, (void*)0, 0};
32460 static swig_type_info _swigt__p_wxPyPrintout
= {"_p_wxPyPrintout", "wxPyPrintout *", 0, 0, (void*)0, 0};
32461 static swig_type_info _swigt__p_wxPyScrolledWindow
= {"_p_wxPyScrolledWindow", "wxPyScrolledWindow *", 0, 0, (void*)0, 0};
32462 static swig_type_info _swigt__p_wxPyTaskBarIcon
= {"_p_wxPyTaskBarIcon", "wxPyTaskBarIcon *", 0, 0, (void*)0, 0};
32463 static swig_type_info _swigt__p_wxPyVListBox
= {"_p_wxPyVListBox", "wxPyVListBox *", 0, 0, (void*)0, 0};
32464 static swig_type_info _swigt__p_wxPyVScrolledWindow
= {"_p_wxPyVScrolledWindow", "wxPyVScrolledWindow *", 0, 0, (void*)0, 0};
32465 static swig_type_info _swigt__p_wxPyWindow
= {"_p_wxPyWindow", "wxPyWindow *", 0, 0, (void*)0, 0};
32466 static swig_type_info _swigt__p_wxQueryLayoutInfoEvent
= {"_p_wxQueryLayoutInfoEvent", "wxQueryLayoutInfoEvent *", 0, 0, (void*)0, 0};
32467 static swig_type_info _swigt__p_wxRect
= {"_p_wxRect", "wxRect *", 0, 0, (void*)0, 0};
32468 static swig_type_info _swigt__p_wxRegion
= {"_p_wxRegion", "wxRegion *", 0, 0, (void*)0, 0};
32469 static swig_type_info _swigt__p_wxSashEvent
= {"_p_wxSashEvent", "wxSashEvent *", 0, 0, (void*)0, 0};
32470 static swig_type_info _swigt__p_wxSashLayoutWindow
= {"_p_wxSashLayoutWindow", "wxSashLayoutWindow *", 0, 0, (void*)0, 0};
32471 static swig_type_info _swigt__p_wxSashWindow
= {"_p_wxSashWindow", "wxSashWindow *", 0, 0, (void*)0, 0};
32472 static swig_type_info _swigt__p_wxScrollWinEvent
= {"_p_wxScrollWinEvent", "wxScrollWinEvent *", 0, 0, (void*)0, 0};
32473 static swig_type_info _swigt__p_wxScrolledWindow
= {"_p_wxScrolledWindow", "wxScrolledWindow *", 0, 0, (void*)0, 0};
32474 static swig_type_info _swigt__p_wxSingleChoiceDialog
= {"_p_wxSingleChoiceDialog", "wxSingleChoiceDialog *", 0, 0, (void*)0, 0};
32475 static swig_type_info _swigt__p_wxSize
= {"_p_wxSize", "wxSize *", 0, 0, (void*)0, 0};
32476 static swig_type_info _swigt__p_wxSplashScreen
= {"_p_wxSplashScreen", "wxSplashScreen *", 0, 0, (void*)0, 0};
32477 static swig_type_info _swigt__p_wxSplashScreenWindow
= {"_p_wxSplashScreenWindow", "wxSplashScreenWindow *", 0, 0, (void*)0, 0};
32478 static swig_type_info _swigt__p_wxSplitterEvent
= {"_p_wxSplitterEvent", "wxSplitterEvent *", 0, 0, (void*)0, 0};
32479 static swig_type_info _swigt__p_wxSplitterWindow
= {"_p_wxSplitterWindow", "wxSplitterWindow *", 0, 0, (void*)0, 0};
32480 static swig_type_info _swigt__p_wxStatusBar
= {"_p_wxStatusBar", "wxStatusBar *", 0, 0, (void*)0, 0};
32481 static swig_type_info _swigt__p_wxStdDialogButtonSizer
= {"_p_wxStdDialogButtonSizer", "wxStdDialogButtonSizer *", 0, 0, (void*)0, 0};
32482 static swig_type_info _swigt__p_wxString
= {"_p_wxString", "wxString *", 0, 0, (void*)0, 0};
32483 static swig_type_info _swigt__p_wxTaskBarIcon
= {"_p_wxTaskBarIcon", "wxTaskBarIcon *", 0, 0, (void*)0, 0};
32484 static swig_type_info _swigt__p_wxTaskBarIconEvent
= {"_p_wxTaskBarIconEvent", "wxTaskBarIconEvent *", 0, 0, (void*)0, 0};
32485 static swig_type_info _swigt__p_wxTextEntryDialog
= {"_p_wxTextEntryDialog", "wxTextEntryDialog *", 0, 0, (void*)0, 0};
32486 static swig_type_info _swigt__p_wxTipWindow
= {"_p_wxTipWindow", "wxTipWindow *", 0, 0, (void*)0, 0};
32487 static swig_type_info _swigt__p_wxToolBar
= {"_p_wxToolBar", "wxToolBar *", 0, 0, (void*)0, 0};
32488 static swig_type_info _swigt__p_wxTopLevelWindow
= {"_p_wxTopLevelWindow", "wxTopLevelWindow *", 0, 0, (void*)0, 0};
32489 static swig_type_info _swigt__p_wxVisualAttributes
= {"_p_wxVisualAttributes", "wxVisualAttributes *", 0, 0, (void*)0, 0};
32490 static swig_type_info _swigt__p_wxWindow
= {"_p_wxWindow", "wxWindow *", 0, 0, (void*)0, 0};
32492 static swig_type_info
*swig_type_initial
[] = {
32495 &_swigt__p_form_ops_t
,
32497 &_swigt__p_unsigned_char
,
32498 &_swigt__p_unsigned_int
,
32499 &_swigt__p_unsigned_long
,
32500 &_swigt__p_wxANIHandler
,
32501 &_swigt__p_wxAcceleratorTable
,
32502 &_swigt__p_wxActivateEvent
,
32503 &_swigt__p_wxArrayInt
,
32504 &_swigt__p_wxBMPHandler
,
32505 &_swigt__p_wxBitmap
,
32506 &_swigt__p_wxBoxSizer
,
32507 &_swigt__p_wxCURHandler
,
32508 &_swigt__p_wxCalculateLayoutEvent
,
32509 &_swigt__p_wxChildFocusEvent
,
32510 &_swigt__p_wxClipboardTextEvent
,
32511 &_swigt__p_wxCloseEvent
,
32512 &_swigt__p_wxColour
,
32513 &_swigt__p_wxColourData
,
32514 &_swigt__p_wxColourDialog
,
32515 &_swigt__p_wxCommandEvent
,
32516 &_swigt__p_wxContextMenuEvent
,
32517 &_swigt__p_wxControl
,
32518 &_swigt__p_wxControlWithItems
,
32520 &_swigt__p_wxDateEvent
,
32521 &_swigt__p_wxDialog
,
32522 &_swigt__p_wxDirDialog
,
32523 &_swigt__p_wxDisplayChangedEvent
,
32524 &_swigt__p_wxDropFilesEvent
,
32525 &_swigt__p_wxDuplexMode
,
32526 &_swigt__p_wxEraseEvent
,
32527 &_swigt__p_wxEvent
,
32528 &_swigt__p_wxEvtHandler
,
32529 &_swigt__p_wxFSFile
,
32530 &_swigt__p_wxFileDialog
,
32531 &_swigt__p_wxFileSystem
,
32532 &_swigt__p_wxFindDialogEvent
,
32533 &_swigt__p_wxFindReplaceData
,
32534 &_swigt__p_wxFindReplaceDialog
,
32535 &_swigt__p_wxFlexGridSizer
,
32536 &_swigt__p_wxFocusEvent
,
32538 &_swigt__p_wxFontData
,
32539 &_swigt__p_wxFontDialog
,
32540 &_swigt__p_wxFrame
,
32541 &_swigt__p_wxGBSizerItem
,
32542 &_swigt__p_wxGIFHandler
,
32543 &_swigt__p_wxGridBagSizer
,
32544 &_swigt__p_wxGridSizer
,
32545 &_swigt__p_wxHtmlLinkInfo
,
32546 &_swigt__p_wxICOHandler
,
32548 &_swigt__p_wxIconBundle
,
32549 &_swigt__p_wxIconizeEvent
,
32550 &_swigt__p_wxIdleEvent
,
32551 &_swigt__p_wxImage
,
32552 &_swigt__p_wxImageHandler
,
32553 &_swigt__p_wxIndividualLayoutConstraint
,
32554 &_swigt__p_wxInitDialogEvent
,
32555 &_swigt__p_wxJPEGHandler
,
32556 &_swigt__p_wxKeyEvent
,
32557 &_swigt__p_wxLayoutAlgorithm
,
32558 &_swigt__p_wxLayoutConstraints
,
32559 &_swigt__p_wxMDIChildFrame
,
32560 &_swigt__p_wxMDIClientWindow
,
32561 &_swigt__p_wxMDIParentFrame
,
32562 &_swigt__p_wxMaximizeEvent
,
32564 &_swigt__p_wxMenuBar
,
32565 &_swigt__p_wxMenuEvent
,
32566 &_swigt__p_wxMenuItem
,
32567 &_swigt__p_wxMessageDialog
,
32568 &_swigt__p_wxMiniFrame
,
32569 &_swigt__p_wxMouseCaptureChangedEvent
,
32570 &_swigt__p_wxMouseEvent
,
32571 &_swigt__p_wxMoveEvent
,
32572 &_swigt__p_wxMultiChoiceDialog
,
32573 &_swigt__p_wxNavigationKeyEvent
,
32574 &_swigt__p_wxNcPaintEvent
,
32575 &_swigt__p_wxNotifyEvent
,
32576 &_swigt__p_wxObject
,
32577 &_swigt__p_wxPCXHandler
,
32578 &_swigt__p_wxPNGHandler
,
32579 &_swigt__p_wxPNMHandler
,
32580 &_swigt__p_wxPageSetupDialog
,
32581 &_swigt__p_wxPageSetupDialogData
,
32582 &_swigt__p_wxPaintEvent
,
32583 &_swigt__p_wxPaletteChangedEvent
,
32584 &_swigt__p_wxPanel
,
32585 &_swigt__p_wxPaperSize
,
32586 &_swigt__p_wxPasswordEntryDialog
,
32587 &_swigt__p_wxPoint
,
32588 &_swigt__p_wxPopupWindow
,
32589 &_swigt__p_wxPreviewCanvas
,
32590 &_swigt__p_wxPreviewControlBar
,
32591 &_swigt__p_wxPreviewFrame
,
32592 &_swigt__p_wxPrintData
,
32593 &_swigt__p_wxPrintDialog
,
32594 &_swigt__p_wxPrintDialogData
,
32595 &_swigt__p_wxPrintPreview
,
32596 &_swigt__p_wxPrinter
,
32597 &_swigt__p_wxProgressDialog
,
32598 &_swigt__p_wxPyApp
,
32599 &_swigt__p_wxPyCommandEvent
,
32600 &_swigt__p_wxPyEvent
,
32601 &_swigt__p_wxPyHtmlListBox
,
32602 &_swigt__p_wxPyImageHandler
,
32603 &_swigt__p_wxPyPanel
,
32604 &_swigt__p_wxPyPopupTransientWindow
,
32605 &_swigt__p_wxPyPreviewControlBar
,
32606 &_swigt__p_wxPyPreviewFrame
,
32607 &_swigt__p_wxPyPrintPreview
,
32608 &_swigt__p_wxPyPrintout
,
32609 &_swigt__p_wxPyScrolledWindow
,
32610 &_swigt__p_wxPySizer
,
32611 &_swigt__p_wxPyTaskBarIcon
,
32612 &_swigt__p_wxPyVListBox
,
32613 &_swigt__p_wxPyVScrolledWindow
,
32614 &_swigt__p_wxPyValidator
,
32615 &_swigt__p_wxPyWindow
,
32616 &_swigt__p_wxQueryLayoutInfoEvent
,
32617 &_swigt__p_wxQueryNewPaletteEvent
,
32619 &_swigt__p_wxRegion
,
32620 &_swigt__p_wxSashEvent
,
32621 &_swigt__p_wxSashLayoutWindow
,
32622 &_swigt__p_wxSashWindow
,
32623 &_swigt__p_wxScrollEvent
,
32624 &_swigt__p_wxScrollWinEvent
,
32625 &_swigt__p_wxScrolledWindow
,
32626 &_swigt__p_wxSetCursorEvent
,
32627 &_swigt__p_wxShowEvent
,
32628 &_swigt__p_wxSingleChoiceDialog
,
32630 &_swigt__p_wxSizeEvent
,
32631 &_swigt__p_wxSizer
,
32632 &_swigt__p_wxSizerItem
,
32633 &_swigt__p_wxSplashScreen
,
32634 &_swigt__p_wxSplashScreenWindow
,
32635 &_swigt__p_wxSplitterEvent
,
32636 &_swigt__p_wxSplitterWindow
,
32637 &_swigt__p_wxStaticBoxSizer
,
32638 &_swigt__p_wxStatusBar
,
32639 &_swigt__p_wxStdDialogButtonSizer
,
32640 &_swigt__p_wxString
,
32641 &_swigt__p_wxSysColourChangedEvent
,
32642 &_swigt__p_wxTIFFHandler
,
32643 &_swigt__p_wxTaskBarIcon
,
32644 &_swigt__p_wxTaskBarIconEvent
,
32645 &_swigt__p_wxTextEntryDialog
,
32646 &_swigt__p_wxTipWindow
,
32647 &_swigt__p_wxToolBar
,
32648 &_swigt__p_wxTopLevelWindow
,
32649 &_swigt__p_wxUpdateUIEvent
,
32650 &_swigt__p_wxValidator
,
32651 &_swigt__p_wxVisualAttributes
,
32652 &_swigt__p_wxWindow
,
32653 &_swigt__p_wxWindowCreateEvent
,
32654 &_swigt__p_wxWindowDestroyEvent
,
32655 &_swigt__p_wxXPMHandler
,
32658 static swig_cast_info _swigc__p_bool
[] = { {&_swigt__p_bool
, 0, 0, 0},{0, 0, 0, 0}};
32659 static swig_cast_info _swigc__p_char
[] = { {&_swigt__p_char
, 0, 0, 0},{0, 0, 0, 0}};
32660 static swig_cast_info _swigc__p_form_ops_t
[] = { {&_swigt__p_form_ops_t
, 0, 0, 0},{0, 0, 0, 0}};
32661 static swig_cast_info _swigc__p_int
[] = { {&_swigt__p_int
, 0, 0, 0},{0, 0, 0, 0}};
32662 static swig_cast_info _swigc__p_unsigned_char
[] = { {&_swigt__p_unsigned_char
, 0, 0, 0},{0, 0, 0, 0}};
32663 static swig_cast_info _swigc__p_unsigned_int
[] = { {&_swigt__p_unsigned_int
, 0, 0, 0},{0, 0, 0, 0}};
32664 static swig_cast_info _swigc__p_unsigned_long
[] = { {&_swigt__p_unsigned_long
, 0, 0, 0},{0, 0, 0, 0}};
32665 static swig_cast_info _swigc__p_wxArrayInt
[] = { {&_swigt__p_wxArrayInt
, 0, 0, 0},{0, 0, 0, 0}};
32666 static swig_cast_info _swigc__p_wxBitmap
[] = { {&_swigt__p_wxBitmap
, 0, 0, 0},{0, 0, 0, 0}};
32667 static swig_cast_info _swigc__p_wxCalculateLayoutEvent
[] = { {&_swigt__p_wxCalculateLayoutEvent
, 0, 0, 0},{0, 0, 0, 0}};
32668 static swig_cast_info _swigc__p_wxColour
[] = { {&_swigt__p_wxColour
, 0, 0, 0},{0, 0, 0, 0}};
32669 static swig_cast_info _swigc__p_wxColourData
[] = { {&_swigt__p_wxColourData
, 0, 0, 0},{0, 0, 0, 0}};
32670 static swig_cast_info _swigc__p_wxColourDialog
[] = { {&_swigt__p_wxColourDialog
, 0, 0, 0},{0, 0, 0, 0}};
32671 static swig_cast_info _swigc__p_wxWindowDestroyEvent
[] = {{&_swigt__p_wxWindowDestroyEvent
, 0, 0, 0},{0, 0, 0, 0}};
32672 static swig_cast_info _swigc__p_wxClipboardTextEvent
[] = {{&_swigt__p_wxClipboardTextEvent
, 0, 0, 0},{0, 0, 0, 0}};
32673 static swig_cast_info _swigc__p_wxScrollEvent
[] = {{&_swigt__p_wxScrollEvent
, 0, 0, 0},{0, 0, 0, 0}};
32674 static swig_cast_info _swigc__p_wxPyCommandEvent
[] = {{&_swigt__p_wxPyCommandEvent
, 0, 0, 0},{0, 0, 0, 0}};
32675 static swig_cast_info _swigc__p_wxContextMenuEvent
[] = {{&_swigt__p_wxContextMenuEvent
, 0, 0, 0},{0, 0, 0, 0}};
32676 static swig_cast_info _swigc__p_wxChildFocusEvent
[] = {{&_swigt__p_wxChildFocusEvent
, 0, 0, 0},{0, 0, 0, 0}};
32677 static swig_cast_info _swigc__p_wxWindowCreateEvent
[] = {{&_swigt__p_wxWindowCreateEvent
, 0, 0, 0},{0, 0, 0, 0}};
32678 static swig_cast_info _swigc__p_wxDateEvent
[] = {{&_swigt__p_wxDateEvent
, 0, 0, 0},{0, 0, 0, 0}};
32679 static swig_cast_info _swigc__p_wxUpdateUIEvent
[] = {{&_swigt__p_wxUpdateUIEvent
, 0, 0, 0},{0, 0, 0, 0}};
32680 static swig_cast_info _swigc__p_wxCommandEvent
[] = { {&_swigt__p_wxSashEvent
, _p_wxSashEventTo_p_wxCommandEvent
, 0, 0}, {&_swigt__p_wxWindowDestroyEvent
, _p_wxWindowDestroyEventTo_p_wxCommandEvent
, 0, 0}, {&_swigt__p_wxSplitterEvent
, _p_wxSplitterEventTo_p_wxCommandEvent
, 0, 0}, {&_swigt__p_wxClipboardTextEvent
, _p_wxClipboardTextEventTo_p_wxCommandEvent
, 0, 0}, {&_swigt__p_wxScrollEvent
, _p_wxScrollEventTo_p_wxCommandEvent
, 0, 0}, {&_swigt__p_wxPyCommandEvent
, _p_wxPyCommandEventTo_p_wxCommandEvent
, 0, 0}, {&_swigt__p_wxCommandEvent
, 0, 0, 0}, {&_swigt__p_wxContextMenuEvent
, _p_wxContextMenuEventTo_p_wxCommandEvent
, 0, 0}, {&_swigt__p_wxChildFocusEvent
, _p_wxChildFocusEventTo_p_wxCommandEvent
, 0, 0}, {&_swigt__p_wxWindowCreateEvent
, _p_wxWindowCreateEventTo_p_wxCommandEvent
, 0, 0}, {&_swigt__p_wxDateEvent
, _p_wxDateEventTo_p_wxCommandEvent
, 0, 0}, {&_swigt__p_wxNotifyEvent
, _p_wxNotifyEventTo_p_wxCommandEvent
, 0, 0}, {&_swigt__p_wxFindDialogEvent
, _p_wxFindDialogEventTo_p_wxCommandEvent
, 0, 0}, {&_swigt__p_wxUpdateUIEvent
, _p_wxUpdateUIEventTo_p_wxCommandEvent
, 0, 0},{0, 0, 0, 0}};
32681 static swig_cast_info _swigc__p_wxDC
[] = { {&_swigt__p_wxDC
, 0, 0, 0},{0, 0, 0, 0}};
32682 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}};
32683 static swig_cast_info _swigc__p_wxDirDialog
[] = { {&_swigt__p_wxDirDialog
, 0, 0, 0},{0, 0, 0, 0}};
32684 static swig_cast_info _swigc__p_wxDuplexMode
[] = { {&_swigt__p_wxDuplexMode
, 0, 0, 0},{0, 0, 0, 0}};
32685 static swig_cast_info _swigc__p_wxMenuEvent
[] = {{&_swigt__p_wxMenuEvent
, 0, 0, 0},{0, 0, 0, 0}};
32686 static swig_cast_info _swigc__p_wxCloseEvent
[] = {{&_swigt__p_wxCloseEvent
, 0, 0, 0},{0, 0, 0, 0}};
32687 static swig_cast_info _swigc__p_wxMouseEvent
[] = {{&_swigt__p_wxMouseEvent
, 0, 0, 0},{0, 0, 0, 0}};
32688 static swig_cast_info _swigc__p_wxEraseEvent
[] = {{&_swigt__p_wxEraseEvent
, 0, 0, 0},{0, 0, 0, 0}};
32689 static swig_cast_info _swigc__p_wxSetCursorEvent
[] = {{&_swigt__p_wxSetCursorEvent
, 0, 0, 0},{0, 0, 0, 0}};
32690 static swig_cast_info _swigc__p_wxInitDialogEvent
[] = {{&_swigt__p_wxInitDialogEvent
, 0, 0, 0},{0, 0, 0, 0}};
32691 static swig_cast_info _swigc__p_wxPyEvent
[] = {{&_swigt__p_wxPyEvent
, 0, 0, 0},{0, 0, 0, 0}};
32692 static swig_cast_info _swigc__p_wxIdleEvent
[] = {{&_swigt__p_wxIdleEvent
, 0, 0, 0},{0, 0, 0, 0}};
32693 static swig_cast_info _swigc__p_wxQueryNewPaletteEvent
[] = {{&_swigt__p_wxQueryNewPaletteEvent
, 0, 0, 0},{0, 0, 0, 0}};
32694 static swig_cast_info _swigc__p_wxMaximizeEvent
[] = {{&_swigt__p_wxMaximizeEvent
, 0, 0, 0},{0, 0, 0, 0}};
32695 static swig_cast_info _swigc__p_wxIconizeEvent
[] = {{&_swigt__p_wxIconizeEvent
, 0, 0, 0},{0, 0, 0, 0}};
32696 static swig_cast_info _swigc__p_wxActivateEvent
[] = {{&_swigt__p_wxActivateEvent
, 0, 0, 0},{0, 0, 0, 0}};
32697 static swig_cast_info _swigc__p_wxSizeEvent
[] = {{&_swigt__p_wxSizeEvent
, 0, 0, 0},{0, 0, 0, 0}};
32698 static swig_cast_info _swigc__p_wxMoveEvent
[] = {{&_swigt__p_wxMoveEvent
, 0, 0, 0},{0, 0, 0, 0}};
32699 static swig_cast_info _swigc__p_wxPaintEvent
[] = {{&_swigt__p_wxPaintEvent
, 0, 0, 0},{0, 0, 0, 0}};
32700 static swig_cast_info _swigc__p_wxNcPaintEvent
[] = {{&_swigt__p_wxNcPaintEvent
, 0, 0, 0},{0, 0, 0, 0}};
32701 static swig_cast_info _swigc__p_wxPaletteChangedEvent
[] = {{&_swigt__p_wxPaletteChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
32702 static swig_cast_info _swigc__p_wxDisplayChangedEvent
[] = {{&_swigt__p_wxDisplayChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
32703 static swig_cast_info _swigc__p_wxMouseCaptureChangedEvent
[] = {{&_swigt__p_wxMouseCaptureChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
32704 static swig_cast_info _swigc__p_wxSysColourChangedEvent
[] = {{&_swigt__p_wxSysColourChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
32705 static swig_cast_info _swigc__p_wxDropFilesEvent
[] = {{&_swigt__p_wxDropFilesEvent
, 0, 0, 0},{0, 0, 0, 0}};
32706 static swig_cast_info _swigc__p_wxFocusEvent
[] = {{&_swigt__p_wxFocusEvent
, 0, 0, 0},{0, 0, 0, 0}};
32707 static swig_cast_info _swigc__p_wxShowEvent
[] = {{&_swigt__p_wxShowEvent
, 0, 0, 0},{0, 0, 0, 0}};
32708 static swig_cast_info _swigc__p_wxNavigationKeyEvent
[] = {{&_swigt__p_wxNavigationKeyEvent
, 0, 0, 0},{0, 0, 0, 0}};
32709 static swig_cast_info _swigc__p_wxKeyEvent
[] = {{&_swigt__p_wxKeyEvent
, 0, 0, 0},{0, 0, 0, 0}};
32710 static swig_cast_info _swigc__p_wxEvent
[] = { {&_swigt__p_wxContextMenuEvent
, _p_wxContextMenuEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxMenuEvent
, _p_wxMenuEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxCloseEvent
, _p_wxCloseEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxMouseEvent
, _p_wxMouseEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxEraseEvent
, _p_wxEraseEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxSetCursorEvent
, _p_wxSetCursorEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxSplitterEvent
, _p_wxSplitterEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxInitDialogEvent
, _p_wxInitDialogEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxFindDialogEvent
, _p_wxFindDialogEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxScrollEvent
, _p_wxScrollEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxNotifyEvent
, _p_wxNotifyEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxPyEvent
, _p_wxPyEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_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_wxClipboardTextEvent
, _p_wxClipboardTextEventTo_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}};
32711 static swig_cast_info _swigc__p_wxValidator
[] = {{&_swigt__p_wxValidator
, 0, 0, 0},{0, 0, 0, 0}};
32712 static swig_cast_info _swigc__p_wxPyValidator
[] = {{&_swigt__p_wxPyValidator
, 0, 0, 0},{0, 0, 0, 0}};
32713 static swig_cast_info _swigc__p_wxControl
[] = {{&_swigt__p_wxControl
, 0, 0, 0},{0, 0, 0, 0}};
32714 static swig_cast_info _swigc__p_wxPyApp
[] = {{&_swigt__p_wxPyApp
, 0, 0, 0},{0, 0, 0, 0}};
32715 static swig_cast_info _swigc__p_wxControlWithItems
[] = {{&_swigt__p_wxControlWithItems
, 0, 0, 0},{0, 0, 0, 0}};
32716 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}};
32717 static swig_cast_info _swigc__p_wxFileDialog
[] = { {&_swigt__p_wxFileDialog
, 0, 0, 0},{0, 0, 0, 0}};
32718 static swig_cast_info _swigc__p_wxFileSystem
[] = { {&_swigt__p_wxFileSystem
, 0, 0, 0},{0, 0, 0, 0}};
32719 static swig_cast_info _swigc__p_wxFindDialogEvent
[] = { {&_swigt__p_wxFindDialogEvent
, 0, 0, 0},{0, 0, 0, 0}};
32720 static swig_cast_info _swigc__p_wxFindReplaceData
[] = { {&_swigt__p_wxFindReplaceData
, 0, 0, 0},{0, 0, 0, 0}};
32721 static swig_cast_info _swigc__p_wxFindReplaceDialog
[] = { {&_swigt__p_wxFindReplaceDialog
, 0, 0, 0},{0, 0, 0, 0}};
32722 static swig_cast_info _swigc__p_wxFont
[] = { {&_swigt__p_wxFont
, 0, 0, 0},{0, 0, 0, 0}};
32723 static swig_cast_info _swigc__p_wxFontData
[] = { {&_swigt__p_wxFontData
, 0, 0, 0},{0, 0, 0, 0}};
32724 static swig_cast_info _swigc__p_wxFontDialog
[] = { {&_swigt__p_wxFontDialog
, 0, 0, 0},{0, 0, 0, 0}};
32725 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}};
32726 static swig_cast_info _swigc__p_wxHtmlLinkInfo
[] = { {&_swigt__p_wxHtmlLinkInfo
, 0, 0, 0},{0, 0, 0, 0}};
32727 static swig_cast_info _swigc__p_wxIcon
[] = { {&_swigt__p_wxIcon
, 0, 0, 0},{0, 0, 0, 0}};
32728 static swig_cast_info _swigc__p_wxIconBundle
[] = { {&_swigt__p_wxIconBundle
, 0, 0, 0},{0, 0, 0, 0}};
32729 static swig_cast_info _swigc__p_wxLayoutAlgorithm
[] = { {&_swigt__p_wxLayoutAlgorithm
, 0, 0, 0},{0, 0, 0, 0}};
32730 static swig_cast_info _swigc__p_wxMDIChildFrame
[] = { {&_swigt__p_wxMDIChildFrame
, 0, 0, 0},{0, 0, 0, 0}};
32731 static swig_cast_info _swigc__p_wxMDIClientWindow
[] = { {&_swigt__p_wxMDIClientWindow
, 0, 0, 0},{0, 0, 0, 0}};
32732 static swig_cast_info _swigc__p_wxMDIParentFrame
[] = { {&_swigt__p_wxMDIParentFrame
, 0, 0, 0},{0, 0, 0, 0}};
32733 static swig_cast_info _swigc__p_wxMenu
[] = { {&_swigt__p_wxMenu
, 0, 0, 0},{0, 0, 0, 0}};
32734 static swig_cast_info _swigc__p_wxMenuBar
[] = { {&_swigt__p_wxMenuBar
, 0, 0, 0},{0, 0, 0, 0}};
32735 static swig_cast_info _swigc__p_wxMessageDialog
[] = { {&_swigt__p_wxMessageDialog
, 0, 0, 0},{0, 0, 0, 0}};
32736 static swig_cast_info _swigc__p_wxMiniFrame
[] = { {&_swigt__p_wxMiniFrame
, 0, 0, 0},{0, 0, 0, 0}};
32737 static swig_cast_info _swigc__p_wxMultiChoiceDialog
[] = { {&_swigt__p_wxMultiChoiceDialog
, 0, 0, 0},{0, 0, 0, 0}};
32738 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}};
32739 static swig_cast_info _swigc__p_wxLayoutConstraints
[] = {{&_swigt__p_wxLayoutConstraints
, 0, 0, 0},{0, 0, 0, 0}};
32740 static swig_cast_info _swigc__p_wxGBSizerItem
[] = {{&_swigt__p_wxGBSizerItem
, 0, 0, 0},{0, 0, 0, 0}};
32741 static swig_cast_info _swigc__p_wxSizerItem
[] = {{&_swigt__p_wxSizerItem
, 0, 0, 0},{0, 0, 0, 0}};
32742 static swig_cast_info _swigc__p_wxIndividualLayoutConstraint
[] = {{&_swigt__p_wxIndividualLayoutConstraint
, 0, 0, 0},{0, 0, 0, 0}};
32743 static swig_cast_info _swigc__p_wxStaticBoxSizer
[] = {{&_swigt__p_wxStaticBoxSizer
, 0, 0, 0},{0, 0, 0, 0}};
32744 static swig_cast_info _swigc__p_wxBoxSizer
[] = {{&_swigt__p_wxBoxSizer
, 0, 0, 0},{0, 0, 0, 0}};
32745 static swig_cast_info _swigc__p_wxSizer
[] = {{&_swigt__p_wxSizer
, 0, 0, 0},{0, 0, 0, 0}};
32746 static swig_cast_info _swigc__p_wxGridBagSizer
[] = {{&_swigt__p_wxGridBagSizer
, 0, 0, 0},{0, 0, 0, 0}};
32747 static swig_cast_info _swigc__p_wxGridSizer
[] = {{&_swigt__p_wxGridSizer
, 0, 0, 0},{0, 0, 0, 0}};
32748 static swig_cast_info _swigc__p_wxFlexGridSizer
[] = {{&_swigt__p_wxFlexGridSizer
, 0, 0, 0},{0, 0, 0, 0}};
32749 static swig_cast_info _swigc__p_wxFSFile
[] = {{&_swigt__p_wxFSFile
, 0, 0, 0},{0, 0, 0, 0}};
32750 static swig_cast_info _swigc__p_wxPySizer
[] = {{&_swigt__p_wxPySizer
, 0, 0, 0},{0, 0, 0, 0}};
32751 static swig_cast_info _swigc__p_wxMenuItem
[] = {{&_swigt__p_wxMenuItem
, 0, 0, 0},{0, 0, 0, 0}};
32752 static swig_cast_info _swigc__p_wxPyImageHandler
[] = {{&_swigt__p_wxPyImageHandler
, 0, 0, 0},{0, 0, 0, 0}};
32753 static swig_cast_info _swigc__p_wxBMPHandler
[] = {{&_swigt__p_wxBMPHandler
, 0, 0, 0},{0, 0, 0, 0}};
32754 static swig_cast_info _swigc__p_wxICOHandler
[] = {{&_swigt__p_wxICOHandler
, 0, 0, 0},{0, 0, 0, 0}};
32755 static swig_cast_info _swigc__p_wxCURHandler
[] = {{&_swigt__p_wxCURHandler
, 0, 0, 0},{0, 0, 0, 0}};
32756 static swig_cast_info _swigc__p_wxANIHandler
[] = {{&_swigt__p_wxANIHandler
, 0, 0, 0},{0, 0, 0, 0}};
32757 static swig_cast_info _swigc__p_wxPNGHandler
[] = {{&_swigt__p_wxPNGHandler
, 0, 0, 0},{0, 0, 0, 0}};
32758 static swig_cast_info _swigc__p_wxGIFHandler
[] = {{&_swigt__p_wxGIFHandler
, 0, 0, 0},{0, 0, 0, 0}};
32759 static swig_cast_info _swigc__p_wxPCXHandler
[] = {{&_swigt__p_wxPCXHandler
, 0, 0, 0},{0, 0, 0, 0}};
32760 static swig_cast_info _swigc__p_wxJPEGHandler
[] = {{&_swigt__p_wxJPEGHandler
, 0, 0, 0},{0, 0, 0, 0}};
32761 static swig_cast_info _swigc__p_wxPNMHandler
[] = {{&_swigt__p_wxPNMHandler
, 0, 0, 0},{0, 0, 0, 0}};
32762 static swig_cast_info _swigc__p_wxImageHandler
[] = {{&_swigt__p_wxImageHandler
, 0, 0, 0},{0, 0, 0, 0}};
32763 static swig_cast_info _swigc__p_wxXPMHandler
[] = {{&_swigt__p_wxXPMHandler
, 0, 0, 0},{0, 0, 0, 0}};
32764 static swig_cast_info _swigc__p_wxTIFFHandler
[] = {{&_swigt__p_wxTIFFHandler
, 0, 0, 0},{0, 0, 0, 0}};
32765 static swig_cast_info _swigc__p_wxAcceleratorTable
[] = {{&_swigt__p_wxAcceleratorTable
, 0, 0, 0},{0, 0, 0, 0}};
32766 static swig_cast_info _swigc__p_wxImage
[] = {{&_swigt__p_wxImage
, 0, 0, 0},{0, 0, 0, 0}};
32767 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_wxClipboardTextEvent
, _p_wxClipboardTextEventTo_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_wxNotifyEvent
, _p_wxNotifyEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyEvent
, _p_wxPyEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyWindow
, _p_wxPyWindowTo_p_wxObject
, 0, 0}, {&_swigt__p_wxSplashScreen
, _p_wxSplashScreenTo_p_wxObject
, 0, 0}, {&_swigt__p_wxProgressDialog
, _p_wxProgressDialogTo_p_wxObject
, 0, 0}, {&_swigt__p_wxFindReplaceDialog
, _p_wxFindReplaceDialogTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMessageDialog
, _p_wxMessageDialogTo_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_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_wxImageHandler
, _p_wxImageHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxXPMHandler
, _p_wxXPMHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxTIFFHandler
, _p_wxTIFFHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxEvtHandler
, _p_wxEvtHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyVListBox
, _p_wxPyVListBoxTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyHtmlListBox
, _p_wxPyHtmlListBoxTo_p_wxObject
, 0, 0}, {&_swigt__p_wxStdDialogButtonSizer
, _p_wxStdDialogButtonSizerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxAcceleratorTable
, _p_wxAcceleratorTableTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMiniFrame
, _p_wxMiniFrameTo_p_wxObject
, 0, 0}, {&_swigt__p_wxImage
, _p_wxImageTo_p_wxObject
, 0, 0}, {&_swigt__p_wxFrame
, _p_wxFrameTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyPrintout
, _p_wxPyPrintoutTo_p_wxObject
, 0, 0}, {&_swigt__p_wxTaskBarIconEvent
, _p_wxTaskBarIconEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxScrollWinEvent
, _p_wxScrollWinEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxStatusBar
, _p_wxStatusBarTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMDIParentFrame
, _p_wxMDIParentFrameTo_p_wxObject
, 0, 0}, {&_swigt__p_wxObject
, 0, 0, 0}, {&_swigt__p_wxKeyEvent
, _p_wxKeyEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxNavigationKeyEvent
, _p_wxNavigationKeyEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxWindowDestroyEvent
, _p_wxWindowDestroyEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMenuBar
, _p_wxMenuBarTo_p_wxObject
, 0, 0}, {&_swigt__p_wxScrolledWindow
, _p_wxScrolledWindowTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyScrolledWindow
, _p_wxPyScrolledWindowTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyVScrolledWindow
, _p_wxPyVScrolledWindowTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMDIClientWindow
, _p_wxMDIClientWindowTo_p_wxObject
, 0, 0}, {&_swigt__p_wxTopLevelWindow
, _p_wxTopLevelWindowTo_p_wxObject
, 0, 0}, {&_swigt__p_wxWindow
, _p_wxWindowTo_p_wxObject
, 0, 0}, {&_swigt__p_wxSashWindow
, _p_wxSashWindowTo_p_wxObject
, 0, 0}, {&_swigt__p_wxSashLayoutWindow
, _p_wxSashLayoutWindowTo_p_wxObject
, 0, 0}, {&_swigt__p_wxSplitterWindow
, _p_wxSplitterWindowTo_p_wxObject
, 0, 0}, {&_swigt__p_wxSplashScreenWindow
, _p_wxSplashScreenWindowTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPopupWindow
, _p_wxPopupWindowTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyPopupTransientWindow
, _p_wxPyPopupTransientWindowTo_p_wxObject
, 0, 0}, {&_swigt__p_wxTipWindow
, _p_wxTipWindowTo_p_wxObject
, 0, 0}, {&_swigt__p_wxSashEvent
, _p_wxSashEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPrintPreview
, _p_wxPrintPreviewTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyPrintPreview
, _p_wxPyPrintPreviewTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPanel
, _p_wxPanelTo_p_wxObject
, 0, 0}, {&_swigt__p_wxDialog
, _p_wxDialogTo_p_wxObject
, 0, 0}, {&_swigt__p_wxColourDialog
, _p_wxColourDialogTo_p_wxObject
, 0, 0}, {&_swigt__p_wxDirDialog
, _p_wxDirDialogTo_p_wxObject
, 0, 0}, {&_swigt__p_wxFontDialog
, _p_wxFontDialogTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPageSetupDialog
, _p_wxPageSetupDialogTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPrintDialog
, _p_wxPrintDialogTo_p_wxObject
, 0, 0}, {&_swigt__p_wxFileSystem
, _p_wxFileSystemTo_p_wxObject
, 0, 0}, {&_swigt__p_wxContextMenuEvent
, _p_wxContextMenuEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMenuEvent
, _p_wxMenuEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxCloseEvent
, _p_wxCloseEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMouseEvent
, _p_wxMouseEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxEraseEvent
, _p_wxEraseEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyApp
, _p_wxPyAppTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyCommandEvent
, _p_wxPyCommandEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxCommandEvent
, _p_wxCommandEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPreviewControlBar
, _p_wxPreviewControlBarTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyPreviewControlBar
, _p_wxPyPreviewControlBarTo_p_wxObject
, 0, 0}, {&_swigt__p_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}};
32768 static swig_cast_info _swigc__p_wxPageSetupDialog
[] = { {&_swigt__p_wxPageSetupDialog
, 0, 0, 0},{0, 0, 0, 0}};
32769 static swig_cast_info _swigc__p_wxPageSetupDialogData
[] = { {&_swigt__p_wxPageSetupDialogData
, 0, 0, 0},{0, 0, 0, 0}};
32770 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}};
32771 static swig_cast_info _swigc__p_wxPaperSize
[] = { {&_swigt__p_wxPaperSize
, 0, 0, 0},{0, 0, 0, 0}};
32772 static swig_cast_info _swigc__p_wxPasswordEntryDialog
[] = { {&_swigt__p_wxPasswordEntryDialog
, 0, 0, 0},{0, 0, 0, 0}};
32773 static swig_cast_info _swigc__p_wxPoint
[] = { {&_swigt__p_wxPoint
, 0, 0, 0},{0, 0, 0, 0}};
32774 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}};
32775 static swig_cast_info _swigc__p_wxPreviewCanvas
[] = { {&_swigt__p_wxPreviewCanvas
, 0, 0, 0},{0, 0, 0, 0}};
32776 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}};
32777 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}};
32778 static swig_cast_info _swigc__p_wxPrintData
[] = { {&_swigt__p_wxPrintData
, 0, 0, 0},{0, 0, 0, 0}};
32779 static swig_cast_info _swigc__p_wxPrintDialog
[] = { {&_swigt__p_wxPrintDialog
, 0, 0, 0},{0, 0, 0, 0}};
32780 static swig_cast_info _swigc__p_wxPrintDialogData
[] = { {&_swigt__p_wxPrintDialogData
, 0, 0, 0},{0, 0, 0, 0}};
32781 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}};
32782 static swig_cast_info _swigc__p_wxPrinter
[] = { {&_swigt__p_wxPrinter
, 0, 0, 0},{0, 0, 0, 0}};
32783 static swig_cast_info _swigc__p_wxProgressDialog
[] = { {&_swigt__p_wxProgressDialog
, 0, 0, 0},{0, 0, 0, 0}};
32784 static swig_cast_info _swigc__p_wxPyHtmlListBox
[] = { {&_swigt__p_wxPyHtmlListBox
, 0, 0, 0},{0, 0, 0, 0}};
32785 static swig_cast_info _swigc__p_wxPyPanel
[] = { {&_swigt__p_wxPyPanel
, 0, 0, 0},{0, 0, 0, 0}};
32786 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}};
32787 static swig_cast_info _swigc__p_wxPyPreviewControlBar
[] = { {&_swigt__p_wxPyPreviewControlBar
, 0, 0, 0},{0, 0, 0, 0}};
32788 static swig_cast_info _swigc__p_wxPyPreviewFrame
[] = { {&_swigt__p_wxPyPreviewFrame
, 0, 0, 0},{0, 0, 0, 0}};
32789 static swig_cast_info _swigc__p_wxPyPrintPreview
[] = { {&_swigt__p_wxPyPrintPreview
, 0, 0, 0},{0, 0, 0, 0}};
32790 static swig_cast_info _swigc__p_wxPyPrintout
[] = { {&_swigt__p_wxPyPrintout
, 0, 0, 0},{0, 0, 0, 0}};
32791 static swig_cast_info _swigc__p_wxPyScrolledWindow
[] = { {&_swigt__p_wxPyScrolledWindow
, 0, 0, 0},{0, 0, 0, 0}};
32792 static swig_cast_info _swigc__p_wxPyTaskBarIcon
[] = { {&_swigt__p_wxPyTaskBarIcon
, 0, 0, 0},{0, 0, 0, 0}};
32793 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}};
32794 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}};
32795 static swig_cast_info _swigc__p_wxPyWindow
[] = { {&_swigt__p_wxPyWindow
, 0, 0, 0},{0, 0, 0, 0}};
32796 static swig_cast_info _swigc__p_wxQueryLayoutInfoEvent
[] = { {&_swigt__p_wxQueryLayoutInfoEvent
, 0, 0, 0},{0, 0, 0, 0}};
32797 static swig_cast_info _swigc__p_wxRect
[] = { {&_swigt__p_wxRect
, 0, 0, 0},{0, 0, 0, 0}};
32798 static swig_cast_info _swigc__p_wxRegion
[] = { {&_swigt__p_wxRegion
, 0, 0, 0},{0, 0, 0, 0}};
32799 static swig_cast_info _swigc__p_wxSashEvent
[] = { {&_swigt__p_wxSashEvent
, 0, 0, 0},{0, 0, 0, 0}};
32800 static swig_cast_info _swigc__p_wxSashLayoutWindow
[] = { {&_swigt__p_wxSashLayoutWindow
, 0, 0, 0},{0, 0, 0, 0}};
32801 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}};
32802 static swig_cast_info _swigc__p_wxScrollWinEvent
[] = { {&_swigt__p_wxScrollWinEvent
, 0, 0, 0},{0, 0, 0, 0}};
32803 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}};
32804 static swig_cast_info _swigc__p_wxSingleChoiceDialog
[] = { {&_swigt__p_wxSingleChoiceDialog
, 0, 0, 0},{0, 0, 0, 0}};
32805 static swig_cast_info _swigc__p_wxSize
[] = { {&_swigt__p_wxSize
, 0, 0, 0},{0, 0, 0, 0}};
32806 static swig_cast_info _swigc__p_wxSplashScreen
[] = { {&_swigt__p_wxSplashScreen
, 0, 0, 0},{0, 0, 0, 0}};
32807 static swig_cast_info _swigc__p_wxSplashScreenWindow
[] = { {&_swigt__p_wxSplashScreenWindow
, 0, 0, 0},{0, 0, 0, 0}};
32808 static swig_cast_info _swigc__p_wxSplitterEvent
[] = { {&_swigt__p_wxSplitterEvent
, 0, 0, 0},{0, 0, 0, 0}};
32809 static swig_cast_info _swigc__p_wxSplitterWindow
[] = { {&_swigt__p_wxSplitterWindow
, 0, 0, 0},{0, 0, 0, 0}};
32810 static swig_cast_info _swigc__p_wxStatusBar
[] = { {&_swigt__p_wxStatusBar
, 0, 0, 0},{0, 0, 0, 0}};
32811 static swig_cast_info _swigc__p_wxStdDialogButtonSizer
[] = { {&_swigt__p_wxStdDialogButtonSizer
, 0, 0, 0},{0, 0, 0, 0}};
32812 static swig_cast_info _swigc__p_wxString
[] = { {&_swigt__p_wxString
, 0, 0, 0},{0, 0, 0, 0}};
32813 static swig_cast_info _swigc__p_wxTaskBarIcon
[] = { {&_swigt__p_wxTaskBarIcon
, 0, 0, 0},{0, 0, 0, 0}};
32814 static swig_cast_info _swigc__p_wxTaskBarIconEvent
[] = { {&_swigt__p_wxTaskBarIconEvent
, 0, 0, 0},{0, 0, 0, 0}};
32815 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}};
32816 static swig_cast_info _swigc__p_wxTipWindow
[] = { {&_swigt__p_wxTipWindow
, 0, 0, 0},{0, 0, 0, 0}};
32817 static swig_cast_info _swigc__p_wxToolBar
[] = { {&_swigt__p_wxToolBar
, 0, 0, 0},{0, 0, 0, 0}};
32818 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}};
32819 static swig_cast_info _swigc__p_wxVisualAttributes
[] = { {&_swigt__p_wxVisualAttributes
, 0, 0, 0},{0, 0, 0, 0}};
32820 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}};
32822 static swig_cast_info
*swig_cast_initial
[] = {
32825 _swigc__p_form_ops_t
,
32827 _swigc__p_unsigned_char
,
32828 _swigc__p_unsigned_int
,
32829 _swigc__p_unsigned_long
,
32830 _swigc__p_wxANIHandler
,
32831 _swigc__p_wxAcceleratorTable
,
32832 _swigc__p_wxActivateEvent
,
32833 _swigc__p_wxArrayInt
,
32834 _swigc__p_wxBMPHandler
,
32835 _swigc__p_wxBitmap
,
32836 _swigc__p_wxBoxSizer
,
32837 _swigc__p_wxCURHandler
,
32838 _swigc__p_wxCalculateLayoutEvent
,
32839 _swigc__p_wxChildFocusEvent
,
32840 _swigc__p_wxClipboardTextEvent
,
32841 _swigc__p_wxCloseEvent
,
32842 _swigc__p_wxColour
,
32843 _swigc__p_wxColourData
,
32844 _swigc__p_wxColourDialog
,
32845 _swigc__p_wxCommandEvent
,
32846 _swigc__p_wxContextMenuEvent
,
32847 _swigc__p_wxControl
,
32848 _swigc__p_wxControlWithItems
,
32850 _swigc__p_wxDateEvent
,
32851 _swigc__p_wxDialog
,
32852 _swigc__p_wxDirDialog
,
32853 _swigc__p_wxDisplayChangedEvent
,
32854 _swigc__p_wxDropFilesEvent
,
32855 _swigc__p_wxDuplexMode
,
32856 _swigc__p_wxEraseEvent
,
32858 _swigc__p_wxEvtHandler
,
32859 _swigc__p_wxFSFile
,
32860 _swigc__p_wxFileDialog
,
32861 _swigc__p_wxFileSystem
,
32862 _swigc__p_wxFindDialogEvent
,
32863 _swigc__p_wxFindReplaceData
,
32864 _swigc__p_wxFindReplaceDialog
,
32865 _swigc__p_wxFlexGridSizer
,
32866 _swigc__p_wxFocusEvent
,
32868 _swigc__p_wxFontData
,
32869 _swigc__p_wxFontDialog
,
32871 _swigc__p_wxGBSizerItem
,
32872 _swigc__p_wxGIFHandler
,
32873 _swigc__p_wxGridBagSizer
,
32874 _swigc__p_wxGridSizer
,
32875 _swigc__p_wxHtmlLinkInfo
,
32876 _swigc__p_wxICOHandler
,
32878 _swigc__p_wxIconBundle
,
32879 _swigc__p_wxIconizeEvent
,
32880 _swigc__p_wxIdleEvent
,
32882 _swigc__p_wxImageHandler
,
32883 _swigc__p_wxIndividualLayoutConstraint
,
32884 _swigc__p_wxInitDialogEvent
,
32885 _swigc__p_wxJPEGHandler
,
32886 _swigc__p_wxKeyEvent
,
32887 _swigc__p_wxLayoutAlgorithm
,
32888 _swigc__p_wxLayoutConstraints
,
32889 _swigc__p_wxMDIChildFrame
,
32890 _swigc__p_wxMDIClientWindow
,
32891 _swigc__p_wxMDIParentFrame
,
32892 _swigc__p_wxMaximizeEvent
,
32894 _swigc__p_wxMenuBar
,
32895 _swigc__p_wxMenuEvent
,
32896 _swigc__p_wxMenuItem
,
32897 _swigc__p_wxMessageDialog
,
32898 _swigc__p_wxMiniFrame
,
32899 _swigc__p_wxMouseCaptureChangedEvent
,
32900 _swigc__p_wxMouseEvent
,
32901 _swigc__p_wxMoveEvent
,
32902 _swigc__p_wxMultiChoiceDialog
,
32903 _swigc__p_wxNavigationKeyEvent
,
32904 _swigc__p_wxNcPaintEvent
,
32905 _swigc__p_wxNotifyEvent
,
32906 _swigc__p_wxObject
,
32907 _swigc__p_wxPCXHandler
,
32908 _swigc__p_wxPNGHandler
,
32909 _swigc__p_wxPNMHandler
,
32910 _swigc__p_wxPageSetupDialog
,
32911 _swigc__p_wxPageSetupDialogData
,
32912 _swigc__p_wxPaintEvent
,
32913 _swigc__p_wxPaletteChangedEvent
,
32915 _swigc__p_wxPaperSize
,
32916 _swigc__p_wxPasswordEntryDialog
,
32918 _swigc__p_wxPopupWindow
,
32919 _swigc__p_wxPreviewCanvas
,
32920 _swigc__p_wxPreviewControlBar
,
32921 _swigc__p_wxPreviewFrame
,
32922 _swigc__p_wxPrintData
,
32923 _swigc__p_wxPrintDialog
,
32924 _swigc__p_wxPrintDialogData
,
32925 _swigc__p_wxPrintPreview
,
32926 _swigc__p_wxPrinter
,
32927 _swigc__p_wxProgressDialog
,
32929 _swigc__p_wxPyCommandEvent
,
32930 _swigc__p_wxPyEvent
,
32931 _swigc__p_wxPyHtmlListBox
,
32932 _swigc__p_wxPyImageHandler
,
32933 _swigc__p_wxPyPanel
,
32934 _swigc__p_wxPyPopupTransientWindow
,
32935 _swigc__p_wxPyPreviewControlBar
,
32936 _swigc__p_wxPyPreviewFrame
,
32937 _swigc__p_wxPyPrintPreview
,
32938 _swigc__p_wxPyPrintout
,
32939 _swigc__p_wxPyScrolledWindow
,
32940 _swigc__p_wxPySizer
,
32941 _swigc__p_wxPyTaskBarIcon
,
32942 _swigc__p_wxPyVListBox
,
32943 _swigc__p_wxPyVScrolledWindow
,
32944 _swigc__p_wxPyValidator
,
32945 _swigc__p_wxPyWindow
,
32946 _swigc__p_wxQueryLayoutInfoEvent
,
32947 _swigc__p_wxQueryNewPaletteEvent
,
32949 _swigc__p_wxRegion
,
32950 _swigc__p_wxSashEvent
,
32951 _swigc__p_wxSashLayoutWindow
,
32952 _swigc__p_wxSashWindow
,
32953 _swigc__p_wxScrollEvent
,
32954 _swigc__p_wxScrollWinEvent
,
32955 _swigc__p_wxScrolledWindow
,
32956 _swigc__p_wxSetCursorEvent
,
32957 _swigc__p_wxShowEvent
,
32958 _swigc__p_wxSingleChoiceDialog
,
32960 _swigc__p_wxSizeEvent
,
32962 _swigc__p_wxSizerItem
,
32963 _swigc__p_wxSplashScreen
,
32964 _swigc__p_wxSplashScreenWindow
,
32965 _swigc__p_wxSplitterEvent
,
32966 _swigc__p_wxSplitterWindow
,
32967 _swigc__p_wxStaticBoxSizer
,
32968 _swigc__p_wxStatusBar
,
32969 _swigc__p_wxStdDialogButtonSizer
,
32970 _swigc__p_wxString
,
32971 _swigc__p_wxSysColourChangedEvent
,
32972 _swigc__p_wxTIFFHandler
,
32973 _swigc__p_wxTaskBarIcon
,
32974 _swigc__p_wxTaskBarIconEvent
,
32975 _swigc__p_wxTextEntryDialog
,
32976 _swigc__p_wxTipWindow
,
32977 _swigc__p_wxToolBar
,
32978 _swigc__p_wxTopLevelWindow
,
32979 _swigc__p_wxUpdateUIEvent
,
32980 _swigc__p_wxValidator
,
32981 _swigc__p_wxVisualAttributes
,
32982 _swigc__p_wxWindow
,
32983 _swigc__p_wxWindowCreateEvent
,
32984 _swigc__p_wxWindowDestroyEvent
,
32985 _swigc__p_wxXPMHandler
,
32989 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
32991 static swig_const_info swig_const_table
[] = {
32992 {0, 0, 0, 0.0, 0, 0}};
32997 /* -----------------------------------------------------------------------------
32998 * Type initialization:
32999 * This problem is tough by the requirement that no dynamic
33000 * memory is used. Also, since swig_type_info structures store pointers to
33001 * swig_cast_info structures and swig_cast_info structures store pointers back
33002 * to swig_type_info structures, we need some lookup code at initialization.
33003 * The idea is that swig generates all the structures that are needed.
33004 * The runtime then collects these partially filled structures.
33005 * The SWIG_InitializeModule function takes these initial arrays out of
33006 * swig_module, and does all the lookup, filling in the swig_module.types
33007 * array with the correct data and linking the correct swig_cast_info
33008 * structures together.
33010 * The generated swig_type_info structures are assigned staticly to an initial
33011 * array. We just loop though that array, and handle each type individually.
33012 * First we lookup if this type has been already loaded, and if so, use the
33013 * loaded structure instead of the generated one. Then we have to fill in the
33014 * cast linked list. The cast data is initially stored in something like a
33015 * two-dimensional array. Each row corresponds to a type (there are the same
33016 * number of rows as there are in the swig_type_initial array). Each entry in
33017 * a column is one of the swig_cast_info structures for that type.
33018 * The cast_initial array is actually an array of arrays, because each row has
33019 * a variable number of columns. So to actually build the cast linked list,
33020 * we find the array of casts associated with the type, and loop through it
33021 * adding the casts to the list. The one last trick we need to do is making
33022 * sure the type pointer in the swig_cast_info struct is correct.
33024 * First off, we lookup the cast->type name to see if it is already loaded.
33025 * There are three cases to handle:
33026 * 1) If the cast->type has already been loaded AND the type we are adding
33027 * casting info to has not been loaded (it is in this module), THEN we
33028 * replace the cast->type pointer with the type pointer that has already
33030 * 2) If BOTH types (the one we are adding casting info to, and the
33031 * cast->type) are loaded, THEN the cast info has already been loaded by
33032 * the previous module so we just ignore it.
33033 * 3) Finally, if cast->type has not already been loaded, then we add that
33034 * swig_cast_info to the linked list (because the cast->type) pointer will
33036 * ----------------------------------------------------------------------------- */
33046 #define SWIGRUNTIME_DEBUG
33050 SWIG_InitializeModule(void *clientdata
) {
33052 swig_module_info
*module_head
;
33053 static int init_run
= 0;
33055 clientdata
= clientdata
;
33057 if (init_run
) return;
33060 /* Initialize the swig_module */
33061 swig_module
.type_initial
= swig_type_initial
;
33062 swig_module
.cast_initial
= swig_cast_initial
;
33064 /* Try and load any already created modules */
33065 module_head
= SWIG_GetModule(clientdata
);
33067 swig_module
.next
= module_head
->next
;
33068 module_head
->next
= &swig_module
;
33070 /* This is the first module loaded */
33071 swig_module
.next
= &swig_module
;
33072 SWIG_SetModule(clientdata
, &swig_module
);
33075 /* Now work on filling in swig_module.types */
33076 #ifdef SWIGRUNTIME_DEBUG
33077 printf("SWIG_InitializeModule: size %d\n", swig_module
.size
);
33079 for (i
= 0; i
< swig_module
.size
; ++i
) {
33080 swig_type_info
*type
= 0;
33081 swig_type_info
*ret
;
33082 swig_cast_info
*cast
;
33084 #ifdef SWIGRUNTIME_DEBUG
33085 printf("SWIG_InitializeModule: type %d %s\n", i
, swig_module
.type_initial
[i
]->name
);
33088 /* if there is another module already loaded */
33089 if (swig_module
.next
!= &swig_module
) {
33090 type
= SWIG_MangledTypeQueryModule(swig_module
.next
, &swig_module
, swig_module
.type_initial
[i
]->name
);
33093 /* Overwrite clientdata field */
33094 #ifdef SWIGRUNTIME_DEBUG
33095 printf("SWIG_InitializeModule: found type %s\n", type
->name
);
33097 if (swig_module
.type_initial
[i
]->clientdata
) {
33098 type
->clientdata
= swig_module
.type_initial
[i
]->clientdata
;
33099 #ifdef SWIGRUNTIME_DEBUG
33100 printf("SWIG_InitializeModule: found and overwrite type %s \n", type
->name
);
33104 type
= swig_module
.type_initial
[i
];
33107 /* Insert casting types */
33108 cast
= swig_module
.cast_initial
[i
];
33109 while (cast
->type
) {
33110 /* Don't need to add information already in the list */
33112 #ifdef SWIGRUNTIME_DEBUG
33113 printf("SWIG_InitializeModule: look cast %s\n", cast
->type
->name
);
33115 if (swig_module
.next
!= &swig_module
) {
33116 ret
= SWIG_MangledTypeQueryModule(swig_module
.next
, &swig_module
, cast
->type
->name
);
33117 #ifdef SWIGRUNTIME_DEBUG
33118 if (ret
) printf("SWIG_InitializeModule: found cast %s\n", ret
->name
);
33122 if (type
== swig_module
.type_initial
[i
]) {
33123 #ifdef SWIGRUNTIME_DEBUG
33124 printf("SWIG_InitializeModule: skip old type %s\n", ret
->name
);
33129 /* Check for casting already in the list */
33130 swig_cast_info
*ocast
= SWIG_TypeCheck(ret
->name
, type
);
33131 #ifdef SWIGRUNTIME_DEBUG
33132 if (ocast
) printf("SWIG_InitializeModule: skip old cast %s\n", ret
->name
);
33134 if (!ocast
) ret
= 0;
33139 #ifdef SWIGRUNTIME_DEBUG
33140 printf("SWIG_InitializeModule: adding cast %s\n", cast
->type
->name
);
33143 type
->cast
->prev
= cast
;
33144 cast
->next
= type
->cast
;
33150 /* Set entry in modules->types array equal to the type */
33151 swig_module
.types
[i
] = type
;
33153 swig_module
.types
[i
] = 0;
33155 #ifdef SWIGRUNTIME_DEBUG
33156 printf("**** SWIG_InitializeModule: Cast List ******\n");
33157 for (i
= 0; i
< swig_module
.size
; ++i
) {
33159 swig_cast_info
*cast
= swig_module
.cast_initial
[i
];
33160 printf("SWIG_InitializeModule: type %d %s\n", i
, swig_module
.type_initial
[i
]->name
);
33161 while (cast
->type
) {
33162 printf("SWIG_InitializeModule: cast type %s\n", cast
->type
->name
);
33166 printf("---- Total casts: %d\n",j
);
33168 printf("**** SWIG_InitializeModule: Cast List ******\n");
33172 /* This function will propagate the clientdata field of type to
33173 * any new swig_type_info structures that have been added into the list
33174 * of equivalent types. It is like calling
33175 * SWIG_TypeClientData(type, clientdata) a second time.
33178 SWIG_PropagateClientData(void) {
33180 swig_cast_info
*equiv
;
33181 static int init_run
= 0;
33183 if (init_run
) return;
33186 for (i
= 0; i
< swig_module
.size
; i
++) {
33187 if (swig_module
.types
[i
]->clientdata
) {
33188 equiv
= swig_module
.types
[i
]->cast
;
33190 if (!equiv
->converter
) {
33191 if (equiv
->type
&& !equiv
->type
->clientdata
)
33192 SWIG_TypeClientData(equiv
->type
, swig_module
.types
[i
]->clientdata
);
33194 equiv
= equiv
->next
;
33214 /* Python-specific SWIG API */
33215 #define SWIG_newvarlink() SWIG_Python_newvarlink()
33216 #define SWIG_addvarlink(p, name, get_attr, set_attr) SWIG_Python_addvarlink(p, name, get_attr, set_attr)
33217 #define SWIG_InstallConstants(d, constants) SWIG_Python_InstallConstants(d, constants)
33219 /* -----------------------------------------------------------------------------
33220 * global variable support code.
33221 * ----------------------------------------------------------------------------- */
33223 typedef struct swig_globalvar
{
33224 char *name
; /* Name of global variable */
33225 PyObject
*(*get_attr
)(void); /* Return the current value */
33226 int (*set_attr
)(PyObject
*); /* Set the value */
33227 struct swig_globalvar
*next
;
33230 typedef struct swig_varlinkobject
{
33232 swig_globalvar
*vars
;
33233 } swig_varlinkobject
;
33235 SWIGINTERN PyObject
*
33236 swig_varlink_repr(swig_varlinkobject
*SWIGUNUSEDPARM(v
)) {
33237 return PyString_FromString("<Swig global variables>");
33240 SWIGINTERN PyObject
*
33241 swig_varlink_str(swig_varlinkobject
*v
) {
33242 PyObject
*str
= PyString_FromString("(");
33243 swig_globalvar
*var
;
33244 for (var
= v
->vars
; var
; var
=var
->next
) {
33245 PyString_ConcatAndDel(&str
,PyString_FromString(var
->name
));
33246 if (var
->next
) PyString_ConcatAndDel(&str
,PyString_FromString(", "));
33248 PyString_ConcatAndDel(&str
,PyString_FromString(")"));
33253 swig_varlink_print(swig_varlinkobject
*v
, FILE *fp
, int SWIGUNUSEDPARM(flags
)) {
33254 PyObject
*str
= swig_varlink_str(v
);
33255 fprintf(fp
,"Swig global variables ");
33256 fprintf(fp
,"%s\n", PyString_AsString(str
));
33262 swig_varlink_dealloc(swig_varlinkobject
*v
) {
33263 swig_globalvar
*var
= v
->vars
;
33265 swig_globalvar
*n
= var
->next
;
33272 SWIGINTERN PyObject
*
33273 swig_varlink_getattr(swig_varlinkobject
*v
, char *n
) {
33274 PyObject
*res
= NULL
;
33275 swig_globalvar
*var
= v
->vars
;
33277 if (strcmp(var
->name
,n
) == 0) {
33278 res
= (*var
->get_attr
)();
33283 if (res
== NULL
&& !PyErr_Occurred()) {
33284 PyErr_SetString(PyExc_NameError
,"Unknown C global variable");
33290 swig_varlink_setattr(swig_varlinkobject
*v
, char *n
, PyObject
*p
) {
33292 swig_globalvar
*var
= v
->vars
;
33294 if (strcmp(var
->name
,n
) == 0) {
33295 res
= (*var
->set_attr
)(p
);
33300 if (res
== 1 && !PyErr_Occurred()) {
33301 PyErr_SetString(PyExc_NameError
,"Unknown C global variable");
33306 SWIGINTERN PyTypeObject
*
33307 swig_varlink_type(void) {
33308 static char varlink__doc__
[] = "Swig var link object";
33309 static PyTypeObject varlink_type
;
33310 static int type_init
= 0;
33312 const PyTypeObject tmp
33314 PyObject_HEAD_INIT(NULL
)
33315 0, /* Number of items in variable part (ob_size) */
33316 (char *)"swigvarlink", /* Type name (tp_name) */
33317 sizeof(swig_varlinkobject
), /* Basic size (tp_basicsize) */
33318 0, /* Itemsize (tp_itemsize) */
33319 (destructor
) swig_varlink_dealloc
, /* Deallocator (tp_dealloc) */
33320 (printfunc
) swig_varlink_print
, /* Print (tp_print) */
33321 (getattrfunc
) swig_varlink_getattr
, /* get attr (tp_getattr) */
33322 (setattrfunc
) swig_varlink_setattr
, /* Set attr (tp_setattr) */
33323 0, /* tp_compare */
33324 (reprfunc
) swig_varlink_repr
, /* tp_repr */
33325 0, /* tp_as_number */
33326 0, /* tp_as_sequence */
33327 0, /* tp_as_mapping */
33330 (reprfunc
)swig_varlink_str
, /* tp_str */
33331 0, /* tp_getattro */
33332 0, /* tp_setattro */
33333 0, /* tp_as_buffer */
33335 varlink__doc__
, /* tp_doc */
33336 0, /* tp_traverse */
33338 0, /* tp_richcompare */
33339 0, /* tp_weaklistoffset */
33340 #if PY_VERSION_HEX >= 0x02020000
33341 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, /* tp_iter -> tp_weaklist */
33343 #if PY_VERSION_HEX >= 0x02030000
33346 #ifdef COUNT_ALLOCS
33347 0,0,0,0 /* tp_alloc -> tp_next */
33350 varlink_type
= tmp
;
33351 varlink_type
.ob_type
= &PyType_Type
;
33354 return &varlink_type
;
33357 /* Create a variable linking object for use later */
33358 SWIGINTERN PyObject
*
33359 SWIG_Python_newvarlink(void) {
33360 swig_varlinkobject
*result
= PyObject_NEW(swig_varlinkobject
, swig_varlink_type());
33364 return ((PyObject
*) result
);
33368 SWIG_Python_addvarlink(PyObject
*p
, char *name
, PyObject
*(*get_attr
)(void), int (*set_attr
)(PyObject
*p
)) {
33369 swig_varlinkobject
*v
= (swig_varlinkobject
*) p
;
33370 swig_globalvar
*gv
= (swig_globalvar
*) malloc(sizeof(swig_globalvar
));
33372 size_t size
= strlen(name
)+1;
33373 gv
->name
= (char *)malloc(size
);
33375 strncpy(gv
->name
,name
,size
);
33376 gv
->get_attr
= get_attr
;
33377 gv
->set_attr
= set_attr
;
33378 gv
->next
= v
->vars
;
33384 SWIGINTERN PyObject
*
33386 static PyObject
*_SWIG_globals
= 0;
33387 if (!_SWIG_globals
) _SWIG_globals
= SWIG_newvarlink();
33388 return _SWIG_globals
;
33391 /* -----------------------------------------------------------------------------
33392 * constants/methods manipulation
33393 * ----------------------------------------------------------------------------- */
33395 /* Install Constants */
33397 SWIG_Python_InstallConstants(PyObject
*d
, swig_const_info constants
[]) {
33400 for (i
= 0; constants
[i
].type
; ++i
) {
33401 switch(constants
[i
].type
) {
33402 case SWIG_PY_POINTER
:
33403 obj
= SWIG_NewPointerObj(constants
[i
].pvalue
, *(constants
[i
]).ptype
,0);
33405 case SWIG_PY_BINARY
:
33406 obj
= SWIG_NewPackedObj(constants
[i
].pvalue
, constants
[i
].lvalue
, *(constants
[i
].ptype
));
33413 PyDict_SetItemString(d
, constants
[i
].name
, obj
);
33419 /* -----------------------------------------------------------------------------*/
33420 /* Fix SwigMethods to carry the callback ptrs when needed */
33421 /* -----------------------------------------------------------------------------*/
33424 SWIG_Python_FixMethods(PyMethodDef
*methods
,
33425 swig_const_info
*const_table
,
33426 swig_type_info
**types
,
33427 swig_type_info
**types_initial
) {
33429 for (i
= 0; methods
[i
].ml_name
; ++i
) {
33430 const char *c
= methods
[i
].ml_doc
;
33431 if (c
&& (c
= strstr(c
, "swig_ptr: "))) {
33433 swig_const_info
*ci
= 0;
33434 const char *name
= c
+ 10;
33435 for (j
= 0; const_table
[j
].type
; ++j
) {
33436 if (strncmp(const_table
[j
].name
, name
,
33437 strlen(const_table
[j
].name
)) == 0) {
33438 ci
= &(const_table
[j
]);
33443 size_t shift
= (ci
->ptype
) - types
;
33444 swig_type_info
*ty
= types_initial
[shift
];
33445 size_t ldoc
= (c
- methods
[i
].ml_doc
);
33446 size_t lptr
= strlen(ty
->name
)+2*sizeof(void*)+2;
33447 char *ndoc
= (char*)malloc(ldoc
+ lptr
+ 10);
33450 void *ptr
= (ci
->type
== SWIG_PY_POINTER
) ? ci
->pvalue
: 0;
33452 strncpy(buff
, methods
[i
].ml_doc
, ldoc
);
33454 strncpy(buff
, "swig_ptr: ", 10);
33456 SWIG_PackVoidPtr(buff
, ptr
, ty
->name
, lptr
);
33457 methods
[i
].ml_doc
= ndoc
;
33469 /* -----------------------------------------------------------------------------*
33470 * Partial Init method
33471 * -----------------------------------------------------------------------------*/
33476 SWIGEXPORT
void SWIG_init(void) {
33479 /* Fix SwigMethods to carry the callback ptrs when needed */
33480 SWIG_Python_FixMethods(SwigMethods
, swig_const_table
, swig_types
, swig_type_initial
);
33482 m
= Py_InitModule((char *) SWIG_name
, SwigMethods
);
33483 d
= PyModule_GetDict(m
);
33485 SWIG_InitializeModule(0);
33486 SWIG_InstallConstants(d
,swig_const_table
);
33489 PyDict_SetItemString(d
,(char*)"cvar", SWIG_globals());
33490 SWIG_addvarlink(SWIG_globals(),(char*)"FrameNameStr",FrameNameStr_get
, FrameNameStr_set
);
33491 SWIG_addvarlink(SWIG_globals(),(char*)"DialogNameStr",DialogNameStr_get
, DialogNameStr_set
);
33492 SWIG_addvarlink(SWIG_globals(),(char*)"StatusLineNameStr",StatusLineNameStr_get
, StatusLineNameStr_set
);
33493 SWIG_addvarlink(SWIG_globals(),(char*)"ToolBarNameStr",ToolBarNameStr_get
, ToolBarNameStr_set
);
33494 SWIG_Python_SetConstant(d
, "STAY_ON_TOP",SWIG_From_int(static_cast< int >(wxSTAY_ON_TOP
)));
33495 SWIG_Python_SetConstant(d
, "ICONIZE",SWIG_From_int(static_cast< int >(wxICONIZE
)));
33496 SWIG_Python_SetConstant(d
, "MINIMIZE",SWIG_From_int(static_cast< int >(wxMINIMIZE
)));
33497 SWIG_Python_SetConstant(d
, "MAXIMIZE",SWIG_From_int(static_cast< int >(wxMAXIMIZE
)));
33498 SWIG_Python_SetConstant(d
, "CLOSE_BOX",SWIG_From_int(static_cast< int >(wxCLOSE_BOX
)));
33499 SWIG_Python_SetConstant(d
, "THICK_FRAME",SWIG_From_int(static_cast< int >(wxTHICK_FRAME
)));
33500 SWIG_Python_SetConstant(d
, "SYSTEM_MENU",SWIG_From_int(static_cast< int >(wxSYSTEM_MENU
)));
33501 SWIG_Python_SetConstant(d
, "MINIMIZE_BOX",SWIG_From_int(static_cast< int >(wxMINIMIZE_BOX
)));
33502 SWIG_Python_SetConstant(d
, "MAXIMIZE_BOX",SWIG_From_int(static_cast< int >(wxMAXIMIZE_BOX
)));
33503 SWIG_Python_SetConstant(d
, "TINY_CAPTION_HORIZ",SWIG_From_int(static_cast< int >(wxTINY_CAPTION_HORIZ
)));
33504 SWIG_Python_SetConstant(d
, "TINY_CAPTION_VERT",SWIG_From_int(static_cast< int >(wxTINY_CAPTION_VERT
)));
33505 SWIG_Python_SetConstant(d
, "RESIZE_BOX",SWIG_From_int(static_cast< int >(wxRESIZE_BOX
)));
33506 SWIG_Python_SetConstant(d
, "RESIZE_BORDER",SWIG_From_int(static_cast< int >(wxRESIZE_BORDER
)));
33507 SWIG_Python_SetConstant(d
, "DIALOG_NO_PARENT",SWIG_From_int(static_cast< int >(wxDIALOG_NO_PARENT
)));
33508 SWIG_Python_SetConstant(d
, "DEFAULT_FRAME_STYLE",SWIG_From_int(static_cast< int >(wxDEFAULT_FRAME_STYLE
)));
33509 SWIG_Python_SetConstant(d
, "DEFAULT_DIALOG_STYLE",SWIG_From_int(static_cast< int >(wxDEFAULT_DIALOG_STYLE
)));
33510 SWIG_Python_SetConstant(d
, "FRAME_TOOL_WINDOW",SWIG_From_int(static_cast< int >(wxFRAME_TOOL_WINDOW
)));
33511 SWIG_Python_SetConstant(d
, "FRAME_FLOAT_ON_PARENT",SWIG_From_int(static_cast< int >(wxFRAME_FLOAT_ON_PARENT
)));
33512 SWIG_Python_SetConstant(d
, "FRAME_NO_WINDOW_MENU",SWIG_From_int(static_cast< int >(wxFRAME_NO_WINDOW_MENU
)));
33513 SWIG_Python_SetConstant(d
, "FRAME_NO_TASKBAR",SWIG_From_int(static_cast< int >(wxFRAME_NO_TASKBAR
)));
33514 SWIG_Python_SetConstant(d
, "FRAME_SHAPED",SWIG_From_int(static_cast< int >(wxFRAME_SHAPED
)));
33515 SWIG_Python_SetConstant(d
, "FRAME_DRAWER",SWIG_From_int(static_cast< int >(wxFRAME_DRAWER
)));
33516 SWIG_Python_SetConstant(d
, "FRAME_EX_METAL",SWIG_From_int(static_cast< int >(wxFRAME_EX_METAL
)));
33517 SWIG_Python_SetConstant(d
, "DIALOG_EX_METAL",SWIG_From_int(static_cast< int >(wxDIALOG_EX_METAL
)));
33518 SWIG_Python_SetConstant(d
, "DIALOG_MODAL",SWIG_From_int(static_cast< int >(wxDIALOG_MODAL
)));
33519 SWIG_Python_SetConstant(d
, "DIALOG_MODELESS",SWIG_From_int(static_cast< int >(wxDIALOG_MODELESS
)));
33520 SWIG_Python_SetConstant(d
, "USER_COLOURS",SWIG_From_int(static_cast< int >(wxUSER_COLOURS
)));
33521 SWIG_Python_SetConstant(d
, "NO_3D",SWIG_From_int(static_cast< int >(wxNO_3D
)));
33522 SWIG_Python_SetConstant(d
, "FULLSCREEN_NOMENUBAR",SWIG_From_int(static_cast< int >(wxFULLSCREEN_NOMENUBAR
)));
33523 SWIG_Python_SetConstant(d
, "FULLSCREEN_NOTOOLBAR",SWIG_From_int(static_cast< int >(wxFULLSCREEN_NOTOOLBAR
)));
33524 SWIG_Python_SetConstant(d
, "FULLSCREEN_NOSTATUSBAR",SWIG_From_int(static_cast< int >(wxFULLSCREEN_NOSTATUSBAR
)));
33525 SWIG_Python_SetConstant(d
, "FULLSCREEN_NOBORDER",SWIG_From_int(static_cast< int >(wxFULLSCREEN_NOBORDER
)));
33526 SWIG_Python_SetConstant(d
, "FULLSCREEN_NOCAPTION",SWIG_From_int(static_cast< int >(wxFULLSCREEN_NOCAPTION
)));
33527 SWIG_Python_SetConstant(d
, "FULLSCREEN_ALL",SWIG_From_int(static_cast< int >(wxFULLSCREEN_ALL
)));
33528 SWIG_Python_SetConstant(d
, "TOPLEVEL_EX_DIALOG",SWIG_From_int(static_cast< int >(wxTOPLEVEL_EX_DIALOG
)));
33529 SWIG_Python_SetConstant(d
, "USER_ATTENTION_INFO",SWIG_From_int(static_cast< int >(wxUSER_ATTENTION_INFO
)));
33530 SWIG_Python_SetConstant(d
, "USER_ATTENTION_ERROR",SWIG_From_int(static_cast< int >(wxUSER_ATTENTION_ERROR
)));
33531 SWIG_Python_SetConstant(d
, "Dialog_ButtonSizerFlags",SWIG_From_int(static_cast< int >(wxDialog::ButtonSizerFlags
)));
33532 SWIG_Python_SetConstant(d
, "SPLASH_CENTRE_ON_PARENT",SWIG_From_int(static_cast< int >(wxSPLASH_CENTRE_ON_PARENT
)));
33533 SWIG_Python_SetConstant(d
, "SPLASH_CENTRE_ON_SCREEN",SWIG_From_int(static_cast< int >(wxSPLASH_CENTRE_ON_SCREEN
)));
33534 SWIG_Python_SetConstant(d
, "SPLASH_NO_CENTRE",SWIG_From_int(static_cast< int >(wxSPLASH_NO_CENTRE
)));
33535 SWIG_Python_SetConstant(d
, "SPLASH_TIMEOUT",SWIG_From_int(static_cast< int >(wxSPLASH_TIMEOUT
)));
33536 SWIG_Python_SetConstant(d
, "SPLASH_NO_TIMEOUT",SWIG_From_int(static_cast< int >(wxSPLASH_NO_TIMEOUT
)));
33537 SWIG_Python_SetConstant(d
, "SB_NORMAL",SWIG_From_int(static_cast< int >(wxSB_NORMAL
)));
33538 SWIG_Python_SetConstant(d
, "SB_FLAT",SWIG_From_int(static_cast< int >(wxSB_FLAT
)));
33539 SWIG_Python_SetConstant(d
, "SB_RAISED",SWIG_From_int(static_cast< int >(wxSB_RAISED
)));
33540 SWIG_addvarlink(SWIG_globals(),(char*)"SplitterNameStr",SplitterNameStr_get
, SplitterNameStr_set
);
33541 SWIG_Python_SetConstant(d
, "SP_NOBORDER",SWIG_From_int(static_cast< int >(wxSP_NOBORDER
)));
33542 SWIG_Python_SetConstant(d
, "SP_NOSASH",SWIG_From_int(static_cast< int >(wxSP_NOSASH
)));
33543 SWIG_Python_SetConstant(d
, "SP_PERMIT_UNSPLIT",SWIG_From_int(static_cast< int >(wxSP_PERMIT_UNSPLIT
)));
33544 SWIG_Python_SetConstant(d
, "SP_LIVE_UPDATE",SWIG_From_int(static_cast< int >(wxSP_LIVE_UPDATE
)));
33545 SWIG_Python_SetConstant(d
, "SP_3DSASH",SWIG_From_int(static_cast< int >(wxSP_3DSASH
)));
33546 SWIG_Python_SetConstant(d
, "SP_3DBORDER",SWIG_From_int(static_cast< int >(wxSP_3DBORDER
)));
33547 SWIG_Python_SetConstant(d
, "SP_NO_XP_THEME",SWIG_From_int(static_cast< int >(wxSP_NO_XP_THEME
)));
33548 SWIG_Python_SetConstant(d
, "SP_BORDER",SWIG_From_int(static_cast< int >(wxSP_BORDER
)));
33549 SWIG_Python_SetConstant(d
, "SP_3D",SWIG_From_int(static_cast< int >(wxSP_3D
)));
33550 SWIG_Python_SetConstant(d
, "SPLIT_HORIZONTAL",SWIG_From_int(static_cast< int >(wxSPLIT_HORIZONTAL
)));
33551 SWIG_Python_SetConstant(d
, "SPLIT_VERTICAL",SWIG_From_int(static_cast< int >(wxSPLIT_VERTICAL
)));
33552 SWIG_Python_SetConstant(d
, "SPLIT_DRAG_NONE",SWIG_From_int(static_cast< int >(wxSPLIT_DRAG_NONE
)));
33553 SWIG_Python_SetConstant(d
, "SPLIT_DRAG_DRAGGING",SWIG_From_int(static_cast< int >(wxSPLIT_DRAG_DRAGGING
)));
33554 SWIG_Python_SetConstant(d
, "SPLIT_DRAG_LEFT_DOWN",SWIG_From_int(static_cast< int >(wxSPLIT_DRAG_LEFT_DOWN
)));
33555 PyDict_SetItemString(d
, "wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGED", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGED
));
33556 PyDict_SetItemString(d
, "wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGING", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGING
));
33557 PyDict_SetItemString(d
, "wxEVT_COMMAND_SPLITTER_DOUBLECLICKED", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_DOUBLECLICKED
));
33558 PyDict_SetItemString(d
, "wxEVT_COMMAND_SPLITTER_UNSPLIT", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_UNSPLIT
));
33559 SWIG_addvarlink(SWIG_globals(),(char*)"SashNameStr",SashNameStr_get
, SashNameStr_set
);
33560 SWIG_addvarlink(SWIG_globals(),(char*)"SashLayoutNameStr",SashLayoutNameStr_get
, SashLayoutNameStr_set
);
33561 SWIG_Python_SetConstant(d
, "SASH_DRAG_NONE",SWIG_From_int(static_cast< int >(wxSASH_DRAG_NONE
)));
33562 SWIG_Python_SetConstant(d
, "SASH_DRAG_DRAGGING",SWIG_From_int(static_cast< int >(wxSASH_DRAG_DRAGGING
)));
33563 SWIG_Python_SetConstant(d
, "SASH_DRAG_LEFT_DOWN",SWIG_From_int(static_cast< int >(wxSASH_DRAG_LEFT_DOWN
)));
33564 SWIG_Python_SetConstant(d
, "SW_NOBORDER",SWIG_From_int(static_cast< int >(wxSW_NOBORDER
)));
33565 SWIG_Python_SetConstant(d
, "SW_BORDER",SWIG_From_int(static_cast< int >(wxSW_BORDER
)));
33566 SWIG_Python_SetConstant(d
, "SW_3DSASH",SWIG_From_int(static_cast< int >(wxSW_3DSASH
)));
33567 SWIG_Python_SetConstant(d
, "SW_3DBORDER",SWIG_From_int(static_cast< int >(wxSW_3DBORDER
)));
33568 SWIG_Python_SetConstant(d
, "SW_3D",SWIG_From_int(static_cast< int >(wxSW_3D
)));
33569 SWIG_Python_SetConstant(d
, "SASH_TOP",SWIG_From_int(static_cast< int >(wxSASH_TOP
)));
33570 SWIG_Python_SetConstant(d
, "SASH_RIGHT",SWIG_From_int(static_cast< int >(wxSASH_RIGHT
)));
33571 SWIG_Python_SetConstant(d
, "SASH_BOTTOM",SWIG_From_int(static_cast< int >(wxSASH_BOTTOM
)));
33572 SWIG_Python_SetConstant(d
, "SASH_LEFT",SWIG_From_int(static_cast< int >(wxSASH_LEFT
)));
33573 SWIG_Python_SetConstant(d
, "SASH_NONE",SWIG_From_int(static_cast< int >(wxSASH_NONE
)));
33574 SWIG_Python_SetConstant(d
, "SASH_STATUS_OK",SWIG_From_int(static_cast< int >(wxSASH_STATUS_OK
)));
33575 SWIG_Python_SetConstant(d
, "SASH_STATUS_OUT_OF_RANGE",SWIG_From_int(static_cast< int >(wxSASH_STATUS_OUT_OF_RANGE
)));
33576 PyDict_SetItemString(d
, "wxEVT_SASH_DRAGGED", PyInt_FromLong(wxEVT_SASH_DRAGGED
));
33577 SWIG_Python_SetConstant(d
, "LAYOUT_HORIZONTAL",SWIG_From_int(static_cast< int >(wxLAYOUT_HORIZONTAL
)));
33578 SWIG_Python_SetConstant(d
, "LAYOUT_VERTICAL",SWIG_From_int(static_cast< int >(wxLAYOUT_VERTICAL
)));
33579 SWIG_Python_SetConstant(d
, "LAYOUT_NONE",SWIG_From_int(static_cast< int >(wxLAYOUT_NONE
)));
33580 SWIG_Python_SetConstant(d
, "LAYOUT_TOP",SWIG_From_int(static_cast< int >(wxLAYOUT_TOP
)));
33581 SWIG_Python_SetConstant(d
, "LAYOUT_LEFT",SWIG_From_int(static_cast< int >(wxLAYOUT_LEFT
)));
33582 SWIG_Python_SetConstant(d
, "LAYOUT_RIGHT",SWIG_From_int(static_cast< int >(wxLAYOUT_RIGHT
)));
33583 SWIG_Python_SetConstant(d
, "LAYOUT_BOTTOM",SWIG_From_int(static_cast< int >(wxLAYOUT_BOTTOM
)));
33584 SWIG_Python_SetConstant(d
, "LAYOUT_LENGTH_Y",SWIG_From_int(static_cast< int >(wxLAYOUT_LENGTH_Y
)));
33585 SWIG_Python_SetConstant(d
, "LAYOUT_LENGTH_X",SWIG_From_int(static_cast< int >(wxLAYOUT_LENGTH_X
)));
33586 SWIG_Python_SetConstant(d
, "LAYOUT_MRU_LENGTH",SWIG_From_int(static_cast< int >(wxLAYOUT_MRU_LENGTH
)));
33587 SWIG_Python_SetConstant(d
, "LAYOUT_QUERY",SWIG_From_int(static_cast< int >(wxLAYOUT_QUERY
)));
33588 PyDict_SetItemString(d
, "wxEVT_QUERY_LAYOUT_INFO", PyInt_FromLong(wxEVT_QUERY_LAYOUT_INFO
));
33589 PyDict_SetItemString(d
, "wxEVT_CALCULATE_LAYOUT", PyInt_FromLong(wxEVT_CALCULATE_LAYOUT
));
33590 SWIG_addvarlink(SWIG_globals(),(char*)"VListBoxNameStr",VListBoxNameStr_get
, VListBoxNameStr_set
);
33592 // Map renamed classes back to their common name for OOR
33593 wxPyPtrTypeMap_Add("wxHtmlListBox", "wxPyHtmlListBox");
33594 wxPyPtrTypeMap_Add("wxVListBox", "wxPyVListBox");
33595 wxPyPtrTypeMap_Add("wxVScrolledWindow", "wxPyVScrolledWindow");
33597 PyDict_SetItemString(d
, "wxEVT_TASKBAR_MOVE", PyInt_FromLong(wxEVT_TASKBAR_MOVE
));
33598 PyDict_SetItemString(d
, "wxEVT_TASKBAR_LEFT_DOWN", PyInt_FromLong(wxEVT_TASKBAR_LEFT_DOWN
));
33599 PyDict_SetItemString(d
, "wxEVT_TASKBAR_LEFT_UP", PyInt_FromLong(wxEVT_TASKBAR_LEFT_UP
));
33600 PyDict_SetItemString(d
, "wxEVT_TASKBAR_RIGHT_DOWN", PyInt_FromLong(wxEVT_TASKBAR_RIGHT_DOWN
));
33601 PyDict_SetItemString(d
, "wxEVT_TASKBAR_RIGHT_UP", PyInt_FromLong(wxEVT_TASKBAR_RIGHT_UP
));
33602 PyDict_SetItemString(d
, "wxEVT_TASKBAR_LEFT_DCLICK", PyInt_FromLong(wxEVT_TASKBAR_LEFT_DCLICK
));
33603 PyDict_SetItemString(d
, "wxEVT_TASKBAR_RIGHT_DCLICK", PyInt_FromLong(wxEVT_TASKBAR_RIGHT_DCLICK
));
33604 SWIG_addvarlink(SWIG_globals(),(char*)"FileSelectorPromptStr",FileSelectorPromptStr_get
, FileSelectorPromptStr_set
);
33605 SWIG_addvarlink(SWIG_globals(),(char*)"DirSelectorPromptStr",DirSelectorPromptStr_get
, DirSelectorPromptStr_set
);
33606 SWIG_addvarlink(SWIG_globals(),(char*)"DirDialogNameStr",DirDialogNameStr_get
, DirDialogNameStr_set
);
33607 SWIG_addvarlink(SWIG_globals(),(char*)"FileSelectorDefaultWildcardStr",FileSelectorDefaultWildcardStr_get
, FileSelectorDefaultWildcardStr_set
);
33608 SWIG_addvarlink(SWIG_globals(),(char*)"GetTextFromUserPromptStr",GetTextFromUserPromptStr_get
, GetTextFromUserPromptStr_set
);
33609 SWIG_addvarlink(SWIG_globals(),(char*)"MessageBoxCaptionStr",MessageBoxCaptionStr_get
, MessageBoxCaptionStr_set
);
33610 SWIG_Python_SetConstant(d
, "DD_NEW_DIR_BUTTON",SWIG_From_int(static_cast< int >(wxDD_NEW_DIR_BUTTON
)));
33611 SWIG_Python_SetConstant(d
, "DD_DEFAULT_STYLE",SWIG_From_int(static_cast< int >(wxDD_DEFAULT_STYLE
)));
33612 SWIG_Python_SetConstant(d
, "DD_CHANGE_DIR",SWIG_From_int(static_cast< int >(wxDD_CHANGE_DIR
)));
33613 SWIG_Python_SetConstant(d
, "OPEN",SWIG_From_int(static_cast< int >(wxOPEN
)));
33614 SWIG_Python_SetConstant(d
, "SAVE",SWIG_From_int(static_cast< int >(wxSAVE
)));
33615 SWIG_Python_SetConstant(d
, "OVERWRITE_PROMPT",SWIG_From_int(static_cast< int >(wxOVERWRITE_PROMPT
)));
33616 SWIG_Python_SetConstant(d
, "FILE_MUST_EXIST",SWIG_From_int(static_cast< int >(wxFILE_MUST_EXIST
)));
33617 SWIG_Python_SetConstant(d
, "MULTIPLE",SWIG_From_int(static_cast< int >(wxMULTIPLE
)));
33618 SWIG_Python_SetConstant(d
, "CHANGE_DIR",SWIG_From_int(static_cast< int >(wxCHANGE_DIR
)));
33619 SWIG_Python_SetConstant(d
, "HIDE_READONLY",SWIG_From_int(static_cast< int >(wxHIDE_READONLY
)));
33620 SWIG_Python_SetConstant(d
, "FD_OPEN",SWIG_From_int(static_cast< int >(wxFD_OPEN
)));
33621 SWIG_Python_SetConstant(d
, "FD_SAVE",SWIG_From_int(static_cast< int >(wxFD_SAVE
)));
33622 SWIG_Python_SetConstant(d
, "FD_OVERWRITE_PROMPT",SWIG_From_int(static_cast< int >(wxFD_OVERWRITE_PROMPT
)));
33623 SWIG_Python_SetConstant(d
, "FD_FILE_MUST_EXIST",SWIG_From_int(static_cast< int >(wxFD_FILE_MUST_EXIST
)));
33624 SWIG_Python_SetConstant(d
, "FD_MULTIPLE",SWIG_From_int(static_cast< int >(wxFD_MULTIPLE
)));
33625 SWIG_Python_SetConstant(d
, "FD_CHANGE_DIR",SWIG_From_int(static_cast< int >(wxFD_CHANGE_DIR
)));
33626 SWIG_Python_SetConstant(d
, "FD_DEFAULT_STYLE",SWIG_From_int(static_cast< int >(wxFD_DEFAULT_STYLE
)));
33627 SWIG_Python_SetConstant(d
, "CHOICEDLG_STYLE",SWIG_From_int(static_cast< int >(wxCHOICEDLG_STYLE
)));
33628 SWIG_Python_SetConstant(d
, "TextEntryDialogStyle",SWIG_From_int(static_cast< int >(wxTextEntryDialogStyle
)));
33629 SWIG_addvarlink(SWIG_globals(),(char*)"GetPasswordFromUserPromptStr",GetPasswordFromUserPromptStr_get
, GetPasswordFromUserPromptStr_set
);
33630 SWIG_Python_SetConstant(d
, "FR_DOWN",SWIG_From_int(static_cast< int >(wxFR_DOWN
)));
33631 SWIG_Python_SetConstant(d
, "FR_WHOLEWORD",SWIG_From_int(static_cast< int >(wxFR_WHOLEWORD
)));
33632 SWIG_Python_SetConstant(d
, "FR_MATCHCASE",SWIG_From_int(static_cast< int >(wxFR_MATCHCASE
)));
33633 SWIG_Python_SetConstant(d
, "FR_REPLACEDIALOG",SWIG_From_int(static_cast< int >(wxFR_REPLACEDIALOG
)));
33634 SWIG_Python_SetConstant(d
, "FR_NOUPDOWN",SWIG_From_int(static_cast< int >(wxFR_NOUPDOWN
)));
33635 SWIG_Python_SetConstant(d
, "FR_NOMATCHCASE",SWIG_From_int(static_cast< int >(wxFR_NOMATCHCASE
)));
33636 SWIG_Python_SetConstant(d
, "FR_NOWHOLEWORD",SWIG_From_int(static_cast< int >(wxFR_NOWHOLEWORD
)));
33637 PyDict_SetItemString(d
, "wxEVT_COMMAND_FIND", PyInt_FromLong(wxEVT_COMMAND_FIND
));
33638 PyDict_SetItemString(d
, "wxEVT_COMMAND_FIND_NEXT", PyInt_FromLong(wxEVT_COMMAND_FIND_NEXT
));
33639 PyDict_SetItemString(d
, "wxEVT_COMMAND_FIND_REPLACE", PyInt_FromLong(wxEVT_COMMAND_FIND_REPLACE
));
33640 PyDict_SetItemString(d
, "wxEVT_COMMAND_FIND_REPLACE_ALL", PyInt_FromLong(wxEVT_COMMAND_FIND_REPLACE_ALL
));
33641 PyDict_SetItemString(d
, "wxEVT_COMMAND_FIND_CLOSE", PyInt_FromLong(wxEVT_COMMAND_FIND_CLOSE
));
33642 SWIG_Python_SetConstant(d
, "IDM_WINDOWTILE",SWIG_From_int(static_cast< int >(4001)));
33643 SWIG_Python_SetConstant(d
, "IDM_WINDOWTILEHOR",SWIG_From_int(static_cast< int >(4001)));
33644 SWIG_Python_SetConstant(d
, "IDM_WINDOWCASCADE",SWIG_From_int(static_cast< int >(4002)));
33645 SWIG_Python_SetConstant(d
, "IDM_WINDOWICONS",SWIG_From_int(static_cast< int >(4003)));
33646 SWIG_Python_SetConstant(d
, "IDM_WINDOWNEXT",SWIG_From_int(static_cast< int >(4004)));
33647 SWIG_Python_SetConstant(d
, "IDM_WINDOWTILEVERT",SWIG_From_int(static_cast< int >(4005)));
33648 SWIG_Python_SetConstant(d
, "IDM_WINDOWPREV",SWIG_From_int(static_cast< int >(4006)));
33649 SWIG_Python_SetConstant(d
, "FIRST_MDI_CHILD",SWIG_From_int(static_cast< int >(4100)));
33650 SWIG_Python_SetConstant(d
, "LAST_MDI_CHILD",SWIG_From_int(static_cast< int >(4600)));
33651 SWIG_addvarlink(SWIG_globals(),(char*)"PrintoutTitleStr",PrintoutTitleStr_get
, PrintoutTitleStr_set
);
33652 SWIG_addvarlink(SWIG_globals(),(char*)"PreviewCanvasNameStr",PreviewCanvasNameStr_get
, PreviewCanvasNameStr_set
);
33653 SWIG_Python_SetConstant(d
, "PRINT_MODE_NONE",SWIG_From_int(static_cast< int >(wxPRINT_MODE_NONE
)));
33654 SWIG_Python_SetConstant(d
, "PRINT_MODE_PREVIEW",SWIG_From_int(static_cast< int >(wxPRINT_MODE_PREVIEW
)));
33655 SWIG_Python_SetConstant(d
, "PRINT_MODE_FILE",SWIG_From_int(static_cast< int >(wxPRINT_MODE_FILE
)));
33656 SWIG_Python_SetConstant(d
, "PRINT_MODE_PRINTER",SWIG_From_int(static_cast< int >(wxPRINT_MODE_PRINTER
)));
33657 SWIG_Python_SetConstant(d
, "PRINT_MODE_STREAM",SWIG_From_int(static_cast< int >(wxPRINT_MODE_STREAM
)));
33658 SWIG_Python_SetConstant(d
, "PRINTBIN_DEFAULT",SWIG_From_int(static_cast< int >(wxPRINTBIN_DEFAULT
)));
33659 SWIG_Python_SetConstant(d
, "PRINTBIN_ONLYONE",SWIG_From_int(static_cast< int >(wxPRINTBIN_ONLYONE
)));
33660 SWIG_Python_SetConstant(d
, "PRINTBIN_LOWER",SWIG_From_int(static_cast< int >(wxPRINTBIN_LOWER
)));
33661 SWIG_Python_SetConstant(d
, "PRINTBIN_MIDDLE",SWIG_From_int(static_cast< int >(wxPRINTBIN_MIDDLE
)));
33662 SWIG_Python_SetConstant(d
, "PRINTBIN_MANUAL",SWIG_From_int(static_cast< int >(wxPRINTBIN_MANUAL
)));
33663 SWIG_Python_SetConstant(d
, "PRINTBIN_ENVELOPE",SWIG_From_int(static_cast< int >(wxPRINTBIN_ENVELOPE
)));
33664 SWIG_Python_SetConstant(d
, "PRINTBIN_ENVMANUAL",SWIG_From_int(static_cast< int >(wxPRINTBIN_ENVMANUAL
)));
33665 SWIG_Python_SetConstant(d
, "PRINTBIN_AUTO",SWIG_From_int(static_cast< int >(wxPRINTBIN_AUTO
)));
33666 SWIG_Python_SetConstant(d
, "PRINTBIN_TRACTOR",SWIG_From_int(static_cast< int >(wxPRINTBIN_TRACTOR
)));
33667 SWIG_Python_SetConstant(d
, "PRINTBIN_SMALLFMT",SWIG_From_int(static_cast< int >(wxPRINTBIN_SMALLFMT
)));
33668 SWIG_Python_SetConstant(d
, "PRINTBIN_LARGEFMT",SWIG_From_int(static_cast< int >(wxPRINTBIN_LARGEFMT
)));
33669 SWIG_Python_SetConstant(d
, "PRINTBIN_LARGECAPACITY",SWIG_From_int(static_cast< int >(wxPRINTBIN_LARGECAPACITY
)));
33670 SWIG_Python_SetConstant(d
, "PRINTBIN_CASSETTE",SWIG_From_int(static_cast< int >(wxPRINTBIN_CASSETTE
)));
33671 SWIG_Python_SetConstant(d
, "PRINTBIN_FORMSOURCE",SWIG_From_int(static_cast< int >(wxPRINTBIN_FORMSOURCE
)));
33672 SWIG_Python_SetConstant(d
, "PRINTBIN_USER",SWIG_From_int(static_cast< int >(wxPRINTBIN_USER
)));
33673 SWIG_Python_SetConstant(d
, "PRINTER_NO_ERROR",SWIG_From_int(static_cast< int >(wxPRINTER_NO_ERROR
)));
33674 SWIG_Python_SetConstant(d
, "PRINTER_CANCELLED",SWIG_From_int(static_cast< int >(wxPRINTER_CANCELLED
)));
33675 SWIG_Python_SetConstant(d
, "PRINTER_ERROR",SWIG_From_int(static_cast< int >(wxPRINTER_ERROR
)));
33676 SWIG_Python_SetConstant(d
, "PREVIEW_PRINT",SWIG_From_int(static_cast< int >(wxPREVIEW_PRINT
)));
33677 SWIG_Python_SetConstant(d
, "PREVIEW_PREVIOUS",SWIG_From_int(static_cast< int >(wxPREVIEW_PREVIOUS
)));
33678 SWIG_Python_SetConstant(d
, "PREVIEW_NEXT",SWIG_From_int(static_cast< int >(wxPREVIEW_NEXT
)));
33679 SWIG_Python_SetConstant(d
, "PREVIEW_ZOOM",SWIG_From_int(static_cast< int >(wxPREVIEW_ZOOM
)));
33680 SWIG_Python_SetConstant(d
, "PREVIEW_FIRST",SWIG_From_int(static_cast< int >(wxPREVIEW_FIRST
)));
33681 SWIG_Python_SetConstant(d
, "PREVIEW_LAST",SWIG_From_int(static_cast< int >(wxPREVIEW_LAST
)));
33682 SWIG_Python_SetConstant(d
, "PREVIEW_GOTO",SWIG_From_int(static_cast< int >(wxPREVIEW_GOTO
)));
33683 SWIG_Python_SetConstant(d
, "PREVIEW_DEFAULT",SWIG_From_int(static_cast< int >(wxPREVIEW_DEFAULT
)));
33684 SWIG_Python_SetConstant(d
, "ID_PREVIEW_CLOSE",SWIG_From_int(static_cast< int >(wxID_PREVIEW_CLOSE
)));
33685 SWIG_Python_SetConstant(d
, "ID_PREVIEW_NEXT",SWIG_From_int(static_cast< int >(wxID_PREVIEW_NEXT
)));
33686 SWIG_Python_SetConstant(d
, "ID_PREVIEW_PREVIOUS",SWIG_From_int(static_cast< int >(wxID_PREVIEW_PREVIOUS
)));
33687 SWIG_Python_SetConstant(d
, "ID_PREVIEW_PRINT",SWIG_From_int(static_cast< int >(wxID_PREVIEW_PRINT
)));
33688 SWIG_Python_SetConstant(d
, "ID_PREVIEW_ZOOM",SWIG_From_int(static_cast< int >(wxID_PREVIEW_ZOOM
)));
33689 SWIG_Python_SetConstant(d
, "ID_PREVIEW_FIRST",SWIG_From_int(static_cast< int >(wxID_PREVIEW_FIRST
)));
33690 SWIG_Python_SetConstant(d
, "ID_PREVIEW_LAST",SWIG_From_int(static_cast< int >(wxID_PREVIEW_LAST
)));
33691 SWIG_Python_SetConstant(d
, "ID_PREVIEW_GOTO",SWIG_From_int(static_cast< int >(wxID_PREVIEW_GOTO
)));
33693 wxPyPtrTypeMap_Add("wxPrintout", "wxPyPrintout");