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_wxArrayString swig_types[11]
2478 #define SWIGTYPE_p_wxBMPHandler swig_types[12]
2479 #define SWIGTYPE_p_wxBitmap swig_types[13]
2480 #define SWIGTYPE_p_wxBoxSizer swig_types[14]
2481 #define SWIGTYPE_p_wxCURHandler swig_types[15]
2482 #define SWIGTYPE_p_wxCalculateLayoutEvent swig_types[16]
2483 #define SWIGTYPE_p_wxChildFocusEvent swig_types[17]
2484 #define SWIGTYPE_p_wxClipboardTextEvent swig_types[18]
2485 #define SWIGTYPE_p_wxCloseEvent swig_types[19]
2486 #define SWIGTYPE_p_wxColour swig_types[20]
2487 #define SWIGTYPE_p_wxColourData swig_types[21]
2488 #define SWIGTYPE_p_wxColourDialog swig_types[22]
2489 #define SWIGTYPE_p_wxCommandEvent swig_types[23]
2490 #define SWIGTYPE_p_wxContextMenuEvent swig_types[24]
2491 #define SWIGTYPE_p_wxControl swig_types[25]
2492 #define SWIGTYPE_p_wxControlWithItems swig_types[26]
2493 #define SWIGTYPE_p_wxDC swig_types[27]
2494 #define SWIGTYPE_p_wxDateEvent swig_types[28]
2495 #define SWIGTYPE_p_wxDialog swig_types[29]
2496 #define SWIGTYPE_p_wxDirDialog swig_types[30]
2497 #define SWIGTYPE_p_wxDisplayChangedEvent swig_types[31]
2498 #define SWIGTYPE_p_wxDropFilesEvent swig_types[32]
2499 #define SWIGTYPE_p_wxDuplexMode swig_types[33]
2500 #define SWIGTYPE_p_wxEraseEvent swig_types[34]
2501 #define SWIGTYPE_p_wxEvent swig_types[35]
2502 #define SWIGTYPE_p_wxEvtHandler swig_types[36]
2503 #define SWIGTYPE_p_wxFSFile swig_types[37]
2504 #define SWIGTYPE_p_wxFileDialog swig_types[38]
2505 #define SWIGTYPE_p_wxFileSystem swig_types[39]
2506 #define SWIGTYPE_p_wxFindDialogEvent swig_types[40]
2507 #define SWIGTYPE_p_wxFindReplaceData swig_types[41]
2508 #define SWIGTYPE_p_wxFindReplaceDialog swig_types[42]
2509 #define SWIGTYPE_p_wxFlexGridSizer swig_types[43]
2510 #define SWIGTYPE_p_wxFocusEvent swig_types[44]
2511 #define SWIGTYPE_p_wxFont swig_types[45]
2512 #define SWIGTYPE_p_wxFontData swig_types[46]
2513 #define SWIGTYPE_p_wxFontDialog swig_types[47]
2514 #define SWIGTYPE_p_wxFrame swig_types[48]
2515 #define SWIGTYPE_p_wxGBSizerItem swig_types[49]
2516 #define SWIGTYPE_p_wxGIFHandler swig_types[50]
2517 #define SWIGTYPE_p_wxGridBagSizer swig_types[51]
2518 #define SWIGTYPE_p_wxGridSizer swig_types[52]
2519 #define SWIGTYPE_p_wxHtmlLinkInfo swig_types[53]
2520 #define SWIGTYPE_p_wxICOHandler swig_types[54]
2521 #define SWIGTYPE_p_wxIcon swig_types[55]
2522 #define SWIGTYPE_p_wxIconBundle swig_types[56]
2523 #define SWIGTYPE_p_wxIconizeEvent swig_types[57]
2524 #define SWIGTYPE_p_wxIdleEvent swig_types[58]
2525 #define SWIGTYPE_p_wxImage swig_types[59]
2526 #define SWIGTYPE_p_wxImageHandler swig_types[60]
2527 #define SWIGTYPE_p_wxIndividualLayoutConstraint swig_types[61]
2528 #define SWIGTYPE_p_wxInitDialogEvent swig_types[62]
2529 #define SWIGTYPE_p_wxItemContainer swig_types[63]
2530 #define SWIGTYPE_p_wxJPEGHandler swig_types[64]
2531 #define SWIGTYPE_p_wxKeyEvent swig_types[65]
2532 #define SWIGTYPE_p_wxLayoutAlgorithm swig_types[66]
2533 #define SWIGTYPE_p_wxLayoutConstraints swig_types[67]
2534 #define SWIGTYPE_p_wxMDIChildFrame swig_types[68]
2535 #define SWIGTYPE_p_wxMDIClientWindow swig_types[69]
2536 #define SWIGTYPE_p_wxMDIParentFrame swig_types[70]
2537 #define SWIGTYPE_p_wxMaximizeEvent swig_types[71]
2538 #define SWIGTYPE_p_wxMenu swig_types[72]
2539 #define SWIGTYPE_p_wxMenuBar swig_types[73]
2540 #define SWIGTYPE_p_wxMenuEvent swig_types[74]
2541 #define SWIGTYPE_p_wxMenuItem swig_types[75]
2542 #define SWIGTYPE_p_wxMessageDialog swig_types[76]
2543 #define SWIGTYPE_p_wxMiniFrame swig_types[77]
2544 #define SWIGTYPE_p_wxMouseCaptureChangedEvent swig_types[78]
2545 #define SWIGTYPE_p_wxMouseCaptureLostEvent swig_types[79]
2546 #define SWIGTYPE_p_wxMouseEvent swig_types[80]
2547 #define SWIGTYPE_p_wxMoveEvent swig_types[81]
2548 #define SWIGTYPE_p_wxMultiChoiceDialog swig_types[82]
2549 #define SWIGTYPE_p_wxNavigationKeyEvent swig_types[83]
2550 #define SWIGTYPE_p_wxNcPaintEvent swig_types[84]
2551 #define SWIGTYPE_p_wxNotifyEvent swig_types[85]
2552 #define SWIGTYPE_p_wxNumberEntryDialog swig_types[86]
2553 #define SWIGTYPE_p_wxObject swig_types[87]
2554 #define SWIGTYPE_p_wxPCXHandler swig_types[88]
2555 #define SWIGTYPE_p_wxPNGHandler swig_types[89]
2556 #define SWIGTYPE_p_wxPNMHandler swig_types[90]
2557 #define SWIGTYPE_p_wxPageSetupDialog swig_types[91]
2558 #define SWIGTYPE_p_wxPageSetupDialogData swig_types[92]
2559 #define SWIGTYPE_p_wxPaintEvent swig_types[93]
2560 #define SWIGTYPE_p_wxPaletteChangedEvent swig_types[94]
2561 #define SWIGTYPE_p_wxPanel swig_types[95]
2562 #define SWIGTYPE_p_wxPaperSize swig_types[96]
2563 #define SWIGTYPE_p_wxPasswordEntryDialog swig_types[97]
2564 #define SWIGTYPE_p_wxPoint swig_types[98]
2565 #define SWIGTYPE_p_wxPopupWindow swig_types[99]
2566 #define SWIGTYPE_p_wxPreviewCanvas swig_types[100]
2567 #define SWIGTYPE_p_wxPreviewControlBar swig_types[101]
2568 #define SWIGTYPE_p_wxPreviewFrame swig_types[102]
2569 #define SWIGTYPE_p_wxPrintData swig_types[103]
2570 #define SWIGTYPE_p_wxPrintDialog swig_types[104]
2571 #define SWIGTYPE_p_wxPrintDialogData swig_types[105]
2572 #define SWIGTYPE_p_wxPrintPreview swig_types[106]
2573 #define SWIGTYPE_p_wxPrinter swig_types[107]
2574 #define SWIGTYPE_p_wxProgressDialog swig_types[108]
2575 #define SWIGTYPE_p_wxPyApp swig_types[109]
2576 #define SWIGTYPE_p_wxPyCommandEvent swig_types[110]
2577 #define SWIGTYPE_p_wxPyEvent swig_types[111]
2578 #define SWIGTYPE_p_wxPyHtmlListBox swig_types[112]
2579 #define SWIGTYPE_p_wxPyImageHandler swig_types[113]
2580 #define SWIGTYPE_p_wxPyPanel swig_types[114]
2581 #define SWIGTYPE_p_wxPyPopupTransientWindow swig_types[115]
2582 #define SWIGTYPE_p_wxPyPreviewControlBar swig_types[116]
2583 #define SWIGTYPE_p_wxPyPreviewFrame swig_types[117]
2584 #define SWIGTYPE_p_wxPyPrintPreview swig_types[118]
2585 #define SWIGTYPE_p_wxPyPrintout swig_types[119]
2586 #define SWIGTYPE_p_wxPyScrolledWindow swig_types[120]
2587 #define SWIGTYPE_p_wxPySizer swig_types[121]
2588 #define SWIGTYPE_p_wxPyTaskBarIcon swig_types[122]
2589 #define SWIGTYPE_p_wxPyVListBox swig_types[123]
2590 #define SWIGTYPE_p_wxPyVScrolledWindow swig_types[124]
2591 #define SWIGTYPE_p_wxPyValidator swig_types[125]
2592 #define SWIGTYPE_p_wxPyWindow swig_types[126]
2593 #define SWIGTYPE_p_wxQueryLayoutInfoEvent swig_types[127]
2594 #define SWIGTYPE_p_wxQueryNewPaletteEvent swig_types[128]
2595 #define SWIGTYPE_p_wxRect swig_types[129]
2596 #define SWIGTYPE_p_wxRegion swig_types[130]
2597 #define SWIGTYPE_p_wxSashEvent swig_types[131]
2598 #define SWIGTYPE_p_wxSashLayoutWindow swig_types[132]
2599 #define SWIGTYPE_p_wxSashWindow swig_types[133]
2600 #define SWIGTYPE_p_wxScrollEvent swig_types[134]
2601 #define SWIGTYPE_p_wxScrollWinEvent swig_types[135]
2602 #define SWIGTYPE_p_wxScrolledWindow swig_types[136]
2603 #define SWIGTYPE_p_wxSetCursorEvent swig_types[137]
2604 #define SWIGTYPE_p_wxShowEvent swig_types[138]
2605 #define SWIGTYPE_p_wxSimpleHtmlListBox swig_types[139]
2606 #define SWIGTYPE_p_wxSingleChoiceDialog swig_types[140]
2607 #define SWIGTYPE_p_wxSize swig_types[141]
2608 #define SWIGTYPE_p_wxSizeEvent swig_types[142]
2609 #define SWIGTYPE_p_wxSizer swig_types[143]
2610 #define SWIGTYPE_p_wxSizerItem swig_types[144]
2611 #define SWIGTYPE_p_wxSplashScreen swig_types[145]
2612 #define SWIGTYPE_p_wxSplashScreenWindow swig_types[146]
2613 #define SWIGTYPE_p_wxSplitterEvent swig_types[147]
2614 #define SWIGTYPE_p_wxSplitterWindow swig_types[148]
2615 #define SWIGTYPE_p_wxStaticBoxSizer swig_types[149]
2616 #define SWIGTYPE_p_wxStatusBar swig_types[150]
2617 #define SWIGTYPE_p_wxStdDialogButtonSizer swig_types[151]
2618 #define SWIGTYPE_p_wxString swig_types[152]
2619 #define SWIGTYPE_p_wxSysColourChangedEvent swig_types[153]
2620 #define SWIGTYPE_p_wxTGAHandler swig_types[154]
2621 #define SWIGTYPE_p_wxTIFFHandler swig_types[155]
2622 #define SWIGTYPE_p_wxTaskBarIcon swig_types[156]
2623 #define SWIGTYPE_p_wxTaskBarIconEvent swig_types[157]
2624 #define SWIGTYPE_p_wxTextEntryDialog swig_types[158]
2625 #define SWIGTYPE_p_wxTipWindow swig_types[159]
2626 #define SWIGTYPE_p_wxToolBar swig_types[160]
2627 #define SWIGTYPE_p_wxTopLevelWindow swig_types[161]
2628 #define SWIGTYPE_p_wxUpdateUIEvent swig_types[162]
2629 #define SWIGTYPE_p_wxValidator swig_types[163]
2630 #define SWIGTYPE_p_wxVisualAttributes swig_types[164]
2631 #define SWIGTYPE_p_wxWindow swig_types[165]
2632 #define SWIGTYPE_p_wxWindowCreateEvent swig_types[166]
2633 #define SWIGTYPE_p_wxWindowDestroyEvent swig_types[167]
2634 #define SWIGTYPE_p_wxXPMHandler swig_types[168]
2635 static swig_type_info
*swig_types
[170];
2636 static swig_module_info swig_module
= {swig_types
, 169, 0, 0, 0, 0};
2637 #define SWIG_TypeQuery(name) SWIG_TypeQueryModule(&swig_module, &swig_module, name)
2638 #define SWIG_MangledTypeQuery(name) SWIG_MangledTypeQueryModule(&swig_module, &swig_module, name)
2640 /* -------- TYPES TABLE (END) -------- */
2642 #if (PY_VERSION_HEX <= 0x02000000)
2643 # if !defined(SWIG_PYTHON_CLASSIC)
2644 # error "This python version requires to use swig with the '-classic' option"
2647 #if (PY_VERSION_HEX <= 0x02020000)
2648 # error "This python version requires to use swig with the '-nomodern' option"
2650 #if (PY_VERSION_HEX <= 0x02020000)
2651 # error "This python version requires to use swig with the '-nomodernargs' option"
2654 # error "This python version requires to use swig with the '-nofastunpack' option"
2657 /*-----------------------------------------------
2658 @(target):= _windows_.so
2659 ------------------------------------------------*/
2660 #define SWIG_init init_windows_
2662 #define SWIG_name "_windows_"
2664 #define SWIGVERSION 0x010329
2667 #define SWIG_as_voidptr(a) const_cast< void * >(static_cast< const void * >(a))
2668 #define SWIG_as_voidptrptr(a) ((void)SWIG_as_voidptr(*a),reinterpret_cast< void** >(a))
2671 #include <stdexcept>
2675 class PyObject_ptr
{
2680 PyObject_ptr() :_obj(0)
2684 PyObject_ptr(const PyObject_ptr
& item
) : _obj(item
._obj
)
2689 PyObject_ptr(PyObject
*obj
, bool initial_ref
= true) :_obj(obj
)
2691 if (initial_ref
) Py_XINCREF(_obj
);
2694 PyObject_ptr
& operator=(const PyObject_ptr
& item
)
2696 Py_XINCREF(item
._obj
);
2707 operator PyObject
*() const
2712 PyObject
*operator->() const
2721 struct PyObject_var
: PyObject_ptr
{
2722 PyObject_var(PyObject
* obj
= 0) : PyObject_ptr(obj
, false) { }
2724 PyObject_var
& operator = (PyObject
* obj
)
2734 #include "wx/wxPython/wxPython.h"
2735 #include "wx/wxPython/pyclasses.h"
2738 static const wxString
wxPyEmptyString(wxEmptyString
);
2739 static const wxString
wxPyPanelNameStr(wxPanelNameStr
);
2745 # define LLONG_MIN LONG_LONG_MIN
2748 # define LLONG_MAX LONG_LONG_MAX
2751 # define ULLONG_MAX ULONG_LONG_MAX
2756 SWIG_AsVal_long (PyObject
* obj
, long* val
)
2758 if (PyNumber_Check(obj
)) {
2759 if (val
) *val
= PyInt_AsLong(obj
);
2762 return SWIG_TypeError
;
2767 SWIG_AsVal_int (PyObject
* obj
, int *val
)
2770 int res
= SWIG_AsVal_long (obj
, &v
);
2771 if (SWIG_IsOK(res
)) {
2772 if ((v
< INT_MIN
|| v
> INT_MAX
)) {
2773 return SWIG_OverflowError
;
2775 if (val
) *val
= static_cast< int >(v
);
2783 SWIG_AsVal_bool (PyObject
*obj
, bool *val
)
2785 if (obj
== Py_True
) {
2786 if (val
) *val
= true;
2788 } else if (obj
== Py_False
) {
2789 if (val
) *val
= false;
2793 int res
= SWIG_AddCast(SWIG_AsVal_long (obj
, val
? &v
: 0));
2794 if (SWIG_IsOK(res
) && val
) *val
= v
? true : false;
2800 #define SWIG_From_long PyInt_FromLong
2803 SWIGINTERNINLINE PyObject
*
2804 SWIG_From_int (int value
)
2806 return SWIG_From_long (value
);
2811 SWIG_AsVal_double (PyObject
*obj
, double* val
)
2813 if (PyNumber_Check(obj
)) {
2814 if (val
) *val
= PyFloat_AsDouble(obj
);
2817 return SWIG_TypeError
;
2821 #define SWIG_From_double PyFloat_FromDouble
2823 static const wxString
wxPyFrameNameStr(wxFrameNameStr
);
2824 static const wxString
wxPyDialogNameStr(wxDialogNameStr
);
2825 static const wxString
wxPyStatusLineNameStr(wxStatusLineNameStr
);
2826 static const wxString
wxPyToolBarNameStr(wxToolBarNameStr
);
2827 SWIGINTERN
void wxTopLevelWindow_MacSetMetalAppearance(wxTopLevelWindow
*self
,bool on
){ /*wxPyRaiseNotImplemented();*/ }
2828 SWIGINTERN
bool wxTopLevelWindow_MacGetMetalAppearance(wxTopLevelWindow
const *self
){ /*wxPyRaiseNotImplemented();*/ return false; }
2830 #define wxDEFAULT_MINIFRAME_STYLE wxCAPTION | wxRESIZE_BORDER | wxTINY_CAPTION_HORIZ
2834 SWIGINTERN wxRect
wxStatusBar_GetFieldRect(wxStatusBar
*self
,int i
){
2836 self
->GetFieldRect(i
, r
);
2839 static const wxString
wxPySplitterNameStr(wxT("splitter"));
2840 static const wxString
wxPySashNameStr(wxT("sashWindow"));
2841 static const wxString
wxPySashLayoutNameStr(wxT("layoutWindow"));
2843 #include <wx/popupwin.h>
2846 class wxPyPopupTransientWindow
: public wxPopupTransientWindow
2849 wxPyPopupTransientWindow() : wxPopupTransientWindow() {}
2850 wxPyPopupTransientWindow(wxWindow
* parent
, int style
= wxBORDER_NONE
)
2851 : wxPopupTransientWindow(parent
, style
) {}
2853 DEC_PYCALLBACK_BOOL_ME(ProcessLeftDown
);
2854 DEC_PYCALLBACK__(OnDismiss
);
2855 DEC_PYCALLBACK_BOOL_(CanDismiss
);
2860 IMP_PYCALLBACK_BOOL_ME(wxPyPopupTransientWindow
, wxPopupTransientWindow
, ProcessLeftDown
);
2861 IMP_PYCALLBACK__(wxPyPopupTransientWindow
, wxPopupTransientWindow
, OnDismiss
);
2862 IMP_PYCALLBACK_BOOL_(wxPyPopupTransientWindow
, wxPopupTransientWindow
, CanDismiss
);
2865 #include <wx/tipwin.h>
2867 SWIGINTERN wxTipWindow
*new_wxTipWindow(wxWindow
*parent
,wxString
const &text
,int maxLength
=100,wxRect
*rectBound
=NULL
){
2868 return new wxTipWindow(parent
, text
, maxLength
, NULL
, rectBound
);
2871 #include <wx/tipwin.h>
2874 #include <wx/vscroll.h>
2877 class wxPyVScrolledWindow
: public wxVScrolledWindow
2879 DECLARE_ABSTRACT_CLASS(wxPyVScrolledWindow
)
2881 wxPyVScrolledWindow() : wxVScrolledWindow() {}
2883 wxPyVScrolledWindow(wxWindow
*parent
,
2884 wxWindowID id
= wxID_ANY
,
2885 const wxPoint
& pos
= wxDefaultPosition
,
2886 const wxSize
& size
= wxDefaultSize
,
2888 const wxString
& name
= wxPyPanelNameStr
)
2889 : wxVScrolledWindow(parent
, id
, pos
, size
, style
, name
)
2892 // Overridable virtuals
2894 // this function must be overridden in the derived class and it should
2895 // return the height of the given line in pixels
2896 DEC_PYCALLBACK_COORD_SIZET_constpure(OnGetLineHeight
);
2899 // this function doesn't have to be overridden but it may be useful to do
2900 // it if calculating the lines heights is a relatively expensive operation
2901 // as it gives the user code a possibility to calculate several of them at
2904 // OnGetLinesHint() is normally called just before OnGetLineHeight() but you
2905 // shouldn't rely on the latter being called for all lines in the interval
2906 // specified here. It is also possible that OnGetLineHeight() will be
2907 // called for the lines outside of this interval, so this is really just a
2908 // hint, not a promise.
2910 // finally note that lineMin is inclusive, while lineMax is exclusive, as
2912 DEC_PYCALLBACK_VOID_SIZETSIZET_const(OnGetLinesHint
);
2915 // when the number of lines changes, we try to estimate the total height
2916 // of all lines which is a rather expensive operation in terms of lines
2917 // access, so if the user code may estimate the average height
2918 // better/faster than we do, it should override this function to implement
2921 // this function should return the best guess for the total height it may
2923 DEC_PYCALLBACK_COORD_const(EstimateTotalHeight
);
2926 // Also expose some other interesting protected methods
2929 // find the index of the line we need to show at the top of the window such
2930 // that the last (fully or partially) visible line is the given one
2931 size_t FindFirstFromBottom(size_t lineLast
, bool fullyVisible
= false)
2932 { return wxVScrolledWindow::FindFirstFromBottom(lineLast
, fullyVisible
); }
2934 // get the total height of the lines between lineMin (inclusive) and
2935 // lineMax (exclusive)
2936 wxCoord
GetLinesHeight(size_t lineMin
, size_t lineMax
) const
2937 { return wxVScrolledWindow::GetLinesHeight(lineMin
, lineMax
); }
2939 // update the thumb size shown by the scrollbar
2940 void UpdateScrollbar() { wxVScrolledWindow::UpdateScrollbar(); }
2942 // remove the scrollbar completely because we don't need it
2943 void RemoveScrollbar() { wxVScrolledWindow::RemoveScrollbar(); }
2948 IMPLEMENT_ABSTRACT_CLASS(wxPyVScrolledWindow
, wxVScrolledWindow
);
2950 IMP_PYCALLBACK_COORD_SIZET_constpure(wxPyVScrolledWindow
, wxVScrolledWindow
, OnGetLineHeight
);
2951 IMP_PYCALLBACK_VOID_SIZETSIZET_const(wxPyVScrolledWindow
, wxVScrolledWindow
, OnGetLinesHint
);
2952 IMP_PYCALLBACK_COORD_const (wxPyVScrolledWindow
, wxVScrolledWindow
, EstimateTotalHeight
);
2956 SWIG_AsVal_unsigned_SS_long (PyObject
* obj
, unsigned long* val
)
2959 if (SWIG_AsVal_long(obj
, &v
) && v
< 0) {
2960 return SWIG_TypeError
;
2963 *val
= (unsigned long)v
;
2968 SWIGINTERNINLINE
int
2969 SWIG_AsVal_size_t (PyObject
* obj
, size_t *val
)
2972 int res
= SWIG_AsVal_unsigned_SS_long (obj
, val
? &v
: 0);
2973 if (SWIG_IsOK(res
) && val
) *val
= static_cast< size_t >(v
);
2978 SWIGINTERNINLINE PyObject
*
2979 SWIG_From_unsigned_SS_long (unsigned long value
)
2981 return (value
> LONG_MAX
) ?
2982 PyLong_FromUnsignedLong(value
) : PyInt_FromLong(static_cast< long >(value
));
2986 SWIGINTERNINLINE PyObject
*
2987 SWIG_From_size_t (size_t value
)
2989 return SWIG_From_unsigned_SS_long (static_cast< unsigned long >(value
));
2993 #include <wx/vlbox.h>
2995 static const wxString
wxPyVListBoxNameStr(wxVListBoxNameStr
);
2997 class wxPyVListBox
: public wxVListBox
2999 DECLARE_ABSTRACT_CLASS(wxPyVListBox
)
3001 wxPyVListBox() : wxVListBox() {}
3003 wxPyVListBox(wxWindow
*parent
,
3004 wxWindowID id
= wxID_ANY
,
3005 const wxPoint
& pos
= wxDefaultPosition
,
3006 const wxSize
& size
= wxDefaultSize
,
3008 const wxString
& name
= wxPyVListBoxNameStr
)
3009 : wxVListBox(parent
, id
, pos
, size
, style
, name
)
3012 // Overridable virtuals
3014 // the derived class must implement this function to actually draw the item
3015 // with the given index on the provided DC
3016 // virtual void OnDrawItem(wxDC& dc, const wxRect& rect, size_t n) const = 0;
3017 DEC_PYCALLBACK__DCRECTSIZET_constpure(OnDrawItem
);
3020 // the derived class must implement this method to return the height of the
3022 // virtual wxCoord OnMeasureItem(size_t n) const = 0;
3023 DEC_PYCALLBACK_COORD_SIZET_constpure(OnMeasureItem
);
3026 // this method may be used to draw separators between the lines; note that
3027 // the rectangle may be modified, typically to deflate it a bit before
3028 // passing to OnDrawItem()
3030 // the base class version doesn't do anything
3031 // virtual void OnDrawSeparator(wxDC& dc, wxRect& rect, size_t n) const;
3032 DEC_PYCALLBACK__DCRECTSIZET2_const(OnDrawSeparator
);
3035 // this method is used to draw the items background and, maybe, a border
3038 // the base class version implements a reasonable default behaviour which
3039 // consists in drawing the selected item with the standard background
3040 // colour and drawing a border around the item if it is either selected or
3042 // virtual void OnDrawBackground(wxDC& dc, const wxRect& rect, size_t n) const;
3043 DEC_PYCALLBACK__DCRECTSIZET_const(OnDrawBackground
);
3049 IMPLEMENT_ABSTRACT_CLASS(wxPyVListBox
, wxVListBox
);
3051 IMP_PYCALLBACK__DCRECTSIZET_constpure(wxPyVListBox
, wxVListBox
, OnDrawItem
);
3052 IMP_PYCALLBACK_COORD_SIZET_constpure (wxPyVListBox
, wxVListBox
, OnMeasureItem
);
3053 IMP_PYCALLBACK__DCRECTSIZET2_const (wxPyVListBox
, wxVListBox
, OnDrawSeparator
);
3054 IMP_PYCALLBACK__DCRECTSIZET_const (wxPyVListBox
, wxVListBox
, OnDrawBackground
);
3057 SWIGINTERN PyObject
*wxPyVListBox_GetFirstSelected(wxPyVListBox
*self
){
3058 unsigned long cookie
= 0;
3059 int selected
= self
->GetFirstSelected(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
);
3067 SWIGINTERN PyObject
*wxPyVListBox_GetNextSelected(wxPyVListBox
*self
,unsigned long cookie
){
3068 int selected
= self
->GetNextSelected(cookie
);
3069 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3070 PyObject
* tup
= PyTuple_New(2);
3071 PyTuple_SET_ITEM(tup
, 0, PyInt_FromLong(selected
));
3072 PyTuple_SET_ITEM(tup
, 1, PyInt_FromLong(cookie
));
3073 wxPyEndBlockThreads(blocked
);
3077 #include <wx/htmllbox.h>
3080 class wxPyHtmlListBox
: public wxHtmlListBox
3082 DECLARE_ABSTRACT_CLASS(wxPyHtmlListBox
)
3084 wxPyHtmlListBox() : wxHtmlListBox() {}
3086 wxPyHtmlListBox(wxWindow
*parent
,
3087 wxWindowID id
= wxID_ANY
,
3088 const wxPoint
& pos
= wxDefaultPosition
,
3089 const wxSize
& size
= wxDefaultSize
,
3091 const wxString
& name
= wxPyVListBoxNameStr
)
3092 : wxHtmlListBox(parent
, id
, pos
, size
, style
, name
)
3095 // Overridable virtuals
3097 // this method must be implemented in the derived class and should return
3098 // the body (i.e. without <html>) of the HTML for the given item
3099 DEC_PYCALLBACK_STRING_SIZET_pure(OnGetItem
);
3101 // this function may be overridden to decorate HTML returned by OnGetItem()
3102 DEC_PYCALLBACK_STRING_SIZET(OnGetItemMarkup
);
3104 // These are from wxVListBox
3105 DEC_PYCALLBACK__DCRECTSIZET2_const(OnDrawSeparator
);
3106 DEC_PYCALLBACK__DCRECTSIZET_const(OnDrawBackground
);
3109 // // this method allows to customize the selection appearance: it may be used
3110 // // to specify the colour of the text which normally has the given colour
3111 // // colFg when it is inside the selection
3113 // // by default, the original colour is not used at all and all text has the
3114 // // same (default for this system) colour inside selection
3115 // virtual wxColour GetSelectedTextColour(const wxColour& colFg) const;
3117 // // this is the same as GetSelectedTextColour() but allows to customize the
3118 // // background colour -- this is even more rarely used as you can change it
3119 // // globally using SetSelectionBackground()
3120 // virtual wxColour GetSelectedTextBgColour(const wxColour& colBg) const;
3123 // This method may be overriden to handle clicking on a link in
3124 // the listbox. By default, clicking links is ignored.
3125 virtual void OnLinkClicked(size_t n
,
3126 const wxHtmlLinkInfo
& link
);
3132 IMPLEMENT_ABSTRACT_CLASS(wxPyHtmlListBox
, wxHtmlListBox
)
3134 IMP_PYCALLBACK_STRING_SIZET_pure(wxPyHtmlListBox
, wxHtmlListBox
, OnGetItem
);
3135 IMP_PYCALLBACK_STRING_SIZET (wxPyHtmlListBox
, wxHtmlListBox
, OnGetItemMarkup
);
3136 IMP_PYCALLBACK__DCRECTSIZET2_const (wxPyHtmlListBox
, wxHtmlListBox
, OnDrawSeparator
);
3137 IMP_PYCALLBACK__DCRECTSIZET_const (wxPyHtmlListBox
, wxHtmlListBox
, OnDrawBackground
);
3140 void wxPyHtmlListBox::OnLinkClicked(size_t n
,
3141 const wxHtmlLinkInfo
& link
) {
3143 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3144 if ((found
= wxPyCBH_findCallback(m_myInst
, "OnLinkClicked"))) {
3145 PyObject
* obj
= wxPyConstructObject((void*)&link
, wxT("wxHtmlLinkInfo"), 0);
3146 wxPyCBH_callCallback(m_myInst
, Py_BuildValue("(iO)", n
, obj
));
3149 wxPyEndBlockThreads(blocked
);
3151 wxPyHtmlListBox::OnLinkClicked(n
, link
);
3156 const wxArrayString wxPyEmptyStringArray
;
3158 static const wxString
wxPySimpleHtmlListBoxNameStr(wxSimpleHtmlListBoxNameStr
);
3162 #ifndef wxHAS_TASK_BAR_ICON
3163 // implement dummy classes for platforms that don't have it
3165 class wxTaskBarIcon
: public wxEvtHandler
3168 wxTaskBarIcon() { wxPyRaiseNotImplemented(); }
3172 class wxTaskBarIconEvent
: public wxEvent
3175 wxTaskBarIconEvent(wxEventType
, wxTaskBarIcon
*)
3176 { wxPyRaiseNotImplemented(); }
3177 virtual wxEvent
* Clone() const { return NULL
; }
3178 bool IsOk() const { return false; }
3179 bool IsIconInstalled() const { return false; }
3180 bool SetIcon(const wxIcon
& icon
, const wxString
& tooltip
= wxPyEmptyString
) { return false; }
3181 bool RemoveIcon() { return false; }
3182 bool PopupMenu(wxMenu
*menu
) { return false; }
3186 wxEVT_TASKBAR_MOVE
= 0,
3187 wxEVT_TASKBAR_LEFT_DOWN
= 0,
3188 wxEVT_TASKBAR_LEFT_UP
= 0,
3189 wxEVT_TASKBAR_RIGHT_DOWN
= 0,
3190 wxEVT_TASKBAR_RIGHT_UP
= 0,
3191 wxEVT_TASKBAR_LEFT_DCLICK
= 0,
3192 wxEVT_TASKBAR_RIGHT_DCLICK
= 0,
3197 // Otherwise make a class that can virtualize CreatePopupMenu
3198 class wxPyTaskBarIcon
: public wxTaskBarIcon
3200 DECLARE_ABSTRACT_CLASS(wxPyTaskBarIcon
)
3202 wxPyTaskBarIcon() : wxTaskBarIcon()
3205 wxMenu
* CreatePopupMenu() {
3206 wxMenu
*rval
= NULL
;
3208 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3209 if ((found
= wxPyCBH_findCallback(m_myInst
, "CreatePopupMenu"))) {
3212 ro
= wxPyCBH_callCallbackObj(m_myInst
, Py_BuildValue("()"));
3214 if (wxPyConvertSwigPtr(ro
, (void **)&ptr
, wxT("wxMenu")))
3219 wxPyEndBlockThreads(blocked
);
3221 rval
= wxTaskBarIcon::CreatePopupMenu();
3228 IMPLEMENT_ABSTRACT_CLASS(wxPyTaskBarIcon
, wxTaskBarIcon
);
3232 SWIGINTERN
void wxPyTaskBarIcon_Destroy(wxPyTaskBarIcon
*self
){
3236 static const wxString
wxPyFileSelectorPromptStr(wxFileSelectorPromptStr
);
3237 static const wxString
wxPyDirSelectorPromptStr(wxDirSelectorPromptStr
);
3238 static const wxString
wxPyDirDialogNameStr(wxDirDialogNameStr
);
3239 static const wxString
wxPyFileSelectorDefaultWildcardStr(wxFileSelectorDefaultWildcardStr
);
3240 static const wxString
wxPyGetTextFromUserPromptStr(wxGetTextFromUserPromptStr
);
3241 static const wxString
wxPyMessageBoxCaptionStr(wxMessageBoxCaptionStr
);
3243 // for compatibility only
3244 #define wxHIDE_READONLY 0
3246 SWIGINTERN PyObject
*wxFileDialog_GetFilenames(wxFileDialog
*self
){
3248 self
->GetFilenames(arr
);
3249 return wxArrayString2PyList_helper(arr
);
3251 SWIGINTERN PyObject
*wxFileDialog_GetPaths(wxFileDialog
*self
){
3253 self
->GetPaths(arr
);
3254 return wxArrayString2PyList_helper(arr
);
3256 SWIGINTERN PyObject
*wxMultiChoiceDialog_GetSelections(wxMultiChoiceDialog
*self
){
3257 return wxArrayInt2PyList_helper(self
->GetSelections());
3259 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
){
3260 return new wxSingleChoiceDialog(parent
, message
, caption
,
3261 choices
, choices_array
, NULL
, style
, pos
);
3263 static const wxString
wxPyGetPasswordFromUserPromptStr(wxGetPasswordFromUserPromptStr
);
3265 SWIGINTERNINLINE PyObject
*
3266 SWIG_From_bool (bool value
)
3268 return PyBool_FromLong(value
? 1 : 0);
3274 // C++ version of Python aware wxWindow
3275 class wxPyWindow
: public wxWindow
3277 DECLARE_DYNAMIC_CLASS(wxPyWindow
)
3279 wxPyWindow() : wxWindow() {}
3280 wxPyWindow(wxWindow
* parent
, const wxWindowID id
,
3281 const wxPoint
& pos
= wxDefaultPosition
,
3282 const wxSize
& size
= wxDefaultSize
,
3284 const wxString
& name
= wxPyPanelNameStr
)
3285 : wxWindow(parent
, id
, pos
, size
, style
, name
) {}
3288 bool DoEraseBackground(wxDC
* dc
) {
3290 return wxWindow::DoEraseBackground(dc
->GetHDC());
3292 dc
->SetBackground(wxBrush(GetBackgroundColour()));
3298 DEC_PYCALLBACK_VOID_INT4(DoMoveWindow
);
3299 DEC_PYCALLBACK_VOID_INT5(DoSetSize
);
3300 DEC_PYCALLBACK_VOID_INTINT(DoSetClientSize
);
3301 DEC_PYCALLBACK_VOID_INTINT(DoSetVirtualSize
);
3303 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetSize
);
3304 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetClientSize
);
3305 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetPosition
);
3307 DEC_PYCALLBACK_SIZE_const(DoGetVirtualSize
);
3308 DEC_PYCALLBACK_SIZE_const(DoGetBestSize
);
3310 DEC_PYCALLBACK__(InitDialog
);
3311 DEC_PYCALLBACK_BOOL_(TransferDataFromWindow
);
3312 DEC_PYCALLBACK_BOOL_(TransferDataToWindow
);
3313 DEC_PYCALLBACK_BOOL_(Validate
);
3315 DEC_PYCALLBACK_BOOL_const(AcceptsFocus
);
3316 DEC_PYCALLBACK_BOOL_const(AcceptsFocusFromKeyboard
);
3317 DEC_PYCALLBACK_SIZE_const(GetMaxSize
);
3319 DEC_PYCALLBACK_VOID_WXWINBASE(AddChild
);
3320 DEC_PYCALLBACK_VOID_WXWINBASE(RemoveChild
);
3322 DEC_PYCALLBACK_BOOL_const(ShouldInheritColours
);
3323 DEC_PYCALLBACK_VIZATTR_(GetDefaultAttributes
);
3325 DEC_PYCALLBACK_BOOL_(HasTransparentBackground
);
3327 DEC_PYCALLBACK_VOID_(OnInternalIdle
);
3332 IMPLEMENT_DYNAMIC_CLASS(wxPyWindow
, wxWindow
);
3334 IMP_PYCALLBACK_VOID_INT4(wxPyWindow
, wxWindow
, DoMoveWindow
);
3335 IMP_PYCALLBACK_VOID_INT5(wxPyWindow
, wxWindow
, DoSetSize
);
3336 IMP_PYCALLBACK_VOID_INTINT(wxPyWindow
, wxWindow
, DoSetClientSize
);
3337 IMP_PYCALLBACK_VOID_INTINT(wxPyWindow
, wxWindow
, DoSetVirtualSize
);
3339 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyWindow
, wxWindow
, DoGetSize
);
3340 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyWindow
, wxWindow
, DoGetClientSize
);
3341 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyWindow
, wxWindow
, DoGetPosition
);
3343 IMP_PYCALLBACK_SIZE_const(wxPyWindow
, wxWindow
, DoGetVirtualSize
);
3344 IMP_PYCALLBACK_SIZE_const(wxPyWindow
, wxWindow
, DoGetBestSize
);
3346 IMP_PYCALLBACK__(wxPyWindow
, wxWindow
, InitDialog
);
3347 IMP_PYCALLBACK_BOOL_(wxPyWindow
, wxWindow
, TransferDataFromWindow
);
3348 IMP_PYCALLBACK_BOOL_(wxPyWindow
, wxWindow
, TransferDataToWindow
);
3349 IMP_PYCALLBACK_BOOL_(wxPyWindow
, wxWindow
, Validate
);
3351 IMP_PYCALLBACK_BOOL_const(wxPyWindow
, wxWindow
, AcceptsFocus
);
3352 IMP_PYCALLBACK_BOOL_const(wxPyWindow
, wxWindow
, AcceptsFocusFromKeyboard
);
3353 IMP_PYCALLBACK_SIZE_const(wxPyWindow
, wxWindow
, GetMaxSize
);
3355 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyWindow
, wxWindow
, AddChild
);
3356 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyWindow
, wxWindow
, RemoveChild
);
3358 IMP_PYCALLBACK_BOOL_const(wxPyWindow
, wxWindow
, ShouldInheritColours
);
3359 IMP_PYCALLBACK_VIZATTR_(wxPyWindow
, wxWindow
, GetDefaultAttributes
);
3361 IMP_PYCALLBACK_BOOL_(wxPyWindow
, wxWindow
, HasTransparentBackground
);
3363 IMP_PYCALLBACK_VOID_(wxPyWindow
, wxWindow
, OnInternalIdle
);
3365 // C++ version of Python aware wxPanel
3366 class wxPyPanel
: public wxPanel
3368 DECLARE_DYNAMIC_CLASS(wxPyPanel
)
3370 wxPyPanel() : wxPanel() {}
3371 wxPyPanel(wxWindow
* parent
, const wxWindowID id
,
3372 const wxPoint
& pos
= wxDefaultPosition
,
3373 const wxSize
& size
= wxDefaultSize
,
3375 const wxString
& name
= wxPyPanelNameStr
)
3376 : wxPanel(parent
, id
, pos
, size
, style
, name
) {}
3378 bool DoEraseBackground(wxDC
* dc
) {
3380 return wxWindow::DoEraseBackground(dc
->GetHDC());
3382 dc
->SetBackground(wxBrush(GetBackgroundColour()));
3389 DEC_PYCALLBACK_VOID_INT4(DoMoveWindow
);
3390 DEC_PYCALLBACK_VOID_INT5(DoSetSize
);
3391 DEC_PYCALLBACK_VOID_INTINT(DoSetClientSize
);
3392 DEC_PYCALLBACK_VOID_INTINT(DoSetVirtualSize
);
3394 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetSize
);
3395 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetClientSize
);
3396 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetPosition
);
3398 DEC_PYCALLBACK_SIZE_const(DoGetVirtualSize
);
3399 DEC_PYCALLBACK_SIZE_const(DoGetBestSize
);
3401 DEC_PYCALLBACK__(InitDialog
);
3402 DEC_PYCALLBACK_BOOL_(TransferDataFromWindow
);
3403 DEC_PYCALLBACK_BOOL_(TransferDataToWindow
);
3404 DEC_PYCALLBACK_BOOL_(Validate
);
3406 DEC_PYCALLBACK_BOOL_const(AcceptsFocus
);
3407 DEC_PYCALLBACK_BOOL_const(AcceptsFocusFromKeyboard
);
3408 DEC_PYCALLBACK_SIZE_const(GetMaxSize
);
3410 DEC_PYCALLBACK_VOID_WXWINBASE(AddChild
);
3411 DEC_PYCALLBACK_VOID_WXWINBASE(RemoveChild
);
3413 DEC_PYCALLBACK_BOOL_const(ShouldInheritColours
);
3414 DEC_PYCALLBACK_VIZATTR_(GetDefaultAttributes
);
3416 DEC_PYCALLBACK_BOOL_(HasTransparentBackground
);
3418 DEC_PYCALLBACK_VOID_(OnInternalIdle
);
3423 IMPLEMENT_DYNAMIC_CLASS(wxPyPanel
, wxPanel
);
3425 IMP_PYCALLBACK_VOID_INT4(wxPyPanel
, wxPanel
, DoMoveWindow
);
3426 IMP_PYCALLBACK_VOID_INT5(wxPyPanel
, wxPanel
, DoSetSize
);
3427 IMP_PYCALLBACK_VOID_INTINT(wxPyPanel
, wxPanel
, DoSetClientSize
);
3428 IMP_PYCALLBACK_VOID_INTINT(wxPyPanel
, wxPanel
, DoSetVirtualSize
);
3430 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyPanel
, wxPanel
, DoGetSize
);
3431 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyPanel
, wxPanel
, DoGetClientSize
);
3432 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyPanel
, wxPanel
, DoGetPosition
);
3434 IMP_PYCALLBACK_SIZE_const(wxPyPanel
, wxPanel
, DoGetVirtualSize
);
3435 IMP_PYCALLBACK_SIZE_const(wxPyPanel
, wxPanel
, DoGetBestSize
);
3437 IMP_PYCALLBACK__(wxPyPanel
, wxPanel
, InitDialog
);
3438 IMP_PYCALLBACK_BOOL_(wxPyPanel
, wxPanel
, TransferDataFromWindow
);
3439 IMP_PYCALLBACK_BOOL_(wxPyPanel
, wxPanel
, TransferDataToWindow
);
3440 IMP_PYCALLBACK_BOOL_(wxPyPanel
, wxPanel
, Validate
);
3442 IMP_PYCALLBACK_BOOL_const(wxPyPanel
, wxPanel
, AcceptsFocus
);
3443 IMP_PYCALLBACK_BOOL_const(wxPyPanel
, wxPanel
, AcceptsFocusFromKeyboard
);
3444 IMP_PYCALLBACK_SIZE_const(wxPyPanel
, wxPanel
, GetMaxSize
);
3446 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyPanel
, wxPanel
, AddChild
);
3447 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyPanel
, wxPanel
, RemoveChild
);
3449 IMP_PYCALLBACK_BOOL_const(wxPyPanel
, wxPanel
, ShouldInheritColours
);
3450 IMP_PYCALLBACK_VIZATTR_(wxPyPanel
, wxPanel
, GetDefaultAttributes
);
3452 IMP_PYCALLBACK_BOOL_(wxPyPanel
, wxPanel
, HasTransparentBackground
);
3454 IMP_PYCALLBACK_VOID_(wxPyPanel
, wxPanel
, OnInternalIdle
);
3456 // C++ version of Python aware wxScrolledWindow
3457 class wxPyScrolledWindow
: public wxScrolledWindow
3459 DECLARE_DYNAMIC_CLASS(wxPyScrolledWindow
)
3461 wxPyScrolledWindow() : wxScrolledWindow() {}
3462 wxPyScrolledWindow(wxWindow
* parent
, const wxWindowID id
,
3463 const wxPoint
& pos
= wxDefaultPosition
,
3464 const wxSize
& size
= wxDefaultSize
,
3466 const wxString
& name
= wxPyPanelNameStr
)
3467 : wxScrolledWindow(parent
, id
, pos
, size
, style
, name
) {}
3469 bool DoEraseBackground(wxDC
* dc
) {
3471 return wxWindow::DoEraseBackground(dc
->GetHDC());
3473 dc
->SetBackground(wxBrush(GetBackgroundColour()));
3479 DEC_PYCALLBACK_VOID_INT4(DoMoveWindow
);
3480 DEC_PYCALLBACK_VOID_INT5(DoSetSize
);
3481 DEC_PYCALLBACK_VOID_INTINT(DoSetClientSize
);
3482 DEC_PYCALLBACK_VOID_INTINT(DoSetVirtualSize
);
3484 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetSize
);
3485 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetClientSize
);
3486 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetPosition
);
3488 DEC_PYCALLBACK_SIZE_const(DoGetVirtualSize
);
3489 DEC_PYCALLBACK_SIZE_const(DoGetBestSize
);
3491 DEC_PYCALLBACK__(InitDialog
);
3492 DEC_PYCALLBACK_BOOL_(TransferDataFromWindow
);
3493 DEC_PYCALLBACK_BOOL_(TransferDataToWindow
);
3494 DEC_PYCALLBACK_BOOL_(Validate
);
3496 DEC_PYCALLBACK_BOOL_const(AcceptsFocus
);
3497 DEC_PYCALLBACK_BOOL_const(AcceptsFocusFromKeyboard
);
3498 DEC_PYCALLBACK_SIZE_const(GetMaxSize
);
3500 DEC_PYCALLBACK_VOID_WXWINBASE(AddChild
);
3501 DEC_PYCALLBACK_VOID_WXWINBASE(RemoveChild
);
3503 DEC_PYCALLBACK_BOOL_const(ShouldInheritColours
);
3504 DEC_PYCALLBACK_VIZATTR_(GetDefaultAttributes
);
3506 DEC_PYCALLBACK_BOOL_(HasTransparentBackground
);
3508 DEC_PYCALLBACK_VOID_(OnInternalIdle
);
3513 IMPLEMENT_DYNAMIC_CLASS(wxPyScrolledWindow
, wxScrolledWindow
);
3515 IMP_PYCALLBACK_VOID_INT4(wxPyScrolledWindow
, wxScrolledWindow
, DoMoveWindow
);
3516 IMP_PYCALLBACK_VOID_INT5(wxPyScrolledWindow
, wxScrolledWindow
, DoSetSize
);
3517 IMP_PYCALLBACK_VOID_INTINT(wxPyScrolledWindow
, wxScrolledWindow
, DoSetClientSize
);
3518 IMP_PYCALLBACK_VOID_INTINT(wxPyScrolledWindow
, wxScrolledWindow
, DoSetVirtualSize
);
3520 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyScrolledWindow
, wxScrolledWindow
, DoGetSize
);
3521 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyScrolledWindow
, wxScrolledWindow
, DoGetClientSize
);
3522 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyScrolledWindow
, wxScrolledWindow
, DoGetPosition
);
3524 IMP_PYCALLBACK_SIZE_const(wxPyScrolledWindow
, wxScrolledWindow
, DoGetVirtualSize
);
3525 IMP_PYCALLBACK_SIZE_const(wxPyScrolledWindow
, wxScrolledWindow
, DoGetBestSize
);
3527 IMP_PYCALLBACK__(wxPyScrolledWindow
, wxScrolledWindow
, InitDialog
);
3528 IMP_PYCALLBACK_BOOL_(wxPyScrolledWindow
, wxScrolledWindow
, TransferDataFromWindow
);
3529 IMP_PYCALLBACK_BOOL_(wxPyScrolledWindow
, wxScrolledWindow
, TransferDataToWindow
);
3530 IMP_PYCALLBACK_BOOL_(wxPyScrolledWindow
, wxScrolledWindow
, Validate
);
3532 IMP_PYCALLBACK_BOOL_const(wxPyScrolledWindow
, wxScrolledWindow
, AcceptsFocus
);
3533 IMP_PYCALLBACK_BOOL_const(wxPyScrolledWindow
, wxScrolledWindow
, AcceptsFocusFromKeyboard
);
3534 IMP_PYCALLBACK_SIZE_const(wxPyScrolledWindow
, wxScrolledWindow
, GetMaxSize
);
3536 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyScrolledWindow
, wxScrolledWindow
, AddChild
);
3537 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyScrolledWindow
, wxScrolledWindow
, RemoveChild
);
3539 IMP_PYCALLBACK_BOOL_const(wxPyScrolledWindow
, wxScrolledWindow
, ShouldInheritColours
);
3540 IMP_PYCALLBACK_VIZATTR_(wxPyScrolledWindow
, wxScrolledWindow
, GetDefaultAttributes
);
3542 IMP_PYCALLBACK_BOOL_(wxPyScrolledWindow
, wxScrolledWindow
, HasTransparentBackground
);
3544 IMP_PYCALLBACK_VOID_(wxPyScrolledWindow
, wxScrolledWindow
, OnInternalIdle
);
3547 #include "wx/wxPython/printfw.h"
3550 static const wxString
wxPyPrintoutTitleStr(wxT("Printout"));
3551 static const wxString
wxPyPreviewCanvasNameStr(wxT("previewcanvas"));
3552 SWIGINTERN PyObject
*wxPrintData_GetPrivData(wxPrintData
*self
){
3554 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3555 data
= PyString_FromStringAndSize(self
->GetPrivData(),
3556 self
->GetPrivDataLen());
3557 wxPyEndBlockThreads(blocked
);
3560 SWIGINTERN
void wxPrintData_SetPrivData(wxPrintData
*self
,PyObject
*data
){
3561 if (! PyString_Check(data
)) {
3562 wxPyBLOCK_THREADS(PyErr_SetString(PyExc_TypeError
,
3563 "Expected string object"));
3567 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3568 self
->SetPrivData(PyString_AS_STRING(data
), PyString_GET_SIZE(data
));
3569 wxPyEndBlockThreads(blocked
);
3573 IMPLEMENT_ABSTRACT_CLASS(wxPyPrintout
, wxPrintout
);
3575 // Since this one would be tough and ugly to do with the Macros...
3576 void wxPyPrintout::GetPageInfo(int *minPage
, int *maxPage
, int *pageFrom
, int *pageTo
) {
3577 bool hadErr
= false;
3580 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3581 if ((found
= wxPyCBH_findCallback(m_myInst
, "GetPageInfo"))) {
3582 PyObject
* result
= wxPyCBH_callCallbackObj(m_myInst
, Py_BuildValue("()"));
3583 if (result
&& PyTuple_Check(result
) && PyTuple_Size(result
) == 4) {
3586 val
= PyTuple_GetItem(result
, 0);
3587 if (PyInt_Check(val
)) *minPage
= PyInt_AsLong(val
);
3590 val
= PyTuple_GetItem(result
, 1);
3591 if (PyInt_Check(val
)) *maxPage
= PyInt_AsLong(val
);
3594 val
= PyTuple_GetItem(result
, 2);
3595 if (PyInt_Check(val
)) *pageFrom
= PyInt_AsLong(val
);
3598 val
= PyTuple_GetItem(result
, 3);
3599 if (PyInt_Check(val
)) *pageTo
= PyInt_AsLong(val
);
3606 PyErr_SetString(PyExc_TypeError
, "GetPageInfo should return a tuple of 4 integers.");
3611 wxPyEndBlockThreads(blocked
);
3613 wxPrintout::GetPageInfo(minPage
, maxPage
, pageFrom
, pageTo
);
3618 IMP_PYCALLBACK_BOOL_INTINT(wxPyPrintout
, wxPrintout
, OnBeginDocument
);
3619 IMP_PYCALLBACK__(wxPyPrintout
, wxPrintout
, OnEndDocument
);
3620 IMP_PYCALLBACK__(wxPyPrintout
, wxPrintout
, OnBeginPrinting
);
3621 IMP_PYCALLBACK__(wxPyPrintout
, wxPrintout
, OnEndPrinting
);
3622 IMP_PYCALLBACK__(wxPyPrintout
, wxPrintout
, OnPreparePrinting
);
3623 IMP_PYCALLBACK_BOOL_INT_pure(wxPyPrintout
, wxPrintout
, OnPrintPage
);
3624 IMP_PYCALLBACK_BOOL_INT(wxPyPrintout
, wxPrintout
, HasPage
);
3630 #define DEC_PYCALLBACK_BOOL_PREWINDC(CBNAME) \
3631 bool CBNAME(wxPreviewCanvas* a, wxDC& b)
3634 #define IMP_PYCALLBACK_BOOL_PREWINDC(CLASS, PCLASS, CBNAME) \
3635 bool CLASS::CBNAME(wxPreviewCanvas* a, wxDC& b) { \
3638 wxPyBlock_t blocked = wxPyBeginBlockThreads(); \
3639 if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) { \
3640 PyObject* win = wxPyMake_wxObject(a,false); \
3641 PyObject* dc = wxPyMake_wxObject(&b,false); \
3642 rval = wxPyCBH_callCallback(m_myInst, Py_BuildValue("(OO)", win, dc)); \
3646 wxPyEndBlockThreads(blocked); \
3648 rval = PCLASS::CBNAME(a, b); \
3655 class wxPyPrintPreview
: public wxPrintPreview
3657 DECLARE_CLASS(wxPyPrintPreview
)
3659 wxPyPrintPreview(wxPyPrintout
* printout
,
3660 wxPyPrintout
* printoutForPrinting
,
3661 wxPrintDialogData
* data
=NULL
)
3662 : wxPrintPreview(printout
, printoutForPrinting
, data
)
3664 wxPyPrintPreview(wxPyPrintout
* printout
,
3665 wxPyPrintout
* printoutForPrinting
,
3667 : wxPrintPreview(printout
, printoutForPrinting
, data
)
3670 DEC_PYCALLBACK_BOOL_INT(SetCurrentPage
);
3671 DEC_PYCALLBACK_BOOL_PREWINDC(PaintPage
);
3672 DEC_PYCALLBACK_BOOL_PREWINDC(DrawBlankPage
);
3673 DEC_PYCALLBACK_BOOL_INT(RenderPage
);
3674 DEC_PYCALLBACK_VOID_INT(SetZoom
);
3675 DEC_PYCALLBACK_BOOL_BOOL(Print
);
3676 DEC_PYCALLBACK_VOID_(DetermineScaling
);
3681 // Stupid renamed classes... Fix this in 2.5...
3682 #if defined(__WXMSW__)
3683 IMPLEMENT_CLASS( wxPyPrintPreview
, wxWindowsPrintPreview
);
3684 #elif defined(__WXMAC__)
3685 IMPLEMENT_CLASS( wxPyPrintPreview
, wxMacPrintPreview
);
3687 IMPLEMENT_CLASS( wxPyPrintPreview
, wxPostScriptPrintPreview
);
3690 IMP_PYCALLBACK_BOOL_INT (wxPyPrintPreview
, wxPrintPreview
, SetCurrentPage
);
3691 IMP_PYCALLBACK_BOOL_PREWINDC(wxPyPrintPreview
, wxPrintPreview
, PaintPage
);
3692 IMP_PYCALLBACK_BOOL_PREWINDC(wxPyPrintPreview
, wxPrintPreview
, DrawBlankPage
);
3693 IMP_PYCALLBACK_BOOL_INT (wxPyPrintPreview
, wxPrintPreview
, RenderPage
);
3694 IMP_PYCALLBACK_VOID_INT (wxPyPrintPreview
, wxPrintPreview
, SetZoom
);
3695 IMP_PYCALLBACK_BOOL_BOOL (wxPyPrintPreview
, wxPrintPreview
, Print
);
3696 IMP_PYCALLBACK_VOID_ (wxPyPrintPreview
, wxPrintPreview
, DetermineScaling
);
3699 class wxPyPreviewFrame
: public wxPreviewFrame
3701 DECLARE_CLASS(wxPyPreviewFrame
)
3703 wxPyPreviewFrame(wxPrintPreview
* preview
, wxFrame
* parent
,
3704 const wxString
& title
,
3705 const wxPoint
& pos
= wxDefaultPosition
,
3706 const wxSize
& size
= wxDefaultSize
,
3707 long style
= wxDEFAULT_FRAME_STYLE
,
3708 const wxString
& name
= wxPyFrameNameStr
)
3709 : wxPreviewFrame(preview
, parent
, title
, pos
, size
, style
, name
)
3712 void SetPreviewCanvas(wxPreviewCanvas
* canvas
) { m_previewCanvas
= canvas
; }
3713 void SetControlBar(wxPreviewControlBar
* bar
) { m_controlBar
= bar
; }
3715 DEC_PYCALLBACK_VOID_(Initialize
);
3716 DEC_PYCALLBACK_VOID_(CreateCanvas
);
3717 DEC_PYCALLBACK_VOID_(CreateControlBar
);
3722 IMPLEMENT_CLASS(wxPyPreviewFrame
, wxPreviewFrame
);
3724 IMP_PYCALLBACK_VOID_(wxPyPreviewFrame
, wxPreviewFrame
, Initialize
);
3725 IMP_PYCALLBACK_VOID_(wxPyPreviewFrame
, wxPreviewFrame
, CreateCanvas
);
3726 IMP_PYCALLBACK_VOID_(wxPyPreviewFrame
, wxPreviewFrame
, CreateControlBar
);
3729 class wxPyPreviewControlBar
: public wxPreviewControlBar
3731 DECLARE_CLASS(wxPyPreviewControlBar
)
3733 wxPyPreviewControlBar(wxPrintPreview
*preview
,
3736 const wxPoint
& pos
= wxDefaultPosition
,
3737 const wxSize
& size
= wxDefaultSize
,
3739 const wxString
& name
= wxPyPanelNameStr
)
3740 : wxPreviewControlBar(preview
, buttons
, parent
, pos
, size
, style
, name
)
3743 void SetPrintPreview(wxPrintPreview
* preview
) { m_printPreview
= preview
; }
3745 DEC_PYCALLBACK_VOID_(CreateButtons
);
3746 DEC_PYCALLBACK_VOID_INT(SetZoomControl
);
3751 IMPLEMENT_CLASS(wxPyPreviewControlBar
, wxPreviewControlBar
);
3752 IMP_PYCALLBACK_VOID_(wxPyPreviewControlBar
, wxPreviewControlBar
, CreateButtons
);
3753 IMP_PYCALLBACK_VOID_INT(wxPyPreviewControlBar
, wxPreviewControlBar
, SetZoomControl
);
3758 SWIGINTERN PyObject
*_wrap_new_Panel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
3759 PyObject
*resultobj
= 0;
3760 wxWindow
*arg1
= (wxWindow
*) 0 ;
3761 int arg2
= (int) (int)-1 ;
3762 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
3763 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
3764 wxSize
const &arg4_defvalue
= wxDefaultSize
;
3765 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
3766 long arg5
= (long) wxTAB_TRAVERSAL
|wxNO_BORDER
;
3767 wxString
const &arg6_defvalue
= wxPyPanelNameStr
;
3768 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
3769 wxPanel
*result
= 0 ;
3778 bool temp6
= false ;
3779 PyObject
* obj0
= 0 ;
3780 PyObject
* obj1
= 0 ;
3781 PyObject
* obj2
= 0 ;
3782 PyObject
* obj3
= 0 ;
3783 PyObject
* obj4
= 0 ;
3784 PyObject
* obj5
= 0 ;
3785 char * kwnames
[] = {
3786 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
3789 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_Panel",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
3790 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
3791 if (!SWIG_IsOK(res1
)) {
3792 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_Panel" "', expected argument " "1"" of type '" "wxWindow *""'");
3794 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
3796 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
3797 if (!SWIG_IsOK(ecode2
)) {
3798 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Panel" "', expected argument " "2"" of type '" "int""'");
3800 arg2
= static_cast< int >(val2
);
3805 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
3811 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
3815 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
3816 if (!SWIG_IsOK(ecode5
)) {
3817 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_Panel" "', expected argument " "5"" of type '" "long""'");
3819 arg5
= static_cast< long >(val5
);
3823 arg6
= wxString_in_helper(obj5
);
3824 if (arg6
== NULL
) SWIG_fail
;
3829 if (!wxPyCheckForApp()) SWIG_fail
;
3830 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3831 result
= (wxPanel
*)new wxPanel(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
3832 wxPyEndAllowThreads(__tstate
);
3833 if (PyErr_Occurred()) SWIG_fail
;
3835 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPanel
, SWIG_POINTER_NEW
| 0 );
3850 SWIGINTERN PyObject
*_wrap_new_PrePanel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3851 PyObject
*resultobj
= 0;
3852 wxPanel
*result
= 0 ;
3854 if (!SWIG_Python_UnpackTuple(args
,"new_PrePanel",0,0,0)) SWIG_fail
;
3856 if (!wxPyCheckForApp()) SWIG_fail
;
3857 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3858 result
= (wxPanel
*)new wxPanel();
3859 wxPyEndAllowThreads(__tstate
);
3860 if (PyErr_Occurred()) SWIG_fail
;
3862 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPanel
, SWIG_POINTER_OWN
| 0 );
3869 SWIGINTERN PyObject
*_wrap_Panel_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
3870 PyObject
*resultobj
= 0;
3871 wxPanel
*arg1
= (wxPanel
*) 0 ;
3872 wxWindow
*arg2
= (wxWindow
*) 0 ;
3873 int arg3
= (int) (int)-1 ;
3874 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
3875 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
3876 wxSize
const &arg5_defvalue
= wxDefaultSize
;
3877 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
3878 long arg6
= (long) wxTAB_TRAVERSAL
|wxNO_BORDER
;
3879 wxString
const &arg7_defvalue
= wxPyPanelNameStr
;
3880 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
3892 bool temp7
= false ;
3893 PyObject
* obj0
= 0 ;
3894 PyObject
* obj1
= 0 ;
3895 PyObject
* obj2
= 0 ;
3896 PyObject
* obj3
= 0 ;
3897 PyObject
* obj4
= 0 ;
3898 PyObject
* obj5
= 0 ;
3899 PyObject
* obj6
= 0 ;
3900 char * kwnames
[] = {
3901 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
3904 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:Panel_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
3905 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPanel
, 0 | 0 );
3906 if (!SWIG_IsOK(res1
)) {
3907 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Panel_Create" "', expected argument " "1"" of type '" "wxPanel *""'");
3909 arg1
= reinterpret_cast< wxPanel
* >(argp1
);
3910 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
3911 if (!SWIG_IsOK(res2
)) {
3912 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Panel_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
3914 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
3916 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
3917 if (!SWIG_IsOK(ecode3
)) {
3918 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Panel_Create" "', expected argument " "3"" of type '" "int""'");
3920 arg3
= static_cast< int >(val3
);
3925 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
3931 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
3935 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
3936 if (!SWIG_IsOK(ecode6
)) {
3937 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "Panel_Create" "', expected argument " "6"" of type '" "long""'");
3939 arg6
= static_cast< long >(val6
);
3943 arg7
= wxString_in_helper(obj6
);
3944 if (arg7
== NULL
) SWIG_fail
;
3949 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3950 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
3951 wxPyEndAllowThreads(__tstate
);
3952 if (PyErr_Occurred()) SWIG_fail
;
3955 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3971 SWIGINTERN PyObject
*_wrap_Panel_SetFocusIgnoringChildren(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3972 PyObject
*resultobj
= 0;
3973 wxPanel
*arg1
= (wxPanel
*) 0 ;
3976 PyObject
*swig_obj
[1] ;
3978 if (!args
) SWIG_fail
;
3980 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPanel
, 0 | 0 );
3981 if (!SWIG_IsOK(res1
)) {
3982 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Panel_SetFocusIgnoringChildren" "', expected argument " "1"" of type '" "wxPanel *""'");
3984 arg1
= reinterpret_cast< wxPanel
* >(argp1
);
3986 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3987 (arg1
)->SetFocusIgnoringChildren();
3988 wxPyEndAllowThreads(__tstate
);
3989 if (PyErr_Occurred()) SWIG_fail
;
3991 resultobj
= SWIG_Py_Void();
3998 SWIGINTERN PyObject
*_wrap_Panel_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
3999 PyObject
*resultobj
= 0;
4000 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
4001 SwigValueWrapper
<wxVisualAttributes
> result
;
4004 PyObject
* obj0
= 0 ;
4005 char * kwnames
[] = {
4006 (char *) "variant", NULL
4009 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Panel_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
4011 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
4012 if (!SWIG_IsOK(ecode1
)) {
4013 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "Panel_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
4015 arg1
= static_cast< wxWindowVariant
>(val1
);
4018 if (!wxPyCheckForApp()) SWIG_fail
;
4019 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4020 result
= wxPanel::GetClassDefaultAttributes(arg1
);
4021 wxPyEndAllowThreads(__tstate
);
4022 if (PyErr_Occurred()) SWIG_fail
;
4024 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
4031 SWIGINTERN PyObject
*Panel_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4033 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
4034 SWIG_TypeNewClientData(SWIGTYPE_p_wxPanel
, SWIG_NewClientData(obj
));
4035 return SWIG_Py_Void();
4038 SWIGINTERN PyObject
*Panel_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4039 return SWIG_Python_InitShadowInstance(args
);
4042 SWIGINTERN PyObject
*_wrap_new_ScrolledWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4043 PyObject
*resultobj
= 0;
4044 wxWindow
*arg1
= (wxWindow
*) 0 ;
4045 int arg2
= (int) (int)-1 ;
4046 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
4047 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
4048 wxSize
const &arg4_defvalue
= wxDefaultSize
;
4049 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
4050 long arg5
= (long) wxHSCROLL
|wxVSCROLL
;
4051 wxString
const &arg6_defvalue
= wxPyPanelNameStr
;
4052 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
4053 wxScrolledWindow
*result
= 0 ;
4062 bool temp6
= false ;
4063 PyObject
* obj0
= 0 ;
4064 PyObject
* obj1
= 0 ;
4065 PyObject
* obj2
= 0 ;
4066 PyObject
* obj3
= 0 ;
4067 PyObject
* obj4
= 0 ;
4068 PyObject
* obj5
= 0 ;
4069 char * kwnames
[] = {
4070 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4073 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_ScrolledWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
4074 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
4075 if (!SWIG_IsOK(res1
)) {
4076 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_ScrolledWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
4078 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
4080 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
4081 if (!SWIG_IsOK(ecode2
)) {
4082 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_ScrolledWindow" "', expected argument " "2"" of type '" "int""'");
4084 arg2
= static_cast< int >(val2
);
4089 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
4095 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
4099 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
4100 if (!SWIG_IsOK(ecode5
)) {
4101 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_ScrolledWindow" "', expected argument " "5"" of type '" "long""'");
4103 arg5
= static_cast< long >(val5
);
4107 arg6
= wxString_in_helper(obj5
);
4108 if (arg6
== NULL
) SWIG_fail
;
4113 if (!wxPyCheckForApp()) SWIG_fail
;
4114 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4115 result
= (wxScrolledWindow
*)new wxScrolledWindow(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
4116 wxPyEndAllowThreads(__tstate
);
4117 if (PyErr_Occurred()) SWIG_fail
;
4119 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxScrolledWindow
, SWIG_POINTER_NEW
| 0 );
4134 SWIGINTERN PyObject
*_wrap_new_PreScrolledWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4135 PyObject
*resultobj
= 0;
4136 wxScrolledWindow
*result
= 0 ;
4138 if (!SWIG_Python_UnpackTuple(args
,"new_PreScrolledWindow",0,0,0)) SWIG_fail
;
4140 if (!wxPyCheckForApp()) SWIG_fail
;
4141 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4142 result
= (wxScrolledWindow
*)new wxScrolledWindow();
4143 wxPyEndAllowThreads(__tstate
);
4144 if (PyErr_Occurred()) SWIG_fail
;
4146 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxScrolledWindow
, SWIG_POINTER_OWN
| 0 );
4153 SWIGINTERN PyObject
*_wrap_ScrolledWindow_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4154 PyObject
*resultobj
= 0;
4155 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
4156 wxWindow
*arg2
= (wxWindow
*) 0 ;
4157 int arg3
= (int) (int)-1 ;
4158 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
4159 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
4160 wxSize
const &arg5_defvalue
= wxDefaultSize
;
4161 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
4162 long arg6
= (long) wxHSCROLL
|wxVSCROLL
;
4163 wxString
const &arg7_defvalue
= wxPyPanelNameStr
;
4164 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
4176 bool temp7
= false ;
4177 PyObject
* obj0
= 0 ;
4178 PyObject
* obj1
= 0 ;
4179 PyObject
* obj2
= 0 ;
4180 PyObject
* obj3
= 0 ;
4181 PyObject
* obj4
= 0 ;
4182 PyObject
* obj5
= 0 ;
4183 PyObject
* obj6
= 0 ;
4184 char * kwnames
[] = {
4185 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4188 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:ScrolledWindow_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
4189 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 | 0 );
4190 if (!SWIG_IsOK(res1
)) {
4191 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_Create" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
4193 arg1
= reinterpret_cast< wxScrolledWindow
* >(argp1
);
4194 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
4195 if (!SWIG_IsOK(res2
)) {
4196 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ScrolledWindow_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
4198 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
4200 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
4201 if (!SWIG_IsOK(ecode3
)) {
4202 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ScrolledWindow_Create" "', expected argument " "3"" of type '" "int""'");
4204 arg3
= static_cast< int >(val3
);
4209 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
4215 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
4219 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
4220 if (!SWIG_IsOK(ecode6
)) {
4221 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "ScrolledWindow_Create" "', expected argument " "6"" of type '" "long""'");
4223 arg6
= static_cast< long >(val6
);
4227 arg7
= wxString_in_helper(obj6
);
4228 if (arg7
== NULL
) SWIG_fail
;
4233 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4234 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
4235 wxPyEndAllowThreads(__tstate
);
4236 if (PyErr_Occurred()) SWIG_fail
;
4239 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4255 SWIGINTERN PyObject
*_wrap_ScrolledWindow_SetScrollbars(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4256 PyObject
*resultobj
= 0;
4257 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
4262 int arg6
= (int) 0 ;
4263 int arg7
= (int) 0 ;
4264 bool arg8
= (bool) false ;
4281 PyObject
* obj0
= 0 ;
4282 PyObject
* obj1
= 0 ;
4283 PyObject
* obj2
= 0 ;
4284 PyObject
* obj3
= 0 ;
4285 PyObject
* obj4
= 0 ;
4286 PyObject
* obj5
= 0 ;
4287 PyObject
* obj6
= 0 ;
4288 PyObject
* obj7
= 0 ;
4289 char * kwnames
[] = {
4290 (char *) "self",(char *) "pixelsPerUnitX",(char *) "pixelsPerUnitY",(char *) "noUnitsX",(char *) "noUnitsY",(char *) "xPos",(char *) "yPos",(char *) "noRefresh", NULL
4293 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|OOO:ScrolledWindow_SetScrollbars",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
4294 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 | 0 );
4295 if (!SWIG_IsOK(res1
)) {
4296 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_SetScrollbars" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
4298 arg1
= reinterpret_cast< wxScrolledWindow
* >(argp1
);
4299 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
4300 if (!SWIG_IsOK(ecode2
)) {
4301 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ScrolledWindow_SetScrollbars" "', expected argument " "2"" of type '" "int""'");
4303 arg2
= static_cast< int >(val2
);
4304 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
4305 if (!SWIG_IsOK(ecode3
)) {
4306 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ScrolledWindow_SetScrollbars" "', expected argument " "3"" of type '" "int""'");
4308 arg3
= static_cast< int >(val3
);
4309 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
4310 if (!SWIG_IsOK(ecode4
)) {
4311 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "ScrolledWindow_SetScrollbars" "', expected argument " "4"" of type '" "int""'");
4313 arg4
= static_cast< int >(val4
);
4314 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
4315 if (!SWIG_IsOK(ecode5
)) {
4316 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "ScrolledWindow_SetScrollbars" "', expected argument " "5"" of type '" "int""'");
4318 arg5
= static_cast< int >(val5
);
4320 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
4321 if (!SWIG_IsOK(ecode6
)) {
4322 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "ScrolledWindow_SetScrollbars" "', expected argument " "6"" of type '" "int""'");
4324 arg6
= static_cast< int >(val6
);
4327 ecode7
= SWIG_AsVal_int(obj6
, &val7
);
4328 if (!SWIG_IsOK(ecode7
)) {
4329 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "ScrolledWindow_SetScrollbars" "', expected argument " "7"" of type '" "int""'");
4331 arg7
= static_cast< int >(val7
);
4334 ecode8
= SWIG_AsVal_bool(obj7
, &val8
);
4335 if (!SWIG_IsOK(ecode8
)) {
4336 SWIG_exception_fail(SWIG_ArgError(ecode8
), "in method '" "ScrolledWindow_SetScrollbars" "', expected argument " "8"" of type '" "bool""'");
4338 arg8
= static_cast< bool >(val8
);
4341 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4342 (arg1
)->SetScrollbars(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
,arg8
);
4343 wxPyEndAllowThreads(__tstate
);
4344 if (PyErr_Occurred()) SWIG_fail
;
4346 resultobj
= SWIG_Py_Void();
4353 SWIGINTERN PyObject
*_wrap_ScrolledWindow_Scroll(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4354 PyObject
*resultobj
= 0;
4355 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
4364 PyObject
* obj0
= 0 ;
4365 PyObject
* obj1
= 0 ;
4366 PyObject
* obj2
= 0 ;
4367 char * kwnames
[] = {
4368 (char *) "self",(char *) "x",(char *) "y", NULL
4371 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ScrolledWindow_Scroll",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
4372 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 | 0 );
4373 if (!SWIG_IsOK(res1
)) {
4374 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_Scroll" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
4376 arg1
= reinterpret_cast< wxScrolledWindow
* >(argp1
);
4377 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
4378 if (!SWIG_IsOK(ecode2
)) {
4379 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ScrolledWindow_Scroll" "', expected argument " "2"" of type '" "int""'");
4381 arg2
= static_cast< int >(val2
);
4382 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
4383 if (!SWIG_IsOK(ecode3
)) {
4384 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ScrolledWindow_Scroll" "', expected argument " "3"" of type '" "int""'");
4386 arg3
= static_cast< int >(val3
);
4388 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4389 (arg1
)->Scroll(arg2
,arg3
);
4390 wxPyEndAllowThreads(__tstate
);
4391 if (PyErr_Occurred()) SWIG_fail
;
4393 resultobj
= SWIG_Py_Void();
4400 SWIGINTERN PyObject
*_wrap_ScrolledWindow_GetScrollPageSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4401 PyObject
*resultobj
= 0;
4402 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
4409 PyObject
* obj0
= 0 ;
4410 PyObject
* obj1
= 0 ;
4411 char * kwnames
[] = {
4412 (char *) "self",(char *) "orient", NULL
4415 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScrolledWindow_GetScrollPageSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4416 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 | 0 );
4417 if (!SWIG_IsOK(res1
)) {
4418 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_GetScrollPageSize" "', expected argument " "1"" of type '" "wxScrolledWindow const *""'");
4420 arg1
= reinterpret_cast< wxScrolledWindow
* >(argp1
);
4421 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
4422 if (!SWIG_IsOK(ecode2
)) {
4423 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ScrolledWindow_GetScrollPageSize" "', expected argument " "2"" of type '" "int""'");
4425 arg2
= static_cast< int >(val2
);
4427 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4428 result
= (int)((wxScrolledWindow
const *)arg1
)->GetScrollPageSize(arg2
);
4429 wxPyEndAllowThreads(__tstate
);
4430 if (PyErr_Occurred()) SWIG_fail
;
4432 resultobj
= SWIG_From_int(static_cast< int >(result
));
4439 SWIGINTERN PyObject
*_wrap_ScrolledWindow_SetScrollPageSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4440 PyObject
*resultobj
= 0;
4441 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
4450 PyObject
* obj0
= 0 ;
4451 PyObject
* obj1
= 0 ;
4452 PyObject
* obj2
= 0 ;
4453 char * kwnames
[] = {
4454 (char *) "self",(char *) "orient",(char *) "pageSize", NULL
4457 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ScrolledWindow_SetScrollPageSize",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
4458 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 | 0 );
4459 if (!SWIG_IsOK(res1
)) {
4460 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_SetScrollPageSize" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
4462 arg1
= reinterpret_cast< wxScrolledWindow
* >(argp1
);
4463 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
4464 if (!SWIG_IsOK(ecode2
)) {
4465 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ScrolledWindow_SetScrollPageSize" "', expected argument " "2"" of type '" "int""'");
4467 arg2
= static_cast< int >(val2
);
4468 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
4469 if (!SWIG_IsOK(ecode3
)) {
4470 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ScrolledWindow_SetScrollPageSize" "', expected argument " "3"" of type '" "int""'");
4472 arg3
= static_cast< int >(val3
);
4474 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4475 (arg1
)->SetScrollPageSize(arg2
,arg3
);
4476 wxPyEndAllowThreads(__tstate
);
4477 if (PyErr_Occurred()) SWIG_fail
;
4479 resultobj
= SWIG_Py_Void();
4486 SWIGINTERN PyObject
*_wrap_ScrolledWindow_SetScrollRate(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4487 PyObject
*resultobj
= 0;
4488 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
4497 PyObject
* obj0
= 0 ;
4498 PyObject
* obj1
= 0 ;
4499 PyObject
* obj2
= 0 ;
4500 char * kwnames
[] = {
4501 (char *) "self",(char *) "xstep",(char *) "ystep", NULL
4504 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ScrolledWindow_SetScrollRate",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
4505 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 | 0 );
4506 if (!SWIG_IsOK(res1
)) {
4507 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_SetScrollRate" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
4509 arg1
= reinterpret_cast< wxScrolledWindow
* >(argp1
);
4510 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
4511 if (!SWIG_IsOK(ecode2
)) {
4512 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ScrolledWindow_SetScrollRate" "', expected argument " "2"" of type '" "int""'");
4514 arg2
= static_cast< int >(val2
);
4515 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
4516 if (!SWIG_IsOK(ecode3
)) {
4517 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ScrolledWindow_SetScrollRate" "', expected argument " "3"" of type '" "int""'");
4519 arg3
= static_cast< int >(val3
);
4521 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4522 (arg1
)->SetScrollRate(arg2
,arg3
);
4523 wxPyEndAllowThreads(__tstate
);
4524 if (PyErr_Occurred()) SWIG_fail
;
4526 resultobj
= SWIG_Py_Void();
4533 SWIGINTERN PyObject
*_wrap_ScrolledWindow_GetScrollPixelsPerUnit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4534 PyObject
*resultobj
= 0;
4535 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
4536 int *arg2
= (int *) 0 ;
4537 int *arg3
= (int *) 0 ;
4541 int res2
= SWIG_TMPOBJ
;
4543 int res3
= SWIG_TMPOBJ
;
4544 PyObject
*swig_obj
[1] ;
4548 if (!args
) SWIG_fail
;
4550 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 | 0 );
4551 if (!SWIG_IsOK(res1
)) {
4552 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_GetScrollPixelsPerUnit" "', expected argument " "1"" of type '" "wxScrolledWindow const *""'");
4554 arg1
= reinterpret_cast< wxScrolledWindow
* >(argp1
);
4556 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4557 ((wxScrolledWindow
const *)arg1
)->GetScrollPixelsPerUnit(arg2
,arg3
);
4558 wxPyEndAllowThreads(__tstate
);
4559 if (PyErr_Occurred()) SWIG_fail
;
4561 resultobj
= SWIG_Py_Void();
4562 if (SWIG_IsTmpObj(res2
)) {
4563 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
4565 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
4566 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
4568 if (SWIG_IsTmpObj(res3
)) {
4569 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
4571 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
4572 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
4580 SWIGINTERN PyObject
*_wrap_ScrolledWindow_EnableScrolling(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4581 PyObject
*resultobj
= 0;
4582 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
4591 PyObject
* obj0
= 0 ;
4592 PyObject
* obj1
= 0 ;
4593 PyObject
* obj2
= 0 ;
4594 char * kwnames
[] = {
4595 (char *) "self",(char *) "x_scrolling",(char *) "y_scrolling", NULL
4598 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ScrolledWindow_EnableScrolling",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
4599 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 | 0 );
4600 if (!SWIG_IsOK(res1
)) {
4601 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_EnableScrolling" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
4603 arg1
= reinterpret_cast< wxScrolledWindow
* >(argp1
);
4604 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
4605 if (!SWIG_IsOK(ecode2
)) {
4606 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ScrolledWindow_EnableScrolling" "', expected argument " "2"" of type '" "bool""'");
4608 arg2
= static_cast< bool >(val2
);
4609 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
4610 if (!SWIG_IsOK(ecode3
)) {
4611 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ScrolledWindow_EnableScrolling" "', expected argument " "3"" of type '" "bool""'");
4613 arg3
= static_cast< bool >(val3
);
4615 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4616 (arg1
)->EnableScrolling(arg2
,arg3
);
4617 wxPyEndAllowThreads(__tstate
);
4618 if (PyErr_Occurred()) SWIG_fail
;
4620 resultobj
= SWIG_Py_Void();
4627 SWIGINTERN PyObject
*_wrap_ScrolledWindow_GetViewStart(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4628 PyObject
*resultobj
= 0;
4629 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
4630 int *arg2
= (int *) 0 ;
4631 int *arg3
= (int *) 0 ;
4635 int res2
= SWIG_TMPOBJ
;
4637 int res3
= SWIG_TMPOBJ
;
4638 PyObject
*swig_obj
[1] ;
4642 if (!args
) SWIG_fail
;
4644 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 | 0 );
4645 if (!SWIG_IsOK(res1
)) {
4646 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_GetViewStart" "', expected argument " "1"" of type '" "wxScrolledWindow const *""'");
4648 arg1
= reinterpret_cast< wxScrolledWindow
* >(argp1
);
4650 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4651 ((wxScrolledWindow
const *)arg1
)->GetViewStart(arg2
,arg3
);
4652 wxPyEndAllowThreads(__tstate
);
4653 if (PyErr_Occurred()) SWIG_fail
;
4655 resultobj
= SWIG_Py_Void();
4656 if (SWIG_IsTmpObj(res2
)) {
4657 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
4659 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
4660 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
4662 if (SWIG_IsTmpObj(res3
)) {
4663 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
4665 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
4666 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
4674 SWIGINTERN PyObject
*_wrap_ScrolledWindow_SetScale(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4675 PyObject
*resultobj
= 0;
4676 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
4685 PyObject
* obj0
= 0 ;
4686 PyObject
* obj1
= 0 ;
4687 PyObject
* obj2
= 0 ;
4688 char * kwnames
[] = {
4689 (char *) "self",(char *) "xs",(char *) "ys", NULL
4692 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ScrolledWindow_SetScale",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
4693 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 | 0 );
4694 if (!SWIG_IsOK(res1
)) {
4695 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_SetScale" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
4697 arg1
= reinterpret_cast< wxScrolledWindow
* >(argp1
);
4698 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
4699 if (!SWIG_IsOK(ecode2
)) {
4700 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ScrolledWindow_SetScale" "', expected argument " "2"" of type '" "double""'");
4702 arg2
= static_cast< double >(val2
);
4703 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
4704 if (!SWIG_IsOK(ecode3
)) {
4705 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ScrolledWindow_SetScale" "', expected argument " "3"" of type '" "double""'");
4707 arg3
= static_cast< double >(val3
);
4709 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4710 (arg1
)->SetScale(arg2
,arg3
);
4711 wxPyEndAllowThreads(__tstate
);
4712 if (PyErr_Occurred()) SWIG_fail
;
4714 resultobj
= SWIG_Py_Void();
4721 SWIGINTERN PyObject
*_wrap_ScrolledWindow_GetScaleX(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4722 PyObject
*resultobj
= 0;
4723 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
4727 PyObject
*swig_obj
[1] ;
4729 if (!args
) SWIG_fail
;
4731 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 | 0 );
4732 if (!SWIG_IsOK(res1
)) {
4733 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_GetScaleX" "', expected argument " "1"" of type '" "wxScrolledWindow const *""'");
4735 arg1
= reinterpret_cast< wxScrolledWindow
* >(argp1
);
4737 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4738 result
= (double)((wxScrolledWindow
const *)arg1
)->GetScaleX();
4739 wxPyEndAllowThreads(__tstate
);
4740 if (PyErr_Occurred()) SWIG_fail
;
4742 resultobj
= SWIG_From_double(static_cast< double >(result
));
4749 SWIGINTERN PyObject
*_wrap_ScrolledWindow_GetScaleY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4750 PyObject
*resultobj
= 0;
4751 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
4755 PyObject
*swig_obj
[1] ;
4757 if (!args
) SWIG_fail
;
4759 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 | 0 );
4760 if (!SWIG_IsOK(res1
)) {
4761 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_GetScaleY" "', expected argument " "1"" of type '" "wxScrolledWindow const *""'");
4763 arg1
= reinterpret_cast< wxScrolledWindow
* >(argp1
);
4765 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4766 result
= (double)((wxScrolledWindow
const *)arg1
)->GetScaleY();
4767 wxPyEndAllowThreads(__tstate
);
4768 if (PyErr_Occurred()) SWIG_fail
;
4770 resultobj
= SWIG_From_double(static_cast< double >(result
));
4777 SWIGINTERN PyObject
*_wrap_ScrolledWindow_CalcScrolledPosition__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
4778 PyObject
*resultobj
= 0;
4779 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
4786 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
4787 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 | 0 );
4788 if (!SWIG_IsOK(res1
)) {
4789 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_CalcScrolledPosition" "', expected argument " "1"" of type '" "wxScrolledWindow const *""'");
4791 arg1
= reinterpret_cast< wxScrolledWindow
* >(argp1
);
4794 if ( ! wxPoint_helper(swig_obj
[1], &arg2
)) SWIG_fail
;
4797 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4798 result
= ((wxScrolledWindow
const *)arg1
)->CalcScrolledPosition((wxPoint
const &)*arg2
);
4799 wxPyEndAllowThreads(__tstate
);
4800 if (PyErr_Occurred()) SWIG_fail
;
4802 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
4809 SWIGINTERN PyObject
*_wrap_ScrolledWindow_CalcScrolledPosition__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
4810 PyObject
*resultobj
= 0;
4811 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
4814 int *arg4
= (int *) 0 ;
4815 int *arg5
= (int *) 0 ;
4823 int res4
= SWIG_TMPOBJ
;
4825 int res5
= SWIG_TMPOBJ
;
4829 if ((nobjs
< 3) || (nobjs
> 3)) SWIG_fail
;
4830 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 | 0 );
4831 if (!SWIG_IsOK(res1
)) {
4832 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_CalcScrolledPosition" "', expected argument " "1"" of type '" "wxScrolledWindow const *""'");
4834 arg1
= reinterpret_cast< wxScrolledWindow
* >(argp1
);
4835 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
4836 if (!SWIG_IsOK(ecode2
)) {
4837 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ScrolledWindow_CalcScrolledPosition" "', expected argument " "2"" of type '" "int""'");
4839 arg2
= static_cast< int >(val2
);
4840 ecode3
= SWIG_AsVal_int(swig_obj
[2], &val3
);
4841 if (!SWIG_IsOK(ecode3
)) {
4842 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ScrolledWindow_CalcScrolledPosition" "', expected argument " "3"" of type '" "int""'");
4844 arg3
= static_cast< int >(val3
);
4846 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4847 ((wxScrolledWindow
const *)arg1
)->CalcScrolledPosition(arg2
,arg3
,arg4
,arg5
);
4848 wxPyEndAllowThreads(__tstate
);
4849 if (PyErr_Occurred()) SWIG_fail
;
4851 resultobj
= SWIG_Py_Void();
4852 if (SWIG_IsTmpObj(res4
)) {
4853 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg4
)));
4855 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
4856 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, new_flags
));
4858 if (SWIG_IsTmpObj(res5
)) {
4859 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg5
)));
4861 int new_flags
= SWIG_IsNewObj(res5
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
4862 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg5
), SWIGTYPE_p_int
, new_flags
));
4870 SWIGINTERN PyObject
*_wrap_ScrolledWindow_CalcScrolledPosition(PyObject
*self
, PyObject
*args
) {
4874 if (!(argc
= SWIG_Python_UnpackTuple(args
,"ScrolledWindow_CalcScrolledPosition",0,3,argv
))) SWIG_fail
;
4877 return _wrap_ScrolledWindow_CalcScrolledPosition__SWIG_0(self
, argc
, argv
);
4880 return _wrap_ScrolledWindow_CalcScrolledPosition__SWIG_1(self
, argc
, argv
);
4884 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'ScrolledWindow_CalcScrolledPosition'");
4889 SWIGINTERN PyObject
*_wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
4890 PyObject
*resultobj
= 0;
4891 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
4898 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
4899 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 | 0 );
4900 if (!SWIG_IsOK(res1
)) {
4901 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_CalcUnscrolledPosition" "', expected argument " "1"" of type '" "wxScrolledWindow const *""'");
4903 arg1
= reinterpret_cast< wxScrolledWindow
* >(argp1
);
4906 if ( ! wxPoint_helper(swig_obj
[1], &arg2
)) SWIG_fail
;
4909 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4910 result
= ((wxScrolledWindow
const *)arg1
)->CalcUnscrolledPosition((wxPoint
const &)*arg2
);
4911 wxPyEndAllowThreads(__tstate
);
4912 if (PyErr_Occurred()) SWIG_fail
;
4914 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
4921 SWIGINTERN PyObject
*_wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
4922 PyObject
*resultobj
= 0;
4923 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
4926 int *arg4
= (int *) 0 ;
4927 int *arg5
= (int *) 0 ;
4935 int res4
= SWIG_TMPOBJ
;
4937 int res5
= SWIG_TMPOBJ
;
4941 if ((nobjs
< 3) || (nobjs
> 3)) SWIG_fail
;
4942 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 | 0 );
4943 if (!SWIG_IsOK(res1
)) {
4944 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_CalcUnscrolledPosition" "', expected argument " "1"" of type '" "wxScrolledWindow const *""'");
4946 arg1
= reinterpret_cast< wxScrolledWindow
* >(argp1
);
4947 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
4948 if (!SWIG_IsOK(ecode2
)) {
4949 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ScrolledWindow_CalcUnscrolledPosition" "', expected argument " "2"" of type '" "int""'");
4951 arg2
= static_cast< int >(val2
);
4952 ecode3
= SWIG_AsVal_int(swig_obj
[2], &val3
);
4953 if (!SWIG_IsOK(ecode3
)) {
4954 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ScrolledWindow_CalcUnscrolledPosition" "', expected argument " "3"" of type '" "int""'");
4956 arg3
= static_cast< int >(val3
);
4958 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4959 ((wxScrolledWindow
const *)arg1
)->CalcUnscrolledPosition(arg2
,arg3
,arg4
,arg5
);
4960 wxPyEndAllowThreads(__tstate
);
4961 if (PyErr_Occurred()) SWIG_fail
;
4963 resultobj
= SWIG_Py_Void();
4964 if (SWIG_IsTmpObj(res4
)) {
4965 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg4
)));
4967 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
4968 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, new_flags
));
4970 if (SWIG_IsTmpObj(res5
)) {
4971 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg5
)));
4973 int new_flags
= SWIG_IsNewObj(res5
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
4974 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg5
), SWIGTYPE_p_int
, new_flags
));
4982 SWIGINTERN PyObject
*_wrap_ScrolledWindow_CalcUnscrolledPosition(PyObject
*self
, PyObject
*args
) {
4986 if (!(argc
= SWIG_Python_UnpackTuple(args
,"ScrolledWindow_CalcUnscrolledPosition",0,3,argv
))) SWIG_fail
;
4989 return _wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_0(self
, argc
, argv
);
4992 return _wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_1(self
, argc
, argv
);
4996 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'ScrolledWindow_CalcUnscrolledPosition'");
5001 SWIGINTERN PyObject
*_wrap_ScrolledWindow_AdjustScrollbars(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5002 PyObject
*resultobj
= 0;
5003 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
5006 PyObject
*swig_obj
[1] ;
5008 if (!args
) SWIG_fail
;
5010 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 | 0 );
5011 if (!SWIG_IsOK(res1
)) {
5012 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_AdjustScrollbars" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
5014 arg1
= reinterpret_cast< wxScrolledWindow
* >(argp1
);
5016 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5017 (arg1
)->AdjustScrollbars();
5018 wxPyEndAllowThreads(__tstate
);
5019 if (PyErr_Occurred()) SWIG_fail
;
5021 resultobj
= SWIG_Py_Void();
5028 SWIGINTERN PyObject
*_wrap_ScrolledWindow_CalcScrollInc(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5029 PyObject
*resultobj
= 0;
5030 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
5031 wxScrollWinEvent
*arg2
= 0 ;
5037 PyObject
* obj0
= 0 ;
5038 PyObject
* obj1
= 0 ;
5039 char * kwnames
[] = {
5040 (char *) "self",(char *) "event", NULL
5043 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScrolledWindow_CalcScrollInc",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5044 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 | 0 );
5045 if (!SWIG_IsOK(res1
)) {
5046 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_CalcScrollInc" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
5048 arg1
= reinterpret_cast< wxScrolledWindow
* >(argp1
);
5049 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxScrollWinEvent
, 0 );
5050 if (!SWIG_IsOK(res2
)) {
5051 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ScrolledWindow_CalcScrollInc" "', expected argument " "2"" of type '" "wxScrollWinEvent &""'");
5054 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ScrolledWindow_CalcScrollInc" "', expected argument " "2"" of type '" "wxScrollWinEvent &""'");
5056 arg2
= reinterpret_cast< wxScrollWinEvent
* >(argp2
);
5058 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5059 result
= (int)(arg1
)->CalcScrollInc(*arg2
);
5060 wxPyEndAllowThreads(__tstate
);
5061 if (PyErr_Occurred()) SWIG_fail
;
5063 resultobj
= SWIG_From_int(static_cast< int >(result
));
5070 SWIGINTERN PyObject
*_wrap_ScrolledWindow_SetTargetWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5071 PyObject
*resultobj
= 0;
5072 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
5073 wxWindow
*arg2
= (wxWindow
*) 0 ;
5078 PyObject
* obj0
= 0 ;
5079 PyObject
* obj1
= 0 ;
5080 char * kwnames
[] = {
5081 (char *) "self",(char *) "target", NULL
5084 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScrolledWindow_SetTargetWindow",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5085 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 | 0 );
5086 if (!SWIG_IsOK(res1
)) {
5087 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_SetTargetWindow" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
5089 arg1
= reinterpret_cast< wxScrolledWindow
* >(argp1
);
5090 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
5091 if (!SWIG_IsOK(res2
)) {
5092 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ScrolledWindow_SetTargetWindow" "', expected argument " "2"" of type '" "wxWindow *""'");
5094 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
5096 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5097 (arg1
)->SetTargetWindow(arg2
);
5098 wxPyEndAllowThreads(__tstate
);
5099 if (PyErr_Occurred()) SWIG_fail
;
5101 resultobj
= SWIG_Py_Void();
5108 SWIGINTERN PyObject
*_wrap_ScrolledWindow_GetTargetWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5109 PyObject
*resultobj
= 0;
5110 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
5111 wxWindow
*result
= 0 ;
5114 PyObject
*swig_obj
[1] ;
5116 if (!args
) SWIG_fail
;
5118 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 | 0 );
5119 if (!SWIG_IsOK(res1
)) {
5120 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_GetTargetWindow" "', expected argument " "1"" of type '" "wxScrolledWindow const *""'");
5122 arg1
= reinterpret_cast< wxScrolledWindow
* >(argp1
);
5124 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5125 result
= (wxWindow
*)((wxScrolledWindow
const *)arg1
)->GetTargetWindow();
5126 wxPyEndAllowThreads(__tstate
);
5127 if (PyErr_Occurred()) SWIG_fail
;
5130 resultobj
= wxPyMake_wxObject(result
, 0);
5138 SWIGINTERN PyObject
*_wrap_ScrolledWindow_DoPrepareDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5139 PyObject
*resultobj
= 0;
5140 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
5146 PyObject
* obj0
= 0 ;
5147 PyObject
* obj1
= 0 ;
5148 char * kwnames
[] = {
5149 (char *) "self",(char *) "dc", NULL
5152 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScrolledWindow_DoPrepareDC",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5153 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 | 0 );
5154 if (!SWIG_IsOK(res1
)) {
5155 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_DoPrepareDC" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
5157 arg1
= reinterpret_cast< wxScrolledWindow
* >(argp1
);
5158 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDC
, 0 );
5159 if (!SWIG_IsOK(res2
)) {
5160 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ScrolledWindow_DoPrepareDC" "', expected argument " "2"" of type '" "wxDC &""'");
5163 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ScrolledWindow_DoPrepareDC" "', expected argument " "2"" of type '" "wxDC &""'");
5165 arg2
= reinterpret_cast< wxDC
* >(argp2
);
5167 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5168 (arg1
)->DoPrepareDC(*arg2
);
5169 wxPyEndAllowThreads(__tstate
);
5170 if (PyErr_Occurred()) SWIG_fail
;
5172 resultobj
= SWIG_Py_Void();
5179 SWIGINTERN PyObject
*_wrap_ScrolledWindow_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5180 PyObject
*resultobj
= 0;
5181 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
5182 SwigValueWrapper
<wxVisualAttributes
> result
;
5185 PyObject
* obj0
= 0 ;
5186 char * kwnames
[] = {
5187 (char *) "variant", NULL
5190 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:ScrolledWindow_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
5192 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
5193 if (!SWIG_IsOK(ecode1
)) {
5194 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "ScrolledWindow_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
5196 arg1
= static_cast< wxWindowVariant
>(val1
);
5199 if (!wxPyCheckForApp()) SWIG_fail
;
5200 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5201 result
= wxScrolledWindow::GetClassDefaultAttributes(arg1
);
5202 wxPyEndAllowThreads(__tstate
);
5203 if (PyErr_Occurred()) SWIG_fail
;
5205 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
5212 SWIGINTERN PyObject
*ScrolledWindow_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5214 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
5215 SWIG_TypeNewClientData(SWIGTYPE_p_wxScrolledWindow
, SWIG_NewClientData(obj
));
5216 return SWIG_Py_Void();
5219 SWIGINTERN PyObject
*ScrolledWindow_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5220 return SWIG_Python_InitShadowInstance(args
);
5223 SWIGINTERN
int FrameNameStr_set(PyObject
*) {
5224 SWIG_Error(SWIG_AttributeError
,"Variable FrameNameStr is read-only.");
5229 SWIGINTERN PyObject
*FrameNameStr_get(void) {
5230 PyObject
*pyobj
= 0;
5234 pyobj
= PyUnicode_FromWideChar((&wxPyFrameNameStr
)->c_str(), (&wxPyFrameNameStr
)->Len());
5236 pyobj
= PyString_FromStringAndSize((&wxPyFrameNameStr
)->c_str(), (&wxPyFrameNameStr
)->Len());
5243 SWIGINTERN
int DialogNameStr_set(PyObject
*) {
5244 SWIG_Error(SWIG_AttributeError
,"Variable DialogNameStr is read-only.");
5249 SWIGINTERN PyObject
*DialogNameStr_get(void) {
5250 PyObject
*pyobj
= 0;
5254 pyobj
= PyUnicode_FromWideChar((&wxPyDialogNameStr
)->c_str(), (&wxPyDialogNameStr
)->Len());
5256 pyobj
= PyString_FromStringAndSize((&wxPyDialogNameStr
)->c_str(), (&wxPyDialogNameStr
)->Len());
5263 SWIGINTERN
int StatusLineNameStr_set(PyObject
*) {
5264 SWIG_Error(SWIG_AttributeError
,"Variable StatusLineNameStr is read-only.");
5269 SWIGINTERN PyObject
*StatusLineNameStr_get(void) {
5270 PyObject
*pyobj
= 0;
5274 pyobj
= PyUnicode_FromWideChar((&wxPyStatusLineNameStr
)->c_str(), (&wxPyStatusLineNameStr
)->Len());
5276 pyobj
= PyString_FromStringAndSize((&wxPyStatusLineNameStr
)->c_str(), (&wxPyStatusLineNameStr
)->Len());
5283 SWIGINTERN
int ToolBarNameStr_set(PyObject
*) {
5284 SWIG_Error(SWIG_AttributeError
,"Variable ToolBarNameStr is read-only.");
5289 SWIGINTERN PyObject
*ToolBarNameStr_get(void) {
5290 PyObject
*pyobj
= 0;
5294 pyobj
= PyUnicode_FromWideChar((&wxPyToolBarNameStr
)->c_str(), (&wxPyToolBarNameStr
)->Len());
5296 pyobj
= PyString_FromStringAndSize((&wxPyToolBarNameStr
)->c_str(), (&wxPyToolBarNameStr
)->Len());
5303 SWIGINTERN PyObject
*_wrap_TopLevelWindow_Maximize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5304 PyObject
*resultobj
= 0;
5305 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
5306 bool arg2
= (bool) true ;
5311 PyObject
* obj0
= 0 ;
5312 PyObject
* obj1
= 0 ;
5313 char * kwnames
[] = {
5314 (char *) "self",(char *) "maximize", NULL
5317 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:TopLevelWindow_Maximize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5318 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 | 0 );
5319 if (!SWIG_IsOK(res1
)) {
5320 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_Maximize" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5322 arg1
= reinterpret_cast< wxTopLevelWindow
* >(argp1
);
5324 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
5325 if (!SWIG_IsOK(ecode2
)) {
5326 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TopLevelWindow_Maximize" "', expected argument " "2"" of type '" "bool""'");
5328 arg2
= static_cast< bool >(val2
);
5331 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5332 (arg1
)->Maximize(arg2
);
5333 wxPyEndAllowThreads(__tstate
);
5334 if (PyErr_Occurred()) SWIG_fail
;
5336 resultobj
= SWIG_Py_Void();
5343 SWIGINTERN PyObject
*_wrap_TopLevelWindow_Restore(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5344 PyObject
*resultobj
= 0;
5345 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
5348 PyObject
*swig_obj
[1] ;
5350 if (!args
) SWIG_fail
;
5352 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 | 0 );
5353 if (!SWIG_IsOK(res1
)) {
5354 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_Restore" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5356 arg1
= reinterpret_cast< wxTopLevelWindow
* >(argp1
);
5358 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5360 wxPyEndAllowThreads(__tstate
);
5361 if (PyErr_Occurred()) SWIG_fail
;
5363 resultobj
= SWIG_Py_Void();
5370 SWIGINTERN PyObject
*_wrap_TopLevelWindow_Iconize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5371 PyObject
*resultobj
= 0;
5372 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
5373 bool arg2
= (bool) true ;
5378 PyObject
* obj0
= 0 ;
5379 PyObject
* obj1
= 0 ;
5380 char * kwnames
[] = {
5381 (char *) "self",(char *) "iconize", NULL
5384 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:TopLevelWindow_Iconize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5385 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 | 0 );
5386 if (!SWIG_IsOK(res1
)) {
5387 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_Iconize" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5389 arg1
= reinterpret_cast< wxTopLevelWindow
* >(argp1
);
5391 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
5392 if (!SWIG_IsOK(ecode2
)) {
5393 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TopLevelWindow_Iconize" "', expected argument " "2"" of type '" "bool""'");
5395 arg2
= static_cast< bool >(val2
);
5398 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5399 (arg1
)->Iconize(arg2
);
5400 wxPyEndAllowThreads(__tstate
);
5401 if (PyErr_Occurred()) SWIG_fail
;
5403 resultobj
= SWIG_Py_Void();
5410 SWIGINTERN PyObject
*_wrap_TopLevelWindow_IsMaximized(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5411 PyObject
*resultobj
= 0;
5412 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
5416 PyObject
*swig_obj
[1] ;
5418 if (!args
) SWIG_fail
;
5420 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 | 0 );
5421 if (!SWIG_IsOK(res1
)) {
5422 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_IsMaximized" "', expected argument " "1"" of type '" "wxTopLevelWindow const *""'");
5424 arg1
= reinterpret_cast< wxTopLevelWindow
* >(argp1
);
5426 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5427 result
= (bool)((wxTopLevelWindow
const *)arg1
)->IsMaximized();
5428 wxPyEndAllowThreads(__tstate
);
5429 if (PyErr_Occurred()) SWIG_fail
;
5432 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5440 SWIGINTERN PyObject
*_wrap_TopLevelWindow_IsAlwaysMaximized(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5441 PyObject
*resultobj
= 0;
5442 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
5446 PyObject
*swig_obj
[1] ;
5448 if (!args
) SWIG_fail
;
5450 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 | 0 );
5451 if (!SWIG_IsOK(res1
)) {
5452 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_IsAlwaysMaximized" "', expected argument " "1"" of type '" "wxTopLevelWindow const *""'");
5454 arg1
= reinterpret_cast< wxTopLevelWindow
* >(argp1
);
5456 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5457 result
= (bool)((wxTopLevelWindow
const *)arg1
)->IsAlwaysMaximized();
5458 wxPyEndAllowThreads(__tstate
);
5459 if (PyErr_Occurred()) SWIG_fail
;
5462 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5470 SWIGINTERN PyObject
*_wrap_TopLevelWindow_IsIconized(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5471 PyObject
*resultobj
= 0;
5472 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
5476 PyObject
*swig_obj
[1] ;
5478 if (!args
) SWIG_fail
;
5480 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 | 0 );
5481 if (!SWIG_IsOK(res1
)) {
5482 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_IsIconized" "', expected argument " "1"" of type '" "wxTopLevelWindow const *""'");
5484 arg1
= reinterpret_cast< wxTopLevelWindow
* >(argp1
);
5486 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5487 result
= (bool)((wxTopLevelWindow
const *)arg1
)->IsIconized();
5488 wxPyEndAllowThreads(__tstate
);
5489 if (PyErr_Occurred()) SWIG_fail
;
5492 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5500 SWIGINTERN PyObject
*_wrap_TopLevelWindow_GetIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5501 PyObject
*resultobj
= 0;
5502 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
5506 PyObject
*swig_obj
[1] ;
5508 if (!args
) SWIG_fail
;
5510 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 | 0 );
5511 if (!SWIG_IsOK(res1
)) {
5512 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_GetIcon" "', expected argument " "1"" of type '" "wxTopLevelWindow const *""'");
5514 arg1
= reinterpret_cast< wxTopLevelWindow
* >(argp1
);
5516 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5517 result
= ((wxTopLevelWindow
const *)arg1
)->GetIcon();
5518 wxPyEndAllowThreads(__tstate
);
5519 if (PyErr_Occurred()) SWIG_fail
;
5521 resultobj
= SWIG_NewPointerObj((new wxIcon(static_cast< const wxIcon
& >(result
))), SWIGTYPE_p_wxIcon
, SWIG_POINTER_OWN
| 0 );
5528 SWIGINTERN PyObject
*_wrap_TopLevelWindow_SetIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5529 PyObject
*resultobj
= 0;
5530 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
5536 PyObject
* obj0
= 0 ;
5537 PyObject
* obj1
= 0 ;
5538 char * kwnames
[] = {
5539 (char *) "self",(char *) "icon", NULL
5542 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TopLevelWindow_SetIcon",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5543 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 | 0 );
5544 if (!SWIG_IsOK(res1
)) {
5545 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_SetIcon" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5547 arg1
= reinterpret_cast< wxTopLevelWindow
* >(argp1
);
5548 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxIcon
, 0 | 0);
5549 if (!SWIG_IsOK(res2
)) {
5550 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TopLevelWindow_SetIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
5553 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TopLevelWindow_SetIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
5555 arg2
= reinterpret_cast< wxIcon
* >(argp2
);
5557 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5558 (arg1
)->SetIcon((wxIcon
const &)*arg2
);
5559 wxPyEndAllowThreads(__tstate
);
5560 if (PyErr_Occurred()) SWIG_fail
;
5562 resultobj
= SWIG_Py_Void();
5569 SWIGINTERN PyObject
*_wrap_TopLevelWindow_SetIcons(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5570 PyObject
*resultobj
= 0;
5571 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
5572 wxIconBundle
*arg2
= 0 ;
5577 PyObject
* obj0
= 0 ;
5578 PyObject
* obj1
= 0 ;
5579 char * kwnames
[] = {
5580 (char *) "self",(char *) "icons", NULL
5583 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TopLevelWindow_SetIcons",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5584 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 | 0 );
5585 if (!SWIG_IsOK(res1
)) {
5586 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_SetIcons" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5588 arg1
= reinterpret_cast< wxTopLevelWindow
* >(argp1
);
5589 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxIconBundle
, 0 | 0);
5590 if (!SWIG_IsOK(res2
)) {
5591 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TopLevelWindow_SetIcons" "', expected argument " "2"" of type '" "wxIconBundle const &""'");
5594 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TopLevelWindow_SetIcons" "', expected argument " "2"" of type '" "wxIconBundle const &""'");
5596 arg2
= reinterpret_cast< wxIconBundle
* >(argp2
);
5598 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5599 (arg1
)->SetIcons((wxIconBundle
const &)*arg2
);
5600 wxPyEndAllowThreads(__tstate
);
5601 if (PyErr_Occurred()) SWIG_fail
;
5603 resultobj
= SWIG_Py_Void();
5610 SWIGINTERN PyObject
*_wrap_TopLevelWindow_ShowFullScreen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5611 PyObject
*resultobj
= 0;
5612 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
5614 long arg3
= (long) wxFULLSCREEN_ALL
;
5622 PyObject
* obj0
= 0 ;
5623 PyObject
* obj1
= 0 ;
5624 PyObject
* obj2
= 0 ;
5625 char * kwnames
[] = {
5626 (char *) "self",(char *) "show",(char *) "style", NULL
5629 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TopLevelWindow_ShowFullScreen",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
5630 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 | 0 );
5631 if (!SWIG_IsOK(res1
)) {
5632 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_ShowFullScreen" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5634 arg1
= reinterpret_cast< wxTopLevelWindow
* >(argp1
);
5635 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
5636 if (!SWIG_IsOK(ecode2
)) {
5637 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TopLevelWindow_ShowFullScreen" "', expected argument " "2"" of type '" "bool""'");
5639 arg2
= static_cast< bool >(val2
);
5641 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
5642 if (!SWIG_IsOK(ecode3
)) {
5643 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TopLevelWindow_ShowFullScreen" "', expected argument " "3"" of type '" "long""'");
5645 arg3
= static_cast< long >(val3
);
5648 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5649 result
= (bool)(arg1
)->ShowFullScreen(arg2
,arg3
);
5650 wxPyEndAllowThreads(__tstate
);
5651 if (PyErr_Occurred()) SWIG_fail
;
5654 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5662 SWIGINTERN PyObject
*_wrap_TopLevelWindow_IsFullScreen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5663 PyObject
*resultobj
= 0;
5664 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
5668 PyObject
*swig_obj
[1] ;
5670 if (!args
) SWIG_fail
;
5672 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 | 0 );
5673 if (!SWIG_IsOK(res1
)) {
5674 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_IsFullScreen" "', expected argument " "1"" of type '" "wxTopLevelWindow const *""'");
5676 arg1
= reinterpret_cast< wxTopLevelWindow
* >(argp1
);
5678 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5679 result
= (bool)((wxTopLevelWindow
const *)arg1
)->IsFullScreen();
5680 wxPyEndAllowThreads(__tstate
);
5681 if (PyErr_Occurred()) SWIG_fail
;
5684 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5692 SWIGINTERN PyObject
*_wrap_TopLevelWindow_SetTitle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5693 PyObject
*resultobj
= 0;
5694 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
5695 wxString
*arg2
= 0 ;
5698 bool temp2
= false ;
5699 PyObject
* obj0
= 0 ;
5700 PyObject
* obj1
= 0 ;
5701 char * kwnames
[] = {
5702 (char *) "self",(char *) "title", NULL
5705 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TopLevelWindow_SetTitle",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5706 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 | 0 );
5707 if (!SWIG_IsOK(res1
)) {
5708 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_SetTitle" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5710 arg1
= reinterpret_cast< wxTopLevelWindow
* >(argp1
);
5712 arg2
= wxString_in_helper(obj1
);
5713 if (arg2
== NULL
) SWIG_fail
;
5717 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5718 (arg1
)->SetTitle((wxString
const &)*arg2
);
5719 wxPyEndAllowThreads(__tstate
);
5720 if (PyErr_Occurred()) SWIG_fail
;
5722 resultobj
= SWIG_Py_Void();
5737 SWIGINTERN PyObject
*_wrap_TopLevelWindow_GetTitle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5738 PyObject
*resultobj
= 0;
5739 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
5743 PyObject
*swig_obj
[1] ;
5745 if (!args
) SWIG_fail
;
5747 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 | 0 );
5748 if (!SWIG_IsOK(res1
)) {
5749 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_GetTitle" "', expected argument " "1"" of type '" "wxTopLevelWindow const *""'");
5751 arg1
= reinterpret_cast< wxTopLevelWindow
* >(argp1
);
5753 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5754 result
= ((wxTopLevelWindow
const *)arg1
)->GetTitle();
5755 wxPyEndAllowThreads(__tstate
);
5756 if (PyErr_Occurred()) SWIG_fail
;
5760 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
5762 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
5771 SWIGINTERN PyObject
*_wrap_TopLevelWindow_EnableCloseButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5772 PyObject
*resultobj
= 0;
5773 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
5780 PyObject
* obj0
= 0 ;
5781 PyObject
* obj1
= 0 ;
5782 char * kwnames
[] = {
5783 (char *) "self",(char *) "enable", NULL
5786 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TopLevelWindow_EnableCloseButton",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5787 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 | 0 );
5788 if (!SWIG_IsOK(res1
)) {
5789 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_EnableCloseButton" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5791 arg1
= reinterpret_cast< wxTopLevelWindow
* >(argp1
);
5792 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
5793 if (!SWIG_IsOK(ecode2
)) {
5794 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TopLevelWindow_EnableCloseButton" "', expected argument " "2"" of type '" "bool""'");
5796 arg2
= static_cast< bool >(val2
);
5798 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5799 result
= (bool)(arg1
)->EnableCloseButton(arg2
);
5800 wxPyEndAllowThreads(__tstate
);
5801 if (PyErr_Occurred()) SWIG_fail
;
5804 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5812 SWIGINTERN PyObject
*_wrap_TopLevelWindow_SetShape(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5813 PyObject
*resultobj
= 0;
5814 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
5815 wxRegion
*arg2
= 0 ;
5821 PyObject
* obj0
= 0 ;
5822 PyObject
* obj1
= 0 ;
5823 char * kwnames
[] = {
5824 (char *) "self",(char *) "region", NULL
5827 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TopLevelWindow_SetShape",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5828 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 | 0 );
5829 if (!SWIG_IsOK(res1
)) {
5830 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_SetShape" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5832 arg1
= reinterpret_cast< wxTopLevelWindow
* >(argp1
);
5833 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxRegion
, 0 | 0);
5834 if (!SWIG_IsOK(res2
)) {
5835 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TopLevelWindow_SetShape" "', expected argument " "2"" of type '" "wxRegion const &""'");
5838 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TopLevelWindow_SetShape" "', expected argument " "2"" of type '" "wxRegion const &""'");
5840 arg2
= reinterpret_cast< wxRegion
* >(argp2
);
5842 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5843 result
= (bool)(arg1
)->SetShape((wxRegion
const &)*arg2
);
5844 wxPyEndAllowThreads(__tstate
);
5845 if (PyErr_Occurred()) SWIG_fail
;
5848 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5856 SWIGINTERN PyObject
*_wrap_TopLevelWindow_RequestUserAttention(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5857 PyObject
*resultobj
= 0;
5858 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
5859 int arg2
= (int) wxUSER_ATTENTION_INFO
;
5864 PyObject
* obj0
= 0 ;
5865 PyObject
* obj1
= 0 ;
5866 char * kwnames
[] = {
5867 (char *) "self",(char *) "flags", NULL
5870 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:TopLevelWindow_RequestUserAttention",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5871 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 | 0 );
5872 if (!SWIG_IsOK(res1
)) {
5873 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_RequestUserAttention" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5875 arg1
= reinterpret_cast< wxTopLevelWindow
* >(argp1
);
5877 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
5878 if (!SWIG_IsOK(ecode2
)) {
5879 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TopLevelWindow_RequestUserAttention" "', expected argument " "2"" of type '" "int""'");
5881 arg2
= static_cast< int >(val2
);
5884 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5885 (arg1
)->RequestUserAttention(arg2
);
5886 wxPyEndAllowThreads(__tstate
);
5887 if (PyErr_Occurred()) SWIG_fail
;
5889 resultobj
= SWIG_Py_Void();
5896 SWIGINTERN PyObject
*_wrap_TopLevelWindow_IsActive(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5897 PyObject
*resultobj
= 0;
5898 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
5902 PyObject
*swig_obj
[1] ;
5904 if (!args
) SWIG_fail
;
5906 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 | 0 );
5907 if (!SWIG_IsOK(res1
)) {
5908 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_IsActive" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5910 arg1
= reinterpret_cast< wxTopLevelWindow
* >(argp1
);
5912 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5913 result
= (bool)(arg1
)->IsActive();
5914 wxPyEndAllowThreads(__tstate
);
5915 if (PyErr_Occurred()) SWIG_fail
;
5918 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5926 SWIGINTERN PyObject
*_wrap_TopLevelWindow_MacSetMetalAppearance(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5927 PyObject
*resultobj
= 0;
5928 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
5934 PyObject
* obj0
= 0 ;
5935 PyObject
* obj1
= 0 ;
5936 char * kwnames
[] = {
5937 (char *) "self",(char *) "on", NULL
5940 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TopLevelWindow_MacSetMetalAppearance",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5941 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 | 0 );
5942 if (!SWIG_IsOK(res1
)) {
5943 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_MacSetMetalAppearance" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5945 arg1
= reinterpret_cast< wxTopLevelWindow
* >(argp1
);
5946 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
5947 if (!SWIG_IsOK(ecode2
)) {
5948 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TopLevelWindow_MacSetMetalAppearance" "', expected argument " "2"" of type '" "bool""'");
5950 arg2
= static_cast< bool >(val2
);
5952 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5953 wxTopLevelWindow_MacSetMetalAppearance(arg1
,arg2
);
5954 wxPyEndAllowThreads(__tstate
);
5955 if (PyErr_Occurred()) SWIG_fail
;
5957 resultobj
= SWIG_Py_Void();
5964 SWIGINTERN PyObject
*_wrap_TopLevelWindow_MacGetMetalAppearance(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5965 PyObject
*resultobj
= 0;
5966 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
5970 PyObject
*swig_obj
[1] ;
5972 if (!args
) SWIG_fail
;
5974 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 | 0 );
5975 if (!SWIG_IsOK(res1
)) {
5976 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_MacGetMetalAppearance" "', expected argument " "1"" of type '" "wxTopLevelWindow const *""'");
5978 arg1
= reinterpret_cast< wxTopLevelWindow
* >(argp1
);
5980 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5981 result
= (bool)wxTopLevelWindow_MacGetMetalAppearance((wxTopLevelWindow
const *)arg1
);
5982 wxPyEndAllowThreads(__tstate
);
5983 if (PyErr_Occurred()) SWIG_fail
;
5986 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5994 SWIGINTERN PyObject
*_wrap_TopLevelWindow_CenterOnScreen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5995 PyObject
*resultobj
= 0;
5996 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
5997 int arg2
= (int) wxBOTH
;
6002 PyObject
* obj0
= 0 ;
6003 PyObject
* obj1
= 0 ;
6004 char * kwnames
[] = {
6005 (char *) "self",(char *) "dir", NULL
6008 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:TopLevelWindow_CenterOnScreen",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6009 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 | 0 );
6010 if (!SWIG_IsOK(res1
)) {
6011 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_CenterOnScreen" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
6013 arg1
= reinterpret_cast< wxTopLevelWindow
* >(argp1
);
6015 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
6016 if (!SWIG_IsOK(ecode2
)) {
6017 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TopLevelWindow_CenterOnScreen" "', expected argument " "2"" of type '" "int""'");
6019 arg2
= static_cast< int >(val2
);
6022 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6023 (arg1
)->CenterOnScreen(arg2
);
6024 wxPyEndAllowThreads(__tstate
);
6025 if (PyErr_Occurred()) SWIG_fail
;
6027 resultobj
= SWIG_Py_Void();
6034 SWIGINTERN PyObject
*_wrap_TopLevelWindow_GetDefaultItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6035 PyObject
*resultobj
= 0;
6036 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
6037 wxWindow
*result
= 0 ;
6040 PyObject
*swig_obj
[1] ;
6042 if (!args
) SWIG_fail
;
6044 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 | 0 );
6045 if (!SWIG_IsOK(res1
)) {
6046 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_GetDefaultItem" "', expected argument " "1"" of type '" "wxTopLevelWindow const *""'");
6048 arg1
= reinterpret_cast< wxTopLevelWindow
* >(argp1
);
6050 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6051 result
= (wxWindow
*)((wxTopLevelWindow
const *)arg1
)->GetDefaultItem();
6052 wxPyEndAllowThreads(__tstate
);
6053 if (PyErr_Occurred()) SWIG_fail
;
6056 resultobj
= wxPyMake_wxObject(result
, 0);
6064 SWIGINTERN PyObject
*_wrap_TopLevelWindow_SetDefaultItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6065 PyObject
*resultobj
= 0;
6066 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
6067 wxWindow
*arg2
= (wxWindow
*) 0 ;
6068 wxWindow
*result
= 0 ;
6073 PyObject
* obj0
= 0 ;
6074 PyObject
* obj1
= 0 ;
6075 char * kwnames
[] = {
6076 (char *) "self",(char *) "child", NULL
6079 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TopLevelWindow_SetDefaultItem",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6080 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 | 0 );
6081 if (!SWIG_IsOK(res1
)) {
6082 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_SetDefaultItem" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
6084 arg1
= reinterpret_cast< wxTopLevelWindow
* >(argp1
);
6085 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
6086 if (!SWIG_IsOK(res2
)) {
6087 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TopLevelWindow_SetDefaultItem" "', expected argument " "2"" of type '" "wxWindow *""'");
6089 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
6091 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6092 result
= (wxWindow
*)(arg1
)->SetDefaultItem(arg2
);
6093 wxPyEndAllowThreads(__tstate
);
6094 if (PyErr_Occurred()) SWIG_fail
;
6097 resultobj
= wxPyMake_wxObject(result
, 0);
6105 SWIGINTERN PyObject
*_wrap_TopLevelWindow_SetTmpDefaultItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6106 PyObject
*resultobj
= 0;
6107 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
6108 wxWindow
*arg2
= (wxWindow
*) 0 ;
6113 PyObject
* obj0
= 0 ;
6114 PyObject
* obj1
= 0 ;
6115 char * kwnames
[] = {
6116 (char *) "self",(char *) "win", NULL
6119 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TopLevelWindow_SetTmpDefaultItem",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6120 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 | 0 );
6121 if (!SWIG_IsOK(res1
)) {
6122 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_SetTmpDefaultItem" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
6124 arg1
= reinterpret_cast< wxTopLevelWindow
* >(argp1
);
6125 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
6126 if (!SWIG_IsOK(res2
)) {
6127 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TopLevelWindow_SetTmpDefaultItem" "', expected argument " "2"" of type '" "wxWindow *""'");
6129 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
6131 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6132 (arg1
)->SetTmpDefaultItem(arg2
);
6133 wxPyEndAllowThreads(__tstate
);
6134 if (PyErr_Occurred()) SWIG_fail
;
6136 resultobj
= SWIG_Py_Void();
6143 SWIGINTERN PyObject
*_wrap_TopLevelWindow_GetTmpDefaultItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6144 PyObject
*resultobj
= 0;
6145 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
6146 wxWindow
*result
= 0 ;
6149 PyObject
*swig_obj
[1] ;
6151 if (!args
) SWIG_fail
;
6153 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 | 0 );
6154 if (!SWIG_IsOK(res1
)) {
6155 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_GetTmpDefaultItem" "', expected argument " "1"" of type '" "wxTopLevelWindow const *""'");
6157 arg1
= reinterpret_cast< wxTopLevelWindow
* >(argp1
);
6159 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6160 result
= (wxWindow
*)((wxTopLevelWindow
const *)arg1
)->GetTmpDefaultItem();
6161 wxPyEndAllowThreads(__tstate
);
6162 if (PyErr_Occurred()) SWIG_fail
;
6165 resultobj
= wxPyMake_wxObject(result
, 0);
6173 SWIGINTERN PyObject
*TopLevelWindow_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6175 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
6176 SWIG_TypeNewClientData(SWIGTYPE_p_wxTopLevelWindow
, SWIG_NewClientData(obj
));
6177 return SWIG_Py_Void();
6180 SWIGINTERN PyObject
*_wrap_new_Frame(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6181 PyObject
*resultobj
= 0;
6182 wxWindow
*arg1
= (wxWindow
*) 0 ;
6183 int arg2
= (int) (int)-1 ;
6184 wxString
const &arg3_defvalue
= wxPyEmptyString
;
6185 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
6186 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
6187 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
6188 wxSize
const &arg5_defvalue
= wxDefaultSize
;
6189 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
6190 long arg6
= (long) wxDEFAULT_FRAME_STYLE
;
6191 wxString
const &arg7_defvalue
= wxPyFrameNameStr
;
6192 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
6193 wxFrame
*result
= 0 ;
6198 bool temp3
= false ;
6203 bool temp7
= false ;
6204 PyObject
* obj0
= 0 ;
6205 PyObject
* obj1
= 0 ;
6206 PyObject
* obj2
= 0 ;
6207 PyObject
* obj3
= 0 ;
6208 PyObject
* obj4
= 0 ;
6209 PyObject
* obj5
= 0 ;
6210 PyObject
* obj6
= 0 ;
6211 char * kwnames
[] = {
6212 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
6215 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_Frame",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
6216 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
6217 if (!SWIG_IsOK(res1
)) {
6218 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_Frame" "', expected argument " "1"" of type '" "wxWindow *""'");
6220 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
6222 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
6223 if (!SWIG_IsOK(ecode2
)) {
6224 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Frame" "', expected argument " "2"" of type '" "int""'");
6226 arg2
= static_cast< int >(val2
);
6230 arg3
= wxString_in_helper(obj2
);
6231 if (arg3
== NULL
) SWIG_fail
;
6238 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
6244 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
6248 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
6249 if (!SWIG_IsOK(ecode6
)) {
6250 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_Frame" "', expected argument " "6"" of type '" "long""'");
6252 arg6
= static_cast< long >(val6
);
6256 arg7
= wxString_in_helper(obj6
);
6257 if (arg7
== NULL
) SWIG_fail
;
6262 if (!wxPyCheckForApp()) SWIG_fail
;
6263 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6264 result
= (wxFrame
*)new wxFrame(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
6265 wxPyEndAllowThreads(__tstate
);
6266 if (PyErr_Occurred()) SWIG_fail
;
6268 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFrame
, SWIG_POINTER_NEW
| 0 );
6291 SWIGINTERN PyObject
*_wrap_new_PreFrame(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6292 PyObject
*resultobj
= 0;
6293 wxFrame
*result
= 0 ;
6295 if (!SWIG_Python_UnpackTuple(args
,"new_PreFrame",0,0,0)) SWIG_fail
;
6297 if (!wxPyCheckForApp()) SWIG_fail
;
6298 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6299 result
= (wxFrame
*)new wxFrame();
6300 wxPyEndAllowThreads(__tstate
);
6301 if (PyErr_Occurred()) SWIG_fail
;
6303 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFrame
, SWIG_POINTER_OWN
| 0 );
6310 SWIGINTERN PyObject
*_wrap_Frame_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6311 PyObject
*resultobj
= 0;
6312 wxFrame
*arg1
= (wxFrame
*) 0 ;
6313 wxWindow
*arg2
= (wxWindow
*) 0 ;
6314 int arg3
= (int) (int)-1 ;
6315 wxString
const &arg4_defvalue
= wxPyEmptyString
;
6316 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
6317 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
6318 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
6319 wxSize
const &arg6_defvalue
= wxDefaultSize
;
6320 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
6321 long arg7
= (long) wxDEFAULT_FRAME_STYLE
;
6322 wxString
const &arg8_defvalue
= wxPyFrameNameStr
;
6323 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
6331 bool temp4
= false ;
6336 bool temp8
= false ;
6337 PyObject
* obj0
= 0 ;
6338 PyObject
* obj1
= 0 ;
6339 PyObject
* obj2
= 0 ;
6340 PyObject
* obj3
= 0 ;
6341 PyObject
* obj4
= 0 ;
6342 PyObject
* obj5
= 0 ;
6343 PyObject
* obj6
= 0 ;
6344 PyObject
* obj7
= 0 ;
6345 char * kwnames
[] = {
6346 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
6349 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:Frame_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
6350 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFrame
, 0 | 0 );
6351 if (!SWIG_IsOK(res1
)) {
6352 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Frame_Create" "', expected argument " "1"" of type '" "wxFrame *""'");
6354 arg1
= reinterpret_cast< wxFrame
* >(argp1
);
6355 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
6356 if (!SWIG_IsOK(res2
)) {
6357 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Frame_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
6359 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
6361 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
6362 if (!SWIG_IsOK(ecode3
)) {
6363 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Frame_Create" "', expected argument " "3"" of type '" "int""'");
6365 arg3
= static_cast< int >(val3
);
6369 arg4
= wxString_in_helper(obj3
);
6370 if (arg4
== NULL
) SWIG_fail
;
6377 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
6383 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
6387 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
6388 if (!SWIG_IsOK(ecode7
)) {
6389 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "Frame_Create" "', expected argument " "7"" of type '" "long""'");
6391 arg7
= static_cast< long >(val7
);
6395 arg8
= wxString_in_helper(obj7
);
6396 if (arg8
== NULL
) SWIG_fail
;
6401 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6402 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
6403 wxPyEndAllowThreads(__tstate
);
6404 if (PyErr_Occurred()) SWIG_fail
;
6407 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6431 SWIGINTERN PyObject
*_wrap_Frame_SendSizeEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6432 PyObject
*resultobj
= 0;
6433 wxFrame
*arg1
= (wxFrame
*) 0 ;
6436 PyObject
*swig_obj
[1] ;
6438 if (!args
) SWIG_fail
;
6440 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFrame
, 0 | 0 );
6441 if (!SWIG_IsOK(res1
)) {
6442 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Frame_SendSizeEvent" "', expected argument " "1"" of type '" "wxFrame *""'");
6444 arg1
= reinterpret_cast< wxFrame
* >(argp1
);
6446 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6447 (arg1
)->SendSizeEvent();
6448 wxPyEndAllowThreads(__tstate
);
6449 if (PyErr_Occurred()) SWIG_fail
;
6451 resultobj
= SWIG_Py_Void();
6458 SWIGINTERN PyObject
*_wrap_Frame_SetMenuBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6459 PyObject
*resultobj
= 0;
6460 wxFrame
*arg1
= (wxFrame
*) 0 ;
6461 wxMenuBar
*arg2
= (wxMenuBar
*) 0 ;
6466 PyObject
* obj0
= 0 ;
6467 PyObject
* obj1
= 0 ;
6468 char * kwnames
[] = {
6469 (char *) "self",(char *) "menubar", NULL
6472 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Frame_SetMenuBar",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6473 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFrame
, 0 | 0 );
6474 if (!SWIG_IsOK(res1
)) {
6475 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Frame_SetMenuBar" "', expected argument " "1"" of type '" "wxFrame *""'");
6477 arg1
= reinterpret_cast< wxFrame
* >(argp1
);
6478 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxMenuBar
, 0 | 0 );
6479 if (!SWIG_IsOK(res2
)) {
6480 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Frame_SetMenuBar" "', expected argument " "2"" of type '" "wxMenuBar *""'");
6482 arg2
= reinterpret_cast< wxMenuBar
* >(argp2
);
6484 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6485 (arg1
)->SetMenuBar(arg2
);
6486 wxPyEndAllowThreads(__tstate
);
6487 if (PyErr_Occurred()) SWIG_fail
;
6489 resultobj
= SWIG_Py_Void();
6496 SWIGINTERN PyObject
*_wrap_Frame_GetMenuBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6497 PyObject
*resultobj
= 0;
6498 wxFrame
*arg1
= (wxFrame
*) 0 ;
6499 wxMenuBar
*result
= 0 ;
6502 PyObject
*swig_obj
[1] ;
6504 if (!args
) SWIG_fail
;
6506 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFrame
, 0 | 0 );
6507 if (!SWIG_IsOK(res1
)) {
6508 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Frame_GetMenuBar" "', expected argument " "1"" of type '" "wxFrame const *""'");
6510 arg1
= reinterpret_cast< wxFrame
* >(argp1
);
6512 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6513 result
= (wxMenuBar
*)((wxFrame
const *)arg1
)->GetMenuBar();
6514 wxPyEndAllowThreads(__tstate
);
6515 if (PyErr_Occurred()) SWIG_fail
;
6518 resultobj
= wxPyMake_wxObject(result
, 0);
6526 SWIGINTERN PyObject
*_wrap_Frame_ProcessCommand(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6527 PyObject
*resultobj
= 0;
6528 wxFrame
*arg1
= (wxFrame
*) 0 ;
6535 PyObject
* obj0
= 0 ;
6536 PyObject
* obj1
= 0 ;
6537 char * kwnames
[] = {
6538 (char *) "self",(char *) "winid", NULL
6541 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Frame_ProcessCommand",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6542 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFrame
, 0 | 0 );
6543 if (!SWIG_IsOK(res1
)) {
6544 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Frame_ProcessCommand" "', expected argument " "1"" of type '" "wxFrame *""'");
6546 arg1
= reinterpret_cast< wxFrame
* >(argp1
);
6547 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
6548 if (!SWIG_IsOK(ecode2
)) {
6549 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Frame_ProcessCommand" "', expected argument " "2"" of type '" "int""'");
6551 arg2
= static_cast< int >(val2
);
6553 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6554 result
= (bool)(arg1
)->ProcessCommand(arg2
);
6555 wxPyEndAllowThreads(__tstate
);
6556 if (PyErr_Occurred()) SWIG_fail
;
6559 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6567 SWIGINTERN PyObject
*_wrap_Frame_CreateStatusBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6568 PyObject
*resultobj
= 0;
6569 wxFrame
*arg1
= (wxFrame
*) 0 ;
6570 int arg2
= (int) 1 ;
6571 long arg3
= (long) wxDEFAULT_STATUSBAR_STYLE
;
6572 int arg4
= (int) 0 ;
6573 wxString
const &arg5_defvalue
= wxPyStatusLineNameStr
;
6574 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
6575 wxStatusBar
*result
= 0 ;
6584 bool temp5
= false ;
6585 PyObject
* obj0
= 0 ;
6586 PyObject
* obj1
= 0 ;
6587 PyObject
* obj2
= 0 ;
6588 PyObject
* obj3
= 0 ;
6589 PyObject
* obj4
= 0 ;
6590 char * kwnames
[] = {
6591 (char *) "self",(char *) "number",(char *) "style",(char *) "winid",(char *) "name", NULL
6594 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOO:Frame_CreateStatusBar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
6595 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFrame
, 0 | 0 );
6596 if (!SWIG_IsOK(res1
)) {
6597 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Frame_CreateStatusBar" "', expected argument " "1"" of type '" "wxFrame *""'");
6599 arg1
= reinterpret_cast< wxFrame
* >(argp1
);
6601 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
6602 if (!SWIG_IsOK(ecode2
)) {
6603 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Frame_CreateStatusBar" "', expected argument " "2"" of type '" "int""'");
6605 arg2
= static_cast< int >(val2
);
6608 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
6609 if (!SWIG_IsOK(ecode3
)) {
6610 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Frame_CreateStatusBar" "', expected argument " "3"" of type '" "long""'");
6612 arg3
= static_cast< long >(val3
);
6615 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
6616 if (!SWIG_IsOK(ecode4
)) {
6617 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Frame_CreateStatusBar" "', expected argument " "4"" of type '" "int""'");
6619 arg4
= static_cast< int >(val4
);
6623 arg5
= wxString_in_helper(obj4
);
6624 if (arg5
== NULL
) SWIG_fail
;
6629 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6630 result
= (wxStatusBar
*)(arg1
)->CreateStatusBar(arg2
,arg3
,arg4
,(wxString
const &)*arg5
);
6631 wxPyEndAllowThreads(__tstate
);
6632 if (PyErr_Occurred()) SWIG_fail
;
6635 resultobj
= wxPyMake_wxObject(result
, (bool)0);
6651 SWIGINTERN PyObject
*_wrap_Frame_GetStatusBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6652 PyObject
*resultobj
= 0;
6653 wxFrame
*arg1
= (wxFrame
*) 0 ;
6654 wxStatusBar
*result
= 0 ;
6657 PyObject
*swig_obj
[1] ;
6659 if (!args
) SWIG_fail
;
6661 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFrame
, 0 | 0 );
6662 if (!SWIG_IsOK(res1
)) {
6663 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Frame_GetStatusBar" "', expected argument " "1"" of type '" "wxFrame const *""'");
6665 arg1
= reinterpret_cast< wxFrame
* >(argp1
);
6667 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6668 result
= (wxStatusBar
*)((wxFrame
const *)arg1
)->GetStatusBar();
6669 wxPyEndAllowThreads(__tstate
);
6670 if (PyErr_Occurred()) SWIG_fail
;
6673 resultobj
= wxPyMake_wxObject(result
, (bool)0);
6681 SWIGINTERN PyObject
*_wrap_Frame_SetStatusBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6682 PyObject
*resultobj
= 0;
6683 wxFrame
*arg1
= (wxFrame
*) 0 ;
6684 wxStatusBar
*arg2
= (wxStatusBar
*) 0 ;
6689 PyObject
* obj0
= 0 ;
6690 PyObject
* obj1
= 0 ;
6691 char * kwnames
[] = {
6692 (char *) "self",(char *) "statBar", NULL
6695 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Frame_SetStatusBar",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6696 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFrame
, 0 | 0 );
6697 if (!SWIG_IsOK(res1
)) {
6698 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Frame_SetStatusBar" "', expected argument " "1"" of type '" "wxFrame *""'");
6700 arg1
= reinterpret_cast< wxFrame
* >(argp1
);
6701 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxStatusBar
, 0 | 0 );
6702 if (!SWIG_IsOK(res2
)) {
6703 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Frame_SetStatusBar" "', expected argument " "2"" of type '" "wxStatusBar *""'");
6705 arg2
= reinterpret_cast< wxStatusBar
* >(argp2
);
6707 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6708 (arg1
)->SetStatusBar(arg2
);
6709 wxPyEndAllowThreads(__tstate
);
6710 if (PyErr_Occurred()) SWIG_fail
;
6712 resultobj
= SWIG_Py_Void();
6719 SWIGINTERN PyObject
*_wrap_Frame_SetStatusText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6720 PyObject
*resultobj
= 0;
6721 wxFrame
*arg1
= (wxFrame
*) 0 ;
6722 wxString
*arg2
= 0 ;
6723 int arg3
= (int) 0 ;
6726 bool temp2
= false ;
6729 PyObject
* obj0
= 0 ;
6730 PyObject
* obj1
= 0 ;
6731 PyObject
* obj2
= 0 ;
6732 char * kwnames
[] = {
6733 (char *) "self",(char *) "text",(char *) "number", NULL
6736 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Frame_SetStatusText",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
6737 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFrame
, 0 | 0 );
6738 if (!SWIG_IsOK(res1
)) {
6739 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Frame_SetStatusText" "', expected argument " "1"" of type '" "wxFrame *""'");
6741 arg1
= reinterpret_cast< wxFrame
* >(argp1
);
6743 arg2
= wxString_in_helper(obj1
);
6744 if (arg2
== NULL
) SWIG_fail
;
6748 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
6749 if (!SWIG_IsOK(ecode3
)) {
6750 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Frame_SetStatusText" "', expected argument " "3"" of type '" "int""'");
6752 arg3
= static_cast< int >(val3
);
6755 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6756 (arg1
)->SetStatusText((wxString
const &)*arg2
,arg3
);
6757 wxPyEndAllowThreads(__tstate
);
6758 if (PyErr_Occurred()) SWIG_fail
;
6760 resultobj
= SWIG_Py_Void();
6775 SWIGINTERN PyObject
*_wrap_Frame_SetStatusWidths(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6776 PyObject
*resultobj
= 0;
6777 wxFrame
*arg1
= (wxFrame
*) 0 ;
6779 int *arg3
= (int *) 0 ;
6782 PyObject
* obj0
= 0 ;
6783 PyObject
* obj1
= 0 ;
6784 char * kwnames
[] = {
6785 (char *) "self",(char *) "widths", NULL
6788 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Frame_SetStatusWidths",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6789 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFrame
, 0 | 0 );
6790 if (!SWIG_IsOK(res1
)) {
6791 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Frame_SetStatusWidths" "', expected argument " "1"" of type '" "wxFrame *""'");
6793 arg1
= reinterpret_cast< wxFrame
* >(argp1
);
6795 arg2
= PyList_Size(obj1
);
6796 arg3
= int_LIST_helper(obj1
);
6797 if (arg3
== NULL
) SWIG_fail
;
6800 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6801 (arg1
)->SetStatusWidths(arg2
,(int const *)arg3
);
6802 wxPyEndAllowThreads(__tstate
);
6803 if (PyErr_Occurred()) SWIG_fail
;
6805 resultobj
= SWIG_Py_Void();
6807 if (arg3
) delete [] arg3
;
6812 if (arg3
) delete [] arg3
;
6818 SWIGINTERN PyObject
*_wrap_Frame_PushStatusText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6819 PyObject
*resultobj
= 0;
6820 wxFrame
*arg1
= (wxFrame
*) 0 ;
6821 wxString
*arg2
= 0 ;
6822 int arg3
= (int) 0 ;
6825 bool temp2
= false ;
6828 PyObject
* obj0
= 0 ;
6829 PyObject
* obj1
= 0 ;
6830 PyObject
* obj2
= 0 ;
6831 char * kwnames
[] = {
6832 (char *) "self",(char *) "text",(char *) "number", NULL
6835 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Frame_PushStatusText",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
6836 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFrame
, 0 | 0 );
6837 if (!SWIG_IsOK(res1
)) {
6838 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Frame_PushStatusText" "', expected argument " "1"" of type '" "wxFrame *""'");
6840 arg1
= reinterpret_cast< wxFrame
* >(argp1
);
6842 arg2
= wxString_in_helper(obj1
);
6843 if (arg2
== NULL
) SWIG_fail
;
6847 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
6848 if (!SWIG_IsOK(ecode3
)) {
6849 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Frame_PushStatusText" "', expected argument " "3"" of type '" "int""'");
6851 arg3
= static_cast< int >(val3
);
6854 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6855 (arg1
)->PushStatusText((wxString
const &)*arg2
,arg3
);
6856 wxPyEndAllowThreads(__tstate
);
6857 if (PyErr_Occurred()) SWIG_fail
;
6859 resultobj
= SWIG_Py_Void();
6874 SWIGINTERN PyObject
*_wrap_Frame_PopStatusText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6875 PyObject
*resultobj
= 0;
6876 wxFrame
*arg1
= (wxFrame
*) 0 ;
6877 int arg2
= (int) 0 ;
6882 PyObject
* obj0
= 0 ;
6883 PyObject
* obj1
= 0 ;
6884 char * kwnames
[] = {
6885 (char *) "self",(char *) "number", NULL
6888 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Frame_PopStatusText",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6889 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFrame
, 0 | 0 );
6890 if (!SWIG_IsOK(res1
)) {
6891 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Frame_PopStatusText" "', expected argument " "1"" of type '" "wxFrame *""'");
6893 arg1
= reinterpret_cast< wxFrame
* >(argp1
);
6895 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
6896 if (!SWIG_IsOK(ecode2
)) {
6897 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Frame_PopStatusText" "', expected argument " "2"" of type '" "int""'");
6899 arg2
= static_cast< int >(val2
);
6902 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6903 (arg1
)->PopStatusText(arg2
);
6904 wxPyEndAllowThreads(__tstate
);
6905 if (PyErr_Occurred()) SWIG_fail
;
6907 resultobj
= SWIG_Py_Void();
6914 SWIGINTERN PyObject
*_wrap_Frame_SetStatusBarPane(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6915 PyObject
*resultobj
= 0;
6916 wxFrame
*arg1
= (wxFrame
*) 0 ;
6922 PyObject
* obj0
= 0 ;
6923 PyObject
* obj1
= 0 ;
6924 char * kwnames
[] = {
6925 (char *) "self",(char *) "n", NULL
6928 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Frame_SetStatusBarPane",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6929 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFrame
, 0 | 0 );
6930 if (!SWIG_IsOK(res1
)) {
6931 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Frame_SetStatusBarPane" "', expected argument " "1"" of type '" "wxFrame *""'");
6933 arg1
= reinterpret_cast< wxFrame
* >(argp1
);
6934 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
6935 if (!SWIG_IsOK(ecode2
)) {
6936 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Frame_SetStatusBarPane" "', expected argument " "2"" of type '" "int""'");
6938 arg2
= static_cast< int >(val2
);
6940 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6941 (arg1
)->SetStatusBarPane(arg2
);
6942 wxPyEndAllowThreads(__tstate
);
6943 if (PyErr_Occurred()) SWIG_fail
;
6945 resultobj
= SWIG_Py_Void();
6952 SWIGINTERN PyObject
*_wrap_Frame_GetStatusBarPane(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6953 PyObject
*resultobj
= 0;
6954 wxFrame
*arg1
= (wxFrame
*) 0 ;
6958 PyObject
*swig_obj
[1] ;
6960 if (!args
) SWIG_fail
;
6962 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFrame
, 0 | 0 );
6963 if (!SWIG_IsOK(res1
)) {
6964 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Frame_GetStatusBarPane" "', expected argument " "1"" of type '" "wxFrame const *""'");
6966 arg1
= reinterpret_cast< wxFrame
* >(argp1
);
6968 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6969 result
= (int)((wxFrame
const *)arg1
)->GetStatusBarPane();
6970 wxPyEndAllowThreads(__tstate
);
6971 if (PyErr_Occurred()) SWIG_fail
;
6973 resultobj
= SWIG_From_int(static_cast< int >(result
));
6980 SWIGINTERN PyObject
*_wrap_Frame_CreateToolBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6981 PyObject
*resultobj
= 0;
6982 wxFrame
*arg1
= (wxFrame
*) 0 ;
6983 long arg2
= (long) -1 ;
6984 int arg3
= (int) -1 ;
6985 wxString
const &arg4_defvalue
= wxPyToolBarNameStr
;
6986 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
6987 wxToolBar
*result
= 0 ;
6994 bool temp4
= false ;
6995 PyObject
* obj0
= 0 ;
6996 PyObject
* obj1
= 0 ;
6997 PyObject
* obj2
= 0 ;
6998 PyObject
* obj3
= 0 ;
6999 char * kwnames
[] = {
7000 (char *) "self",(char *) "style",(char *) "winid",(char *) "name", NULL
7003 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOO:Frame_CreateToolBar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
7004 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFrame
, 0 | 0 );
7005 if (!SWIG_IsOK(res1
)) {
7006 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Frame_CreateToolBar" "', expected argument " "1"" of type '" "wxFrame *""'");
7008 arg1
= reinterpret_cast< wxFrame
* >(argp1
);
7010 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
7011 if (!SWIG_IsOK(ecode2
)) {
7012 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Frame_CreateToolBar" "', expected argument " "2"" of type '" "long""'");
7014 arg2
= static_cast< long >(val2
);
7017 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
7018 if (!SWIG_IsOK(ecode3
)) {
7019 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Frame_CreateToolBar" "', expected argument " "3"" of type '" "int""'");
7021 arg3
= static_cast< int >(val3
);
7025 arg4
= wxString_in_helper(obj3
);
7026 if (arg4
== NULL
) SWIG_fail
;
7031 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7032 result
= (wxToolBar
*)(arg1
)->CreateToolBar(arg2
,arg3
,(wxString
const &)*arg4
);
7033 wxPyEndAllowThreads(__tstate
);
7034 if (PyErr_Occurred()) SWIG_fail
;
7037 resultobj
= wxPyMake_wxObject(result
, (bool)0);
7053 SWIGINTERN PyObject
*_wrap_Frame_GetToolBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7054 PyObject
*resultobj
= 0;
7055 wxFrame
*arg1
= (wxFrame
*) 0 ;
7056 wxToolBar
*result
= 0 ;
7059 PyObject
*swig_obj
[1] ;
7061 if (!args
) SWIG_fail
;
7063 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFrame
, 0 | 0 );
7064 if (!SWIG_IsOK(res1
)) {
7065 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Frame_GetToolBar" "', expected argument " "1"" of type '" "wxFrame const *""'");
7067 arg1
= reinterpret_cast< wxFrame
* >(argp1
);
7069 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7070 result
= (wxToolBar
*)((wxFrame
const *)arg1
)->GetToolBar();
7071 wxPyEndAllowThreads(__tstate
);
7072 if (PyErr_Occurred()) SWIG_fail
;
7075 resultobj
= wxPyMake_wxObject(result
, (bool)0);
7083 SWIGINTERN PyObject
*_wrap_Frame_SetToolBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7084 PyObject
*resultobj
= 0;
7085 wxFrame
*arg1
= (wxFrame
*) 0 ;
7086 wxToolBar
*arg2
= (wxToolBar
*) 0 ;
7091 PyObject
* obj0
= 0 ;
7092 PyObject
* obj1
= 0 ;
7093 char * kwnames
[] = {
7094 (char *) "self",(char *) "toolbar", NULL
7097 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Frame_SetToolBar",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7098 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFrame
, 0 | 0 );
7099 if (!SWIG_IsOK(res1
)) {
7100 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Frame_SetToolBar" "', expected argument " "1"" of type '" "wxFrame *""'");
7102 arg1
= reinterpret_cast< wxFrame
* >(argp1
);
7103 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxToolBar
, 0 | 0 );
7104 if (!SWIG_IsOK(res2
)) {
7105 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Frame_SetToolBar" "', expected argument " "2"" of type '" "wxToolBar *""'");
7107 arg2
= reinterpret_cast< wxToolBar
* >(argp2
);
7109 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7110 (arg1
)->SetToolBar(arg2
);
7111 wxPyEndAllowThreads(__tstate
);
7112 if (PyErr_Occurred()) SWIG_fail
;
7114 resultobj
= SWIG_Py_Void();
7121 SWIGINTERN PyObject
*_wrap_Frame_DoGiveHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7122 PyObject
*resultobj
= 0;
7123 wxFrame
*arg1
= (wxFrame
*) 0 ;
7124 wxString
*arg2
= 0 ;
7128 bool temp2
= false ;
7131 PyObject
* obj0
= 0 ;
7132 PyObject
* obj1
= 0 ;
7133 PyObject
* obj2
= 0 ;
7134 char * kwnames
[] = {
7135 (char *) "self",(char *) "text",(char *) "show", NULL
7138 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Frame_DoGiveHelp",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
7139 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFrame
, 0 | 0 );
7140 if (!SWIG_IsOK(res1
)) {
7141 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Frame_DoGiveHelp" "', expected argument " "1"" of type '" "wxFrame *""'");
7143 arg1
= reinterpret_cast< wxFrame
* >(argp1
);
7145 arg2
= wxString_in_helper(obj1
);
7146 if (arg2
== NULL
) SWIG_fail
;
7149 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
7150 if (!SWIG_IsOK(ecode3
)) {
7151 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Frame_DoGiveHelp" "', expected argument " "3"" of type '" "bool""'");
7153 arg3
= static_cast< bool >(val3
);
7155 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7156 (arg1
)->DoGiveHelp((wxString
const &)*arg2
,arg3
);
7157 wxPyEndAllowThreads(__tstate
);
7158 if (PyErr_Occurred()) SWIG_fail
;
7160 resultobj
= SWIG_Py_Void();
7175 SWIGINTERN PyObject
*_wrap_Frame_DoMenuUpdates(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7176 PyObject
*resultobj
= 0;
7177 wxFrame
*arg1
= (wxFrame
*) 0 ;
7178 wxMenu
*arg2
= (wxMenu
*) NULL
;
7183 PyObject
* obj0
= 0 ;
7184 PyObject
* obj1
= 0 ;
7185 char * kwnames
[] = {
7186 (char *) "self",(char *) "menu", NULL
7189 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Frame_DoMenuUpdates",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7190 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFrame
, 0 | 0 );
7191 if (!SWIG_IsOK(res1
)) {
7192 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Frame_DoMenuUpdates" "', expected argument " "1"" of type '" "wxFrame *""'");
7194 arg1
= reinterpret_cast< wxFrame
* >(argp1
);
7196 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxMenu
, 0 | 0 );
7197 if (!SWIG_IsOK(res2
)) {
7198 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Frame_DoMenuUpdates" "', expected argument " "2"" of type '" "wxMenu *""'");
7200 arg2
= reinterpret_cast< wxMenu
* >(argp2
);
7203 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7204 (arg1
)->DoMenuUpdates(arg2
);
7205 wxPyEndAllowThreads(__tstate
);
7206 if (PyErr_Occurred()) SWIG_fail
;
7208 resultobj
= SWIG_Py_Void();
7215 SWIGINTERN PyObject
*_wrap_Frame_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7216 PyObject
*resultobj
= 0;
7217 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
7218 SwigValueWrapper
<wxVisualAttributes
> result
;
7221 PyObject
* obj0
= 0 ;
7222 char * kwnames
[] = {
7223 (char *) "variant", NULL
7226 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Frame_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
7228 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
7229 if (!SWIG_IsOK(ecode1
)) {
7230 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "Frame_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
7232 arg1
= static_cast< wxWindowVariant
>(val1
);
7235 if (!wxPyCheckForApp()) SWIG_fail
;
7236 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7237 result
= wxFrame::GetClassDefaultAttributes(arg1
);
7238 wxPyEndAllowThreads(__tstate
);
7239 if (PyErr_Occurred()) SWIG_fail
;
7241 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
7248 SWIGINTERN PyObject
*Frame_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7250 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
7251 SWIG_TypeNewClientData(SWIGTYPE_p_wxFrame
, SWIG_NewClientData(obj
));
7252 return SWIG_Py_Void();
7255 SWIGINTERN PyObject
*Frame_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7256 return SWIG_Python_InitShadowInstance(args
);
7259 SWIGINTERN PyObject
*_wrap_new_Dialog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7260 PyObject
*resultobj
= 0;
7261 wxWindow
*arg1
= (wxWindow
*) 0 ;
7262 int arg2
= (int) (int)-1 ;
7263 wxString
const &arg3_defvalue
= wxPyEmptyString
;
7264 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
7265 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
7266 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
7267 wxSize
const &arg5_defvalue
= wxDefaultSize
;
7268 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
7269 long arg6
= (long) wxDEFAULT_DIALOG_STYLE
;
7270 wxString
const &arg7_defvalue
= wxPyDialogNameStr
;
7271 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
7272 wxDialog
*result
= 0 ;
7277 bool temp3
= false ;
7282 bool temp7
= false ;
7283 PyObject
* obj0
= 0 ;
7284 PyObject
* obj1
= 0 ;
7285 PyObject
* obj2
= 0 ;
7286 PyObject
* obj3
= 0 ;
7287 PyObject
* obj4
= 0 ;
7288 PyObject
* obj5
= 0 ;
7289 PyObject
* obj6
= 0 ;
7290 char * kwnames
[] = {
7291 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
7294 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_Dialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
7295 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
7296 if (!SWIG_IsOK(res1
)) {
7297 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_Dialog" "', expected argument " "1"" of type '" "wxWindow *""'");
7299 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
7301 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
7302 if (!SWIG_IsOK(ecode2
)) {
7303 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Dialog" "', expected argument " "2"" of type '" "int""'");
7305 arg2
= static_cast< int >(val2
);
7309 arg3
= wxString_in_helper(obj2
);
7310 if (arg3
== NULL
) SWIG_fail
;
7317 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
7323 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
7327 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
7328 if (!SWIG_IsOK(ecode6
)) {
7329 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_Dialog" "', expected argument " "6"" of type '" "long""'");
7331 arg6
= static_cast< long >(val6
);
7335 arg7
= wxString_in_helper(obj6
);
7336 if (arg7
== NULL
) SWIG_fail
;
7341 if (!wxPyCheckForApp()) SWIG_fail
;
7342 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7343 result
= (wxDialog
*)new wxDialog(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
7344 wxPyEndAllowThreads(__tstate
);
7345 if (PyErr_Occurred()) SWIG_fail
;
7347 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDialog
, SWIG_POINTER_NEW
| 0 );
7370 SWIGINTERN PyObject
*_wrap_new_PreDialog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7371 PyObject
*resultobj
= 0;
7372 wxDialog
*result
= 0 ;
7374 if (!SWIG_Python_UnpackTuple(args
,"new_PreDialog",0,0,0)) SWIG_fail
;
7376 if (!wxPyCheckForApp()) SWIG_fail
;
7377 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7378 result
= (wxDialog
*)new wxDialog();
7379 wxPyEndAllowThreads(__tstate
);
7380 if (PyErr_Occurred()) SWIG_fail
;
7382 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDialog
, SWIG_POINTER_OWN
| 0 );
7389 SWIGINTERN PyObject
*_wrap_Dialog_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7390 PyObject
*resultobj
= 0;
7391 wxDialog
*arg1
= (wxDialog
*) 0 ;
7392 wxWindow
*arg2
= (wxWindow
*) 0 ;
7393 int arg3
= (int) (int)-1 ;
7394 wxString
const &arg4_defvalue
= wxPyEmptyString
;
7395 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
7396 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
7397 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
7398 wxSize
const &arg6_defvalue
= wxDefaultSize
;
7399 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
7400 long arg7
= (long) wxDEFAULT_DIALOG_STYLE
;
7401 wxString
const &arg8_defvalue
= wxPyDialogNameStr
;
7402 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
7410 bool temp4
= false ;
7415 bool temp8
= false ;
7416 PyObject
* obj0
= 0 ;
7417 PyObject
* obj1
= 0 ;
7418 PyObject
* obj2
= 0 ;
7419 PyObject
* obj3
= 0 ;
7420 PyObject
* obj4
= 0 ;
7421 PyObject
* obj5
= 0 ;
7422 PyObject
* obj6
= 0 ;
7423 PyObject
* obj7
= 0 ;
7424 char * kwnames
[] = {
7425 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
7428 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:Dialog_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
7429 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDialog
, 0 | 0 );
7430 if (!SWIG_IsOK(res1
)) {
7431 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Dialog_Create" "', expected argument " "1"" of type '" "wxDialog *""'");
7433 arg1
= reinterpret_cast< wxDialog
* >(argp1
);
7434 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
7435 if (!SWIG_IsOK(res2
)) {
7436 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Dialog_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
7438 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
7440 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
7441 if (!SWIG_IsOK(ecode3
)) {
7442 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Dialog_Create" "', expected argument " "3"" of type '" "int""'");
7444 arg3
= static_cast< int >(val3
);
7448 arg4
= wxString_in_helper(obj3
);
7449 if (arg4
== NULL
) SWIG_fail
;
7456 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
7462 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
7466 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
7467 if (!SWIG_IsOK(ecode7
)) {
7468 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "Dialog_Create" "', expected argument " "7"" of type '" "long""'");
7470 arg7
= static_cast< long >(val7
);
7474 arg8
= wxString_in_helper(obj7
);
7475 if (arg8
== NULL
) SWIG_fail
;
7480 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7481 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
7482 wxPyEndAllowThreads(__tstate
);
7483 if (PyErr_Occurred()) SWIG_fail
;
7486 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7510 SWIGINTERN PyObject
*_wrap_Dialog_SetReturnCode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7511 PyObject
*resultobj
= 0;
7512 wxDialog
*arg1
= (wxDialog
*) 0 ;
7518 PyObject
* obj0
= 0 ;
7519 PyObject
* obj1
= 0 ;
7520 char * kwnames
[] = {
7521 (char *) "self",(char *) "returnCode", NULL
7524 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Dialog_SetReturnCode",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7525 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDialog
, 0 | 0 );
7526 if (!SWIG_IsOK(res1
)) {
7527 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Dialog_SetReturnCode" "', expected argument " "1"" of type '" "wxDialog *""'");
7529 arg1
= reinterpret_cast< wxDialog
* >(argp1
);
7530 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
7531 if (!SWIG_IsOK(ecode2
)) {
7532 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Dialog_SetReturnCode" "', expected argument " "2"" of type '" "int""'");
7534 arg2
= static_cast< int >(val2
);
7536 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7537 (arg1
)->SetReturnCode(arg2
);
7538 wxPyEndAllowThreads(__tstate
);
7539 if (PyErr_Occurred()) SWIG_fail
;
7541 resultobj
= SWIG_Py_Void();
7548 SWIGINTERN PyObject
*_wrap_Dialog_GetReturnCode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7549 PyObject
*resultobj
= 0;
7550 wxDialog
*arg1
= (wxDialog
*) 0 ;
7554 PyObject
*swig_obj
[1] ;
7556 if (!args
) SWIG_fail
;
7558 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDialog
, 0 | 0 );
7559 if (!SWIG_IsOK(res1
)) {
7560 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Dialog_GetReturnCode" "', expected argument " "1"" of type '" "wxDialog const *""'");
7562 arg1
= reinterpret_cast< wxDialog
* >(argp1
);
7564 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7565 result
= (int)((wxDialog
const *)arg1
)->GetReturnCode();
7566 wxPyEndAllowThreads(__tstate
);
7567 if (PyErr_Occurred()) SWIG_fail
;
7569 resultobj
= SWIG_From_int(static_cast< int >(result
));
7576 SWIGINTERN PyObject
*_wrap_Dialog_SetAffirmativeId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7577 PyObject
*resultobj
= 0;
7578 wxDialog
*arg1
= (wxDialog
*) 0 ;
7584 PyObject
* obj0
= 0 ;
7585 PyObject
* obj1
= 0 ;
7586 char * kwnames
[] = {
7587 (char *) "self",(char *) "affirmativeId", NULL
7590 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Dialog_SetAffirmativeId",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7591 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDialog
, 0 | 0 );
7592 if (!SWIG_IsOK(res1
)) {
7593 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Dialog_SetAffirmativeId" "', expected argument " "1"" of type '" "wxDialog *""'");
7595 arg1
= reinterpret_cast< wxDialog
* >(argp1
);
7596 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
7597 if (!SWIG_IsOK(ecode2
)) {
7598 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Dialog_SetAffirmativeId" "', expected argument " "2"" of type '" "int""'");
7600 arg2
= static_cast< int >(val2
);
7602 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7603 (arg1
)->SetAffirmativeId(arg2
);
7604 wxPyEndAllowThreads(__tstate
);
7605 if (PyErr_Occurred()) SWIG_fail
;
7607 resultobj
= SWIG_Py_Void();
7614 SWIGINTERN PyObject
*_wrap_Dialog_GetAffirmativeId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7615 PyObject
*resultobj
= 0;
7616 wxDialog
*arg1
= (wxDialog
*) 0 ;
7620 PyObject
*swig_obj
[1] ;
7622 if (!args
) SWIG_fail
;
7624 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDialog
, 0 | 0 );
7625 if (!SWIG_IsOK(res1
)) {
7626 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Dialog_GetAffirmativeId" "', expected argument " "1"" of type '" "wxDialog const *""'");
7628 arg1
= reinterpret_cast< wxDialog
* >(argp1
);
7630 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7631 result
= (int)((wxDialog
const *)arg1
)->GetAffirmativeId();
7632 wxPyEndAllowThreads(__tstate
);
7633 if (PyErr_Occurred()) SWIG_fail
;
7635 resultobj
= SWIG_From_int(static_cast< int >(result
));
7642 SWIGINTERN PyObject
*_wrap_Dialog_SetEscapeId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7643 PyObject
*resultobj
= 0;
7644 wxDialog
*arg1
= (wxDialog
*) 0 ;
7650 PyObject
* obj0
= 0 ;
7651 PyObject
* obj1
= 0 ;
7652 char * kwnames
[] = {
7653 (char *) "self",(char *) "escapeId", NULL
7656 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Dialog_SetEscapeId",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7657 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDialog
, 0 | 0 );
7658 if (!SWIG_IsOK(res1
)) {
7659 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Dialog_SetEscapeId" "', expected argument " "1"" of type '" "wxDialog *""'");
7661 arg1
= reinterpret_cast< wxDialog
* >(argp1
);
7662 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
7663 if (!SWIG_IsOK(ecode2
)) {
7664 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Dialog_SetEscapeId" "', expected argument " "2"" of type '" "int""'");
7666 arg2
= static_cast< int >(val2
);
7668 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7669 (arg1
)->SetEscapeId(arg2
);
7670 wxPyEndAllowThreads(__tstate
);
7671 if (PyErr_Occurred()) SWIG_fail
;
7673 resultobj
= SWIG_Py_Void();
7680 SWIGINTERN PyObject
*_wrap_Dialog_GetEscapeId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7681 PyObject
*resultobj
= 0;
7682 wxDialog
*arg1
= (wxDialog
*) 0 ;
7686 PyObject
*swig_obj
[1] ;
7688 if (!args
) SWIG_fail
;
7690 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDialog
, 0 | 0 );
7691 if (!SWIG_IsOK(res1
)) {
7692 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Dialog_GetEscapeId" "', expected argument " "1"" of type '" "wxDialog const *""'");
7694 arg1
= reinterpret_cast< wxDialog
* >(argp1
);
7696 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7697 result
= (int)((wxDialog
const *)arg1
)->GetEscapeId();
7698 wxPyEndAllowThreads(__tstate
);
7699 if (PyErr_Occurred()) SWIG_fail
;
7701 resultobj
= SWIG_From_int(static_cast< int >(result
));
7708 SWIGINTERN PyObject
*_wrap_Dialog_CreateTextSizer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7709 PyObject
*resultobj
= 0;
7710 wxDialog
*arg1
= (wxDialog
*) 0 ;
7711 wxString
*arg2
= 0 ;
7712 wxSizer
*result
= 0 ;
7715 bool temp2
= false ;
7716 PyObject
* obj0
= 0 ;
7717 PyObject
* obj1
= 0 ;
7718 char * kwnames
[] = {
7719 (char *) "self",(char *) "message", NULL
7722 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Dialog_CreateTextSizer",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7723 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDialog
, 0 | 0 );
7724 if (!SWIG_IsOK(res1
)) {
7725 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Dialog_CreateTextSizer" "', expected argument " "1"" of type '" "wxDialog *""'");
7727 arg1
= reinterpret_cast< wxDialog
* >(argp1
);
7729 arg2
= wxString_in_helper(obj1
);
7730 if (arg2
== NULL
) SWIG_fail
;
7734 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7735 result
= (wxSizer
*)(arg1
)->CreateTextSizer((wxString
const &)*arg2
);
7736 wxPyEndAllowThreads(__tstate
);
7737 if (PyErr_Occurred()) SWIG_fail
;
7740 resultobj
= wxPyMake_wxObject(result
, (bool)0);
7756 SWIGINTERN PyObject
*_wrap_Dialog__CreateButtonSizer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7757 PyObject
*resultobj
= 0;
7758 wxDialog
*arg1
= (wxDialog
*) 0 ;
7760 wxSizer
*result
= 0 ;
7765 PyObject
* obj0
= 0 ;
7766 PyObject
* obj1
= 0 ;
7767 char * kwnames
[] = {
7768 (char *) "self",(char *) "flags", NULL
7771 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Dialog__CreateButtonSizer",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7772 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDialog
, 0 | 0 );
7773 if (!SWIG_IsOK(res1
)) {
7774 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Dialog__CreateButtonSizer" "', expected argument " "1"" of type '" "wxDialog *""'");
7776 arg1
= reinterpret_cast< wxDialog
* >(argp1
);
7777 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
7778 if (!SWIG_IsOK(ecode2
)) {
7779 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Dialog__CreateButtonSizer" "', expected argument " "2"" of type '" "long""'");
7781 arg2
= static_cast< long >(val2
);
7783 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7784 result
= (wxSizer
*)(arg1
)->CreateButtonSizer(arg2
);
7785 wxPyEndAllowThreads(__tstate
);
7786 if (PyErr_Occurred()) SWIG_fail
;
7789 resultobj
= wxPyMake_wxObject(result
, (bool)0);
7797 SWIGINTERN PyObject
*_wrap_Dialog_CreateSeparatedButtonSizer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7798 PyObject
*resultobj
= 0;
7799 wxDialog
*arg1
= (wxDialog
*) 0 ;
7801 wxSizer
*result
= 0 ;
7806 PyObject
* obj0
= 0 ;
7807 PyObject
* obj1
= 0 ;
7808 char * kwnames
[] = {
7809 (char *) "self",(char *) "flags", NULL
7812 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Dialog_CreateSeparatedButtonSizer",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7813 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDialog
, 0 | 0 );
7814 if (!SWIG_IsOK(res1
)) {
7815 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Dialog_CreateSeparatedButtonSizer" "', expected argument " "1"" of type '" "wxDialog *""'");
7817 arg1
= reinterpret_cast< wxDialog
* >(argp1
);
7818 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
7819 if (!SWIG_IsOK(ecode2
)) {
7820 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Dialog_CreateSeparatedButtonSizer" "', expected argument " "2"" of type '" "long""'");
7822 arg2
= static_cast< long >(val2
);
7824 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7825 result
= (wxSizer
*)(arg1
)->CreateSeparatedButtonSizer(arg2
);
7826 wxPyEndAllowThreads(__tstate
);
7827 if (PyErr_Occurred()) SWIG_fail
;
7830 resultobj
= wxPyMake_wxObject(result
, (bool)0);
7838 SWIGINTERN PyObject
*_wrap_Dialog_CreateStdDialogButtonSizer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7839 PyObject
*resultobj
= 0;
7840 wxDialog
*arg1
= (wxDialog
*) 0 ;
7842 wxStdDialogButtonSizer
*result
= 0 ;
7847 PyObject
* obj0
= 0 ;
7848 PyObject
* obj1
= 0 ;
7849 char * kwnames
[] = {
7850 (char *) "self",(char *) "flags", NULL
7853 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Dialog_CreateStdDialogButtonSizer",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7854 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDialog
, 0 | 0 );
7855 if (!SWIG_IsOK(res1
)) {
7856 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Dialog_CreateStdDialogButtonSizer" "', expected argument " "1"" of type '" "wxDialog *""'");
7858 arg1
= reinterpret_cast< wxDialog
* >(argp1
);
7859 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
7860 if (!SWIG_IsOK(ecode2
)) {
7861 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Dialog_CreateStdDialogButtonSizer" "', expected argument " "2"" of type '" "long""'");
7863 arg2
= static_cast< long >(val2
);
7865 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7866 result
= (wxStdDialogButtonSizer
*)(arg1
)->CreateStdDialogButtonSizer(arg2
);
7867 wxPyEndAllowThreads(__tstate
);
7868 if (PyErr_Occurred()) SWIG_fail
;
7870 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxStdDialogButtonSizer
, 0 | 0 );
7877 SWIGINTERN PyObject
*_wrap_Dialog_IsModal(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7878 PyObject
*resultobj
= 0;
7879 wxDialog
*arg1
= (wxDialog
*) 0 ;
7883 PyObject
*swig_obj
[1] ;
7885 if (!args
) SWIG_fail
;
7887 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDialog
, 0 | 0 );
7888 if (!SWIG_IsOK(res1
)) {
7889 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Dialog_IsModal" "', expected argument " "1"" of type '" "wxDialog const *""'");
7891 arg1
= reinterpret_cast< wxDialog
* >(argp1
);
7893 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7894 result
= (bool)((wxDialog
const *)arg1
)->IsModal();
7895 wxPyEndAllowThreads(__tstate
);
7896 if (PyErr_Occurred()) SWIG_fail
;
7899 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7907 SWIGINTERN PyObject
*_wrap_Dialog_ShowModal(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7908 PyObject
*resultobj
= 0;
7909 wxDialog
*arg1
= (wxDialog
*) 0 ;
7913 PyObject
*swig_obj
[1] ;
7915 if (!args
) SWIG_fail
;
7917 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDialog
, 0 | 0 );
7918 if (!SWIG_IsOK(res1
)) {
7919 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Dialog_ShowModal" "', expected argument " "1"" of type '" "wxDialog *""'");
7921 arg1
= reinterpret_cast< wxDialog
* >(argp1
);
7923 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7924 result
= (int)(arg1
)->ShowModal();
7925 wxPyEndAllowThreads(__tstate
);
7926 if (PyErr_Occurred()) SWIG_fail
;
7928 resultobj
= SWIG_From_int(static_cast< int >(result
));
7935 SWIGINTERN PyObject
*_wrap_Dialog_EndModal(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7936 PyObject
*resultobj
= 0;
7937 wxDialog
*arg1
= (wxDialog
*) 0 ;
7943 PyObject
* obj0
= 0 ;
7944 PyObject
* obj1
= 0 ;
7945 char * kwnames
[] = {
7946 (char *) "self",(char *) "retCode", NULL
7949 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Dialog_EndModal",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7950 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDialog
, 0 | 0 );
7951 if (!SWIG_IsOK(res1
)) {
7952 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Dialog_EndModal" "', expected argument " "1"" of type '" "wxDialog *""'");
7954 arg1
= reinterpret_cast< wxDialog
* >(argp1
);
7955 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
7956 if (!SWIG_IsOK(ecode2
)) {
7957 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Dialog_EndModal" "', expected argument " "2"" of type '" "int""'");
7959 arg2
= static_cast< int >(val2
);
7961 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7962 (arg1
)->EndModal(arg2
);
7963 wxPyEndAllowThreads(__tstate
);
7964 if (PyErr_Occurred()) SWIG_fail
;
7966 resultobj
= SWIG_Py_Void();
7973 SWIGINTERN PyObject
*_wrap_Dialog_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7974 PyObject
*resultobj
= 0;
7975 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
7976 SwigValueWrapper
<wxVisualAttributes
> result
;
7979 PyObject
* obj0
= 0 ;
7980 char * kwnames
[] = {
7981 (char *) "variant", NULL
7984 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Dialog_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
7986 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
7987 if (!SWIG_IsOK(ecode1
)) {
7988 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "Dialog_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
7990 arg1
= static_cast< wxWindowVariant
>(val1
);
7993 if (!wxPyCheckForApp()) SWIG_fail
;
7994 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7995 result
= wxDialog::GetClassDefaultAttributes(arg1
);
7996 wxPyEndAllowThreads(__tstate
);
7997 if (PyErr_Occurred()) SWIG_fail
;
7999 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
8006 SWIGINTERN PyObject
*Dialog_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8008 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
8009 SWIG_TypeNewClientData(SWIGTYPE_p_wxDialog
, SWIG_NewClientData(obj
));
8010 return SWIG_Py_Void();
8013 SWIGINTERN PyObject
*Dialog_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8014 return SWIG_Python_InitShadowInstance(args
);
8017 SWIGINTERN PyObject
*_wrap_new_MiniFrame(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8018 PyObject
*resultobj
= 0;
8019 wxWindow
*arg1
= (wxWindow
*) 0 ;
8020 int arg2
= (int) (int)-1 ;
8021 wxString
const &arg3_defvalue
= wxPyEmptyString
;
8022 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
8023 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
8024 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
8025 wxSize
const &arg5_defvalue
= wxDefaultSize
;
8026 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
8027 long arg6
= (long) wxDEFAULT_MINIFRAME_STYLE
;
8028 wxString
const &arg7_defvalue
= wxPyFrameNameStr
;
8029 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
8030 wxMiniFrame
*result
= 0 ;
8035 bool temp3
= false ;
8040 bool temp7
= false ;
8041 PyObject
* obj0
= 0 ;
8042 PyObject
* obj1
= 0 ;
8043 PyObject
* obj2
= 0 ;
8044 PyObject
* obj3
= 0 ;
8045 PyObject
* obj4
= 0 ;
8046 PyObject
* obj5
= 0 ;
8047 PyObject
* obj6
= 0 ;
8048 char * kwnames
[] = {
8049 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
8052 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_MiniFrame",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
8053 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
8054 if (!SWIG_IsOK(res1
)) {
8055 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_MiniFrame" "', expected argument " "1"" of type '" "wxWindow *""'");
8057 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
8059 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
8060 if (!SWIG_IsOK(ecode2
)) {
8061 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_MiniFrame" "', expected argument " "2"" of type '" "int""'");
8063 arg2
= static_cast< int >(val2
);
8067 arg3
= wxString_in_helper(obj2
);
8068 if (arg3
== NULL
) SWIG_fail
;
8075 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
8081 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
8085 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
8086 if (!SWIG_IsOK(ecode6
)) {
8087 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_MiniFrame" "', expected argument " "6"" of type '" "long""'");
8089 arg6
= static_cast< long >(val6
);
8093 arg7
= wxString_in_helper(obj6
);
8094 if (arg7
== NULL
) SWIG_fail
;
8099 if (!wxPyCheckForApp()) SWIG_fail
;
8100 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8101 result
= (wxMiniFrame
*)new wxMiniFrame(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
8102 wxPyEndAllowThreads(__tstate
);
8103 if (PyErr_Occurred()) SWIG_fail
;
8105 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMiniFrame
, SWIG_POINTER_NEW
| 0 );
8128 SWIGINTERN PyObject
*_wrap_new_PreMiniFrame(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8129 PyObject
*resultobj
= 0;
8130 wxMiniFrame
*result
= 0 ;
8132 if (!SWIG_Python_UnpackTuple(args
,"new_PreMiniFrame",0,0,0)) SWIG_fail
;
8134 if (!wxPyCheckForApp()) SWIG_fail
;
8135 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8136 result
= (wxMiniFrame
*)new wxMiniFrame();
8137 wxPyEndAllowThreads(__tstate
);
8138 if (PyErr_Occurred()) SWIG_fail
;
8140 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMiniFrame
, SWIG_POINTER_OWN
| 0 );
8147 SWIGINTERN PyObject
*_wrap_MiniFrame_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8148 PyObject
*resultobj
= 0;
8149 wxMiniFrame
*arg1
= (wxMiniFrame
*) 0 ;
8150 wxWindow
*arg2
= (wxWindow
*) 0 ;
8151 int arg3
= (int) (int)-1 ;
8152 wxString
const &arg4_defvalue
= wxPyEmptyString
;
8153 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
8154 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
8155 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
8156 wxSize
const &arg6_defvalue
= wxDefaultSize
;
8157 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
8158 long arg7
= (long) wxDEFAULT_MINIFRAME_STYLE
;
8159 wxString
const &arg8_defvalue
= wxPyFrameNameStr
;
8160 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
8168 bool temp4
= false ;
8173 bool temp8
= false ;
8174 PyObject
* obj0
= 0 ;
8175 PyObject
* obj1
= 0 ;
8176 PyObject
* obj2
= 0 ;
8177 PyObject
* obj3
= 0 ;
8178 PyObject
* obj4
= 0 ;
8179 PyObject
* obj5
= 0 ;
8180 PyObject
* obj6
= 0 ;
8181 PyObject
* obj7
= 0 ;
8182 char * kwnames
[] = {
8183 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
8186 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:MiniFrame_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
8187 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMiniFrame
, 0 | 0 );
8188 if (!SWIG_IsOK(res1
)) {
8189 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MiniFrame_Create" "', expected argument " "1"" of type '" "wxMiniFrame *""'");
8191 arg1
= reinterpret_cast< wxMiniFrame
* >(argp1
);
8192 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
8193 if (!SWIG_IsOK(res2
)) {
8194 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "MiniFrame_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
8196 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
8198 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
8199 if (!SWIG_IsOK(ecode3
)) {
8200 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "MiniFrame_Create" "', expected argument " "3"" of type '" "int""'");
8202 arg3
= static_cast< int >(val3
);
8206 arg4
= wxString_in_helper(obj3
);
8207 if (arg4
== NULL
) SWIG_fail
;
8214 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
8220 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
8224 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
8225 if (!SWIG_IsOK(ecode7
)) {
8226 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "MiniFrame_Create" "', expected argument " "7"" of type '" "long""'");
8228 arg7
= static_cast< long >(val7
);
8232 arg8
= wxString_in_helper(obj7
);
8233 if (arg8
== NULL
) SWIG_fail
;
8238 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8239 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
8240 wxPyEndAllowThreads(__tstate
);
8241 if (PyErr_Occurred()) SWIG_fail
;
8244 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8268 SWIGINTERN PyObject
*MiniFrame_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8270 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
8271 SWIG_TypeNewClientData(SWIGTYPE_p_wxMiniFrame
, SWIG_NewClientData(obj
));
8272 return SWIG_Py_Void();
8275 SWIGINTERN PyObject
*MiniFrame_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8276 return SWIG_Python_InitShadowInstance(args
);
8279 SWIGINTERN PyObject
*_wrap_new_SplashScreenWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8280 PyObject
*resultobj
= 0;
8281 wxBitmap
*arg1
= 0 ;
8282 wxWindow
*arg2
= (wxWindow
*) 0 ;
8284 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
8285 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
8286 wxSize
const &arg5_defvalue
= wxDefaultSize
;
8287 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
8288 long arg6
= (long) wxNO_BORDER
;
8289 wxSplashScreenWindow
*result
= 0 ;
8300 PyObject
* obj0
= 0 ;
8301 PyObject
* obj1
= 0 ;
8302 PyObject
* obj2
= 0 ;
8303 PyObject
* obj3
= 0 ;
8304 PyObject
* obj4
= 0 ;
8305 PyObject
* obj5
= 0 ;
8306 char * kwnames
[] = {
8307 (char *) "bitmap",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
8310 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOO:new_SplashScreenWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
8311 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxBitmap
, 0 | 0);
8312 if (!SWIG_IsOK(res1
)) {
8313 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_SplashScreenWindow" "', expected argument " "1"" of type '" "wxBitmap const &""'");
8316 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_SplashScreenWindow" "', expected argument " "1"" of type '" "wxBitmap const &""'");
8318 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
8319 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
8320 if (!SWIG_IsOK(res2
)) {
8321 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_SplashScreenWindow" "', expected argument " "2"" of type '" "wxWindow *""'");
8323 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
8324 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
8325 if (!SWIG_IsOK(ecode3
)) {
8326 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_SplashScreenWindow" "', expected argument " "3"" of type '" "int""'");
8328 arg3
= static_cast< int >(val3
);
8332 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
8338 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
8342 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
8343 if (!SWIG_IsOK(ecode6
)) {
8344 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_SplashScreenWindow" "', expected argument " "6"" of type '" "long""'");
8346 arg6
= static_cast< long >(val6
);
8349 if (!wxPyCheckForApp()) SWIG_fail
;
8350 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8351 result
= (wxSplashScreenWindow
*)new wxSplashScreenWindow((wxBitmap
const &)*arg1
,arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
);
8352 wxPyEndAllowThreads(__tstate
);
8353 if (PyErr_Occurred()) SWIG_fail
;
8355 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSplashScreenWindow
, SWIG_POINTER_NEW
| 0 );
8362 SWIGINTERN PyObject
*_wrap_SplashScreenWindow_SetBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8363 PyObject
*resultobj
= 0;
8364 wxSplashScreenWindow
*arg1
= (wxSplashScreenWindow
*) 0 ;
8365 wxBitmap
*arg2
= 0 ;
8370 PyObject
* obj0
= 0 ;
8371 PyObject
* obj1
= 0 ;
8372 char * kwnames
[] = {
8373 (char *) "self",(char *) "bitmap", NULL
8376 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplashScreenWindow_SetBitmap",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
8377 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSplashScreenWindow
, 0 | 0 );
8378 if (!SWIG_IsOK(res1
)) {
8379 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplashScreenWindow_SetBitmap" "', expected argument " "1"" of type '" "wxSplashScreenWindow *""'");
8381 arg1
= reinterpret_cast< wxSplashScreenWindow
* >(argp1
);
8382 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
8383 if (!SWIG_IsOK(res2
)) {
8384 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "SplashScreenWindow_SetBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
8387 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "SplashScreenWindow_SetBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
8389 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
8391 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8392 (arg1
)->SetBitmap((wxBitmap
const &)*arg2
);
8393 wxPyEndAllowThreads(__tstate
);
8394 if (PyErr_Occurred()) SWIG_fail
;
8396 resultobj
= SWIG_Py_Void();
8403 SWIGINTERN PyObject
*_wrap_SplashScreenWindow_GetBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8404 PyObject
*resultobj
= 0;
8405 wxSplashScreenWindow
*arg1
= (wxSplashScreenWindow
*) 0 ;
8406 wxBitmap
*result
= 0 ;
8409 PyObject
*swig_obj
[1] ;
8411 if (!args
) SWIG_fail
;
8413 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplashScreenWindow
, 0 | 0 );
8414 if (!SWIG_IsOK(res1
)) {
8415 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplashScreenWindow_GetBitmap" "', expected argument " "1"" of type '" "wxSplashScreenWindow *""'");
8417 arg1
= reinterpret_cast< wxSplashScreenWindow
* >(argp1
);
8419 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8421 wxBitmap
&_result_ref
= (arg1
)->GetBitmap();
8422 result
= (wxBitmap
*) &_result_ref
;
8424 wxPyEndAllowThreads(__tstate
);
8425 if (PyErr_Occurred()) SWIG_fail
;
8428 wxBitmap
* resultptr
= new wxBitmap(*result
);
8429 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
8437 SWIGINTERN PyObject
*SplashScreenWindow_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8439 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
8440 SWIG_TypeNewClientData(SWIGTYPE_p_wxSplashScreenWindow
, SWIG_NewClientData(obj
));
8441 return SWIG_Py_Void();
8444 SWIGINTERN PyObject
*SplashScreenWindow_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8445 return SWIG_Python_InitShadowInstance(args
);
8448 SWIGINTERN PyObject
*_wrap_new_SplashScreen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8449 PyObject
*resultobj
= 0;
8450 wxBitmap
*arg1
= 0 ;
8453 wxWindow
*arg4
= (wxWindow
*) 0 ;
8454 int arg5
= (int) -1 ;
8455 wxPoint
const &arg6_defvalue
= wxDefaultPosition
;
8456 wxPoint
*arg6
= (wxPoint
*) &arg6_defvalue
;
8457 wxSize
const &arg7_defvalue
= wxDefaultSize
;
8458 wxSize
*arg7
= (wxSize
*) &arg7_defvalue
;
8459 long arg8
= (long) wxSIMPLE_BORDER
|wxFRAME_NO_TASKBAR
|wxSTAY_ON_TOP
;
8460 wxSplashScreen
*result
= 0 ;
8475 PyObject
* obj0
= 0 ;
8476 PyObject
* obj1
= 0 ;
8477 PyObject
* obj2
= 0 ;
8478 PyObject
* obj3
= 0 ;
8479 PyObject
* obj4
= 0 ;
8480 PyObject
* obj5
= 0 ;
8481 PyObject
* obj6
= 0 ;
8482 PyObject
* obj7
= 0 ;
8483 char * kwnames
[] = {
8484 (char *) "bitmap",(char *) "splashStyle",(char *) "milliseconds",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
8487 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOOO:new_SplashScreen",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
8488 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxBitmap
, 0 | 0);
8489 if (!SWIG_IsOK(res1
)) {
8490 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_SplashScreen" "', expected argument " "1"" of type '" "wxBitmap const &""'");
8493 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_SplashScreen" "', expected argument " "1"" of type '" "wxBitmap const &""'");
8495 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
8496 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
8497 if (!SWIG_IsOK(ecode2
)) {
8498 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_SplashScreen" "', expected argument " "2"" of type '" "long""'");
8500 arg2
= static_cast< long >(val2
);
8501 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
8502 if (!SWIG_IsOK(ecode3
)) {
8503 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_SplashScreen" "', expected argument " "3"" of type '" "int""'");
8505 arg3
= static_cast< int >(val3
);
8506 res4
= SWIG_ConvertPtr(obj3
, &argp4
,SWIGTYPE_p_wxWindow
, 0 | 0 );
8507 if (!SWIG_IsOK(res4
)) {
8508 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "new_SplashScreen" "', expected argument " "4"" of type '" "wxWindow *""'");
8510 arg4
= reinterpret_cast< wxWindow
* >(argp4
);
8512 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
8513 if (!SWIG_IsOK(ecode5
)) {
8514 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_SplashScreen" "', expected argument " "5"" of type '" "int""'");
8516 arg5
= static_cast< int >(val5
);
8521 if ( ! wxPoint_helper(obj5
, &arg6
)) SWIG_fail
;
8527 if ( ! wxSize_helper(obj6
, &arg7
)) SWIG_fail
;
8531 ecode8
= SWIG_AsVal_long(obj7
, &val8
);
8532 if (!SWIG_IsOK(ecode8
)) {
8533 SWIG_exception_fail(SWIG_ArgError(ecode8
), "in method '" "new_SplashScreen" "', expected argument " "8"" of type '" "long""'");
8535 arg8
= static_cast< long >(val8
);
8538 if (!wxPyCheckForApp()) SWIG_fail
;
8539 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8540 result
= (wxSplashScreen
*)new wxSplashScreen((wxBitmap
const &)*arg1
,arg2
,arg3
,arg4
,arg5
,(wxPoint
const &)*arg6
,(wxSize
const &)*arg7
,arg8
);
8541 wxPyEndAllowThreads(__tstate
);
8542 if (PyErr_Occurred()) SWIG_fail
;
8544 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSplashScreen
, SWIG_POINTER_NEW
| 0 );
8551 SWIGINTERN PyObject
*_wrap_SplashScreen_GetSplashStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8552 PyObject
*resultobj
= 0;
8553 wxSplashScreen
*arg1
= (wxSplashScreen
*) 0 ;
8557 PyObject
*swig_obj
[1] ;
8559 if (!args
) SWIG_fail
;
8561 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplashScreen
, 0 | 0 );
8562 if (!SWIG_IsOK(res1
)) {
8563 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplashScreen_GetSplashStyle" "', expected argument " "1"" of type '" "wxSplashScreen const *""'");
8565 arg1
= reinterpret_cast< wxSplashScreen
* >(argp1
);
8567 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8568 result
= (long)((wxSplashScreen
const *)arg1
)->GetSplashStyle();
8569 wxPyEndAllowThreads(__tstate
);
8570 if (PyErr_Occurred()) SWIG_fail
;
8572 resultobj
= SWIG_From_long(static_cast< long >(result
));
8579 SWIGINTERN PyObject
*_wrap_SplashScreen_GetSplashWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8580 PyObject
*resultobj
= 0;
8581 wxSplashScreen
*arg1
= (wxSplashScreen
*) 0 ;
8582 wxSplashScreenWindow
*result
= 0 ;
8585 PyObject
*swig_obj
[1] ;
8587 if (!args
) SWIG_fail
;
8589 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplashScreen
, 0 | 0 );
8590 if (!SWIG_IsOK(res1
)) {
8591 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplashScreen_GetSplashWindow" "', expected argument " "1"" of type '" "wxSplashScreen const *""'");
8593 arg1
= reinterpret_cast< wxSplashScreen
* >(argp1
);
8595 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8596 result
= (wxSplashScreenWindow
*)((wxSplashScreen
const *)arg1
)->GetSplashWindow();
8597 wxPyEndAllowThreads(__tstate
);
8598 if (PyErr_Occurred()) SWIG_fail
;
8600 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSplashScreenWindow
, 0 | 0 );
8607 SWIGINTERN PyObject
*_wrap_SplashScreen_GetTimeout(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8608 PyObject
*resultobj
= 0;
8609 wxSplashScreen
*arg1
= (wxSplashScreen
*) 0 ;
8613 PyObject
*swig_obj
[1] ;
8615 if (!args
) SWIG_fail
;
8617 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplashScreen
, 0 | 0 );
8618 if (!SWIG_IsOK(res1
)) {
8619 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplashScreen_GetTimeout" "', expected argument " "1"" of type '" "wxSplashScreen const *""'");
8621 arg1
= reinterpret_cast< wxSplashScreen
* >(argp1
);
8623 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8624 result
= (int)((wxSplashScreen
const *)arg1
)->GetTimeout();
8625 wxPyEndAllowThreads(__tstate
);
8626 if (PyErr_Occurred()) SWIG_fail
;
8628 resultobj
= SWIG_From_int(static_cast< int >(result
));
8635 SWIGINTERN PyObject
*SplashScreen_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8637 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
8638 SWIG_TypeNewClientData(SWIGTYPE_p_wxSplashScreen
, SWIG_NewClientData(obj
));
8639 return SWIG_Py_Void();
8642 SWIGINTERN PyObject
*SplashScreen_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8643 return SWIG_Python_InitShadowInstance(args
);
8646 SWIGINTERN PyObject
*_wrap_new_StatusBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8647 PyObject
*resultobj
= 0;
8648 wxWindow
*arg1
= (wxWindow
*) 0 ;
8649 int arg2
= (int) -1 ;
8650 long arg3
= (long) wxDEFAULT_STATUSBAR_STYLE
;
8651 wxString
const &arg4_defvalue
= wxPyStatusLineNameStr
;
8652 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
8653 wxStatusBar
*result
= 0 ;
8660 bool temp4
= false ;
8661 PyObject
* obj0
= 0 ;
8662 PyObject
* obj1
= 0 ;
8663 PyObject
* obj2
= 0 ;
8664 PyObject
* obj3
= 0 ;
8665 char * kwnames
[] = {
8666 (char *) "parent",(char *) "id",(char *) "style",(char *) "name", NULL
8669 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOO:new_StatusBar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
8670 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
8671 if (!SWIG_IsOK(res1
)) {
8672 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_StatusBar" "', expected argument " "1"" of type '" "wxWindow *""'");
8674 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
8676 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
8677 if (!SWIG_IsOK(ecode2
)) {
8678 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_StatusBar" "', expected argument " "2"" of type '" "int""'");
8680 arg2
= static_cast< int >(val2
);
8683 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
8684 if (!SWIG_IsOK(ecode3
)) {
8685 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_StatusBar" "', expected argument " "3"" of type '" "long""'");
8687 arg3
= static_cast< long >(val3
);
8691 arg4
= wxString_in_helper(obj3
);
8692 if (arg4
== NULL
) SWIG_fail
;
8697 if (!wxPyCheckForApp()) SWIG_fail
;
8698 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8699 result
= (wxStatusBar
*)new wxStatusBar(arg1
,arg2
,arg3
,(wxString
const &)*arg4
);
8700 wxPyEndAllowThreads(__tstate
);
8701 if (PyErr_Occurred()) SWIG_fail
;
8703 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxStatusBar
, SWIG_POINTER_NEW
| 0 );
8718 SWIGINTERN PyObject
*_wrap_new_PreStatusBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8719 PyObject
*resultobj
= 0;
8720 wxStatusBar
*result
= 0 ;
8722 if (!SWIG_Python_UnpackTuple(args
,"new_PreStatusBar",0,0,0)) SWIG_fail
;
8724 if (!wxPyCheckForApp()) SWIG_fail
;
8725 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8726 result
= (wxStatusBar
*)new wxStatusBar();
8727 wxPyEndAllowThreads(__tstate
);
8728 if (PyErr_Occurred()) SWIG_fail
;
8730 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxStatusBar
, SWIG_POINTER_OWN
| 0 );
8737 SWIGINTERN PyObject
*_wrap_StatusBar_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8738 PyObject
*resultobj
= 0;
8739 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
8740 wxWindow
*arg2
= (wxWindow
*) 0 ;
8741 int arg3
= (int) -1 ;
8742 long arg4
= (long) wxST_SIZEGRIP
;
8743 wxString
const &arg5_defvalue
= wxPyStatusLineNameStr
;
8744 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
8754 bool temp5
= false ;
8755 PyObject
* obj0
= 0 ;
8756 PyObject
* obj1
= 0 ;
8757 PyObject
* obj2
= 0 ;
8758 PyObject
* obj3
= 0 ;
8759 PyObject
* obj4
= 0 ;
8760 char * kwnames
[] = {
8761 (char *) "self",(char *) "parent",(char *) "id",(char *) "style",(char *) "name", NULL
8764 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:StatusBar_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
8765 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStatusBar
, 0 | 0 );
8766 if (!SWIG_IsOK(res1
)) {
8767 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StatusBar_Create" "', expected argument " "1"" of type '" "wxStatusBar *""'");
8769 arg1
= reinterpret_cast< wxStatusBar
* >(argp1
);
8770 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
8771 if (!SWIG_IsOK(res2
)) {
8772 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "StatusBar_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
8774 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
8776 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
8777 if (!SWIG_IsOK(ecode3
)) {
8778 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "StatusBar_Create" "', expected argument " "3"" of type '" "int""'");
8780 arg3
= static_cast< int >(val3
);
8783 ecode4
= SWIG_AsVal_long(obj3
, &val4
);
8784 if (!SWIG_IsOK(ecode4
)) {
8785 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "StatusBar_Create" "', expected argument " "4"" of type '" "long""'");
8787 arg4
= static_cast< long >(val4
);
8791 arg5
= wxString_in_helper(obj4
);
8792 if (arg5
== NULL
) SWIG_fail
;
8797 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8798 result
= (bool)(arg1
)->Create(arg2
,arg3
,arg4
,(wxString
const &)*arg5
);
8799 wxPyEndAllowThreads(__tstate
);
8800 if (PyErr_Occurred()) SWIG_fail
;
8803 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8819 SWIGINTERN PyObject
*_wrap_StatusBar_SetFieldsCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8820 PyObject
*resultobj
= 0;
8821 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
8822 int arg2
= (int) 1 ;
8827 PyObject
* obj0
= 0 ;
8828 PyObject
* obj1
= 0 ;
8829 char * kwnames
[] = {
8830 (char *) "self",(char *) "number", NULL
8833 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:StatusBar_SetFieldsCount",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
8834 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStatusBar
, 0 | 0 );
8835 if (!SWIG_IsOK(res1
)) {
8836 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StatusBar_SetFieldsCount" "', expected argument " "1"" of type '" "wxStatusBar *""'");
8838 arg1
= reinterpret_cast< wxStatusBar
* >(argp1
);
8840 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
8841 if (!SWIG_IsOK(ecode2
)) {
8842 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "StatusBar_SetFieldsCount" "', expected argument " "2"" of type '" "int""'");
8844 arg2
= static_cast< int >(val2
);
8847 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8848 (arg1
)->SetFieldsCount(arg2
);
8849 wxPyEndAllowThreads(__tstate
);
8850 if (PyErr_Occurred()) SWIG_fail
;
8852 resultobj
= SWIG_Py_Void();
8859 SWIGINTERN PyObject
*_wrap_StatusBar_GetFieldsCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8860 PyObject
*resultobj
= 0;
8861 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
8865 PyObject
*swig_obj
[1] ;
8867 if (!args
) SWIG_fail
;
8869 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxStatusBar
, 0 | 0 );
8870 if (!SWIG_IsOK(res1
)) {
8871 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StatusBar_GetFieldsCount" "', expected argument " "1"" of type '" "wxStatusBar const *""'");
8873 arg1
= reinterpret_cast< wxStatusBar
* >(argp1
);
8875 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8876 result
= (int)((wxStatusBar
const *)arg1
)->GetFieldsCount();
8877 wxPyEndAllowThreads(__tstate
);
8878 if (PyErr_Occurred()) SWIG_fail
;
8880 resultobj
= SWIG_From_int(static_cast< int >(result
));
8887 SWIGINTERN PyObject
*_wrap_StatusBar_SetStatusText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8888 PyObject
*resultobj
= 0;
8889 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
8890 wxString
*arg2
= 0 ;
8891 int arg3
= (int) 0 ;
8894 bool temp2
= false ;
8897 PyObject
* obj0
= 0 ;
8898 PyObject
* obj1
= 0 ;
8899 PyObject
* obj2
= 0 ;
8900 char * kwnames
[] = {
8901 (char *) "self",(char *) "text",(char *) "number", NULL
8904 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:StatusBar_SetStatusText",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
8905 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStatusBar
, 0 | 0 );
8906 if (!SWIG_IsOK(res1
)) {
8907 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StatusBar_SetStatusText" "', expected argument " "1"" of type '" "wxStatusBar *""'");
8909 arg1
= reinterpret_cast< wxStatusBar
* >(argp1
);
8911 arg2
= wxString_in_helper(obj1
);
8912 if (arg2
== NULL
) SWIG_fail
;
8916 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
8917 if (!SWIG_IsOK(ecode3
)) {
8918 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "StatusBar_SetStatusText" "', expected argument " "3"" of type '" "int""'");
8920 arg3
= static_cast< int >(val3
);
8923 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8924 (arg1
)->SetStatusText((wxString
const &)*arg2
,arg3
);
8925 wxPyEndAllowThreads(__tstate
);
8926 if (PyErr_Occurred()) SWIG_fail
;
8928 resultobj
= SWIG_Py_Void();
8943 SWIGINTERN PyObject
*_wrap_StatusBar_GetStatusText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8944 PyObject
*resultobj
= 0;
8945 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
8946 int arg2
= (int) 0 ;
8952 PyObject
* obj0
= 0 ;
8953 PyObject
* obj1
= 0 ;
8954 char * kwnames
[] = {
8955 (char *) "self",(char *) "number", NULL
8958 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:StatusBar_GetStatusText",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
8959 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStatusBar
, 0 | 0 );
8960 if (!SWIG_IsOK(res1
)) {
8961 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StatusBar_GetStatusText" "', expected argument " "1"" of type '" "wxStatusBar const *""'");
8963 arg1
= reinterpret_cast< wxStatusBar
* >(argp1
);
8965 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
8966 if (!SWIG_IsOK(ecode2
)) {
8967 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "StatusBar_GetStatusText" "', expected argument " "2"" of type '" "int""'");
8969 arg2
= static_cast< int >(val2
);
8972 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8973 result
= ((wxStatusBar
const *)arg1
)->GetStatusText(arg2
);
8974 wxPyEndAllowThreads(__tstate
);
8975 if (PyErr_Occurred()) SWIG_fail
;
8979 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8981 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8990 SWIGINTERN PyObject
*_wrap_StatusBar_PushStatusText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8991 PyObject
*resultobj
= 0;
8992 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
8993 wxString
*arg2
= 0 ;
8994 int arg3
= (int) 0 ;
8997 bool temp2
= false ;
9000 PyObject
* obj0
= 0 ;
9001 PyObject
* obj1
= 0 ;
9002 PyObject
* obj2
= 0 ;
9003 char * kwnames
[] = {
9004 (char *) "self",(char *) "text",(char *) "number", NULL
9007 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:StatusBar_PushStatusText",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
9008 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStatusBar
, 0 | 0 );
9009 if (!SWIG_IsOK(res1
)) {
9010 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StatusBar_PushStatusText" "', expected argument " "1"" of type '" "wxStatusBar *""'");
9012 arg1
= reinterpret_cast< wxStatusBar
* >(argp1
);
9014 arg2
= wxString_in_helper(obj1
);
9015 if (arg2
== NULL
) SWIG_fail
;
9019 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
9020 if (!SWIG_IsOK(ecode3
)) {
9021 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "StatusBar_PushStatusText" "', expected argument " "3"" of type '" "int""'");
9023 arg3
= static_cast< int >(val3
);
9026 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9027 (arg1
)->PushStatusText((wxString
const &)*arg2
,arg3
);
9028 wxPyEndAllowThreads(__tstate
);
9029 if (PyErr_Occurred()) SWIG_fail
;
9031 resultobj
= SWIG_Py_Void();
9046 SWIGINTERN PyObject
*_wrap_StatusBar_PopStatusText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9047 PyObject
*resultobj
= 0;
9048 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
9049 int arg2
= (int) 0 ;
9054 PyObject
* obj0
= 0 ;
9055 PyObject
* obj1
= 0 ;
9056 char * kwnames
[] = {
9057 (char *) "self",(char *) "number", NULL
9060 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:StatusBar_PopStatusText",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9061 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStatusBar
, 0 | 0 );
9062 if (!SWIG_IsOK(res1
)) {
9063 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StatusBar_PopStatusText" "', expected argument " "1"" of type '" "wxStatusBar *""'");
9065 arg1
= reinterpret_cast< wxStatusBar
* >(argp1
);
9067 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9068 if (!SWIG_IsOK(ecode2
)) {
9069 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "StatusBar_PopStatusText" "', expected argument " "2"" of type '" "int""'");
9071 arg2
= static_cast< int >(val2
);
9074 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9075 (arg1
)->PopStatusText(arg2
);
9076 wxPyEndAllowThreads(__tstate
);
9077 if (PyErr_Occurred()) SWIG_fail
;
9079 resultobj
= SWIG_Py_Void();
9086 SWIGINTERN PyObject
*_wrap_StatusBar_SetStatusWidths(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9087 PyObject
*resultobj
= 0;
9088 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
9090 int *arg3
= (int *) 0 ;
9093 PyObject
* obj0
= 0 ;
9094 PyObject
* obj1
= 0 ;
9095 char * kwnames
[] = {
9096 (char *) "self",(char *) "widths", NULL
9099 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StatusBar_SetStatusWidths",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9100 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStatusBar
, 0 | 0 );
9101 if (!SWIG_IsOK(res1
)) {
9102 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StatusBar_SetStatusWidths" "', expected argument " "1"" of type '" "wxStatusBar *""'");
9104 arg1
= reinterpret_cast< wxStatusBar
* >(argp1
);
9106 arg2
= PyList_Size(obj1
);
9107 arg3
= int_LIST_helper(obj1
);
9108 if (arg3
== NULL
) SWIG_fail
;
9111 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9112 (arg1
)->SetStatusWidths(arg2
,(int const *)arg3
);
9113 wxPyEndAllowThreads(__tstate
);
9114 if (PyErr_Occurred()) SWIG_fail
;
9116 resultobj
= SWIG_Py_Void();
9118 if (arg3
) delete [] arg3
;
9123 if (arg3
) delete [] arg3
;
9129 SWIGINTERN PyObject
*_wrap_StatusBar_SetStatusStyles(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9130 PyObject
*resultobj
= 0;
9131 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
9133 int *arg3
= (int *) 0 ;
9136 PyObject
* obj0
= 0 ;
9137 PyObject
* obj1
= 0 ;
9138 char * kwnames
[] = {
9139 (char *) "self",(char *) "styles", NULL
9142 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StatusBar_SetStatusStyles",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9143 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStatusBar
, 0 | 0 );
9144 if (!SWIG_IsOK(res1
)) {
9145 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StatusBar_SetStatusStyles" "', expected argument " "1"" of type '" "wxStatusBar *""'");
9147 arg1
= reinterpret_cast< wxStatusBar
* >(argp1
);
9149 arg2
= PyList_Size(obj1
);
9150 arg3
= int_LIST_helper(obj1
);
9151 if (arg3
== NULL
) SWIG_fail
;
9154 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9155 (arg1
)->SetStatusStyles(arg2
,(int const *)arg3
);
9156 wxPyEndAllowThreads(__tstate
);
9157 if (PyErr_Occurred()) SWIG_fail
;
9159 resultobj
= SWIG_Py_Void();
9161 if (arg3
) delete [] arg3
;
9166 if (arg3
) delete [] arg3
;
9172 SWIGINTERN PyObject
*_wrap_StatusBar_GetFieldRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9173 PyObject
*resultobj
= 0;
9174 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
9181 PyObject
* obj0
= 0 ;
9182 PyObject
* obj1
= 0 ;
9183 char * kwnames
[] = {
9184 (char *) "self",(char *) "i", NULL
9187 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StatusBar_GetFieldRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9188 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStatusBar
, 0 | 0 );
9189 if (!SWIG_IsOK(res1
)) {
9190 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StatusBar_GetFieldRect" "', expected argument " "1"" of type '" "wxStatusBar *""'");
9192 arg1
= reinterpret_cast< wxStatusBar
* >(argp1
);
9193 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9194 if (!SWIG_IsOK(ecode2
)) {
9195 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "StatusBar_GetFieldRect" "', expected argument " "2"" of type '" "int""'");
9197 arg2
= static_cast< int >(val2
);
9199 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9200 result
= wxStatusBar_GetFieldRect(arg1
,arg2
);
9201 wxPyEndAllowThreads(__tstate
);
9202 if (PyErr_Occurred()) SWIG_fail
;
9204 resultobj
= SWIG_NewPointerObj((new wxRect(static_cast< const wxRect
& >(result
))), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN
| 0 );
9211 SWIGINTERN PyObject
*_wrap_StatusBar_SetMinHeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9212 PyObject
*resultobj
= 0;
9213 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
9219 PyObject
* obj0
= 0 ;
9220 PyObject
* obj1
= 0 ;
9221 char * kwnames
[] = {
9222 (char *) "self",(char *) "height", NULL
9225 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StatusBar_SetMinHeight",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9226 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStatusBar
, 0 | 0 );
9227 if (!SWIG_IsOK(res1
)) {
9228 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StatusBar_SetMinHeight" "', expected argument " "1"" of type '" "wxStatusBar *""'");
9230 arg1
= reinterpret_cast< wxStatusBar
* >(argp1
);
9231 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9232 if (!SWIG_IsOK(ecode2
)) {
9233 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "StatusBar_SetMinHeight" "', expected argument " "2"" of type '" "int""'");
9235 arg2
= static_cast< int >(val2
);
9237 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9238 (arg1
)->SetMinHeight(arg2
);
9239 wxPyEndAllowThreads(__tstate
);
9240 if (PyErr_Occurred()) SWIG_fail
;
9242 resultobj
= SWIG_Py_Void();
9249 SWIGINTERN PyObject
*_wrap_StatusBar_GetBorderX(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9250 PyObject
*resultobj
= 0;
9251 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
9255 PyObject
*swig_obj
[1] ;
9257 if (!args
) SWIG_fail
;
9259 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxStatusBar
, 0 | 0 );
9260 if (!SWIG_IsOK(res1
)) {
9261 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StatusBar_GetBorderX" "', expected argument " "1"" of type '" "wxStatusBar const *""'");
9263 arg1
= reinterpret_cast< wxStatusBar
* >(argp1
);
9265 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9266 result
= (int)((wxStatusBar
const *)arg1
)->GetBorderX();
9267 wxPyEndAllowThreads(__tstate
);
9268 if (PyErr_Occurred()) SWIG_fail
;
9270 resultobj
= SWIG_From_int(static_cast< int >(result
));
9277 SWIGINTERN PyObject
*_wrap_StatusBar_GetBorderY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9278 PyObject
*resultobj
= 0;
9279 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
9283 PyObject
*swig_obj
[1] ;
9285 if (!args
) SWIG_fail
;
9287 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxStatusBar
, 0 | 0 );
9288 if (!SWIG_IsOK(res1
)) {
9289 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StatusBar_GetBorderY" "', expected argument " "1"" of type '" "wxStatusBar const *""'");
9291 arg1
= reinterpret_cast< wxStatusBar
* >(argp1
);
9293 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9294 result
= (int)((wxStatusBar
const *)arg1
)->GetBorderY();
9295 wxPyEndAllowThreads(__tstate
);
9296 if (PyErr_Occurred()) SWIG_fail
;
9298 resultobj
= SWIG_From_int(static_cast< int >(result
));
9305 SWIGINTERN PyObject
*_wrap_StatusBar_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9306 PyObject
*resultobj
= 0;
9307 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
9308 SwigValueWrapper
<wxVisualAttributes
> result
;
9311 PyObject
* obj0
= 0 ;
9312 char * kwnames
[] = {
9313 (char *) "variant", NULL
9316 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:StatusBar_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
9318 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
9319 if (!SWIG_IsOK(ecode1
)) {
9320 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "StatusBar_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
9322 arg1
= static_cast< wxWindowVariant
>(val1
);
9325 if (!wxPyCheckForApp()) SWIG_fail
;
9326 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9327 result
= wxStatusBar::GetClassDefaultAttributes(arg1
);
9328 wxPyEndAllowThreads(__tstate
);
9329 if (PyErr_Occurred()) SWIG_fail
;
9331 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
9338 SWIGINTERN PyObject
*StatusBar_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9340 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
9341 SWIG_TypeNewClientData(SWIGTYPE_p_wxStatusBar
, SWIG_NewClientData(obj
));
9342 return SWIG_Py_Void();
9345 SWIGINTERN PyObject
*StatusBar_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9346 return SWIG_Python_InitShadowInstance(args
);
9349 SWIGINTERN
int SplitterNameStr_set(PyObject
*) {
9350 SWIG_Error(SWIG_AttributeError
,"Variable SplitterNameStr is read-only.");
9355 SWIGINTERN PyObject
*SplitterNameStr_get(void) {
9356 PyObject
*pyobj
= 0;
9360 pyobj
= PyUnicode_FromWideChar((&wxPySplitterNameStr
)->c_str(), (&wxPySplitterNameStr
)->Len());
9362 pyobj
= PyString_FromStringAndSize((&wxPySplitterNameStr
)->c_str(), (&wxPySplitterNameStr
)->Len());
9369 SWIGINTERN PyObject
*_wrap_new_SplitterWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9370 PyObject
*resultobj
= 0;
9371 wxWindow
*arg1
= (wxWindow
*) 0 ;
9372 int arg2
= (int) -1 ;
9373 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
9374 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
9375 wxSize
const &arg4_defvalue
= wxDefaultSize
;
9376 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
9377 long arg5
= (long) wxSP_3D
;
9378 wxString
const &arg6_defvalue
= wxPySplitterNameStr
;
9379 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
9380 wxSplitterWindow
*result
= 0 ;
9389 bool temp6
= false ;
9390 PyObject
* obj0
= 0 ;
9391 PyObject
* obj1
= 0 ;
9392 PyObject
* obj2
= 0 ;
9393 PyObject
* obj3
= 0 ;
9394 PyObject
* obj4
= 0 ;
9395 PyObject
* obj5
= 0 ;
9396 char * kwnames
[] = {
9397 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
9400 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_SplitterWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
9401 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
9402 if (!SWIG_IsOK(res1
)) {
9403 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_SplitterWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
9405 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
9407 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9408 if (!SWIG_IsOK(ecode2
)) {
9409 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_SplitterWindow" "', expected argument " "2"" of type '" "int""'");
9411 arg2
= static_cast< int >(val2
);
9416 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
9422 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
9426 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
9427 if (!SWIG_IsOK(ecode5
)) {
9428 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_SplitterWindow" "', expected argument " "5"" of type '" "long""'");
9430 arg5
= static_cast< long >(val5
);
9434 arg6
= wxString_in_helper(obj5
);
9435 if (arg6
== NULL
) SWIG_fail
;
9440 if (!wxPyCheckForApp()) SWIG_fail
;
9441 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9442 result
= (wxSplitterWindow
*)new wxSplitterWindow(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
9443 wxPyEndAllowThreads(__tstate
);
9444 if (PyErr_Occurred()) SWIG_fail
;
9446 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSplitterWindow
, SWIG_POINTER_NEW
| 0 );
9461 SWIGINTERN PyObject
*_wrap_new_PreSplitterWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9462 PyObject
*resultobj
= 0;
9463 wxSplitterWindow
*result
= 0 ;
9465 if (!SWIG_Python_UnpackTuple(args
,"new_PreSplitterWindow",0,0,0)) SWIG_fail
;
9467 if (!wxPyCheckForApp()) SWIG_fail
;
9468 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9469 result
= (wxSplitterWindow
*)new wxSplitterWindow();
9470 wxPyEndAllowThreads(__tstate
);
9471 if (PyErr_Occurred()) SWIG_fail
;
9473 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSplitterWindow
, SWIG_POINTER_OWN
| 0 );
9480 SWIGINTERN PyObject
*_wrap_SplitterWindow_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9481 PyObject
*resultobj
= 0;
9482 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
9483 wxWindow
*arg2
= (wxWindow
*) 0 ;
9484 int arg3
= (int) -1 ;
9485 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
9486 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
9487 wxSize
const &arg5_defvalue
= wxDefaultSize
;
9488 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
9489 long arg6
= (long) wxSP_3D
;
9490 wxString
const &arg7_defvalue
= wxPySplitterNameStr
;
9491 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
9503 bool temp7
= false ;
9504 PyObject
* obj0
= 0 ;
9505 PyObject
* obj1
= 0 ;
9506 PyObject
* obj2
= 0 ;
9507 PyObject
* obj3
= 0 ;
9508 PyObject
* obj4
= 0 ;
9509 PyObject
* obj5
= 0 ;
9510 PyObject
* obj6
= 0 ;
9511 char * kwnames
[] = {
9512 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
9515 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:SplitterWindow_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
9516 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
9517 if (!SWIG_IsOK(res1
)) {
9518 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_Create" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
9520 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
9521 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
9522 if (!SWIG_IsOK(res2
)) {
9523 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "SplitterWindow_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
9525 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
9527 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
9528 if (!SWIG_IsOK(ecode3
)) {
9529 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "SplitterWindow_Create" "', expected argument " "3"" of type '" "int""'");
9531 arg3
= static_cast< int >(val3
);
9536 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
9542 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
9546 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
9547 if (!SWIG_IsOK(ecode6
)) {
9548 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "SplitterWindow_Create" "', expected argument " "6"" of type '" "long""'");
9550 arg6
= static_cast< long >(val6
);
9554 arg7
= wxString_in_helper(obj6
);
9555 if (arg7
== NULL
) SWIG_fail
;
9560 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9561 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
9562 wxPyEndAllowThreads(__tstate
);
9563 if (PyErr_Occurred()) SWIG_fail
;
9566 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9582 SWIGINTERN PyObject
*_wrap_SplitterWindow_GetWindow1(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9583 PyObject
*resultobj
= 0;
9584 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
9585 wxWindow
*result
= 0 ;
9588 PyObject
*swig_obj
[1] ;
9590 if (!args
) SWIG_fail
;
9592 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
9593 if (!SWIG_IsOK(res1
)) {
9594 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_GetWindow1" "', expected argument " "1"" of type '" "wxSplitterWindow const *""'");
9596 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
9598 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9599 result
= (wxWindow
*)((wxSplitterWindow
const *)arg1
)->GetWindow1();
9600 wxPyEndAllowThreads(__tstate
);
9601 if (PyErr_Occurred()) SWIG_fail
;
9604 resultobj
= wxPyMake_wxObject(result
, 0);
9612 SWIGINTERN PyObject
*_wrap_SplitterWindow_GetWindow2(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9613 PyObject
*resultobj
= 0;
9614 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
9615 wxWindow
*result
= 0 ;
9618 PyObject
*swig_obj
[1] ;
9620 if (!args
) SWIG_fail
;
9622 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
9623 if (!SWIG_IsOK(res1
)) {
9624 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_GetWindow2" "', expected argument " "1"" of type '" "wxSplitterWindow const *""'");
9626 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
9628 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9629 result
= (wxWindow
*)((wxSplitterWindow
const *)arg1
)->GetWindow2();
9630 wxPyEndAllowThreads(__tstate
);
9631 if (PyErr_Occurred()) SWIG_fail
;
9634 resultobj
= wxPyMake_wxObject(result
, 0);
9642 SWIGINTERN PyObject
*_wrap_SplitterWindow_SetSplitMode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9643 PyObject
*resultobj
= 0;
9644 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
9650 PyObject
* obj0
= 0 ;
9651 PyObject
* obj1
= 0 ;
9652 char * kwnames
[] = {
9653 (char *) "self",(char *) "mode", NULL
9656 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplitterWindow_SetSplitMode",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9657 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
9658 if (!SWIG_IsOK(res1
)) {
9659 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_SetSplitMode" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
9661 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
9662 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9663 if (!SWIG_IsOK(ecode2
)) {
9664 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SplitterWindow_SetSplitMode" "', expected argument " "2"" of type '" "int""'");
9666 arg2
= static_cast< int >(val2
);
9668 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9669 (arg1
)->SetSplitMode(arg2
);
9670 wxPyEndAllowThreads(__tstate
);
9671 if (PyErr_Occurred()) SWIG_fail
;
9673 resultobj
= SWIG_Py_Void();
9680 SWIGINTERN PyObject
*_wrap_SplitterWindow_GetSplitMode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9681 PyObject
*resultobj
= 0;
9682 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
9686 PyObject
*swig_obj
[1] ;
9688 if (!args
) SWIG_fail
;
9690 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
9691 if (!SWIG_IsOK(res1
)) {
9692 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_GetSplitMode" "', expected argument " "1"" of type '" "wxSplitterWindow const *""'");
9694 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
9696 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9697 result
= (wxSplitMode
)((wxSplitterWindow
const *)arg1
)->GetSplitMode();
9698 wxPyEndAllowThreads(__tstate
);
9699 if (PyErr_Occurred()) SWIG_fail
;
9701 resultobj
= SWIG_From_int(static_cast< int >(result
));
9708 SWIGINTERN PyObject
*_wrap_SplitterWindow_Initialize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9709 PyObject
*resultobj
= 0;
9710 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
9711 wxWindow
*arg2
= (wxWindow
*) 0 ;
9716 PyObject
* obj0
= 0 ;
9717 PyObject
* obj1
= 0 ;
9718 char * kwnames
[] = {
9719 (char *) "self",(char *) "window", NULL
9722 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplitterWindow_Initialize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9723 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
9724 if (!SWIG_IsOK(res1
)) {
9725 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_Initialize" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
9727 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
9728 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
9729 if (!SWIG_IsOK(res2
)) {
9730 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "SplitterWindow_Initialize" "', expected argument " "2"" of type '" "wxWindow *""'");
9732 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
9734 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9735 (arg1
)->Initialize(arg2
);
9736 wxPyEndAllowThreads(__tstate
);
9737 if (PyErr_Occurred()) SWIG_fail
;
9739 resultobj
= SWIG_Py_Void();
9746 SWIGINTERN PyObject
*_wrap_SplitterWindow_SplitVertically(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9747 PyObject
*resultobj
= 0;
9748 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
9749 wxWindow
*arg2
= (wxWindow
*) 0 ;
9750 wxWindow
*arg3
= (wxWindow
*) 0 ;
9751 int arg4
= (int) 0 ;
9761 PyObject
* obj0
= 0 ;
9762 PyObject
* obj1
= 0 ;
9763 PyObject
* obj2
= 0 ;
9764 PyObject
* obj3
= 0 ;
9765 char * kwnames
[] = {
9766 (char *) "self",(char *) "window1",(char *) "window2",(char *) "sashPosition", NULL
9769 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:SplitterWindow_SplitVertically",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
9770 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
9771 if (!SWIG_IsOK(res1
)) {
9772 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_SplitVertically" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
9774 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
9775 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
9776 if (!SWIG_IsOK(res2
)) {
9777 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "SplitterWindow_SplitVertically" "', expected argument " "2"" of type '" "wxWindow *""'");
9779 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
9780 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxWindow
, 0 | 0 );
9781 if (!SWIG_IsOK(res3
)) {
9782 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "SplitterWindow_SplitVertically" "', expected argument " "3"" of type '" "wxWindow *""'");
9784 arg3
= reinterpret_cast< wxWindow
* >(argp3
);
9786 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
9787 if (!SWIG_IsOK(ecode4
)) {
9788 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "SplitterWindow_SplitVertically" "', expected argument " "4"" of type '" "int""'");
9790 arg4
= static_cast< int >(val4
);
9793 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9794 result
= (bool)(arg1
)->SplitVertically(arg2
,arg3
,arg4
);
9795 wxPyEndAllowThreads(__tstate
);
9796 if (PyErr_Occurred()) SWIG_fail
;
9799 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9807 SWIGINTERN PyObject
*_wrap_SplitterWindow_SplitHorizontally(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9808 PyObject
*resultobj
= 0;
9809 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
9810 wxWindow
*arg2
= (wxWindow
*) 0 ;
9811 wxWindow
*arg3
= (wxWindow
*) 0 ;
9812 int arg4
= (int) 0 ;
9822 PyObject
* obj0
= 0 ;
9823 PyObject
* obj1
= 0 ;
9824 PyObject
* obj2
= 0 ;
9825 PyObject
* obj3
= 0 ;
9826 char * kwnames
[] = {
9827 (char *) "self",(char *) "window1",(char *) "window2",(char *) "sashPosition", NULL
9830 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:SplitterWindow_SplitHorizontally",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
9831 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
9832 if (!SWIG_IsOK(res1
)) {
9833 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_SplitHorizontally" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
9835 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
9836 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
9837 if (!SWIG_IsOK(res2
)) {
9838 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "SplitterWindow_SplitHorizontally" "', expected argument " "2"" of type '" "wxWindow *""'");
9840 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
9841 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxWindow
, 0 | 0 );
9842 if (!SWIG_IsOK(res3
)) {
9843 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "SplitterWindow_SplitHorizontally" "', expected argument " "3"" of type '" "wxWindow *""'");
9845 arg3
= reinterpret_cast< wxWindow
* >(argp3
);
9847 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
9848 if (!SWIG_IsOK(ecode4
)) {
9849 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "SplitterWindow_SplitHorizontally" "', expected argument " "4"" of type '" "int""'");
9851 arg4
= static_cast< int >(val4
);
9854 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9855 result
= (bool)(arg1
)->SplitHorizontally(arg2
,arg3
,arg4
);
9856 wxPyEndAllowThreads(__tstate
);
9857 if (PyErr_Occurred()) SWIG_fail
;
9860 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9868 SWIGINTERN PyObject
*_wrap_SplitterWindow_Unsplit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9869 PyObject
*resultobj
= 0;
9870 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
9871 wxWindow
*arg2
= (wxWindow
*) NULL
;
9877 PyObject
* obj0
= 0 ;
9878 PyObject
* obj1
= 0 ;
9879 char * kwnames
[] = {
9880 (char *) "self",(char *) "toRemove", NULL
9883 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:SplitterWindow_Unsplit",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9884 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
9885 if (!SWIG_IsOK(res1
)) {
9886 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_Unsplit" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
9888 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
9890 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
9891 if (!SWIG_IsOK(res2
)) {
9892 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "SplitterWindow_Unsplit" "', expected argument " "2"" of type '" "wxWindow *""'");
9894 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
9897 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9898 result
= (bool)(arg1
)->Unsplit(arg2
);
9899 wxPyEndAllowThreads(__tstate
);
9900 if (PyErr_Occurred()) SWIG_fail
;
9903 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9911 SWIGINTERN PyObject
*_wrap_SplitterWindow_ReplaceWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9912 PyObject
*resultobj
= 0;
9913 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
9914 wxWindow
*arg2
= (wxWindow
*) 0 ;
9915 wxWindow
*arg3
= (wxWindow
*) 0 ;
9923 PyObject
* obj0
= 0 ;
9924 PyObject
* obj1
= 0 ;
9925 PyObject
* obj2
= 0 ;
9926 char * kwnames
[] = {
9927 (char *) "self",(char *) "winOld",(char *) "winNew", NULL
9930 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SplitterWindow_ReplaceWindow",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
9931 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
9932 if (!SWIG_IsOK(res1
)) {
9933 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_ReplaceWindow" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
9935 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
9936 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
9937 if (!SWIG_IsOK(res2
)) {
9938 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "SplitterWindow_ReplaceWindow" "', expected argument " "2"" of type '" "wxWindow *""'");
9940 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
9941 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxWindow
, 0 | 0 );
9942 if (!SWIG_IsOK(res3
)) {
9943 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "SplitterWindow_ReplaceWindow" "', expected argument " "3"" of type '" "wxWindow *""'");
9945 arg3
= reinterpret_cast< wxWindow
* >(argp3
);
9947 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9948 result
= (bool)(arg1
)->ReplaceWindow(arg2
,arg3
);
9949 wxPyEndAllowThreads(__tstate
);
9950 if (PyErr_Occurred()) SWIG_fail
;
9953 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9961 SWIGINTERN PyObject
*_wrap_SplitterWindow_UpdateSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9962 PyObject
*resultobj
= 0;
9963 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
9966 PyObject
*swig_obj
[1] ;
9968 if (!args
) SWIG_fail
;
9970 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
9971 if (!SWIG_IsOK(res1
)) {
9972 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_UpdateSize" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
9974 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
9976 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9977 (arg1
)->UpdateSize();
9978 wxPyEndAllowThreads(__tstate
);
9979 if (PyErr_Occurred()) SWIG_fail
;
9981 resultobj
= SWIG_Py_Void();
9988 SWIGINTERN PyObject
*_wrap_SplitterWindow_IsSplit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9989 PyObject
*resultobj
= 0;
9990 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
9994 PyObject
*swig_obj
[1] ;
9996 if (!args
) SWIG_fail
;
9998 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
9999 if (!SWIG_IsOK(res1
)) {
10000 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_IsSplit" "', expected argument " "1"" of type '" "wxSplitterWindow const *""'");
10002 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
10004 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10005 result
= (bool)((wxSplitterWindow
const *)arg1
)->IsSplit();
10006 wxPyEndAllowThreads(__tstate
);
10007 if (PyErr_Occurred()) SWIG_fail
;
10010 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10018 SWIGINTERN PyObject
*_wrap_SplitterWindow_SetSashSize(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 *) "width", NULL
10032 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplitterWindow_SetSashSize",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_SetSashSize" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
10037 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
10038 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10039 if (!SWIG_IsOK(ecode2
)) {
10040 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SplitterWindow_SetSashSize" "', expected argument " "2"" of type '" "int""'");
10042 arg2
= static_cast< int >(val2
);
10044 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10045 (arg1
)->SetSashSize(arg2
);
10046 wxPyEndAllowThreads(__tstate
);
10047 if (PyErr_Occurred()) SWIG_fail
;
10049 resultobj
= SWIG_Py_Void();
10056 SWIGINTERN PyObject
*_wrap_SplitterWindow_SetBorderSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10057 PyObject
*resultobj
= 0;
10058 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
10064 PyObject
* obj0
= 0 ;
10065 PyObject
* obj1
= 0 ;
10066 char * kwnames
[] = {
10067 (char *) "self",(char *) "width", NULL
10070 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplitterWindow_SetBorderSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10071 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
10072 if (!SWIG_IsOK(res1
)) {
10073 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_SetBorderSize" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
10075 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
10076 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10077 if (!SWIG_IsOK(ecode2
)) {
10078 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SplitterWindow_SetBorderSize" "', expected argument " "2"" of type '" "int""'");
10080 arg2
= static_cast< int >(val2
);
10082 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10083 (arg1
)->SetBorderSize(arg2
);
10084 wxPyEndAllowThreads(__tstate
);
10085 if (PyErr_Occurred()) SWIG_fail
;
10087 resultobj
= SWIG_Py_Void();
10094 SWIGINTERN PyObject
*_wrap_SplitterWindow_GetSashSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10095 PyObject
*resultobj
= 0;
10096 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
10100 PyObject
*swig_obj
[1] ;
10102 if (!args
) SWIG_fail
;
10103 swig_obj
[0] = args
;
10104 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
10105 if (!SWIG_IsOK(res1
)) {
10106 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_GetSashSize" "', expected argument " "1"" of type '" "wxSplitterWindow const *""'");
10108 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
10110 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10111 result
= (int)((wxSplitterWindow
const *)arg1
)->GetSashSize();
10112 wxPyEndAllowThreads(__tstate
);
10113 if (PyErr_Occurred()) SWIG_fail
;
10115 resultobj
= SWIG_From_int(static_cast< int >(result
));
10122 SWIGINTERN PyObject
*_wrap_SplitterWindow_GetBorderSize(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_GetBorderSize" "', expected argument " "1"" of type '" "wxSplitterWindow const *""'");
10136 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
10138 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10139 result
= (int)((wxSplitterWindow
const *)arg1
)->GetBorderSize();
10140 wxPyEndAllowThreads(__tstate
);
10141 if (PyErr_Occurred()) SWIG_fail
;
10143 resultobj
= SWIG_From_int(static_cast< int >(result
));
10150 SWIGINTERN PyObject
*_wrap_SplitterWindow_SetSashPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10151 PyObject
*resultobj
= 0;
10152 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
10154 bool arg3
= (bool) true ;
10161 PyObject
* obj0
= 0 ;
10162 PyObject
* obj1
= 0 ;
10163 PyObject
* obj2
= 0 ;
10164 char * kwnames
[] = {
10165 (char *) "self",(char *) "position",(char *) "redraw", NULL
10168 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:SplitterWindow_SetSashPosition",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
10169 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
10170 if (!SWIG_IsOK(res1
)) {
10171 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_SetSashPosition" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
10173 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
10174 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10175 if (!SWIG_IsOK(ecode2
)) {
10176 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SplitterWindow_SetSashPosition" "', expected argument " "2"" of type '" "int""'");
10178 arg2
= static_cast< int >(val2
);
10180 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
10181 if (!SWIG_IsOK(ecode3
)) {
10182 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "SplitterWindow_SetSashPosition" "', expected argument " "3"" of type '" "bool""'");
10184 arg3
= static_cast< bool >(val3
);
10187 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10188 (arg1
)->SetSashPosition(arg2
,arg3
);
10189 wxPyEndAllowThreads(__tstate
);
10190 if (PyErr_Occurred()) SWIG_fail
;
10192 resultobj
= SWIG_Py_Void();
10199 SWIGINTERN PyObject
*_wrap_SplitterWindow_GetSashPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10200 PyObject
*resultobj
= 0;
10201 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
10205 PyObject
*swig_obj
[1] ;
10207 if (!args
) SWIG_fail
;
10208 swig_obj
[0] = args
;
10209 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
10210 if (!SWIG_IsOK(res1
)) {
10211 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_GetSashPosition" "', expected argument " "1"" of type '" "wxSplitterWindow const *""'");
10213 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
10215 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10216 result
= (int)((wxSplitterWindow
const *)arg1
)->GetSashPosition();
10217 wxPyEndAllowThreads(__tstate
);
10218 if (PyErr_Occurred()) SWIG_fail
;
10220 resultobj
= SWIG_From_int(static_cast< int >(result
));
10227 SWIGINTERN PyObject
*_wrap_SplitterWindow_SetSashGravity(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10228 PyObject
*resultobj
= 0;
10229 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
10235 PyObject
* obj0
= 0 ;
10236 PyObject
* obj1
= 0 ;
10237 char * kwnames
[] = {
10238 (char *) "self",(char *) "gravity", NULL
10241 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplitterWindow_SetSashGravity",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10242 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
10243 if (!SWIG_IsOK(res1
)) {
10244 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_SetSashGravity" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
10246 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
10247 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
10248 if (!SWIG_IsOK(ecode2
)) {
10249 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SplitterWindow_SetSashGravity" "', expected argument " "2"" of type '" "double""'");
10251 arg2
= static_cast< double >(val2
);
10253 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10254 (arg1
)->SetSashGravity(arg2
);
10255 wxPyEndAllowThreads(__tstate
);
10256 if (PyErr_Occurred()) SWIG_fail
;
10258 resultobj
= SWIG_Py_Void();
10265 SWIGINTERN PyObject
*_wrap_SplitterWindow_GetSashGravity(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10266 PyObject
*resultobj
= 0;
10267 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
10271 PyObject
*swig_obj
[1] ;
10273 if (!args
) SWIG_fail
;
10274 swig_obj
[0] = args
;
10275 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
10276 if (!SWIG_IsOK(res1
)) {
10277 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_GetSashGravity" "', expected argument " "1"" of type '" "wxSplitterWindow const *""'");
10279 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
10281 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10282 result
= (double)((wxSplitterWindow
const *)arg1
)->GetSashGravity();
10283 wxPyEndAllowThreads(__tstate
);
10284 if (PyErr_Occurred()) SWIG_fail
;
10286 resultobj
= SWIG_From_double(static_cast< double >(result
));
10293 SWIGINTERN PyObject
*_wrap_SplitterWindow_SetMinimumPaneSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10294 PyObject
*resultobj
= 0;
10295 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
10301 PyObject
* obj0
= 0 ;
10302 PyObject
* obj1
= 0 ;
10303 char * kwnames
[] = {
10304 (char *) "self",(char *) "min", NULL
10307 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplitterWindow_SetMinimumPaneSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10308 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
10309 if (!SWIG_IsOK(res1
)) {
10310 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_SetMinimumPaneSize" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
10312 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
10313 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10314 if (!SWIG_IsOK(ecode2
)) {
10315 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SplitterWindow_SetMinimumPaneSize" "', expected argument " "2"" of type '" "int""'");
10317 arg2
= static_cast< int >(val2
);
10319 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10320 (arg1
)->SetMinimumPaneSize(arg2
);
10321 wxPyEndAllowThreads(__tstate
);
10322 if (PyErr_Occurred()) SWIG_fail
;
10324 resultobj
= SWIG_Py_Void();
10331 SWIGINTERN PyObject
*_wrap_SplitterWindow_GetMinimumPaneSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10332 PyObject
*resultobj
= 0;
10333 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
10337 PyObject
*swig_obj
[1] ;
10339 if (!args
) SWIG_fail
;
10340 swig_obj
[0] = args
;
10341 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
10342 if (!SWIG_IsOK(res1
)) {
10343 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_GetMinimumPaneSize" "', expected argument " "1"" of type '" "wxSplitterWindow const *""'");
10345 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
10347 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10348 result
= (int)((wxSplitterWindow
const *)arg1
)->GetMinimumPaneSize();
10349 wxPyEndAllowThreads(__tstate
);
10350 if (PyErr_Occurred()) SWIG_fail
;
10352 resultobj
= SWIG_From_int(static_cast< int >(result
));
10359 SWIGINTERN PyObject
*_wrap_SplitterWindow_SashHitTest(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10360 PyObject
*resultobj
= 0;
10361 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
10364 int arg4
= (int) 5 ;
10374 PyObject
* obj0
= 0 ;
10375 PyObject
* obj1
= 0 ;
10376 PyObject
* obj2
= 0 ;
10377 PyObject
* obj3
= 0 ;
10378 char * kwnames
[] = {
10379 (char *) "self",(char *) "x",(char *) "y",(char *) "tolerance", NULL
10382 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:SplitterWindow_SashHitTest",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
10383 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
10384 if (!SWIG_IsOK(res1
)) {
10385 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_SashHitTest" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
10387 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
10388 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10389 if (!SWIG_IsOK(ecode2
)) {
10390 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SplitterWindow_SashHitTest" "', expected argument " "2"" of type '" "int""'");
10392 arg2
= static_cast< int >(val2
);
10393 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
10394 if (!SWIG_IsOK(ecode3
)) {
10395 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "SplitterWindow_SashHitTest" "', expected argument " "3"" of type '" "int""'");
10397 arg3
= static_cast< int >(val3
);
10399 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
10400 if (!SWIG_IsOK(ecode4
)) {
10401 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "SplitterWindow_SashHitTest" "', expected argument " "4"" of type '" "int""'");
10403 arg4
= static_cast< int >(val4
);
10406 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10407 result
= (bool)(arg1
)->SashHitTest(arg2
,arg3
,arg4
);
10408 wxPyEndAllowThreads(__tstate
);
10409 if (PyErr_Occurred()) SWIG_fail
;
10412 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10420 SWIGINTERN PyObject
*_wrap_SplitterWindow_SizeWindows(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10421 PyObject
*resultobj
= 0;
10422 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
10425 PyObject
*swig_obj
[1] ;
10427 if (!args
) SWIG_fail
;
10428 swig_obj
[0] = args
;
10429 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
10430 if (!SWIG_IsOK(res1
)) {
10431 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_SizeWindows" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
10433 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
10435 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10436 (arg1
)->SizeWindows();
10437 wxPyEndAllowThreads(__tstate
);
10438 if (PyErr_Occurred()) SWIG_fail
;
10440 resultobj
= SWIG_Py_Void();
10447 SWIGINTERN PyObject
*_wrap_SplitterWindow_SetNeedUpdating(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10448 PyObject
*resultobj
= 0;
10449 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
10455 PyObject
* obj0
= 0 ;
10456 PyObject
* obj1
= 0 ;
10457 char * kwnames
[] = {
10458 (char *) "self",(char *) "needUpdating", NULL
10461 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplitterWindow_SetNeedUpdating",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10462 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
10463 if (!SWIG_IsOK(res1
)) {
10464 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_SetNeedUpdating" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
10466 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
10467 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
10468 if (!SWIG_IsOK(ecode2
)) {
10469 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SplitterWindow_SetNeedUpdating" "', expected argument " "2"" of type '" "bool""'");
10471 arg2
= static_cast< bool >(val2
);
10473 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10474 (arg1
)->SetNeedUpdating(arg2
);
10475 wxPyEndAllowThreads(__tstate
);
10476 if (PyErr_Occurred()) SWIG_fail
;
10478 resultobj
= SWIG_Py_Void();
10485 SWIGINTERN PyObject
*_wrap_SplitterWindow_GetNeedUpdating(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10486 PyObject
*resultobj
= 0;
10487 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
10491 PyObject
*swig_obj
[1] ;
10493 if (!args
) SWIG_fail
;
10494 swig_obj
[0] = args
;
10495 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
10496 if (!SWIG_IsOK(res1
)) {
10497 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_GetNeedUpdating" "', expected argument " "1"" of type '" "wxSplitterWindow const *""'");
10499 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
10501 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10502 result
= (bool)((wxSplitterWindow
const *)arg1
)->GetNeedUpdating();
10503 wxPyEndAllowThreads(__tstate
);
10504 if (PyErr_Occurred()) SWIG_fail
;
10507 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10515 SWIGINTERN PyObject
*_wrap_SplitterWindow_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10516 PyObject
*resultobj
= 0;
10517 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
10518 SwigValueWrapper
<wxVisualAttributes
> result
;
10521 PyObject
* obj0
= 0 ;
10522 char * kwnames
[] = {
10523 (char *) "variant", NULL
10526 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:SplitterWindow_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
10528 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
10529 if (!SWIG_IsOK(ecode1
)) {
10530 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "SplitterWindow_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
10532 arg1
= static_cast< wxWindowVariant
>(val1
);
10535 if (!wxPyCheckForApp()) SWIG_fail
;
10536 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10537 result
= wxSplitterWindow::GetClassDefaultAttributes(arg1
);
10538 wxPyEndAllowThreads(__tstate
);
10539 if (PyErr_Occurred()) SWIG_fail
;
10541 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
10548 SWIGINTERN PyObject
*SplitterWindow_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10550 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
10551 SWIG_TypeNewClientData(SWIGTYPE_p_wxSplitterWindow
, SWIG_NewClientData(obj
));
10552 return SWIG_Py_Void();
10555 SWIGINTERN PyObject
*SplitterWindow_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10556 return SWIG_Python_InitShadowInstance(args
);
10559 SWIGINTERN PyObject
*_wrap_new_SplitterEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10560 PyObject
*resultobj
= 0;
10561 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
10562 wxSplitterWindow
*arg2
= (wxSplitterWindow
*) (wxSplitterWindow
*) NULL
;
10563 wxSplitterEvent
*result
= 0 ;
10568 PyObject
* obj0
= 0 ;
10569 PyObject
* obj1
= 0 ;
10570 char * kwnames
[] = {
10571 (char *) "type",(char *) "splitter", NULL
10574 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_SplitterEvent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10576 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
10577 if (!SWIG_IsOK(ecode1
)) {
10578 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_SplitterEvent" "', expected argument " "1"" of type '" "wxEventType""'");
10580 arg1
= static_cast< wxEventType
>(val1
);
10583 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
10584 if (!SWIG_IsOK(res2
)) {
10585 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_SplitterEvent" "', expected argument " "2"" of type '" "wxSplitterWindow *""'");
10587 arg2
= reinterpret_cast< wxSplitterWindow
* >(argp2
);
10590 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10591 result
= (wxSplitterEvent
*)new wxSplitterEvent(arg1
,arg2
);
10592 wxPyEndAllowThreads(__tstate
);
10593 if (PyErr_Occurred()) SWIG_fail
;
10595 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSplitterEvent
, SWIG_POINTER_NEW
| 0 );
10602 SWIGINTERN PyObject
*_wrap_SplitterEvent_SetSashPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10603 PyObject
*resultobj
= 0;
10604 wxSplitterEvent
*arg1
= (wxSplitterEvent
*) 0 ;
10610 PyObject
* obj0
= 0 ;
10611 PyObject
* obj1
= 0 ;
10612 char * kwnames
[] = {
10613 (char *) "self",(char *) "pos", NULL
10616 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplitterEvent_SetSashPosition",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10617 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSplitterEvent
, 0 | 0 );
10618 if (!SWIG_IsOK(res1
)) {
10619 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterEvent_SetSashPosition" "', expected argument " "1"" of type '" "wxSplitterEvent *""'");
10621 arg1
= reinterpret_cast< wxSplitterEvent
* >(argp1
);
10622 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10623 if (!SWIG_IsOK(ecode2
)) {
10624 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SplitterEvent_SetSashPosition" "', expected argument " "2"" of type '" "int""'");
10626 arg2
= static_cast< int >(val2
);
10628 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10629 (arg1
)->SetSashPosition(arg2
);
10630 wxPyEndAllowThreads(__tstate
);
10631 if (PyErr_Occurred()) SWIG_fail
;
10633 resultobj
= SWIG_Py_Void();
10640 SWIGINTERN PyObject
*_wrap_SplitterEvent_GetSashPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10641 PyObject
*resultobj
= 0;
10642 wxSplitterEvent
*arg1
= (wxSplitterEvent
*) 0 ;
10646 PyObject
*swig_obj
[1] ;
10648 if (!args
) SWIG_fail
;
10649 swig_obj
[0] = args
;
10650 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterEvent
, 0 | 0 );
10651 if (!SWIG_IsOK(res1
)) {
10652 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterEvent_GetSashPosition" "', expected argument " "1"" of type '" "wxSplitterEvent const *""'");
10654 arg1
= reinterpret_cast< wxSplitterEvent
* >(argp1
);
10656 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10657 result
= (int)((wxSplitterEvent
const *)arg1
)->GetSashPosition();
10658 wxPyEndAllowThreads(__tstate
);
10659 if (PyErr_Occurred()) SWIG_fail
;
10661 resultobj
= SWIG_From_int(static_cast< int >(result
));
10668 SWIGINTERN PyObject
*_wrap_SplitterEvent_GetWindowBeingRemoved(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10669 PyObject
*resultobj
= 0;
10670 wxSplitterEvent
*arg1
= (wxSplitterEvent
*) 0 ;
10671 wxWindow
*result
= 0 ;
10674 PyObject
*swig_obj
[1] ;
10676 if (!args
) SWIG_fail
;
10677 swig_obj
[0] = args
;
10678 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterEvent
, 0 | 0 );
10679 if (!SWIG_IsOK(res1
)) {
10680 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterEvent_GetWindowBeingRemoved" "', expected argument " "1"" of type '" "wxSplitterEvent const *""'");
10682 arg1
= reinterpret_cast< wxSplitterEvent
* >(argp1
);
10684 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10685 result
= (wxWindow
*)((wxSplitterEvent
const *)arg1
)->GetWindowBeingRemoved();
10686 wxPyEndAllowThreads(__tstate
);
10687 if (PyErr_Occurred()) SWIG_fail
;
10690 resultobj
= wxPyMake_wxObject(result
, 0);
10698 SWIGINTERN PyObject
*_wrap_SplitterEvent_GetX(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10699 PyObject
*resultobj
= 0;
10700 wxSplitterEvent
*arg1
= (wxSplitterEvent
*) 0 ;
10704 PyObject
*swig_obj
[1] ;
10706 if (!args
) SWIG_fail
;
10707 swig_obj
[0] = args
;
10708 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterEvent
, 0 | 0 );
10709 if (!SWIG_IsOK(res1
)) {
10710 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterEvent_GetX" "', expected argument " "1"" of type '" "wxSplitterEvent const *""'");
10712 arg1
= reinterpret_cast< wxSplitterEvent
* >(argp1
);
10714 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10715 result
= (int)((wxSplitterEvent
const *)arg1
)->GetX();
10716 wxPyEndAllowThreads(__tstate
);
10717 if (PyErr_Occurred()) SWIG_fail
;
10719 resultobj
= SWIG_From_int(static_cast< int >(result
));
10726 SWIGINTERN PyObject
*_wrap_SplitterEvent_GetY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10727 PyObject
*resultobj
= 0;
10728 wxSplitterEvent
*arg1
= (wxSplitterEvent
*) 0 ;
10732 PyObject
*swig_obj
[1] ;
10734 if (!args
) SWIG_fail
;
10735 swig_obj
[0] = args
;
10736 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterEvent
, 0 | 0 );
10737 if (!SWIG_IsOK(res1
)) {
10738 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterEvent_GetY" "', expected argument " "1"" of type '" "wxSplitterEvent const *""'");
10740 arg1
= reinterpret_cast< wxSplitterEvent
* >(argp1
);
10742 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10743 result
= (int)((wxSplitterEvent
const *)arg1
)->GetY();
10744 wxPyEndAllowThreads(__tstate
);
10745 if (PyErr_Occurred()) SWIG_fail
;
10747 resultobj
= SWIG_From_int(static_cast< int >(result
));
10754 SWIGINTERN PyObject
*SplitterEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10756 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
10757 SWIG_TypeNewClientData(SWIGTYPE_p_wxSplitterEvent
, SWIG_NewClientData(obj
));
10758 return SWIG_Py_Void();
10761 SWIGINTERN PyObject
*SplitterEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10762 return SWIG_Python_InitShadowInstance(args
);
10765 SWIGINTERN
int SashNameStr_set(PyObject
*) {
10766 SWIG_Error(SWIG_AttributeError
,"Variable SashNameStr is read-only.");
10771 SWIGINTERN PyObject
*SashNameStr_get(void) {
10772 PyObject
*pyobj
= 0;
10776 pyobj
= PyUnicode_FromWideChar((&wxPySashNameStr
)->c_str(), (&wxPySashNameStr
)->Len());
10778 pyobj
= PyString_FromStringAndSize((&wxPySashNameStr
)->c_str(), (&wxPySashNameStr
)->Len());
10785 SWIGINTERN
int SashLayoutNameStr_set(PyObject
*) {
10786 SWIG_Error(SWIG_AttributeError
,"Variable SashLayoutNameStr is read-only.");
10791 SWIGINTERN PyObject
*SashLayoutNameStr_get(void) {
10792 PyObject
*pyobj
= 0;
10796 pyobj
= PyUnicode_FromWideChar((&wxPySashLayoutNameStr
)->c_str(), (&wxPySashLayoutNameStr
)->Len());
10798 pyobj
= PyString_FromStringAndSize((&wxPySashLayoutNameStr
)->c_str(), (&wxPySashLayoutNameStr
)->Len());
10805 SWIGINTERN PyObject
*_wrap_new_SashWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10806 PyObject
*resultobj
= 0;
10807 wxWindow
*arg1
= (wxWindow
*) 0 ;
10808 int arg2
= (int) -1 ;
10809 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
10810 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
10811 wxSize
const &arg4_defvalue
= wxDefaultSize
;
10812 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
10813 long arg5
= (long) wxCLIP_CHILDREN
|wxSW_3D
;
10814 wxString
const &arg6_defvalue
= wxPySashNameStr
;
10815 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
10816 wxSashWindow
*result
= 0 ;
10825 bool temp6
= false ;
10826 PyObject
* obj0
= 0 ;
10827 PyObject
* obj1
= 0 ;
10828 PyObject
* obj2
= 0 ;
10829 PyObject
* obj3
= 0 ;
10830 PyObject
* obj4
= 0 ;
10831 PyObject
* obj5
= 0 ;
10832 char * kwnames
[] = {
10833 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
10836 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_SashWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
10837 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
10838 if (!SWIG_IsOK(res1
)) {
10839 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_SashWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
10841 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
10843 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10844 if (!SWIG_IsOK(ecode2
)) {
10845 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_SashWindow" "', expected argument " "2"" of type '" "int""'");
10847 arg2
= static_cast< int >(val2
);
10852 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
10858 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
10862 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
10863 if (!SWIG_IsOK(ecode5
)) {
10864 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_SashWindow" "', expected argument " "5"" of type '" "long""'");
10866 arg5
= static_cast< long >(val5
);
10870 arg6
= wxString_in_helper(obj5
);
10871 if (arg6
== NULL
) SWIG_fail
;
10876 if (!wxPyCheckForApp()) SWIG_fail
;
10877 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10878 result
= (wxSashWindow
*)new wxSashWindow(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
10879 wxPyEndAllowThreads(__tstate
);
10880 if (PyErr_Occurred()) SWIG_fail
;
10882 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSashWindow
, SWIG_POINTER_NEW
| 0 );
10897 SWIGINTERN PyObject
*_wrap_new_PreSashWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10898 PyObject
*resultobj
= 0;
10899 wxSashWindow
*result
= 0 ;
10901 if (!SWIG_Python_UnpackTuple(args
,"new_PreSashWindow",0,0,0)) SWIG_fail
;
10903 if (!wxPyCheckForApp()) SWIG_fail
;
10904 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10905 result
= (wxSashWindow
*)new wxSashWindow();
10906 wxPyEndAllowThreads(__tstate
);
10907 if (PyErr_Occurred()) SWIG_fail
;
10909 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSashWindow
, SWIG_POINTER_OWN
| 0 );
10916 SWIGINTERN PyObject
*_wrap_SashWindow_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10917 PyObject
*resultobj
= 0;
10918 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
10919 wxWindow
*arg2
= (wxWindow
*) 0 ;
10920 int arg3
= (int) -1 ;
10921 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
10922 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
10923 wxSize
const &arg5_defvalue
= wxDefaultSize
;
10924 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
10925 long arg6
= (long) wxCLIP_CHILDREN
|wxSW_3D
;
10926 wxString
const &arg7_defvalue
= wxPySashNameStr
;
10927 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
10939 bool temp7
= false ;
10940 PyObject
* obj0
= 0 ;
10941 PyObject
* obj1
= 0 ;
10942 PyObject
* obj2
= 0 ;
10943 PyObject
* obj3
= 0 ;
10944 PyObject
* obj4
= 0 ;
10945 PyObject
* obj5
= 0 ;
10946 PyObject
* obj6
= 0 ;
10947 char * kwnames
[] = {
10948 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
10951 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:SashWindow_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
10952 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSashWindow
, 0 | 0 );
10953 if (!SWIG_IsOK(res1
)) {
10954 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashWindow_Create" "', expected argument " "1"" of type '" "wxSashWindow *""'");
10956 arg1
= reinterpret_cast< wxSashWindow
* >(argp1
);
10957 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
10958 if (!SWIG_IsOK(res2
)) {
10959 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "SashWindow_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
10961 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
10963 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
10964 if (!SWIG_IsOK(ecode3
)) {
10965 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "SashWindow_Create" "', expected argument " "3"" of type '" "int""'");
10967 arg3
= static_cast< int >(val3
);
10972 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
10978 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
10982 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
10983 if (!SWIG_IsOK(ecode6
)) {
10984 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "SashWindow_Create" "', expected argument " "6"" of type '" "long""'");
10986 arg6
= static_cast< long >(val6
);
10990 arg7
= wxString_in_helper(obj6
);
10991 if (arg7
== NULL
) SWIG_fail
;
10996 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10997 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
10998 wxPyEndAllowThreads(__tstate
);
10999 if (PyErr_Occurred()) SWIG_fail
;
11002 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11018 SWIGINTERN PyObject
*_wrap_SashWindow_SetSashVisible(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11019 PyObject
*resultobj
= 0;
11020 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
11021 wxSashEdgePosition arg2
;
11029 PyObject
* obj0
= 0 ;
11030 PyObject
* obj1
= 0 ;
11031 PyObject
* obj2
= 0 ;
11032 char * kwnames
[] = {
11033 (char *) "self",(char *) "edge",(char *) "sash", NULL
11036 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SashWindow_SetSashVisible",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
11037 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSashWindow
, 0 | 0 );
11038 if (!SWIG_IsOK(res1
)) {
11039 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashWindow_SetSashVisible" "', expected argument " "1"" of type '" "wxSashWindow *""'");
11041 arg1
= reinterpret_cast< wxSashWindow
* >(argp1
);
11042 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11043 if (!SWIG_IsOK(ecode2
)) {
11044 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SashWindow_SetSashVisible" "', expected argument " "2"" of type '" "wxSashEdgePosition""'");
11046 arg2
= static_cast< wxSashEdgePosition
>(val2
);
11047 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
11048 if (!SWIG_IsOK(ecode3
)) {
11049 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "SashWindow_SetSashVisible" "', expected argument " "3"" of type '" "bool""'");
11051 arg3
= static_cast< bool >(val3
);
11053 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11054 (arg1
)->SetSashVisible(arg2
,arg3
);
11055 wxPyEndAllowThreads(__tstate
);
11056 if (PyErr_Occurred()) SWIG_fail
;
11058 resultobj
= SWIG_Py_Void();
11065 SWIGINTERN PyObject
*_wrap_SashWindow_GetSashVisible(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11066 PyObject
*resultobj
= 0;
11067 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
11068 wxSashEdgePosition arg2
;
11074 PyObject
* obj0
= 0 ;
11075 PyObject
* obj1
= 0 ;
11076 char * kwnames
[] = {
11077 (char *) "self",(char *) "edge", NULL
11080 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_GetSashVisible",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11081 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSashWindow
, 0 | 0 );
11082 if (!SWIG_IsOK(res1
)) {
11083 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashWindow_GetSashVisible" "', expected argument " "1"" of type '" "wxSashWindow const *""'");
11085 arg1
= reinterpret_cast< wxSashWindow
* >(argp1
);
11086 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11087 if (!SWIG_IsOK(ecode2
)) {
11088 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SashWindow_GetSashVisible" "', expected argument " "2"" of type '" "wxSashEdgePosition""'");
11090 arg2
= static_cast< wxSashEdgePosition
>(val2
);
11092 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11093 result
= (bool)((wxSashWindow
const *)arg1
)->GetSashVisible(arg2
);
11094 wxPyEndAllowThreads(__tstate
);
11095 if (PyErr_Occurred()) SWIG_fail
;
11098 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11106 SWIGINTERN PyObject
*_wrap_SashWindow_SetSashBorder(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11107 PyObject
*resultobj
= 0;
11108 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
11109 wxSashEdgePosition arg2
;
11117 PyObject
* obj0
= 0 ;
11118 PyObject
* obj1
= 0 ;
11119 PyObject
* obj2
= 0 ;
11120 char * kwnames
[] = {
11121 (char *) "self",(char *) "edge",(char *) "border", NULL
11124 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SashWindow_SetSashBorder",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
11125 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSashWindow
, 0 | 0 );
11126 if (!SWIG_IsOK(res1
)) {
11127 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashWindow_SetSashBorder" "', expected argument " "1"" of type '" "wxSashWindow *""'");
11129 arg1
= reinterpret_cast< wxSashWindow
* >(argp1
);
11130 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11131 if (!SWIG_IsOK(ecode2
)) {
11132 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SashWindow_SetSashBorder" "', expected argument " "2"" of type '" "wxSashEdgePosition""'");
11134 arg2
= static_cast< wxSashEdgePosition
>(val2
);
11135 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
11136 if (!SWIG_IsOK(ecode3
)) {
11137 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "SashWindow_SetSashBorder" "', expected argument " "3"" of type '" "bool""'");
11139 arg3
= static_cast< bool >(val3
);
11141 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11142 (arg1
)->SetSashBorder(arg2
,arg3
);
11143 wxPyEndAllowThreads(__tstate
);
11144 if (PyErr_Occurred()) SWIG_fail
;
11146 resultobj
= SWIG_Py_Void();
11153 SWIGINTERN PyObject
*_wrap_SashWindow_HasBorder(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11154 PyObject
*resultobj
= 0;
11155 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
11156 wxSashEdgePosition arg2
;
11162 PyObject
* obj0
= 0 ;
11163 PyObject
* obj1
= 0 ;
11164 char * kwnames
[] = {
11165 (char *) "self",(char *) "edge", NULL
11168 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_HasBorder",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11169 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSashWindow
, 0 | 0 );
11170 if (!SWIG_IsOK(res1
)) {
11171 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashWindow_HasBorder" "', expected argument " "1"" of type '" "wxSashWindow const *""'");
11173 arg1
= reinterpret_cast< wxSashWindow
* >(argp1
);
11174 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11175 if (!SWIG_IsOK(ecode2
)) {
11176 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SashWindow_HasBorder" "', expected argument " "2"" of type '" "wxSashEdgePosition""'");
11178 arg2
= static_cast< wxSashEdgePosition
>(val2
);
11180 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11181 result
= (bool)((wxSashWindow
const *)arg1
)->HasBorder(arg2
);
11182 wxPyEndAllowThreads(__tstate
);
11183 if (PyErr_Occurred()) SWIG_fail
;
11186 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11194 SWIGINTERN PyObject
*_wrap_SashWindow_GetEdgeMargin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11195 PyObject
*resultobj
= 0;
11196 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
11197 wxSashEdgePosition arg2
;
11203 PyObject
* obj0
= 0 ;
11204 PyObject
* obj1
= 0 ;
11205 char * kwnames
[] = {
11206 (char *) "self",(char *) "edge", NULL
11209 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_GetEdgeMargin",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11210 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSashWindow
, 0 | 0 );
11211 if (!SWIG_IsOK(res1
)) {
11212 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashWindow_GetEdgeMargin" "', expected argument " "1"" of type '" "wxSashWindow const *""'");
11214 arg1
= reinterpret_cast< wxSashWindow
* >(argp1
);
11215 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11216 if (!SWIG_IsOK(ecode2
)) {
11217 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SashWindow_GetEdgeMargin" "', expected argument " "2"" of type '" "wxSashEdgePosition""'");
11219 arg2
= static_cast< wxSashEdgePosition
>(val2
);
11221 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11222 result
= (int)((wxSashWindow
const *)arg1
)->GetEdgeMargin(arg2
);
11223 wxPyEndAllowThreads(__tstate
);
11224 if (PyErr_Occurred()) SWIG_fail
;
11226 resultobj
= SWIG_From_int(static_cast< int >(result
));
11233 SWIGINTERN PyObject
*_wrap_SashWindow_SetDefaultBorderSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11234 PyObject
*resultobj
= 0;
11235 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
11241 PyObject
* obj0
= 0 ;
11242 PyObject
* obj1
= 0 ;
11243 char * kwnames
[] = {
11244 (char *) "self",(char *) "width", NULL
11247 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_SetDefaultBorderSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11248 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSashWindow
, 0 | 0 );
11249 if (!SWIG_IsOK(res1
)) {
11250 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashWindow_SetDefaultBorderSize" "', expected argument " "1"" of type '" "wxSashWindow *""'");
11252 arg1
= reinterpret_cast< wxSashWindow
* >(argp1
);
11253 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11254 if (!SWIG_IsOK(ecode2
)) {
11255 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SashWindow_SetDefaultBorderSize" "', expected argument " "2"" of type '" "int""'");
11257 arg2
= static_cast< int >(val2
);
11259 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11260 (arg1
)->SetDefaultBorderSize(arg2
);
11261 wxPyEndAllowThreads(__tstate
);
11262 if (PyErr_Occurred()) SWIG_fail
;
11264 resultobj
= SWIG_Py_Void();
11271 SWIGINTERN PyObject
*_wrap_SashWindow_GetDefaultBorderSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11272 PyObject
*resultobj
= 0;
11273 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
11277 PyObject
*swig_obj
[1] ;
11279 if (!args
) SWIG_fail
;
11280 swig_obj
[0] = args
;
11281 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSashWindow
, 0 | 0 );
11282 if (!SWIG_IsOK(res1
)) {
11283 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashWindow_GetDefaultBorderSize" "', expected argument " "1"" of type '" "wxSashWindow const *""'");
11285 arg1
= reinterpret_cast< wxSashWindow
* >(argp1
);
11287 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11288 result
= (int)((wxSashWindow
const *)arg1
)->GetDefaultBorderSize();
11289 wxPyEndAllowThreads(__tstate
);
11290 if (PyErr_Occurred()) SWIG_fail
;
11292 resultobj
= SWIG_From_int(static_cast< int >(result
));
11299 SWIGINTERN PyObject
*_wrap_SashWindow_SetExtraBorderSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11300 PyObject
*resultobj
= 0;
11301 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
11307 PyObject
* obj0
= 0 ;
11308 PyObject
* obj1
= 0 ;
11309 char * kwnames
[] = {
11310 (char *) "self",(char *) "width", NULL
11313 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_SetExtraBorderSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11314 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSashWindow
, 0 | 0 );
11315 if (!SWIG_IsOK(res1
)) {
11316 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashWindow_SetExtraBorderSize" "', expected argument " "1"" of type '" "wxSashWindow *""'");
11318 arg1
= reinterpret_cast< wxSashWindow
* >(argp1
);
11319 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11320 if (!SWIG_IsOK(ecode2
)) {
11321 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SashWindow_SetExtraBorderSize" "', expected argument " "2"" of type '" "int""'");
11323 arg2
= static_cast< int >(val2
);
11325 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11326 (arg1
)->SetExtraBorderSize(arg2
);
11327 wxPyEndAllowThreads(__tstate
);
11328 if (PyErr_Occurred()) SWIG_fail
;
11330 resultobj
= SWIG_Py_Void();
11337 SWIGINTERN PyObject
*_wrap_SashWindow_GetExtraBorderSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11338 PyObject
*resultobj
= 0;
11339 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
11343 PyObject
*swig_obj
[1] ;
11345 if (!args
) SWIG_fail
;
11346 swig_obj
[0] = args
;
11347 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSashWindow
, 0 | 0 );
11348 if (!SWIG_IsOK(res1
)) {
11349 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashWindow_GetExtraBorderSize" "', expected argument " "1"" of type '" "wxSashWindow const *""'");
11351 arg1
= reinterpret_cast< wxSashWindow
* >(argp1
);
11353 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11354 result
= (int)((wxSashWindow
const *)arg1
)->GetExtraBorderSize();
11355 wxPyEndAllowThreads(__tstate
);
11356 if (PyErr_Occurred()) SWIG_fail
;
11358 resultobj
= SWIG_From_int(static_cast< int >(result
));
11365 SWIGINTERN PyObject
*_wrap_SashWindow_SetMinimumSizeX(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11366 PyObject
*resultobj
= 0;
11367 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
11373 PyObject
* obj0
= 0 ;
11374 PyObject
* obj1
= 0 ;
11375 char * kwnames
[] = {
11376 (char *) "self",(char *) "min", NULL
11379 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_SetMinimumSizeX",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11380 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSashWindow
, 0 | 0 );
11381 if (!SWIG_IsOK(res1
)) {
11382 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashWindow_SetMinimumSizeX" "', expected argument " "1"" of type '" "wxSashWindow *""'");
11384 arg1
= reinterpret_cast< wxSashWindow
* >(argp1
);
11385 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11386 if (!SWIG_IsOK(ecode2
)) {
11387 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SashWindow_SetMinimumSizeX" "', expected argument " "2"" of type '" "int""'");
11389 arg2
= static_cast< int >(val2
);
11391 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11392 (arg1
)->SetMinimumSizeX(arg2
);
11393 wxPyEndAllowThreads(__tstate
);
11394 if (PyErr_Occurred()) SWIG_fail
;
11396 resultobj
= SWIG_Py_Void();
11403 SWIGINTERN PyObject
*_wrap_SashWindow_SetMinimumSizeY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11404 PyObject
*resultobj
= 0;
11405 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
11411 PyObject
* obj0
= 0 ;
11412 PyObject
* obj1
= 0 ;
11413 char * kwnames
[] = {
11414 (char *) "self",(char *) "min", NULL
11417 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_SetMinimumSizeY",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11418 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSashWindow
, 0 | 0 );
11419 if (!SWIG_IsOK(res1
)) {
11420 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashWindow_SetMinimumSizeY" "', expected argument " "1"" of type '" "wxSashWindow *""'");
11422 arg1
= reinterpret_cast< wxSashWindow
* >(argp1
);
11423 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11424 if (!SWIG_IsOK(ecode2
)) {
11425 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SashWindow_SetMinimumSizeY" "', expected argument " "2"" of type '" "int""'");
11427 arg2
= static_cast< int >(val2
);
11429 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11430 (arg1
)->SetMinimumSizeY(arg2
);
11431 wxPyEndAllowThreads(__tstate
);
11432 if (PyErr_Occurred()) SWIG_fail
;
11434 resultobj
= SWIG_Py_Void();
11441 SWIGINTERN PyObject
*_wrap_SashWindow_GetMinimumSizeX(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11442 PyObject
*resultobj
= 0;
11443 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
11447 PyObject
*swig_obj
[1] ;
11449 if (!args
) SWIG_fail
;
11450 swig_obj
[0] = args
;
11451 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSashWindow
, 0 | 0 );
11452 if (!SWIG_IsOK(res1
)) {
11453 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashWindow_GetMinimumSizeX" "', expected argument " "1"" of type '" "wxSashWindow const *""'");
11455 arg1
= reinterpret_cast< wxSashWindow
* >(argp1
);
11457 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11458 result
= (int)((wxSashWindow
const *)arg1
)->GetMinimumSizeX();
11459 wxPyEndAllowThreads(__tstate
);
11460 if (PyErr_Occurred()) SWIG_fail
;
11462 resultobj
= SWIG_From_int(static_cast< int >(result
));
11469 SWIGINTERN PyObject
*_wrap_SashWindow_GetMinimumSizeY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11470 PyObject
*resultobj
= 0;
11471 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
11475 PyObject
*swig_obj
[1] ;
11477 if (!args
) SWIG_fail
;
11478 swig_obj
[0] = args
;
11479 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSashWindow
, 0 | 0 );
11480 if (!SWIG_IsOK(res1
)) {
11481 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashWindow_GetMinimumSizeY" "', expected argument " "1"" of type '" "wxSashWindow const *""'");
11483 arg1
= reinterpret_cast< wxSashWindow
* >(argp1
);
11485 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11486 result
= (int)((wxSashWindow
const *)arg1
)->GetMinimumSizeY();
11487 wxPyEndAllowThreads(__tstate
);
11488 if (PyErr_Occurred()) SWIG_fail
;
11490 resultobj
= SWIG_From_int(static_cast< int >(result
));
11497 SWIGINTERN PyObject
*_wrap_SashWindow_SetMaximumSizeX(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11498 PyObject
*resultobj
= 0;
11499 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
11505 PyObject
* obj0
= 0 ;
11506 PyObject
* obj1
= 0 ;
11507 char * kwnames
[] = {
11508 (char *) "self",(char *) "max", NULL
11511 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_SetMaximumSizeX",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11512 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSashWindow
, 0 | 0 );
11513 if (!SWIG_IsOK(res1
)) {
11514 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashWindow_SetMaximumSizeX" "', expected argument " "1"" of type '" "wxSashWindow *""'");
11516 arg1
= reinterpret_cast< wxSashWindow
* >(argp1
);
11517 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11518 if (!SWIG_IsOK(ecode2
)) {
11519 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SashWindow_SetMaximumSizeX" "', expected argument " "2"" of type '" "int""'");
11521 arg2
= static_cast< int >(val2
);
11523 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11524 (arg1
)->SetMaximumSizeX(arg2
);
11525 wxPyEndAllowThreads(__tstate
);
11526 if (PyErr_Occurred()) SWIG_fail
;
11528 resultobj
= SWIG_Py_Void();
11535 SWIGINTERN PyObject
*_wrap_SashWindow_SetMaximumSizeY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11536 PyObject
*resultobj
= 0;
11537 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
11543 PyObject
* obj0
= 0 ;
11544 PyObject
* obj1
= 0 ;
11545 char * kwnames
[] = {
11546 (char *) "self",(char *) "max", NULL
11549 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_SetMaximumSizeY",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11550 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSashWindow
, 0 | 0 );
11551 if (!SWIG_IsOK(res1
)) {
11552 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashWindow_SetMaximumSizeY" "', expected argument " "1"" of type '" "wxSashWindow *""'");
11554 arg1
= reinterpret_cast< wxSashWindow
* >(argp1
);
11555 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11556 if (!SWIG_IsOK(ecode2
)) {
11557 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SashWindow_SetMaximumSizeY" "', expected argument " "2"" of type '" "int""'");
11559 arg2
= static_cast< int >(val2
);
11561 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11562 (arg1
)->SetMaximumSizeY(arg2
);
11563 wxPyEndAllowThreads(__tstate
);
11564 if (PyErr_Occurred()) SWIG_fail
;
11566 resultobj
= SWIG_Py_Void();
11573 SWIGINTERN PyObject
*_wrap_SashWindow_GetMaximumSizeX(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11574 PyObject
*resultobj
= 0;
11575 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
11579 PyObject
*swig_obj
[1] ;
11581 if (!args
) SWIG_fail
;
11582 swig_obj
[0] = args
;
11583 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSashWindow
, 0 | 0 );
11584 if (!SWIG_IsOK(res1
)) {
11585 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashWindow_GetMaximumSizeX" "', expected argument " "1"" of type '" "wxSashWindow const *""'");
11587 arg1
= reinterpret_cast< wxSashWindow
* >(argp1
);
11589 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11590 result
= (int)((wxSashWindow
const *)arg1
)->GetMaximumSizeX();
11591 wxPyEndAllowThreads(__tstate
);
11592 if (PyErr_Occurred()) SWIG_fail
;
11594 resultobj
= SWIG_From_int(static_cast< int >(result
));
11601 SWIGINTERN PyObject
*_wrap_SashWindow_GetMaximumSizeY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11602 PyObject
*resultobj
= 0;
11603 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
11607 PyObject
*swig_obj
[1] ;
11609 if (!args
) SWIG_fail
;
11610 swig_obj
[0] = args
;
11611 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSashWindow
, 0 | 0 );
11612 if (!SWIG_IsOK(res1
)) {
11613 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashWindow_GetMaximumSizeY" "', expected argument " "1"" of type '" "wxSashWindow const *""'");
11615 arg1
= reinterpret_cast< wxSashWindow
* >(argp1
);
11617 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11618 result
= (int)((wxSashWindow
const *)arg1
)->GetMaximumSizeY();
11619 wxPyEndAllowThreads(__tstate
);
11620 if (PyErr_Occurred()) SWIG_fail
;
11622 resultobj
= SWIG_From_int(static_cast< int >(result
));
11629 SWIGINTERN PyObject
*_wrap_SashWindow_SashHitTest(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11630 PyObject
*resultobj
= 0;
11631 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
11634 int arg4
= (int) 2 ;
11635 wxSashEdgePosition result
;
11644 PyObject
* obj0
= 0 ;
11645 PyObject
* obj1
= 0 ;
11646 PyObject
* obj2
= 0 ;
11647 PyObject
* obj3
= 0 ;
11648 char * kwnames
[] = {
11649 (char *) "self",(char *) "x",(char *) "y",(char *) "tolerance", NULL
11652 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:SashWindow_SashHitTest",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
11653 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSashWindow
, 0 | 0 );
11654 if (!SWIG_IsOK(res1
)) {
11655 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashWindow_SashHitTest" "', expected argument " "1"" of type '" "wxSashWindow *""'");
11657 arg1
= reinterpret_cast< wxSashWindow
* >(argp1
);
11658 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11659 if (!SWIG_IsOK(ecode2
)) {
11660 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SashWindow_SashHitTest" "', expected argument " "2"" of type '" "int""'");
11662 arg2
= static_cast< int >(val2
);
11663 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
11664 if (!SWIG_IsOK(ecode3
)) {
11665 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "SashWindow_SashHitTest" "', expected argument " "3"" of type '" "int""'");
11667 arg3
= static_cast< int >(val3
);
11669 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
11670 if (!SWIG_IsOK(ecode4
)) {
11671 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "SashWindow_SashHitTest" "', expected argument " "4"" of type '" "int""'");
11673 arg4
= static_cast< int >(val4
);
11676 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11677 result
= (wxSashEdgePosition
)(arg1
)->SashHitTest(arg2
,arg3
,arg4
);
11678 wxPyEndAllowThreads(__tstate
);
11679 if (PyErr_Occurred()) SWIG_fail
;
11681 resultobj
= SWIG_From_int(static_cast< int >(result
));
11688 SWIGINTERN PyObject
*_wrap_SashWindow_SizeWindows(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11689 PyObject
*resultobj
= 0;
11690 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
11693 PyObject
*swig_obj
[1] ;
11695 if (!args
) SWIG_fail
;
11696 swig_obj
[0] = args
;
11697 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSashWindow
, 0 | 0 );
11698 if (!SWIG_IsOK(res1
)) {
11699 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashWindow_SizeWindows" "', expected argument " "1"" of type '" "wxSashWindow *""'");
11701 arg1
= reinterpret_cast< wxSashWindow
* >(argp1
);
11703 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11704 (arg1
)->SizeWindows();
11705 wxPyEndAllowThreads(__tstate
);
11706 if (PyErr_Occurred()) SWIG_fail
;
11708 resultobj
= SWIG_Py_Void();
11715 SWIGINTERN PyObject
*SashWindow_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11717 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
11718 SWIG_TypeNewClientData(SWIGTYPE_p_wxSashWindow
, SWIG_NewClientData(obj
));
11719 return SWIG_Py_Void();
11722 SWIGINTERN PyObject
*SashWindow_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11723 return SWIG_Python_InitShadowInstance(args
);
11726 SWIGINTERN PyObject
*_wrap_new_SashEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11727 PyObject
*resultobj
= 0;
11728 int arg1
= (int) 0 ;
11729 wxSashEdgePosition arg2
= (wxSashEdgePosition
) wxSASH_NONE
;
11730 wxSashEvent
*result
= 0 ;
11735 PyObject
* obj0
= 0 ;
11736 PyObject
* obj1
= 0 ;
11737 char * kwnames
[] = {
11738 (char *) "id",(char *) "edge", NULL
11741 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_SashEvent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11743 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
11744 if (!SWIG_IsOK(ecode1
)) {
11745 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_SashEvent" "', expected argument " "1"" of type '" "int""'");
11747 arg1
= static_cast< int >(val1
);
11750 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11751 if (!SWIG_IsOK(ecode2
)) {
11752 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_SashEvent" "', expected argument " "2"" of type '" "wxSashEdgePosition""'");
11754 arg2
= static_cast< wxSashEdgePosition
>(val2
);
11757 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11758 result
= (wxSashEvent
*)new wxSashEvent(arg1
,arg2
);
11759 wxPyEndAllowThreads(__tstate
);
11760 if (PyErr_Occurred()) SWIG_fail
;
11762 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSashEvent
, SWIG_POINTER_NEW
| 0 );
11769 SWIGINTERN PyObject
*_wrap_SashEvent_SetEdge(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11770 PyObject
*resultobj
= 0;
11771 wxSashEvent
*arg1
= (wxSashEvent
*) 0 ;
11772 wxSashEdgePosition arg2
;
11777 PyObject
* obj0
= 0 ;
11778 PyObject
* obj1
= 0 ;
11779 char * kwnames
[] = {
11780 (char *) "self",(char *) "edge", NULL
11783 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashEvent_SetEdge",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11784 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSashEvent
, 0 | 0 );
11785 if (!SWIG_IsOK(res1
)) {
11786 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashEvent_SetEdge" "', expected argument " "1"" of type '" "wxSashEvent *""'");
11788 arg1
= reinterpret_cast< wxSashEvent
* >(argp1
);
11789 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11790 if (!SWIG_IsOK(ecode2
)) {
11791 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SashEvent_SetEdge" "', expected argument " "2"" of type '" "wxSashEdgePosition""'");
11793 arg2
= static_cast< wxSashEdgePosition
>(val2
);
11795 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11796 (arg1
)->SetEdge(arg2
);
11797 wxPyEndAllowThreads(__tstate
);
11798 if (PyErr_Occurred()) SWIG_fail
;
11800 resultobj
= SWIG_Py_Void();
11807 SWIGINTERN PyObject
*_wrap_SashEvent_GetEdge(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11808 PyObject
*resultobj
= 0;
11809 wxSashEvent
*arg1
= (wxSashEvent
*) 0 ;
11810 wxSashEdgePosition result
;
11813 PyObject
*swig_obj
[1] ;
11815 if (!args
) SWIG_fail
;
11816 swig_obj
[0] = args
;
11817 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSashEvent
, 0 | 0 );
11818 if (!SWIG_IsOK(res1
)) {
11819 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashEvent_GetEdge" "', expected argument " "1"" of type '" "wxSashEvent const *""'");
11821 arg1
= reinterpret_cast< wxSashEvent
* >(argp1
);
11823 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11824 result
= (wxSashEdgePosition
)((wxSashEvent
const *)arg1
)->GetEdge();
11825 wxPyEndAllowThreads(__tstate
);
11826 if (PyErr_Occurred()) SWIG_fail
;
11828 resultobj
= SWIG_From_int(static_cast< int >(result
));
11835 SWIGINTERN PyObject
*_wrap_SashEvent_SetDragRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11836 PyObject
*resultobj
= 0;
11837 wxSashEvent
*arg1
= (wxSashEvent
*) 0 ;
11842 PyObject
* obj0
= 0 ;
11843 PyObject
* obj1
= 0 ;
11844 char * kwnames
[] = {
11845 (char *) "self",(char *) "rect", NULL
11848 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashEvent_SetDragRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11849 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSashEvent
, 0 | 0 );
11850 if (!SWIG_IsOK(res1
)) {
11851 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashEvent_SetDragRect" "', expected argument " "1"" of type '" "wxSashEvent *""'");
11853 arg1
= reinterpret_cast< wxSashEvent
* >(argp1
);
11856 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
11859 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11860 (arg1
)->SetDragRect((wxRect
const &)*arg2
);
11861 wxPyEndAllowThreads(__tstate
);
11862 if (PyErr_Occurred()) SWIG_fail
;
11864 resultobj
= SWIG_Py_Void();
11871 SWIGINTERN PyObject
*_wrap_SashEvent_GetDragRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11872 PyObject
*resultobj
= 0;
11873 wxSashEvent
*arg1
= (wxSashEvent
*) 0 ;
11877 PyObject
*swig_obj
[1] ;
11879 if (!args
) SWIG_fail
;
11880 swig_obj
[0] = args
;
11881 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSashEvent
, 0 | 0 );
11882 if (!SWIG_IsOK(res1
)) {
11883 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashEvent_GetDragRect" "', expected argument " "1"" of type '" "wxSashEvent const *""'");
11885 arg1
= reinterpret_cast< wxSashEvent
* >(argp1
);
11887 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11888 result
= ((wxSashEvent
const *)arg1
)->GetDragRect();
11889 wxPyEndAllowThreads(__tstate
);
11890 if (PyErr_Occurred()) SWIG_fail
;
11892 resultobj
= SWIG_NewPointerObj((new wxRect(static_cast< const wxRect
& >(result
))), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN
| 0 );
11899 SWIGINTERN PyObject
*_wrap_SashEvent_SetDragStatus(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11900 PyObject
*resultobj
= 0;
11901 wxSashEvent
*arg1
= (wxSashEvent
*) 0 ;
11902 wxSashDragStatus arg2
;
11907 PyObject
* obj0
= 0 ;
11908 PyObject
* obj1
= 0 ;
11909 char * kwnames
[] = {
11910 (char *) "self",(char *) "status", NULL
11913 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashEvent_SetDragStatus",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11914 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSashEvent
, 0 | 0 );
11915 if (!SWIG_IsOK(res1
)) {
11916 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashEvent_SetDragStatus" "', expected argument " "1"" of type '" "wxSashEvent *""'");
11918 arg1
= reinterpret_cast< wxSashEvent
* >(argp1
);
11919 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11920 if (!SWIG_IsOK(ecode2
)) {
11921 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SashEvent_SetDragStatus" "', expected argument " "2"" of type '" "wxSashDragStatus""'");
11923 arg2
= static_cast< wxSashDragStatus
>(val2
);
11925 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11926 (arg1
)->SetDragStatus(arg2
);
11927 wxPyEndAllowThreads(__tstate
);
11928 if (PyErr_Occurred()) SWIG_fail
;
11930 resultobj
= SWIG_Py_Void();
11937 SWIGINTERN PyObject
*_wrap_SashEvent_GetDragStatus(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11938 PyObject
*resultobj
= 0;
11939 wxSashEvent
*arg1
= (wxSashEvent
*) 0 ;
11940 wxSashDragStatus result
;
11943 PyObject
*swig_obj
[1] ;
11945 if (!args
) SWIG_fail
;
11946 swig_obj
[0] = args
;
11947 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSashEvent
, 0 | 0 );
11948 if (!SWIG_IsOK(res1
)) {
11949 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashEvent_GetDragStatus" "', expected argument " "1"" of type '" "wxSashEvent const *""'");
11951 arg1
= reinterpret_cast< wxSashEvent
* >(argp1
);
11953 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11954 result
= (wxSashDragStatus
)((wxSashEvent
const *)arg1
)->GetDragStatus();
11955 wxPyEndAllowThreads(__tstate
);
11956 if (PyErr_Occurred()) SWIG_fail
;
11958 resultobj
= SWIG_From_int(static_cast< int >(result
));
11965 SWIGINTERN PyObject
*SashEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11967 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
11968 SWIG_TypeNewClientData(SWIGTYPE_p_wxSashEvent
, SWIG_NewClientData(obj
));
11969 return SWIG_Py_Void();
11972 SWIGINTERN PyObject
*SashEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11973 return SWIG_Python_InitShadowInstance(args
);
11976 SWIGINTERN PyObject
*_wrap_new_QueryLayoutInfoEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11977 PyObject
*resultobj
= 0;
11978 int arg1
= (int) 0 ;
11979 wxQueryLayoutInfoEvent
*result
= 0 ;
11982 PyObject
* obj0
= 0 ;
11983 char * kwnames
[] = {
11984 (char *) "id", NULL
11987 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_QueryLayoutInfoEvent",kwnames
,&obj0
)) SWIG_fail
;
11989 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
11990 if (!SWIG_IsOK(ecode1
)) {
11991 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_QueryLayoutInfoEvent" "', expected argument " "1"" of type '" "int""'");
11993 arg1
= static_cast< int >(val1
);
11996 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11997 result
= (wxQueryLayoutInfoEvent
*)new wxQueryLayoutInfoEvent(arg1
);
11998 wxPyEndAllowThreads(__tstate
);
11999 if (PyErr_Occurred()) SWIG_fail
;
12001 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxQueryLayoutInfoEvent
, SWIG_POINTER_NEW
| 0 );
12008 SWIGINTERN PyObject
*_wrap_QueryLayoutInfoEvent_SetRequestedLength(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12009 PyObject
*resultobj
= 0;
12010 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
12016 PyObject
* obj0
= 0 ;
12017 PyObject
* obj1
= 0 ;
12018 char * kwnames
[] = {
12019 (char *) "self",(char *) "length", NULL
12022 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:QueryLayoutInfoEvent_SetRequestedLength",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12023 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxQueryLayoutInfoEvent
, 0 | 0 );
12024 if (!SWIG_IsOK(res1
)) {
12025 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "QueryLayoutInfoEvent_SetRequestedLength" "', expected argument " "1"" of type '" "wxQueryLayoutInfoEvent *""'");
12027 arg1
= reinterpret_cast< wxQueryLayoutInfoEvent
* >(argp1
);
12028 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
12029 if (!SWIG_IsOK(ecode2
)) {
12030 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "QueryLayoutInfoEvent_SetRequestedLength" "', expected argument " "2"" of type '" "int""'");
12032 arg2
= static_cast< int >(val2
);
12034 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12035 (arg1
)->SetRequestedLength(arg2
);
12036 wxPyEndAllowThreads(__tstate
);
12037 if (PyErr_Occurred()) SWIG_fail
;
12039 resultobj
= SWIG_Py_Void();
12046 SWIGINTERN PyObject
*_wrap_QueryLayoutInfoEvent_GetRequestedLength(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12047 PyObject
*resultobj
= 0;
12048 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
12052 PyObject
*swig_obj
[1] ;
12054 if (!args
) SWIG_fail
;
12055 swig_obj
[0] = args
;
12056 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxQueryLayoutInfoEvent
, 0 | 0 );
12057 if (!SWIG_IsOK(res1
)) {
12058 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "QueryLayoutInfoEvent_GetRequestedLength" "', expected argument " "1"" of type '" "wxQueryLayoutInfoEvent const *""'");
12060 arg1
= reinterpret_cast< wxQueryLayoutInfoEvent
* >(argp1
);
12062 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12063 result
= (int)((wxQueryLayoutInfoEvent
const *)arg1
)->GetRequestedLength();
12064 wxPyEndAllowThreads(__tstate
);
12065 if (PyErr_Occurred()) SWIG_fail
;
12067 resultobj
= SWIG_From_int(static_cast< int >(result
));
12074 SWIGINTERN PyObject
*_wrap_QueryLayoutInfoEvent_SetFlags(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12075 PyObject
*resultobj
= 0;
12076 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
12082 PyObject
* obj0
= 0 ;
12083 PyObject
* obj1
= 0 ;
12084 char * kwnames
[] = {
12085 (char *) "self",(char *) "flags", NULL
12088 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:QueryLayoutInfoEvent_SetFlags",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12089 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxQueryLayoutInfoEvent
, 0 | 0 );
12090 if (!SWIG_IsOK(res1
)) {
12091 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "QueryLayoutInfoEvent_SetFlags" "', expected argument " "1"" of type '" "wxQueryLayoutInfoEvent *""'");
12093 arg1
= reinterpret_cast< wxQueryLayoutInfoEvent
* >(argp1
);
12094 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
12095 if (!SWIG_IsOK(ecode2
)) {
12096 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "QueryLayoutInfoEvent_SetFlags" "', expected argument " "2"" of type '" "int""'");
12098 arg2
= static_cast< int >(val2
);
12100 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12101 (arg1
)->SetFlags(arg2
);
12102 wxPyEndAllowThreads(__tstate
);
12103 if (PyErr_Occurred()) SWIG_fail
;
12105 resultobj
= SWIG_Py_Void();
12112 SWIGINTERN PyObject
*_wrap_QueryLayoutInfoEvent_GetFlags(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12113 PyObject
*resultobj
= 0;
12114 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
12118 PyObject
*swig_obj
[1] ;
12120 if (!args
) SWIG_fail
;
12121 swig_obj
[0] = args
;
12122 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxQueryLayoutInfoEvent
, 0 | 0 );
12123 if (!SWIG_IsOK(res1
)) {
12124 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "QueryLayoutInfoEvent_GetFlags" "', expected argument " "1"" of type '" "wxQueryLayoutInfoEvent const *""'");
12126 arg1
= reinterpret_cast< wxQueryLayoutInfoEvent
* >(argp1
);
12128 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12129 result
= (int)((wxQueryLayoutInfoEvent
const *)arg1
)->GetFlags();
12130 wxPyEndAllowThreads(__tstate
);
12131 if (PyErr_Occurred()) SWIG_fail
;
12133 resultobj
= SWIG_From_int(static_cast< int >(result
));
12140 SWIGINTERN PyObject
*_wrap_QueryLayoutInfoEvent_SetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12141 PyObject
*resultobj
= 0;
12142 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
12147 PyObject
* obj0
= 0 ;
12148 PyObject
* obj1
= 0 ;
12149 char * kwnames
[] = {
12150 (char *) "self",(char *) "size", NULL
12153 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:QueryLayoutInfoEvent_SetSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12154 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxQueryLayoutInfoEvent
, 0 | 0 );
12155 if (!SWIG_IsOK(res1
)) {
12156 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "QueryLayoutInfoEvent_SetSize" "', expected argument " "1"" of type '" "wxQueryLayoutInfoEvent *""'");
12158 arg1
= reinterpret_cast< wxQueryLayoutInfoEvent
* >(argp1
);
12161 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
12164 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12165 (arg1
)->SetSize((wxSize
const &)*arg2
);
12166 wxPyEndAllowThreads(__tstate
);
12167 if (PyErr_Occurred()) SWIG_fail
;
12169 resultobj
= SWIG_Py_Void();
12176 SWIGINTERN PyObject
*_wrap_QueryLayoutInfoEvent_GetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12177 PyObject
*resultobj
= 0;
12178 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
12182 PyObject
*swig_obj
[1] ;
12184 if (!args
) SWIG_fail
;
12185 swig_obj
[0] = args
;
12186 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxQueryLayoutInfoEvent
, 0 | 0 );
12187 if (!SWIG_IsOK(res1
)) {
12188 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "QueryLayoutInfoEvent_GetSize" "', expected argument " "1"" of type '" "wxQueryLayoutInfoEvent const *""'");
12190 arg1
= reinterpret_cast< wxQueryLayoutInfoEvent
* >(argp1
);
12192 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12193 result
= ((wxQueryLayoutInfoEvent
const *)arg1
)->GetSize();
12194 wxPyEndAllowThreads(__tstate
);
12195 if (PyErr_Occurred()) SWIG_fail
;
12197 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
12204 SWIGINTERN PyObject
*_wrap_QueryLayoutInfoEvent_SetOrientation(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12205 PyObject
*resultobj
= 0;
12206 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
12207 wxLayoutOrientation arg2
;
12212 PyObject
* obj0
= 0 ;
12213 PyObject
* obj1
= 0 ;
12214 char * kwnames
[] = {
12215 (char *) "self",(char *) "orient", NULL
12218 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:QueryLayoutInfoEvent_SetOrientation",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12219 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxQueryLayoutInfoEvent
, 0 | 0 );
12220 if (!SWIG_IsOK(res1
)) {
12221 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "QueryLayoutInfoEvent_SetOrientation" "', expected argument " "1"" of type '" "wxQueryLayoutInfoEvent *""'");
12223 arg1
= reinterpret_cast< wxQueryLayoutInfoEvent
* >(argp1
);
12224 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
12225 if (!SWIG_IsOK(ecode2
)) {
12226 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "QueryLayoutInfoEvent_SetOrientation" "', expected argument " "2"" of type '" "wxLayoutOrientation""'");
12228 arg2
= static_cast< wxLayoutOrientation
>(val2
);
12230 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12231 (arg1
)->SetOrientation(arg2
);
12232 wxPyEndAllowThreads(__tstate
);
12233 if (PyErr_Occurred()) SWIG_fail
;
12235 resultobj
= SWIG_Py_Void();
12242 SWIGINTERN PyObject
*_wrap_QueryLayoutInfoEvent_GetOrientation(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12243 PyObject
*resultobj
= 0;
12244 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
12245 wxLayoutOrientation result
;
12248 PyObject
*swig_obj
[1] ;
12250 if (!args
) SWIG_fail
;
12251 swig_obj
[0] = args
;
12252 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxQueryLayoutInfoEvent
, 0 | 0 );
12253 if (!SWIG_IsOK(res1
)) {
12254 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "QueryLayoutInfoEvent_GetOrientation" "', expected argument " "1"" of type '" "wxQueryLayoutInfoEvent const *""'");
12256 arg1
= reinterpret_cast< wxQueryLayoutInfoEvent
* >(argp1
);
12258 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12259 result
= (wxLayoutOrientation
)((wxQueryLayoutInfoEvent
const *)arg1
)->GetOrientation();
12260 wxPyEndAllowThreads(__tstate
);
12261 if (PyErr_Occurred()) SWIG_fail
;
12263 resultobj
= SWIG_From_int(static_cast< int >(result
));
12270 SWIGINTERN PyObject
*_wrap_QueryLayoutInfoEvent_SetAlignment(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12271 PyObject
*resultobj
= 0;
12272 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
12273 wxLayoutAlignment arg2
;
12278 PyObject
* obj0
= 0 ;
12279 PyObject
* obj1
= 0 ;
12280 char * kwnames
[] = {
12281 (char *) "self",(char *) "align", NULL
12284 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:QueryLayoutInfoEvent_SetAlignment",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12285 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxQueryLayoutInfoEvent
, 0 | 0 );
12286 if (!SWIG_IsOK(res1
)) {
12287 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "QueryLayoutInfoEvent_SetAlignment" "', expected argument " "1"" of type '" "wxQueryLayoutInfoEvent *""'");
12289 arg1
= reinterpret_cast< wxQueryLayoutInfoEvent
* >(argp1
);
12290 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
12291 if (!SWIG_IsOK(ecode2
)) {
12292 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "QueryLayoutInfoEvent_SetAlignment" "', expected argument " "2"" of type '" "wxLayoutAlignment""'");
12294 arg2
= static_cast< wxLayoutAlignment
>(val2
);
12296 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12297 (arg1
)->SetAlignment(arg2
);
12298 wxPyEndAllowThreads(__tstate
);
12299 if (PyErr_Occurred()) SWIG_fail
;
12301 resultobj
= SWIG_Py_Void();
12308 SWIGINTERN PyObject
*_wrap_QueryLayoutInfoEvent_GetAlignment(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12309 PyObject
*resultobj
= 0;
12310 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
12311 wxLayoutAlignment result
;
12314 PyObject
*swig_obj
[1] ;
12316 if (!args
) SWIG_fail
;
12317 swig_obj
[0] = args
;
12318 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxQueryLayoutInfoEvent
, 0 | 0 );
12319 if (!SWIG_IsOK(res1
)) {
12320 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "QueryLayoutInfoEvent_GetAlignment" "', expected argument " "1"" of type '" "wxQueryLayoutInfoEvent const *""'");
12322 arg1
= reinterpret_cast< wxQueryLayoutInfoEvent
* >(argp1
);
12324 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12325 result
= (wxLayoutAlignment
)((wxQueryLayoutInfoEvent
const *)arg1
)->GetAlignment();
12326 wxPyEndAllowThreads(__tstate
);
12327 if (PyErr_Occurred()) SWIG_fail
;
12329 resultobj
= SWIG_From_int(static_cast< int >(result
));
12336 SWIGINTERN PyObject
*QueryLayoutInfoEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12338 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
12339 SWIG_TypeNewClientData(SWIGTYPE_p_wxQueryLayoutInfoEvent
, SWIG_NewClientData(obj
));
12340 return SWIG_Py_Void();
12343 SWIGINTERN PyObject
*QueryLayoutInfoEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12344 return SWIG_Python_InitShadowInstance(args
);
12347 SWIGINTERN PyObject
*_wrap_new_CalculateLayoutEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12348 PyObject
*resultobj
= 0;
12349 int arg1
= (int) 0 ;
12350 wxCalculateLayoutEvent
*result
= 0 ;
12353 PyObject
* obj0
= 0 ;
12354 char * kwnames
[] = {
12355 (char *) "id", NULL
12358 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_CalculateLayoutEvent",kwnames
,&obj0
)) SWIG_fail
;
12360 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
12361 if (!SWIG_IsOK(ecode1
)) {
12362 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_CalculateLayoutEvent" "', expected argument " "1"" of type '" "int""'");
12364 arg1
= static_cast< int >(val1
);
12367 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12368 result
= (wxCalculateLayoutEvent
*)new wxCalculateLayoutEvent(arg1
);
12369 wxPyEndAllowThreads(__tstate
);
12370 if (PyErr_Occurred()) SWIG_fail
;
12372 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxCalculateLayoutEvent
, SWIG_POINTER_NEW
| 0 );
12379 SWIGINTERN PyObject
*_wrap_CalculateLayoutEvent_SetFlags(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12380 PyObject
*resultobj
= 0;
12381 wxCalculateLayoutEvent
*arg1
= (wxCalculateLayoutEvent
*) 0 ;
12387 PyObject
* obj0
= 0 ;
12388 PyObject
* obj1
= 0 ;
12389 char * kwnames
[] = {
12390 (char *) "self",(char *) "flags", NULL
12393 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CalculateLayoutEvent_SetFlags",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12394 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxCalculateLayoutEvent
, 0 | 0 );
12395 if (!SWIG_IsOK(res1
)) {
12396 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CalculateLayoutEvent_SetFlags" "', expected argument " "1"" of type '" "wxCalculateLayoutEvent *""'");
12398 arg1
= reinterpret_cast< wxCalculateLayoutEvent
* >(argp1
);
12399 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
12400 if (!SWIG_IsOK(ecode2
)) {
12401 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "CalculateLayoutEvent_SetFlags" "', expected argument " "2"" of type '" "int""'");
12403 arg2
= static_cast< int >(val2
);
12405 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12406 (arg1
)->SetFlags(arg2
);
12407 wxPyEndAllowThreads(__tstate
);
12408 if (PyErr_Occurred()) SWIG_fail
;
12410 resultobj
= SWIG_Py_Void();
12417 SWIGINTERN PyObject
*_wrap_CalculateLayoutEvent_GetFlags(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12418 PyObject
*resultobj
= 0;
12419 wxCalculateLayoutEvent
*arg1
= (wxCalculateLayoutEvent
*) 0 ;
12423 PyObject
*swig_obj
[1] ;
12425 if (!args
) SWIG_fail
;
12426 swig_obj
[0] = args
;
12427 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCalculateLayoutEvent
, 0 | 0 );
12428 if (!SWIG_IsOK(res1
)) {
12429 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CalculateLayoutEvent_GetFlags" "', expected argument " "1"" of type '" "wxCalculateLayoutEvent const *""'");
12431 arg1
= reinterpret_cast< wxCalculateLayoutEvent
* >(argp1
);
12433 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12434 result
= (int)((wxCalculateLayoutEvent
const *)arg1
)->GetFlags();
12435 wxPyEndAllowThreads(__tstate
);
12436 if (PyErr_Occurred()) SWIG_fail
;
12438 resultobj
= SWIG_From_int(static_cast< int >(result
));
12445 SWIGINTERN PyObject
*_wrap_CalculateLayoutEvent_SetRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12446 PyObject
*resultobj
= 0;
12447 wxCalculateLayoutEvent
*arg1
= (wxCalculateLayoutEvent
*) 0 ;
12452 PyObject
* obj0
= 0 ;
12453 PyObject
* obj1
= 0 ;
12454 char * kwnames
[] = {
12455 (char *) "self",(char *) "rect", NULL
12458 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CalculateLayoutEvent_SetRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12459 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxCalculateLayoutEvent
, 0 | 0 );
12460 if (!SWIG_IsOK(res1
)) {
12461 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CalculateLayoutEvent_SetRect" "', expected argument " "1"" of type '" "wxCalculateLayoutEvent *""'");
12463 arg1
= reinterpret_cast< wxCalculateLayoutEvent
* >(argp1
);
12466 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
12469 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12470 (arg1
)->SetRect((wxRect
const &)*arg2
);
12471 wxPyEndAllowThreads(__tstate
);
12472 if (PyErr_Occurred()) SWIG_fail
;
12474 resultobj
= SWIG_Py_Void();
12481 SWIGINTERN PyObject
*_wrap_CalculateLayoutEvent_GetRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12482 PyObject
*resultobj
= 0;
12483 wxCalculateLayoutEvent
*arg1
= (wxCalculateLayoutEvent
*) 0 ;
12487 PyObject
*swig_obj
[1] ;
12489 if (!args
) SWIG_fail
;
12490 swig_obj
[0] = args
;
12491 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCalculateLayoutEvent
, 0 | 0 );
12492 if (!SWIG_IsOK(res1
)) {
12493 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CalculateLayoutEvent_GetRect" "', expected argument " "1"" of type '" "wxCalculateLayoutEvent const *""'");
12495 arg1
= reinterpret_cast< wxCalculateLayoutEvent
* >(argp1
);
12497 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12498 result
= ((wxCalculateLayoutEvent
const *)arg1
)->GetRect();
12499 wxPyEndAllowThreads(__tstate
);
12500 if (PyErr_Occurred()) SWIG_fail
;
12502 resultobj
= SWIG_NewPointerObj((new wxRect(static_cast< const wxRect
& >(result
))), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN
| 0 );
12509 SWIGINTERN PyObject
*CalculateLayoutEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12511 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
12512 SWIG_TypeNewClientData(SWIGTYPE_p_wxCalculateLayoutEvent
, SWIG_NewClientData(obj
));
12513 return SWIG_Py_Void();
12516 SWIGINTERN PyObject
*CalculateLayoutEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12517 return SWIG_Python_InitShadowInstance(args
);
12520 SWIGINTERN PyObject
*_wrap_new_SashLayoutWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12521 PyObject
*resultobj
= 0;
12522 wxWindow
*arg1
= (wxWindow
*) 0 ;
12523 int arg2
= (int) -1 ;
12524 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
12525 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
12526 wxSize
const &arg4_defvalue
= wxDefaultSize
;
12527 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
12528 long arg5
= (long) wxCLIP_CHILDREN
|wxSW_3D
;
12529 wxString
const &arg6_defvalue
= wxPySashLayoutNameStr
;
12530 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
12531 wxSashLayoutWindow
*result
= 0 ;
12540 bool temp6
= false ;
12541 PyObject
* obj0
= 0 ;
12542 PyObject
* obj1
= 0 ;
12543 PyObject
* obj2
= 0 ;
12544 PyObject
* obj3
= 0 ;
12545 PyObject
* obj4
= 0 ;
12546 PyObject
* obj5
= 0 ;
12547 char * kwnames
[] = {
12548 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
12551 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_SashLayoutWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
12552 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
12553 if (!SWIG_IsOK(res1
)) {
12554 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_SashLayoutWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
12556 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
12558 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
12559 if (!SWIG_IsOK(ecode2
)) {
12560 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_SashLayoutWindow" "', expected argument " "2"" of type '" "int""'");
12562 arg2
= static_cast< int >(val2
);
12567 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
12573 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
12577 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
12578 if (!SWIG_IsOK(ecode5
)) {
12579 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_SashLayoutWindow" "', expected argument " "5"" of type '" "long""'");
12581 arg5
= static_cast< long >(val5
);
12585 arg6
= wxString_in_helper(obj5
);
12586 if (arg6
== NULL
) SWIG_fail
;
12591 if (!wxPyCheckForApp()) SWIG_fail
;
12592 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12593 result
= (wxSashLayoutWindow
*)new wxSashLayoutWindow(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
12594 wxPyEndAllowThreads(__tstate
);
12595 if (PyErr_Occurred()) SWIG_fail
;
12597 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSashLayoutWindow
, SWIG_POINTER_NEW
| 0 );
12612 SWIGINTERN PyObject
*_wrap_new_PreSashLayoutWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12613 PyObject
*resultobj
= 0;
12614 wxSashLayoutWindow
*result
= 0 ;
12616 if (!SWIG_Python_UnpackTuple(args
,"new_PreSashLayoutWindow",0,0,0)) SWIG_fail
;
12618 if (!wxPyCheckForApp()) SWIG_fail
;
12619 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12620 result
= (wxSashLayoutWindow
*)new wxSashLayoutWindow();
12621 wxPyEndAllowThreads(__tstate
);
12622 if (PyErr_Occurred()) SWIG_fail
;
12624 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSashLayoutWindow
, SWIG_POINTER_OWN
| 0 );
12631 SWIGINTERN PyObject
*_wrap_SashLayoutWindow_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12632 PyObject
*resultobj
= 0;
12633 wxSashLayoutWindow
*arg1
= (wxSashLayoutWindow
*) 0 ;
12634 wxWindow
*arg2
= (wxWindow
*) 0 ;
12635 int arg3
= (int) -1 ;
12636 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
12637 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
12638 wxSize
const &arg5_defvalue
= wxDefaultSize
;
12639 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
12640 long arg6
= (long) wxCLIP_CHILDREN
|wxSW_3D
;
12641 wxString
const &arg7_defvalue
= wxPySashLayoutNameStr
;
12642 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
12654 bool temp7
= false ;
12655 PyObject
* obj0
= 0 ;
12656 PyObject
* obj1
= 0 ;
12657 PyObject
* obj2
= 0 ;
12658 PyObject
* obj3
= 0 ;
12659 PyObject
* obj4
= 0 ;
12660 PyObject
* obj5
= 0 ;
12661 PyObject
* obj6
= 0 ;
12662 char * kwnames
[] = {
12663 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
12666 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:SashLayoutWindow_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
12667 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSashLayoutWindow
, 0 | 0 );
12668 if (!SWIG_IsOK(res1
)) {
12669 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashLayoutWindow_Create" "', expected argument " "1"" of type '" "wxSashLayoutWindow *""'");
12671 arg1
= reinterpret_cast< wxSashLayoutWindow
* >(argp1
);
12672 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
12673 if (!SWIG_IsOK(res2
)) {
12674 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "SashLayoutWindow_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
12676 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
12678 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
12679 if (!SWIG_IsOK(ecode3
)) {
12680 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "SashLayoutWindow_Create" "', expected argument " "3"" of type '" "int""'");
12682 arg3
= static_cast< int >(val3
);
12687 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
12693 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
12697 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
12698 if (!SWIG_IsOK(ecode6
)) {
12699 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "SashLayoutWindow_Create" "', expected argument " "6"" of type '" "long""'");
12701 arg6
= static_cast< long >(val6
);
12705 arg7
= wxString_in_helper(obj6
);
12706 if (arg7
== NULL
) SWIG_fail
;
12711 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12712 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
12713 wxPyEndAllowThreads(__tstate
);
12714 if (PyErr_Occurred()) SWIG_fail
;
12717 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12733 SWIGINTERN PyObject
*_wrap_SashLayoutWindow_GetAlignment(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12734 PyObject
*resultobj
= 0;
12735 wxSashLayoutWindow
*arg1
= (wxSashLayoutWindow
*) 0 ;
12736 wxLayoutAlignment result
;
12739 PyObject
*swig_obj
[1] ;
12741 if (!args
) SWIG_fail
;
12742 swig_obj
[0] = args
;
12743 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSashLayoutWindow
, 0 | 0 );
12744 if (!SWIG_IsOK(res1
)) {
12745 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashLayoutWindow_GetAlignment" "', expected argument " "1"" of type '" "wxSashLayoutWindow *""'");
12747 arg1
= reinterpret_cast< wxSashLayoutWindow
* >(argp1
);
12749 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12750 result
= (wxLayoutAlignment
)(arg1
)->GetAlignment();
12751 wxPyEndAllowThreads(__tstate
);
12752 if (PyErr_Occurred()) SWIG_fail
;
12754 resultobj
= SWIG_From_int(static_cast< int >(result
));
12761 SWIGINTERN PyObject
*_wrap_SashLayoutWindow_GetOrientation(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12762 PyObject
*resultobj
= 0;
12763 wxSashLayoutWindow
*arg1
= (wxSashLayoutWindow
*) 0 ;
12764 wxLayoutOrientation result
;
12767 PyObject
*swig_obj
[1] ;
12769 if (!args
) SWIG_fail
;
12770 swig_obj
[0] = args
;
12771 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSashLayoutWindow
, 0 | 0 );
12772 if (!SWIG_IsOK(res1
)) {
12773 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashLayoutWindow_GetOrientation" "', expected argument " "1"" of type '" "wxSashLayoutWindow *""'");
12775 arg1
= reinterpret_cast< wxSashLayoutWindow
* >(argp1
);
12777 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12778 result
= (wxLayoutOrientation
)(arg1
)->GetOrientation();
12779 wxPyEndAllowThreads(__tstate
);
12780 if (PyErr_Occurred()) SWIG_fail
;
12782 resultobj
= SWIG_From_int(static_cast< int >(result
));
12789 SWIGINTERN PyObject
*_wrap_SashLayoutWindow_SetAlignment(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12790 PyObject
*resultobj
= 0;
12791 wxSashLayoutWindow
*arg1
= (wxSashLayoutWindow
*) 0 ;
12792 wxLayoutAlignment arg2
;
12797 PyObject
* obj0
= 0 ;
12798 PyObject
* obj1
= 0 ;
12799 char * kwnames
[] = {
12800 (char *) "self",(char *) "alignment", NULL
12803 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashLayoutWindow_SetAlignment",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12804 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSashLayoutWindow
, 0 | 0 );
12805 if (!SWIG_IsOK(res1
)) {
12806 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashLayoutWindow_SetAlignment" "', expected argument " "1"" of type '" "wxSashLayoutWindow *""'");
12808 arg1
= reinterpret_cast< wxSashLayoutWindow
* >(argp1
);
12809 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
12810 if (!SWIG_IsOK(ecode2
)) {
12811 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SashLayoutWindow_SetAlignment" "', expected argument " "2"" of type '" "wxLayoutAlignment""'");
12813 arg2
= static_cast< wxLayoutAlignment
>(val2
);
12815 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12816 (arg1
)->SetAlignment(arg2
);
12817 wxPyEndAllowThreads(__tstate
);
12818 if (PyErr_Occurred()) SWIG_fail
;
12820 resultobj
= SWIG_Py_Void();
12827 SWIGINTERN PyObject
*_wrap_SashLayoutWindow_SetDefaultSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12828 PyObject
*resultobj
= 0;
12829 wxSashLayoutWindow
*arg1
= (wxSashLayoutWindow
*) 0 ;
12834 PyObject
* obj0
= 0 ;
12835 PyObject
* obj1
= 0 ;
12836 char * kwnames
[] = {
12837 (char *) "self",(char *) "size", NULL
12840 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashLayoutWindow_SetDefaultSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12841 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSashLayoutWindow
, 0 | 0 );
12842 if (!SWIG_IsOK(res1
)) {
12843 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashLayoutWindow_SetDefaultSize" "', expected argument " "1"" of type '" "wxSashLayoutWindow *""'");
12845 arg1
= reinterpret_cast< wxSashLayoutWindow
* >(argp1
);
12848 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
12851 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12852 (arg1
)->SetDefaultSize((wxSize
const &)*arg2
);
12853 wxPyEndAllowThreads(__tstate
);
12854 if (PyErr_Occurred()) SWIG_fail
;
12856 resultobj
= SWIG_Py_Void();
12863 SWIGINTERN PyObject
*_wrap_SashLayoutWindow_SetOrientation(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12864 PyObject
*resultobj
= 0;
12865 wxSashLayoutWindow
*arg1
= (wxSashLayoutWindow
*) 0 ;
12866 wxLayoutOrientation arg2
;
12871 PyObject
* obj0
= 0 ;
12872 PyObject
* obj1
= 0 ;
12873 char * kwnames
[] = {
12874 (char *) "self",(char *) "orientation", NULL
12877 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashLayoutWindow_SetOrientation",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12878 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSashLayoutWindow
, 0 | 0 );
12879 if (!SWIG_IsOK(res1
)) {
12880 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashLayoutWindow_SetOrientation" "', expected argument " "1"" of type '" "wxSashLayoutWindow *""'");
12882 arg1
= reinterpret_cast< wxSashLayoutWindow
* >(argp1
);
12883 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
12884 if (!SWIG_IsOK(ecode2
)) {
12885 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SashLayoutWindow_SetOrientation" "', expected argument " "2"" of type '" "wxLayoutOrientation""'");
12887 arg2
= static_cast< wxLayoutOrientation
>(val2
);
12889 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12890 (arg1
)->SetOrientation(arg2
);
12891 wxPyEndAllowThreads(__tstate
);
12892 if (PyErr_Occurred()) SWIG_fail
;
12894 resultobj
= SWIG_Py_Void();
12901 SWIGINTERN PyObject
*SashLayoutWindow_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12903 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
12904 SWIG_TypeNewClientData(SWIGTYPE_p_wxSashLayoutWindow
, SWIG_NewClientData(obj
));
12905 return SWIG_Py_Void();
12908 SWIGINTERN PyObject
*SashLayoutWindow_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12909 return SWIG_Python_InitShadowInstance(args
);
12912 SWIGINTERN PyObject
*_wrap_new_LayoutAlgorithm(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12913 PyObject
*resultobj
= 0;
12914 wxLayoutAlgorithm
*result
= 0 ;
12916 if (!SWIG_Python_UnpackTuple(args
,"new_LayoutAlgorithm",0,0,0)) SWIG_fail
;
12918 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12919 result
= (wxLayoutAlgorithm
*)new wxLayoutAlgorithm();
12920 wxPyEndAllowThreads(__tstate
);
12921 if (PyErr_Occurred()) SWIG_fail
;
12923 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxLayoutAlgorithm
, SWIG_POINTER_NEW
| 0 );
12930 SWIGINTERN PyObject
*_wrap_delete_LayoutAlgorithm(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12931 PyObject
*resultobj
= 0;
12932 wxLayoutAlgorithm
*arg1
= (wxLayoutAlgorithm
*) 0 ;
12935 PyObject
*swig_obj
[1] ;
12937 if (!args
) SWIG_fail
;
12938 swig_obj
[0] = args
;
12939 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLayoutAlgorithm
, SWIG_POINTER_DISOWN
| 0 );
12940 if (!SWIG_IsOK(res1
)) {
12941 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_LayoutAlgorithm" "', expected argument " "1"" of type '" "wxLayoutAlgorithm *""'");
12943 arg1
= reinterpret_cast< wxLayoutAlgorithm
* >(argp1
);
12945 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12948 wxPyEndAllowThreads(__tstate
);
12949 if (PyErr_Occurred()) SWIG_fail
;
12951 resultobj
= SWIG_Py_Void();
12958 SWIGINTERN PyObject
*_wrap_LayoutAlgorithm_LayoutMDIFrame(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12959 PyObject
*resultobj
= 0;
12960 wxLayoutAlgorithm
*arg1
= (wxLayoutAlgorithm
*) 0 ;
12961 wxMDIParentFrame
*arg2
= (wxMDIParentFrame
*) 0 ;
12962 wxRect
*arg3
= (wxRect
*) NULL
;
12970 PyObject
* obj0
= 0 ;
12971 PyObject
* obj1
= 0 ;
12972 PyObject
* obj2
= 0 ;
12973 char * kwnames
[] = {
12974 (char *) "self",(char *) "frame",(char *) "rect", NULL
12977 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:LayoutAlgorithm_LayoutMDIFrame",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
12978 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxLayoutAlgorithm
, 0 | 0 );
12979 if (!SWIG_IsOK(res1
)) {
12980 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "LayoutAlgorithm_LayoutMDIFrame" "', expected argument " "1"" of type '" "wxLayoutAlgorithm *""'");
12982 arg1
= reinterpret_cast< wxLayoutAlgorithm
* >(argp1
);
12983 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxMDIParentFrame
, 0 | 0 );
12984 if (!SWIG_IsOK(res2
)) {
12985 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "LayoutAlgorithm_LayoutMDIFrame" "', expected argument " "2"" of type '" "wxMDIParentFrame *""'");
12987 arg2
= reinterpret_cast< wxMDIParentFrame
* >(argp2
);
12989 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxRect
, 0 | 0 );
12990 if (!SWIG_IsOK(res3
)) {
12991 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "LayoutAlgorithm_LayoutMDIFrame" "', expected argument " "3"" of type '" "wxRect *""'");
12993 arg3
= reinterpret_cast< wxRect
* >(argp3
);
12996 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12997 result
= (bool)(arg1
)->LayoutMDIFrame(arg2
,arg3
);
12998 wxPyEndAllowThreads(__tstate
);
12999 if (PyErr_Occurred()) SWIG_fail
;
13002 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13010 SWIGINTERN PyObject
*_wrap_LayoutAlgorithm_LayoutFrame(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13011 PyObject
*resultobj
= 0;
13012 wxLayoutAlgorithm
*arg1
= (wxLayoutAlgorithm
*) 0 ;
13013 wxFrame
*arg2
= (wxFrame
*) 0 ;
13014 wxWindow
*arg3
= (wxWindow
*) NULL
;
13022 PyObject
* obj0
= 0 ;
13023 PyObject
* obj1
= 0 ;
13024 PyObject
* obj2
= 0 ;
13025 char * kwnames
[] = {
13026 (char *) "self",(char *) "frame",(char *) "mainWindow", NULL
13029 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:LayoutAlgorithm_LayoutFrame",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
13030 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxLayoutAlgorithm
, 0 | 0 );
13031 if (!SWIG_IsOK(res1
)) {
13032 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "LayoutAlgorithm_LayoutFrame" "', expected argument " "1"" of type '" "wxLayoutAlgorithm *""'");
13034 arg1
= reinterpret_cast< wxLayoutAlgorithm
* >(argp1
);
13035 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxFrame
, 0 | 0 );
13036 if (!SWIG_IsOK(res2
)) {
13037 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "LayoutAlgorithm_LayoutFrame" "', expected argument " "2"" of type '" "wxFrame *""'");
13039 arg2
= reinterpret_cast< wxFrame
* >(argp2
);
13041 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxWindow
, 0 | 0 );
13042 if (!SWIG_IsOK(res3
)) {
13043 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "LayoutAlgorithm_LayoutFrame" "', expected argument " "3"" of type '" "wxWindow *""'");
13045 arg3
= reinterpret_cast< wxWindow
* >(argp3
);
13048 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13049 result
= (bool)(arg1
)->LayoutFrame(arg2
,arg3
);
13050 wxPyEndAllowThreads(__tstate
);
13051 if (PyErr_Occurred()) SWIG_fail
;
13054 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13062 SWIGINTERN PyObject
*_wrap_LayoutAlgorithm_LayoutWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13063 PyObject
*resultobj
= 0;
13064 wxLayoutAlgorithm
*arg1
= (wxLayoutAlgorithm
*) 0 ;
13065 wxWindow
*arg2
= (wxWindow
*) 0 ;
13066 wxWindow
*arg3
= (wxWindow
*) NULL
;
13074 PyObject
* obj0
= 0 ;
13075 PyObject
* obj1
= 0 ;
13076 PyObject
* obj2
= 0 ;
13077 char * kwnames
[] = {
13078 (char *) "self",(char *) "parent",(char *) "mainWindow", NULL
13081 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:LayoutAlgorithm_LayoutWindow",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
13082 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxLayoutAlgorithm
, 0 | 0 );
13083 if (!SWIG_IsOK(res1
)) {
13084 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "LayoutAlgorithm_LayoutWindow" "', expected argument " "1"" of type '" "wxLayoutAlgorithm *""'");
13086 arg1
= reinterpret_cast< wxLayoutAlgorithm
* >(argp1
);
13087 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
13088 if (!SWIG_IsOK(res2
)) {
13089 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "LayoutAlgorithm_LayoutWindow" "', expected argument " "2"" of type '" "wxWindow *""'");
13091 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
13093 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxWindow
, 0 | 0 );
13094 if (!SWIG_IsOK(res3
)) {
13095 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "LayoutAlgorithm_LayoutWindow" "', expected argument " "3"" of type '" "wxWindow *""'");
13097 arg3
= reinterpret_cast< wxWindow
* >(argp3
);
13100 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13101 result
= (bool)(arg1
)->LayoutWindow(arg2
,arg3
);
13102 wxPyEndAllowThreads(__tstate
);
13103 if (PyErr_Occurred()) SWIG_fail
;
13106 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13114 SWIGINTERN PyObject
*LayoutAlgorithm_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13116 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
13117 SWIG_TypeNewClientData(SWIGTYPE_p_wxLayoutAlgorithm
, SWIG_NewClientData(obj
));
13118 return SWIG_Py_Void();
13121 SWIGINTERN PyObject
*LayoutAlgorithm_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13122 return SWIG_Python_InitShadowInstance(args
);
13125 SWIGINTERN PyObject
*_wrap_new_PopupWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13126 PyObject
*resultobj
= 0;
13127 wxWindow
*arg1
= (wxWindow
*) 0 ;
13128 int arg2
= (int) wxBORDER_NONE
;
13129 wxPopupWindow
*result
= 0 ;
13134 PyObject
* obj0
= 0 ;
13135 PyObject
* obj1
= 0 ;
13136 char * kwnames
[] = {
13137 (char *) "parent",(char *) "flags", NULL
13140 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_PopupWindow",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13141 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
13142 if (!SWIG_IsOK(res1
)) {
13143 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PopupWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
13145 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
13147 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
13148 if (!SWIG_IsOK(ecode2
)) {
13149 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_PopupWindow" "', expected argument " "2"" of type '" "int""'");
13151 arg2
= static_cast< int >(val2
);
13154 if (!wxPyCheckForApp()) SWIG_fail
;
13155 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13156 result
= (wxPopupWindow
*)new wxPopupWindow(arg1
,arg2
);
13157 wxPyEndAllowThreads(__tstate
);
13158 if (PyErr_Occurred()) SWIG_fail
;
13160 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPopupWindow
, SWIG_POINTER_NEW
| 0 );
13167 SWIGINTERN PyObject
*_wrap_new_PrePopupWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13168 PyObject
*resultobj
= 0;
13169 wxPopupWindow
*result
= 0 ;
13171 if (!SWIG_Python_UnpackTuple(args
,"new_PrePopupWindow",0,0,0)) SWIG_fail
;
13173 if (!wxPyCheckForApp()) SWIG_fail
;
13174 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13175 result
= (wxPopupWindow
*)new wxPopupWindow();
13176 wxPyEndAllowThreads(__tstate
);
13177 if (PyErr_Occurred()) SWIG_fail
;
13179 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPopupWindow
, SWIG_POINTER_OWN
| 0 );
13186 SWIGINTERN PyObject
*_wrap_PopupWindow_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13187 PyObject
*resultobj
= 0;
13188 wxPopupWindow
*arg1
= (wxPopupWindow
*) 0 ;
13189 wxWindow
*arg2
= (wxWindow
*) 0 ;
13190 int arg3
= (int) wxBORDER_NONE
;
13198 PyObject
* obj0
= 0 ;
13199 PyObject
* obj1
= 0 ;
13200 PyObject
* obj2
= 0 ;
13201 char * kwnames
[] = {
13202 (char *) "self",(char *) "parent",(char *) "flags", NULL
13205 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:PopupWindow_Create",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
13206 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPopupWindow
, 0 | 0 );
13207 if (!SWIG_IsOK(res1
)) {
13208 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PopupWindow_Create" "', expected argument " "1"" of type '" "wxPopupWindow *""'");
13210 arg1
= reinterpret_cast< wxPopupWindow
* >(argp1
);
13211 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
13212 if (!SWIG_IsOK(res2
)) {
13213 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PopupWindow_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
13215 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
13217 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
13218 if (!SWIG_IsOK(ecode3
)) {
13219 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PopupWindow_Create" "', expected argument " "3"" of type '" "int""'");
13221 arg3
= static_cast< int >(val3
);
13224 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13225 result
= (bool)(arg1
)->Create(arg2
,arg3
);
13226 wxPyEndAllowThreads(__tstate
);
13227 if (PyErr_Occurred()) SWIG_fail
;
13230 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13238 SWIGINTERN PyObject
*_wrap_PopupWindow_Position(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13239 PyObject
*resultobj
= 0;
13240 wxPopupWindow
*arg1
= (wxPopupWindow
*) 0 ;
13241 wxPoint
*arg2
= 0 ;
13247 PyObject
* obj0
= 0 ;
13248 PyObject
* obj1
= 0 ;
13249 PyObject
* obj2
= 0 ;
13250 char * kwnames
[] = {
13251 (char *) "self",(char *) "ptOrigin",(char *) "size", NULL
13254 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PopupWindow_Position",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
13255 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPopupWindow
, 0 | 0 );
13256 if (!SWIG_IsOK(res1
)) {
13257 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PopupWindow_Position" "', expected argument " "1"" of type '" "wxPopupWindow *""'");
13259 arg1
= reinterpret_cast< wxPopupWindow
* >(argp1
);
13262 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
13266 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
13269 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13270 (arg1
)->Position((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
);
13271 wxPyEndAllowThreads(__tstate
);
13272 if (PyErr_Occurred()) SWIG_fail
;
13274 resultobj
= SWIG_Py_Void();
13281 SWIGINTERN PyObject
*PopupWindow_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13283 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
13284 SWIG_TypeNewClientData(SWIGTYPE_p_wxPopupWindow
, SWIG_NewClientData(obj
));
13285 return SWIG_Py_Void();
13288 SWIGINTERN PyObject
*PopupWindow_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13289 return SWIG_Python_InitShadowInstance(args
);
13292 SWIGINTERN PyObject
*_wrap_new_PopupTransientWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13293 PyObject
*resultobj
= 0;
13294 wxWindow
*arg1
= (wxWindow
*) 0 ;
13295 int arg2
= (int) wxBORDER_NONE
;
13296 wxPyPopupTransientWindow
*result
= 0 ;
13301 PyObject
* obj0
= 0 ;
13302 PyObject
* obj1
= 0 ;
13303 char * kwnames
[] = {
13304 (char *) "parent",(char *) "style", NULL
13307 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_PopupTransientWindow",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13308 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
13309 if (!SWIG_IsOK(res1
)) {
13310 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PopupTransientWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
13312 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
13314 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
13315 if (!SWIG_IsOK(ecode2
)) {
13316 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_PopupTransientWindow" "', expected argument " "2"" of type '" "int""'");
13318 arg2
= static_cast< int >(val2
);
13321 if (!wxPyCheckForApp()) SWIG_fail
;
13322 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13323 result
= (wxPyPopupTransientWindow
*)new wxPyPopupTransientWindow(arg1
,arg2
);
13324 wxPyEndAllowThreads(__tstate
);
13325 if (PyErr_Occurred()) SWIG_fail
;
13327 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyPopupTransientWindow
, SWIG_POINTER_NEW
| 0 );
13334 SWIGINTERN PyObject
*_wrap_new_PrePopupTransientWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13335 PyObject
*resultobj
= 0;
13336 wxPyPopupTransientWindow
*result
= 0 ;
13338 if (!SWIG_Python_UnpackTuple(args
,"new_PrePopupTransientWindow",0,0,0)) SWIG_fail
;
13340 if (!wxPyCheckForApp()) SWIG_fail
;
13341 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13342 result
= (wxPyPopupTransientWindow
*)new wxPyPopupTransientWindow();
13343 wxPyEndAllowThreads(__tstate
);
13344 if (PyErr_Occurred()) SWIG_fail
;
13346 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyPopupTransientWindow
, SWIG_POINTER_OWN
| 0 );
13353 SWIGINTERN PyObject
*_wrap_PopupTransientWindow__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13354 PyObject
*resultobj
= 0;
13355 wxPyPopupTransientWindow
*arg1
= (wxPyPopupTransientWindow
*) 0 ;
13356 PyObject
*arg2
= (PyObject
*) 0 ;
13357 PyObject
*arg3
= (PyObject
*) 0 ;
13360 PyObject
* obj0
= 0 ;
13361 PyObject
* obj1
= 0 ;
13362 PyObject
* obj2
= 0 ;
13363 char * kwnames
[] = {
13364 (char *) "self",(char *) "self",(char *) "_class", NULL
13367 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PopupTransientWindow__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
13368 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPopupTransientWindow
, 0 | 0 );
13369 if (!SWIG_IsOK(res1
)) {
13370 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PopupTransientWindow__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyPopupTransientWindow *""'");
13372 arg1
= reinterpret_cast< wxPyPopupTransientWindow
* >(argp1
);
13376 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13377 (arg1
)->_setCallbackInfo(arg2
,arg3
);
13378 wxPyEndAllowThreads(__tstate
);
13379 if (PyErr_Occurred()) SWIG_fail
;
13381 resultobj
= SWIG_Py_Void();
13388 SWIGINTERN PyObject
*_wrap_PopupTransientWindow_Popup(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13389 PyObject
*resultobj
= 0;
13390 wxPyPopupTransientWindow
*arg1
= (wxPyPopupTransientWindow
*) 0 ;
13391 wxWindow
*arg2
= (wxWindow
*) NULL
;
13396 PyObject
* obj0
= 0 ;
13397 PyObject
* obj1
= 0 ;
13398 char * kwnames
[] = {
13399 (char *) "self",(char *) "focus", NULL
13402 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:PopupTransientWindow_Popup",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13403 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPopupTransientWindow
, 0 | 0 );
13404 if (!SWIG_IsOK(res1
)) {
13405 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PopupTransientWindow_Popup" "', expected argument " "1"" of type '" "wxPyPopupTransientWindow *""'");
13407 arg1
= reinterpret_cast< wxPyPopupTransientWindow
* >(argp1
);
13409 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
13410 if (!SWIG_IsOK(res2
)) {
13411 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PopupTransientWindow_Popup" "', expected argument " "2"" of type '" "wxWindow *""'");
13413 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
13416 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13417 (arg1
)->Popup(arg2
);
13418 wxPyEndAllowThreads(__tstate
);
13419 if (PyErr_Occurred()) SWIG_fail
;
13421 resultobj
= SWIG_Py_Void();
13428 SWIGINTERN PyObject
*_wrap_PopupTransientWindow_Dismiss(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13429 PyObject
*resultobj
= 0;
13430 wxPyPopupTransientWindow
*arg1
= (wxPyPopupTransientWindow
*) 0 ;
13433 PyObject
*swig_obj
[1] ;
13435 if (!args
) SWIG_fail
;
13436 swig_obj
[0] = args
;
13437 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPopupTransientWindow
, 0 | 0 );
13438 if (!SWIG_IsOK(res1
)) {
13439 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PopupTransientWindow_Dismiss" "', expected argument " "1"" of type '" "wxPyPopupTransientWindow *""'");
13441 arg1
= reinterpret_cast< wxPyPopupTransientWindow
* >(argp1
);
13443 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13445 wxPyEndAllowThreads(__tstate
);
13446 if (PyErr_Occurred()) SWIG_fail
;
13448 resultobj
= SWIG_Py_Void();
13455 SWIGINTERN PyObject
*PopupTransientWindow_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13457 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
13458 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyPopupTransientWindow
, SWIG_NewClientData(obj
));
13459 return SWIG_Py_Void();
13462 SWIGINTERN PyObject
*PopupTransientWindow_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13463 return SWIG_Python_InitShadowInstance(args
);
13466 SWIGINTERN PyObject
*_wrap_new_TipWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13467 PyObject
*resultobj
= 0;
13468 wxWindow
*arg1
= (wxWindow
*) 0 ;
13469 wxString
*arg2
= 0 ;
13470 int arg3
= (int) 100 ;
13471 wxRect
*arg4
= (wxRect
*) NULL
;
13472 wxTipWindow
*result
= 0 ;
13475 bool temp2
= false ;
13480 PyObject
* obj0
= 0 ;
13481 PyObject
* obj1
= 0 ;
13482 PyObject
* obj2
= 0 ;
13483 PyObject
* obj3
= 0 ;
13484 char * kwnames
[] = {
13485 (char *) "parent",(char *) "text",(char *) "maxLength",(char *) "rectBound", NULL
13488 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:new_TipWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
13489 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
13490 if (!SWIG_IsOK(res1
)) {
13491 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_TipWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
13493 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
13495 arg2
= wxString_in_helper(obj1
);
13496 if (arg2
== NULL
) SWIG_fail
;
13500 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
13501 if (!SWIG_IsOK(ecode3
)) {
13502 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_TipWindow" "', expected argument " "3"" of type '" "int""'");
13504 arg3
= static_cast< int >(val3
);
13507 res4
= SWIG_ConvertPtr(obj3
, &argp4
,SWIGTYPE_p_wxRect
, 0 | 0 );
13508 if (!SWIG_IsOK(res4
)) {
13509 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "new_TipWindow" "', expected argument " "4"" of type '" "wxRect *""'");
13511 arg4
= reinterpret_cast< wxRect
* >(argp4
);
13514 if (!wxPyCheckForApp()) SWIG_fail
;
13515 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13516 result
= (wxTipWindow
*)new_wxTipWindow(arg1
,(wxString
const &)*arg2
,arg3
,arg4
);
13517 wxPyEndAllowThreads(__tstate
);
13518 if (PyErr_Occurred()) SWIG_fail
;
13520 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTipWindow
, SWIG_POINTER_NEW
| 0 );
13535 SWIGINTERN PyObject
*_wrap_TipWindow_SetBoundingRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13536 PyObject
*resultobj
= 0;
13537 wxTipWindow
*arg1
= (wxTipWindow
*) 0 ;
13542 PyObject
* obj0
= 0 ;
13543 PyObject
* obj1
= 0 ;
13544 char * kwnames
[] = {
13545 (char *) "self",(char *) "rectBound", NULL
13548 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TipWindow_SetBoundingRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13549 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTipWindow
, 0 | 0 );
13550 if (!SWIG_IsOK(res1
)) {
13551 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TipWindow_SetBoundingRect" "', expected argument " "1"" of type '" "wxTipWindow *""'");
13553 arg1
= reinterpret_cast< wxTipWindow
* >(argp1
);
13556 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
13559 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13560 (arg1
)->SetBoundingRect((wxRect
const &)*arg2
);
13561 wxPyEndAllowThreads(__tstate
);
13562 if (PyErr_Occurred()) SWIG_fail
;
13564 resultobj
= SWIG_Py_Void();
13571 SWIGINTERN PyObject
*_wrap_TipWindow_Close(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13572 PyObject
*resultobj
= 0;
13573 wxTipWindow
*arg1
= (wxTipWindow
*) 0 ;
13576 PyObject
*swig_obj
[1] ;
13578 if (!args
) SWIG_fail
;
13579 swig_obj
[0] = args
;
13580 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTipWindow
, 0 | 0 );
13581 if (!SWIG_IsOK(res1
)) {
13582 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TipWindow_Close" "', expected argument " "1"" of type '" "wxTipWindow *""'");
13584 arg1
= reinterpret_cast< wxTipWindow
* >(argp1
);
13586 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13588 wxPyEndAllowThreads(__tstate
);
13589 if (PyErr_Occurred()) SWIG_fail
;
13591 resultobj
= SWIG_Py_Void();
13598 SWIGINTERN PyObject
*TipWindow_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13600 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
13601 SWIG_TypeNewClientData(SWIGTYPE_p_wxTipWindow
, SWIG_NewClientData(obj
));
13602 return SWIG_Py_Void();
13605 SWIGINTERN PyObject
*TipWindow_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13606 return SWIG_Python_InitShadowInstance(args
);
13609 SWIGINTERN PyObject
*_wrap_new_VScrolledWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13610 PyObject
*resultobj
= 0;
13611 wxWindow
*arg1
= (wxWindow
*) 0 ;
13612 int arg2
= (int) wxID_ANY
;
13613 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
13614 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
13615 wxSize
const &arg4_defvalue
= wxDefaultSize
;
13616 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
13617 long arg5
= (long) 0 ;
13618 wxString
const &arg6_defvalue
= wxPyPanelNameStr
;
13619 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
13620 wxPyVScrolledWindow
*result
= 0 ;
13629 bool temp6
= false ;
13630 PyObject
* obj0
= 0 ;
13631 PyObject
* obj1
= 0 ;
13632 PyObject
* obj2
= 0 ;
13633 PyObject
* obj3
= 0 ;
13634 PyObject
* obj4
= 0 ;
13635 PyObject
* obj5
= 0 ;
13636 char * kwnames
[] = {
13637 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
13640 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_VScrolledWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
13641 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
13642 if (!SWIG_IsOK(res1
)) {
13643 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_VScrolledWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
13645 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
13647 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
13648 if (!SWIG_IsOK(ecode2
)) {
13649 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_VScrolledWindow" "', expected argument " "2"" of type '" "int""'");
13651 arg2
= static_cast< int >(val2
);
13656 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
13662 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
13666 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
13667 if (!SWIG_IsOK(ecode5
)) {
13668 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_VScrolledWindow" "', expected argument " "5"" of type '" "long""'");
13670 arg5
= static_cast< long >(val5
);
13674 arg6
= wxString_in_helper(obj5
);
13675 if (arg6
== NULL
) SWIG_fail
;
13680 if (!wxPyCheckForApp()) SWIG_fail
;
13681 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13682 result
= (wxPyVScrolledWindow
*)new wxPyVScrolledWindow(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
13683 wxPyEndAllowThreads(__tstate
);
13684 if (PyErr_Occurred()) SWIG_fail
;
13686 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyVScrolledWindow
, SWIG_POINTER_NEW
| 0 );
13701 SWIGINTERN PyObject
*_wrap_new_PreVScrolledWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13702 PyObject
*resultobj
= 0;
13703 wxPyVScrolledWindow
*result
= 0 ;
13705 if (!SWIG_Python_UnpackTuple(args
,"new_PreVScrolledWindow",0,0,0)) SWIG_fail
;
13707 if (!wxPyCheckForApp()) SWIG_fail
;
13708 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13709 result
= (wxPyVScrolledWindow
*)new wxPyVScrolledWindow();
13710 wxPyEndAllowThreads(__tstate
);
13711 if (PyErr_Occurred()) SWIG_fail
;
13713 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyVScrolledWindow
, SWIG_POINTER_OWN
| 0 );
13720 SWIGINTERN PyObject
*_wrap_VScrolledWindow__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13721 PyObject
*resultobj
= 0;
13722 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
13723 PyObject
*arg2
= (PyObject
*) 0 ;
13724 PyObject
*arg3
= (PyObject
*) 0 ;
13727 PyObject
* obj0
= 0 ;
13728 PyObject
* obj1
= 0 ;
13729 PyObject
* obj2
= 0 ;
13730 char * kwnames
[] = {
13731 (char *) "self",(char *) "self",(char *) "_class", NULL
13734 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:VScrolledWindow__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
13735 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVScrolledWindow
, 0 | 0 );
13736 if (!SWIG_IsOK(res1
)) {
13737 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VScrolledWindow__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyVScrolledWindow *""'");
13739 arg1
= reinterpret_cast< wxPyVScrolledWindow
* >(argp1
);
13743 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13744 (arg1
)->_setCallbackInfo(arg2
,arg3
);
13745 wxPyEndAllowThreads(__tstate
);
13746 if (PyErr_Occurred()) SWIG_fail
;
13748 resultobj
= SWIG_Py_Void();
13755 SWIGINTERN PyObject
*_wrap_VScrolledWindow_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13756 PyObject
*resultobj
= 0;
13757 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
13758 wxWindow
*arg2
= (wxWindow
*) 0 ;
13759 int arg3
= (int) wxID_ANY
;
13760 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
13761 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
13762 wxSize
const &arg5_defvalue
= wxDefaultSize
;
13763 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
13764 long arg6
= (long) 0 ;
13765 wxString
const &arg7_defvalue
= wxPyPanelNameStr
;
13766 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
13778 bool temp7
= false ;
13779 PyObject
* obj0
= 0 ;
13780 PyObject
* obj1
= 0 ;
13781 PyObject
* obj2
= 0 ;
13782 PyObject
* obj3
= 0 ;
13783 PyObject
* obj4
= 0 ;
13784 PyObject
* obj5
= 0 ;
13785 PyObject
* obj6
= 0 ;
13786 char * kwnames
[] = {
13787 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
13790 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:VScrolledWindow_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
13791 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVScrolledWindow
, 0 | 0 );
13792 if (!SWIG_IsOK(res1
)) {
13793 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VScrolledWindow_Create" "', expected argument " "1"" of type '" "wxPyVScrolledWindow *""'");
13795 arg1
= reinterpret_cast< wxPyVScrolledWindow
* >(argp1
);
13796 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
13797 if (!SWIG_IsOK(res2
)) {
13798 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "VScrolledWindow_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
13800 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
13802 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
13803 if (!SWIG_IsOK(ecode3
)) {
13804 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "VScrolledWindow_Create" "', expected argument " "3"" of type '" "int""'");
13806 arg3
= static_cast< int >(val3
);
13811 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
13817 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
13821 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
13822 if (!SWIG_IsOK(ecode6
)) {
13823 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "VScrolledWindow_Create" "', expected argument " "6"" of type '" "long""'");
13825 arg6
= static_cast< long >(val6
);
13829 arg7
= wxString_in_helper(obj6
);
13830 if (arg7
== NULL
) SWIG_fail
;
13835 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13836 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
13837 wxPyEndAllowThreads(__tstate
);
13838 if (PyErr_Occurred()) SWIG_fail
;
13841 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13857 SWIGINTERN PyObject
*_wrap_VScrolledWindow_SetLineCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13858 PyObject
*resultobj
= 0;
13859 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
13865 PyObject
* obj0
= 0 ;
13866 PyObject
* obj1
= 0 ;
13867 char * kwnames
[] = {
13868 (char *) "self",(char *) "count", NULL
13871 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VScrolledWindow_SetLineCount",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13872 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVScrolledWindow
, 0 | 0 );
13873 if (!SWIG_IsOK(res1
)) {
13874 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VScrolledWindow_SetLineCount" "', expected argument " "1"" of type '" "wxPyVScrolledWindow *""'");
13876 arg1
= reinterpret_cast< wxPyVScrolledWindow
* >(argp1
);
13877 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
13878 if (!SWIG_IsOK(ecode2
)) {
13879 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "VScrolledWindow_SetLineCount" "', expected argument " "2"" of type '" "size_t""'");
13881 arg2
= static_cast< size_t >(val2
);
13883 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13884 (arg1
)->SetLineCount(arg2
);
13885 wxPyEndAllowThreads(__tstate
);
13886 if (PyErr_Occurred()) SWIG_fail
;
13888 resultobj
= SWIG_Py_Void();
13895 SWIGINTERN PyObject
*_wrap_VScrolledWindow_ScrollToLine(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13896 PyObject
*resultobj
= 0;
13897 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
13904 PyObject
* obj0
= 0 ;
13905 PyObject
* obj1
= 0 ;
13906 char * kwnames
[] = {
13907 (char *) "self",(char *) "line", NULL
13910 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VScrolledWindow_ScrollToLine",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13911 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVScrolledWindow
, 0 | 0 );
13912 if (!SWIG_IsOK(res1
)) {
13913 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VScrolledWindow_ScrollToLine" "', expected argument " "1"" of type '" "wxPyVScrolledWindow *""'");
13915 arg1
= reinterpret_cast< wxPyVScrolledWindow
* >(argp1
);
13916 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
13917 if (!SWIG_IsOK(ecode2
)) {
13918 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "VScrolledWindow_ScrollToLine" "', expected argument " "2"" of type '" "size_t""'");
13920 arg2
= static_cast< size_t >(val2
);
13922 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13923 result
= (bool)(arg1
)->ScrollToLine(arg2
);
13924 wxPyEndAllowThreads(__tstate
);
13925 if (PyErr_Occurred()) SWIG_fail
;
13928 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13936 SWIGINTERN PyObject
*_wrap_VScrolledWindow_RefreshLine(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13937 PyObject
*resultobj
= 0;
13938 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
13944 PyObject
* obj0
= 0 ;
13945 PyObject
* obj1
= 0 ;
13946 char * kwnames
[] = {
13947 (char *) "self",(char *) "line", NULL
13950 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VScrolledWindow_RefreshLine",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13951 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVScrolledWindow
, 0 | 0 );
13952 if (!SWIG_IsOK(res1
)) {
13953 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VScrolledWindow_RefreshLine" "', expected argument " "1"" of type '" "wxPyVScrolledWindow *""'");
13955 arg1
= reinterpret_cast< wxPyVScrolledWindow
* >(argp1
);
13956 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
13957 if (!SWIG_IsOK(ecode2
)) {
13958 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "VScrolledWindow_RefreshLine" "', expected argument " "2"" of type '" "size_t""'");
13960 arg2
= static_cast< size_t >(val2
);
13962 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13963 (arg1
)->RefreshLine(arg2
);
13964 wxPyEndAllowThreads(__tstate
);
13965 if (PyErr_Occurred()) SWIG_fail
;
13967 resultobj
= SWIG_Py_Void();
13974 SWIGINTERN PyObject
*_wrap_VScrolledWindow_RefreshLines(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13975 PyObject
*resultobj
= 0;
13976 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
13985 PyObject
* obj0
= 0 ;
13986 PyObject
* obj1
= 0 ;
13987 PyObject
* obj2
= 0 ;
13988 char * kwnames
[] = {
13989 (char *) "self",(char *) "from",(char *) "to", NULL
13992 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:VScrolledWindow_RefreshLines",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
13993 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVScrolledWindow
, 0 | 0 );
13994 if (!SWIG_IsOK(res1
)) {
13995 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VScrolledWindow_RefreshLines" "', expected argument " "1"" of type '" "wxPyVScrolledWindow *""'");
13997 arg1
= reinterpret_cast< wxPyVScrolledWindow
* >(argp1
);
13998 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
13999 if (!SWIG_IsOK(ecode2
)) {
14000 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "VScrolledWindow_RefreshLines" "', expected argument " "2"" of type '" "size_t""'");
14002 arg2
= static_cast< size_t >(val2
);
14003 ecode3
= SWIG_AsVal_size_t(obj2
, &val3
);
14004 if (!SWIG_IsOK(ecode3
)) {
14005 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "VScrolledWindow_RefreshLines" "', expected argument " "3"" of type '" "size_t""'");
14007 arg3
= static_cast< size_t >(val3
);
14009 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14010 (arg1
)->RefreshLines(arg2
,arg3
);
14011 wxPyEndAllowThreads(__tstate
);
14012 if (PyErr_Occurred()) SWIG_fail
;
14014 resultobj
= SWIG_Py_Void();
14021 SWIGINTERN PyObject
*_wrap_VScrolledWindow_HitTestXY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14022 PyObject
*resultobj
= 0;
14023 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
14033 PyObject
* obj0
= 0 ;
14034 PyObject
* obj1
= 0 ;
14035 PyObject
* obj2
= 0 ;
14036 char * kwnames
[] = {
14037 (char *) "self",(char *) "x",(char *) "y", NULL
14040 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:VScrolledWindow_HitTestXY",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
14041 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVScrolledWindow
, 0 | 0 );
14042 if (!SWIG_IsOK(res1
)) {
14043 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VScrolledWindow_HitTestXY" "', expected argument " "1"" of type '" "wxPyVScrolledWindow const *""'");
14045 arg1
= reinterpret_cast< wxPyVScrolledWindow
* >(argp1
);
14046 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
14047 if (!SWIG_IsOK(ecode2
)) {
14048 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "VScrolledWindow_HitTestXY" "', expected argument " "2"" of type '" "int""'");
14050 arg2
= static_cast< int >(val2
);
14051 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
14052 if (!SWIG_IsOK(ecode3
)) {
14053 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "VScrolledWindow_HitTestXY" "', expected argument " "3"" of type '" "int""'");
14055 arg3
= static_cast< int >(val3
);
14057 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14058 result
= (int)((wxPyVScrolledWindow
const *)arg1
)->HitTest(arg2
,arg3
);
14059 wxPyEndAllowThreads(__tstate
);
14060 if (PyErr_Occurred()) SWIG_fail
;
14062 resultobj
= SWIG_From_int(static_cast< int >(result
));
14069 SWIGINTERN PyObject
*_wrap_VScrolledWindow_HitTest(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14070 PyObject
*resultobj
= 0;
14071 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
14072 wxPoint
*arg2
= 0 ;
14077 PyObject
* obj0
= 0 ;
14078 PyObject
* obj1
= 0 ;
14079 char * kwnames
[] = {
14080 (char *) "self",(char *) "pt", NULL
14083 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VScrolledWindow_HitTest",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14084 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVScrolledWindow
, 0 | 0 );
14085 if (!SWIG_IsOK(res1
)) {
14086 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VScrolledWindow_HitTest" "', expected argument " "1"" of type '" "wxPyVScrolledWindow const *""'");
14088 arg1
= reinterpret_cast< wxPyVScrolledWindow
* >(argp1
);
14091 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
14094 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14095 result
= (int)((wxPyVScrolledWindow
const *)arg1
)->HitTest((wxPoint
const &)*arg2
);
14096 wxPyEndAllowThreads(__tstate
);
14097 if (PyErr_Occurred()) SWIG_fail
;
14099 resultobj
= SWIG_From_int(static_cast< int >(result
));
14106 SWIGINTERN PyObject
*_wrap_VScrolledWindow_RefreshAll(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14107 PyObject
*resultobj
= 0;
14108 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
14111 PyObject
*swig_obj
[1] ;
14113 if (!args
) SWIG_fail
;
14114 swig_obj
[0] = args
;
14115 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyVScrolledWindow
, 0 | 0 );
14116 if (!SWIG_IsOK(res1
)) {
14117 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VScrolledWindow_RefreshAll" "', expected argument " "1"" of type '" "wxPyVScrolledWindow *""'");
14119 arg1
= reinterpret_cast< wxPyVScrolledWindow
* >(argp1
);
14121 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14122 (arg1
)->RefreshAll();
14123 wxPyEndAllowThreads(__tstate
);
14124 if (PyErr_Occurred()) SWIG_fail
;
14126 resultobj
= SWIG_Py_Void();
14133 SWIGINTERN PyObject
*_wrap_VScrolledWindow_GetLineCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14134 PyObject
*resultobj
= 0;
14135 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
14139 PyObject
*swig_obj
[1] ;
14141 if (!args
) SWIG_fail
;
14142 swig_obj
[0] = args
;
14143 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyVScrolledWindow
, 0 | 0 );
14144 if (!SWIG_IsOK(res1
)) {
14145 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VScrolledWindow_GetLineCount" "', expected argument " "1"" of type '" "wxPyVScrolledWindow const *""'");
14147 arg1
= reinterpret_cast< wxPyVScrolledWindow
* >(argp1
);
14149 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14150 result
= (size_t)((wxPyVScrolledWindow
const *)arg1
)->GetLineCount();
14151 wxPyEndAllowThreads(__tstate
);
14152 if (PyErr_Occurred()) SWIG_fail
;
14154 resultobj
= SWIG_From_size_t(static_cast< size_t >(result
));
14161 SWIGINTERN PyObject
*_wrap_VScrolledWindow_GetVisibleBegin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14162 PyObject
*resultobj
= 0;
14163 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
14167 PyObject
*swig_obj
[1] ;
14169 if (!args
) SWIG_fail
;
14170 swig_obj
[0] = args
;
14171 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyVScrolledWindow
, 0 | 0 );
14172 if (!SWIG_IsOK(res1
)) {
14173 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VScrolledWindow_GetVisibleBegin" "', expected argument " "1"" of type '" "wxPyVScrolledWindow const *""'");
14175 arg1
= reinterpret_cast< wxPyVScrolledWindow
* >(argp1
);
14177 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14178 result
= (size_t)((wxPyVScrolledWindow
const *)arg1
)->GetVisibleBegin();
14179 wxPyEndAllowThreads(__tstate
);
14180 if (PyErr_Occurred()) SWIG_fail
;
14182 resultobj
= SWIG_From_size_t(static_cast< size_t >(result
));
14189 SWIGINTERN PyObject
*_wrap_VScrolledWindow_GetVisibleEnd(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14190 PyObject
*resultobj
= 0;
14191 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
14195 PyObject
*swig_obj
[1] ;
14197 if (!args
) SWIG_fail
;
14198 swig_obj
[0] = args
;
14199 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyVScrolledWindow
, 0 | 0 );
14200 if (!SWIG_IsOK(res1
)) {
14201 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VScrolledWindow_GetVisibleEnd" "', expected argument " "1"" of type '" "wxPyVScrolledWindow const *""'");
14203 arg1
= reinterpret_cast< wxPyVScrolledWindow
* >(argp1
);
14205 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14206 result
= (size_t)((wxPyVScrolledWindow
const *)arg1
)->GetVisibleEnd();
14207 wxPyEndAllowThreads(__tstate
);
14208 if (PyErr_Occurred()) SWIG_fail
;
14210 resultobj
= SWIG_From_size_t(static_cast< size_t >(result
));
14217 SWIGINTERN PyObject
*_wrap_VScrolledWindow_IsVisible(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14218 PyObject
*resultobj
= 0;
14219 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
14226 PyObject
* obj0
= 0 ;
14227 PyObject
* obj1
= 0 ;
14228 char * kwnames
[] = {
14229 (char *) "self",(char *) "line", NULL
14232 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VScrolledWindow_IsVisible",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14233 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVScrolledWindow
, 0 | 0 );
14234 if (!SWIG_IsOK(res1
)) {
14235 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VScrolledWindow_IsVisible" "', expected argument " "1"" of type '" "wxPyVScrolledWindow const *""'");
14237 arg1
= reinterpret_cast< wxPyVScrolledWindow
* >(argp1
);
14238 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
14239 if (!SWIG_IsOK(ecode2
)) {
14240 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "VScrolledWindow_IsVisible" "', expected argument " "2"" of type '" "size_t""'");
14242 arg2
= static_cast< size_t >(val2
);
14244 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14245 result
= (bool)((wxPyVScrolledWindow
const *)arg1
)->IsVisible(arg2
);
14246 wxPyEndAllowThreads(__tstate
);
14247 if (PyErr_Occurred()) SWIG_fail
;
14250 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14258 SWIGINTERN PyObject
*_wrap_VScrolledWindow_GetFirstVisibleLine(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14259 PyObject
*resultobj
= 0;
14260 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
14264 PyObject
*swig_obj
[1] ;
14266 if (!args
) SWIG_fail
;
14267 swig_obj
[0] = args
;
14268 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyVScrolledWindow
, 0 | 0 );
14269 if (!SWIG_IsOK(res1
)) {
14270 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VScrolledWindow_GetFirstVisibleLine" "', expected argument " "1"" of type '" "wxPyVScrolledWindow const *""'");
14272 arg1
= reinterpret_cast< wxPyVScrolledWindow
* >(argp1
);
14274 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14275 result
= (size_t)((wxPyVScrolledWindow
const *)arg1
)->GetFirstVisibleLine();
14276 wxPyEndAllowThreads(__tstate
);
14277 if (PyErr_Occurred()) SWIG_fail
;
14279 resultobj
= SWIG_From_size_t(static_cast< size_t >(result
));
14286 SWIGINTERN PyObject
*_wrap_VScrolledWindow_GetLastVisibleLine(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14287 PyObject
*resultobj
= 0;
14288 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
14292 PyObject
*swig_obj
[1] ;
14294 if (!args
) SWIG_fail
;
14295 swig_obj
[0] = args
;
14296 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyVScrolledWindow
, 0 | 0 );
14297 if (!SWIG_IsOK(res1
)) {
14298 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VScrolledWindow_GetLastVisibleLine" "', expected argument " "1"" of type '" "wxPyVScrolledWindow const *""'");
14300 arg1
= reinterpret_cast< wxPyVScrolledWindow
* >(argp1
);
14302 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14303 result
= (size_t)((wxPyVScrolledWindow
const *)arg1
)->GetLastVisibleLine();
14304 wxPyEndAllowThreads(__tstate
);
14305 if (PyErr_Occurred()) SWIG_fail
;
14307 resultobj
= SWIG_From_size_t(static_cast< size_t >(result
));
14314 SWIGINTERN PyObject
*_wrap_VScrolledWindow_FindFirstFromBottom(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14315 PyObject
*resultobj
= 0;
14316 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
14318 bool arg3
= (bool) false ;
14326 PyObject
* obj0
= 0 ;
14327 PyObject
* obj1
= 0 ;
14328 PyObject
* obj2
= 0 ;
14329 char * kwnames
[] = {
14330 (char *) "self",(char *) "lineLast",(char *) "fullyVisible", NULL
14333 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:VScrolledWindow_FindFirstFromBottom",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
14334 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVScrolledWindow
, 0 | 0 );
14335 if (!SWIG_IsOK(res1
)) {
14336 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VScrolledWindow_FindFirstFromBottom" "', expected argument " "1"" of type '" "wxPyVScrolledWindow *""'");
14338 arg1
= reinterpret_cast< wxPyVScrolledWindow
* >(argp1
);
14339 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
14340 if (!SWIG_IsOK(ecode2
)) {
14341 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "VScrolledWindow_FindFirstFromBottom" "', expected argument " "2"" of type '" "size_t""'");
14343 arg2
= static_cast< size_t >(val2
);
14345 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
14346 if (!SWIG_IsOK(ecode3
)) {
14347 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "VScrolledWindow_FindFirstFromBottom" "', expected argument " "3"" of type '" "bool""'");
14349 arg3
= static_cast< bool >(val3
);
14352 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14353 result
= (size_t)(arg1
)->FindFirstFromBottom(arg2
,arg3
);
14354 wxPyEndAllowThreads(__tstate
);
14355 if (PyErr_Occurred()) SWIG_fail
;
14357 resultobj
= SWIG_From_size_t(static_cast< size_t >(result
));
14364 SWIGINTERN PyObject
*_wrap_VScrolledWindow_GetLinesHeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14365 PyObject
*resultobj
= 0;
14366 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
14376 PyObject
* obj0
= 0 ;
14377 PyObject
* obj1
= 0 ;
14378 PyObject
* obj2
= 0 ;
14379 char * kwnames
[] = {
14380 (char *) "self",(char *) "lineMin",(char *) "lineMax", NULL
14383 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:VScrolledWindow_GetLinesHeight",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
14384 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVScrolledWindow
, 0 | 0 );
14385 if (!SWIG_IsOK(res1
)) {
14386 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VScrolledWindow_GetLinesHeight" "', expected argument " "1"" of type '" "wxPyVScrolledWindow const *""'");
14388 arg1
= reinterpret_cast< wxPyVScrolledWindow
* >(argp1
);
14389 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
14390 if (!SWIG_IsOK(ecode2
)) {
14391 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "VScrolledWindow_GetLinesHeight" "', expected argument " "2"" of type '" "size_t""'");
14393 arg2
= static_cast< size_t >(val2
);
14394 ecode3
= SWIG_AsVal_size_t(obj2
, &val3
);
14395 if (!SWIG_IsOK(ecode3
)) {
14396 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "VScrolledWindow_GetLinesHeight" "', expected argument " "3"" of type '" "size_t""'");
14398 arg3
= static_cast< size_t >(val3
);
14400 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14401 result
= (int)((wxPyVScrolledWindow
const *)arg1
)->GetLinesHeight(arg2
,arg3
);
14402 wxPyEndAllowThreads(__tstate
);
14403 if (PyErr_Occurred()) SWIG_fail
;
14405 resultobj
= SWIG_From_int(static_cast< int >(result
));
14412 SWIGINTERN PyObject
*VScrolledWindow_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14414 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
14415 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyVScrolledWindow
, SWIG_NewClientData(obj
));
14416 return SWIG_Py_Void();
14419 SWIGINTERN PyObject
*VScrolledWindow_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14420 return SWIG_Python_InitShadowInstance(args
);
14423 SWIGINTERN
int VListBoxNameStr_set(PyObject
*) {
14424 SWIG_Error(SWIG_AttributeError
,"Variable VListBoxNameStr is read-only.");
14429 SWIGINTERN PyObject
*VListBoxNameStr_get(void) {
14430 PyObject
*pyobj
= 0;
14434 pyobj
= PyUnicode_FromWideChar((&wxPyVListBoxNameStr
)->c_str(), (&wxPyVListBoxNameStr
)->Len());
14436 pyobj
= PyString_FromStringAndSize((&wxPyVListBoxNameStr
)->c_str(), (&wxPyVListBoxNameStr
)->Len());
14443 SWIGINTERN PyObject
*_wrap_new_VListBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14444 PyObject
*resultobj
= 0;
14445 wxWindow
*arg1
= (wxWindow
*) 0 ;
14446 int arg2
= (int) wxID_ANY
;
14447 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
14448 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
14449 wxSize
const &arg4_defvalue
= wxDefaultSize
;
14450 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
14451 long arg5
= (long) 0 ;
14452 wxString
const &arg6_defvalue
= wxPyVListBoxNameStr
;
14453 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
14454 wxPyVListBox
*result
= 0 ;
14463 bool temp6
= false ;
14464 PyObject
* obj0
= 0 ;
14465 PyObject
* obj1
= 0 ;
14466 PyObject
* obj2
= 0 ;
14467 PyObject
* obj3
= 0 ;
14468 PyObject
* obj4
= 0 ;
14469 PyObject
* obj5
= 0 ;
14470 char * kwnames
[] = {
14471 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
14474 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_VListBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
14475 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
14476 if (!SWIG_IsOK(res1
)) {
14477 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_VListBox" "', expected argument " "1"" of type '" "wxWindow *""'");
14479 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
14481 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
14482 if (!SWIG_IsOK(ecode2
)) {
14483 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_VListBox" "', expected argument " "2"" of type '" "int""'");
14485 arg2
= static_cast< int >(val2
);
14490 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
14496 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
14500 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
14501 if (!SWIG_IsOK(ecode5
)) {
14502 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_VListBox" "', expected argument " "5"" of type '" "long""'");
14504 arg5
= static_cast< long >(val5
);
14508 arg6
= wxString_in_helper(obj5
);
14509 if (arg6
== NULL
) SWIG_fail
;
14514 if (!wxPyCheckForApp()) SWIG_fail
;
14515 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14516 result
= (wxPyVListBox
*)new wxPyVListBox(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
14517 wxPyEndAllowThreads(__tstate
);
14518 if (PyErr_Occurred()) SWIG_fail
;
14520 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyVListBox
, SWIG_POINTER_NEW
| 0 );
14535 SWIGINTERN PyObject
*_wrap_new_PreVListBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14536 PyObject
*resultobj
= 0;
14537 wxPyVListBox
*result
= 0 ;
14539 if (!SWIG_Python_UnpackTuple(args
,"new_PreVListBox",0,0,0)) SWIG_fail
;
14541 if (!wxPyCheckForApp()) SWIG_fail
;
14542 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14543 result
= (wxPyVListBox
*)new wxPyVListBox();
14544 wxPyEndAllowThreads(__tstate
);
14545 if (PyErr_Occurred()) SWIG_fail
;
14547 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyVListBox
, SWIG_POINTER_OWN
| 0 );
14554 SWIGINTERN PyObject
*_wrap_VListBox__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14555 PyObject
*resultobj
= 0;
14556 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
14557 PyObject
*arg2
= (PyObject
*) 0 ;
14558 PyObject
*arg3
= (PyObject
*) 0 ;
14561 PyObject
* obj0
= 0 ;
14562 PyObject
* obj1
= 0 ;
14563 PyObject
* obj2
= 0 ;
14564 char * kwnames
[] = {
14565 (char *) "self",(char *) "self",(char *) "_class", NULL
14568 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:VListBox__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
14569 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
14570 if (!SWIG_IsOK(res1
)) {
14571 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
14573 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
14577 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14578 (arg1
)->_setCallbackInfo(arg2
,arg3
);
14579 wxPyEndAllowThreads(__tstate
);
14580 if (PyErr_Occurred()) SWIG_fail
;
14582 resultobj
= SWIG_Py_Void();
14589 SWIGINTERN PyObject
*_wrap_VListBox_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14590 PyObject
*resultobj
= 0;
14591 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
14592 wxWindow
*arg2
= (wxWindow
*) 0 ;
14593 int arg3
= (int) wxID_ANY
;
14594 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
14595 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
14596 wxSize
const &arg5_defvalue
= wxDefaultSize
;
14597 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
14598 long arg6
= (long) 0 ;
14599 wxString
const &arg7_defvalue
= wxPyVListBoxNameStr
;
14600 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
14612 bool temp7
= false ;
14613 PyObject
* obj0
= 0 ;
14614 PyObject
* obj1
= 0 ;
14615 PyObject
* obj2
= 0 ;
14616 PyObject
* obj3
= 0 ;
14617 PyObject
* obj4
= 0 ;
14618 PyObject
* obj5
= 0 ;
14619 PyObject
* obj6
= 0 ;
14620 char * kwnames
[] = {
14621 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
14624 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:VListBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) 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_Create" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
14629 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
14630 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
14631 if (!SWIG_IsOK(res2
)) {
14632 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "VListBox_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
14634 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
14636 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
14637 if (!SWIG_IsOK(ecode3
)) {
14638 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "VListBox_Create" "', expected argument " "3"" of type '" "int""'");
14640 arg3
= static_cast< int >(val3
);
14645 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
14651 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
14655 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
14656 if (!SWIG_IsOK(ecode6
)) {
14657 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "VListBox_Create" "', expected argument " "6"" of type '" "long""'");
14659 arg6
= static_cast< long >(val6
);
14663 arg7
= wxString_in_helper(obj6
);
14664 if (arg7
== NULL
) SWIG_fail
;
14669 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14670 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
14671 wxPyEndAllowThreads(__tstate
);
14672 if (PyErr_Occurred()) SWIG_fail
;
14675 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14691 SWIGINTERN PyObject
*_wrap_VListBox_GetItemCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14692 PyObject
*resultobj
= 0;
14693 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
14697 PyObject
*swig_obj
[1] ;
14699 if (!args
) SWIG_fail
;
14700 swig_obj
[0] = args
;
14701 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
14702 if (!SWIG_IsOK(res1
)) {
14703 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_GetItemCount" "', expected argument " "1"" of type '" "wxPyVListBox const *""'");
14705 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
14707 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14708 result
= (size_t)((wxPyVListBox
const *)arg1
)->GetItemCount();
14709 wxPyEndAllowThreads(__tstate
);
14710 if (PyErr_Occurred()) SWIG_fail
;
14712 resultobj
= SWIG_From_size_t(static_cast< size_t >(result
));
14719 SWIGINTERN PyObject
*_wrap_VListBox_HasMultipleSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14720 PyObject
*resultobj
= 0;
14721 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
14725 PyObject
*swig_obj
[1] ;
14727 if (!args
) SWIG_fail
;
14728 swig_obj
[0] = args
;
14729 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
14730 if (!SWIG_IsOK(res1
)) {
14731 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_HasMultipleSelection" "', expected argument " "1"" of type '" "wxPyVListBox const *""'");
14733 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
14735 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14736 result
= (bool)((wxPyVListBox
const *)arg1
)->HasMultipleSelection();
14737 wxPyEndAllowThreads(__tstate
);
14738 if (PyErr_Occurred()) SWIG_fail
;
14741 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14749 SWIGINTERN PyObject
*_wrap_VListBox_GetSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14750 PyObject
*resultobj
= 0;
14751 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
14755 PyObject
*swig_obj
[1] ;
14757 if (!args
) SWIG_fail
;
14758 swig_obj
[0] = args
;
14759 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
14760 if (!SWIG_IsOK(res1
)) {
14761 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_GetSelection" "', expected argument " "1"" of type '" "wxPyVListBox const *""'");
14763 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
14765 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14766 result
= (int)((wxPyVListBox
const *)arg1
)->GetSelection();
14767 wxPyEndAllowThreads(__tstate
);
14768 if (PyErr_Occurred()) SWIG_fail
;
14770 resultobj
= SWIG_From_int(static_cast< int >(result
));
14777 SWIGINTERN PyObject
*_wrap_VListBox_IsCurrent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14778 PyObject
*resultobj
= 0;
14779 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
14786 PyObject
* obj0
= 0 ;
14787 PyObject
* obj1
= 0 ;
14788 char * kwnames
[] = {
14789 (char *) "self",(char *) "item", NULL
14792 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_IsCurrent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14793 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
14794 if (!SWIG_IsOK(res1
)) {
14795 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_IsCurrent" "', expected argument " "1"" of type '" "wxPyVListBox const *""'");
14797 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
14798 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
14799 if (!SWIG_IsOK(ecode2
)) {
14800 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "VListBox_IsCurrent" "', expected argument " "2"" of type '" "size_t""'");
14802 arg2
= static_cast< size_t >(val2
);
14804 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14805 result
= (bool)((wxPyVListBox
const *)arg1
)->IsCurrent(arg2
);
14806 wxPyEndAllowThreads(__tstate
);
14807 if (PyErr_Occurred()) SWIG_fail
;
14810 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14818 SWIGINTERN PyObject
*_wrap_VListBox_IsSelected(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14819 PyObject
*resultobj
= 0;
14820 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
14827 PyObject
* obj0
= 0 ;
14828 PyObject
* obj1
= 0 ;
14829 char * kwnames
[] = {
14830 (char *) "self",(char *) "item", NULL
14833 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_IsSelected",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14834 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
14835 if (!SWIG_IsOK(res1
)) {
14836 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_IsSelected" "', expected argument " "1"" of type '" "wxPyVListBox const *""'");
14838 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
14839 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
14840 if (!SWIG_IsOK(ecode2
)) {
14841 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "VListBox_IsSelected" "', expected argument " "2"" of type '" "size_t""'");
14843 arg2
= static_cast< size_t >(val2
);
14845 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14846 result
= (bool)((wxPyVListBox
const *)arg1
)->IsSelected(arg2
);
14847 wxPyEndAllowThreads(__tstate
);
14848 if (PyErr_Occurred()) SWIG_fail
;
14851 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14859 SWIGINTERN PyObject
*_wrap_VListBox_GetSelectedCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14860 PyObject
*resultobj
= 0;
14861 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
14865 PyObject
*swig_obj
[1] ;
14867 if (!args
) SWIG_fail
;
14868 swig_obj
[0] = args
;
14869 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
14870 if (!SWIG_IsOK(res1
)) {
14871 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_GetSelectedCount" "', expected argument " "1"" of type '" "wxPyVListBox const *""'");
14873 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
14875 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14876 result
= (size_t)((wxPyVListBox
const *)arg1
)->GetSelectedCount();
14877 wxPyEndAllowThreads(__tstate
);
14878 if (PyErr_Occurred()) SWIG_fail
;
14880 resultobj
= SWIG_From_size_t(static_cast< size_t >(result
));
14887 SWIGINTERN PyObject
*_wrap_VListBox_GetFirstSelected(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14888 PyObject
*resultobj
= 0;
14889 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
14890 PyObject
*result
= 0 ;
14893 PyObject
*swig_obj
[1] ;
14895 if (!args
) SWIG_fail
;
14896 swig_obj
[0] = args
;
14897 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
14898 if (!SWIG_IsOK(res1
)) {
14899 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_GetFirstSelected" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
14901 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
14903 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14904 result
= (PyObject
*)wxPyVListBox_GetFirstSelected(arg1
);
14905 wxPyEndAllowThreads(__tstate
);
14906 if (PyErr_Occurred()) SWIG_fail
;
14908 resultobj
= result
;
14915 SWIGINTERN PyObject
*_wrap_VListBox_GetNextSelected(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14916 PyObject
*resultobj
= 0;
14917 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
14918 unsigned long arg2
;
14919 PyObject
*result
= 0 ;
14922 unsigned long val2
;
14924 PyObject
* obj0
= 0 ;
14925 PyObject
* obj1
= 0 ;
14926 char * kwnames
[] = {
14927 (char *) "self",(char *) "cookie", NULL
14930 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_GetNextSelected",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14931 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
14932 if (!SWIG_IsOK(res1
)) {
14933 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_GetNextSelected" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
14935 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
14936 ecode2
= SWIG_AsVal_unsigned_SS_long(obj1
, &val2
);
14937 if (!SWIG_IsOK(ecode2
)) {
14938 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "VListBox_GetNextSelected" "', expected argument " "2"" of type '" "unsigned long""'");
14940 arg2
= static_cast< unsigned long >(val2
);
14942 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14943 result
= (PyObject
*)wxPyVListBox_GetNextSelected(arg1
,arg2
);
14944 wxPyEndAllowThreads(__tstate
);
14945 if (PyErr_Occurred()) SWIG_fail
;
14947 resultobj
= result
;
14954 SWIGINTERN PyObject
*_wrap_VListBox_GetMargins(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14955 PyObject
*resultobj
= 0;
14956 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
14960 PyObject
*swig_obj
[1] ;
14962 if (!args
) SWIG_fail
;
14963 swig_obj
[0] = args
;
14964 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
14965 if (!SWIG_IsOK(res1
)) {
14966 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_GetMargins" "', expected argument " "1"" of type '" "wxPyVListBox const *""'");
14968 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
14970 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14971 result
= ((wxPyVListBox
const *)arg1
)->GetMargins();
14972 wxPyEndAllowThreads(__tstate
);
14973 if (PyErr_Occurred()) SWIG_fail
;
14975 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
14982 SWIGINTERN PyObject
*_wrap_VListBox_GetSelectionBackground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14983 PyObject
*resultobj
= 0;
14984 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
14985 wxColour
*result
= 0 ;
14988 PyObject
*swig_obj
[1] ;
14990 if (!args
) SWIG_fail
;
14991 swig_obj
[0] = args
;
14992 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
14993 if (!SWIG_IsOK(res1
)) {
14994 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_GetSelectionBackground" "', expected argument " "1"" of type '" "wxPyVListBox const *""'");
14996 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
14998 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15000 wxColour
const &_result_ref
= ((wxPyVListBox
const *)arg1
)->GetSelectionBackground();
15001 result
= (wxColour
*) &_result_ref
;
15003 wxPyEndAllowThreads(__tstate
);
15004 if (PyErr_Occurred()) SWIG_fail
;
15006 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColour
, 0 | 0 );
15013 SWIGINTERN PyObject
*_wrap_VListBox_SetItemCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15014 PyObject
*resultobj
= 0;
15015 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
15021 PyObject
* obj0
= 0 ;
15022 PyObject
* obj1
= 0 ;
15023 char * kwnames
[] = {
15024 (char *) "self",(char *) "count", NULL
15027 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_SetItemCount",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15028 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
15029 if (!SWIG_IsOK(res1
)) {
15030 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_SetItemCount" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
15032 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
15033 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
15034 if (!SWIG_IsOK(ecode2
)) {
15035 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "VListBox_SetItemCount" "', expected argument " "2"" of type '" "size_t""'");
15037 arg2
= static_cast< size_t >(val2
);
15039 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15040 (arg1
)->SetItemCount(arg2
);
15041 wxPyEndAllowThreads(__tstate
);
15042 if (PyErr_Occurred()) SWIG_fail
;
15044 resultobj
= SWIG_Py_Void();
15051 SWIGINTERN PyObject
*_wrap_VListBox_Clear(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15052 PyObject
*resultobj
= 0;
15053 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
15056 PyObject
*swig_obj
[1] ;
15058 if (!args
) SWIG_fail
;
15059 swig_obj
[0] = args
;
15060 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
15061 if (!SWIG_IsOK(res1
)) {
15062 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_Clear" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
15064 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
15066 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15068 wxPyEndAllowThreads(__tstate
);
15069 if (PyErr_Occurred()) SWIG_fail
;
15071 resultobj
= SWIG_Py_Void();
15078 SWIGINTERN PyObject
*_wrap_VListBox_SetSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15079 PyObject
*resultobj
= 0;
15080 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
15086 PyObject
* obj0
= 0 ;
15087 PyObject
* obj1
= 0 ;
15088 char * kwnames
[] = {
15089 (char *) "self",(char *) "selection", NULL
15092 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_SetSelection",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15093 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
15094 if (!SWIG_IsOK(res1
)) {
15095 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_SetSelection" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
15097 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
15098 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15099 if (!SWIG_IsOK(ecode2
)) {
15100 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "VListBox_SetSelection" "', expected argument " "2"" of type '" "int""'");
15102 arg2
= static_cast< int >(val2
);
15104 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15105 (arg1
)->SetSelection(arg2
);
15106 wxPyEndAllowThreads(__tstate
);
15107 if (PyErr_Occurred()) SWIG_fail
;
15109 resultobj
= SWIG_Py_Void();
15116 SWIGINTERN PyObject
*_wrap_VListBox_Select(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15117 PyObject
*resultobj
= 0;
15118 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
15120 bool arg3
= (bool) true ;
15128 PyObject
* obj0
= 0 ;
15129 PyObject
* obj1
= 0 ;
15130 PyObject
* obj2
= 0 ;
15131 char * kwnames
[] = {
15132 (char *) "self",(char *) "item",(char *) "select", NULL
15135 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:VListBox_Select",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
15136 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
15137 if (!SWIG_IsOK(res1
)) {
15138 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_Select" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
15140 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
15141 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
15142 if (!SWIG_IsOK(ecode2
)) {
15143 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "VListBox_Select" "', expected argument " "2"" of type '" "size_t""'");
15145 arg2
= static_cast< size_t >(val2
);
15147 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
15148 if (!SWIG_IsOK(ecode3
)) {
15149 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "VListBox_Select" "', expected argument " "3"" of type '" "bool""'");
15151 arg3
= static_cast< bool >(val3
);
15154 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15155 result
= (bool)(arg1
)->Select(arg2
,arg3
);
15156 wxPyEndAllowThreads(__tstate
);
15157 if (PyErr_Occurred()) SWIG_fail
;
15160 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15168 SWIGINTERN PyObject
*_wrap_VListBox_SelectRange(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15169 PyObject
*resultobj
= 0;
15170 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
15180 PyObject
* obj0
= 0 ;
15181 PyObject
* obj1
= 0 ;
15182 PyObject
* obj2
= 0 ;
15183 char * kwnames
[] = {
15184 (char *) "self",(char *) "from",(char *) "to", NULL
15187 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:VListBox_SelectRange",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
15188 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
15189 if (!SWIG_IsOK(res1
)) {
15190 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_SelectRange" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
15192 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
15193 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
15194 if (!SWIG_IsOK(ecode2
)) {
15195 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "VListBox_SelectRange" "', expected argument " "2"" of type '" "size_t""'");
15197 arg2
= static_cast< size_t >(val2
);
15198 ecode3
= SWIG_AsVal_size_t(obj2
, &val3
);
15199 if (!SWIG_IsOK(ecode3
)) {
15200 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "VListBox_SelectRange" "', expected argument " "3"" of type '" "size_t""'");
15202 arg3
= static_cast< size_t >(val3
);
15204 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15205 result
= (bool)(arg1
)->SelectRange(arg2
,arg3
);
15206 wxPyEndAllowThreads(__tstate
);
15207 if (PyErr_Occurred()) SWIG_fail
;
15210 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15218 SWIGINTERN PyObject
*_wrap_VListBox_Toggle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15219 PyObject
*resultobj
= 0;
15220 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
15226 PyObject
* obj0
= 0 ;
15227 PyObject
* obj1
= 0 ;
15228 char * kwnames
[] = {
15229 (char *) "self",(char *) "item", NULL
15232 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_Toggle",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15233 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
15234 if (!SWIG_IsOK(res1
)) {
15235 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_Toggle" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
15237 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
15238 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
15239 if (!SWIG_IsOK(ecode2
)) {
15240 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "VListBox_Toggle" "', expected argument " "2"" of type '" "size_t""'");
15242 arg2
= static_cast< size_t >(val2
);
15244 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15245 (arg1
)->Toggle(arg2
);
15246 wxPyEndAllowThreads(__tstate
);
15247 if (PyErr_Occurred()) SWIG_fail
;
15249 resultobj
= SWIG_Py_Void();
15256 SWIGINTERN PyObject
*_wrap_VListBox_SelectAll(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15257 PyObject
*resultobj
= 0;
15258 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
15262 PyObject
*swig_obj
[1] ;
15264 if (!args
) SWIG_fail
;
15265 swig_obj
[0] = args
;
15266 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
15267 if (!SWIG_IsOK(res1
)) {
15268 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_SelectAll" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
15270 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
15272 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15273 result
= (bool)(arg1
)->SelectAll();
15274 wxPyEndAllowThreads(__tstate
);
15275 if (PyErr_Occurred()) SWIG_fail
;
15278 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15286 SWIGINTERN PyObject
*_wrap_VListBox_DeselectAll(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15287 PyObject
*resultobj
= 0;
15288 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
15292 PyObject
*swig_obj
[1] ;
15294 if (!args
) SWIG_fail
;
15295 swig_obj
[0] = args
;
15296 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
15297 if (!SWIG_IsOK(res1
)) {
15298 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_DeselectAll" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
15300 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
15302 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15303 result
= (bool)(arg1
)->DeselectAll();
15304 wxPyEndAllowThreads(__tstate
);
15305 if (PyErr_Occurred()) SWIG_fail
;
15308 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15316 SWIGINTERN PyObject
*_wrap_VListBox_SetMargins(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15317 PyObject
*resultobj
= 0;
15318 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
15319 wxPoint
*arg2
= 0 ;
15323 PyObject
* obj0
= 0 ;
15324 PyObject
* obj1
= 0 ;
15325 char * kwnames
[] = {
15326 (char *) "self",(char *) "pt", NULL
15329 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_SetMargins",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15330 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
15331 if (!SWIG_IsOK(res1
)) {
15332 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_SetMargins" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
15334 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
15337 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
15340 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15341 (arg1
)->SetMargins((wxPoint
const &)*arg2
);
15342 wxPyEndAllowThreads(__tstate
);
15343 if (PyErr_Occurred()) SWIG_fail
;
15345 resultobj
= SWIG_Py_Void();
15352 SWIGINTERN PyObject
*_wrap_VListBox_SetMarginsXY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15353 PyObject
*resultobj
= 0;
15354 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
15363 PyObject
* obj0
= 0 ;
15364 PyObject
* obj1
= 0 ;
15365 PyObject
* obj2
= 0 ;
15366 char * kwnames
[] = {
15367 (char *) "self",(char *) "x",(char *) "y", NULL
15370 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:VListBox_SetMarginsXY",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
15371 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
15372 if (!SWIG_IsOK(res1
)) {
15373 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_SetMarginsXY" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
15375 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
15376 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15377 if (!SWIG_IsOK(ecode2
)) {
15378 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "VListBox_SetMarginsXY" "', expected argument " "2"" of type '" "int""'");
15380 arg2
= static_cast< int >(val2
);
15381 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
15382 if (!SWIG_IsOK(ecode3
)) {
15383 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "VListBox_SetMarginsXY" "', expected argument " "3"" of type '" "int""'");
15385 arg3
= static_cast< int >(val3
);
15387 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15388 (arg1
)->SetMargins(arg2
,arg3
);
15389 wxPyEndAllowThreads(__tstate
);
15390 if (PyErr_Occurred()) SWIG_fail
;
15392 resultobj
= SWIG_Py_Void();
15399 SWIGINTERN PyObject
*_wrap_VListBox_SetSelectionBackground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15400 PyObject
*resultobj
= 0;
15401 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
15402 wxColour
*arg2
= 0 ;
15406 PyObject
* obj0
= 0 ;
15407 PyObject
* obj1
= 0 ;
15408 char * kwnames
[] = {
15409 (char *) "self",(char *) "col", NULL
15412 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_SetSelectionBackground",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15413 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
15414 if (!SWIG_IsOK(res1
)) {
15415 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_SetSelectionBackground" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
15417 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
15420 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
15423 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15424 (arg1
)->SetSelectionBackground((wxColour
const &)*arg2
);
15425 wxPyEndAllowThreads(__tstate
);
15426 if (PyErr_Occurred()) SWIG_fail
;
15428 resultobj
= SWIG_Py_Void();
15435 SWIGINTERN PyObject
*_wrap_VListBox_OnDrawSeparator(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15436 PyObject
*resultobj
= 0;
15437 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
15448 PyObject
* obj0
= 0 ;
15449 PyObject
* obj1
= 0 ;
15450 PyObject
* obj2
= 0 ;
15451 PyObject
* obj3
= 0 ;
15452 char * kwnames
[] = {
15453 (char *) "self",(char *) "dc",(char *) "rect",(char *) "n", NULL
15456 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:VListBox_OnDrawSeparator",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
15457 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
15458 if (!SWIG_IsOK(res1
)) {
15459 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_OnDrawSeparator" "', expected argument " "1"" of type '" "wxPyVListBox const *""'");
15461 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
15462 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDC
, 0 );
15463 if (!SWIG_IsOK(res2
)) {
15464 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "VListBox_OnDrawSeparator" "', expected argument " "2"" of type '" "wxDC &""'");
15467 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "VListBox_OnDrawSeparator" "', expected argument " "2"" of type '" "wxDC &""'");
15469 arg2
= reinterpret_cast< wxDC
* >(argp2
);
15472 if ( ! wxRect_helper(obj2
, &arg3
)) SWIG_fail
;
15474 ecode4
= SWIG_AsVal_size_t(obj3
, &val4
);
15475 if (!SWIG_IsOK(ecode4
)) {
15476 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "VListBox_OnDrawSeparator" "', expected argument " "4"" of type '" "size_t""'");
15478 arg4
= static_cast< size_t >(val4
);
15480 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15481 ((wxPyVListBox
const *)arg1
)->OnDrawSeparator(*arg2
,*arg3
,arg4
);
15482 wxPyEndAllowThreads(__tstate
);
15483 if (PyErr_Occurred()) SWIG_fail
;
15485 resultobj
= SWIG_Py_Void();
15492 SWIGINTERN PyObject
*_wrap_VListBox_OnDrawBackground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15493 PyObject
*resultobj
= 0;
15494 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
15505 PyObject
* obj0
= 0 ;
15506 PyObject
* obj1
= 0 ;
15507 PyObject
* obj2
= 0 ;
15508 PyObject
* obj3
= 0 ;
15509 char * kwnames
[] = {
15510 (char *) "self",(char *) "dc",(char *) "rect",(char *) "n", NULL
15513 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:VListBox_OnDrawBackground",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
15514 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
15515 if (!SWIG_IsOK(res1
)) {
15516 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_OnDrawBackground" "', expected argument " "1"" of type '" "wxPyVListBox const *""'");
15518 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
15519 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDC
, 0 );
15520 if (!SWIG_IsOK(res2
)) {
15521 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "VListBox_OnDrawBackground" "', expected argument " "2"" of type '" "wxDC &""'");
15524 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "VListBox_OnDrawBackground" "', expected argument " "2"" of type '" "wxDC &""'");
15526 arg2
= reinterpret_cast< wxDC
* >(argp2
);
15529 if ( ! wxRect_helper(obj2
, &arg3
)) SWIG_fail
;
15531 ecode4
= SWIG_AsVal_size_t(obj3
, &val4
);
15532 if (!SWIG_IsOK(ecode4
)) {
15533 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "VListBox_OnDrawBackground" "', expected argument " "4"" of type '" "size_t""'");
15535 arg4
= static_cast< size_t >(val4
);
15537 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15538 ((wxPyVListBox
const *)arg1
)->OnDrawBackground(*arg2
,(wxRect
const &)*arg3
,arg4
);
15539 wxPyEndAllowThreads(__tstate
);
15540 if (PyErr_Occurred()) SWIG_fail
;
15542 resultobj
= SWIG_Py_Void();
15549 SWIGINTERN PyObject
*VListBox_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15551 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
15552 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyVListBox
, SWIG_NewClientData(obj
));
15553 return SWIG_Py_Void();
15556 SWIGINTERN PyObject
*VListBox_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15557 return SWIG_Python_InitShadowInstance(args
);
15560 SWIGINTERN PyObject
*_wrap_new_HtmlListBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15561 PyObject
*resultobj
= 0;
15562 wxWindow
*arg1
= (wxWindow
*) 0 ;
15563 int arg2
= (int) wxID_ANY
;
15564 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
15565 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
15566 wxSize
const &arg4_defvalue
= wxDefaultSize
;
15567 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
15568 long arg5
= (long) 0 ;
15569 wxString
const &arg6_defvalue
= wxPyVListBoxNameStr
;
15570 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
15571 wxPyHtmlListBox
*result
= 0 ;
15580 bool temp6
= false ;
15581 PyObject
* obj0
= 0 ;
15582 PyObject
* obj1
= 0 ;
15583 PyObject
* obj2
= 0 ;
15584 PyObject
* obj3
= 0 ;
15585 PyObject
* obj4
= 0 ;
15586 PyObject
* obj5
= 0 ;
15587 char * kwnames
[] = {
15588 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
15591 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_HtmlListBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
15592 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
15593 if (!SWIG_IsOK(res1
)) {
15594 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_HtmlListBox" "', expected argument " "1"" of type '" "wxWindow *""'");
15596 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
15598 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15599 if (!SWIG_IsOK(ecode2
)) {
15600 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_HtmlListBox" "', expected argument " "2"" of type '" "int""'");
15602 arg2
= static_cast< int >(val2
);
15607 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
15613 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
15617 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
15618 if (!SWIG_IsOK(ecode5
)) {
15619 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_HtmlListBox" "', expected argument " "5"" of type '" "long""'");
15621 arg5
= static_cast< long >(val5
);
15625 arg6
= wxString_in_helper(obj5
);
15626 if (arg6
== NULL
) SWIG_fail
;
15631 if (!wxPyCheckForApp()) SWIG_fail
;
15632 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15633 result
= (wxPyHtmlListBox
*)new wxPyHtmlListBox(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
15634 wxPyEndAllowThreads(__tstate
);
15635 if (PyErr_Occurred()) SWIG_fail
;
15637 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyHtmlListBox
, SWIG_POINTER_NEW
| 0 );
15652 SWIGINTERN PyObject
*_wrap_new_PreHtmlListBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15653 PyObject
*resultobj
= 0;
15654 wxPyHtmlListBox
*result
= 0 ;
15656 if (!SWIG_Python_UnpackTuple(args
,"new_PreHtmlListBox",0,0,0)) SWIG_fail
;
15658 if (!wxPyCheckForApp()) SWIG_fail
;
15659 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15660 result
= (wxPyHtmlListBox
*)new wxPyHtmlListBox();
15661 wxPyEndAllowThreads(__tstate
);
15662 if (PyErr_Occurred()) SWIG_fail
;
15664 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyHtmlListBox
, SWIG_POINTER_OWN
| 0 );
15671 SWIGINTERN PyObject
*_wrap_HtmlListBox__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15672 PyObject
*resultobj
= 0;
15673 wxPyHtmlListBox
*arg1
= (wxPyHtmlListBox
*) 0 ;
15674 PyObject
*arg2
= (PyObject
*) 0 ;
15675 PyObject
*arg3
= (PyObject
*) 0 ;
15678 PyObject
* obj0
= 0 ;
15679 PyObject
* obj1
= 0 ;
15680 PyObject
* obj2
= 0 ;
15681 char * kwnames
[] = {
15682 (char *) "self",(char *) "self",(char *) "_class", NULL
15685 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:HtmlListBox__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
15686 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyHtmlListBox
, 0 | 0 );
15687 if (!SWIG_IsOK(res1
)) {
15688 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlListBox__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyHtmlListBox *""'");
15690 arg1
= reinterpret_cast< wxPyHtmlListBox
* >(argp1
);
15694 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15695 (arg1
)->_setCallbackInfo(arg2
,arg3
);
15696 wxPyEndAllowThreads(__tstate
);
15697 if (PyErr_Occurred()) SWIG_fail
;
15699 resultobj
= SWIG_Py_Void();
15706 SWIGINTERN PyObject
*_wrap_HtmlListBox_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15707 PyObject
*resultobj
= 0;
15708 wxPyHtmlListBox
*arg1
= (wxPyHtmlListBox
*) 0 ;
15709 wxWindow
*arg2
= (wxWindow
*) 0 ;
15710 int arg3
= (int) wxID_ANY
;
15711 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
15712 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
15713 wxSize
const &arg5_defvalue
= wxDefaultSize
;
15714 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
15715 long arg6
= (long) 0 ;
15716 wxString
const &arg7_defvalue
= wxPyVListBoxNameStr
;
15717 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
15729 bool temp7
= false ;
15730 PyObject
* obj0
= 0 ;
15731 PyObject
* obj1
= 0 ;
15732 PyObject
* obj2
= 0 ;
15733 PyObject
* obj3
= 0 ;
15734 PyObject
* obj4
= 0 ;
15735 PyObject
* obj5
= 0 ;
15736 PyObject
* obj6
= 0 ;
15737 char * kwnames
[] = {
15738 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
15741 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:HtmlListBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
15742 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyHtmlListBox
, 0 | 0 );
15743 if (!SWIG_IsOK(res1
)) {
15744 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlListBox_Create" "', expected argument " "1"" of type '" "wxPyHtmlListBox *""'");
15746 arg1
= reinterpret_cast< wxPyHtmlListBox
* >(argp1
);
15747 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
15748 if (!SWIG_IsOK(res2
)) {
15749 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "HtmlListBox_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
15751 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
15753 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
15754 if (!SWIG_IsOK(ecode3
)) {
15755 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "HtmlListBox_Create" "', expected argument " "3"" of type '" "int""'");
15757 arg3
= static_cast< int >(val3
);
15762 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
15768 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
15772 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
15773 if (!SWIG_IsOK(ecode6
)) {
15774 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "HtmlListBox_Create" "', expected argument " "6"" of type '" "long""'");
15776 arg6
= static_cast< long >(val6
);
15780 arg7
= wxString_in_helper(obj6
);
15781 if (arg7
== NULL
) SWIG_fail
;
15786 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15787 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
15788 wxPyEndAllowThreads(__tstate
);
15789 if (PyErr_Occurred()) SWIG_fail
;
15792 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15808 SWIGINTERN PyObject
*_wrap_HtmlListBox_SetItemCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15809 PyObject
*resultobj
= 0;
15810 wxPyHtmlListBox
*arg1
= (wxPyHtmlListBox
*) 0 ;
15816 PyObject
* obj0
= 0 ;
15817 PyObject
* obj1
= 0 ;
15818 char * kwnames
[] = {
15819 (char *) "self",(char *) "count", NULL
15822 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlListBox_SetItemCount",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15823 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyHtmlListBox
, 0 | 0 );
15824 if (!SWIG_IsOK(res1
)) {
15825 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlListBox_SetItemCount" "', expected argument " "1"" of type '" "wxPyHtmlListBox *""'");
15827 arg1
= reinterpret_cast< wxPyHtmlListBox
* >(argp1
);
15828 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
15829 if (!SWIG_IsOK(ecode2
)) {
15830 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "HtmlListBox_SetItemCount" "', expected argument " "2"" of type '" "size_t""'");
15832 arg2
= static_cast< size_t >(val2
);
15834 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15835 (arg1
)->SetItemCount(arg2
);
15836 wxPyEndAllowThreads(__tstate
);
15837 if (PyErr_Occurred()) SWIG_fail
;
15839 resultobj
= SWIG_Py_Void();
15846 SWIGINTERN PyObject
*_wrap_HtmlListBox_GetFileSystem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15847 PyObject
*resultobj
= 0;
15848 wxPyHtmlListBox
*arg1
= (wxPyHtmlListBox
*) 0 ;
15849 wxFileSystem
*result
= 0 ;
15852 PyObject
*swig_obj
[1] ;
15854 if (!args
) SWIG_fail
;
15855 swig_obj
[0] = args
;
15856 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyHtmlListBox
, 0 | 0 );
15857 if (!SWIG_IsOK(res1
)) {
15858 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlListBox_GetFileSystem" "', expected argument " "1"" of type '" "wxPyHtmlListBox *""'");
15860 arg1
= reinterpret_cast< wxPyHtmlListBox
* >(argp1
);
15862 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15864 wxFileSystem
&_result_ref
= (arg1
)->GetFileSystem();
15865 result
= (wxFileSystem
*) &_result_ref
;
15867 wxPyEndAllowThreads(__tstate
);
15868 if (PyErr_Occurred()) SWIG_fail
;
15870 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFileSystem
, 0 | 0 );
15877 SWIGINTERN PyObject
*_wrap_HtmlListBox_OnLinkClicked(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15878 PyObject
*resultobj
= 0;
15879 wxPyHtmlListBox
*arg1
= (wxPyHtmlListBox
*) 0 ;
15881 wxHtmlLinkInfo
*arg3
= 0 ;
15888 PyObject
* obj0
= 0 ;
15889 PyObject
* obj1
= 0 ;
15890 PyObject
* obj2
= 0 ;
15891 char * kwnames
[] = {
15892 (char *) "self",(char *) "n",(char *) "link", NULL
15895 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:HtmlListBox_OnLinkClicked",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
15896 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyHtmlListBox
, 0 | 0 );
15897 if (!SWIG_IsOK(res1
)) {
15898 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlListBox_OnLinkClicked" "', expected argument " "1"" of type '" "wxPyHtmlListBox *""'");
15900 arg1
= reinterpret_cast< wxPyHtmlListBox
* >(argp1
);
15901 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
15902 if (!SWIG_IsOK(ecode2
)) {
15903 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "HtmlListBox_OnLinkClicked" "', expected argument " "2"" of type '" "size_t""'");
15905 arg2
= static_cast< size_t >(val2
);
15906 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxHtmlLinkInfo
, 0 | 0);
15907 if (!SWIG_IsOK(res3
)) {
15908 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "HtmlListBox_OnLinkClicked" "', expected argument " "3"" of type '" "wxHtmlLinkInfo const &""'");
15911 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "HtmlListBox_OnLinkClicked" "', expected argument " "3"" of type '" "wxHtmlLinkInfo const &""'");
15913 arg3
= reinterpret_cast< wxHtmlLinkInfo
* >(argp3
);
15915 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15916 (arg1
)->OnLinkClicked(arg2
,(wxHtmlLinkInfo
const &)*arg3
);
15917 wxPyEndAllowThreads(__tstate
);
15918 if (PyErr_Occurred()) SWIG_fail
;
15920 resultobj
= SWIG_Py_Void();
15927 SWIGINTERN PyObject
*HtmlListBox_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15929 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
15930 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyHtmlListBox
, SWIG_NewClientData(obj
));
15931 return SWIG_Py_Void();
15934 SWIGINTERN PyObject
*HtmlListBox_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15935 return SWIG_Python_InitShadowInstance(args
);
15938 SWIGINTERN
int SimpleHtmlListBoxNameStr_set(PyObject
*) {
15939 SWIG_Error(SWIG_AttributeError
,"Variable SimpleHtmlListBoxNameStr is read-only.");
15944 SWIGINTERN PyObject
*SimpleHtmlListBoxNameStr_get(void) {
15945 PyObject
*pyobj
= 0;
15949 pyobj
= PyUnicode_FromWideChar((&wxPySimpleHtmlListBoxNameStr
)->c_str(), (&wxPySimpleHtmlListBoxNameStr
)->Len());
15951 pyobj
= PyString_FromStringAndSize((&wxPySimpleHtmlListBoxNameStr
)->c_str(), (&wxPySimpleHtmlListBoxNameStr
)->Len());
15958 SWIGINTERN PyObject
*_wrap_new_SimpleHtmlListBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15959 PyObject
*resultobj
= 0;
15960 wxWindow
*arg1
= (wxWindow
*) 0 ;
15961 int arg2
= (int) -1 ;
15962 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
15963 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
15964 wxSize
const &arg4_defvalue
= wxDefaultSize
;
15965 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
15966 wxArrayString
const &arg5_defvalue
= wxPyEmptyStringArray
;
15967 wxArrayString
*arg5
= (wxArrayString
*) &arg5_defvalue
;
15968 long arg6
= (long) wxHLB_DEFAULT_STYLE
;
15969 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
15970 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
15971 wxString
const &arg8_defvalue
= wxPySimpleHtmlListBoxNameStr
;
15972 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
15973 wxSimpleHtmlListBox
*result
= 0 ;
15980 bool temp5
= false ;
15985 bool temp8
= false ;
15986 PyObject
* obj0
= 0 ;
15987 PyObject
* obj1
= 0 ;
15988 PyObject
* obj2
= 0 ;
15989 PyObject
* obj3
= 0 ;
15990 PyObject
* obj4
= 0 ;
15991 PyObject
* obj5
= 0 ;
15992 PyObject
* obj6
= 0 ;
15993 PyObject
* obj7
= 0 ;
15994 char * kwnames
[] = {
15995 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
15998 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_SimpleHtmlListBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
15999 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
16000 if (!SWIG_IsOK(res1
)) {
16001 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_SimpleHtmlListBox" "', expected argument " "1"" of type '" "wxWindow *""'");
16003 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
16005 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
16006 if (!SWIG_IsOK(ecode2
)) {
16007 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_SimpleHtmlListBox" "', expected argument " "2"" of type '" "int""'");
16009 arg2
= static_cast< int >(val2
);
16014 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
16020 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
16025 if (! PySequence_Check(obj4
)) {
16026 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
16029 arg5
= new wxArrayString
;
16031 int i
, len
=PySequence_Length(obj4
);
16032 for (i
=0; i
<len
; i
++) {
16033 PyObject
* item
= PySequence_GetItem(obj4
, i
);
16034 wxString
* s
= wxString_in_helper(item
);
16035 if (PyErr_Occurred()) SWIG_fail
;
16043 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
16044 if (!SWIG_IsOK(ecode6
)) {
16045 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_SimpleHtmlListBox" "', expected argument " "6"" of type '" "long""'");
16047 arg6
= static_cast< long >(val6
);
16050 res7
= SWIG_ConvertPtr(obj6
, &argp7
, SWIGTYPE_p_wxValidator
, 0 | 0);
16051 if (!SWIG_IsOK(res7
)) {
16052 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "new_SimpleHtmlListBox" "', expected argument " "7"" of type '" "wxValidator const &""'");
16055 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_SimpleHtmlListBox" "', expected argument " "7"" of type '" "wxValidator const &""'");
16057 arg7
= reinterpret_cast< wxValidator
* >(argp7
);
16061 arg8
= wxString_in_helper(obj7
);
16062 if (arg8
== NULL
) SWIG_fail
;
16067 if (!wxPyCheckForApp()) SWIG_fail
;
16068 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16069 result
= (wxSimpleHtmlListBox
*)new wxSimpleHtmlListBox(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,(wxArrayString
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
16070 wxPyEndAllowThreads(__tstate
);
16071 if (PyErr_Occurred()) SWIG_fail
;
16073 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSimpleHtmlListBox
, SWIG_POINTER_NEW
| 0 );
16075 if (temp5
) delete arg5
;
16084 if (temp5
) delete arg5
;
16094 SWIGINTERN PyObject
*_wrap_new_PreSimpleHtmlListBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16095 PyObject
*resultobj
= 0;
16096 wxSimpleHtmlListBox
*result
= 0 ;
16098 if (!SWIG_Python_UnpackTuple(args
,"new_PreSimpleHtmlListBox",0,0,0)) SWIG_fail
;
16100 if (!wxPyCheckForApp()) SWIG_fail
;
16101 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16102 result
= (wxSimpleHtmlListBox
*)new wxSimpleHtmlListBox();
16103 wxPyEndAllowThreads(__tstate
);
16104 if (PyErr_Occurred()) SWIG_fail
;
16106 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSimpleHtmlListBox
, SWIG_POINTER_OWN
| 0 );
16113 SWIGINTERN PyObject
*_wrap_SimpleHtmlListBox_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16114 PyObject
*resultobj
= 0;
16115 wxSimpleHtmlListBox
*arg1
= (wxSimpleHtmlListBox
*) 0 ;
16116 wxWindow
*arg2
= (wxWindow
*) 0 ;
16117 int arg3
= (int) -1 ;
16118 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
16119 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
16120 wxSize
const &arg5_defvalue
= wxDefaultSize
;
16121 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
16122 wxArrayString
const &arg6_defvalue
= wxPyEmptyStringArray
;
16123 wxArrayString
*arg6
= (wxArrayString
*) &arg6_defvalue
;
16124 long arg7
= (long) wxHLB_DEFAULT_STYLE
;
16125 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
16126 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
16127 wxString
const &arg9_defvalue
= wxPySimpleHtmlListBoxNameStr
;
16128 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
16138 bool temp6
= false ;
16143 bool temp9
= false ;
16144 PyObject
* obj0
= 0 ;
16145 PyObject
* obj1
= 0 ;
16146 PyObject
* obj2
= 0 ;
16147 PyObject
* obj3
= 0 ;
16148 PyObject
* obj4
= 0 ;
16149 PyObject
* obj5
= 0 ;
16150 PyObject
* obj6
= 0 ;
16151 PyObject
* obj7
= 0 ;
16152 PyObject
* obj8
= 0 ;
16153 char * kwnames
[] = {
16154 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
16157 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:SimpleHtmlListBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) SWIG_fail
;
16158 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSimpleHtmlListBox
, 0 | 0 );
16159 if (!SWIG_IsOK(res1
)) {
16160 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SimpleHtmlListBox_Create" "', expected argument " "1"" of type '" "wxSimpleHtmlListBox *""'");
16162 arg1
= reinterpret_cast< wxSimpleHtmlListBox
* >(argp1
);
16163 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
16164 if (!SWIG_IsOK(res2
)) {
16165 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "SimpleHtmlListBox_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
16167 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
16169 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
16170 if (!SWIG_IsOK(ecode3
)) {
16171 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "SimpleHtmlListBox_Create" "', expected argument " "3"" of type '" "int""'");
16173 arg3
= static_cast< int >(val3
);
16178 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
16184 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
16189 if (! PySequence_Check(obj5
)) {
16190 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
16193 arg6
= new wxArrayString
;
16195 int i
, len
=PySequence_Length(obj5
);
16196 for (i
=0; i
<len
; i
++) {
16197 PyObject
* item
= PySequence_GetItem(obj5
, i
);
16198 wxString
* s
= wxString_in_helper(item
);
16199 if (PyErr_Occurred()) SWIG_fail
;
16207 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
16208 if (!SWIG_IsOK(ecode7
)) {
16209 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "SimpleHtmlListBox_Create" "', expected argument " "7"" of type '" "long""'");
16211 arg7
= static_cast< long >(val7
);
16214 res8
= SWIG_ConvertPtr(obj7
, &argp8
, SWIGTYPE_p_wxValidator
, 0 | 0);
16215 if (!SWIG_IsOK(res8
)) {
16216 SWIG_exception_fail(SWIG_ArgError(res8
), "in method '" "SimpleHtmlListBox_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
16219 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "SimpleHtmlListBox_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
16221 arg8
= reinterpret_cast< wxValidator
* >(argp8
);
16225 arg9
= wxString_in_helper(obj8
);
16226 if (arg9
== NULL
) SWIG_fail
;
16231 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16232 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,(wxArrayString
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
16233 wxPyEndAllowThreads(__tstate
);
16234 if (PyErr_Occurred()) SWIG_fail
;
16237 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16240 if (temp6
) delete arg6
;
16249 if (temp6
) delete arg6
;
16259 SWIGINTERN PyObject
*SimpleHtmlListBox_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16261 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
16262 SWIG_TypeNewClientData(SWIGTYPE_p_wxSimpleHtmlListBox
, SWIG_NewClientData(obj
));
16263 return SWIG_Py_Void();
16266 SWIGINTERN PyObject
*SimpleHtmlListBox_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16267 return SWIG_Python_InitShadowInstance(args
);
16270 SWIGINTERN PyObject
*_wrap_new_TaskBarIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16271 PyObject
*resultobj
= 0;
16272 wxPyTaskBarIcon
*result
= 0 ;
16274 if (!SWIG_Python_UnpackTuple(args
,"new_TaskBarIcon",0,0,0)) SWIG_fail
;
16276 if (!wxPyCheckForApp()) SWIG_fail
;
16277 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16278 result
= (wxPyTaskBarIcon
*)new wxPyTaskBarIcon();
16279 wxPyEndAllowThreads(__tstate
);
16280 if (PyErr_Occurred()) SWIG_fail
;
16282 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyTaskBarIcon
, SWIG_POINTER_NEW
| 0 );
16289 SWIGINTERN PyObject
*_wrap_delete_TaskBarIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16290 PyObject
*resultobj
= 0;
16291 wxPyTaskBarIcon
*arg1
= (wxPyTaskBarIcon
*) 0 ;
16294 PyObject
*swig_obj
[1] ;
16296 if (!args
) SWIG_fail
;
16297 swig_obj
[0] = args
;
16298 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTaskBarIcon
, SWIG_POINTER_DISOWN
| 0 );
16299 if (!SWIG_IsOK(res1
)) {
16300 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_TaskBarIcon" "', expected argument " "1"" of type '" "wxPyTaskBarIcon *""'");
16302 arg1
= reinterpret_cast< wxPyTaskBarIcon
* >(argp1
);
16304 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16307 wxPyEndAllowThreads(__tstate
);
16308 if (PyErr_Occurred()) SWIG_fail
;
16310 resultobj
= SWIG_Py_Void();
16317 SWIGINTERN PyObject
*_wrap_TaskBarIcon__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16318 PyObject
*resultobj
= 0;
16319 wxPyTaskBarIcon
*arg1
= (wxPyTaskBarIcon
*) 0 ;
16320 PyObject
*arg2
= (PyObject
*) 0 ;
16321 PyObject
*arg3
= (PyObject
*) 0 ;
16327 PyObject
* obj0
= 0 ;
16328 PyObject
* obj1
= 0 ;
16329 PyObject
* obj2
= 0 ;
16330 PyObject
* obj3
= 0 ;
16331 char * kwnames
[] = {
16332 (char *) "self",(char *) "self",(char *) "_class",(char *) "incref", NULL
16335 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:TaskBarIcon__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
16336 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTaskBarIcon
, 0 | 0 );
16337 if (!SWIG_IsOK(res1
)) {
16338 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TaskBarIcon__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyTaskBarIcon *""'");
16340 arg1
= reinterpret_cast< wxPyTaskBarIcon
* >(argp1
);
16343 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
16344 if (!SWIG_IsOK(ecode4
)) {
16345 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "TaskBarIcon__setCallbackInfo" "', expected argument " "4"" of type '" "int""'");
16347 arg4
= static_cast< int >(val4
);
16349 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16350 (arg1
)->_setCallbackInfo(arg2
,arg3
,arg4
);
16351 wxPyEndAllowThreads(__tstate
);
16352 if (PyErr_Occurred()) SWIG_fail
;
16354 resultobj
= SWIG_Py_Void();
16361 SWIGINTERN PyObject
*_wrap_TaskBarIcon_Destroy(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16362 PyObject
*resultobj
= 0;
16363 wxPyTaskBarIcon
*arg1
= (wxPyTaskBarIcon
*) 0 ;
16366 PyObject
*swig_obj
[1] ;
16368 if (!args
) SWIG_fail
;
16369 swig_obj
[0] = args
;
16370 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTaskBarIcon
, 0 | 0 );
16371 if (!SWIG_IsOK(res1
)) {
16372 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TaskBarIcon_Destroy" "', expected argument " "1"" of type '" "wxPyTaskBarIcon *""'");
16374 arg1
= reinterpret_cast< wxPyTaskBarIcon
* >(argp1
);
16376 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16377 wxPyTaskBarIcon_Destroy(arg1
);
16378 wxPyEndAllowThreads(__tstate
);
16379 if (PyErr_Occurred()) SWIG_fail
;
16381 resultobj
= SWIG_Py_Void();
16388 SWIGINTERN PyObject
*_wrap_TaskBarIcon_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16389 PyObject
*resultobj
= 0;
16390 wxPyTaskBarIcon
*arg1
= (wxPyTaskBarIcon
*) 0 ;
16394 PyObject
*swig_obj
[1] ;
16396 if (!args
) SWIG_fail
;
16397 swig_obj
[0] = args
;
16398 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTaskBarIcon
, 0 | 0 );
16399 if (!SWIG_IsOK(res1
)) {
16400 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TaskBarIcon_IsOk" "', expected argument " "1"" of type '" "wxPyTaskBarIcon const *""'");
16402 arg1
= reinterpret_cast< wxPyTaskBarIcon
* >(argp1
);
16404 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16405 result
= (bool)((wxPyTaskBarIcon
const *)arg1
)->IsOk();
16406 wxPyEndAllowThreads(__tstate
);
16407 if (PyErr_Occurred()) SWIG_fail
;
16410 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16418 SWIGINTERN PyObject
*_wrap_TaskBarIcon_IsIconInstalled(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16419 PyObject
*resultobj
= 0;
16420 wxPyTaskBarIcon
*arg1
= (wxPyTaskBarIcon
*) 0 ;
16424 PyObject
*swig_obj
[1] ;
16426 if (!args
) SWIG_fail
;
16427 swig_obj
[0] = args
;
16428 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTaskBarIcon
, 0 | 0 );
16429 if (!SWIG_IsOK(res1
)) {
16430 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TaskBarIcon_IsIconInstalled" "', expected argument " "1"" of type '" "wxPyTaskBarIcon const *""'");
16432 arg1
= reinterpret_cast< wxPyTaskBarIcon
* >(argp1
);
16434 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16435 result
= (bool)((wxPyTaskBarIcon
const *)arg1
)->IsIconInstalled();
16436 wxPyEndAllowThreads(__tstate
);
16437 if (PyErr_Occurred()) SWIG_fail
;
16440 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16448 SWIGINTERN PyObject
*_wrap_TaskBarIcon_SetIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16449 PyObject
*resultobj
= 0;
16450 wxPyTaskBarIcon
*arg1
= (wxPyTaskBarIcon
*) 0 ;
16452 wxString
const &arg3_defvalue
= wxPyEmptyString
;
16453 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
16459 bool temp3
= false ;
16460 PyObject
* obj0
= 0 ;
16461 PyObject
* obj1
= 0 ;
16462 PyObject
* obj2
= 0 ;
16463 char * kwnames
[] = {
16464 (char *) "self",(char *) "icon",(char *) "tooltip", NULL
16467 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TaskBarIcon_SetIcon",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
16468 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTaskBarIcon
, 0 | 0 );
16469 if (!SWIG_IsOK(res1
)) {
16470 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TaskBarIcon_SetIcon" "', expected argument " "1"" of type '" "wxPyTaskBarIcon *""'");
16472 arg1
= reinterpret_cast< wxPyTaskBarIcon
* >(argp1
);
16473 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxIcon
, 0 | 0);
16474 if (!SWIG_IsOK(res2
)) {
16475 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TaskBarIcon_SetIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
16478 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TaskBarIcon_SetIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
16480 arg2
= reinterpret_cast< wxIcon
* >(argp2
);
16483 arg3
= wxString_in_helper(obj2
);
16484 if (arg3
== NULL
) SWIG_fail
;
16489 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16490 result
= (bool)(arg1
)->SetIcon((wxIcon
const &)*arg2
,(wxString
const &)*arg3
);
16491 wxPyEndAllowThreads(__tstate
);
16492 if (PyErr_Occurred()) SWIG_fail
;
16495 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16511 SWIGINTERN PyObject
*_wrap_TaskBarIcon_RemoveIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16512 PyObject
*resultobj
= 0;
16513 wxPyTaskBarIcon
*arg1
= (wxPyTaskBarIcon
*) 0 ;
16517 PyObject
*swig_obj
[1] ;
16519 if (!args
) SWIG_fail
;
16520 swig_obj
[0] = args
;
16521 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTaskBarIcon
, 0 | 0 );
16522 if (!SWIG_IsOK(res1
)) {
16523 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TaskBarIcon_RemoveIcon" "', expected argument " "1"" of type '" "wxPyTaskBarIcon *""'");
16525 arg1
= reinterpret_cast< wxPyTaskBarIcon
* >(argp1
);
16527 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16528 result
= (bool)(arg1
)->RemoveIcon();
16529 wxPyEndAllowThreads(__tstate
);
16530 if (PyErr_Occurred()) SWIG_fail
;
16533 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16541 SWIGINTERN PyObject
*_wrap_TaskBarIcon_PopupMenu(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16542 PyObject
*resultobj
= 0;
16543 wxPyTaskBarIcon
*arg1
= (wxPyTaskBarIcon
*) 0 ;
16544 wxMenu
*arg2
= (wxMenu
*) 0 ;
16550 PyObject
* obj0
= 0 ;
16551 PyObject
* obj1
= 0 ;
16552 char * kwnames
[] = {
16553 (char *) "self",(char *) "menu", NULL
16556 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TaskBarIcon_PopupMenu",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16557 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTaskBarIcon
, 0 | 0 );
16558 if (!SWIG_IsOK(res1
)) {
16559 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TaskBarIcon_PopupMenu" "', expected argument " "1"" of type '" "wxPyTaskBarIcon *""'");
16561 arg1
= reinterpret_cast< wxPyTaskBarIcon
* >(argp1
);
16562 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxMenu
, 0 | 0 );
16563 if (!SWIG_IsOK(res2
)) {
16564 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TaskBarIcon_PopupMenu" "', expected argument " "2"" of type '" "wxMenu *""'");
16566 arg2
= reinterpret_cast< wxMenu
* >(argp2
);
16568 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16569 result
= (bool)(arg1
)->PopupMenu(arg2
);
16570 wxPyEndAllowThreads(__tstate
);
16571 if (PyErr_Occurred()) SWIG_fail
;
16574 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16582 SWIGINTERN PyObject
*TaskBarIcon_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16584 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
16585 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyTaskBarIcon
, SWIG_NewClientData(obj
));
16586 return SWIG_Py_Void();
16589 SWIGINTERN PyObject
*TaskBarIcon_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16590 return SWIG_Python_InitShadowInstance(args
);
16593 SWIGINTERN PyObject
*_wrap_new_TaskBarIconEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16594 PyObject
*resultobj
= 0;
16596 wxTaskBarIcon
*arg2
= (wxTaskBarIcon
*) 0 ;
16597 wxTaskBarIconEvent
*result
= 0 ;
16602 PyObject
* obj0
= 0 ;
16603 PyObject
* obj1
= 0 ;
16604 char * kwnames
[] = {
16605 (char *) "evtType",(char *) "tbIcon", NULL
16608 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_TaskBarIconEvent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16609 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
16610 if (!SWIG_IsOK(ecode1
)) {
16611 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_TaskBarIconEvent" "', expected argument " "1"" of type '" "wxEventType""'");
16613 arg1
= static_cast< wxEventType
>(val1
);
16614 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxTaskBarIcon
, 0 | 0 );
16615 if (!SWIG_IsOK(res2
)) {
16616 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_TaskBarIconEvent" "', expected argument " "2"" of type '" "wxTaskBarIcon *""'");
16618 arg2
= reinterpret_cast< wxTaskBarIcon
* >(argp2
);
16620 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16621 result
= (wxTaskBarIconEvent
*)new wxTaskBarIconEvent(arg1
,arg2
);
16622 wxPyEndAllowThreads(__tstate
);
16623 if (PyErr_Occurred()) SWIG_fail
;
16625 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTaskBarIconEvent
, SWIG_POINTER_NEW
| 0 );
16632 SWIGINTERN PyObject
*TaskBarIconEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16634 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
16635 SWIG_TypeNewClientData(SWIGTYPE_p_wxTaskBarIconEvent
, SWIG_NewClientData(obj
));
16636 return SWIG_Py_Void();
16639 SWIGINTERN PyObject
*TaskBarIconEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16640 return SWIG_Python_InitShadowInstance(args
);
16643 SWIGINTERN
int FileSelectorPromptStr_set(PyObject
*) {
16644 SWIG_Error(SWIG_AttributeError
,"Variable FileSelectorPromptStr is read-only.");
16649 SWIGINTERN PyObject
*FileSelectorPromptStr_get(void) {
16650 PyObject
*pyobj
= 0;
16654 pyobj
= PyUnicode_FromWideChar((&wxPyFileSelectorPromptStr
)->c_str(), (&wxPyFileSelectorPromptStr
)->Len());
16656 pyobj
= PyString_FromStringAndSize((&wxPyFileSelectorPromptStr
)->c_str(), (&wxPyFileSelectorPromptStr
)->Len());
16663 SWIGINTERN
int DirSelectorPromptStr_set(PyObject
*) {
16664 SWIG_Error(SWIG_AttributeError
,"Variable DirSelectorPromptStr is read-only.");
16669 SWIGINTERN PyObject
*DirSelectorPromptStr_get(void) {
16670 PyObject
*pyobj
= 0;
16674 pyobj
= PyUnicode_FromWideChar((&wxPyDirSelectorPromptStr
)->c_str(), (&wxPyDirSelectorPromptStr
)->Len());
16676 pyobj
= PyString_FromStringAndSize((&wxPyDirSelectorPromptStr
)->c_str(), (&wxPyDirSelectorPromptStr
)->Len());
16683 SWIGINTERN
int DirDialogNameStr_set(PyObject
*) {
16684 SWIG_Error(SWIG_AttributeError
,"Variable DirDialogNameStr is read-only.");
16689 SWIGINTERN PyObject
*DirDialogNameStr_get(void) {
16690 PyObject
*pyobj
= 0;
16694 pyobj
= PyUnicode_FromWideChar((&wxPyDirDialogNameStr
)->c_str(), (&wxPyDirDialogNameStr
)->Len());
16696 pyobj
= PyString_FromStringAndSize((&wxPyDirDialogNameStr
)->c_str(), (&wxPyDirDialogNameStr
)->Len());
16703 SWIGINTERN
int FileSelectorDefaultWildcardStr_set(PyObject
*) {
16704 SWIG_Error(SWIG_AttributeError
,"Variable FileSelectorDefaultWildcardStr is read-only.");
16709 SWIGINTERN PyObject
*FileSelectorDefaultWildcardStr_get(void) {
16710 PyObject
*pyobj
= 0;
16714 pyobj
= PyUnicode_FromWideChar((&wxPyFileSelectorDefaultWildcardStr
)->c_str(), (&wxPyFileSelectorDefaultWildcardStr
)->Len());
16716 pyobj
= PyString_FromStringAndSize((&wxPyFileSelectorDefaultWildcardStr
)->c_str(), (&wxPyFileSelectorDefaultWildcardStr
)->Len());
16723 SWIGINTERN
int GetTextFromUserPromptStr_set(PyObject
*) {
16724 SWIG_Error(SWIG_AttributeError
,"Variable GetTextFromUserPromptStr is read-only.");
16729 SWIGINTERN PyObject
*GetTextFromUserPromptStr_get(void) {
16730 PyObject
*pyobj
= 0;
16734 pyobj
= PyUnicode_FromWideChar((&wxPyGetTextFromUserPromptStr
)->c_str(), (&wxPyGetTextFromUserPromptStr
)->Len());
16736 pyobj
= PyString_FromStringAndSize((&wxPyGetTextFromUserPromptStr
)->c_str(), (&wxPyGetTextFromUserPromptStr
)->Len());
16743 SWIGINTERN
int MessageBoxCaptionStr_set(PyObject
*) {
16744 SWIG_Error(SWIG_AttributeError
,"Variable MessageBoxCaptionStr is read-only.");
16749 SWIGINTERN PyObject
*MessageBoxCaptionStr_get(void) {
16750 PyObject
*pyobj
= 0;
16754 pyobj
= PyUnicode_FromWideChar((&wxPyMessageBoxCaptionStr
)->c_str(), (&wxPyMessageBoxCaptionStr
)->Len());
16756 pyobj
= PyString_FromStringAndSize((&wxPyMessageBoxCaptionStr
)->c_str(), (&wxPyMessageBoxCaptionStr
)->Len());
16763 SWIGINTERN PyObject
*_wrap_new_ColourData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16764 PyObject
*resultobj
= 0;
16765 wxColourData
*result
= 0 ;
16767 if (!SWIG_Python_UnpackTuple(args
,"new_ColourData",0,0,0)) SWIG_fail
;
16769 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16770 result
= (wxColourData
*)new wxColourData();
16771 wxPyEndAllowThreads(__tstate
);
16772 if (PyErr_Occurred()) SWIG_fail
;
16774 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColourData
, SWIG_POINTER_NEW
| 0 );
16781 SWIGINTERN PyObject
*_wrap_delete_ColourData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16782 PyObject
*resultobj
= 0;
16783 wxColourData
*arg1
= (wxColourData
*) 0 ;
16786 PyObject
*swig_obj
[1] ;
16788 if (!args
) SWIG_fail
;
16789 swig_obj
[0] = args
;
16790 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxColourData
, SWIG_POINTER_DISOWN
| 0 );
16791 if (!SWIG_IsOK(res1
)) {
16792 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_ColourData" "', expected argument " "1"" of type '" "wxColourData *""'");
16794 arg1
= reinterpret_cast< wxColourData
* >(argp1
);
16796 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16799 wxPyEndAllowThreads(__tstate
);
16800 if (PyErr_Occurred()) SWIG_fail
;
16802 resultobj
= SWIG_Py_Void();
16809 SWIGINTERN PyObject
*_wrap_ColourData_GetChooseFull(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16810 PyObject
*resultobj
= 0;
16811 wxColourData
*arg1
= (wxColourData
*) 0 ;
16815 PyObject
*swig_obj
[1] ;
16817 if (!args
) SWIG_fail
;
16818 swig_obj
[0] = args
;
16819 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxColourData
, 0 | 0 );
16820 if (!SWIG_IsOK(res1
)) {
16821 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ColourData_GetChooseFull" "', expected argument " "1"" of type '" "wxColourData *""'");
16823 arg1
= reinterpret_cast< wxColourData
* >(argp1
);
16825 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16826 result
= (bool)(arg1
)->GetChooseFull();
16827 wxPyEndAllowThreads(__tstate
);
16828 if (PyErr_Occurred()) SWIG_fail
;
16831 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16839 SWIGINTERN PyObject
*_wrap_ColourData_GetColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16840 PyObject
*resultobj
= 0;
16841 wxColourData
*arg1
= (wxColourData
*) 0 ;
16845 PyObject
*swig_obj
[1] ;
16847 if (!args
) SWIG_fail
;
16848 swig_obj
[0] = args
;
16849 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxColourData
, 0 | 0 );
16850 if (!SWIG_IsOK(res1
)) {
16851 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ColourData_GetColour" "', expected argument " "1"" of type '" "wxColourData *""'");
16853 arg1
= reinterpret_cast< wxColourData
* >(argp1
);
16855 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16856 result
= (arg1
)->GetColour();
16857 wxPyEndAllowThreads(__tstate
);
16858 if (PyErr_Occurred()) SWIG_fail
;
16860 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
16867 SWIGINTERN PyObject
*_wrap_ColourData_GetCustomColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16868 PyObject
*resultobj
= 0;
16869 wxColourData
*arg1
= (wxColourData
*) 0 ;
16876 PyObject
* obj0
= 0 ;
16877 PyObject
* obj1
= 0 ;
16878 char * kwnames
[] = {
16879 (char *) "self",(char *) "i", NULL
16882 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ColourData_GetCustomColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16883 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColourData
, 0 | 0 );
16884 if (!SWIG_IsOK(res1
)) {
16885 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ColourData_GetCustomColour" "', expected argument " "1"" of type '" "wxColourData *""'");
16887 arg1
= reinterpret_cast< wxColourData
* >(argp1
);
16888 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
16889 if (!SWIG_IsOK(ecode2
)) {
16890 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ColourData_GetCustomColour" "', expected argument " "2"" of type '" "int""'");
16892 arg2
= static_cast< int >(val2
);
16894 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16895 result
= (arg1
)->GetCustomColour(arg2
);
16896 wxPyEndAllowThreads(__tstate
);
16897 if (PyErr_Occurred()) SWIG_fail
;
16899 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
16906 SWIGINTERN PyObject
*_wrap_ColourData_SetChooseFull(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16907 PyObject
*resultobj
= 0;
16908 wxColourData
*arg1
= (wxColourData
*) 0 ;
16914 PyObject
* obj0
= 0 ;
16915 PyObject
* obj1
= 0 ;
16916 char * kwnames
[] = {
16917 (char *) "self",(char *) "flag", NULL
16920 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ColourData_SetChooseFull",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16921 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColourData
, 0 | 0 );
16922 if (!SWIG_IsOK(res1
)) {
16923 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ColourData_SetChooseFull" "', expected argument " "1"" of type '" "wxColourData *""'");
16925 arg1
= reinterpret_cast< wxColourData
* >(argp1
);
16926 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
16927 if (!SWIG_IsOK(ecode2
)) {
16928 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ColourData_SetChooseFull" "', expected argument " "2"" of type '" "int""'");
16930 arg2
= static_cast< int >(val2
);
16932 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16933 (arg1
)->SetChooseFull(arg2
);
16934 wxPyEndAllowThreads(__tstate
);
16935 if (PyErr_Occurred()) SWIG_fail
;
16937 resultobj
= SWIG_Py_Void();
16944 SWIGINTERN PyObject
*_wrap_ColourData_SetColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16945 PyObject
*resultobj
= 0;
16946 wxColourData
*arg1
= (wxColourData
*) 0 ;
16947 wxColour
*arg2
= 0 ;
16951 PyObject
* obj0
= 0 ;
16952 PyObject
* obj1
= 0 ;
16953 char * kwnames
[] = {
16954 (char *) "self",(char *) "colour", NULL
16957 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ColourData_SetColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16958 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColourData
, 0 | 0 );
16959 if (!SWIG_IsOK(res1
)) {
16960 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ColourData_SetColour" "', expected argument " "1"" of type '" "wxColourData *""'");
16962 arg1
= reinterpret_cast< wxColourData
* >(argp1
);
16965 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
16968 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16969 (arg1
)->SetColour((wxColour
const &)*arg2
);
16970 wxPyEndAllowThreads(__tstate
);
16971 if (PyErr_Occurred()) SWIG_fail
;
16973 resultobj
= SWIG_Py_Void();
16980 SWIGINTERN PyObject
*_wrap_ColourData_SetCustomColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16981 PyObject
*resultobj
= 0;
16982 wxColourData
*arg1
= (wxColourData
*) 0 ;
16984 wxColour
*arg3
= 0 ;
16990 PyObject
* obj0
= 0 ;
16991 PyObject
* obj1
= 0 ;
16992 PyObject
* obj2
= 0 ;
16993 char * kwnames
[] = {
16994 (char *) "self",(char *) "i",(char *) "colour", NULL
16997 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ColourData_SetCustomColour",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
16998 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColourData
, 0 | 0 );
16999 if (!SWIG_IsOK(res1
)) {
17000 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ColourData_SetCustomColour" "', expected argument " "1"" of type '" "wxColourData *""'");
17002 arg1
= reinterpret_cast< wxColourData
* >(argp1
);
17003 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
17004 if (!SWIG_IsOK(ecode2
)) {
17005 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ColourData_SetCustomColour" "', expected argument " "2"" of type '" "int""'");
17007 arg2
= static_cast< int >(val2
);
17010 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
17013 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17014 (arg1
)->SetCustomColour(arg2
,(wxColour
const &)*arg3
);
17015 wxPyEndAllowThreads(__tstate
);
17016 if (PyErr_Occurred()) SWIG_fail
;
17018 resultobj
= SWIG_Py_Void();
17025 SWIGINTERN PyObject
*ColourData_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17027 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
17028 SWIG_TypeNewClientData(SWIGTYPE_p_wxColourData
, SWIG_NewClientData(obj
));
17029 return SWIG_Py_Void();
17032 SWIGINTERN PyObject
*ColourData_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17033 return SWIG_Python_InitShadowInstance(args
);
17036 SWIGINTERN PyObject
*_wrap_new_ColourDialog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17037 PyObject
*resultobj
= 0;
17038 wxWindow
*arg1
= (wxWindow
*) 0 ;
17039 wxColourData
*arg2
= (wxColourData
*) NULL
;
17040 wxColourDialog
*result
= 0 ;
17045 PyObject
* obj0
= 0 ;
17046 PyObject
* obj1
= 0 ;
17047 char * kwnames
[] = {
17048 (char *) "parent",(char *) "data", NULL
17051 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_ColourDialog",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17052 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
17053 if (!SWIG_IsOK(res1
)) {
17054 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_ColourDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
17056 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
17058 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxColourData
, 0 | 0 );
17059 if (!SWIG_IsOK(res2
)) {
17060 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_ColourDialog" "', expected argument " "2"" of type '" "wxColourData *""'");
17062 arg2
= reinterpret_cast< wxColourData
* >(argp2
);
17065 if (!wxPyCheckForApp()) SWIG_fail
;
17066 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17067 result
= (wxColourDialog
*)new wxColourDialog(arg1
,arg2
);
17068 wxPyEndAllowThreads(__tstate
);
17069 if (PyErr_Occurred()) SWIG_fail
;
17071 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColourDialog
, SWIG_POINTER_NEW
| 0 );
17078 SWIGINTERN PyObject
*_wrap_ColourDialog_GetColourData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17079 PyObject
*resultobj
= 0;
17080 wxColourDialog
*arg1
= (wxColourDialog
*) 0 ;
17081 wxColourData
*result
= 0 ;
17084 PyObject
*swig_obj
[1] ;
17086 if (!args
) SWIG_fail
;
17087 swig_obj
[0] = args
;
17088 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxColourDialog
, 0 | 0 );
17089 if (!SWIG_IsOK(res1
)) {
17090 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ColourDialog_GetColourData" "', expected argument " "1"" of type '" "wxColourDialog *""'");
17092 arg1
= reinterpret_cast< wxColourDialog
* >(argp1
);
17094 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17096 wxColourData
&_result_ref
= (arg1
)->GetColourData();
17097 result
= (wxColourData
*) &_result_ref
;
17099 wxPyEndAllowThreads(__tstate
);
17100 if (PyErr_Occurred()) SWIG_fail
;
17102 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColourData
, 0 | 0 );
17109 SWIGINTERN PyObject
*ColourDialog_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17111 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
17112 SWIG_TypeNewClientData(SWIGTYPE_p_wxColourDialog
, SWIG_NewClientData(obj
));
17113 return SWIG_Py_Void();
17116 SWIGINTERN PyObject
*ColourDialog_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17117 return SWIG_Python_InitShadowInstance(args
);
17120 SWIGINTERN PyObject
*_wrap_GetColourFromUser(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17121 PyObject
*resultobj
= 0;
17122 wxWindow
*arg1
= (wxWindow
*) (wxWindow
*) NULL
;
17123 wxColour
const &arg2_defvalue
= wxNullColour
;
17124 wxColour
*arg2
= (wxColour
*) &arg2_defvalue
;
17125 wxString
const &arg3_defvalue
= wxPyEmptyString
;
17126 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
17131 bool temp3
= false ;
17132 PyObject
* obj0
= 0 ;
17133 PyObject
* obj1
= 0 ;
17134 PyObject
* obj2
= 0 ;
17135 char * kwnames
[] = {
17136 (char *) "parent",(char *) "colInit",(char *) "caption", NULL
17139 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:GetColourFromUser",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
17141 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
17142 if (!SWIG_IsOK(res1
)) {
17143 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GetColourFromUser" "', expected argument " "1"" of type '" "wxWindow *""'");
17145 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
17150 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
17155 arg3
= wxString_in_helper(obj2
);
17156 if (arg3
== NULL
) SWIG_fail
;
17161 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17162 result
= wxGetColourFromUser(arg1
,(wxColour
const &)*arg2
,(wxString
const &)*arg3
);
17163 wxPyEndAllowThreads(__tstate
);
17164 if (PyErr_Occurred()) SWIG_fail
;
17166 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
17181 SWIGINTERN PyObject
*_wrap_new_DirDialog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17182 PyObject
*resultobj
= 0;
17183 wxWindow
*arg1
= (wxWindow
*) 0 ;
17184 wxString
const &arg2_defvalue
= wxPyDirSelectorPromptStr
;
17185 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
17186 wxString
const &arg3_defvalue
= wxPyEmptyString
;
17187 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
17188 long arg4
= (long) wxDD_DEFAULT_STYLE
;
17189 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
17190 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
17191 wxSize
const &arg6_defvalue
= wxDefaultSize
;
17192 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
17193 wxString
const &arg7_defvalue
= wxPyDirDialogNameStr
;
17194 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
17195 wxDirDialog
*result
= 0 ;
17198 bool temp2
= false ;
17199 bool temp3
= false ;
17204 bool temp7
= false ;
17205 PyObject
* obj0
= 0 ;
17206 PyObject
* obj1
= 0 ;
17207 PyObject
* obj2
= 0 ;
17208 PyObject
* obj3
= 0 ;
17209 PyObject
* obj4
= 0 ;
17210 PyObject
* obj5
= 0 ;
17211 PyObject
* obj6
= 0 ;
17212 char * kwnames
[] = {
17213 (char *) "parent",(char *) "message",(char *) "defaultPath",(char *) "style",(char *) "pos",(char *) "size",(char *) "name", NULL
17216 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_DirDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
17217 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
17218 if (!SWIG_IsOK(res1
)) {
17219 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_DirDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
17221 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
17224 arg2
= wxString_in_helper(obj1
);
17225 if (arg2
== NULL
) SWIG_fail
;
17231 arg3
= wxString_in_helper(obj2
);
17232 if (arg3
== NULL
) SWIG_fail
;
17237 ecode4
= SWIG_AsVal_long(obj3
, &val4
);
17238 if (!SWIG_IsOK(ecode4
)) {
17239 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_DirDialog" "', expected argument " "4"" of type '" "long""'");
17241 arg4
= static_cast< long >(val4
);
17246 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
17252 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
17257 arg7
= wxString_in_helper(obj6
);
17258 if (arg7
== NULL
) SWIG_fail
;
17263 if (!wxPyCheckForApp()) SWIG_fail
;
17264 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17265 result
= (wxDirDialog
*)new wxDirDialog(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,(wxString
const &)*arg7
);
17266 wxPyEndAllowThreads(__tstate
);
17267 if (PyErr_Occurred()) SWIG_fail
;
17269 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDirDialog
, SWIG_POINTER_NEW
| 0 );
17300 SWIGINTERN PyObject
*_wrap_DirDialog_GetPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17301 PyObject
*resultobj
= 0;
17302 wxDirDialog
*arg1
= (wxDirDialog
*) 0 ;
17306 PyObject
*swig_obj
[1] ;
17308 if (!args
) SWIG_fail
;
17309 swig_obj
[0] = args
;
17310 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDirDialog
, 0 | 0 );
17311 if (!SWIG_IsOK(res1
)) {
17312 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DirDialog_GetPath" "', expected argument " "1"" of type '" "wxDirDialog *""'");
17314 arg1
= reinterpret_cast< wxDirDialog
* >(argp1
);
17316 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17317 result
= (arg1
)->GetPath();
17318 wxPyEndAllowThreads(__tstate
);
17319 if (PyErr_Occurred()) SWIG_fail
;
17323 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
17325 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
17334 SWIGINTERN PyObject
*_wrap_DirDialog_GetMessage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17335 PyObject
*resultobj
= 0;
17336 wxDirDialog
*arg1
= (wxDirDialog
*) 0 ;
17340 PyObject
*swig_obj
[1] ;
17342 if (!args
) SWIG_fail
;
17343 swig_obj
[0] = args
;
17344 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDirDialog
, 0 | 0 );
17345 if (!SWIG_IsOK(res1
)) {
17346 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DirDialog_GetMessage" "', expected argument " "1"" of type '" "wxDirDialog *""'");
17348 arg1
= reinterpret_cast< wxDirDialog
* >(argp1
);
17350 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17351 result
= (arg1
)->GetMessage();
17352 wxPyEndAllowThreads(__tstate
);
17353 if (PyErr_Occurred()) SWIG_fail
;
17357 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
17359 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
17368 SWIGINTERN PyObject
*_wrap_DirDialog_SetMessage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17369 PyObject
*resultobj
= 0;
17370 wxDirDialog
*arg1
= (wxDirDialog
*) 0 ;
17371 wxString
*arg2
= 0 ;
17374 bool temp2
= false ;
17375 PyObject
* obj0
= 0 ;
17376 PyObject
* obj1
= 0 ;
17377 char * kwnames
[] = {
17378 (char *) "self",(char *) "message", NULL
17381 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DirDialog_SetMessage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17382 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDirDialog
, 0 | 0 );
17383 if (!SWIG_IsOK(res1
)) {
17384 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DirDialog_SetMessage" "', expected argument " "1"" of type '" "wxDirDialog *""'");
17386 arg1
= reinterpret_cast< wxDirDialog
* >(argp1
);
17388 arg2
= wxString_in_helper(obj1
);
17389 if (arg2
== NULL
) SWIG_fail
;
17393 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17394 (arg1
)->SetMessage((wxString
const &)*arg2
);
17395 wxPyEndAllowThreads(__tstate
);
17396 if (PyErr_Occurred()) SWIG_fail
;
17398 resultobj
= SWIG_Py_Void();
17413 SWIGINTERN PyObject
*_wrap_DirDialog_SetPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17414 PyObject
*resultobj
= 0;
17415 wxDirDialog
*arg1
= (wxDirDialog
*) 0 ;
17416 wxString
*arg2
= 0 ;
17419 bool temp2
= false ;
17420 PyObject
* obj0
= 0 ;
17421 PyObject
* obj1
= 0 ;
17422 char * kwnames
[] = {
17423 (char *) "self",(char *) "path", NULL
17426 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DirDialog_SetPath",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17427 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDirDialog
, 0 | 0 );
17428 if (!SWIG_IsOK(res1
)) {
17429 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DirDialog_SetPath" "', expected argument " "1"" of type '" "wxDirDialog *""'");
17431 arg1
= reinterpret_cast< wxDirDialog
* >(argp1
);
17433 arg2
= wxString_in_helper(obj1
);
17434 if (arg2
== NULL
) SWIG_fail
;
17438 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17439 (arg1
)->SetPath((wxString
const &)*arg2
);
17440 wxPyEndAllowThreads(__tstate
);
17441 if (PyErr_Occurred()) SWIG_fail
;
17443 resultobj
= SWIG_Py_Void();
17458 SWIGINTERN PyObject
*DirDialog_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17460 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
17461 SWIG_TypeNewClientData(SWIGTYPE_p_wxDirDialog
, SWIG_NewClientData(obj
));
17462 return SWIG_Py_Void();
17465 SWIGINTERN PyObject
*DirDialog_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17466 return SWIG_Python_InitShadowInstance(args
);
17469 SWIGINTERN PyObject
*_wrap_new_FileDialog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17470 PyObject
*resultobj
= 0;
17471 wxWindow
*arg1
= (wxWindow
*) 0 ;
17472 wxString
const &arg2_defvalue
= wxPyFileSelectorPromptStr
;
17473 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
17474 wxString
const &arg3_defvalue
= wxPyEmptyString
;
17475 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
17476 wxString
const &arg4_defvalue
= wxPyEmptyString
;
17477 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
17478 wxString
const &arg5_defvalue
= wxPyFileSelectorDefaultWildcardStr
;
17479 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
17480 long arg6
= (long) wxFD_DEFAULT_STYLE
;
17481 wxPoint
const &arg7_defvalue
= wxDefaultPosition
;
17482 wxPoint
*arg7
= (wxPoint
*) &arg7_defvalue
;
17483 wxFileDialog
*result
= 0 ;
17486 bool temp2
= false ;
17487 bool temp3
= false ;
17488 bool temp4
= false ;
17489 bool temp5
= false ;
17493 PyObject
* obj0
= 0 ;
17494 PyObject
* obj1
= 0 ;
17495 PyObject
* obj2
= 0 ;
17496 PyObject
* obj3
= 0 ;
17497 PyObject
* obj4
= 0 ;
17498 PyObject
* obj5
= 0 ;
17499 PyObject
* obj6
= 0 ;
17500 char * kwnames
[] = {
17501 (char *) "parent",(char *) "message",(char *) "defaultDir",(char *) "defaultFile",(char *) "wildcard",(char *) "style",(char *) "pos", NULL
17504 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_FileDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
17505 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
17506 if (!SWIG_IsOK(res1
)) {
17507 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_FileDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
17509 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
17512 arg2
= wxString_in_helper(obj1
);
17513 if (arg2
== NULL
) SWIG_fail
;
17519 arg3
= wxString_in_helper(obj2
);
17520 if (arg3
== NULL
) SWIG_fail
;
17526 arg4
= wxString_in_helper(obj3
);
17527 if (arg4
== NULL
) SWIG_fail
;
17533 arg5
= wxString_in_helper(obj4
);
17534 if (arg5
== NULL
) SWIG_fail
;
17539 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
17540 if (!SWIG_IsOK(ecode6
)) {
17541 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_FileDialog" "', expected argument " "6"" of type '" "long""'");
17543 arg6
= static_cast< long >(val6
);
17548 if ( ! wxPoint_helper(obj6
, &arg7
)) SWIG_fail
;
17552 if (!wxPyCheckForApp()) SWIG_fail
;
17553 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17554 result
= (wxFileDialog
*)new wxFileDialog(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,(wxString
const &)*arg5
,arg6
,(wxPoint
const &)*arg7
);
17555 wxPyEndAllowThreads(__tstate
);
17556 if (PyErr_Occurred()) SWIG_fail
;
17558 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFileDialog
, SWIG_POINTER_NEW
| 0 );
17597 SWIGINTERN PyObject
*_wrap_FileDialog_SetMessage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17598 PyObject
*resultobj
= 0;
17599 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
17600 wxString
*arg2
= 0 ;
17603 bool temp2
= false ;
17604 PyObject
* obj0
= 0 ;
17605 PyObject
* obj1
= 0 ;
17606 char * kwnames
[] = {
17607 (char *) "self",(char *) "message", NULL
17610 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileDialog_SetMessage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17611 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFileDialog
, 0 | 0 );
17612 if (!SWIG_IsOK(res1
)) {
17613 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileDialog_SetMessage" "', expected argument " "1"" of type '" "wxFileDialog *""'");
17615 arg1
= reinterpret_cast< wxFileDialog
* >(argp1
);
17617 arg2
= wxString_in_helper(obj1
);
17618 if (arg2
== NULL
) SWIG_fail
;
17622 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17623 (arg1
)->SetMessage((wxString
const &)*arg2
);
17624 wxPyEndAllowThreads(__tstate
);
17625 if (PyErr_Occurred()) SWIG_fail
;
17627 resultobj
= SWIG_Py_Void();
17642 SWIGINTERN PyObject
*_wrap_FileDialog_SetPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17643 PyObject
*resultobj
= 0;
17644 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
17645 wxString
*arg2
= 0 ;
17648 bool temp2
= false ;
17649 PyObject
* obj0
= 0 ;
17650 PyObject
* obj1
= 0 ;
17651 char * kwnames
[] = {
17652 (char *) "self",(char *) "path", NULL
17655 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileDialog_SetPath",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17656 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFileDialog
, 0 | 0 );
17657 if (!SWIG_IsOK(res1
)) {
17658 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileDialog_SetPath" "', expected argument " "1"" of type '" "wxFileDialog *""'");
17660 arg1
= reinterpret_cast< wxFileDialog
* >(argp1
);
17662 arg2
= wxString_in_helper(obj1
);
17663 if (arg2
== NULL
) SWIG_fail
;
17667 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17668 (arg1
)->SetPath((wxString
const &)*arg2
);
17669 wxPyEndAllowThreads(__tstate
);
17670 if (PyErr_Occurred()) SWIG_fail
;
17672 resultobj
= SWIG_Py_Void();
17687 SWIGINTERN PyObject
*_wrap_FileDialog_SetDirectory(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17688 PyObject
*resultobj
= 0;
17689 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
17690 wxString
*arg2
= 0 ;
17693 bool temp2
= false ;
17694 PyObject
* obj0
= 0 ;
17695 PyObject
* obj1
= 0 ;
17696 char * kwnames
[] = {
17697 (char *) "self",(char *) "dir", NULL
17700 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileDialog_SetDirectory",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17701 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFileDialog
, 0 | 0 );
17702 if (!SWIG_IsOK(res1
)) {
17703 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileDialog_SetDirectory" "', expected argument " "1"" of type '" "wxFileDialog *""'");
17705 arg1
= reinterpret_cast< wxFileDialog
* >(argp1
);
17707 arg2
= wxString_in_helper(obj1
);
17708 if (arg2
== NULL
) SWIG_fail
;
17712 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17713 (arg1
)->SetDirectory((wxString
const &)*arg2
);
17714 wxPyEndAllowThreads(__tstate
);
17715 if (PyErr_Occurred()) SWIG_fail
;
17717 resultobj
= SWIG_Py_Void();
17732 SWIGINTERN PyObject
*_wrap_FileDialog_SetFilename(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17733 PyObject
*resultobj
= 0;
17734 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
17735 wxString
*arg2
= 0 ;
17738 bool temp2
= false ;
17739 PyObject
* obj0
= 0 ;
17740 PyObject
* obj1
= 0 ;
17741 char * kwnames
[] = {
17742 (char *) "self",(char *) "name", NULL
17745 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileDialog_SetFilename",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17746 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFileDialog
, 0 | 0 );
17747 if (!SWIG_IsOK(res1
)) {
17748 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileDialog_SetFilename" "', expected argument " "1"" of type '" "wxFileDialog *""'");
17750 arg1
= reinterpret_cast< wxFileDialog
* >(argp1
);
17752 arg2
= wxString_in_helper(obj1
);
17753 if (arg2
== NULL
) SWIG_fail
;
17757 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17758 (arg1
)->SetFilename((wxString
const &)*arg2
);
17759 wxPyEndAllowThreads(__tstate
);
17760 if (PyErr_Occurred()) SWIG_fail
;
17762 resultobj
= SWIG_Py_Void();
17777 SWIGINTERN PyObject
*_wrap_FileDialog_SetWildcard(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17778 PyObject
*resultobj
= 0;
17779 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
17780 wxString
*arg2
= 0 ;
17783 bool temp2
= false ;
17784 PyObject
* obj0
= 0 ;
17785 PyObject
* obj1
= 0 ;
17786 char * kwnames
[] = {
17787 (char *) "self",(char *) "wildCard", NULL
17790 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileDialog_SetWildcard",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17791 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFileDialog
, 0 | 0 );
17792 if (!SWIG_IsOK(res1
)) {
17793 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileDialog_SetWildcard" "', expected argument " "1"" of type '" "wxFileDialog *""'");
17795 arg1
= reinterpret_cast< wxFileDialog
* >(argp1
);
17797 arg2
= wxString_in_helper(obj1
);
17798 if (arg2
== NULL
) SWIG_fail
;
17802 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17803 (arg1
)->SetWildcard((wxString
const &)*arg2
);
17804 wxPyEndAllowThreads(__tstate
);
17805 if (PyErr_Occurred()) SWIG_fail
;
17807 resultobj
= SWIG_Py_Void();
17822 SWIGINTERN PyObject
*_wrap_FileDialog_SetFilterIndex(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17823 PyObject
*resultobj
= 0;
17824 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
17830 PyObject
* obj0
= 0 ;
17831 PyObject
* obj1
= 0 ;
17832 char * kwnames
[] = {
17833 (char *) "self",(char *) "filterIndex", NULL
17836 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileDialog_SetFilterIndex",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17837 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFileDialog
, 0 | 0 );
17838 if (!SWIG_IsOK(res1
)) {
17839 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileDialog_SetFilterIndex" "', expected argument " "1"" of type '" "wxFileDialog *""'");
17841 arg1
= reinterpret_cast< wxFileDialog
* >(argp1
);
17842 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
17843 if (!SWIG_IsOK(ecode2
)) {
17844 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "FileDialog_SetFilterIndex" "', expected argument " "2"" of type '" "int""'");
17846 arg2
= static_cast< int >(val2
);
17848 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17849 (arg1
)->SetFilterIndex(arg2
);
17850 wxPyEndAllowThreads(__tstate
);
17851 if (PyErr_Occurred()) SWIG_fail
;
17853 resultobj
= SWIG_Py_Void();
17860 SWIGINTERN PyObject
*_wrap_FileDialog_GetMessage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17861 PyObject
*resultobj
= 0;
17862 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
17866 PyObject
*swig_obj
[1] ;
17868 if (!args
) SWIG_fail
;
17869 swig_obj
[0] = args
;
17870 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFileDialog
, 0 | 0 );
17871 if (!SWIG_IsOK(res1
)) {
17872 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileDialog_GetMessage" "', expected argument " "1"" of type '" "wxFileDialog const *""'");
17874 arg1
= reinterpret_cast< wxFileDialog
* >(argp1
);
17876 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17877 result
= ((wxFileDialog
const *)arg1
)->GetMessage();
17878 wxPyEndAllowThreads(__tstate
);
17879 if (PyErr_Occurred()) SWIG_fail
;
17883 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
17885 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
17894 SWIGINTERN PyObject
*_wrap_FileDialog_GetPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17895 PyObject
*resultobj
= 0;
17896 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
17900 PyObject
*swig_obj
[1] ;
17902 if (!args
) SWIG_fail
;
17903 swig_obj
[0] = args
;
17904 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFileDialog
, 0 | 0 );
17905 if (!SWIG_IsOK(res1
)) {
17906 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileDialog_GetPath" "', expected argument " "1"" of type '" "wxFileDialog const *""'");
17908 arg1
= reinterpret_cast< wxFileDialog
* >(argp1
);
17910 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17911 result
= ((wxFileDialog
const *)arg1
)->GetPath();
17912 wxPyEndAllowThreads(__tstate
);
17913 if (PyErr_Occurred()) SWIG_fail
;
17917 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
17919 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
17928 SWIGINTERN PyObject
*_wrap_FileDialog_GetDirectory(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17929 PyObject
*resultobj
= 0;
17930 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
17934 PyObject
*swig_obj
[1] ;
17936 if (!args
) SWIG_fail
;
17937 swig_obj
[0] = args
;
17938 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFileDialog
, 0 | 0 );
17939 if (!SWIG_IsOK(res1
)) {
17940 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileDialog_GetDirectory" "', expected argument " "1"" of type '" "wxFileDialog const *""'");
17942 arg1
= reinterpret_cast< wxFileDialog
* >(argp1
);
17944 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17945 result
= ((wxFileDialog
const *)arg1
)->GetDirectory();
17946 wxPyEndAllowThreads(__tstate
);
17947 if (PyErr_Occurred()) SWIG_fail
;
17951 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
17953 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
17962 SWIGINTERN PyObject
*_wrap_FileDialog_GetFilename(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17963 PyObject
*resultobj
= 0;
17964 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
17968 PyObject
*swig_obj
[1] ;
17970 if (!args
) SWIG_fail
;
17971 swig_obj
[0] = args
;
17972 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFileDialog
, 0 | 0 );
17973 if (!SWIG_IsOK(res1
)) {
17974 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileDialog_GetFilename" "', expected argument " "1"" of type '" "wxFileDialog const *""'");
17976 arg1
= reinterpret_cast< wxFileDialog
* >(argp1
);
17978 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17979 result
= ((wxFileDialog
const *)arg1
)->GetFilename();
17980 wxPyEndAllowThreads(__tstate
);
17981 if (PyErr_Occurred()) SWIG_fail
;
17985 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
17987 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
17996 SWIGINTERN PyObject
*_wrap_FileDialog_GetWildcard(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17997 PyObject
*resultobj
= 0;
17998 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
18002 PyObject
*swig_obj
[1] ;
18004 if (!args
) SWIG_fail
;
18005 swig_obj
[0] = args
;
18006 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFileDialog
, 0 | 0 );
18007 if (!SWIG_IsOK(res1
)) {
18008 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileDialog_GetWildcard" "', expected argument " "1"" of type '" "wxFileDialog const *""'");
18010 arg1
= reinterpret_cast< wxFileDialog
* >(argp1
);
18012 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18013 result
= ((wxFileDialog
const *)arg1
)->GetWildcard();
18014 wxPyEndAllowThreads(__tstate
);
18015 if (PyErr_Occurred()) SWIG_fail
;
18019 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
18021 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
18030 SWIGINTERN PyObject
*_wrap_FileDialog_GetFilterIndex(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18031 PyObject
*resultobj
= 0;
18032 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
18036 PyObject
*swig_obj
[1] ;
18038 if (!args
) SWIG_fail
;
18039 swig_obj
[0] = args
;
18040 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFileDialog
, 0 | 0 );
18041 if (!SWIG_IsOK(res1
)) {
18042 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileDialog_GetFilterIndex" "', expected argument " "1"" of type '" "wxFileDialog const *""'");
18044 arg1
= reinterpret_cast< wxFileDialog
* >(argp1
);
18046 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18047 result
= (int)((wxFileDialog
const *)arg1
)->GetFilterIndex();
18048 wxPyEndAllowThreads(__tstate
);
18049 if (PyErr_Occurred()) SWIG_fail
;
18051 resultobj
= SWIG_From_int(static_cast< int >(result
));
18058 SWIGINTERN PyObject
*_wrap_FileDialog_GetFilenames(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18059 PyObject
*resultobj
= 0;
18060 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
18061 PyObject
*result
= 0 ;
18064 PyObject
*swig_obj
[1] ;
18066 if (!args
) SWIG_fail
;
18067 swig_obj
[0] = args
;
18068 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFileDialog
, 0 | 0 );
18069 if (!SWIG_IsOK(res1
)) {
18070 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileDialog_GetFilenames" "', expected argument " "1"" of type '" "wxFileDialog *""'");
18072 arg1
= reinterpret_cast< wxFileDialog
* >(argp1
);
18074 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18075 result
= (PyObject
*)wxFileDialog_GetFilenames(arg1
);
18076 wxPyEndAllowThreads(__tstate
);
18077 if (PyErr_Occurred()) SWIG_fail
;
18079 resultobj
= result
;
18086 SWIGINTERN PyObject
*_wrap_FileDialog_GetPaths(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18087 PyObject
*resultobj
= 0;
18088 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
18089 PyObject
*result
= 0 ;
18092 PyObject
*swig_obj
[1] ;
18094 if (!args
) SWIG_fail
;
18095 swig_obj
[0] = args
;
18096 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFileDialog
, 0 | 0 );
18097 if (!SWIG_IsOK(res1
)) {
18098 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileDialog_GetPaths" "', expected argument " "1"" of type '" "wxFileDialog *""'");
18100 arg1
= reinterpret_cast< wxFileDialog
* >(argp1
);
18102 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18103 result
= (PyObject
*)wxFileDialog_GetPaths(arg1
);
18104 wxPyEndAllowThreads(__tstate
);
18105 if (PyErr_Occurred()) SWIG_fail
;
18107 resultobj
= result
;
18114 SWIGINTERN PyObject
*FileDialog_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18116 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
18117 SWIG_TypeNewClientData(SWIGTYPE_p_wxFileDialog
, SWIG_NewClientData(obj
));
18118 return SWIG_Py_Void();
18121 SWIGINTERN PyObject
*FileDialog_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18122 return SWIG_Python_InitShadowInstance(args
);
18125 SWIGINTERN PyObject
*_wrap_new_MultiChoiceDialog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18126 PyObject
*resultobj
= 0;
18127 wxWindow
*arg1
= (wxWindow
*) 0 ;
18128 wxString
*arg2
= 0 ;
18129 wxString
*arg3
= 0 ;
18130 int arg4
= (int) 0 ;
18131 wxString
*arg5
= (wxString
*) NULL
;
18132 long arg6
= (long) wxCHOICEDLG_STYLE
;
18133 wxPoint
const &arg7_defvalue
= wxDefaultPosition
;
18134 wxPoint
*arg7
= (wxPoint
*) &arg7_defvalue
;
18135 wxMultiChoiceDialog
*result
= 0 ;
18138 bool temp2
= false ;
18139 bool temp3
= false ;
18143 PyObject
* obj0
= 0 ;
18144 PyObject
* obj1
= 0 ;
18145 PyObject
* obj2
= 0 ;
18146 PyObject
* obj3
= 0 ;
18147 PyObject
* obj4
= 0 ;
18148 PyObject
* obj5
= 0 ;
18149 char * kwnames
[] = {
18150 (char *) "parent",(char *) "message",(char *) "caption",(char *) "choices",(char *) "style",(char *) "pos", NULL
18153 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOO:new_MultiChoiceDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
18154 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
18155 if (!SWIG_IsOK(res1
)) {
18156 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_MultiChoiceDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
18158 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
18160 arg2
= wxString_in_helper(obj1
);
18161 if (arg2
== NULL
) SWIG_fail
;
18165 arg3
= wxString_in_helper(obj2
);
18166 if (arg3
== NULL
) SWIG_fail
;
18171 arg4
= PyList_Size(obj3
);
18172 arg5
= wxString_LIST_helper(obj3
);
18173 if (arg5
== NULL
) SWIG_fail
;
18177 ecode6
= SWIG_AsVal_long(obj4
, &val6
);
18178 if (!SWIG_IsOK(ecode6
)) {
18179 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_MultiChoiceDialog" "', expected argument " "6"" of type '" "long""'");
18181 arg6
= static_cast< long >(val6
);
18186 if ( ! wxPoint_helper(obj5
, &arg7
)) SWIG_fail
;
18190 if (!wxPyCheckForApp()) SWIG_fail
;
18191 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18192 result
= (wxMultiChoiceDialog
*)new wxMultiChoiceDialog(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
,arg5
,arg6
,(wxPoint
const &)*arg7
);
18193 wxPyEndAllowThreads(__tstate
);
18194 if (PyErr_Occurred()) SWIG_fail
;
18196 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMultiChoiceDialog
, SWIG_POINTER_NEW
| 0 );
18206 if (arg5
) delete [] arg5
;
18219 if (arg5
) delete [] arg5
;
18225 SWIGINTERN PyObject
*_wrap_MultiChoiceDialog_SetSelections(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18226 PyObject
*resultobj
= 0;
18227 wxMultiChoiceDialog
*arg1
= (wxMultiChoiceDialog
*) 0 ;
18228 wxArrayInt
*arg2
= 0 ;
18231 bool temp2
= false ;
18232 PyObject
* obj0
= 0 ;
18233 PyObject
* obj1
= 0 ;
18234 char * kwnames
[] = {
18235 (char *) "self",(char *) "selections", NULL
18238 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MultiChoiceDialog_SetSelections",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18239 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMultiChoiceDialog
, 0 | 0 );
18240 if (!SWIG_IsOK(res1
)) {
18241 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MultiChoiceDialog_SetSelections" "', expected argument " "1"" of type '" "wxMultiChoiceDialog *""'");
18243 arg1
= reinterpret_cast< wxMultiChoiceDialog
* >(argp1
);
18245 if (! PySequence_Check(obj1
)) {
18246 PyErr_SetString(PyExc_TypeError
, "Sequence of integers expected.");
18249 arg2
= new wxArrayInt
;
18251 int i
, len
=PySequence_Length(obj1
);
18252 for (i
=0; i
<len
; i
++) {
18253 PyObject
* item
= PySequence_GetItem(obj1
, i
);
18254 PyObject
* number
= PyNumber_Int(item
);
18256 PyErr_SetString(PyExc_TypeError
, "Sequence of integers expected.");
18259 arg2
->Add(PyInt_AS_LONG(number
));
18265 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18266 (arg1
)->SetSelections((wxArrayInt
const &)*arg2
);
18267 wxPyEndAllowThreads(__tstate
);
18268 if (PyErr_Occurred()) SWIG_fail
;
18270 resultobj
= SWIG_Py_Void();
18272 if (temp2
) delete arg2
;
18277 if (temp2
) delete arg2
;
18283 SWIGINTERN PyObject
*_wrap_MultiChoiceDialog_GetSelections(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18284 PyObject
*resultobj
= 0;
18285 wxMultiChoiceDialog
*arg1
= (wxMultiChoiceDialog
*) 0 ;
18286 PyObject
*result
= 0 ;
18289 PyObject
*swig_obj
[1] ;
18291 if (!args
) SWIG_fail
;
18292 swig_obj
[0] = args
;
18293 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMultiChoiceDialog
, 0 | 0 );
18294 if (!SWIG_IsOK(res1
)) {
18295 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MultiChoiceDialog_GetSelections" "', expected argument " "1"" of type '" "wxMultiChoiceDialog *""'");
18297 arg1
= reinterpret_cast< wxMultiChoiceDialog
* >(argp1
);
18299 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18300 result
= (PyObject
*)wxMultiChoiceDialog_GetSelections(arg1
);
18301 wxPyEndAllowThreads(__tstate
);
18302 if (PyErr_Occurred()) SWIG_fail
;
18304 resultobj
= result
;
18311 SWIGINTERN PyObject
*MultiChoiceDialog_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18313 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
18314 SWIG_TypeNewClientData(SWIGTYPE_p_wxMultiChoiceDialog
, SWIG_NewClientData(obj
));
18315 return SWIG_Py_Void();
18318 SWIGINTERN PyObject
*MultiChoiceDialog_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18319 return SWIG_Python_InitShadowInstance(args
);
18322 SWIGINTERN PyObject
*_wrap_new_SingleChoiceDialog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18323 PyObject
*resultobj
= 0;
18324 wxWindow
*arg1
= (wxWindow
*) 0 ;
18325 wxString
*arg2
= 0 ;
18326 wxString
*arg3
= 0 ;
18328 wxString
*arg5
= (wxString
*) 0 ;
18329 long arg6
= (long) wxCHOICEDLG_STYLE
;
18330 wxPoint
const &arg7_defvalue
= wxDefaultPosition
;
18331 wxPoint
*arg7
= (wxPoint
*) &arg7_defvalue
;
18332 wxSingleChoiceDialog
*result
= 0 ;
18335 bool temp2
= false ;
18336 bool temp3
= false ;
18340 PyObject
* obj0
= 0 ;
18341 PyObject
* obj1
= 0 ;
18342 PyObject
* obj2
= 0 ;
18343 PyObject
* obj3
= 0 ;
18344 PyObject
* obj4
= 0 ;
18345 PyObject
* obj5
= 0 ;
18346 char * kwnames
[] = {
18347 (char *) "parent",(char *) "message",(char *) "caption",(char *) "choices",(char *) "style",(char *) "pos", NULL
18350 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:new_SingleChoiceDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
18351 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
18352 if (!SWIG_IsOK(res1
)) {
18353 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_SingleChoiceDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
18355 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
18357 arg2
= wxString_in_helper(obj1
);
18358 if (arg2
== NULL
) SWIG_fail
;
18362 arg3
= wxString_in_helper(obj2
);
18363 if (arg3
== NULL
) SWIG_fail
;
18367 arg4
= PyList_Size(obj3
);
18368 arg5
= wxString_LIST_helper(obj3
);
18369 if (arg5
== NULL
) SWIG_fail
;
18372 ecode6
= SWIG_AsVal_long(obj4
, &val6
);
18373 if (!SWIG_IsOK(ecode6
)) {
18374 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_SingleChoiceDialog" "', expected argument " "6"" of type '" "long""'");
18376 arg6
= static_cast< long >(val6
);
18381 if ( ! wxPoint_helper(obj5
, &arg7
)) SWIG_fail
;
18385 if (!wxPyCheckForApp()) SWIG_fail
;
18386 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18387 result
= (wxSingleChoiceDialog
*)new_wxSingleChoiceDialog(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
,arg5
,arg6
,(wxPoint
const &)*arg7
);
18388 wxPyEndAllowThreads(__tstate
);
18389 if (PyErr_Occurred()) SWIG_fail
;
18391 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSingleChoiceDialog
, SWIG_POINTER_NEW
| 0 );
18401 if (arg5
) delete [] arg5
;
18414 if (arg5
) delete [] arg5
;
18420 SWIGINTERN PyObject
*_wrap_SingleChoiceDialog_GetSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18421 PyObject
*resultobj
= 0;
18422 wxSingleChoiceDialog
*arg1
= (wxSingleChoiceDialog
*) 0 ;
18426 PyObject
*swig_obj
[1] ;
18428 if (!args
) SWIG_fail
;
18429 swig_obj
[0] = args
;
18430 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSingleChoiceDialog
, 0 | 0 );
18431 if (!SWIG_IsOK(res1
)) {
18432 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SingleChoiceDialog_GetSelection" "', expected argument " "1"" of type '" "wxSingleChoiceDialog *""'");
18434 arg1
= reinterpret_cast< wxSingleChoiceDialog
* >(argp1
);
18436 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18437 result
= (int)(arg1
)->GetSelection();
18438 wxPyEndAllowThreads(__tstate
);
18439 if (PyErr_Occurred()) SWIG_fail
;
18441 resultobj
= SWIG_From_int(static_cast< int >(result
));
18448 SWIGINTERN PyObject
*_wrap_SingleChoiceDialog_GetStringSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18449 PyObject
*resultobj
= 0;
18450 wxSingleChoiceDialog
*arg1
= (wxSingleChoiceDialog
*) 0 ;
18454 PyObject
*swig_obj
[1] ;
18456 if (!args
) SWIG_fail
;
18457 swig_obj
[0] = args
;
18458 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSingleChoiceDialog
, 0 | 0 );
18459 if (!SWIG_IsOK(res1
)) {
18460 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SingleChoiceDialog_GetStringSelection" "', expected argument " "1"" of type '" "wxSingleChoiceDialog *""'");
18462 arg1
= reinterpret_cast< wxSingleChoiceDialog
* >(argp1
);
18464 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18465 result
= (arg1
)->GetStringSelection();
18466 wxPyEndAllowThreads(__tstate
);
18467 if (PyErr_Occurred()) SWIG_fail
;
18471 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
18473 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
18482 SWIGINTERN PyObject
*_wrap_SingleChoiceDialog_SetSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18483 PyObject
*resultobj
= 0;
18484 wxSingleChoiceDialog
*arg1
= (wxSingleChoiceDialog
*) 0 ;
18490 PyObject
* obj0
= 0 ;
18491 PyObject
* obj1
= 0 ;
18492 char * kwnames
[] = {
18493 (char *) "self",(char *) "sel", NULL
18496 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SingleChoiceDialog_SetSelection",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18497 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSingleChoiceDialog
, 0 | 0 );
18498 if (!SWIG_IsOK(res1
)) {
18499 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SingleChoiceDialog_SetSelection" "', expected argument " "1"" of type '" "wxSingleChoiceDialog *""'");
18501 arg1
= reinterpret_cast< wxSingleChoiceDialog
* >(argp1
);
18502 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18503 if (!SWIG_IsOK(ecode2
)) {
18504 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SingleChoiceDialog_SetSelection" "', expected argument " "2"" of type '" "int""'");
18506 arg2
= static_cast< int >(val2
);
18508 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18509 (arg1
)->SetSelection(arg2
);
18510 wxPyEndAllowThreads(__tstate
);
18511 if (PyErr_Occurred()) SWIG_fail
;
18513 resultobj
= SWIG_Py_Void();
18520 SWIGINTERN PyObject
*SingleChoiceDialog_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18522 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
18523 SWIG_TypeNewClientData(SWIGTYPE_p_wxSingleChoiceDialog
, SWIG_NewClientData(obj
));
18524 return SWIG_Py_Void();
18527 SWIGINTERN PyObject
*SingleChoiceDialog_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18528 return SWIG_Python_InitShadowInstance(args
);
18531 SWIGINTERN PyObject
*_wrap_new_TextEntryDialog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18532 PyObject
*resultobj
= 0;
18533 wxWindow
*arg1
= (wxWindow
*) 0 ;
18534 wxString
*arg2
= 0 ;
18535 wxString
const &arg3_defvalue
= wxPyGetTextFromUserPromptStr
;
18536 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
18537 wxString
const &arg4_defvalue
= wxPyEmptyString
;
18538 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
18539 long arg5
= (long) wxTextEntryDialogStyle
;
18540 wxPoint
const &arg6_defvalue
= wxDefaultPosition
;
18541 wxPoint
*arg6
= (wxPoint
*) &arg6_defvalue
;
18542 wxTextEntryDialog
*result
= 0 ;
18545 bool temp2
= false ;
18546 bool temp3
= false ;
18547 bool temp4
= false ;
18551 PyObject
* obj0
= 0 ;
18552 PyObject
* obj1
= 0 ;
18553 PyObject
* obj2
= 0 ;
18554 PyObject
* obj3
= 0 ;
18555 PyObject
* obj4
= 0 ;
18556 PyObject
* obj5
= 0 ;
18557 char * kwnames
[] = {
18558 (char *) "parent",(char *) "message",(char *) "caption",(char *) "defaultValue",(char *) "style",(char *) "pos", NULL
18561 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:new_TextEntryDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
18562 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
18563 if (!SWIG_IsOK(res1
)) {
18564 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_TextEntryDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
18566 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
18568 arg2
= wxString_in_helper(obj1
);
18569 if (arg2
== NULL
) SWIG_fail
;
18574 arg3
= wxString_in_helper(obj2
);
18575 if (arg3
== NULL
) SWIG_fail
;
18581 arg4
= wxString_in_helper(obj3
);
18582 if (arg4
== NULL
) SWIG_fail
;
18587 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
18588 if (!SWIG_IsOK(ecode5
)) {
18589 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_TextEntryDialog" "', expected argument " "5"" of type '" "long""'");
18591 arg5
= static_cast< long >(val5
);
18596 if ( ! wxPoint_helper(obj5
, &arg6
)) SWIG_fail
;
18600 if (!wxPyCheckForApp()) SWIG_fail
;
18601 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18602 result
= (wxTextEntryDialog
*)new wxTextEntryDialog(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,arg5
,(wxPoint
const &)*arg6
);
18603 wxPyEndAllowThreads(__tstate
);
18604 if (PyErr_Occurred()) SWIG_fail
;
18606 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTextEntryDialog
, SWIG_POINTER_NEW
| 0 );
18637 SWIGINTERN PyObject
*_wrap_TextEntryDialog_GetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18638 PyObject
*resultobj
= 0;
18639 wxTextEntryDialog
*arg1
= (wxTextEntryDialog
*) 0 ;
18643 PyObject
*swig_obj
[1] ;
18645 if (!args
) SWIG_fail
;
18646 swig_obj
[0] = args
;
18647 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextEntryDialog
, 0 | 0 );
18648 if (!SWIG_IsOK(res1
)) {
18649 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextEntryDialog_GetValue" "', expected argument " "1"" of type '" "wxTextEntryDialog *""'");
18651 arg1
= reinterpret_cast< wxTextEntryDialog
* >(argp1
);
18653 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18654 result
= (arg1
)->GetValue();
18655 wxPyEndAllowThreads(__tstate
);
18656 if (PyErr_Occurred()) SWIG_fail
;
18660 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
18662 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
18671 SWIGINTERN PyObject
*_wrap_TextEntryDialog_SetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18672 PyObject
*resultobj
= 0;
18673 wxTextEntryDialog
*arg1
= (wxTextEntryDialog
*) 0 ;
18674 wxString
*arg2
= 0 ;
18677 bool temp2
= false ;
18678 PyObject
* obj0
= 0 ;
18679 PyObject
* obj1
= 0 ;
18680 char * kwnames
[] = {
18681 (char *) "self",(char *) "value", NULL
18684 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextEntryDialog_SetValue",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18685 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextEntryDialog
, 0 | 0 );
18686 if (!SWIG_IsOK(res1
)) {
18687 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextEntryDialog_SetValue" "', expected argument " "1"" of type '" "wxTextEntryDialog *""'");
18689 arg1
= reinterpret_cast< wxTextEntryDialog
* >(argp1
);
18691 arg2
= wxString_in_helper(obj1
);
18692 if (arg2
== NULL
) SWIG_fail
;
18696 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18697 (arg1
)->SetValue((wxString
const &)*arg2
);
18698 wxPyEndAllowThreads(__tstate
);
18699 if (PyErr_Occurred()) SWIG_fail
;
18701 resultobj
= SWIG_Py_Void();
18716 SWIGINTERN PyObject
*TextEntryDialog_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18718 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
18719 SWIG_TypeNewClientData(SWIGTYPE_p_wxTextEntryDialog
, SWIG_NewClientData(obj
));
18720 return SWIG_Py_Void();
18723 SWIGINTERN PyObject
*TextEntryDialog_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18724 return SWIG_Python_InitShadowInstance(args
);
18727 SWIGINTERN
int GetPasswordFromUserPromptStr_set(PyObject
*) {
18728 SWIG_Error(SWIG_AttributeError
,"Variable GetPasswordFromUserPromptStr is read-only.");
18733 SWIGINTERN PyObject
*GetPasswordFromUserPromptStr_get(void) {
18734 PyObject
*pyobj
= 0;
18738 pyobj
= PyUnicode_FromWideChar((&wxPyGetPasswordFromUserPromptStr
)->c_str(), (&wxPyGetPasswordFromUserPromptStr
)->Len());
18740 pyobj
= PyString_FromStringAndSize((&wxPyGetPasswordFromUserPromptStr
)->c_str(), (&wxPyGetPasswordFromUserPromptStr
)->Len());
18747 SWIGINTERN PyObject
*_wrap_new_PasswordEntryDialog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18748 PyObject
*resultobj
= 0;
18749 wxWindow
*arg1
= (wxWindow
*) 0 ;
18750 wxString
*arg2
= 0 ;
18751 wxString
const &arg3_defvalue
= wxPyGetPasswordFromUserPromptStr
;
18752 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
18753 wxString
const &arg4_defvalue
= wxPyEmptyString
;
18754 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
18755 long arg5
= (long) wxTextEntryDialogStyle
;
18756 wxPoint
const &arg6_defvalue
= wxDefaultPosition
;
18757 wxPoint
*arg6
= (wxPoint
*) &arg6_defvalue
;
18758 wxPasswordEntryDialog
*result
= 0 ;
18761 bool temp2
= false ;
18762 bool temp3
= false ;
18763 bool temp4
= false ;
18767 PyObject
* obj0
= 0 ;
18768 PyObject
* obj1
= 0 ;
18769 PyObject
* obj2
= 0 ;
18770 PyObject
* obj3
= 0 ;
18771 PyObject
* obj4
= 0 ;
18772 PyObject
* obj5
= 0 ;
18773 char * kwnames
[] = {
18774 (char *) "parent",(char *) "message",(char *) "caption",(char *) "value",(char *) "style",(char *) "pos", NULL
18777 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:new_PasswordEntryDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
18778 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
18779 if (!SWIG_IsOK(res1
)) {
18780 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PasswordEntryDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
18782 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
18784 arg2
= wxString_in_helper(obj1
);
18785 if (arg2
== NULL
) SWIG_fail
;
18790 arg3
= wxString_in_helper(obj2
);
18791 if (arg3
== NULL
) SWIG_fail
;
18797 arg4
= wxString_in_helper(obj3
);
18798 if (arg4
== NULL
) SWIG_fail
;
18803 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
18804 if (!SWIG_IsOK(ecode5
)) {
18805 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_PasswordEntryDialog" "', expected argument " "5"" of type '" "long""'");
18807 arg5
= static_cast< long >(val5
);
18812 if ( ! wxPoint_helper(obj5
, &arg6
)) SWIG_fail
;
18816 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18817 result
= (wxPasswordEntryDialog
*)new wxPasswordEntryDialog(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,arg5
,(wxPoint
const &)*arg6
);
18818 wxPyEndAllowThreads(__tstate
);
18819 if (PyErr_Occurred()) SWIG_fail
;
18821 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPasswordEntryDialog
, SWIG_POINTER_NEW
| 0 );
18852 SWIGINTERN PyObject
*PasswordEntryDialog_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18854 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
18855 SWIG_TypeNewClientData(SWIGTYPE_p_wxPasswordEntryDialog
, SWIG_NewClientData(obj
));
18856 return SWIG_Py_Void();
18859 SWIGINTERN PyObject
*PasswordEntryDialog_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18860 return SWIG_Python_InitShadowInstance(args
);
18863 SWIGINTERN PyObject
*_wrap_new_NumberEntryDialog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18864 PyObject
*resultobj
= 0;
18865 wxWindow
*arg1
= (wxWindow
*) 0 ;
18866 wxString
*arg2
= 0 ;
18867 wxString
*arg3
= 0 ;
18868 wxString
*arg4
= 0 ;
18872 wxPoint
const &arg8_defvalue
= wxDefaultPosition
;
18873 wxPoint
*arg8
= (wxPoint
*) &arg8_defvalue
;
18874 wxNumberEntryDialog
*result
= 0 ;
18877 bool temp2
= false ;
18878 bool temp3
= false ;
18879 bool temp4
= false ;
18887 PyObject
* obj0
= 0 ;
18888 PyObject
* obj1
= 0 ;
18889 PyObject
* obj2
= 0 ;
18890 PyObject
* obj3
= 0 ;
18891 PyObject
* obj4
= 0 ;
18892 PyObject
* obj5
= 0 ;
18893 PyObject
* obj6
= 0 ;
18894 PyObject
* obj7
= 0 ;
18895 char * kwnames
[] = {
18896 (char *) "parent",(char *) "message",(char *) "prompt",(char *) "caption",(char *) "value",(char *) "min",(char *) "max",(char *) "pos", NULL
18899 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOOO|O:new_NumberEntryDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
18900 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
18901 if (!SWIG_IsOK(res1
)) {
18902 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_NumberEntryDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
18904 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
18906 arg2
= wxString_in_helper(obj1
);
18907 if (arg2
== NULL
) SWIG_fail
;
18911 arg3
= wxString_in_helper(obj2
);
18912 if (arg3
== NULL
) SWIG_fail
;
18916 arg4
= wxString_in_helper(obj3
);
18917 if (arg4
== NULL
) SWIG_fail
;
18920 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
18921 if (!SWIG_IsOK(ecode5
)) {
18922 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_NumberEntryDialog" "', expected argument " "5"" of type '" "long""'");
18924 arg5
= static_cast< long >(val5
);
18925 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
18926 if (!SWIG_IsOK(ecode6
)) {
18927 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_NumberEntryDialog" "', expected argument " "6"" of type '" "long""'");
18929 arg6
= static_cast< long >(val6
);
18930 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
18931 if (!SWIG_IsOK(ecode7
)) {
18932 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "new_NumberEntryDialog" "', expected argument " "7"" of type '" "long""'");
18934 arg7
= static_cast< long >(val7
);
18938 if ( ! wxPoint_helper(obj7
, &arg8
)) SWIG_fail
;
18942 if (!wxPyCheckForApp()) SWIG_fail
;
18943 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18944 result
= (wxNumberEntryDialog
*)new wxNumberEntryDialog(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,arg5
,arg6
,arg7
,(wxPoint
const &)*arg8
);
18945 wxPyEndAllowThreads(__tstate
);
18946 if (PyErr_Occurred()) SWIG_fail
;
18948 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxNumberEntryDialog
, SWIG_POINTER_NEW
| 0 );
18979 SWIGINTERN PyObject
*_wrap_NumberEntryDialog_GetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18980 PyObject
*resultobj
= 0;
18981 wxNumberEntryDialog
*arg1
= (wxNumberEntryDialog
*) 0 ;
18985 PyObject
*swig_obj
[1] ;
18987 if (!args
) SWIG_fail
;
18988 swig_obj
[0] = args
;
18989 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNumberEntryDialog
, 0 | 0 );
18990 if (!SWIG_IsOK(res1
)) {
18991 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NumberEntryDialog_GetValue" "', expected argument " "1"" of type '" "wxNumberEntryDialog *""'");
18993 arg1
= reinterpret_cast< wxNumberEntryDialog
* >(argp1
);
18995 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18996 result
= (long)(arg1
)->GetValue();
18997 wxPyEndAllowThreads(__tstate
);
18998 if (PyErr_Occurred()) SWIG_fail
;
19000 resultobj
= SWIG_From_long(static_cast< long >(result
));
19007 SWIGINTERN PyObject
*NumberEntryDialog_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19009 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
19010 SWIG_TypeNewClientData(SWIGTYPE_p_wxNumberEntryDialog
, SWIG_NewClientData(obj
));
19011 return SWIG_Py_Void();
19014 SWIGINTERN PyObject
*NumberEntryDialog_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19015 return SWIG_Python_InitShadowInstance(args
);
19018 SWIGINTERN PyObject
*_wrap_new_FontData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19019 PyObject
*resultobj
= 0;
19020 wxFontData
*result
= 0 ;
19022 if (!SWIG_Python_UnpackTuple(args
,"new_FontData",0,0,0)) SWIG_fail
;
19024 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19025 result
= (wxFontData
*)new wxFontData();
19026 wxPyEndAllowThreads(__tstate
);
19027 if (PyErr_Occurred()) SWIG_fail
;
19029 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFontData
, SWIG_POINTER_NEW
| 0 );
19036 SWIGINTERN PyObject
*_wrap_delete_FontData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19037 PyObject
*resultobj
= 0;
19038 wxFontData
*arg1
= (wxFontData
*) 0 ;
19041 PyObject
*swig_obj
[1] ;
19043 if (!args
) SWIG_fail
;
19044 swig_obj
[0] = args
;
19045 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFontData
, SWIG_POINTER_DISOWN
| 0 );
19046 if (!SWIG_IsOK(res1
)) {
19047 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_FontData" "', expected argument " "1"" of type '" "wxFontData *""'");
19049 arg1
= reinterpret_cast< wxFontData
* >(argp1
);
19051 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19054 wxPyEndAllowThreads(__tstate
);
19055 if (PyErr_Occurred()) SWIG_fail
;
19057 resultobj
= SWIG_Py_Void();
19064 SWIGINTERN PyObject
*_wrap_FontData_EnableEffects(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19065 PyObject
*resultobj
= 0;
19066 wxFontData
*arg1
= (wxFontData
*) 0 ;
19072 PyObject
* obj0
= 0 ;
19073 PyObject
* obj1
= 0 ;
19074 char * kwnames
[] = {
19075 (char *) "self",(char *) "enable", NULL
19078 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontData_EnableEffects",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19079 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontData
, 0 | 0 );
19080 if (!SWIG_IsOK(res1
)) {
19081 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontData_EnableEffects" "', expected argument " "1"" of type '" "wxFontData *""'");
19083 arg1
= reinterpret_cast< wxFontData
* >(argp1
);
19084 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
19085 if (!SWIG_IsOK(ecode2
)) {
19086 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "FontData_EnableEffects" "', expected argument " "2"" of type '" "bool""'");
19088 arg2
= static_cast< bool >(val2
);
19090 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19091 (arg1
)->EnableEffects(arg2
);
19092 wxPyEndAllowThreads(__tstate
);
19093 if (PyErr_Occurred()) SWIG_fail
;
19095 resultobj
= SWIG_Py_Void();
19102 SWIGINTERN PyObject
*_wrap_FontData_GetAllowSymbols(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19103 PyObject
*resultobj
= 0;
19104 wxFontData
*arg1
= (wxFontData
*) 0 ;
19108 PyObject
*swig_obj
[1] ;
19110 if (!args
) SWIG_fail
;
19111 swig_obj
[0] = args
;
19112 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFontData
, 0 | 0 );
19113 if (!SWIG_IsOK(res1
)) {
19114 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontData_GetAllowSymbols" "', expected argument " "1"" of type '" "wxFontData *""'");
19116 arg1
= reinterpret_cast< wxFontData
* >(argp1
);
19118 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19119 result
= (bool)(arg1
)->GetAllowSymbols();
19120 wxPyEndAllowThreads(__tstate
);
19121 if (PyErr_Occurred()) SWIG_fail
;
19124 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19132 SWIGINTERN PyObject
*_wrap_FontData_GetColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19133 PyObject
*resultobj
= 0;
19134 wxFontData
*arg1
= (wxFontData
*) 0 ;
19138 PyObject
*swig_obj
[1] ;
19140 if (!args
) SWIG_fail
;
19141 swig_obj
[0] = args
;
19142 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFontData
, 0 | 0 );
19143 if (!SWIG_IsOK(res1
)) {
19144 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontData_GetColour" "', expected argument " "1"" of type '" "wxFontData *""'");
19146 arg1
= reinterpret_cast< wxFontData
* >(argp1
);
19148 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19149 result
= (arg1
)->GetColour();
19150 wxPyEndAllowThreads(__tstate
);
19151 if (PyErr_Occurred()) SWIG_fail
;
19153 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
19160 SWIGINTERN PyObject
*_wrap_FontData_GetChosenFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19161 PyObject
*resultobj
= 0;
19162 wxFontData
*arg1
= (wxFontData
*) 0 ;
19166 PyObject
*swig_obj
[1] ;
19168 if (!args
) SWIG_fail
;
19169 swig_obj
[0] = args
;
19170 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFontData
, 0 | 0 );
19171 if (!SWIG_IsOK(res1
)) {
19172 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontData_GetChosenFont" "', expected argument " "1"" of type '" "wxFontData *""'");
19174 arg1
= reinterpret_cast< wxFontData
* >(argp1
);
19176 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19177 result
= (arg1
)->GetChosenFont();
19178 wxPyEndAllowThreads(__tstate
);
19179 if (PyErr_Occurred()) SWIG_fail
;
19181 resultobj
= SWIG_NewPointerObj((new wxFont(static_cast< const wxFont
& >(result
))), SWIGTYPE_p_wxFont
, SWIG_POINTER_OWN
| 0 );
19188 SWIGINTERN PyObject
*_wrap_FontData_GetEnableEffects(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19189 PyObject
*resultobj
= 0;
19190 wxFontData
*arg1
= (wxFontData
*) 0 ;
19194 PyObject
*swig_obj
[1] ;
19196 if (!args
) SWIG_fail
;
19197 swig_obj
[0] = args
;
19198 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFontData
, 0 | 0 );
19199 if (!SWIG_IsOK(res1
)) {
19200 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontData_GetEnableEffects" "', expected argument " "1"" of type '" "wxFontData *""'");
19202 arg1
= reinterpret_cast< wxFontData
* >(argp1
);
19204 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19205 result
= (bool)(arg1
)->GetEnableEffects();
19206 wxPyEndAllowThreads(__tstate
);
19207 if (PyErr_Occurred()) SWIG_fail
;
19210 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19218 SWIGINTERN PyObject
*_wrap_FontData_GetInitialFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19219 PyObject
*resultobj
= 0;
19220 wxFontData
*arg1
= (wxFontData
*) 0 ;
19224 PyObject
*swig_obj
[1] ;
19226 if (!args
) SWIG_fail
;
19227 swig_obj
[0] = args
;
19228 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFontData
, 0 | 0 );
19229 if (!SWIG_IsOK(res1
)) {
19230 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontData_GetInitialFont" "', expected argument " "1"" of type '" "wxFontData *""'");
19232 arg1
= reinterpret_cast< wxFontData
* >(argp1
);
19234 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19235 result
= (arg1
)->GetInitialFont();
19236 wxPyEndAllowThreads(__tstate
);
19237 if (PyErr_Occurred()) SWIG_fail
;
19239 resultobj
= SWIG_NewPointerObj((new wxFont(static_cast< const wxFont
& >(result
))), SWIGTYPE_p_wxFont
, SWIG_POINTER_OWN
| 0 );
19246 SWIGINTERN PyObject
*_wrap_FontData_GetShowHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19247 PyObject
*resultobj
= 0;
19248 wxFontData
*arg1
= (wxFontData
*) 0 ;
19252 PyObject
*swig_obj
[1] ;
19254 if (!args
) SWIG_fail
;
19255 swig_obj
[0] = args
;
19256 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFontData
, 0 | 0 );
19257 if (!SWIG_IsOK(res1
)) {
19258 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontData_GetShowHelp" "', expected argument " "1"" of type '" "wxFontData *""'");
19260 arg1
= reinterpret_cast< wxFontData
* >(argp1
);
19262 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19263 result
= (bool)(arg1
)->GetShowHelp();
19264 wxPyEndAllowThreads(__tstate
);
19265 if (PyErr_Occurred()) SWIG_fail
;
19268 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19276 SWIGINTERN PyObject
*_wrap_FontData_SetAllowSymbols(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19277 PyObject
*resultobj
= 0;
19278 wxFontData
*arg1
= (wxFontData
*) 0 ;
19284 PyObject
* obj0
= 0 ;
19285 PyObject
* obj1
= 0 ;
19286 char * kwnames
[] = {
19287 (char *) "self",(char *) "allowSymbols", NULL
19290 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontData_SetAllowSymbols",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19291 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontData
, 0 | 0 );
19292 if (!SWIG_IsOK(res1
)) {
19293 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontData_SetAllowSymbols" "', expected argument " "1"" of type '" "wxFontData *""'");
19295 arg1
= reinterpret_cast< wxFontData
* >(argp1
);
19296 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
19297 if (!SWIG_IsOK(ecode2
)) {
19298 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "FontData_SetAllowSymbols" "', expected argument " "2"" of type '" "bool""'");
19300 arg2
= static_cast< bool >(val2
);
19302 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19303 (arg1
)->SetAllowSymbols(arg2
);
19304 wxPyEndAllowThreads(__tstate
);
19305 if (PyErr_Occurred()) SWIG_fail
;
19307 resultobj
= SWIG_Py_Void();
19314 SWIGINTERN PyObject
*_wrap_FontData_SetChosenFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19315 PyObject
*resultobj
= 0;
19316 wxFontData
*arg1
= (wxFontData
*) 0 ;
19322 PyObject
* obj0
= 0 ;
19323 PyObject
* obj1
= 0 ;
19324 char * kwnames
[] = {
19325 (char *) "self",(char *) "font", NULL
19328 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontData_SetChosenFont",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19329 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontData
, 0 | 0 );
19330 if (!SWIG_IsOK(res1
)) {
19331 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontData_SetChosenFont" "', expected argument " "1"" of type '" "wxFontData *""'");
19333 arg1
= reinterpret_cast< wxFontData
* >(argp1
);
19334 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxFont
, 0 | 0);
19335 if (!SWIG_IsOK(res2
)) {
19336 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "FontData_SetChosenFont" "', expected argument " "2"" of type '" "wxFont const &""'");
19339 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "FontData_SetChosenFont" "', expected argument " "2"" of type '" "wxFont const &""'");
19341 arg2
= reinterpret_cast< wxFont
* >(argp2
);
19343 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19344 (arg1
)->SetChosenFont((wxFont
const &)*arg2
);
19345 wxPyEndAllowThreads(__tstate
);
19346 if (PyErr_Occurred()) SWIG_fail
;
19348 resultobj
= SWIG_Py_Void();
19355 SWIGINTERN PyObject
*_wrap_FontData_SetColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19356 PyObject
*resultobj
= 0;
19357 wxFontData
*arg1
= (wxFontData
*) 0 ;
19358 wxColour
*arg2
= 0 ;
19362 PyObject
* obj0
= 0 ;
19363 PyObject
* obj1
= 0 ;
19364 char * kwnames
[] = {
19365 (char *) "self",(char *) "colour", NULL
19368 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontData_SetColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19369 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontData
, 0 | 0 );
19370 if (!SWIG_IsOK(res1
)) {
19371 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontData_SetColour" "', expected argument " "1"" of type '" "wxFontData *""'");
19373 arg1
= reinterpret_cast< wxFontData
* >(argp1
);
19376 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
19379 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19380 (arg1
)->SetColour((wxColour
const &)*arg2
);
19381 wxPyEndAllowThreads(__tstate
);
19382 if (PyErr_Occurred()) SWIG_fail
;
19384 resultobj
= SWIG_Py_Void();
19391 SWIGINTERN PyObject
*_wrap_FontData_SetInitialFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19392 PyObject
*resultobj
= 0;
19393 wxFontData
*arg1
= (wxFontData
*) 0 ;
19399 PyObject
* obj0
= 0 ;
19400 PyObject
* obj1
= 0 ;
19401 char * kwnames
[] = {
19402 (char *) "self",(char *) "font", NULL
19405 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontData_SetInitialFont",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19406 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontData
, 0 | 0 );
19407 if (!SWIG_IsOK(res1
)) {
19408 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontData_SetInitialFont" "', expected argument " "1"" of type '" "wxFontData *""'");
19410 arg1
= reinterpret_cast< wxFontData
* >(argp1
);
19411 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxFont
, 0 | 0);
19412 if (!SWIG_IsOK(res2
)) {
19413 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "FontData_SetInitialFont" "', expected argument " "2"" of type '" "wxFont const &""'");
19416 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "FontData_SetInitialFont" "', expected argument " "2"" of type '" "wxFont const &""'");
19418 arg2
= reinterpret_cast< wxFont
* >(argp2
);
19420 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19421 (arg1
)->SetInitialFont((wxFont
const &)*arg2
);
19422 wxPyEndAllowThreads(__tstate
);
19423 if (PyErr_Occurred()) SWIG_fail
;
19425 resultobj
= SWIG_Py_Void();
19432 SWIGINTERN PyObject
*_wrap_FontData_SetRange(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19433 PyObject
*resultobj
= 0;
19434 wxFontData
*arg1
= (wxFontData
*) 0 ;
19443 PyObject
* obj0
= 0 ;
19444 PyObject
* obj1
= 0 ;
19445 PyObject
* obj2
= 0 ;
19446 char * kwnames
[] = {
19447 (char *) "self",(char *) "min",(char *) "max", NULL
19450 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:FontData_SetRange",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
19451 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontData
, 0 | 0 );
19452 if (!SWIG_IsOK(res1
)) {
19453 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontData_SetRange" "', expected argument " "1"" of type '" "wxFontData *""'");
19455 arg1
= reinterpret_cast< wxFontData
* >(argp1
);
19456 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
19457 if (!SWIG_IsOK(ecode2
)) {
19458 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "FontData_SetRange" "', expected argument " "2"" of type '" "int""'");
19460 arg2
= static_cast< int >(val2
);
19461 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
19462 if (!SWIG_IsOK(ecode3
)) {
19463 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "FontData_SetRange" "', expected argument " "3"" of type '" "int""'");
19465 arg3
= static_cast< int >(val3
);
19467 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19468 (arg1
)->SetRange(arg2
,arg3
);
19469 wxPyEndAllowThreads(__tstate
);
19470 if (PyErr_Occurred()) SWIG_fail
;
19472 resultobj
= SWIG_Py_Void();
19479 SWIGINTERN PyObject
*_wrap_FontData_SetShowHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19480 PyObject
*resultobj
= 0;
19481 wxFontData
*arg1
= (wxFontData
*) 0 ;
19487 PyObject
* obj0
= 0 ;
19488 PyObject
* obj1
= 0 ;
19489 char * kwnames
[] = {
19490 (char *) "self",(char *) "showHelp", NULL
19493 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontData_SetShowHelp",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19494 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontData
, 0 | 0 );
19495 if (!SWIG_IsOK(res1
)) {
19496 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontData_SetShowHelp" "', expected argument " "1"" of type '" "wxFontData *""'");
19498 arg1
= reinterpret_cast< wxFontData
* >(argp1
);
19499 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
19500 if (!SWIG_IsOK(ecode2
)) {
19501 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "FontData_SetShowHelp" "', expected argument " "2"" of type '" "bool""'");
19503 arg2
= static_cast< bool >(val2
);
19505 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19506 (arg1
)->SetShowHelp(arg2
);
19507 wxPyEndAllowThreads(__tstate
);
19508 if (PyErr_Occurred()) SWIG_fail
;
19510 resultobj
= SWIG_Py_Void();
19517 SWIGINTERN PyObject
*FontData_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19519 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
19520 SWIG_TypeNewClientData(SWIGTYPE_p_wxFontData
, SWIG_NewClientData(obj
));
19521 return SWIG_Py_Void();
19524 SWIGINTERN PyObject
*FontData_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19525 return SWIG_Python_InitShadowInstance(args
);
19528 SWIGINTERN PyObject
*_wrap_new_FontDialog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19529 PyObject
*resultobj
= 0;
19530 wxWindow
*arg1
= (wxWindow
*) 0 ;
19531 wxFontData
*arg2
= 0 ;
19532 wxFontDialog
*result
= 0 ;
19537 PyObject
* obj0
= 0 ;
19538 PyObject
* obj1
= 0 ;
19539 char * kwnames
[] = {
19540 (char *) "parent",(char *) "data", NULL
19543 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_FontDialog",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19544 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
19545 if (!SWIG_IsOK(res1
)) {
19546 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_FontDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
19548 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
19549 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxFontData
, 0 | 0);
19550 if (!SWIG_IsOK(res2
)) {
19551 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_FontDialog" "', expected argument " "2"" of type '" "wxFontData const &""'");
19554 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_FontDialog" "', expected argument " "2"" of type '" "wxFontData const &""'");
19556 arg2
= reinterpret_cast< wxFontData
* >(argp2
);
19558 if (!wxPyCheckForApp()) SWIG_fail
;
19559 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19560 result
= (wxFontDialog
*)new wxFontDialog(arg1
,(wxFontData
const &)*arg2
);
19561 wxPyEndAllowThreads(__tstate
);
19562 if (PyErr_Occurred()) SWIG_fail
;
19564 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFontDialog
, SWIG_POINTER_NEW
| 0 );
19571 SWIGINTERN PyObject
*_wrap_FontDialog_GetFontData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19572 PyObject
*resultobj
= 0;
19573 wxFontDialog
*arg1
= (wxFontDialog
*) 0 ;
19574 wxFontData
*result
= 0 ;
19577 PyObject
*swig_obj
[1] ;
19579 if (!args
) SWIG_fail
;
19580 swig_obj
[0] = args
;
19581 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFontDialog
, 0 | 0 );
19582 if (!SWIG_IsOK(res1
)) {
19583 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontDialog_GetFontData" "', expected argument " "1"" of type '" "wxFontDialog *""'");
19585 arg1
= reinterpret_cast< wxFontDialog
* >(argp1
);
19587 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19589 wxFontData
&_result_ref
= (arg1
)->GetFontData();
19590 result
= (wxFontData
*) &_result_ref
;
19592 wxPyEndAllowThreads(__tstate
);
19593 if (PyErr_Occurred()) SWIG_fail
;
19595 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFontData
, 0 | 0 );
19602 SWIGINTERN PyObject
*FontDialog_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19604 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
19605 SWIG_TypeNewClientData(SWIGTYPE_p_wxFontDialog
, SWIG_NewClientData(obj
));
19606 return SWIG_Py_Void();
19609 SWIGINTERN PyObject
*FontDialog_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19610 return SWIG_Python_InitShadowInstance(args
);
19613 SWIGINTERN PyObject
*_wrap_GetFontFromUser(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19614 PyObject
*resultobj
= 0;
19615 wxWindow
*arg1
= (wxWindow
*) NULL
;
19616 wxFont
const &arg2_defvalue
= wxNullFont
;
19617 wxFont
*arg2
= (wxFont
*) &arg2_defvalue
;
19618 wxString
const &arg3_defvalue
= wxPyEmptyString
;
19619 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
19625 bool temp3
= false ;
19626 PyObject
* obj0
= 0 ;
19627 PyObject
* obj1
= 0 ;
19628 PyObject
* obj2
= 0 ;
19629 char * kwnames
[] = {
19630 (char *) "parent",(char *) "fontInit",(char *) "caption", NULL
19633 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:GetFontFromUser",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
19635 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
19636 if (!SWIG_IsOK(res1
)) {
19637 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GetFontFromUser" "', expected argument " "1"" of type '" "wxWindow *""'");
19639 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
19642 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxFont
, 0 | 0);
19643 if (!SWIG_IsOK(res2
)) {
19644 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GetFontFromUser" "', expected argument " "2"" of type '" "wxFont const &""'");
19647 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GetFontFromUser" "', expected argument " "2"" of type '" "wxFont const &""'");
19649 arg2
= reinterpret_cast< wxFont
* >(argp2
);
19653 arg3
= wxString_in_helper(obj2
);
19654 if (arg3
== NULL
) SWIG_fail
;
19659 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19660 result
= wxGetFontFromUser(arg1
,(wxFont
const &)*arg2
,(wxString
const &)*arg3
);
19661 wxPyEndAllowThreads(__tstate
);
19662 if (PyErr_Occurred()) SWIG_fail
;
19664 resultobj
= SWIG_NewPointerObj((new wxFont(static_cast< const wxFont
& >(result
))), SWIGTYPE_p_wxFont
, SWIG_POINTER_OWN
| 0 );
19679 SWIGINTERN PyObject
*_wrap_new_MessageDialog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19680 PyObject
*resultobj
= 0;
19681 wxWindow
*arg1
= (wxWindow
*) 0 ;
19682 wxString
*arg2
= 0 ;
19683 wxString
const &arg3_defvalue
= wxPyMessageBoxCaptionStr
;
19684 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
19685 long arg4
= (long) wxOK
|wxCANCEL
|wxCENTRE
;
19686 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
19687 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
19688 wxMessageDialog
*result
= 0 ;
19691 bool temp2
= false ;
19692 bool temp3
= false ;
19696 PyObject
* obj0
= 0 ;
19697 PyObject
* obj1
= 0 ;
19698 PyObject
* obj2
= 0 ;
19699 PyObject
* obj3
= 0 ;
19700 PyObject
* obj4
= 0 ;
19701 char * kwnames
[] = {
19702 (char *) "parent",(char *) "message",(char *) "caption",(char *) "style",(char *) "pos", NULL
19705 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:new_MessageDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
19706 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
19707 if (!SWIG_IsOK(res1
)) {
19708 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_MessageDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
19710 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
19712 arg2
= wxString_in_helper(obj1
);
19713 if (arg2
== NULL
) SWIG_fail
;
19718 arg3
= wxString_in_helper(obj2
);
19719 if (arg3
== NULL
) SWIG_fail
;
19724 ecode4
= SWIG_AsVal_long(obj3
, &val4
);
19725 if (!SWIG_IsOK(ecode4
)) {
19726 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_MessageDialog" "', expected argument " "4"" of type '" "long""'");
19728 arg4
= static_cast< long >(val4
);
19733 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
19737 if (!wxPyCheckForApp()) SWIG_fail
;
19738 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19739 result
= (wxMessageDialog
*)new wxMessageDialog(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
,(wxPoint
const &)*arg5
);
19740 wxPyEndAllowThreads(__tstate
);
19741 if (PyErr_Occurred()) SWIG_fail
;
19743 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMessageDialog
, SWIG_POINTER_NEW
| 0 );
19766 SWIGINTERN PyObject
*MessageDialog_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19768 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
19769 SWIG_TypeNewClientData(SWIGTYPE_p_wxMessageDialog
, SWIG_NewClientData(obj
));
19770 return SWIG_Py_Void();
19773 SWIGINTERN PyObject
*MessageDialog_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19774 return SWIG_Python_InitShadowInstance(args
);
19777 SWIGINTERN PyObject
*_wrap_new_ProgressDialog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19778 PyObject
*resultobj
= 0;
19779 wxString
*arg1
= 0 ;
19780 wxString
*arg2
= 0 ;
19781 int arg3
= (int) 100 ;
19782 wxWindow
*arg4
= (wxWindow
*) NULL
;
19783 int arg5
= (int) wxPD_AUTO_HIDE
|wxPD_APP_MODAL
;
19784 wxProgressDialog
*result
= 0 ;
19785 bool temp1
= false ;
19786 bool temp2
= false ;
19793 PyObject
* obj0
= 0 ;
19794 PyObject
* obj1
= 0 ;
19795 PyObject
* obj2
= 0 ;
19796 PyObject
* obj3
= 0 ;
19797 PyObject
* obj4
= 0 ;
19798 char * kwnames
[] = {
19799 (char *) "title",(char *) "message",(char *) "maximum",(char *) "parent",(char *) "style", NULL
19802 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:new_ProgressDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
19804 arg1
= wxString_in_helper(obj0
);
19805 if (arg1
== NULL
) SWIG_fail
;
19809 arg2
= wxString_in_helper(obj1
);
19810 if (arg2
== NULL
) SWIG_fail
;
19814 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
19815 if (!SWIG_IsOK(ecode3
)) {
19816 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_ProgressDialog" "', expected argument " "3"" of type '" "int""'");
19818 arg3
= static_cast< int >(val3
);
19821 res4
= SWIG_ConvertPtr(obj3
, &argp4
,SWIGTYPE_p_wxWindow
, 0 | 0 );
19822 if (!SWIG_IsOK(res4
)) {
19823 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "new_ProgressDialog" "', expected argument " "4"" of type '" "wxWindow *""'");
19825 arg4
= reinterpret_cast< wxWindow
* >(argp4
);
19828 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
19829 if (!SWIG_IsOK(ecode5
)) {
19830 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_ProgressDialog" "', expected argument " "5"" of type '" "int""'");
19832 arg5
= static_cast< int >(val5
);
19835 if (!wxPyCheckForApp()) SWIG_fail
;
19836 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19837 result
= (wxProgressDialog
*)new wxProgressDialog((wxString
const &)*arg1
,(wxString
const &)*arg2
,arg3
,arg4
,arg5
);
19838 wxPyEndAllowThreads(__tstate
);
19839 if (PyErr_Occurred()) SWIG_fail
;
19841 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxProgressDialog
, SWIG_POINTER_NEW
| 0 );
19864 SWIGINTERN PyObject
*_wrap_ProgressDialog_Update(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19865 PyObject
*resultobj
= 0;
19866 wxProgressDialog
*arg1
= (wxProgressDialog
*) 0 ;
19868 wxString
const &arg3_defvalue
= wxPyEmptyString
;
19869 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
19870 bool *arg4
= (bool *) 0 ;
19876 bool temp3
= false ;
19878 int res4
= SWIG_TMPOBJ
;
19879 PyObject
* obj0
= 0 ;
19880 PyObject
* obj1
= 0 ;
19881 PyObject
* obj2
= 0 ;
19882 char * kwnames
[] = {
19883 (char *) "self",(char *) "value",(char *) "newmsg", NULL
19887 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ProgressDialog_Update",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
19888 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxProgressDialog
, 0 | 0 );
19889 if (!SWIG_IsOK(res1
)) {
19890 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ProgressDialog_Update" "', expected argument " "1"" of type '" "wxProgressDialog *""'");
19892 arg1
= reinterpret_cast< wxProgressDialog
* >(argp1
);
19893 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
19894 if (!SWIG_IsOK(ecode2
)) {
19895 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ProgressDialog_Update" "', expected argument " "2"" of type '" "int""'");
19897 arg2
= static_cast< int >(val2
);
19900 arg3
= wxString_in_helper(obj2
);
19901 if (arg3
== NULL
) SWIG_fail
;
19906 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19907 result
= (bool)(arg1
)->Update(arg2
,(wxString
const &)*arg3
,arg4
);
19908 wxPyEndAllowThreads(__tstate
);
19909 if (PyErr_Occurred()) SWIG_fail
;
19912 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19914 if (SWIG_IsTmpObj(res4
)) {
19915 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_bool((*arg4
)));
19917 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
19918 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_bool
, new_flags
));
19934 SWIGINTERN PyObject
*_wrap_ProgressDialog_Pulse(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19935 PyObject
*resultobj
= 0;
19936 wxProgressDialog
*arg1
= (wxProgressDialog
*) 0 ;
19937 wxString
const &arg2_defvalue
= wxPyEmptyString
;
19938 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
19939 bool *arg3
= (bool *) 0 ;
19943 bool temp2
= false ;
19945 int res3
= SWIG_TMPOBJ
;
19946 PyObject
* obj0
= 0 ;
19947 PyObject
* obj1
= 0 ;
19948 char * kwnames
[] = {
19949 (char *) "self",(char *) "newmsg", NULL
19953 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ProgressDialog_Pulse",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19954 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxProgressDialog
, 0 | 0 );
19955 if (!SWIG_IsOK(res1
)) {
19956 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ProgressDialog_Pulse" "', expected argument " "1"" of type '" "wxProgressDialog *""'");
19958 arg1
= reinterpret_cast< wxProgressDialog
* >(argp1
);
19961 arg2
= wxString_in_helper(obj1
);
19962 if (arg2
== NULL
) SWIG_fail
;
19967 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19968 result
= (bool)(arg1
)->Pulse((wxString
const &)*arg2
,arg3
);
19969 wxPyEndAllowThreads(__tstate
);
19970 if (PyErr_Occurred()) SWIG_fail
;
19973 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19975 if (SWIG_IsTmpObj(res3
)) {
19976 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_bool((*arg3
)));
19978 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
19979 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_bool
, new_flags
));
19995 SWIGINTERN PyObject
*_wrap_ProgressDialog_Resume(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19996 PyObject
*resultobj
= 0;
19997 wxProgressDialog
*arg1
= (wxProgressDialog
*) 0 ;
20000 PyObject
*swig_obj
[1] ;
20002 if (!args
) SWIG_fail
;
20003 swig_obj
[0] = args
;
20004 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxProgressDialog
, 0 | 0 );
20005 if (!SWIG_IsOK(res1
)) {
20006 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ProgressDialog_Resume" "', expected argument " "1"" of type '" "wxProgressDialog *""'");
20008 arg1
= reinterpret_cast< wxProgressDialog
* >(argp1
);
20010 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20012 wxPyEndAllowThreads(__tstate
);
20013 if (PyErr_Occurred()) SWIG_fail
;
20015 resultobj
= SWIG_Py_Void();
20022 SWIGINTERN PyObject
*ProgressDialog_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20024 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
20025 SWIG_TypeNewClientData(SWIGTYPE_p_wxProgressDialog
, SWIG_NewClientData(obj
));
20026 return SWIG_Py_Void();
20029 SWIGINTERN PyObject
*ProgressDialog_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20030 return SWIG_Python_InitShadowInstance(args
);
20033 SWIGINTERN PyObject
*_wrap_new_FindDialogEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20034 PyObject
*resultobj
= 0;
20035 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
20036 int arg2
= (int) 0 ;
20037 wxFindDialogEvent
*result
= 0 ;
20042 PyObject
* obj0
= 0 ;
20043 PyObject
* obj1
= 0 ;
20044 char * kwnames
[] = {
20045 (char *) "commandType",(char *) "id", NULL
20048 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_FindDialogEvent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20050 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
20051 if (!SWIG_IsOK(ecode1
)) {
20052 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_FindDialogEvent" "', expected argument " "1"" of type '" "wxEventType""'");
20054 arg1
= static_cast< wxEventType
>(val1
);
20057 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
20058 if (!SWIG_IsOK(ecode2
)) {
20059 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_FindDialogEvent" "', expected argument " "2"" of type '" "int""'");
20061 arg2
= static_cast< int >(val2
);
20064 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20065 result
= (wxFindDialogEvent
*)new wxFindDialogEvent(arg1
,arg2
);
20066 wxPyEndAllowThreads(__tstate
);
20067 if (PyErr_Occurred()) SWIG_fail
;
20069 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFindDialogEvent
, SWIG_POINTER_NEW
| 0 );
20076 SWIGINTERN PyObject
*_wrap_FindDialogEvent_GetFlags(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20077 PyObject
*resultobj
= 0;
20078 wxFindDialogEvent
*arg1
= (wxFindDialogEvent
*) 0 ;
20082 PyObject
*swig_obj
[1] ;
20084 if (!args
) SWIG_fail
;
20085 swig_obj
[0] = args
;
20086 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFindDialogEvent
, 0 | 0 );
20087 if (!SWIG_IsOK(res1
)) {
20088 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FindDialogEvent_GetFlags" "', expected argument " "1"" of type '" "wxFindDialogEvent *""'");
20090 arg1
= reinterpret_cast< wxFindDialogEvent
* >(argp1
);
20092 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20093 result
= (int)(arg1
)->GetFlags();
20094 wxPyEndAllowThreads(__tstate
);
20095 if (PyErr_Occurred()) SWIG_fail
;
20097 resultobj
= SWIG_From_int(static_cast< int >(result
));
20104 SWIGINTERN PyObject
*_wrap_FindDialogEvent_GetFindString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20105 PyObject
*resultobj
= 0;
20106 wxFindDialogEvent
*arg1
= (wxFindDialogEvent
*) 0 ;
20107 wxString
*result
= 0 ;
20110 PyObject
*swig_obj
[1] ;
20112 if (!args
) SWIG_fail
;
20113 swig_obj
[0] = args
;
20114 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFindDialogEvent
, 0 | 0 );
20115 if (!SWIG_IsOK(res1
)) {
20116 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FindDialogEvent_GetFindString" "', expected argument " "1"" of type '" "wxFindDialogEvent *""'");
20118 arg1
= reinterpret_cast< wxFindDialogEvent
* >(argp1
);
20120 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20122 wxString
const &_result_ref
= (arg1
)->GetFindString();
20123 result
= (wxString
*) &_result_ref
;
20125 wxPyEndAllowThreads(__tstate
);
20126 if (PyErr_Occurred()) SWIG_fail
;
20130 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
20132 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
20141 SWIGINTERN PyObject
*_wrap_FindDialogEvent_GetReplaceString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20142 PyObject
*resultobj
= 0;
20143 wxFindDialogEvent
*arg1
= (wxFindDialogEvent
*) 0 ;
20144 wxString
*result
= 0 ;
20147 PyObject
*swig_obj
[1] ;
20149 if (!args
) SWIG_fail
;
20150 swig_obj
[0] = args
;
20151 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFindDialogEvent
, 0 | 0 );
20152 if (!SWIG_IsOK(res1
)) {
20153 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FindDialogEvent_GetReplaceString" "', expected argument " "1"" of type '" "wxFindDialogEvent *""'");
20155 arg1
= reinterpret_cast< wxFindDialogEvent
* >(argp1
);
20157 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20159 wxString
const &_result_ref
= (arg1
)->GetReplaceString();
20160 result
= (wxString
*) &_result_ref
;
20162 wxPyEndAllowThreads(__tstate
);
20163 if (PyErr_Occurred()) SWIG_fail
;
20167 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
20169 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
20178 SWIGINTERN PyObject
*_wrap_FindDialogEvent_GetDialog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20179 PyObject
*resultobj
= 0;
20180 wxFindDialogEvent
*arg1
= (wxFindDialogEvent
*) 0 ;
20181 wxFindReplaceDialog
*result
= 0 ;
20184 PyObject
*swig_obj
[1] ;
20186 if (!args
) SWIG_fail
;
20187 swig_obj
[0] = args
;
20188 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFindDialogEvent
, 0 | 0 );
20189 if (!SWIG_IsOK(res1
)) {
20190 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FindDialogEvent_GetDialog" "', expected argument " "1"" of type '" "wxFindDialogEvent *""'");
20192 arg1
= reinterpret_cast< wxFindDialogEvent
* >(argp1
);
20194 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20195 result
= (wxFindReplaceDialog
*)(arg1
)->GetDialog();
20196 wxPyEndAllowThreads(__tstate
);
20197 if (PyErr_Occurred()) SWIG_fail
;
20199 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFindReplaceDialog
, 0 | 0 );
20206 SWIGINTERN PyObject
*_wrap_FindDialogEvent_SetFlags(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20207 PyObject
*resultobj
= 0;
20208 wxFindDialogEvent
*arg1
= (wxFindDialogEvent
*) 0 ;
20214 PyObject
* obj0
= 0 ;
20215 PyObject
* obj1
= 0 ;
20216 char * kwnames
[] = {
20217 (char *) "self",(char *) "flags", NULL
20220 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FindDialogEvent_SetFlags",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20221 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFindDialogEvent
, 0 | 0 );
20222 if (!SWIG_IsOK(res1
)) {
20223 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FindDialogEvent_SetFlags" "', expected argument " "1"" of type '" "wxFindDialogEvent *""'");
20225 arg1
= reinterpret_cast< wxFindDialogEvent
* >(argp1
);
20226 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
20227 if (!SWIG_IsOK(ecode2
)) {
20228 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "FindDialogEvent_SetFlags" "', expected argument " "2"" of type '" "int""'");
20230 arg2
= static_cast< int >(val2
);
20232 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20233 (arg1
)->SetFlags(arg2
);
20234 wxPyEndAllowThreads(__tstate
);
20235 if (PyErr_Occurred()) SWIG_fail
;
20237 resultobj
= SWIG_Py_Void();
20244 SWIGINTERN PyObject
*_wrap_FindDialogEvent_SetFindString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20245 PyObject
*resultobj
= 0;
20246 wxFindDialogEvent
*arg1
= (wxFindDialogEvent
*) 0 ;
20247 wxString
*arg2
= 0 ;
20250 bool temp2
= false ;
20251 PyObject
* obj0
= 0 ;
20252 PyObject
* obj1
= 0 ;
20253 char * kwnames
[] = {
20254 (char *) "self",(char *) "str", NULL
20257 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FindDialogEvent_SetFindString",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20258 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFindDialogEvent
, 0 | 0 );
20259 if (!SWIG_IsOK(res1
)) {
20260 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FindDialogEvent_SetFindString" "', expected argument " "1"" of type '" "wxFindDialogEvent *""'");
20262 arg1
= reinterpret_cast< wxFindDialogEvent
* >(argp1
);
20264 arg2
= wxString_in_helper(obj1
);
20265 if (arg2
== NULL
) SWIG_fail
;
20269 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20270 (arg1
)->SetFindString((wxString
const &)*arg2
);
20271 wxPyEndAllowThreads(__tstate
);
20272 if (PyErr_Occurred()) SWIG_fail
;
20274 resultobj
= SWIG_Py_Void();
20289 SWIGINTERN PyObject
*_wrap_FindDialogEvent_SetReplaceString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20290 PyObject
*resultobj
= 0;
20291 wxFindDialogEvent
*arg1
= (wxFindDialogEvent
*) 0 ;
20292 wxString
*arg2
= 0 ;
20295 bool temp2
= false ;
20296 PyObject
* obj0
= 0 ;
20297 PyObject
* obj1
= 0 ;
20298 char * kwnames
[] = {
20299 (char *) "self",(char *) "str", NULL
20302 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FindDialogEvent_SetReplaceString",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20303 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFindDialogEvent
, 0 | 0 );
20304 if (!SWIG_IsOK(res1
)) {
20305 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FindDialogEvent_SetReplaceString" "', expected argument " "1"" of type '" "wxFindDialogEvent *""'");
20307 arg1
= reinterpret_cast< wxFindDialogEvent
* >(argp1
);
20309 arg2
= wxString_in_helper(obj1
);
20310 if (arg2
== NULL
) SWIG_fail
;
20314 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20315 (arg1
)->SetReplaceString((wxString
const &)*arg2
);
20316 wxPyEndAllowThreads(__tstate
);
20317 if (PyErr_Occurred()) SWIG_fail
;
20319 resultobj
= SWIG_Py_Void();
20334 SWIGINTERN PyObject
*FindDialogEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20336 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
20337 SWIG_TypeNewClientData(SWIGTYPE_p_wxFindDialogEvent
, SWIG_NewClientData(obj
));
20338 return SWIG_Py_Void();
20341 SWIGINTERN PyObject
*FindDialogEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20342 return SWIG_Python_InitShadowInstance(args
);
20345 SWIGINTERN PyObject
*_wrap_new_FindReplaceData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20346 PyObject
*resultobj
= 0;
20347 int arg1
= (int) 0 ;
20348 wxFindReplaceData
*result
= 0 ;
20351 PyObject
* obj0
= 0 ;
20352 char * kwnames
[] = {
20353 (char *) "flags", NULL
20356 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_FindReplaceData",kwnames
,&obj0
)) SWIG_fail
;
20358 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
20359 if (!SWIG_IsOK(ecode1
)) {
20360 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_FindReplaceData" "', expected argument " "1"" of type '" "int""'");
20362 arg1
= static_cast< int >(val1
);
20365 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20366 result
= (wxFindReplaceData
*)new wxFindReplaceData(arg1
);
20367 wxPyEndAllowThreads(__tstate
);
20368 if (PyErr_Occurred()) SWIG_fail
;
20370 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFindReplaceData
, SWIG_POINTER_NEW
| 0 );
20377 SWIGINTERN PyObject
*_wrap_delete_FindReplaceData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20378 PyObject
*resultobj
= 0;
20379 wxFindReplaceData
*arg1
= (wxFindReplaceData
*) 0 ;
20382 PyObject
*swig_obj
[1] ;
20384 if (!args
) SWIG_fail
;
20385 swig_obj
[0] = args
;
20386 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFindReplaceData
, SWIG_POINTER_DISOWN
| 0 );
20387 if (!SWIG_IsOK(res1
)) {
20388 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_FindReplaceData" "', expected argument " "1"" of type '" "wxFindReplaceData *""'");
20390 arg1
= reinterpret_cast< wxFindReplaceData
* >(argp1
);
20392 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20395 wxPyEndAllowThreads(__tstate
);
20396 if (PyErr_Occurred()) SWIG_fail
;
20398 resultobj
= SWIG_Py_Void();
20405 SWIGINTERN PyObject
*_wrap_FindReplaceData_GetFindString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20406 PyObject
*resultobj
= 0;
20407 wxFindReplaceData
*arg1
= (wxFindReplaceData
*) 0 ;
20408 wxString
*result
= 0 ;
20411 PyObject
*swig_obj
[1] ;
20413 if (!args
) SWIG_fail
;
20414 swig_obj
[0] = args
;
20415 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFindReplaceData
, 0 | 0 );
20416 if (!SWIG_IsOK(res1
)) {
20417 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FindReplaceData_GetFindString" "', expected argument " "1"" of type '" "wxFindReplaceData *""'");
20419 arg1
= reinterpret_cast< wxFindReplaceData
* >(argp1
);
20421 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20423 wxString
const &_result_ref
= (arg1
)->GetFindString();
20424 result
= (wxString
*) &_result_ref
;
20426 wxPyEndAllowThreads(__tstate
);
20427 if (PyErr_Occurred()) SWIG_fail
;
20431 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
20433 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
20442 SWIGINTERN PyObject
*_wrap_FindReplaceData_GetReplaceString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20443 PyObject
*resultobj
= 0;
20444 wxFindReplaceData
*arg1
= (wxFindReplaceData
*) 0 ;
20445 wxString
*result
= 0 ;
20448 PyObject
*swig_obj
[1] ;
20450 if (!args
) SWIG_fail
;
20451 swig_obj
[0] = args
;
20452 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFindReplaceData
, 0 | 0 );
20453 if (!SWIG_IsOK(res1
)) {
20454 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FindReplaceData_GetReplaceString" "', expected argument " "1"" of type '" "wxFindReplaceData *""'");
20456 arg1
= reinterpret_cast< wxFindReplaceData
* >(argp1
);
20458 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20460 wxString
const &_result_ref
= (arg1
)->GetReplaceString();
20461 result
= (wxString
*) &_result_ref
;
20463 wxPyEndAllowThreads(__tstate
);
20464 if (PyErr_Occurred()) SWIG_fail
;
20468 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
20470 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
20479 SWIGINTERN PyObject
*_wrap_FindReplaceData_GetFlags(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20480 PyObject
*resultobj
= 0;
20481 wxFindReplaceData
*arg1
= (wxFindReplaceData
*) 0 ;
20485 PyObject
*swig_obj
[1] ;
20487 if (!args
) SWIG_fail
;
20488 swig_obj
[0] = args
;
20489 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFindReplaceData
, 0 | 0 );
20490 if (!SWIG_IsOK(res1
)) {
20491 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FindReplaceData_GetFlags" "', expected argument " "1"" of type '" "wxFindReplaceData *""'");
20493 arg1
= reinterpret_cast< wxFindReplaceData
* >(argp1
);
20495 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20496 result
= (int)(arg1
)->GetFlags();
20497 wxPyEndAllowThreads(__tstate
);
20498 if (PyErr_Occurred()) SWIG_fail
;
20500 resultobj
= SWIG_From_int(static_cast< int >(result
));
20507 SWIGINTERN PyObject
*_wrap_FindReplaceData_SetFlags(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20508 PyObject
*resultobj
= 0;
20509 wxFindReplaceData
*arg1
= (wxFindReplaceData
*) 0 ;
20515 PyObject
* obj0
= 0 ;
20516 PyObject
* obj1
= 0 ;
20517 char * kwnames
[] = {
20518 (char *) "self",(char *) "flags", NULL
20521 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FindReplaceData_SetFlags",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20522 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFindReplaceData
, 0 | 0 );
20523 if (!SWIG_IsOK(res1
)) {
20524 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FindReplaceData_SetFlags" "', expected argument " "1"" of type '" "wxFindReplaceData *""'");
20526 arg1
= reinterpret_cast< wxFindReplaceData
* >(argp1
);
20527 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
20528 if (!SWIG_IsOK(ecode2
)) {
20529 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "FindReplaceData_SetFlags" "', expected argument " "2"" of type '" "int""'");
20531 arg2
= static_cast< int >(val2
);
20533 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20534 (arg1
)->SetFlags(arg2
);
20535 wxPyEndAllowThreads(__tstate
);
20536 if (PyErr_Occurred()) SWIG_fail
;
20538 resultobj
= SWIG_Py_Void();
20545 SWIGINTERN PyObject
*_wrap_FindReplaceData_SetFindString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20546 PyObject
*resultobj
= 0;
20547 wxFindReplaceData
*arg1
= (wxFindReplaceData
*) 0 ;
20548 wxString
*arg2
= 0 ;
20551 bool temp2
= false ;
20552 PyObject
* obj0
= 0 ;
20553 PyObject
* obj1
= 0 ;
20554 char * kwnames
[] = {
20555 (char *) "self",(char *) "str", NULL
20558 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FindReplaceData_SetFindString",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20559 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFindReplaceData
, 0 | 0 );
20560 if (!SWIG_IsOK(res1
)) {
20561 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FindReplaceData_SetFindString" "', expected argument " "1"" of type '" "wxFindReplaceData *""'");
20563 arg1
= reinterpret_cast< wxFindReplaceData
* >(argp1
);
20565 arg2
= wxString_in_helper(obj1
);
20566 if (arg2
== NULL
) SWIG_fail
;
20570 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20571 (arg1
)->SetFindString((wxString
const &)*arg2
);
20572 wxPyEndAllowThreads(__tstate
);
20573 if (PyErr_Occurred()) SWIG_fail
;
20575 resultobj
= SWIG_Py_Void();
20590 SWIGINTERN PyObject
*_wrap_FindReplaceData_SetReplaceString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20591 PyObject
*resultobj
= 0;
20592 wxFindReplaceData
*arg1
= (wxFindReplaceData
*) 0 ;
20593 wxString
*arg2
= 0 ;
20596 bool temp2
= false ;
20597 PyObject
* obj0
= 0 ;
20598 PyObject
* obj1
= 0 ;
20599 char * kwnames
[] = {
20600 (char *) "self",(char *) "str", NULL
20603 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FindReplaceData_SetReplaceString",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20604 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFindReplaceData
, 0 | 0 );
20605 if (!SWIG_IsOK(res1
)) {
20606 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FindReplaceData_SetReplaceString" "', expected argument " "1"" of type '" "wxFindReplaceData *""'");
20608 arg1
= reinterpret_cast< wxFindReplaceData
* >(argp1
);
20610 arg2
= wxString_in_helper(obj1
);
20611 if (arg2
== NULL
) SWIG_fail
;
20615 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20616 (arg1
)->SetReplaceString((wxString
const &)*arg2
);
20617 wxPyEndAllowThreads(__tstate
);
20618 if (PyErr_Occurred()) SWIG_fail
;
20620 resultobj
= SWIG_Py_Void();
20635 SWIGINTERN PyObject
*FindReplaceData_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20637 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
20638 SWIG_TypeNewClientData(SWIGTYPE_p_wxFindReplaceData
, SWIG_NewClientData(obj
));
20639 return SWIG_Py_Void();
20642 SWIGINTERN PyObject
*FindReplaceData_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20643 return SWIG_Python_InitShadowInstance(args
);
20646 SWIGINTERN PyObject
*_wrap_new_FindReplaceDialog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20647 PyObject
*resultobj
= 0;
20648 wxWindow
*arg1
= (wxWindow
*) 0 ;
20649 wxFindReplaceData
*arg2
= (wxFindReplaceData
*) 0 ;
20650 wxString
*arg3
= 0 ;
20651 int arg4
= (int) 0 ;
20652 wxFindReplaceDialog
*result
= 0 ;
20657 bool temp3
= false ;
20660 PyObject
* obj0
= 0 ;
20661 PyObject
* obj1
= 0 ;
20662 PyObject
* obj2
= 0 ;
20663 PyObject
* obj3
= 0 ;
20664 char * kwnames
[] = {
20665 (char *) "parent",(char *) "data",(char *) "title",(char *) "style", NULL
20668 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:new_FindReplaceDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
20669 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
20670 if (!SWIG_IsOK(res1
)) {
20671 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_FindReplaceDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
20673 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
20674 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxFindReplaceData
, 0 | 0 );
20675 if (!SWIG_IsOK(res2
)) {
20676 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_FindReplaceDialog" "', expected argument " "2"" of type '" "wxFindReplaceData *""'");
20678 arg2
= reinterpret_cast< wxFindReplaceData
* >(argp2
);
20680 arg3
= wxString_in_helper(obj2
);
20681 if (arg3
== NULL
) SWIG_fail
;
20685 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
20686 if (!SWIG_IsOK(ecode4
)) {
20687 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_FindReplaceDialog" "', expected argument " "4"" of type '" "int""'");
20689 arg4
= static_cast< int >(val4
);
20692 if (!wxPyCheckForApp()) SWIG_fail
;
20693 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20694 result
= (wxFindReplaceDialog
*)new wxFindReplaceDialog(arg1
,arg2
,(wxString
const &)*arg3
,arg4
);
20695 wxPyEndAllowThreads(__tstate
);
20696 if (PyErr_Occurred()) SWIG_fail
;
20698 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFindReplaceDialog
, SWIG_POINTER_NEW
| 0 );
20713 SWIGINTERN PyObject
*_wrap_new_PreFindReplaceDialog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20714 PyObject
*resultobj
= 0;
20715 wxFindReplaceDialog
*result
= 0 ;
20717 if (!SWIG_Python_UnpackTuple(args
,"new_PreFindReplaceDialog",0,0,0)) SWIG_fail
;
20719 if (!wxPyCheckForApp()) SWIG_fail
;
20720 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20721 result
= (wxFindReplaceDialog
*)new wxFindReplaceDialog();
20722 wxPyEndAllowThreads(__tstate
);
20723 if (PyErr_Occurred()) SWIG_fail
;
20725 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFindReplaceDialog
, SWIG_POINTER_OWN
| 0 );
20732 SWIGINTERN PyObject
*_wrap_FindReplaceDialog_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20733 PyObject
*resultobj
= 0;
20734 wxFindReplaceDialog
*arg1
= (wxFindReplaceDialog
*) 0 ;
20735 wxWindow
*arg2
= (wxWindow
*) 0 ;
20736 wxFindReplaceData
*arg3
= (wxFindReplaceData
*) 0 ;
20737 wxString
*arg4
= 0 ;
20738 int arg5
= (int) 0 ;
20746 bool temp4
= false ;
20749 PyObject
* obj0
= 0 ;
20750 PyObject
* obj1
= 0 ;
20751 PyObject
* obj2
= 0 ;
20752 PyObject
* obj3
= 0 ;
20753 PyObject
* obj4
= 0 ;
20754 char * kwnames
[] = {
20755 (char *) "self",(char *) "parent",(char *) "data",(char *) "title",(char *) "style", NULL
20758 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:FindReplaceDialog_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
20759 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFindReplaceDialog
, 0 | 0 );
20760 if (!SWIG_IsOK(res1
)) {
20761 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FindReplaceDialog_Create" "', expected argument " "1"" of type '" "wxFindReplaceDialog *""'");
20763 arg1
= reinterpret_cast< wxFindReplaceDialog
* >(argp1
);
20764 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
20765 if (!SWIG_IsOK(res2
)) {
20766 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "FindReplaceDialog_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
20768 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
20769 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxFindReplaceData
, 0 | 0 );
20770 if (!SWIG_IsOK(res3
)) {
20771 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "FindReplaceDialog_Create" "', expected argument " "3"" of type '" "wxFindReplaceData *""'");
20773 arg3
= reinterpret_cast< wxFindReplaceData
* >(argp3
);
20775 arg4
= wxString_in_helper(obj3
);
20776 if (arg4
== NULL
) SWIG_fail
;
20780 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
20781 if (!SWIG_IsOK(ecode5
)) {
20782 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "FindReplaceDialog_Create" "', expected argument " "5"" of type '" "int""'");
20784 arg5
= static_cast< int >(val5
);
20787 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20788 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,arg5
);
20789 wxPyEndAllowThreads(__tstate
);
20790 if (PyErr_Occurred()) SWIG_fail
;
20793 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20809 SWIGINTERN PyObject
*_wrap_FindReplaceDialog_GetData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20810 PyObject
*resultobj
= 0;
20811 wxFindReplaceDialog
*arg1
= (wxFindReplaceDialog
*) 0 ;
20812 wxFindReplaceData
*result
= 0 ;
20815 PyObject
*swig_obj
[1] ;
20817 if (!args
) SWIG_fail
;
20818 swig_obj
[0] = args
;
20819 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFindReplaceDialog
, 0 | 0 );
20820 if (!SWIG_IsOK(res1
)) {
20821 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FindReplaceDialog_GetData" "', expected argument " "1"" of type '" "wxFindReplaceDialog *""'");
20823 arg1
= reinterpret_cast< wxFindReplaceDialog
* >(argp1
);
20825 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20826 result
= (wxFindReplaceData
*)(arg1
)->GetData();
20827 wxPyEndAllowThreads(__tstate
);
20828 if (PyErr_Occurred()) SWIG_fail
;
20830 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFindReplaceData
, 0 | 0 );
20837 SWIGINTERN PyObject
*_wrap_FindReplaceDialog_SetData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20838 PyObject
*resultobj
= 0;
20839 wxFindReplaceDialog
*arg1
= (wxFindReplaceDialog
*) 0 ;
20840 wxFindReplaceData
*arg2
= (wxFindReplaceData
*) 0 ;
20845 PyObject
* obj0
= 0 ;
20846 PyObject
* obj1
= 0 ;
20847 char * kwnames
[] = {
20848 (char *) "self",(char *) "data", NULL
20851 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FindReplaceDialog_SetData",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20852 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFindReplaceDialog
, 0 | 0 );
20853 if (!SWIG_IsOK(res1
)) {
20854 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FindReplaceDialog_SetData" "', expected argument " "1"" of type '" "wxFindReplaceDialog *""'");
20856 arg1
= reinterpret_cast< wxFindReplaceDialog
* >(argp1
);
20857 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxFindReplaceData
, 0 | 0 );
20858 if (!SWIG_IsOK(res2
)) {
20859 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "FindReplaceDialog_SetData" "', expected argument " "2"" of type '" "wxFindReplaceData *""'");
20861 arg2
= reinterpret_cast< wxFindReplaceData
* >(argp2
);
20863 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20864 (arg1
)->SetData(arg2
);
20865 wxPyEndAllowThreads(__tstate
);
20866 if (PyErr_Occurred()) SWIG_fail
;
20868 resultobj
= SWIG_Py_Void();
20875 SWIGINTERN PyObject
*FindReplaceDialog_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20877 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
20878 SWIG_TypeNewClientData(SWIGTYPE_p_wxFindReplaceDialog
, SWIG_NewClientData(obj
));
20879 return SWIG_Py_Void();
20882 SWIGINTERN PyObject
*FindReplaceDialog_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20883 return SWIG_Python_InitShadowInstance(args
);
20886 SWIGINTERN PyObject
*_wrap_new_MDIParentFrame(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20887 PyObject
*resultobj
= 0;
20888 wxWindow
*arg1
= (wxWindow
*) 0 ;
20889 int arg2
= (int) (int)-1 ;
20890 wxString
const &arg3_defvalue
= wxPyEmptyString
;
20891 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
20892 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
20893 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
20894 wxSize
const &arg5_defvalue
= wxDefaultSize
;
20895 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
20896 long arg6
= (long) wxDEFAULT_FRAME_STYLE
|wxVSCROLL
|wxHSCROLL
;
20897 wxString
const &arg7_defvalue
= wxPyFrameNameStr
;
20898 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
20899 wxMDIParentFrame
*result
= 0 ;
20904 bool temp3
= false ;
20909 bool temp7
= false ;
20910 PyObject
* obj0
= 0 ;
20911 PyObject
* obj1
= 0 ;
20912 PyObject
* obj2
= 0 ;
20913 PyObject
* obj3
= 0 ;
20914 PyObject
* obj4
= 0 ;
20915 PyObject
* obj5
= 0 ;
20916 PyObject
* obj6
= 0 ;
20917 char * kwnames
[] = {
20918 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
20921 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_MDIParentFrame",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
20922 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
20923 if (!SWIG_IsOK(res1
)) {
20924 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_MDIParentFrame" "', expected argument " "1"" of type '" "wxWindow *""'");
20926 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
20928 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
20929 if (!SWIG_IsOK(ecode2
)) {
20930 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_MDIParentFrame" "', expected argument " "2"" of type '" "int""'");
20932 arg2
= static_cast< int >(val2
);
20936 arg3
= wxString_in_helper(obj2
);
20937 if (arg3
== NULL
) SWIG_fail
;
20944 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
20950 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
20954 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
20955 if (!SWIG_IsOK(ecode6
)) {
20956 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_MDIParentFrame" "', expected argument " "6"" of type '" "long""'");
20958 arg6
= static_cast< long >(val6
);
20962 arg7
= wxString_in_helper(obj6
);
20963 if (arg7
== NULL
) SWIG_fail
;
20968 if (!wxPyCheckForApp()) SWIG_fail
;
20969 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20970 result
= (wxMDIParentFrame
*)new wxMDIParentFrame(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
20971 wxPyEndAllowThreads(__tstate
);
20972 if (PyErr_Occurred()) SWIG_fail
;
20974 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMDIParentFrame
, SWIG_POINTER_NEW
| 0 );
20997 SWIGINTERN PyObject
*_wrap_new_PreMDIParentFrame(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20998 PyObject
*resultobj
= 0;
20999 wxMDIParentFrame
*result
= 0 ;
21001 if (!SWIG_Python_UnpackTuple(args
,"new_PreMDIParentFrame",0,0,0)) SWIG_fail
;
21003 if (!wxPyCheckForApp()) SWIG_fail
;
21004 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21005 result
= (wxMDIParentFrame
*)new wxMDIParentFrame();
21006 wxPyEndAllowThreads(__tstate
);
21007 if (PyErr_Occurred()) SWIG_fail
;
21009 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMDIParentFrame
, SWIG_POINTER_OWN
| 0 );
21016 SWIGINTERN PyObject
*_wrap_MDIParentFrame_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21017 PyObject
*resultobj
= 0;
21018 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
21019 wxWindow
*arg2
= (wxWindow
*) 0 ;
21020 int arg3
= (int) (int)-1 ;
21021 wxString
const &arg4_defvalue
= wxPyEmptyString
;
21022 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
21023 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
21024 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
21025 wxSize
const &arg6_defvalue
= wxDefaultSize
;
21026 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
21027 long arg7
= (long) wxDEFAULT_FRAME_STYLE
|wxVSCROLL
|wxHSCROLL
;
21028 wxString
const &arg8_defvalue
= wxPyFrameNameStr
;
21029 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
21037 bool temp4
= false ;
21042 bool temp8
= false ;
21043 PyObject
* obj0
= 0 ;
21044 PyObject
* obj1
= 0 ;
21045 PyObject
* obj2
= 0 ;
21046 PyObject
* obj3
= 0 ;
21047 PyObject
* obj4
= 0 ;
21048 PyObject
* obj5
= 0 ;
21049 PyObject
* obj6
= 0 ;
21050 PyObject
* obj7
= 0 ;
21051 char * kwnames
[] = {
21052 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
21055 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:MDIParentFrame_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
21056 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMDIParentFrame
, 0 | 0 );
21057 if (!SWIG_IsOK(res1
)) {
21058 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MDIParentFrame_Create" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
21060 arg1
= reinterpret_cast< wxMDIParentFrame
* >(argp1
);
21061 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
21062 if (!SWIG_IsOK(res2
)) {
21063 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "MDIParentFrame_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
21065 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
21067 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
21068 if (!SWIG_IsOK(ecode3
)) {
21069 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "MDIParentFrame_Create" "', expected argument " "3"" of type '" "int""'");
21071 arg3
= static_cast< int >(val3
);
21075 arg4
= wxString_in_helper(obj3
);
21076 if (arg4
== NULL
) SWIG_fail
;
21083 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
21089 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
21093 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
21094 if (!SWIG_IsOK(ecode7
)) {
21095 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "MDIParentFrame_Create" "', expected argument " "7"" of type '" "long""'");
21097 arg7
= static_cast< long >(val7
);
21101 arg8
= wxString_in_helper(obj7
);
21102 if (arg8
== NULL
) SWIG_fail
;
21107 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21108 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
21109 wxPyEndAllowThreads(__tstate
);
21110 if (PyErr_Occurred()) SWIG_fail
;
21113 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21137 SWIGINTERN PyObject
*_wrap_MDIParentFrame_ActivateNext(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21138 PyObject
*resultobj
= 0;
21139 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
21142 PyObject
*swig_obj
[1] ;
21144 if (!args
) SWIG_fail
;
21145 swig_obj
[0] = args
;
21146 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMDIParentFrame
, 0 | 0 );
21147 if (!SWIG_IsOK(res1
)) {
21148 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MDIParentFrame_ActivateNext" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
21150 arg1
= reinterpret_cast< wxMDIParentFrame
* >(argp1
);
21152 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21153 (arg1
)->ActivateNext();
21154 wxPyEndAllowThreads(__tstate
);
21155 if (PyErr_Occurred()) SWIG_fail
;
21157 resultobj
= SWIG_Py_Void();
21164 SWIGINTERN PyObject
*_wrap_MDIParentFrame_ActivatePrevious(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21165 PyObject
*resultobj
= 0;
21166 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
21169 PyObject
*swig_obj
[1] ;
21171 if (!args
) SWIG_fail
;
21172 swig_obj
[0] = args
;
21173 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMDIParentFrame
, 0 | 0 );
21174 if (!SWIG_IsOK(res1
)) {
21175 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MDIParentFrame_ActivatePrevious" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
21177 arg1
= reinterpret_cast< wxMDIParentFrame
* >(argp1
);
21179 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21180 (arg1
)->ActivatePrevious();
21181 wxPyEndAllowThreads(__tstate
);
21182 if (PyErr_Occurred()) SWIG_fail
;
21184 resultobj
= SWIG_Py_Void();
21191 SWIGINTERN PyObject
*_wrap_MDIParentFrame_ArrangeIcons(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21192 PyObject
*resultobj
= 0;
21193 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
21196 PyObject
*swig_obj
[1] ;
21198 if (!args
) SWIG_fail
;
21199 swig_obj
[0] = args
;
21200 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMDIParentFrame
, 0 | 0 );
21201 if (!SWIG_IsOK(res1
)) {
21202 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MDIParentFrame_ArrangeIcons" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
21204 arg1
= reinterpret_cast< wxMDIParentFrame
* >(argp1
);
21206 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21207 (arg1
)->ArrangeIcons();
21208 wxPyEndAllowThreads(__tstate
);
21209 if (PyErr_Occurred()) SWIG_fail
;
21211 resultobj
= SWIG_Py_Void();
21218 SWIGINTERN PyObject
*_wrap_MDIParentFrame_Cascade(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21219 PyObject
*resultobj
= 0;
21220 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
21223 PyObject
*swig_obj
[1] ;
21225 if (!args
) SWIG_fail
;
21226 swig_obj
[0] = args
;
21227 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMDIParentFrame
, 0 | 0 );
21228 if (!SWIG_IsOK(res1
)) {
21229 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MDIParentFrame_Cascade" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
21231 arg1
= reinterpret_cast< wxMDIParentFrame
* >(argp1
);
21233 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21235 wxPyEndAllowThreads(__tstate
);
21236 if (PyErr_Occurred()) SWIG_fail
;
21238 resultobj
= SWIG_Py_Void();
21245 SWIGINTERN PyObject
*_wrap_MDIParentFrame_GetActiveChild(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21246 PyObject
*resultobj
= 0;
21247 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
21248 wxMDIChildFrame
*result
= 0 ;
21251 PyObject
*swig_obj
[1] ;
21253 if (!args
) SWIG_fail
;
21254 swig_obj
[0] = args
;
21255 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMDIParentFrame
, 0 | 0 );
21256 if (!SWIG_IsOK(res1
)) {
21257 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MDIParentFrame_GetActiveChild" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
21259 arg1
= reinterpret_cast< wxMDIParentFrame
* >(argp1
);
21261 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21262 result
= (wxMDIChildFrame
*)(arg1
)->GetActiveChild();
21263 wxPyEndAllowThreads(__tstate
);
21264 if (PyErr_Occurred()) SWIG_fail
;
21267 resultobj
= wxPyMake_wxObject(result
, (bool)0);
21275 SWIGINTERN PyObject
*_wrap_MDIParentFrame_GetClientWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21276 PyObject
*resultobj
= 0;
21277 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
21278 wxMDIClientWindow
*result
= 0 ;
21281 PyObject
*swig_obj
[1] ;
21283 if (!args
) SWIG_fail
;
21284 swig_obj
[0] = args
;
21285 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMDIParentFrame
, 0 | 0 );
21286 if (!SWIG_IsOK(res1
)) {
21287 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MDIParentFrame_GetClientWindow" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
21289 arg1
= reinterpret_cast< wxMDIParentFrame
* >(argp1
);
21291 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21292 result
= (wxMDIClientWindow
*)(arg1
)->GetClientWindow();
21293 wxPyEndAllowThreads(__tstate
);
21294 if (PyErr_Occurred()) SWIG_fail
;
21297 resultobj
= wxPyMake_wxObject(result
, (bool)0);
21305 SWIGINTERN PyObject
*_wrap_MDIParentFrame_Tile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21306 PyObject
*resultobj
= 0;
21307 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
21308 wxOrientation arg2
= (wxOrientation
) wxHORIZONTAL
;
21313 PyObject
* obj0
= 0 ;
21314 PyObject
* obj1
= 0 ;
21315 char * kwnames
[] = {
21316 (char *) "self",(char *) "orient", NULL
21319 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:MDIParentFrame_Tile",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21320 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMDIParentFrame
, 0 | 0 );
21321 if (!SWIG_IsOK(res1
)) {
21322 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MDIParentFrame_Tile" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
21324 arg1
= reinterpret_cast< wxMDIParentFrame
* >(argp1
);
21326 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21327 if (!SWIG_IsOK(ecode2
)) {
21328 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "MDIParentFrame_Tile" "', expected argument " "2"" of type '" "wxOrientation""'");
21330 arg2
= static_cast< wxOrientation
>(val2
);
21333 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21334 (arg1
)->Tile(arg2
);
21335 wxPyEndAllowThreads(__tstate
);
21336 if (PyErr_Occurred()) SWIG_fail
;
21338 resultobj
= SWIG_Py_Void();
21345 SWIGINTERN PyObject
*MDIParentFrame_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21347 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
21348 SWIG_TypeNewClientData(SWIGTYPE_p_wxMDIParentFrame
, SWIG_NewClientData(obj
));
21349 return SWIG_Py_Void();
21352 SWIGINTERN PyObject
*MDIParentFrame_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21353 return SWIG_Python_InitShadowInstance(args
);
21356 SWIGINTERN PyObject
*_wrap_new_MDIChildFrame(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21357 PyObject
*resultobj
= 0;
21358 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
21359 int arg2
= (int) (int)-1 ;
21360 wxString
const &arg3_defvalue
= wxPyEmptyString
;
21361 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
21362 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
21363 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
21364 wxSize
const &arg5_defvalue
= wxDefaultSize
;
21365 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
21366 long arg6
= (long) wxDEFAULT_FRAME_STYLE
;
21367 wxString
const &arg7_defvalue
= wxPyFrameNameStr
;
21368 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
21369 wxMDIChildFrame
*result
= 0 ;
21374 bool temp3
= false ;
21379 bool temp7
= false ;
21380 PyObject
* obj0
= 0 ;
21381 PyObject
* obj1
= 0 ;
21382 PyObject
* obj2
= 0 ;
21383 PyObject
* obj3
= 0 ;
21384 PyObject
* obj4
= 0 ;
21385 PyObject
* obj5
= 0 ;
21386 PyObject
* obj6
= 0 ;
21387 char * kwnames
[] = {
21388 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
21391 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_MDIChildFrame",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
21392 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMDIParentFrame
, 0 | 0 );
21393 if (!SWIG_IsOK(res1
)) {
21394 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_MDIChildFrame" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
21396 arg1
= reinterpret_cast< wxMDIParentFrame
* >(argp1
);
21398 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21399 if (!SWIG_IsOK(ecode2
)) {
21400 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_MDIChildFrame" "', expected argument " "2"" of type '" "int""'");
21402 arg2
= static_cast< int >(val2
);
21406 arg3
= wxString_in_helper(obj2
);
21407 if (arg3
== NULL
) SWIG_fail
;
21414 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
21420 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
21424 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
21425 if (!SWIG_IsOK(ecode6
)) {
21426 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_MDIChildFrame" "', expected argument " "6"" of type '" "long""'");
21428 arg6
= static_cast< long >(val6
);
21432 arg7
= wxString_in_helper(obj6
);
21433 if (arg7
== NULL
) SWIG_fail
;
21438 if (!wxPyCheckForApp()) SWIG_fail
;
21439 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21440 result
= (wxMDIChildFrame
*)new wxMDIChildFrame(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
21441 wxPyEndAllowThreads(__tstate
);
21442 if (PyErr_Occurred()) SWIG_fail
;
21444 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMDIChildFrame
, SWIG_POINTER_NEW
| 0 );
21467 SWIGINTERN PyObject
*_wrap_new_PreMDIChildFrame(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21468 PyObject
*resultobj
= 0;
21469 wxMDIChildFrame
*result
= 0 ;
21471 if (!SWIG_Python_UnpackTuple(args
,"new_PreMDIChildFrame",0,0,0)) SWIG_fail
;
21473 if (!wxPyCheckForApp()) SWIG_fail
;
21474 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21475 result
= (wxMDIChildFrame
*)new wxMDIChildFrame();
21476 wxPyEndAllowThreads(__tstate
);
21477 if (PyErr_Occurred()) SWIG_fail
;
21479 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMDIChildFrame
, SWIG_POINTER_OWN
| 0 );
21486 SWIGINTERN PyObject
*_wrap_MDIChildFrame_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21487 PyObject
*resultobj
= 0;
21488 wxMDIChildFrame
*arg1
= (wxMDIChildFrame
*) 0 ;
21489 wxMDIParentFrame
*arg2
= (wxMDIParentFrame
*) 0 ;
21490 int arg3
= (int) (int)-1 ;
21491 wxString
const &arg4_defvalue
= wxPyEmptyString
;
21492 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
21493 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
21494 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
21495 wxSize
const &arg6_defvalue
= wxDefaultSize
;
21496 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
21497 long arg7
= (long) wxDEFAULT_FRAME_STYLE
;
21498 wxString
const &arg8_defvalue
= wxPyFrameNameStr
;
21499 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
21507 bool temp4
= false ;
21512 bool temp8
= false ;
21513 PyObject
* obj0
= 0 ;
21514 PyObject
* obj1
= 0 ;
21515 PyObject
* obj2
= 0 ;
21516 PyObject
* obj3
= 0 ;
21517 PyObject
* obj4
= 0 ;
21518 PyObject
* obj5
= 0 ;
21519 PyObject
* obj6
= 0 ;
21520 PyObject
* obj7
= 0 ;
21521 char * kwnames
[] = {
21522 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
21525 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:MDIChildFrame_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
21526 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMDIChildFrame
, 0 | 0 );
21527 if (!SWIG_IsOK(res1
)) {
21528 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MDIChildFrame_Create" "', expected argument " "1"" of type '" "wxMDIChildFrame *""'");
21530 arg1
= reinterpret_cast< wxMDIChildFrame
* >(argp1
);
21531 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxMDIParentFrame
, 0 | 0 );
21532 if (!SWIG_IsOK(res2
)) {
21533 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "MDIChildFrame_Create" "', expected argument " "2"" of type '" "wxMDIParentFrame *""'");
21535 arg2
= reinterpret_cast< wxMDIParentFrame
* >(argp2
);
21537 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
21538 if (!SWIG_IsOK(ecode3
)) {
21539 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "MDIChildFrame_Create" "', expected argument " "3"" of type '" "int""'");
21541 arg3
= static_cast< int >(val3
);
21545 arg4
= wxString_in_helper(obj3
);
21546 if (arg4
== NULL
) SWIG_fail
;
21553 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
21559 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
21563 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
21564 if (!SWIG_IsOK(ecode7
)) {
21565 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "MDIChildFrame_Create" "', expected argument " "7"" of type '" "long""'");
21567 arg7
= static_cast< long >(val7
);
21571 arg8
= wxString_in_helper(obj7
);
21572 if (arg8
== NULL
) SWIG_fail
;
21577 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21578 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
21579 wxPyEndAllowThreads(__tstate
);
21580 if (PyErr_Occurred()) SWIG_fail
;
21583 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21607 SWIGINTERN PyObject
*_wrap_MDIChildFrame_Activate(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21608 PyObject
*resultobj
= 0;
21609 wxMDIChildFrame
*arg1
= (wxMDIChildFrame
*) 0 ;
21612 PyObject
*swig_obj
[1] ;
21614 if (!args
) SWIG_fail
;
21615 swig_obj
[0] = args
;
21616 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMDIChildFrame
, 0 | 0 );
21617 if (!SWIG_IsOK(res1
)) {
21618 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MDIChildFrame_Activate" "', expected argument " "1"" of type '" "wxMDIChildFrame *""'");
21620 arg1
= reinterpret_cast< wxMDIChildFrame
* >(argp1
);
21622 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21623 (arg1
)->Activate();
21624 wxPyEndAllowThreads(__tstate
);
21625 if (PyErr_Occurred()) SWIG_fail
;
21627 resultobj
= SWIG_Py_Void();
21634 SWIGINTERN PyObject
*MDIChildFrame_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21636 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
21637 SWIG_TypeNewClientData(SWIGTYPE_p_wxMDIChildFrame
, SWIG_NewClientData(obj
));
21638 return SWIG_Py_Void();
21641 SWIGINTERN PyObject
*MDIChildFrame_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21642 return SWIG_Python_InitShadowInstance(args
);
21645 SWIGINTERN PyObject
*_wrap_new_MDIClientWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21646 PyObject
*resultobj
= 0;
21647 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
21648 long arg2
= (long) 0 ;
21649 wxMDIClientWindow
*result
= 0 ;
21654 PyObject
* obj0
= 0 ;
21655 PyObject
* obj1
= 0 ;
21656 char * kwnames
[] = {
21657 (char *) "parent",(char *) "style", NULL
21660 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_MDIClientWindow",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21661 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMDIParentFrame
, 0 | 0 );
21662 if (!SWIG_IsOK(res1
)) {
21663 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_MDIClientWindow" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
21665 arg1
= reinterpret_cast< wxMDIParentFrame
* >(argp1
);
21667 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
21668 if (!SWIG_IsOK(ecode2
)) {
21669 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_MDIClientWindow" "', expected argument " "2"" of type '" "long""'");
21671 arg2
= static_cast< long >(val2
);
21674 if (!wxPyCheckForApp()) SWIG_fail
;
21675 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21676 result
= (wxMDIClientWindow
*)new wxMDIClientWindow(arg1
,arg2
);
21677 wxPyEndAllowThreads(__tstate
);
21678 if (PyErr_Occurred()) SWIG_fail
;
21680 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMDIClientWindow
, SWIG_POINTER_NEW
| 0 );
21687 SWIGINTERN PyObject
*_wrap_new_PreMDIClientWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21688 PyObject
*resultobj
= 0;
21689 wxMDIClientWindow
*result
= 0 ;
21691 if (!SWIG_Python_UnpackTuple(args
,"new_PreMDIClientWindow",0,0,0)) SWIG_fail
;
21693 if (!wxPyCheckForApp()) SWIG_fail
;
21694 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21695 result
= (wxMDIClientWindow
*)new wxMDIClientWindow();
21696 wxPyEndAllowThreads(__tstate
);
21697 if (PyErr_Occurred()) SWIG_fail
;
21699 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMDIClientWindow
, SWIG_POINTER_OWN
| 0 );
21706 SWIGINTERN PyObject
*_wrap_MDIClientWindow_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21707 PyObject
*resultobj
= 0;
21708 wxMDIClientWindow
*arg1
= (wxMDIClientWindow
*) 0 ;
21709 wxMDIParentFrame
*arg2
= (wxMDIParentFrame
*) 0 ;
21710 long arg3
= (long) 0 ;
21718 PyObject
* obj0
= 0 ;
21719 PyObject
* obj1
= 0 ;
21720 PyObject
* obj2
= 0 ;
21721 char * kwnames
[] = {
21722 (char *) "self",(char *) "parent",(char *) "style", NULL
21725 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:MDIClientWindow_Create",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
21726 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMDIClientWindow
, 0 | 0 );
21727 if (!SWIG_IsOK(res1
)) {
21728 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MDIClientWindow_Create" "', expected argument " "1"" of type '" "wxMDIClientWindow *""'");
21730 arg1
= reinterpret_cast< wxMDIClientWindow
* >(argp1
);
21731 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxMDIParentFrame
, 0 | 0 );
21732 if (!SWIG_IsOK(res2
)) {
21733 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "MDIClientWindow_Create" "', expected argument " "2"" of type '" "wxMDIParentFrame *""'");
21735 arg2
= reinterpret_cast< wxMDIParentFrame
* >(argp2
);
21737 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
21738 if (!SWIG_IsOK(ecode3
)) {
21739 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "MDIClientWindow_Create" "', expected argument " "3"" of type '" "long""'");
21741 arg3
= static_cast< long >(val3
);
21744 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21745 result
= (bool)(arg1
)->Create(arg2
,arg3
);
21746 wxPyEndAllowThreads(__tstate
);
21747 if (PyErr_Occurred()) SWIG_fail
;
21750 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21758 SWIGINTERN PyObject
*MDIClientWindow_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21760 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
21761 SWIG_TypeNewClientData(SWIGTYPE_p_wxMDIClientWindow
, SWIG_NewClientData(obj
));
21762 return SWIG_Py_Void();
21765 SWIGINTERN PyObject
*MDIClientWindow_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21766 return SWIG_Python_InitShadowInstance(args
);
21769 SWIGINTERN PyObject
*_wrap_new_PyWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21770 PyObject
*resultobj
= 0;
21771 wxWindow
*arg1
= (wxWindow
*) 0 ;
21772 int arg2
= (int) (int)-1 ;
21773 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
21774 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
21775 wxSize
const &arg4_defvalue
= wxDefaultSize
;
21776 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
21777 long arg5
= (long) 0 ;
21778 wxString
const &arg6_defvalue
= wxPyPanelNameStr
;
21779 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
21780 wxPyWindow
*result
= 0 ;
21789 bool temp6
= false ;
21790 PyObject
* obj0
= 0 ;
21791 PyObject
* obj1
= 0 ;
21792 PyObject
* obj2
= 0 ;
21793 PyObject
* obj3
= 0 ;
21794 PyObject
* obj4
= 0 ;
21795 PyObject
* obj5
= 0 ;
21796 char * kwnames
[] = {
21797 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
21800 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_PyWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
21801 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
21802 if (!SWIG_IsOK(res1
)) {
21803 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PyWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
21805 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
21807 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21808 if (!SWIG_IsOK(ecode2
)) {
21809 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_PyWindow" "', expected argument " "2"" of type '" "int""'");
21811 arg2
= static_cast< int >(val2
);
21816 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
21822 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
21826 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
21827 if (!SWIG_IsOK(ecode5
)) {
21828 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_PyWindow" "', expected argument " "5"" of type '" "long""'");
21830 arg5
= static_cast< long >(val5
);
21834 arg6
= wxString_in_helper(obj5
);
21835 if (arg6
== NULL
) SWIG_fail
;
21840 if (!wxPyCheckForApp()) SWIG_fail
;
21841 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21842 result
= (wxPyWindow
*)new wxPyWindow(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
21843 wxPyEndAllowThreads(__tstate
);
21844 if (PyErr_Occurred()) SWIG_fail
;
21846 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyWindow
, SWIG_POINTER_NEW
| 0 );
21861 SWIGINTERN PyObject
*_wrap_new_PrePyWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21862 PyObject
*resultobj
= 0;
21863 wxPyWindow
*result
= 0 ;
21865 if (!SWIG_Python_UnpackTuple(args
,"new_PrePyWindow",0,0,0)) SWIG_fail
;
21867 if (!wxPyCheckForApp()) SWIG_fail
;
21868 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21869 result
= (wxPyWindow
*)new wxPyWindow();
21870 wxPyEndAllowThreads(__tstate
);
21871 if (PyErr_Occurred()) SWIG_fail
;
21873 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyWindow
, SWIG_POINTER_OWN
| 0 );
21880 SWIGINTERN PyObject
*_wrap_PyWindow__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21881 PyObject
*resultobj
= 0;
21882 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
21883 PyObject
*arg2
= (PyObject
*) 0 ;
21884 PyObject
*arg3
= (PyObject
*) 0 ;
21887 PyObject
* obj0
= 0 ;
21888 PyObject
* obj1
= 0 ;
21889 PyObject
* obj2
= 0 ;
21890 char * kwnames
[] = {
21891 (char *) "self",(char *) "self",(char *) "_class", NULL
21894 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyWindow__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
21895 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyWindow
, 0 | 0 );
21896 if (!SWIG_IsOK(res1
)) {
21897 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyWindow__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyWindow *""'");
21899 arg1
= reinterpret_cast< wxPyWindow
* >(argp1
);
21903 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21904 (arg1
)->_setCallbackInfo(arg2
,arg3
);
21905 wxPyEndAllowThreads(__tstate
);
21906 if (PyErr_Occurred()) SWIG_fail
;
21908 resultobj
= SWIG_Py_Void();
21915 SWIGINTERN PyObject
*_wrap_PyWindow_DoEraseBackground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21916 PyObject
*resultobj
= 0;
21917 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
21918 wxDC
*arg2
= (wxDC
*) 0 ;
21924 PyObject
* obj0
= 0 ;
21925 PyObject
* obj1
= 0 ;
21926 char * kwnames
[] = {
21927 (char *) "self",(char *) "dc", NULL
21930 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyWindow_DoEraseBackground",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21931 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyWindow
, 0 | 0 );
21932 if (!SWIG_IsOK(res1
)) {
21933 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyWindow_DoEraseBackground" "', expected argument " "1"" of type '" "wxPyWindow *""'");
21935 arg1
= reinterpret_cast< wxPyWindow
* >(argp1
);
21936 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxDC
, 0 | 0 );
21937 if (!SWIG_IsOK(res2
)) {
21938 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PyWindow_DoEraseBackground" "', expected argument " "2"" of type '" "wxDC *""'");
21940 arg2
= reinterpret_cast< wxDC
* >(argp2
);
21942 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21943 result
= (bool)(arg1
)->DoEraseBackground(arg2
);
21944 wxPyEndAllowThreads(__tstate
);
21945 if (PyErr_Occurred()) SWIG_fail
;
21948 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21956 SWIGINTERN PyObject
*_wrap_PyWindow_DoMoveWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21957 PyObject
*resultobj
= 0;
21958 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
21973 PyObject
* obj0
= 0 ;
21974 PyObject
* obj1
= 0 ;
21975 PyObject
* obj2
= 0 ;
21976 PyObject
* obj3
= 0 ;
21977 PyObject
* obj4
= 0 ;
21978 char * kwnames
[] = {
21979 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
21982 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:PyWindow_DoMoveWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
21983 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyWindow
, 0 | 0 );
21984 if (!SWIG_IsOK(res1
)) {
21985 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyWindow_DoMoveWindow" "', expected argument " "1"" of type '" "wxPyWindow *""'");
21987 arg1
= reinterpret_cast< wxPyWindow
* >(argp1
);
21988 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21989 if (!SWIG_IsOK(ecode2
)) {
21990 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PyWindow_DoMoveWindow" "', expected argument " "2"" of type '" "int""'");
21992 arg2
= static_cast< int >(val2
);
21993 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
21994 if (!SWIG_IsOK(ecode3
)) {
21995 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PyWindow_DoMoveWindow" "', expected argument " "3"" of type '" "int""'");
21997 arg3
= static_cast< int >(val3
);
21998 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
21999 if (!SWIG_IsOK(ecode4
)) {
22000 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PyWindow_DoMoveWindow" "', expected argument " "4"" of type '" "int""'");
22002 arg4
= static_cast< int >(val4
);
22003 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
22004 if (!SWIG_IsOK(ecode5
)) {
22005 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PyWindow_DoMoveWindow" "', expected argument " "5"" of type '" "int""'");
22007 arg5
= static_cast< int >(val5
);
22009 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22010 (arg1
)->DoMoveWindow(arg2
,arg3
,arg4
,arg5
);
22011 wxPyEndAllowThreads(__tstate
);
22012 if (PyErr_Occurred()) SWIG_fail
;
22014 resultobj
= SWIG_Py_Void();
22021 SWIGINTERN PyObject
*_wrap_PyWindow_DoSetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22022 PyObject
*resultobj
= 0;
22023 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
22028 int arg6
= (int) wxSIZE_AUTO
;
22041 PyObject
* obj0
= 0 ;
22042 PyObject
* obj1
= 0 ;
22043 PyObject
* obj2
= 0 ;
22044 PyObject
* obj3
= 0 ;
22045 PyObject
* obj4
= 0 ;
22046 PyObject
* obj5
= 0 ;
22047 char * kwnames
[] = {
22048 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
22051 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:PyWindow_DoSetSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
22052 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyWindow
, 0 | 0 );
22053 if (!SWIG_IsOK(res1
)) {
22054 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyWindow_DoSetSize" "', expected argument " "1"" of type '" "wxPyWindow *""'");
22056 arg1
= reinterpret_cast< wxPyWindow
* >(argp1
);
22057 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22058 if (!SWIG_IsOK(ecode2
)) {
22059 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PyWindow_DoSetSize" "', expected argument " "2"" of type '" "int""'");
22061 arg2
= static_cast< int >(val2
);
22062 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
22063 if (!SWIG_IsOK(ecode3
)) {
22064 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PyWindow_DoSetSize" "', expected argument " "3"" of type '" "int""'");
22066 arg3
= static_cast< int >(val3
);
22067 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
22068 if (!SWIG_IsOK(ecode4
)) {
22069 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PyWindow_DoSetSize" "', expected argument " "4"" of type '" "int""'");
22071 arg4
= static_cast< int >(val4
);
22072 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
22073 if (!SWIG_IsOK(ecode5
)) {
22074 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PyWindow_DoSetSize" "', expected argument " "5"" of type '" "int""'");
22076 arg5
= static_cast< int >(val5
);
22078 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
22079 if (!SWIG_IsOK(ecode6
)) {
22080 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "PyWindow_DoSetSize" "', expected argument " "6"" of type '" "int""'");
22082 arg6
= static_cast< int >(val6
);
22085 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22086 (arg1
)->DoSetSize(arg2
,arg3
,arg4
,arg5
,arg6
);
22087 wxPyEndAllowThreads(__tstate
);
22088 if (PyErr_Occurred()) SWIG_fail
;
22090 resultobj
= SWIG_Py_Void();
22097 SWIGINTERN PyObject
*_wrap_PyWindow_DoSetClientSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22098 PyObject
*resultobj
= 0;
22099 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
22108 PyObject
* obj0
= 0 ;
22109 PyObject
* obj1
= 0 ;
22110 PyObject
* obj2
= 0 ;
22111 char * kwnames
[] = {
22112 (char *) "self",(char *) "width",(char *) "height", NULL
22115 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyWindow_DoSetClientSize",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
22116 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyWindow
, 0 | 0 );
22117 if (!SWIG_IsOK(res1
)) {
22118 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyWindow_DoSetClientSize" "', expected argument " "1"" of type '" "wxPyWindow *""'");
22120 arg1
= reinterpret_cast< wxPyWindow
* >(argp1
);
22121 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22122 if (!SWIG_IsOK(ecode2
)) {
22123 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PyWindow_DoSetClientSize" "', expected argument " "2"" of type '" "int""'");
22125 arg2
= static_cast< int >(val2
);
22126 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
22127 if (!SWIG_IsOK(ecode3
)) {
22128 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PyWindow_DoSetClientSize" "', expected argument " "3"" of type '" "int""'");
22130 arg3
= static_cast< int >(val3
);
22132 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22133 (arg1
)->DoSetClientSize(arg2
,arg3
);
22134 wxPyEndAllowThreads(__tstate
);
22135 if (PyErr_Occurred()) SWIG_fail
;
22137 resultobj
= SWIG_Py_Void();
22144 SWIGINTERN PyObject
*_wrap_PyWindow_DoSetVirtualSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22145 PyObject
*resultobj
= 0;
22146 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
22155 PyObject
* obj0
= 0 ;
22156 PyObject
* obj1
= 0 ;
22157 PyObject
* obj2
= 0 ;
22158 char * kwnames
[] = {
22159 (char *) "self",(char *) "x",(char *) "y", NULL
22162 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyWindow_DoSetVirtualSize",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
22163 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyWindow
, 0 | 0 );
22164 if (!SWIG_IsOK(res1
)) {
22165 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyWindow_DoSetVirtualSize" "', expected argument " "1"" of type '" "wxPyWindow *""'");
22167 arg1
= reinterpret_cast< wxPyWindow
* >(argp1
);
22168 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22169 if (!SWIG_IsOK(ecode2
)) {
22170 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PyWindow_DoSetVirtualSize" "', expected argument " "2"" of type '" "int""'");
22172 arg2
= static_cast< int >(val2
);
22173 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
22174 if (!SWIG_IsOK(ecode3
)) {
22175 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PyWindow_DoSetVirtualSize" "', expected argument " "3"" of type '" "int""'");
22177 arg3
= static_cast< int >(val3
);
22179 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22180 (arg1
)->DoSetVirtualSize(arg2
,arg3
);
22181 wxPyEndAllowThreads(__tstate
);
22182 if (PyErr_Occurred()) SWIG_fail
;
22184 resultobj
= SWIG_Py_Void();
22191 SWIGINTERN PyObject
*_wrap_PyWindow_DoGetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22192 PyObject
*resultobj
= 0;
22193 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
22194 int *arg2
= (int *) 0 ;
22195 int *arg3
= (int *) 0 ;
22199 int res2
= SWIG_TMPOBJ
;
22201 int res3
= SWIG_TMPOBJ
;
22202 PyObject
*swig_obj
[1] ;
22206 if (!args
) SWIG_fail
;
22207 swig_obj
[0] = args
;
22208 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyWindow
, 0 | 0 );
22209 if (!SWIG_IsOK(res1
)) {
22210 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyWindow_DoGetSize" "', expected argument " "1"" of type '" "wxPyWindow const *""'");
22212 arg1
= reinterpret_cast< wxPyWindow
* >(argp1
);
22214 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22215 ((wxPyWindow
const *)arg1
)->DoGetSize(arg2
,arg3
);
22216 wxPyEndAllowThreads(__tstate
);
22217 if (PyErr_Occurred()) SWIG_fail
;
22219 resultobj
= SWIG_Py_Void();
22220 if (SWIG_IsTmpObj(res2
)) {
22221 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
22223 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
22224 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
22226 if (SWIG_IsTmpObj(res3
)) {
22227 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
22229 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
22230 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
22238 SWIGINTERN PyObject
*_wrap_PyWindow_DoGetClientSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22239 PyObject
*resultobj
= 0;
22240 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
22241 int *arg2
= (int *) 0 ;
22242 int *arg3
= (int *) 0 ;
22246 int res2
= SWIG_TMPOBJ
;
22248 int res3
= SWIG_TMPOBJ
;
22249 PyObject
*swig_obj
[1] ;
22253 if (!args
) SWIG_fail
;
22254 swig_obj
[0] = args
;
22255 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyWindow
, 0 | 0 );
22256 if (!SWIG_IsOK(res1
)) {
22257 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyWindow_DoGetClientSize" "', expected argument " "1"" of type '" "wxPyWindow const *""'");
22259 arg1
= reinterpret_cast< wxPyWindow
* >(argp1
);
22261 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22262 ((wxPyWindow
const *)arg1
)->DoGetClientSize(arg2
,arg3
);
22263 wxPyEndAllowThreads(__tstate
);
22264 if (PyErr_Occurred()) SWIG_fail
;
22266 resultobj
= SWIG_Py_Void();
22267 if (SWIG_IsTmpObj(res2
)) {
22268 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
22270 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
22271 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
22273 if (SWIG_IsTmpObj(res3
)) {
22274 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
22276 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
22277 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
22285 SWIGINTERN PyObject
*_wrap_PyWindow_DoGetPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22286 PyObject
*resultobj
= 0;
22287 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
22288 int *arg2
= (int *) 0 ;
22289 int *arg3
= (int *) 0 ;
22293 int res2
= SWIG_TMPOBJ
;
22295 int res3
= SWIG_TMPOBJ
;
22296 PyObject
*swig_obj
[1] ;
22300 if (!args
) SWIG_fail
;
22301 swig_obj
[0] = args
;
22302 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyWindow
, 0 | 0 );
22303 if (!SWIG_IsOK(res1
)) {
22304 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyWindow_DoGetPosition" "', expected argument " "1"" of type '" "wxPyWindow const *""'");
22306 arg1
= reinterpret_cast< wxPyWindow
* >(argp1
);
22308 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22309 ((wxPyWindow
const *)arg1
)->DoGetPosition(arg2
,arg3
);
22310 wxPyEndAllowThreads(__tstate
);
22311 if (PyErr_Occurred()) SWIG_fail
;
22313 resultobj
= SWIG_Py_Void();
22314 if (SWIG_IsTmpObj(res2
)) {
22315 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
22317 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
22318 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
22320 if (SWIG_IsTmpObj(res3
)) {
22321 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
22323 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
22324 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
22332 SWIGINTERN PyObject
*_wrap_PyWindow_DoGetVirtualSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22333 PyObject
*resultobj
= 0;
22334 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
22338 PyObject
*swig_obj
[1] ;
22340 if (!args
) SWIG_fail
;
22341 swig_obj
[0] = args
;
22342 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyWindow
, 0 | 0 );
22343 if (!SWIG_IsOK(res1
)) {
22344 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyWindow_DoGetVirtualSize" "', expected argument " "1"" of type '" "wxPyWindow const *""'");
22346 arg1
= reinterpret_cast< wxPyWindow
* >(argp1
);
22348 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22349 result
= ((wxPyWindow
const *)arg1
)->DoGetVirtualSize();
22350 wxPyEndAllowThreads(__tstate
);
22351 if (PyErr_Occurred()) SWIG_fail
;
22353 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
22360 SWIGINTERN PyObject
*_wrap_PyWindow_DoGetBestSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22361 PyObject
*resultobj
= 0;
22362 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
22366 PyObject
*swig_obj
[1] ;
22368 if (!args
) SWIG_fail
;
22369 swig_obj
[0] = args
;
22370 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyWindow
, 0 | 0 );
22371 if (!SWIG_IsOK(res1
)) {
22372 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyWindow_DoGetBestSize" "', expected argument " "1"" of type '" "wxPyWindow const *""'");
22374 arg1
= reinterpret_cast< wxPyWindow
* >(argp1
);
22376 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22377 result
= ((wxPyWindow
const *)arg1
)->DoGetBestSize();
22378 wxPyEndAllowThreads(__tstate
);
22379 if (PyErr_Occurred()) SWIG_fail
;
22381 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
22388 SWIGINTERN PyObject
*_wrap_PyWindow_GetDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22389 PyObject
*resultobj
= 0;
22390 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
22391 SwigValueWrapper
<wxVisualAttributes
> result
;
22394 PyObject
*swig_obj
[1] ;
22396 if (!args
) SWIG_fail
;
22397 swig_obj
[0] = args
;
22398 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyWindow
, 0 | 0 );
22399 if (!SWIG_IsOK(res1
)) {
22400 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyWindow_GetDefaultAttributes" "', expected argument " "1"" of type '" "wxPyWindow *""'");
22402 arg1
= reinterpret_cast< wxPyWindow
* >(argp1
);
22404 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22405 result
= (arg1
)->GetDefaultAttributes();
22406 wxPyEndAllowThreads(__tstate
);
22407 if (PyErr_Occurred()) SWIG_fail
;
22409 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
22416 SWIGINTERN PyObject
*_wrap_PyWindow_OnInternalIdle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22417 PyObject
*resultobj
= 0;
22418 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
22421 PyObject
*swig_obj
[1] ;
22423 if (!args
) SWIG_fail
;
22424 swig_obj
[0] = args
;
22425 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyWindow
, 0 | 0 );
22426 if (!SWIG_IsOK(res1
)) {
22427 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyWindow_OnInternalIdle" "', expected argument " "1"" of type '" "wxPyWindow *""'");
22429 arg1
= reinterpret_cast< wxPyWindow
* >(argp1
);
22431 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22432 (arg1
)->OnInternalIdle();
22433 wxPyEndAllowThreads(__tstate
);
22434 if (PyErr_Occurred()) SWIG_fail
;
22436 resultobj
= SWIG_Py_Void();
22443 SWIGINTERN PyObject
*PyWindow_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22445 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
22446 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyWindow
, SWIG_NewClientData(obj
));
22447 return SWIG_Py_Void();
22450 SWIGINTERN PyObject
*PyWindow_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22451 return SWIG_Python_InitShadowInstance(args
);
22454 SWIGINTERN PyObject
*_wrap_new_PyPanel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22455 PyObject
*resultobj
= 0;
22456 wxWindow
*arg1
= (wxWindow
*) 0 ;
22457 int arg2
= (int) (int)-1 ;
22458 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
22459 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
22460 wxSize
const &arg4_defvalue
= wxDefaultSize
;
22461 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
22462 long arg5
= (long) 0 ;
22463 wxString
const &arg6_defvalue
= wxPyPanelNameStr
;
22464 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
22465 wxPyPanel
*result
= 0 ;
22474 bool temp6
= false ;
22475 PyObject
* obj0
= 0 ;
22476 PyObject
* obj1
= 0 ;
22477 PyObject
* obj2
= 0 ;
22478 PyObject
* obj3
= 0 ;
22479 PyObject
* obj4
= 0 ;
22480 PyObject
* obj5
= 0 ;
22481 char * kwnames
[] = {
22482 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
22485 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_PyPanel",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
22486 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
22487 if (!SWIG_IsOK(res1
)) {
22488 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PyPanel" "', expected argument " "1"" of type '" "wxWindow *""'");
22490 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
22492 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22493 if (!SWIG_IsOK(ecode2
)) {
22494 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_PyPanel" "', expected argument " "2"" of type '" "int""'");
22496 arg2
= static_cast< int >(val2
);
22501 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
22507 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
22511 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
22512 if (!SWIG_IsOK(ecode5
)) {
22513 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_PyPanel" "', expected argument " "5"" of type '" "long""'");
22515 arg5
= static_cast< long >(val5
);
22519 arg6
= wxString_in_helper(obj5
);
22520 if (arg6
== NULL
) SWIG_fail
;
22525 if (!wxPyCheckForApp()) SWIG_fail
;
22526 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22527 result
= (wxPyPanel
*)new wxPyPanel(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
22528 wxPyEndAllowThreads(__tstate
);
22529 if (PyErr_Occurred()) SWIG_fail
;
22531 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyPanel
, SWIG_POINTER_NEW
| 0 );
22546 SWIGINTERN PyObject
*_wrap_new_PrePyPanel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22547 PyObject
*resultobj
= 0;
22548 wxPyPanel
*result
= 0 ;
22550 if (!SWIG_Python_UnpackTuple(args
,"new_PrePyPanel",0,0,0)) SWIG_fail
;
22552 if (!wxPyCheckForApp()) SWIG_fail
;
22553 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22554 result
= (wxPyPanel
*)new wxPyPanel();
22555 wxPyEndAllowThreads(__tstate
);
22556 if (PyErr_Occurred()) SWIG_fail
;
22558 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyPanel
, SWIG_POINTER_OWN
| 0 );
22565 SWIGINTERN PyObject
*_wrap_PyPanel__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22566 PyObject
*resultobj
= 0;
22567 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
22568 PyObject
*arg2
= (PyObject
*) 0 ;
22569 PyObject
*arg3
= (PyObject
*) 0 ;
22572 PyObject
* obj0
= 0 ;
22573 PyObject
* obj1
= 0 ;
22574 PyObject
* obj2
= 0 ;
22575 char * kwnames
[] = {
22576 (char *) "self",(char *) "self",(char *) "_class", NULL
22579 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyPanel__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
22580 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPanel
, 0 | 0 );
22581 if (!SWIG_IsOK(res1
)) {
22582 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPanel__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyPanel *""'");
22584 arg1
= reinterpret_cast< wxPyPanel
* >(argp1
);
22588 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22589 (arg1
)->_setCallbackInfo(arg2
,arg3
);
22590 wxPyEndAllowThreads(__tstate
);
22591 if (PyErr_Occurred()) SWIG_fail
;
22593 resultobj
= SWIG_Py_Void();
22600 SWIGINTERN PyObject
*_wrap_PyPanel_DoEraseBackground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22601 PyObject
*resultobj
= 0;
22602 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
22603 wxDC
*arg2
= (wxDC
*) 0 ;
22609 PyObject
* obj0
= 0 ;
22610 PyObject
* obj1
= 0 ;
22611 char * kwnames
[] = {
22612 (char *) "self",(char *) "dc", NULL
22615 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPanel_DoEraseBackground",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22616 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPanel
, 0 | 0 );
22617 if (!SWIG_IsOK(res1
)) {
22618 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPanel_DoEraseBackground" "', expected argument " "1"" of type '" "wxPyPanel *""'");
22620 arg1
= reinterpret_cast< wxPyPanel
* >(argp1
);
22621 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxDC
, 0 | 0 );
22622 if (!SWIG_IsOK(res2
)) {
22623 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PyPanel_DoEraseBackground" "', expected argument " "2"" of type '" "wxDC *""'");
22625 arg2
= reinterpret_cast< wxDC
* >(argp2
);
22627 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22628 result
= (bool)(arg1
)->DoEraseBackground(arg2
);
22629 wxPyEndAllowThreads(__tstate
);
22630 if (PyErr_Occurred()) SWIG_fail
;
22633 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22641 SWIGINTERN PyObject
*_wrap_PyPanel_DoMoveWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22642 PyObject
*resultobj
= 0;
22643 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
22658 PyObject
* obj0
= 0 ;
22659 PyObject
* obj1
= 0 ;
22660 PyObject
* obj2
= 0 ;
22661 PyObject
* obj3
= 0 ;
22662 PyObject
* obj4
= 0 ;
22663 char * kwnames
[] = {
22664 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
22667 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:PyPanel_DoMoveWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
22668 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPanel
, 0 | 0 );
22669 if (!SWIG_IsOK(res1
)) {
22670 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPanel_DoMoveWindow" "', expected argument " "1"" of type '" "wxPyPanel *""'");
22672 arg1
= reinterpret_cast< wxPyPanel
* >(argp1
);
22673 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22674 if (!SWIG_IsOK(ecode2
)) {
22675 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PyPanel_DoMoveWindow" "', expected argument " "2"" of type '" "int""'");
22677 arg2
= static_cast< int >(val2
);
22678 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
22679 if (!SWIG_IsOK(ecode3
)) {
22680 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PyPanel_DoMoveWindow" "', expected argument " "3"" of type '" "int""'");
22682 arg3
= static_cast< int >(val3
);
22683 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
22684 if (!SWIG_IsOK(ecode4
)) {
22685 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PyPanel_DoMoveWindow" "', expected argument " "4"" of type '" "int""'");
22687 arg4
= static_cast< int >(val4
);
22688 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
22689 if (!SWIG_IsOK(ecode5
)) {
22690 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PyPanel_DoMoveWindow" "', expected argument " "5"" of type '" "int""'");
22692 arg5
= static_cast< int >(val5
);
22694 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22695 (arg1
)->DoMoveWindow(arg2
,arg3
,arg4
,arg5
);
22696 wxPyEndAllowThreads(__tstate
);
22697 if (PyErr_Occurred()) SWIG_fail
;
22699 resultobj
= SWIG_Py_Void();
22706 SWIGINTERN PyObject
*_wrap_PyPanel_DoSetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22707 PyObject
*resultobj
= 0;
22708 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
22713 int arg6
= (int) wxSIZE_AUTO
;
22726 PyObject
* obj0
= 0 ;
22727 PyObject
* obj1
= 0 ;
22728 PyObject
* obj2
= 0 ;
22729 PyObject
* obj3
= 0 ;
22730 PyObject
* obj4
= 0 ;
22731 PyObject
* obj5
= 0 ;
22732 char * kwnames
[] = {
22733 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
22736 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:PyPanel_DoSetSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
22737 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPanel
, 0 | 0 );
22738 if (!SWIG_IsOK(res1
)) {
22739 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPanel_DoSetSize" "', expected argument " "1"" of type '" "wxPyPanel *""'");
22741 arg1
= reinterpret_cast< wxPyPanel
* >(argp1
);
22742 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22743 if (!SWIG_IsOK(ecode2
)) {
22744 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PyPanel_DoSetSize" "', expected argument " "2"" of type '" "int""'");
22746 arg2
= static_cast< int >(val2
);
22747 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
22748 if (!SWIG_IsOK(ecode3
)) {
22749 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PyPanel_DoSetSize" "', expected argument " "3"" of type '" "int""'");
22751 arg3
= static_cast< int >(val3
);
22752 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
22753 if (!SWIG_IsOK(ecode4
)) {
22754 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PyPanel_DoSetSize" "', expected argument " "4"" of type '" "int""'");
22756 arg4
= static_cast< int >(val4
);
22757 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
22758 if (!SWIG_IsOK(ecode5
)) {
22759 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PyPanel_DoSetSize" "', expected argument " "5"" of type '" "int""'");
22761 arg5
= static_cast< int >(val5
);
22763 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
22764 if (!SWIG_IsOK(ecode6
)) {
22765 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "PyPanel_DoSetSize" "', expected argument " "6"" of type '" "int""'");
22767 arg6
= static_cast< int >(val6
);
22770 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22771 (arg1
)->DoSetSize(arg2
,arg3
,arg4
,arg5
,arg6
);
22772 wxPyEndAllowThreads(__tstate
);
22773 if (PyErr_Occurred()) SWIG_fail
;
22775 resultobj
= SWIG_Py_Void();
22782 SWIGINTERN PyObject
*_wrap_PyPanel_DoSetClientSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22783 PyObject
*resultobj
= 0;
22784 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
22793 PyObject
* obj0
= 0 ;
22794 PyObject
* obj1
= 0 ;
22795 PyObject
* obj2
= 0 ;
22796 char * kwnames
[] = {
22797 (char *) "self",(char *) "width",(char *) "height", NULL
22800 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyPanel_DoSetClientSize",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
22801 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPanel
, 0 | 0 );
22802 if (!SWIG_IsOK(res1
)) {
22803 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPanel_DoSetClientSize" "', expected argument " "1"" of type '" "wxPyPanel *""'");
22805 arg1
= reinterpret_cast< wxPyPanel
* >(argp1
);
22806 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22807 if (!SWIG_IsOK(ecode2
)) {
22808 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PyPanel_DoSetClientSize" "', expected argument " "2"" of type '" "int""'");
22810 arg2
= static_cast< int >(val2
);
22811 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
22812 if (!SWIG_IsOK(ecode3
)) {
22813 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PyPanel_DoSetClientSize" "', expected argument " "3"" of type '" "int""'");
22815 arg3
= static_cast< int >(val3
);
22817 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22818 (arg1
)->DoSetClientSize(arg2
,arg3
);
22819 wxPyEndAllowThreads(__tstate
);
22820 if (PyErr_Occurred()) SWIG_fail
;
22822 resultobj
= SWIG_Py_Void();
22829 SWIGINTERN PyObject
*_wrap_PyPanel_DoSetVirtualSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22830 PyObject
*resultobj
= 0;
22831 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
22840 PyObject
* obj0
= 0 ;
22841 PyObject
* obj1
= 0 ;
22842 PyObject
* obj2
= 0 ;
22843 char * kwnames
[] = {
22844 (char *) "self",(char *) "x",(char *) "y", NULL
22847 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyPanel_DoSetVirtualSize",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
22848 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPanel
, 0 | 0 );
22849 if (!SWIG_IsOK(res1
)) {
22850 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPanel_DoSetVirtualSize" "', expected argument " "1"" of type '" "wxPyPanel *""'");
22852 arg1
= reinterpret_cast< wxPyPanel
* >(argp1
);
22853 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22854 if (!SWIG_IsOK(ecode2
)) {
22855 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PyPanel_DoSetVirtualSize" "', expected argument " "2"" of type '" "int""'");
22857 arg2
= static_cast< int >(val2
);
22858 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
22859 if (!SWIG_IsOK(ecode3
)) {
22860 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PyPanel_DoSetVirtualSize" "', expected argument " "3"" of type '" "int""'");
22862 arg3
= static_cast< int >(val3
);
22864 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22865 (arg1
)->DoSetVirtualSize(arg2
,arg3
);
22866 wxPyEndAllowThreads(__tstate
);
22867 if (PyErr_Occurred()) SWIG_fail
;
22869 resultobj
= SWIG_Py_Void();
22876 SWIGINTERN PyObject
*_wrap_PyPanel_DoGetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22877 PyObject
*resultobj
= 0;
22878 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
22879 int *arg2
= (int *) 0 ;
22880 int *arg3
= (int *) 0 ;
22884 int res2
= SWIG_TMPOBJ
;
22886 int res3
= SWIG_TMPOBJ
;
22887 PyObject
*swig_obj
[1] ;
22891 if (!args
) SWIG_fail
;
22892 swig_obj
[0] = args
;
22893 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPanel
, 0 | 0 );
22894 if (!SWIG_IsOK(res1
)) {
22895 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPanel_DoGetSize" "', expected argument " "1"" of type '" "wxPyPanel const *""'");
22897 arg1
= reinterpret_cast< wxPyPanel
* >(argp1
);
22899 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22900 ((wxPyPanel
const *)arg1
)->DoGetSize(arg2
,arg3
);
22901 wxPyEndAllowThreads(__tstate
);
22902 if (PyErr_Occurred()) SWIG_fail
;
22904 resultobj
= SWIG_Py_Void();
22905 if (SWIG_IsTmpObj(res2
)) {
22906 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
22908 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
22909 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
22911 if (SWIG_IsTmpObj(res3
)) {
22912 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
22914 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
22915 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
22923 SWIGINTERN PyObject
*_wrap_PyPanel_DoGetClientSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22924 PyObject
*resultobj
= 0;
22925 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
22926 int *arg2
= (int *) 0 ;
22927 int *arg3
= (int *) 0 ;
22931 int res2
= SWIG_TMPOBJ
;
22933 int res3
= SWIG_TMPOBJ
;
22934 PyObject
*swig_obj
[1] ;
22938 if (!args
) SWIG_fail
;
22939 swig_obj
[0] = args
;
22940 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPanel
, 0 | 0 );
22941 if (!SWIG_IsOK(res1
)) {
22942 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPanel_DoGetClientSize" "', expected argument " "1"" of type '" "wxPyPanel const *""'");
22944 arg1
= reinterpret_cast< wxPyPanel
* >(argp1
);
22946 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22947 ((wxPyPanel
const *)arg1
)->DoGetClientSize(arg2
,arg3
);
22948 wxPyEndAllowThreads(__tstate
);
22949 if (PyErr_Occurred()) SWIG_fail
;
22951 resultobj
= SWIG_Py_Void();
22952 if (SWIG_IsTmpObj(res2
)) {
22953 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
22955 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
22956 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
22958 if (SWIG_IsTmpObj(res3
)) {
22959 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
22961 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
22962 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
22970 SWIGINTERN PyObject
*_wrap_PyPanel_DoGetPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22971 PyObject
*resultobj
= 0;
22972 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
22973 int *arg2
= (int *) 0 ;
22974 int *arg3
= (int *) 0 ;
22978 int res2
= SWIG_TMPOBJ
;
22980 int res3
= SWIG_TMPOBJ
;
22981 PyObject
*swig_obj
[1] ;
22985 if (!args
) SWIG_fail
;
22986 swig_obj
[0] = args
;
22987 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPanel
, 0 | 0 );
22988 if (!SWIG_IsOK(res1
)) {
22989 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPanel_DoGetPosition" "', expected argument " "1"" of type '" "wxPyPanel const *""'");
22991 arg1
= reinterpret_cast< wxPyPanel
* >(argp1
);
22993 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22994 ((wxPyPanel
const *)arg1
)->DoGetPosition(arg2
,arg3
);
22995 wxPyEndAllowThreads(__tstate
);
22996 if (PyErr_Occurred()) SWIG_fail
;
22998 resultobj
= SWIG_Py_Void();
22999 if (SWIG_IsTmpObj(res2
)) {
23000 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
23002 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
23003 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
23005 if (SWIG_IsTmpObj(res3
)) {
23006 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
23008 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
23009 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
23017 SWIGINTERN PyObject
*_wrap_PyPanel_DoGetVirtualSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23018 PyObject
*resultobj
= 0;
23019 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
23023 PyObject
*swig_obj
[1] ;
23025 if (!args
) SWIG_fail
;
23026 swig_obj
[0] = args
;
23027 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPanel
, 0 | 0 );
23028 if (!SWIG_IsOK(res1
)) {
23029 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPanel_DoGetVirtualSize" "', expected argument " "1"" of type '" "wxPyPanel const *""'");
23031 arg1
= reinterpret_cast< wxPyPanel
* >(argp1
);
23033 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23034 result
= ((wxPyPanel
const *)arg1
)->DoGetVirtualSize();
23035 wxPyEndAllowThreads(__tstate
);
23036 if (PyErr_Occurred()) SWIG_fail
;
23038 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
23045 SWIGINTERN PyObject
*_wrap_PyPanel_DoGetBestSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23046 PyObject
*resultobj
= 0;
23047 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
23051 PyObject
*swig_obj
[1] ;
23053 if (!args
) SWIG_fail
;
23054 swig_obj
[0] = args
;
23055 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPanel
, 0 | 0 );
23056 if (!SWIG_IsOK(res1
)) {
23057 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPanel_DoGetBestSize" "', expected argument " "1"" of type '" "wxPyPanel const *""'");
23059 arg1
= reinterpret_cast< wxPyPanel
* >(argp1
);
23061 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23062 result
= ((wxPyPanel
const *)arg1
)->DoGetBestSize();
23063 wxPyEndAllowThreads(__tstate
);
23064 if (PyErr_Occurred()) SWIG_fail
;
23066 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
23073 SWIGINTERN PyObject
*_wrap_PyPanel_GetDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23074 PyObject
*resultobj
= 0;
23075 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
23076 SwigValueWrapper
<wxVisualAttributes
> result
;
23079 PyObject
*swig_obj
[1] ;
23081 if (!args
) SWIG_fail
;
23082 swig_obj
[0] = args
;
23083 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPanel
, 0 | 0 );
23084 if (!SWIG_IsOK(res1
)) {
23085 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPanel_GetDefaultAttributes" "', expected argument " "1"" of type '" "wxPyPanel *""'");
23087 arg1
= reinterpret_cast< wxPyPanel
* >(argp1
);
23089 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23090 result
= (arg1
)->GetDefaultAttributes();
23091 wxPyEndAllowThreads(__tstate
);
23092 if (PyErr_Occurred()) SWIG_fail
;
23094 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
23101 SWIGINTERN PyObject
*_wrap_PyPanel_OnInternalIdle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23102 PyObject
*resultobj
= 0;
23103 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
23106 PyObject
*swig_obj
[1] ;
23108 if (!args
) SWIG_fail
;
23109 swig_obj
[0] = args
;
23110 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPanel
, 0 | 0 );
23111 if (!SWIG_IsOK(res1
)) {
23112 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPanel_OnInternalIdle" "', expected argument " "1"" of type '" "wxPyPanel *""'");
23114 arg1
= reinterpret_cast< wxPyPanel
* >(argp1
);
23116 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23117 (arg1
)->OnInternalIdle();
23118 wxPyEndAllowThreads(__tstate
);
23119 if (PyErr_Occurred()) SWIG_fail
;
23121 resultobj
= SWIG_Py_Void();
23128 SWIGINTERN PyObject
*PyPanel_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23130 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
23131 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyPanel
, SWIG_NewClientData(obj
));
23132 return SWIG_Py_Void();
23135 SWIGINTERN PyObject
*PyPanel_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23136 return SWIG_Python_InitShadowInstance(args
);
23139 SWIGINTERN PyObject
*_wrap_new_PyScrolledWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23140 PyObject
*resultobj
= 0;
23141 wxWindow
*arg1
= (wxWindow
*) 0 ;
23142 int arg2
= (int) (int)-1 ;
23143 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
23144 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
23145 wxSize
const &arg4_defvalue
= wxDefaultSize
;
23146 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
23147 long arg5
= (long) 0 ;
23148 wxString
const &arg6_defvalue
= wxPyPanelNameStr
;
23149 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
23150 wxPyScrolledWindow
*result
= 0 ;
23159 bool temp6
= false ;
23160 PyObject
* obj0
= 0 ;
23161 PyObject
* obj1
= 0 ;
23162 PyObject
* obj2
= 0 ;
23163 PyObject
* obj3
= 0 ;
23164 PyObject
* obj4
= 0 ;
23165 PyObject
* obj5
= 0 ;
23166 char * kwnames
[] = {
23167 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
23170 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_PyScrolledWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
23171 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
23172 if (!SWIG_IsOK(res1
)) {
23173 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PyScrolledWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
23175 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
23177 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
23178 if (!SWIG_IsOK(ecode2
)) {
23179 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_PyScrolledWindow" "', expected argument " "2"" of type '" "int""'");
23181 arg2
= static_cast< int >(val2
);
23186 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
23192 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
23196 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
23197 if (!SWIG_IsOK(ecode5
)) {
23198 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_PyScrolledWindow" "', expected argument " "5"" of type '" "long""'");
23200 arg5
= static_cast< long >(val5
);
23204 arg6
= wxString_in_helper(obj5
);
23205 if (arg6
== NULL
) SWIG_fail
;
23210 if (!wxPyCheckForApp()) SWIG_fail
;
23211 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23212 result
= (wxPyScrolledWindow
*)new wxPyScrolledWindow(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
23213 wxPyEndAllowThreads(__tstate
);
23214 if (PyErr_Occurred()) SWIG_fail
;
23216 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyScrolledWindow
, SWIG_POINTER_NEW
| 0 );
23231 SWIGINTERN PyObject
*_wrap_new_PrePyScrolledWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23232 PyObject
*resultobj
= 0;
23233 wxPyScrolledWindow
*result
= 0 ;
23235 if (!SWIG_Python_UnpackTuple(args
,"new_PrePyScrolledWindow",0,0,0)) SWIG_fail
;
23237 if (!wxPyCheckForApp()) SWIG_fail
;
23238 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23239 result
= (wxPyScrolledWindow
*)new wxPyScrolledWindow();
23240 wxPyEndAllowThreads(__tstate
);
23241 if (PyErr_Occurred()) SWIG_fail
;
23243 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyScrolledWindow
, SWIG_POINTER_OWN
| 0 );
23250 SWIGINTERN PyObject
*_wrap_PyScrolledWindow__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23251 PyObject
*resultobj
= 0;
23252 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
23253 PyObject
*arg2
= (PyObject
*) 0 ;
23254 PyObject
*arg3
= (PyObject
*) 0 ;
23257 PyObject
* obj0
= 0 ;
23258 PyObject
* obj1
= 0 ;
23259 PyObject
* obj2
= 0 ;
23260 char * kwnames
[] = {
23261 (char *) "self",(char *) "self",(char *) "_class", NULL
23264 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyScrolledWindow__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
23265 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyScrolledWindow
, 0 | 0 );
23266 if (!SWIG_IsOK(res1
)) {
23267 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyScrolledWindow__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyScrolledWindow *""'");
23269 arg1
= reinterpret_cast< wxPyScrolledWindow
* >(argp1
);
23273 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23274 (arg1
)->_setCallbackInfo(arg2
,arg3
);
23275 wxPyEndAllowThreads(__tstate
);
23276 if (PyErr_Occurred()) SWIG_fail
;
23278 resultobj
= SWIG_Py_Void();
23285 SWIGINTERN PyObject
*_wrap_PyScrolledWindow_DoEraseBackground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23286 PyObject
*resultobj
= 0;
23287 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
23288 wxDC
*arg2
= (wxDC
*) 0 ;
23294 PyObject
* obj0
= 0 ;
23295 PyObject
* obj1
= 0 ;
23296 char * kwnames
[] = {
23297 (char *) "self",(char *) "dc", NULL
23300 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyScrolledWindow_DoEraseBackground",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23301 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyScrolledWindow
, 0 | 0 );
23302 if (!SWIG_IsOK(res1
)) {
23303 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyScrolledWindow_DoEraseBackground" "', expected argument " "1"" of type '" "wxPyScrolledWindow *""'");
23305 arg1
= reinterpret_cast< wxPyScrolledWindow
* >(argp1
);
23306 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxDC
, 0 | 0 );
23307 if (!SWIG_IsOK(res2
)) {
23308 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PyScrolledWindow_DoEraseBackground" "', expected argument " "2"" of type '" "wxDC *""'");
23310 arg2
= reinterpret_cast< wxDC
* >(argp2
);
23312 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23313 result
= (bool)(arg1
)->DoEraseBackground(arg2
);
23314 wxPyEndAllowThreads(__tstate
);
23315 if (PyErr_Occurred()) SWIG_fail
;
23318 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23326 SWIGINTERN PyObject
*_wrap_PyScrolledWindow_DoMoveWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23327 PyObject
*resultobj
= 0;
23328 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
23343 PyObject
* obj0
= 0 ;
23344 PyObject
* obj1
= 0 ;
23345 PyObject
* obj2
= 0 ;
23346 PyObject
* obj3
= 0 ;
23347 PyObject
* obj4
= 0 ;
23348 char * kwnames
[] = {
23349 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
23352 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:PyScrolledWindow_DoMoveWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
23353 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyScrolledWindow
, 0 | 0 );
23354 if (!SWIG_IsOK(res1
)) {
23355 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyScrolledWindow_DoMoveWindow" "', expected argument " "1"" of type '" "wxPyScrolledWindow *""'");
23357 arg1
= reinterpret_cast< wxPyScrolledWindow
* >(argp1
);
23358 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
23359 if (!SWIG_IsOK(ecode2
)) {
23360 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PyScrolledWindow_DoMoveWindow" "', expected argument " "2"" of type '" "int""'");
23362 arg2
= static_cast< int >(val2
);
23363 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
23364 if (!SWIG_IsOK(ecode3
)) {
23365 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PyScrolledWindow_DoMoveWindow" "', expected argument " "3"" of type '" "int""'");
23367 arg3
= static_cast< int >(val3
);
23368 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
23369 if (!SWIG_IsOK(ecode4
)) {
23370 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PyScrolledWindow_DoMoveWindow" "', expected argument " "4"" of type '" "int""'");
23372 arg4
= static_cast< int >(val4
);
23373 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
23374 if (!SWIG_IsOK(ecode5
)) {
23375 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PyScrolledWindow_DoMoveWindow" "', expected argument " "5"" of type '" "int""'");
23377 arg5
= static_cast< int >(val5
);
23379 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23380 (arg1
)->DoMoveWindow(arg2
,arg3
,arg4
,arg5
);
23381 wxPyEndAllowThreads(__tstate
);
23382 if (PyErr_Occurred()) SWIG_fail
;
23384 resultobj
= SWIG_Py_Void();
23391 SWIGINTERN PyObject
*_wrap_PyScrolledWindow_DoSetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23392 PyObject
*resultobj
= 0;
23393 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
23398 int arg6
= (int) wxSIZE_AUTO
;
23411 PyObject
* obj0
= 0 ;
23412 PyObject
* obj1
= 0 ;
23413 PyObject
* obj2
= 0 ;
23414 PyObject
* obj3
= 0 ;
23415 PyObject
* obj4
= 0 ;
23416 PyObject
* obj5
= 0 ;
23417 char * kwnames
[] = {
23418 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
23421 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:PyScrolledWindow_DoSetSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
23422 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyScrolledWindow
, 0 | 0 );
23423 if (!SWIG_IsOK(res1
)) {
23424 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyScrolledWindow_DoSetSize" "', expected argument " "1"" of type '" "wxPyScrolledWindow *""'");
23426 arg1
= reinterpret_cast< wxPyScrolledWindow
* >(argp1
);
23427 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
23428 if (!SWIG_IsOK(ecode2
)) {
23429 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PyScrolledWindow_DoSetSize" "', expected argument " "2"" of type '" "int""'");
23431 arg2
= static_cast< int >(val2
);
23432 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
23433 if (!SWIG_IsOK(ecode3
)) {
23434 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PyScrolledWindow_DoSetSize" "', expected argument " "3"" of type '" "int""'");
23436 arg3
= static_cast< int >(val3
);
23437 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
23438 if (!SWIG_IsOK(ecode4
)) {
23439 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PyScrolledWindow_DoSetSize" "', expected argument " "4"" of type '" "int""'");
23441 arg4
= static_cast< int >(val4
);
23442 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
23443 if (!SWIG_IsOK(ecode5
)) {
23444 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PyScrolledWindow_DoSetSize" "', expected argument " "5"" of type '" "int""'");
23446 arg5
= static_cast< int >(val5
);
23448 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
23449 if (!SWIG_IsOK(ecode6
)) {
23450 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "PyScrolledWindow_DoSetSize" "', expected argument " "6"" of type '" "int""'");
23452 arg6
= static_cast< int >(val6
);
23455 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23456 (arg1
)->DoSetSize(arg2
,arg3
,arg4
,arg5
,arg6
);
23457 wxPyEndAllowThreads(__tstate
);
23458 if (PyErr_Occurred()) SWIG_fail
;
23460 resultobj
= SWIG_Py_Void();
23467 SWIGINTERN PyObject
*_wrap_PyScrolledWindow_DoSetClientSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23468 PyObject
*resultobj
= 0;
23469 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
23478 PyObject
* obj0
= 0 ;
23479 PyObject
* obj1
= 0 ;
23480 PyObject
* obj2
= 0 ;
23481 char * kwnames
[] = {
23482 (char *) "self",(char *) "width",(char *) "height", NULL
23485 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyScrolledWindow_DoSetClientSize",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
23486 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyScrolledWindow
, 0 | 0 );
23487 if (!SWIG_IsOK(res1
)) {
23488 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyScrolledWindow_DoSetClientSize" "', expected argument " "1"" of type '" "wxPyScrolledWindow *""'");
23490 arg1
= reinterpret_cast< wxPyScrolledWindow
* >(argp1
);
23491 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
23492 if (!SWIG_IsOK(ecode2
)) {
23493 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PyScrolledWindow_DoSetClientSize" "', expected argument " "2"" of type '" "int""'");
23495 arg2
= static_cast< int >(val2
);
23496 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
23497 if (!SWIG_IsOK(ecode3
)) {
23498 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PyScrolledWindow_DoSetClientSize" "', expected argument " "3"" of type '" "int""'");
23500 arg3
= static_cast< int >(val3
);
23502 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23503 (arg1
)->DoSetClientSize(arg2
,arg3
);
23504 wxPyEndAllowThreads(__tstate
);
23505 if (PyErr_Occurred()) SWIG_fail
;
23507 resultobj
= SWIG_Py_Void();
23514 SWIGINTERN PyObject
*_wrap_PyScrolledWindow_DoSetVirtualSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23515 PyObject
*resultobj
= 0;
23516 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
23525 PyObject
* obj0
= 0 ;
23526 PyObject
* obj1
= 0 ;
23527 PyObject
* obj2
= 0 ;
23528 char * kwnames
[] = {
23529 (char *) "self",(char *) "x",(char *) "y", NULL
23532 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyScrolledWindow_DoSetVirtualSize",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
23533 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyScrolledWindow
, 0 | 0 );
23534 if (!SWIG_IsOK(res1
)) {
23535 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyScrolledWindow_DoSetVirtualSize" "', expected argument " "1"" of type '" "wxPyScrolledWindow *""'");
23537 arg1
= reinterpret_cast< wxPyScrolledWindow
* >(argp1
);
23538 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
23539 if (!SWIG_IsOK(ecode2
)) {
23540 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PyScrolledWindow_DoSetVirtualSize" "', expected argument " "2"" of type '" "int""'");
23542 arg2
= static_cast< int >(val2
);
23543 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
23544 if (!SWIG_IsOK(ecode3
)) {
23545 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PyScrolledWindow_DoSetVirtualSize" "', expected argument " "3"" of type '" "int""'");
23547 arg3
= static_cast< int >(val3
);
23549 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23550 (arg1
)->DoSetVirtualSize(arg2
,arg3
);
23551 wxPyEndAllowThreads(__tstate
);
23552 if (PyErr_Occurred()) SWIG_fail
;
23554 resultobj
= SWIG_Py_Void();
23561 SWIGINTERN PyObject
*_wrap_PyScrolledWindow_DoGetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23562 PyObject
*resultobj
= 0;
23563 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
23564 int *arg2
= (int *) 0 ;
23565 int *arg3
= (int *) 0 ;
23569 int res2
= SWIG_TMPOBJ
;
23571 int res3
= SWIG_TMPOBJ
;
23572 PyObject
*swig_obj
[1] ;
23576 if (!args
) SWIG_fail
;
23577 swig_obj
[0] = args
;
23578 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyScrolledWindow
, 0 | 0 );
23579 if (!SWIG_IsOK(res1
)) {
23580 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyScrolledWindow_DoGetSize" "', expected argument " "1"" of type '" "wxPyScrolledWindow const *""'");
23582 arg1
= reinterpret_cast< wxPyScrolledWindow
* >(argp1
);
23584 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23585 ((wxPyScrolledWindow
const *)arg1
)->DoGetSize(arg2
,arg3
);
23586 wxPyEndAllowThreads(__tstate
);
23587 if (PyErr_Occurred()) SWIG_fail
;
23589 resultobj
= SWIG_Py_Void();
23590 if (SWIG_IsTmpObj(res2
)) {
23591 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
23593 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
23594 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
23596 if (SWIG_IsTmpObj(res3
)) {
23597 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
23599 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
23600 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
23608 SWIGINTERN PyObject
*_wrap_PyScrolledWindow_DoGetClientSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23609 PyObject
*resultobj
= 0;
23610 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
23611 int *arg2
= (int *) 0 ;
23612 int *arg3
= (int *) 0 ;
23616 int res2
= SWIG_TMPOBJ
;
23618 int res3
= SWIG_TMPOBJ
;
23619 PyObject
*swig_obj
[1] ;
23623 if (!args
) SWIG_fail
;
23624 swig_obj
[0] = args
;
23625 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyScrolledWindow
, 0 | 0 );
23626 if (!SWIG_IsOK(res1
)) {
23627 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyScrolledWindow_DoGetClientSize" "', expected argument " "1"" of type '" "wxPyScrolledWindow const *""'");
23629 arg1
= reinterpret_cast< wxPyScrolledWindow
* >(argp1
);
23631 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23632 ((wxPyScrolledWindow
const *)arg1
)->DoGetClientSize(arg2
,arg3
);
23633 wxPyEndAllowThreads(__tstate
);
23634 if (PyErr_Occurred()) SWIG_fail
;
23636 resultobj
= SWIG_Py_Void();
23637 if (SWIG_IsTmpObj(res2
)) {
23638 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
23640 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
23641 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
23643 if (SWIG_IsTmpObj(res3
)) {
23644 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
23646 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
23647 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
23655 SWIGINTERN PyObject
*_wrap_PyScrolledWindow_DoGetPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23656 PyObject
*resultobj
= 0;
23657 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
23658 int *arg2
= (int *) 0 ;
23659 int *arg3
= (int *) 0 ;
23663 int res2
= SWIG_TMPOBJ
;
23665 int res3
= SWIG_TMPOBJ
;
23666 PyObject
*swig_obj
[1] ;
23670 if (!args
) SWIG_fail
;
23671 swig_obj
[0] = args
;
23672 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyScrolledWindow
, 0 | 0 );
23673 if (!SWIG_IsOK(res1
)) {
23674 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyScrolledWindow_DoGetPosition" "', expected argument " "1"" of type '" "wxPyScrolledWindow const *""'");
23676 arg1
= reinterpret_cast< wxPyScrolledWindow
* >(argp1
);
23678 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23679 ((wxPyScrolledWindow
const *)arg1
)->DoGetPosition(arg2
,arg3
);
23680 wxPyEndAllowThreads(__tstate
);
23681 if (PyErr_Occurred()) SWIG_fail
;
23683 resultobj
= SWIG_Py_Void();
23684 if (SWIG_IsTmpObj(res2
)) {
23685 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
23687 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
23688 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
23690 if (SWIG_IsTmpObj(res3
)) {
23691 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
23693 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
23694 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
23702 SWIGINTERN PyObject
*_wrap_PyScrolledWindow_DoGetVirtualSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23703 PyObject
*resultobj
= 0;
23704 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
23708 PyObject
*swig_obj
[1] ;
23710 if (!args
) SWIG_fail
;
23711 swig_obj
[0] = args
;
23712 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyScrolledWindow
, 0 | 0 );
23713 if (!SWIG_IsOK(res1
)) {
23714 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyScrolledWindow_DoGetVirtualSize" "', expected argument " "1"" of type '" "wxPyScrolledWindow const *""'");
23716 arg1
= reinterpret_cast< wxPyScrolledWindow
* >(argp1
);
23718 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23719 result
= ((wxPyScrolledWindow
const *)arg1
)->DoGetVirtualSize();
23720 wxPyEndAllowThreads(__tstate
);
23721 if (PyErr_Occurred()) SWIG_fail
;
23723 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
23730 SWIGINTERN PyObject
*_wrap_PyScrolledWindow_DoGetBestSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23731 PyObject
*resultobj
= 0;
23732 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
23736 PyObject
*swig_obj
[1] ;
23738 if (!args
) SWIG_fail
;
23739 swig_obj
[0] = args
;
23740 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyScrolledWindow
, 0 | 0 );
23741 if (!SWIG_IsOK(res1
)) {
23742 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyScrolledWindow_DoGetBestSize" "', expected argument " "1"" of type '" "wxPyScrolledWindow const *""'");
23744 arg1
= reinterpret_cast< wxPyScrolledWindow
* >(argp1
);
23746 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23747 result
= ((wxPyScrolledWindow
const *)arg1
)->DoGetBestSize();
23748 wxPyEndAllowThreads(__tstate
);
23749 if (PyErr_Occurred()) SWIG_fail
;
23751 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
23758 SWIGINTERN PyObject
*_wrap_PyScrolledWindow_GetDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23759 PyObject
*resultobj
= 0;
23760 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
23761 SwigValueWrapper
<wxVisualAttributes
> result
;
23764 PyObject
*swig_obj
[1] ;
23766 if (!args
) SWIG_fail
;
23767 swig_obj
[0] = args
;
23768 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyScrolledWindow
, 0 | 0 );
23769 if (!SWIG_IsOK(res1
)) {
23770 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyScrolledWindow_GetDefaultAttributes" "', expected argument " "1"" of type '" "wxPyScrolledWindow *""'");
23772 arg1
= reinterpret_cast< wxPyScrolledWindow
* >(argp1
);
23774 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23775 result
= (arg1
)->GetDefaultAttributes();
23776 wxPyEndAllowThreads(__tstate
);
23777 if (PyErr_Occurred()) SWIG_fail
;
23779 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
23786 SWIGINTERN PyObject
*_wrap_PyScrolledWindow_OnInternalIdle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23787 PyObject
*resultobj
= 0;
23788 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
23791 PyObject
*swig_obj
[1] ;
23793 if (!args
) SWIG_fail
;
23794 swig_obj
[0] = args
;
23795 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyScrolledWindow
, 0 | 0 );
23796 if (!SWIG_IsOK(res1
)) {
23797 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyScrolledWindow_OnInternalIdle" "', expected argument " "1"" of type '" "wxPyScrolledWindow *""'");
23799 arg1
= reinterpret_cast< wxPyScrolledWindow
* >(argp1
);
23801 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23802 (arg1
)->OnInternalIdle();
23803 wxPyEndAllowThreads(__tstate
);
23804 if (PyErr_Occurred()) SWIG_fail
;
23806 resultobj
= SWIG_Py_Void();
23813 SWIGINTERN PyObject
*PyScrolledWindow_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23815 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
23816 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyScrolledWindow
, SWIG_NewClientData(obj
));
23817 return SWIG_Py_Void();
23820 SWIGINTERN PyObject
*PyScrolledWindow_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23821 return SWIG_Python_InitShadowInstance(args
);
23824 SWIGINTERN
int PrintoutTitleStr_set(PyObject
*) {
23825 SWIG_Error(SWIG_AttributeError
,"Variable PrintoutTitleStr is read-only.");
23830 SWIGINTERN PyObject
*PrintoutTitleStr_get(void) {
23831 PyObject
*pyobj
= 0;
23835 pyobj
= PyUnicode_FromWideChar((&wxPyPrintoutTitleStr
)->c_str(), (&wxPyPrintoutTitleStr
)->Len());
23837 pyobj
= PyString_FromStringAndSize((&wxPyPrintoutTitleStr
)->c_str(), (&wxPyPrintoutTitleStr
)->Len());
23844 SWIGINTERN
int PreviewCanvasNameStr_set(PyObject
*) {
23845 SWIG_Error(SWIG_AttributeError
,"Variable PreviewCanvasNameStr is read-only.");
23850 SWIGINTERN PyObject
*PreviewCanvasNameStr_get(void) {
23851 PyObject
*pyobj
= 0;
23855 pyobj
= PyUnicode_FromWideChar((&wxPyPreviewCanvasNameStr
)->c_str(), (&wxPyPreviewCanvasNameStr
)->Len());
23857 pyobj
= PyString_FromStringAndSize((&wxPyPreviewCanvasNameStr
)->c_str(), (&wxPyPreviewCanvasNameStr
)->Len());
23864 SWIGINTERN PyObject
*_wrap_new_PrintData__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**SWIGUNUSEDPARM(swig_obj
)) {
23865 PyObject
*resultobj
= 0;
23866 wxPrintData
*result
= 0 ;
23868 if ((nobjs
< 0) || (nobjs
> 0)) SWIG_fail
;
23870 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23871 result
= (wxPrintData
*)new wxPrintData();
23872 wxPyEndAllowThreads(__tstate
);
23873 if (PyErr_Occurred()) SWIG_fail
;
23875 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPrintData
, SWIG_POINTER_NEW
| 0 );
23882 SWIGINTERN PyObject
*_wrap_new_PrintData__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
23883 PyObject
*resultobj
= 0;
23884 wxPrintData
*arg1
= 0 ;
23885 wxPrintData
*result
= 0 ;
23889 if ((nobjs
< 1) || (nobjs
> 1)) SWIG_fail
;
23890 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxPrintData
, 0 | 0);
23891 if (!SWIG_IsOK(res1
)) {
23892 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PrintData" "', expected argument " "1"" of type '" "wxPrintData const &""'");
23895 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_PrintData" "', expected argument " "1"" of type '" "wxPrintData const &""'");
23897 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
23899 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23900 result
= (wxPrintData
*)new wxPrintData((wxPrintData
const &)*arg1
);
23901 wxPyEndAllowThreads(__tstate
);
23902 if (PyErr_Occurred()) SWIG_fail
;
23904 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPrintData
, SWIG_POINTER_NEW
| 0 );
23911 SWIGINTERN PyObject
*_wrap_new_PrintData(PyObject
*self
, PyObject
*args
) {
23915 if (!(argc
= SWIG_Python_UnpackTuple(args
,"new_PrintData",0,1,argv
))) SWIG_fail
;
23918 return _wrap_new_PrintData__SWIG_0(self
, argc
, argv
);
23921 return _wrap_new_PrintData__SWIG_1(self
, argc
, argv
);
23925 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'new_PrintData'");
23930 SWIGINTERN PyObject
*_wrap_delete_PrintData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23931 PyObject
*resultobj
= 0;
23932 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
23935 PyObject
*swig_obj
[1] ;
23937 if (!args
) SWIG_fail
;
23938 swig_obj
[0] = args
;
23939 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintData
, SWIG_POINTER_DISOWN
| 0 );
23940 if (!SWIG_IsOK(res1
)) {
23941 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_PrintData" "', expected argument " "1"" of type '" "wxPrintData *""'");
23943 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
23945 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23948 wxPyEndAllowThreads(__tstate
);
23949 if (PyErr_Occurred()) SWIG_fail
;
23951 resultobj
= SWIG_Py_Void();
23958 SWIGINTERN PyObject
*_wrap_PrintData_GetNoCopies(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23959 PyObject
*resultobj
= 0;
23960 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
23964 PyObject
*swig_obj
[1] ;
23966 if (!args
) SWIG_fail
;
23967 swig_obj
[0] = args
;
23968 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
23969 if (!SWIG_IsOK(res1
)) {
23970 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_GetNoCopies" "', expected argument " "1"" of type '" "wxPrintData *""'");
23972 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
23974 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23975 result
= (int)(arg1
)->GetNoCopies();
23976 wxPyEndAllowThreads(__tstate
);
23977 if (PyErr_Occurred()) SWIG_fail
;
23979 resultobj
= SWIG_From_int(static_cast< int >(result
));
23986 SWIGINTERN PyObject
*_wrap_PrintData_GetCollate(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23987 PyObject
*resultobj
= 0;
23988 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
23992 PyObject
*swig_obj
[1] ;
23994 if (!args
) SWIG_fail
;
23995 swig_obj
[0] = args
;
23996 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
23997 if (!SWIG_IsOK(res1
)) {
23998 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_GetCollate" "', expected argument " "1"" of type '" "wxPrintData *""'");
24000 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
24002 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24003 result
= (bool)(arg1
)->GetCollate();
24004 wxPyEndAllowThreads(__tstate
);
24005 if (PyErr_Occurred()) SWIG_fail
;
24008 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24016 SWIGINTERN PyObject
*_wrap_PrintData_GetOrientation(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24017 PyObject
*resultobj
= 0;
24018 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
24022 PyObject
*swig_obj
[1] ;
24024 if (!args
) SWIG_fail
;
24025 swig_obj
[0] = args
;
24026 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
24027 if (!SWIG_IsOK(res1
)) {
24028 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_GetOrientation" "', expected argument " "1"" of type '" "wxPrintData *""'");
24030 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
24032 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24033 result
= (int)(arg1
)->GetOrientation();
24034 wxPyEndAllowThreads(__tstate
);
24035 if (PyErr_Occurred()) SWIG_fail
;
24037 resultobj
= SWIG_From_int(static_cast< int >(result
));
24044 SWIGINTERN PyObject
*_wrap_PrintData_IsOrientationReversed(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24045 PyObject
*resultobj
= 0;
24046 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
24050 PyObject
*swig_obj
[1] ;
24052 if (!args
) SWIG_fail
;
24053 swig_obj
[0] = args
;
24054 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
24055 if (!SWIG_IsOK(res1
)) {
24056 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_IsOrientationReversed" "', expected argument " "1"" of type '" "wxPrintData const *""'");
24058 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
24060 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24061 result
= (bool)((wxPrintData
const *)arg1
)->IsOrientationReversed();
24062 wxPyEndAllowThreads(__tstate
);
24063 if (PyErr_Occurred()) SWIG_fail
;
24066 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24074 SWIGINTERN PyObject
*_wrap_PrintData_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24075 PyObject
*resultobj
= 0;
24076 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
24080 PyObject
*swig_obj
[1] ;
24082 if (!args
) SWIG_fail
;
24083 swig_obj
[0] = args
;
24084 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
24085 if (!SWIG_IsOK(res1
)) {
24086 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_IsOk" "', expected argument " "1"" of type '" "wxPrintData *""'");
24088 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
24090 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24091 result
= (bool)(arg1
)->IsOk();
24092 wxPyEndAllowThreads(__tstate
);
24093 if (PyErr_Occurred()) SWIG_fail
;
24096 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24104 SWIGINTERN PyObject
*_wrap_PrintData_GetPrinterName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24105 PyObject
*resultobj
= 0;
24106 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
24107 wxString
*result
= 0 ;
24110 PyObject
*swig_obj
[1] ;
24112 if (!args
) SWIG_fail
;
24113 swig_obj
[0] = args
;
24114 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
24115 if (!SWIG_IsOK(res1
)) {
24116 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_GetPrinterName" "', expected argument " "1"" of type '" "wxPrintData *""'");
24118 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
24120 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24122 wxString
const &_result_ref
= (arg1
)->GetPrinterName();
24123 result
= (wxString
*) &_result_ref
;
24125 wxPyEndAllowThreads(__tstate
);
24126 if (PyErr_Occurred()) SWIG_fail
;
24130 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
24132 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
24141 SWIGINTERN PyObject
*_wrap_PrintData_GetColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24142 PyObject
*resultobj
= 0;
24143 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
24147 PyObject
*swig_obj
[1] ;
24149 if (!args
) SWIG_fail
;
24150 swig_obj
[0] = args
;
24151 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
24152 if (!SWIG_IsOK(res1
)) {
24153 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_GetColour" "', expected argument " "1"" of type '" "wxPrintData *""'");
24155 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
24157 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24158 result
= (bool)(arg1
)->GetColour();
24159 wxPyEndAllowThreads(__tstate
);
24160 if (PyErr_Occurred()) SWIG_fail
;
24163 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24171 SWIGINTERN PyObject
*_wrap_PrintData_GetDuplex(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24172 PyObject
*resultobj
= 0;
24173 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
24174 wxDuplexMode result
;
24177 PyObject
*swig_obj
[1] ;
24179 if (!args
) SWIG_fail
;
24180 swig_obj
[0] = args
;
24181 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
24182 if (!SWIG_IsOK(res1
)) {
24183 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_GetDuplex" "', expected argument " "1"" of type '" "wxPrintData *""'");
24185 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
24187 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24188 result
= (wxDuplexMode
)(arg1
)->GetDuplex();
24189 wxPyEndAllowThreads(__tstate
);
24190 if (PyErr_Occurred()) SWIG_fail
;
24192 resultobj
= SWIG_From_int(static_cast< int >(result
));
24199 SWIGINTERN PyObject
*_wrap_PrintData_GetPaperId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24200 PyObject
*resultobj
= 0;
24201 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
24202 wxPaperSize result
;
24205 PyObject
*swig_obj
[1] ;
24207 if (!args
) SWIG_fail
;
24208 swig_obj
[0] = args
;
24209 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
24210 if (!SWIG_IsOK(res1
)) {
24211 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_GetPaperId" "', expected argument " "1"" of type '" "wxPrintData *""'");
24213 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
24215 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24216 result
= (wxPaperSize
)(arg1
)->GetPaperId();
24217 wxPyEndAllowThreads(__tstate
);
24218 if (PyErr_Occurred()) SWIG_fail
;
24220 resultobj
= SWIG_From_int(static_cast< int >(result
));
24227 SWIGINTERN PyObject
*_wrap_PrintData_GetPaperSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24228 PyObject
*resultobj
= 0;
24229 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
24230 wxSize
*result
= 0 ;
24233 PyObject
*swig_obj
[1] ;
24235 if (!args
) SWIG_fail
;
24236 swig_obj
[0] = args
;
24237 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
24238 if (!SWIG_IsOK(res1
)) {
24239 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_GetPaperSize" "', expected argument " "1"" of type '" "wxPrintData *""'");
24241 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
24243 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24245 wxSize
const &_result_ref
= (arg1
)->GetPaperSize();
24246 result
= (wxSize
*) &_result_ref
;
24248 wxPyEndAllowThreads(__tstate
);
24249 if (PyErr_Occurred()) SWIG_fail
;
24251 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSize
, 0 | 0 );
24258 SWIGINTERN PyObject
*_wrap_PrintData_GetQuality(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24259 PyObject
*resultobj
= 0;
24260 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
24264 PyObject
*swig_obj
[1] ;
24266 if (!args
) SWIG_fail
;
24267 swig_obj
[0] = args
;
24268 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
24269 if (!SWIG_IsOK(res1
)) {
24270 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_GetQuality" "', expected argument " "1"" of type '" "wxPrintData *""'");
24272 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
24274 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24275 result
= (int)(arg1
)->GetQuality();
24276 wxPyEndAllowThreads(__tstate
);
24277 if (PyErr_Occurred()) SWIG_fail
;
24279 resultobj
= SWIG_From_int(static_cast< int >(result
));
24286 SWIGINTERN PyObject
*_wrap_PrintData_GetBin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24287 PyObject
*resultobj
= 0;
24288 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
24292 PyObject
*swig_obj
[1] ;
24294 if (!args
) SWIG_fail
;
24295 swig_obj
[0] = args
;
24296 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
24297 if (!SWIG_IsOK(res1
)) {
24298 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_GetBin" "', expected argument " "1"" of type '" "wxPrintData *""'");
24300 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
24302 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24303 result
= (wxPrintBin
)(arg1
)->GetBin();
24304 wxPyEndAllowThreads(__tstate
);
24305 if (PyErr_Occurred()) SWIG_fail
;
24307 resultobj
= SWIG_From_int(static_cast< int >(result
));
24314 SWIGINTERN PyObject
*_wrap_PrintData_GetPrintMode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24315 PyObject
*resultobj
= 0;
24316 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
24317 wxPrintMode result
;
24320 PyObject
*swig_obj
[1] ;
24322 if (!args
) SWIG_fail
;
24323 swig_obj
[0] = args
;
24324 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
24325 if (!SWIG_IsOK(res1
)) {
24326 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_GetPrintMode" "', expected argument " "1"" of type '" "wxPrintData const *""'");
24328 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
24330 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24331 result
= (wxPrintMode
)((wxPrintData
const *)arg1
)->GetPrintMode();
24332 wxPyEndAllowThreads(__tstate
);
24333 if (PyErr_Occurred()) SWIG_fail
;
24335 resultobj
= SWIG_From_int(static_cast< int >(result
));
24342 SWIGINTERN PyObject
*_wrap_PrintData_GetMedia(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24343 PyObject
*resultobj
= 0;
24344 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
24348 PyObject
*swig_obj
[1] ;
24350 if (!args
) SWIG_fail
;
24351 swig_obj
[0] = args
;
24352 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
24353 if (!SWIG_IsOK(res1
)) {
24354 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_GetMedia" "', expected argument " "1"" of type '" "wxPrintData const *""'");
24356 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
24358 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24359 result
= (int)((wxPrintData
const *)arg1
)->GetMedia();
24360 wxPyEndAllowThreads(__tstate
);
24361 if (PyErr_Occurred()) SWIG_fail
;
24363 resultobj
= SWIG_From_int(static_cast< int >(result
));
24370 SWIGINTERN PyObject
*_wrap_PrintData_SetNoCopies(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24371 PyObject
*resultobj
= 0;
24372 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
24378 PyObject
* obj0
= 0 ;
24379 PyObject
* obj1
= 0 ;
24380 char * kwnames
[] = {
24381 (char *) "self",(char *) "v", NULL
24384 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetNoCopies",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24385 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
24386 if (!SWIG_IsOK(res1
)) {
24387 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_SetNoCopies" "', expected argument " "1"" of type '" "wxPrintData *""'");
24389 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
24390 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24391 if (!SWIG_IsOK(ecode2
)) {
24392 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintData_SetNoCopies" "', expected argument " "2"" of type '" "int""'");
24394 arg2
= static_cast< int >(val2
);
24396 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24397 (arg1
)->SetNoCopies(arg2
);
24398 wxPyEndAllowThreads(__tstate
);
24399 if (PyErr_Occurred()) SWIG_fail
;
24401 resultobj
= SWIG_Py_Void();
24408 SWIGINTERN PyObject
*_wrap_PrintData_SetCollate(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24409 PyObject
*resultobj
= 0;
24410 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
24416 PyObject
* obj0
= 0 ;
24417 PyObject
* obj1
= 0 ;
24418 char * kwnames
[] = {
24419 (char *) "self",(char *) "flag", NULL
24422 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetCollate",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24423 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
24424 if (!SWIG_IsOK(res1
)) {
24425 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_SetCollate" "', expected argument " "1"" of type '" "wxPrintData *""'");
24427 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
24428 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
24429 if (!SWIG_IsOK(ecode2
)) {
24430 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintData_SetCollate" "', expected argument " "2"" of type '" "bool""'");
24432 arg2
= static_cast< bool >(val2
);
24434 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24435 (arg1
)->SetCollate(arg2
);
24436 wxPyEndAllowThreads(__tstate
);
24437 if (PyErr_Occurred()) SWIG_fail
;
24439 resultobj
= SWIG_Py_Void();
24446 SWIGINTERN PyObject
*_wrap_PrintData_SetOrientation(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24447 PyObject
*resultobj
= 0;
24448 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
24454 PyObject
* obj0
= 0 ;
24455 PyObject
* obj1
= 0 ;
24456 char * kwnames
[] = {
24457 (char *) "self",(char *) "orient", NULL
24460 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetOrientation",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24461 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
24462 if (!SWIG_IsOK(res1
)) {
24463 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_SetOrientation" "', expected argument " "1"" of type '" "wxPrintData *""'");
24465 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
24466 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24467 if (!SWIG_IsOK(ecode2
)) {
24468 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintData_SetOrientation" "', expected argument " "2"" of type '" "int""'");
24470 arg2
= static_cast< int >(val2
);
24472 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24473 (arg1
)->SetOrientation(arg2
);
24474 wxPyEndAllowThreads(__tstate
);
24475 if (PyErr_Occurred()) SWIG_fail
;
24477 resultobj
= SWIG_Py_Void();
24484 SWIGINTERN PyObject
*_wrap_PrintData_SetOrientationReversed(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24485 PyObject
*resultobj
= 0;
24486 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
24492 PyObject
* obj0
= 0 ;
24493 PyObject
* obj1
= 0 ;
24494 char * kwnames
[] = {
24495 (char *) "self",(char *) "reversed", NULL
24498 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetOrientationReversed",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24499 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
24500 if (!SWIG_IsOK(res1
)) {
24501 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_SetOrientationReversed" "', expected argument " "1"" of type '" "wxPrintData *""'");
24503 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
24504 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
24505 if (!SWIG_IsOK(ecode2
)) {
24506 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintData_SetOrientationReversed" "', expected argument " "2"" of type '" "bool""'");
24508 arg2
= static_cast< bool >(val2
);
24510 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24511 (arg1
)->SetOrientationReversed(arg2
);
24512 wxPyEndAllowThreads(__tstate
);
24513 if (PyErr_Occurred()) SWIG_fail
;
24515 resultobj
= SWIG_Py_Void();
24522 SWIGINTERN PyObject
*_wrap_PrintData_SetPrinterName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24523 PyObject
*resultobj
= 0;
24524 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
24525 wxString
*arg2
= 0 ;
24528 bool temp2
= false ;
24529 PyObject
* obj0
= 0 ;
24530 PyObject
* obj1
= 0 ;
24531 char * kwnames
[] = {
24532 (char *) "self",(char *) "name", NULL
24535 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPrinterName",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24536 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
24537 if (!SWIG_IsOK(res1
)) {
24538 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_SetPrinterName" "', expected argument " "1"" of type '" "wxPrintData *""'");
24540 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
24542 arg2
= wxString_in_helper(obj1
);
24543 if (arg2
== NULL
) SWIG_fail
;
24547 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24548 (arg1
)->SetPrinterName((wxString
const &)*arg2
);
24549 wxPyEndAllowThreads(__tstate
);
24550 if (PyErr_Occurred()) SWIG_fail
;
24552 resultobj
= SWIG_Py_Void();
24567 SWIGINTERN PyObject
*_wrap_PrintData_SetColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24568 PyObject
*resultobj
= 0;
24569 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
24575 PyObject
* obj0
= 0 ;
24576 PyObject
* obj1
= 0 ;
24577 char * kwnames
[] = {
24578 (char *) "self",(char *) "colour", NULL
24581 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24582 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
24583 if (!SWIG_IsOK(res1
)) {
24584 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_SetColour" "', expected argument " "1"" of type '" "wxPrintData *""'");
24586 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
24587 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
24588 if (!SWIG_IsOK(ecode2
)) {
24589 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintData_SetColour" "', expected argument " "2"" of type '" "bool""'");
24591 arg2
= static_cast< bool >(val2
);
24593 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24594 (arg1
)->SetColour(arg2
);
24595 wxPyEndAllowThreads(__tstate
);
24596 if (PyErr_Occurred()) SWIG_fail
;
24598 resultobj
= SWIG_Py_Void();
24605 SWIGINTERN PyObject
*_wrap_PrintData_SetDuplex(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24606 PyObject
*resultobj
= 0;
24607 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
24608 wxDuplexMode arg2
;
24613 PyObject
* obj0
= 0 ;
24614 PyObject
* obj1
= 0 ;
24615 char * kwnames
[] = {
24616 (char *) "self",(char *) "duplex", NULL
24619 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetDuplex",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24620 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
24621 if (!SWIG_IsOK(res1
)) {
24622 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_SetDuplex" "', expected argument " "1"" of type '" "wxPrintData *""'");
24624 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
24625 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24626 if (!SWIG_IsOK(ecode2
)) {
24627 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintData_SetDuplex" "', expected argument " "2"" of type '" "wxDuplexMode""'");
24629 arg2
= static_cast< wxDuplexMode
>(val2
);
24631 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24632 (arg1
)->SetDuplex(arg2
);
24633 wxPyEndAllowThreads(__tstate
);
24634 if (PyErr_Occurred()) SWIG_fail
;
24636 resultobj
= SWIG_Py_Void();
24643 SWIGINTERN PyObject
*_wrap_PrintData_SetPaperId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24644 PyObject
*resultobj
= 0;
24645 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
24651 PyObject
* obj0
= 0 ;
24652 PyObject
* obj1
= 0 ;
24653 char * kwnames
[] = {
24654 (char *) "self",(char *) "sizeId", NULL
24657 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPaperId",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24658 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
24659 if (!SWIG_IsOK(res1
)) {
24660 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_SetPaperId" "', expected argument " "1"" of type '" "wxPrintData *""'");
24662 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
24663 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24664 if (!SWIG_IsOK(ecode2
)) {
24665 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintData_SetPaperId" "', expected argument " "2"" of type '" "wxPaperSize""'");
24667 arg2
= static_cast< wxPaperSize
>(val2
);
24669 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24670 (arg1
)->SetPaperId(arg2
);
24671 wxPyEndAllowThreads(__tstate
);
24672 if (PyErr_Occurred()) SWIG_fail
;
24674 resultobj
= SWIG_Py_Void();
24681 SWIGINTERN PyObject
*_wrap_PrintData_SetPaperSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24682 PyObject
*resultobj
= 0;
24683 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
24688 PyObject
* obj0
= 0 ;
24689 PyObject
* obj1
= 0 ;
24690 char * kwnames
[] = {
24691 (char *) "self",(char *) "sz", NULL
24694 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPaperSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24695 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
24696 if (!SWIG_IsOK(res1
)) {
24697 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_SetPaperSize" "', expected argument " "1"" of type '" "wxPrintData *""'");
24699 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
24702 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
24705 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24706 (arg1
)->SetPaperSize((wxSize
const &)*arg2
);
24707 wxPyEndAllowThreads(__tstate
);
24708 if (PyErr_Occurred()) SWIG_fail
;
24710 resultobj
= SWIG_Py_Void();
24717 SWIGINTERN PyObject
*_wrap_PrintData_SetQuality(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24718 PyObject
*resultobj
= 0;
24719 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
24725 PyObject
* obj0
= 0 ;
24726 PyObject
* obj1
= 0 ;
24727 char * kwnames
[] = {
24728 (char *) "self",(char *) "quality", NULL
24731 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetQuality",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24732 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
24733 if (!SWIG_IsOK(res1
)) {
24734 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_SetQuality" "', expected argument " "1"" of type '" "wxPrintData *""'");
24736 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
24737 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24738 if (!SWIG_IsOK(ecode2
)) {
24739 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintData_SetQuality" "', expected argument " "2"" of type '" "int""'");
24741 arg2
= static_cast< int >(val2
);
24743 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24744 (arg1
)->SetQuality(arg2
);
24745 wxPyEndAllowThreads(__tstate
);
24746 if (PyErr_Occurred()) SWIG_fail
;
24748 resultobj
= SWIG_Py_Void();
24755 SWIGINTERN PyObject
*_wrap_PrintData_SetBin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24756 PyObject
*resultobj
= 0;
24757 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
24763 PyObject
* obj0
= 0 ;
24764 PyObject
* obj1
= 0 ;
24765 char * kwnames
[] = {
24766 (char *) "self",(char *) "bin", NULL
24769 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetBin",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24770 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
24771 if (!SWIG_IsOK(res1
)) {
24772 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_SetBin" "', expected argument " "1"" of type '" "wxPrintData *""'");
24774 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
24775 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24776 if (!SWIG_IsOK(ecode2
)) {
24777 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintData_SetBin" "', expected argument " "2"" of type '" "wxPrintBin""'");
24779 arg2
= static_cast< wxPrintBin
>(val2
);
24781 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24782 (arg1
)->SetBin(arg2
);
24783 wxPyEndAllowThreads(__tstate
);
24784 if (PyErr_Occurred()) SWIG_fail
;
24786 resultobj
= SWIG_Py_Void();
24793 SWIGINTERN PyObject
*_wrap_PrintData_SetPrintMode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24794 PyObject
*resultobj
= 0;
24795 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
24801 PyObject
* obj0
= 0 ;
24802 PyObject
* obj1
= 0 ;
24803 char * kwnames
[] = {
24804 (char *) "self",(char *) "printMode", NULL
24807 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPrintMode",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24808 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
24809 if (!SWIG_IsOK(res1
)) {
24810 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_SetPrintMode" "', expected argument " "1"" of type '" "wxPrintData *""'");
24812 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
24813 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24814 if (!SWIG_IsOK(ecode2
)) {
24815 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintData_SetPrintMode" "', expected argument " "2"" of type '" "wxPrintMode""'");
24817 arg2
= static_cast< wxPrintMode
>(val2
);
24819 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24820 (arg1
)->SetPrintMode(arg2
);
24821 wxPyEndAllowThreads(__tstate
);
24822 if (PyErr_Occurred()) SWIG_fail
;
24824 resultobj
= SWIG_Py_Void();
24831 SWIGINTERN PyObject
*_wrap_PrintData_SetMedia(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24832 PyObject
*resultobj
= 0;
24833 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
24839 PyObject
* obj0
= 0 ;
24840 PyObject
* obj1
= 0 ;
24841 char * kwnames
[] = {
24842 (char *) "self",(char *) "media", NULL
24845 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetMedia",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24846 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
24847 if (!SWIG_IsOK(res1
)) {
24848 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_SetMedia" "', expected argument " "1"" of type '" "wxPrintData *""'");
24850 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
24851 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24852 if (!SWIG_IsOK(ecode2
)) {
24853 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintData_SetMedia" "', expected argument " "2"" of type '" "int""'");
24855 arg2
= static_cast< int >(val2
);
24857 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24858 (arg1
)->SetMedia(arg2
);
24859 wxPyEndAllowThreads(__tstate
);
24860 if (PyErr_Occurred()) SWIG_fail
;
24862 resultobj
= SWIG_Py_Void();
24869 SWIGINTERN PyObject
*_wrap_PrintData_GetFilename(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24870 PyObject
*resultobj
= 0;
24871 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
24875 PyObject
*swig_obj
[1] ;
24877 if (!args
) SWIG_fail
;
24878 swig_obj
[0] = args
;
24879 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
24880 if (!SWIG_IsOK(res1
)) {
24881 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_GetFilename" "', expected argument " "1"" of type '" "wxPrintData const *""'");
24883 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
24885 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24886 result
= ((wxPrintData
const *)arg1
)->GetFilename();
24887 wxPyEndAllowThreads(__tstate
);
24888 if (PyErr_Occurred()) SWIG_fail
;
24892 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
24894 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
24903 SWIGINTERN PyObject
*_wrap_PrintData_SetFilename(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24904 PyObject
*resultobj
= 0;
24905 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
24906 wxString
*arg2
= 0 ;
24909 bool temp2
= false ;
24910 PyObject
* obj0
= 0 ;
24911 PyObject
* obj1
= 0 ;
24912 char * kwnames
[] = {
24913 (char *) "self",(char *) "filename", NULL
24916 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetFilename",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24917 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
24918 if (!SWIG_IsOK(res1
)) {
24919 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_SetFilename" "', expected argument " "1"" of type '" "wxPrintData *""'");
24921 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
24923 arg2
= wxString_in_helper(obj1
);
24924 if (arg2
== NULL
) SWIG_fail
;
24928 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24929 (arg1
)->SetFilename((wxString
const &)*arg2
);
24930 wxPyEndAllowThreads(__tstate
);
24931 if (PyErr_Occurred()) SWIG_fail
;
24933 resultobj
= SWIG_Py_Void();
24948 SWIGINTERN PyObject
*_wrap_PrintData_GetPrivData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24949 PyObject
*resultobj
= 0;
24950 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
24951 PyObject
*result
= 0 ;
24954 PyObject
*swig_obj
[1] ;
24956 if (!args
) SWIG_fail
;
24957 swig_obj
[0] = args
;
24958 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
24959 if (!SWIG_IsOK(res1
)) {
24960 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_GetPrivData" "', expected argument " "1"" of type '" "wxPrintData *""'");
24962 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
24964 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24965 result
= (PyObject
*)wxPrintData_GetPrivData(arg1
);
24966 wxPyEndAllowThreads(__tstate
);
24967 if (PyErr_Occurred()) SWIG_fail
;
24969 resultobj
= result
;
24976 SWIGINTERN PyObject
*_wrap_PrintData_SetPrivData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24977 PyObject
*resultobj
= 0;
24978 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
24979 PyObject
*arg2
= (PyObject
*) 0 ;
24982 PyObject
* obj0
= 0 ;
24983 PyObject
* obj1
= 0 ;
24984 char * kwnames
[] = {
24985 (char *) "self",(char *) "data", NULL
24988 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPrivData",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24989 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
24990 if (!SWIG_IsOK(res1
)) {
24991 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_SetPrivData" "', expected argument " "1"" of type '" "wxPrintData *""'");
24993 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
24996 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24997 wxPrintData_SetPrivData(arg1
,arg2
);
24998 wxPyEndAllowThreads(__tstate
);
24999 if (PyErr_Occurred()) SWIG_fail
;
25001 resultobj
= SWIG_Py_Void();
25008 SWIGINTERN PyObject
*PrintData_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25010 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
25011 SWIG_TypeNewClientData(SWIGTYPE_p_wxPrintData
, SWIG_NewClientData(obj
));
25012 return SWIG_Py_Void();
25015 SWIGINTERN PyObject
*PrintData_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25016 return SWIG_Python_InitShadowInstance(args
);
25019 SWIGINTERN PyObject
*_wrap_new_PageSetupDialogData__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**SWIGUNUSEDPARM(swig_obj
)) {
25020 PyObject
*resultobj
= 0;
25021 wxPageSetupDialogData
*result
= 0 ;
25023 if ((nobjs
< 0) || (nobjs
> 0)) SWIG_fail
;
25025 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25026 result
= (wxPageSetupDialogData
*)new wxPageSetupDialogData();
25027 wxPyEndAllowThreads(__tstate
);
25028 if (PyErr_Occurred()) SWIG_fail
;
25030 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPageSetupDialogData
, SWIG_POINTER_NEW
| 0 );
25037 SWIGINTERN PyObject
*_wrap_new_PageSetupDialogData__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
25038 PyObject
*resultobj
= 0;
25039 wxPageSetupDialogData
*arg1
= 0 ;
25040 wxPageSetupDialogData
*result
= 0 ;
25044 if ((nobjs
< 1) || (nobjs
> 1)) SWIG_fail
;
25045 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0);
25046 if (!SWIG_IsOK(res1
)) {
25047 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PageSetupDialogData" "', expected argument " "1"" of type '" "wxPageSetupDialogData const &""'");
25050 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_PageSetupDialogData" "', expected argument " "1"" of type '" "wxPageSetupDialogData const &""'");
25052 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
25054 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25055 result
= (wxPageSetupDialogData
*)new wxPageSetupDialogData((wxPageSetupDialogData
const &)*arg1
);
25056 wxPyEndAllowThreads(__tstate
);
25057 if (PyErr_Occurred()) SWIG_fail
;
25059 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPageSetupDialogData
, SWIG_POINTER_NEW
| 0 );
25066 SWIGINTERN PyObject
*_wrap_new_PageSetupDialogData__SWIG_2(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
25067 PyObject
*resultobj
= 0;
25068 wxPrintData
*arg1
= 0 ;
25069 wxPageSetupDialogData
*result
= 0 ;
25073 if ((nobjs
< 1) || (nobjs
> 1)) SWIG_fail
;
25074 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxPrintData
, 0 | 0);
25075 if (!SWIG_IsOK(res1
)) {
25076 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PageSetupDialogData" "', expected argument " "1"" of type '" "wxPrintData const &""'");
25079 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_PageSetupDialogData" "', expected argument " "1"" of type '" "wxPrintData const &""'");
25081 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
25083 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25084 result
= (wxPageSetupDialogData
*)new wxPageSetupDialogData((wxPrintData
const &)*arg1
);
25085 wxPyEndAllowThreads(__tstate
);
25086 if (PyErr_Occurred()) SWIG_fail
;
25088 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPageSetupDialogData
, SWIG_POINTER_NEW
| 0 );
25095 SWIGINTERN PyObject
*_wrap_new_PageSetupDialogData(PyObject
*self
, PyObject
*args
) {
25099 if (!(argc
= SWIG_Python_UnpackTuple(args
,"new_PageSetupDialogData",0,1,argv
))) SWIG_fail
;
25102 return _wrap_new_PageSetupDialogData__SWIG_0(self
, argc
, argv
);
25107 int res
= SWIG_ConvertPtr(argv
[0], 0, SWIGTYPE_p_wxPageSetupDialogData
, 0);
25108 _v
= SWIG_CheckState(res
);
25110 if (!_v
) goto check_2
;
25111 return _wrap_new_PageSetupDialogData__SWIG_1(self
, argc
, argv
);
25116 return _wrap_new_PageSetupDialogData__SWIG_2(self
, argc
, argv
);
25120 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'new_PageSetupDialogData'");
25125 SWIGINTERN PyObject
*_wrap_delete_PageSetupDialogData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25126 PyObject
*resultobj
= 0;
25127 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
25130 PyObject
*swig_obj
[1] ;
25132 if (!args
) SWIG_fail
;
25133 swig_obj
[0] = args
;
25134 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, SWIG_POINTER_DISOWN
| 0 );
25135 if (!SWIG_IsOK(res1
)) {
25136 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_PageSetupDialogData" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25138 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
25140 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25143 wxPyEndAllowThreads(__tstate
);
25144 if (PyErr_Occurred()) SWIG_fail
;
25146 resultobj
= SWIG_Py_Void();
25153 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_EnableHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25154 PyObject
*resultobj
= 0;
25155 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
25161 PyObject
* obj0
= 0 ;
25162 PyObject
* obj1
= 0 ;
25163 char * kwnames
[] = {
25164 (char *) "self",(char *) "flag", NULL
25167 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_EnableHelp",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25168 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
25169 if (!SWIG_IsOK(res1
)) {
25170 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_EnableHelp" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25172 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
25173 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
25174 if (!SWIG_IsOK(ecode2
)) {
25175 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PageSetupDialogData_EnableHelp" "', expected argument " "2"" of type '" "bool""'");
25177 arg2
= static_cast< bool >(val2
);
25179 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25180 (arg1
)->EnableHelp(arg2
);
25181 wxPyEndAllowThreads(__tstate
);
25182 if (PyErr_Occurred()) SWIG_fail
;
25184 resultobj
= SWIG_Py_Void();
25191 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_EnableMargins(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25192 PyObject
*resultobj
= 0;
25193 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
25199 PyObject
* obj0
= 0 ;
25200 PyObject
* obj1
= 0 ;
25201 char * kwnames
[] = {
25202 (char *) "self",(char *) "flag", NULL
25205 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_EnableMargins",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25206 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
25207 if (!SWIG_IsOK(res1
)) {
25208 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_EnableMargins" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25210 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
25211 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
25212 if (!SWIG_IsOK(ecode2
)) {
25213 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PageSetupDialogData_EnableMargins" "', expected argument " "2"" of type '" "bool""'");
25215 arg2
= static_cast< bool >(val2
);
25217 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25218 (arg1
)->EnableMargins(arg2
);
25219 wxPyEndAllowThreads(__tstate
);
25220 if (PyErr_Occurred()) SWIG_fail
;
25222 resultobj
= SWIG_Py_Void();
25229 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_EnableOrientation(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25230 PyObject
*resultobj
= 0;
25231 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
25237 PyObject
* obj0
= 0 ;
25238 PyObject
* obj1
= 0 ;
25239 char * kwnames
[] = {
25240 (char *) "self",(char *) "flag", NULL
25243 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_EnableOrientation",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25244 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
25245 if (!SWIG_IsOK(res1
)) {
25246 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_EnableOrientation" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25248 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
25249 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
25250 if (!SWIG_IsOK(ecode2
)) {
25251 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PageSetupDialogData_EnableOrientation" "', expected argument " "2"" of type '" "bool""'");
25253 arg2
= static_cast< bool >(val2
);
25255 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25256 (arg1
)->EnableOrientation(arg2
);
25257 wxPyEndAllowThreads(__tstate
);
25258 if (PyErr_Occurred()) SWIG_fail
;
25260 resultobj
= SWIG_Py_Void();
25267 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_EnablePaper(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25268 PyObject
*resultobj
= 0;
25269 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
25275 PyObject
* obj0
= 0 ;
25276 PyObject
* obj1
= 0 ;
25277 char * kwnames
[] = {
25278 (char *) "self",(char *) "flag", NULL
25281 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_EnablePaper",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25282 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
25283 if (!SWIG_IsOK(res1
)) {
25284 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_EnablePaper" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25286 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
25287 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
25288 if (!SWIG_IsOK(ecode2
)) {
25289 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PageSetupDialogData_EnablePaper" "', expected argument " "2"" of type '" "bool""'");
25291 arg2
= static_cast< bool >(val2
);
25293 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25294 (arg1
)->EnablePaper(arg2
);
25295 wxPyEndAllowThreads(__tstate
);
25296 if (PyErr_Occurred()) SWIG_fail
;
25298 resultobj
= SWIG_Py_Void();
25305 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_EnablePrinter(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25306 PyObject
*resultobj
= 0;
25307 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
25313 PyObject
* obj0
= 0 ;
25314 PyObject
* obj1
= 0 ;
25315 char * kwnames
[] = {
25316 (char *) "self",(char *) "flag", NULL
25319 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_EnablePrinter",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25320 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
25321 if (!SWIG_IsOK(res1
)) {
25322 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_EnablePrinter" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25324 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
25325 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
25326 if (!SWIG_IsOK(ecode2
)) {
25327 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PageSetupDialogData_EnablePrinter" "', expected argument " "2"" of type '" "bool""'");
25329 arg2
= static_cast< bool >(val2
);
25331 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25332 (arg1
)->EnablePrinter(arg2
);
25333 wxPyEndAllowThreads(__tstate
);
25334 if (PyErr_Occurred()) SWIG_fail
;
25336 resultobj
= SWIG_Py_Void();
25343 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_GetDefaultMinMargins(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25344 PyObject
*resultobj
= 0;
25345 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
25349 PyObject
*swig_obj
[1] ;
25351 if (!args
) SWIG_fail
;
25352 swig_obj
[0] = args
;
25353 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
25354 if (!SWIG_IsOK(res1
)) {
25355 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_GetDefaultMinMargins" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25357 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
25359 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25360 result
= (bool)(arg1
)->GetDefaultMinMargins();
25361 wxPyEndAllowThreads(__tstate
);
25362 if (PyErr_Occurred()) SWIG_fail
;
25365 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25373 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_GetEnableMargins(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25374 PyObject
*resultobj
= 0;
25375 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
25379 PyObject
*swig_obj
[1] ;
25381 if (!args
) SWIG_fail
;
25382 swig_obj
[0] = args
;
25383 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
25384 if (!SWIG_IsOK(res1
)) {
25385 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_GetEnableMargins" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25387 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
25389 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25390 result
= (bool)(arg1
)->GetEnableMargins();
25391 wxPyEndAllowThreads(__tstate
);
25392 if (PyErr_Occurred()) SWIG_fail
;
25395 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25403 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_GetEnableOrientation(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25404 PyObject
*resultobj
= 0;
25405 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
25409 PyObject
*swig_obj
[1] ;
25411 if (!args
) SWIG_fail
;
25412 swig_obj
[0] = args
;
25413 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
25414 if (!SWIG_IsOK(res1
)) {
25415 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_GetEnableOrientation" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25417 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
25419 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25420 result
= (bool)(arg1
)->GetEnableOrientation();
25421 wxPyEndAllowThreads(__tstate
);
25422 if (PyErr_Occurred()) SWIG_fail
;
25425 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25433 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_GetEnablePaper(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25434 PyObject
*resultobj
= 0;
25435 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
25439 PyObject
*swig_obj
[1] ;
25441 if (!args
) SWIG_fail
;
25442 swig_obj
[0] = args
;
25443 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
25444 if (!SWIG_IsOK(res1
)) {
25445 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_GetEnablePaper" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25447 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
25449 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25450 result
= (bool)(arg1
)->GetEnablePaper();
25451 wxPyEndAllowThreads(__tstate
);
25452 if (PyErr_Occurred()) SWIG_fail
;
25455 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25463 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_GetEnablePrinter(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25464 PyObject
*resultobj
= 0;
25465 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
25469 PyObject
*swig_obj
[1] ;
25471 if (!args
) SWIG_fail
;
25472 swig_obj
[0] = args
;
25473 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
25474 if (!SWIG_IsOK(res1
)) {
25475 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_GetEnablePrinter" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25477 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
25479 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25480 result
= (bool)(arg1
)->GetEnablePrinter();
25481 wxPyEndAllowThreads(__tstate
);
25482 if (PyErr_Occurred()) SWIG_fail
;
25485 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25493 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_GetEnableHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25494 PyObject
*resultobj
= 0;
25495 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
25499 PyObject
*swig_obj
[1] ;
25501 if (!args
) SWIG_fail
;
25502 swig_obj
[0] = args
;
25503 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
25504 if (!SWIG_IsOK(res1
)) {
25505 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_GetEnableHelp" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25507 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
25509 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25510 result
= (bool)(arg1
)->GetEnableHelp();
25511 wxPyEndAllowThreads(__tstate
);
25512 if (PyErr_Occurred()) SWIG_fail
;
25515 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25523 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_GetDefaultInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25524 PyObject
*resultobj
= 0;
25525 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
25529 PyObject
*swig_obj
[1] ;
25531 if (!args
) SWIG_fail
;
25532 swig_obj
[0] = args
;
25533 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
25534 if (!SWIG_IsOK(res1
)) {
25535 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_GetDefaultInfo" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25537 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
25539 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25540 result
= (bool)(arg1
)->GetDefaultInfo();
25541 wxPyEndAllowThreads(__tstate
);
25542 if (PyErr_Occurred()) SWIG_fail
;
25545 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25553 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_GetMarginTopLeft(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25554 PyObject
*resultobj
= 0;
25555 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
25559 PyObject
*swig_obj
[1] ;
25561 if (!args
) SWIG_fail
;
25562 swig_obj
[0] = args
;
25563 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
25564 if (!SWIG_IsOK(res1
)) {
25565 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_GetMarginTopLeft" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25567 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
25569 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25570 result
= (arg1
)->GetMarginTopLeft();
25571 wxPyEndAllowThreads(__tstate
);
25572 if (PyErr_Occurred()) SWIG_fail
;
25574 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
25581 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_GetMarginBottomRight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25582 PyObject
*resultobj
= 0;
25583 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
25587 PyObject
*swig_obj
[1] ;
25589 if (!args
) SWIG_fail
;
25590 swig_obj
[0] = args
;
25591 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
25592 if (!SWIG_IsOK(res1
)) {
25593 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_GetMarginBottomRight" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25595 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
25597 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25598 result
= (arg1
)->GetMarginBottomRight();
25599 wxPyEndAllowThreads(__tstate
);
25600 if (PyErr_Occurred()) SWIG_fail
;
25602 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
25609 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_GetMinMarginTopLeft(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25610 PyObject
*resultobj
= 0;
25611 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
25615 PyObject
*swig_obj
[1] ;
25617 if (!args
) SWIG_fail
;
25618 swig_obj
[0] = args
;
25619 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
25620 if (!SWIG_IsOK(res1
)) {
25621 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_GetMinMarginTopLeft" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25623 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
25625 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25626 result
= (arg1
)->GetMinMarginTopLeft();
25627 wxPyEndAllowThreads(__tstate
);
25628 if (PyErr_Occurred()) SWIG_fail
;
25630 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
25637 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_GetMinMarginBottomRight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25638 PyObject
*resultobj
= 0;
25639 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
25643 PyObject
*swig_obj
[1] ;
25645 if (!args
) SWIG_fail
;
25646 swig_obj
[0] = args
;
25647 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
25648 if (!SWIG_IsOK(res1
)) {
25649 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_GetMinMarginBottomRight" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25651 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
25653 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25654 result
= (arg1
)->GetMinMarginBottomRight();
25655 wxPyEndAllowThreads(__tstate
);
25656 if (PyErr_Occurred()) SWIG_fail
;
25658 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
25665 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_GetPaperId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25666 PyObject
*resultobj
= 0;
25667 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
25668 wxPaperSize result
;
25671 PyObject
*swig_obj
[1] ;
25673 if (!args
) SWIG_fail
;
25674 swig_obj
[0] = args
;
25675 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
25676 if (!SWIG_IsOK(res1
)) {
25677 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_GetPaperId" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25679 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
25681 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25682 result
= (wxPaperSize
)(arg1
)->GetPaperId();
25683 wxPyEndAllowThreads(__tstate
);
25684 if (PyErr_Occurred()) SWIG_fail
;
25686 resultobj
= SWIG_From_int(static_cast< int >(result
));
25693 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_GetPaperSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25694 PyObject
*resultobj
= 0;
25695 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
25699 PyObject
*swig_obj
[1] ;
25701 if (!args
) SWIG_fail
;
25702 swig_obj
[0] = args
;
25703 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
25704 if (!SWIG_IsOK(res1
)) {
25705 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_GetPaperSize" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25707 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
25709 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25710 result
= (arg1
)->GetPaperSize();
25711 wxPyEndAllowThreads(__tstate
);
25712 if (PyErr_Occurred()) SWIG_fail
;
25714 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
25721 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_GetPrintData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25722 PyObject
*resultobj
= 0;
25723 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
25724 wxPrintData
*result
= 0 ;
25727 PyObject
*swig_obj
[1] ;
25729 if (!args
) SWIG_fail
;
25730 swig_obj
[0] = args
;
25731 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
25732 if (!SWIG_IsOK(res1
)) {
25733 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_GetPrintData" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25735 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
25737 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25739 wxPrintData
&_result_ref
= (arg1
)->GetPrintData();
25740 result
= (wxPrintData
*) &_result_ref
;
25742 wxPyEndAllowThreads(__tstate
);
25743 if (PyErr_Occurred()) SWIG_fail
;
25745 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPrintData
, 0 | 0 );
25752 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25753 PyObject
*resultobj
= 0;
25754 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
25758 PyObject
*swig_obj
[1] ;
25760 if (!args
) SWIG_fail
;
25761 swig_obj
[0] = args
;
25762 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
25763 if (!SWIG_IsOK(res1
)) {
25764 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_IsOk" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25766 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
25768 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25769 result
= (bool)(arg1
)->IsOk();
25770 wxPyEndAllowThreads(__tstate
);
25771 if (PyErr_Occurred()) SWIG_fail
;
25774 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25782 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_SetDefaultInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25783 PyObject
*resultobj
= 0;
25784 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
25790 PyObject
* obj0
= 0 ;
25791 PyObject
* obj1
= 0 ;
25792 char * kwnames
[] = {
25793 (char *) "self",(char *) "flag", NULL
25796 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetDefaultInfo",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25797 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
25798 if (!SWIG_IsOK(res1
)) {
25799 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_SetDefaultInfo" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25801 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
25802 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
25803 if (!SWIG_IsOK(ecode2
)) {
25804 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PageSetupDialogData_SetDefaultInfo" "', expected argument " "2"" of type '" "bool""'");
25806 arg2
= static_cast< bool >(val2
);
25808 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25809 (arg1
)->SetDefaultInfo(arg2
);
25810 wxPyEndAllowThreads(__tstate
);
25811 if (PyErr_Occurred()) SWIG_fail
;
25813 resultobj
= SWIG_Py_Void();
25820 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_SetDefaultMinMargins(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25821 PyObject
*resultobj
= 0;
25822 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
25828 PyObject
* obj0
= 0 ;
25829 PyObject
* obj1
= 0 ;
25830 char * kwnames
[] = {
25831 (char *) "self",(char *) "flag", NULL
25834 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetDefaultMinMargins",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25835 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
25836 if (!SWIG_IsOK(res1
)) {
25837 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_SetDefaultMinMargins" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25839 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
25840 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
25841 if (!SWIG_IsOK(ecode2
)) {
25842 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PageSetupDialogData_SetDefaultMinMargins" "', expected argument " "2"" of type '" "bool""'");
25844 arg2
= static_cast< bool >(val2
);
25846 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25847 (arg1
)->SetDefaultMinMargins(arg2
);
25848 wxPyEndAllowThreads(__tstate
);
25849 if (PyErr_Occurred()) SWIG_fail
;
25851 resultobj
= SWIG_Py_Void();
25858 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_SetMarginTopLeft(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25859 PyObject
*resultobj
= 0;
25860 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
25861 wxPoint
*arg2
= 0 ;
25865 PyObject
* obj0
= 0 ;
25866 PyObject
* obj1
= 0 ;
25867 char * kwnames
[] = {
25868 (char *) "self",(char *) "pt", NULL
25871 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetMarginTopLeft",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25872 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
25873 if (!SWIG_IsOK(res1
)) {
25874 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_SetMarginTopLeft" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25876 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
25879 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
25882 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25883 (arg1
)->SetMarginTopLeft((wxPoint
const &)*arg2
);
25884 wxPyEndAllowThreads(__tstate
);
25885 if (PyErr_Occurred()) SWIG_fail
;
25887 resultobj
= SWIG_Py_Void();
25894 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_SetMarginBottomRight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25895 PyObject
*resultobj
= 0;
25896 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
25897 wxPoint
*arg2
= 0 ;
25901 PyObject
* obj0
= 0 ;
25902 PyObject
* obj1
= 0 ;
25903 char * kwnames
[] = {
25904 (char *) "self",(char *) "pt", NULL
25907 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetMarginBottomRight",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25908 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
25909 if (!SWIG_IsOK(res1
)) {
25910 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_SetMarginBottomRight" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25912 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
25915 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
25918 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25919 (arg1
)->SetMarginBottomRight((wxPoint
const &)*arg2
);
25920 wxPyEndAllowThreads(__tstate
);
25921 if (PyErr_Occurred()) SWIG_fail
;
25923 resultobj
= SWIG_Py_Void();
25930 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_SetMinMarginTopLeft(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25931 PyObject
*resultobj
= 0;
25932 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
25933 wxPoint
*arg2
= 0 ;
25937 PyObject
* obj0
= 0 ;
25938 PyObject
* obj1
= 0 ;
25939 char * kwnames
[] = {
25940 (char *) "self",(char *) "pt", NULL
25943 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetMinMarginTopLeft",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25944 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
25945 if (!SWIG_IsOK(res1
)) {
25946 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_SetMinMarginTopLeft" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25948 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
25951 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
25954 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25955 (arg1
)->SetMinMarginTopLeft((wxPoint
const &)*arg2
);
25956 wxPyEndAllowThreads(__tstate
);
25957 if (PyErr_Occurred()) SWIG_fail
;
25959 resultobj
= SWIG_Py_Void();
25966 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_SetMinMarginBottomRight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25967 PyObject
*resultobj
= 0;
25968 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
25969 wxPoint
*arg2
= 0 ;
25973 PyObject
* obj0
= 0 ;
25974 PyObject
* obj1
= 0 ;
25975 char * kwnames
[] = {
25976 (char *) "self",(char *) "pt", NULL
25979 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetMinMarginBottomRight",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25980 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
25981 if (!SWIG_IsOK(res1
)) {
25982 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_SetMinMarginBottomRight" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25984 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
25987 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
25990 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25991 (arg1
)->SetMinMarginBottomRight((wxPoint
const &)*arg2
);
25992 wxPyEndAllowThreads(__tstate
);
25993 if (PyErr_Occurred()) SWIG_fail
;
25995 resultobj
= SWIG_Py_Void();
26002 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_SetPaperId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26003 PyObject
*resultobj
= 0;
26004 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
26010 PyObject
* obj0
= 0 ;
26011 PyObject
* obj1
= 0 ;
26012 char * kwnames
[] = {
26013 (char *) "self",(char *) "id", NULL
26016 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetPaperId",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26017 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
26018 if (!SWIG_IsOK(res1
)) {
26019 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_SetPaperId" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
26021 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
26022 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
26023 if (!SWIG_IsOK(ecode2
)) {
26024 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PageSetupDialogData_SetPaperId" "', expected argument " "2"" of type '" "wxPaperSize""'");
26026 arg2
= static_cast< wxPaperSize
>(val2
);
26028 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26029 (arg1
)->SetPaperId(arg2
);
26030 wxPyEndAllowThreads(__tstate
);
26031 if (PyErr_Occurred()) SWIG_fail
;
26033 resultobj
= SWIG_Py_Void();
26040 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_SetPaperSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26041 PyObject
*resultobj
= 0;
26042 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
26047 PyObject
* obj0
= 0 ;
26048 PyObject
* obj1
= 0 ;
26049 char * kwnames
[] = {
26050 (char *) "self",(char *) "size", NULL
26053 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetPaperSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26054 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
26055 if (!SWIG_IsOK(res1
)) {
26056 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_SetPaperSize" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
26058 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
26061 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
26064 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26065 (arg1
)->SetPaperSize((wxSize
const &)*arg2
);
26066 wxPyEndAllowThreads(__tstate
);
26067 if (PyErr_Occurred()) SWIG_fail
;
26069 resultobj
= SWIG_Py_Void();
26076 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_SetPrintData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26077 PyObject
*resultobj
= 0;
26078 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
26079 wxPrintData
*arg2
= 0 ;
26084 PyObject
* obj0
= 0 ;
26085 PyObject
* obj1
= 0 ;
26086 char * kwnames
[] = {
26087 (char *) "self",(char *) "printData", NULL
26090 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetPrintData",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26091 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
26092 if (!SWIG_IsOK(res1
)) {
26093 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_SetPrintData" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
26095 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
26096 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxPrintData
, 0 | 0);
26097 if (!SWIG_IsOK(res2
)) {
26098 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PageSetupDialogData_SetPrintData" "', expected argument " "2"" of type '" "wxPrintData const &""'");
26101 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PageSetupDialogData_SetPrintData" "', expected argument " "2"" of type '" "wxPrintData const &""'");
26103 arg2
= reinterpret_cast< wxPrintData
* >(argp2
);
26105 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26106 (arg1
)->SetPrintData((wxPrintData
const &)*arg2
);
26107 wxPyEndAllowThreads(__tstate
);
26108 if (PyErr_Occurred()) SWIG_fail
;
26110 resultobj
= SWIG_Py_Void();
26117 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_CalculateIdFromPaperSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26118 PyObject
*resultobj
= 0;
26119 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
26122 PyObject
*swig_obj
[1] ;
26124 if (!args
) SWIG_fail
;
26125 swig_obj
[0] = args
;
26126 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
26127 if (!SWIG_IsOK(res1
)) {
26128 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_CalculateIdFromPaperSize" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
26130 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
26132 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26133 (arg1
)->CalculateIdFromPaperSize();
26134 wxPyEndAllowThreads(__tstate
);
26135 if (PyErr_Occurred()) SWIG_fail
;
26137 resultobj
= SWIG_Py_Void();
26144 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_CalculatePaperSizeFromId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26145 PyObject
*resultobj
= 0;
26146 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
26149 PyObject
*swig_obj
[1] ;
26151 if (!args
) SWIG_fail
;
26152 swig_obj
[0] = args
;
26153 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
26154 if (!SWIG_IsOK(res1
)) {
26155 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_CalculatePaperSizeFromId" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
26157 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
26159 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26160 (arg1
)->CalculatePaperSizeFromId();
26161 wxPyEndAllowThreads(__tstate
);
26162 if (PyErr_Occurred()) SWIG_fail
;
26164 resultobj
= SWIG_Py_Void();
26171 SWIGINTERN PyObject
*PageSetupDialogData_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26173 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
26174 SWIG_TypeNewClientData(SWIGTYPE_p_wxPageSetupDialogData
, SWIG_NewClientData(obj
));
26175 return SWIG_Py_Void();
26178 SWIGINTERN PyObject
*PageSetupDialogData_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26179 return SWIG_Python_InitShadowInstance(args
);
26182 SWIGINTERN PyObject
*_wrap_new_PageSetupDialog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26183 PyObject
*resultobj
= 0;
26184 wxWindow
*arg1
= (wxWindow
*) 0 ;
26185 wxPageSetupDialogData
*arg2
= (wxPageSetupDialogData
*) NULL
;
26186 wxPageSetupDialog
*result
= 0 ;
26191 PyObject
* obj0
= 0 ;
26192 PyObject
* obj1
= 0 ;
26193 char * kwnames
[] = {
26194 (char *) "parent",(char *) "data", NULL
26197 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_PageSetupDialog",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26198 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
26199 if (!SWIG_IsOK(res1
)) {
26200 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PageSetupDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
26202 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
26204 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
26205 if (!SWIG_IsOK(res2
)) {
26206 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_PageSetupDialog" "', expected argument " "2"" of type '" "wxPageSetupDialogData *""'");
26208 arg2
= reinterpret_cast< wxPageSetupDialogData
* >(argp2
);
26211 if (!wxPyCheckForApp()) SWIG_fail
;
26212 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26213 result
= (wxPageSetupDialog
*)new wxPageSetupDialog(arg1
,arg2
);
26214 wxPyEndAllowThreads(__tstate
);
26215 if (PyErr_Occurred()) SWIG_fail
;
26217 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPageSetupDialog
, SWIG_POINTER_NEW
| 0 );
26224 SWIGINTERN PyObject
*_wrap_delete_PageSetupDialog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26225 PyObject
*resultobj
= 0;
26226 wxPageSetupDialog
*arg1
= (wxPageSetupDialog
*) 0 ;
26229 PyObject
*swig_obj
[1] ;
26231 if (!args
) SWIG_fail
;
26232 swig_obj
[0] = args
;
26233 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialog
, SWIG_POINTER_DISOWN
| 0 );
26234 if (!SWIG_IsOK(res1
)) {
26235 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_PageSetupDialog" "', expected argument " "1"" of type '" "wxPageSetupDialog *""'");
26237 arg1
= reinterpret_cast< wxPageSetupDialog
* >(argp1
);
26239 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26242 wxPyEndAllowThreads(__tstate
);
26243 if (PyErr_Occurred()) SWIG_fail
;
26245 resultobj
= SWIG_Py_Void();
26252 SWIGINTERN PyObject
*_wrap_PageSetupDialog_GetPageSetupData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26253 PyObject
*resultobj
= 0;
26254 wxPageSetupDialog
*arg1
= (wxPageSetupDialog
*) 0 ;
26255 wxPageSetupDialogData
*result
= 0 ;
26258 PyObject
*swig_obj
[1] ;
26260 if (!args
) SWIG_fail
;
26261 swig_obj
[0] = args
;
26262 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialog
, 0 | 0 );
26263 if (!SWIG_IsOK(res1
)) {
26264 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialog_GetPageSetupData" "', expected argument " "1"" of type '" "wxPageSetupDialog *""'");
26266 arg1
= reinterpret_cast< wxPageSetupDialog
* >(argp1
);
26268 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26270 wxPageSetupDialogData
&_result_ref
= (arg1
)->GetPageSetupData();
26271 result
= (wxPageSetupDialogData
*) &_result_ref
;
26273 wxPyEndAllowThreads(__tstate
);
26274 if (PyErr_Occurred()) SWIG_fail
;
26276 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
26283 SWIGINTERN PyObject
*_wrap_PageSetupDialog_GetPageSetupDialogData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26284 PyObject
*resultobj
= 0;
26285 wxPageSetupDialog
*arg1
= (wxPageSetupDialog
*) 0 ;
26286 wxPageSetupDialogData
*result
= 0 ;
26289 PyObject
*swig_obj
[1] ;
26291 if (!args
) SWIG_fail
;
26292 swig_obj
[0] = args
;
26293 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialog
, 0 | 0 );
26294 if (!SWIG_IsOK(res1
)) {
26295 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialog_GetPageSetupDialogData" "', expected argument " "1"" of type '" "wxPageSetupDialog *""'");
26297 arg1
= reinterpret_cast< wxPageSetupDialog
* >(argp1
);
26299 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26301 wxPageSetupDialogData
&_result_ref
= (arg1
)->GetPageSetupDialogData();
26302 result
= (wxPageSetupDialogData
*) &_result_ref
;
26304 wxPyEndAllowThreads(__tstate
);
26305 if (PyErr_Occurred()) SWIG_fail
;
26307 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
26314 SWIGINTERN PyObject
*_wrap_PageSetupDialog_ShowModal(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26315 PyObject
*resultobj
= 0;
26316 wxPageSetupDialog
*arg1
= (wxPageSetupDialog
*) 0 ;
26320 PyObject
*swig_obj
[1] ;
26322 if (!args
) SWIG_fail
;
26323 swig_obj
[0] = args
;
26324 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialog
, 0 | 0 );
26325 if (!SWIG_IsOK(res1
)) {
26326 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialog_ShowModal" "', expected argument " "1"" of type '" "wxPageSetupDialog *""'");
26328 arg1
= reinterpret_cast< wxPageSetupDialog
* >(argp1
);
26330 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26331 result
= (int)(arg1
)->ShowModal();
26332 wxPyEndAllowThreads(__tstate
);
26333 if (PyErr_Occurred()) SWIG_fail
;
26335 resultobj
= SWIG_From_int(static_cast< int >(result
));
26342 SWIGINTERN PyObject
*PageSetupDialog_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26344 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
26345 SWIG_TypeNewClientData(SWIGTYPE_p_wxPageSetupDialog
, SWIG_NewClientData(obj
));
26346 return SWIG_Py_Void();
26349 SWIGINTERN PyObject
*PageSetupDialog_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26350 return SWIG_Python_InitShadowInstance(args
);
26353 SWIGINTERN PyObject
*_wrap_new_PrintDialogData__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**SWIGUNUSEDPARM(swig_obj
)) {
26354 PyObject
*resultobj
= 0;
26355 wxPrintDialogData
*result
= 0 ;
26357 if ((nobjs
< 0) || (nobjs
> 0)) SWIG_fail
;
26359 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26360 result
= (wxPrintDialogData
*)new wxPrintDialogData();
26361 wxPyEndAllowThreads(__tstate
);
26362 if (PyErr_Occurred()) SWIG_fail
;
26364 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPrintDialogData
, SWIG_POINTER_NEW
| 0 );
26371 SWIGINTERN PyObject
*_wrap_new_PrintDialogData__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
26372 PyObject
*resultobj
= 0;
26373 wxPrintData
*arg1
= 0 ;
26374 wxPrintDialogData
*result
= 0 ;
26378 if ((nobjs
< 1) || (nobjs
> 1)) SWIG_fail
;
26379 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxPrintData
, 0 | 0);
26380 if (!SWIG_IsOK(res1
)) {
26381 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PrintDialogData" "', expected argument " "1"" of type '" "wxPrintData const &""'");
26384 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_PrintDialogData" "', expected argument " "1"" of type '" "wxPrintData const &""'");
26386 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
26388 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26389 result
= (wxPrintDialogData
*)new wxPrintDialogData((wxPrintData
const &)*arg1
);
26390 wxPyEndAllowThreads(__tstate
);
26391 if (PyErr_Occurred()) SWIG_fail
;
26393 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPrintDialogData
, SWIG_POINTER_NEW
| 0 );
26400 SWIGINTERN PyObject
*_wrap_new_PrintDialogData__SWIG_2(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
26401 PyObject
*resultobj
= 0;
26402 wxPrintDialogData
*arg1
= 0 ;
26403 wxPrintDialogData
*result
= 0 ;
26407 if ((nobjs
< 1) || (nobjs
> 1)) SWIG_fail
;
26408 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxPrintDialogData
, 0 | 0);
26409 if (!SWIG_IsOK(res1
)) {
26410 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PrintDialogData" "', expected argument " "1"" of type '" "wxPrintDialogData const &""'");
26413 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_PrintDialogData" "', expected argument " "1"" of type '" "wxPrintDialogData const &""'");
26415 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
26417 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26418 result
= (wxPrintDialogData
*)new wxPrintDialogData((wxPrintDialogData
const &)*arg1
);
26419 wxPyEndAllowThreads(__tstate
);
26420 if (PyErr_Occurred()) SWIG_fail
;
26422 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPrintDialogData
, SWIG_POINTER_NEW
| 0 );
26429 SWIGINTERN PyObject
*_wrap_new_PrintDialogData(PyObject
*self
, PyObject
*args
) {
26433 if (!(argc
= SWIG_Python_UnpackTuple(args
,"new_PrintDialogData",0,1,argv
))) SWIG_fail
;
26436 return _wrap_new_PrintDialogData__SWIG_0(self
, argc
, argv
);
26441 int res
= SWIG_ConvertPtr(argv
[0], 0, SWIGTYPE_p_wxPrintData
, 0);
26442 _v
= SWIG_CheckState(res
);
26444 if (!_v
) goto check_2
;
26445 return _wrap_new_PrintDialogData__SWIG_1(self
, argc
, argv
);
26450 return _wrap_new_PrintDialogData__SWIG_2(self
, argc
, argv
);
26454 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'new_PrintDialogData'");
26459 SWIGINTERN PyObject
*_wrap_delete_PrintDialogData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26460 PyObject
*resultobj
= 0;
26461 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
26464 PyObject
*swig_obj
[1] ;
26466 if (!args
) SWIG_fail
;
26467 swig_obj
[0] = args
;
26468 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialogData
, SWIG_POINTER_DISOWN
| 0 );
26469 if (!SWIG_IsOK(res1
)) {
26470 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_PrintDialogData" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26472 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
26474 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26477 wxPyEndAllowThreads(__tstate
);
26478 if (PyErr_Occurred()) SWIG_fail
;
26480 resultobj
= SWIG_Py_Void();
26487 SWIGINTERN PyObject
*_wrap_PrintDialogData_GetFromPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26488 PyObject
*resultobj
= 0;
26489 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
26493 PyObject
*swig_obj
[1] ;
26495 if (!args
) SWIG_fail
;
26496 swig_obj
[0] = args
;
26497 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
26498 if (!SWIG_IsOK(res1
)) {
26499 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_GetFromPage" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
26501 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
26503 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26504 result
= (int)((wxPrintDialogData
const *)arg1
)->GetFromPage();
26505 wxPyEndAllowThreads(__tstate
);
26506 if (PyErr_Occurred()) SWIG_fail
;
26508 resultobj
= SWIG_From_int(static_cast< int >(result
));
26515 SWIGINTERN PyObject
*_wrap_PrintDialogData_GetToPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26516 PyObject
*resultobj
= 0;
26517 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
26521 PyObject
*swig_obj
[1] ;
26523 if (!args
) SWIG_fail
;
26524 swig_obj
[0] = args
;
26525 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
26526 if (!SWIG_IsOK(res1
)) {
26527 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_GetToPage" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
26529 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
26531 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26532 result
= (int)((wxPrintDialogData
const *)arg1
)->GetToPage();
26533 wxPyEndAllowThreads(__tstate
);
26534 if (PyErr_Occurred()) SWIG_fail
;
26536 resultobj
= SWIG_From_int(static_cast< int >(result
));
26543 SWIGINTERN PyObject
*_wrap_PrintDialogData_GetMinPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26544 PyObject
*resultobj
= 0;
26545 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
26549 PyObject
*swig_obj
[1] ;
26551 if (!args
) SWIG_fail
;
26552 swig_obj
[0] = args
;
26553 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
26554 if (!SWIG_IsOK(res1
)) {
26555 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_GetMinPage" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
26557 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
26559 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26560 result
= (int)((wxPrintDialogData
const *)arg1
)->GetMinPage();
26561 wxPyEndAllowThreads(__tstate
);
26562 if (PyErr_Occurred()) SWIG_fail
;
26564 resultobj
= SWIG_From_int(static_cast< int >(result
));
26571 SWIGINTERN PyObject
*_wrap_PrintDialogData_GetMaxPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26572 PyObject
*resultobj
= 0;
26573 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
26577 PyObject
*swig_obj
[1] ;
26579 if (!args
) SWIG_fail
;
26580 swig_obj
[0] = args
;
26581 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
26582 if (!SWIG_IsOK(res1
)) {
26583 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_GetMaxPage" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
26585 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
26587 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26588 result
= (int)((wxPrintDialogData
const *)arg1
)->GetMaxPage();
26589 wxPyEndAllowThreads(__tstate
);
26590 if (PyErr_Occurred()) SWIG_fail
;
26592 resultobj
= SWIG_From_int(static_cast< int >(result
));
26599 SWIGINTERN PyObject
*_wrap_PrintDialogData_GetNoCopies(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26600 PyObject
*resultobj
= 0;
26601 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
26605 PyObject
*swig_obj
[1] ;
26607 if (!args
) SWIG_fail
;
26608 swig_obj
[0] = args
;
26609 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
26610 if (!SWIG_IsOK(res1
)) {
26611 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_GetNoCopies" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
26613 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
26615 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26616 result
= (int)((wxPrintDialogData
const *)arg1
)->GetNoCopies();
26617 wxPyEndAllowThreads(__tstate
);
26618 if (PyErr_Occurred()) SWIG_fail
;
26620 resultobj
= SWIG_From_int(static_cast< int >(result
));
26627 SWIGINTERN PyObject
*_wrap_PrintDialogData_GetAllPages(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26628 PyObject
*resultobj
= 0;
26629 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
26633 PyObject
*swig_obj
[1] ;
26635 if (!args
) SWIG_fail
;
26636 swig_obj
[0] = args
;
26637 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
26638 if (!SWIG_IsOK(res1
)) {
26639 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_GetAllPages" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
26641 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
26643 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26644 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetAllPages();
26645 wxPyEndAllowThreads(__tstate
);
26646 if (PyErr_Occurred()) SWIG_fail
;
26649 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26657 SWIGINTERN PyObject
*_wrap_PrintDialogData_GetSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26658 PyObject
*resultobj
= 0;
26659 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
26663 PyObject
*swig_obj
[1] ;
26665 if (!args
) SWIG_fail
;
26666 swig_obj
[0] = args
;
26667 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
26668 if (!SWIG_IsOK(res1
)) {
26669 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_GetSelection" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
26671 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
26673 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26674 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetSelection();
26675 wxPyEndAllowThreads(__tstate
);
26676 if (PyErr_Occurred()) SWIG_fail
;
26679 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26687 SWIGINTERN PyObject
*_wrap_PrintDialogData_GetCollate(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26688 PyObject
*resultobj
= 0;
26689 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
26693 PyObject
*swig_obj
[1] ;
26695 if (!args
) SWIG_fail
;
26696 swig_obj
[0] = args
;
26697 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
26698 if (!SWIG_IsOK(res1
)) {
26699 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_GetCollate" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
26701 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
26703 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26704 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetCollate();
26705 wxPyEndAllowThreads(__tstate
);
26706 if (PyErr_Occurred()) SWIG_fail
;
26709 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26717 SWIGINTERN PyObject
*_wrap_PrintDialogData_GetPrintToFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26718 PyObject
*resultobj
= 0;
26719 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
26723 PyObject
*swig_obj
[1] ;
26725 if (!args
) SWIG_fail
;
26726 swig_obj
[0] = args
;
26727 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
26728 if (!SWIG_IsOK(res1
)) {
26729 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_GetPrintToFile" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
26731 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
26733 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26734 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetPrintToFile();
26735 wxPyEndAllowThreads(__tstate
);
26736 if (PyErr_Occurred()) SWIG_fail
;
26739 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26747 SWIGINTERN PyObject
*_wrap_PrintDialogData_SetFromPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26748 PyObject
*resultobj
= 0;
26749 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
26755 PyObject
* obj0
= 0 ;
26756 PyObject
* obj1
= 0 ;
26757 char * kwnames
[] = {
26758 (char *) "self",(char *) "v", NULL
26761 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetFromPage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26762 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
26763 if (!SWIG_IsOK(res1
)) {
26764 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_SetFromPage" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26766 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
26767 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
26768 if (!SWIG_IsOK(ecode2
)) {
26769 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintDialogData_SetFromPage" "', expected argument " "2"" of type '" "int""'");
26771 arg2
= static_cast< int >(val2
);
26773 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26774 (arg1
)->SetFromPage(arg2
);
26775 wxPyEndAllowThreads(__tstate
);
26776 if (PyErr_Occurred()) SWIG_fail
;
26778 resultobj
= SWIG_Py_Void();
26785 SWIGINTERN PyObject
*_wrap_PrintDialogData_SetToPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26786 PyObject
*resultobj
= 0;
26787 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
26793 PyObject
* obj0
= 0 ;
26794 PyObject
* obj1
= 0 ;
26795 char * kwnames
[] = {
26796 (char *) "self",(char *) "v", NULL
26799 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetToPage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26800 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
26801 if (!SWIG_IsOK(res1
)) {
26802 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_SetToPage" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26804 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
26805 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
26806 if (!SWIG_IsOK(ecode2
)) {
26807 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintDialogData_SetToPage" "', expected argument " "2"" of type '" "int""'");
26809 arg2
= static_cast< int >(val2
);
26811 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26812 (arg1
)->SetToPage(arg2
);
26813 wxPyEndAllowThreads(__tstate
);
26814 if (PyErr_Occurred()) SWIG_fail
;
26816 resultobj
= SWIG_Py_Void();
26823 SWIGINTERN PyObject
*_wrap_PrintDialogData_SetMinPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26824 PyObject
*resultobj
= 0;
26825 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
26831 PyObject
* obj0
= 0 ;
26832 PyObject
* obj1
= 0 ;
26833 char * kwnames
[] = {
26834 (char *) "self",(char *) "v", NULL
26837 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetMinPage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26838 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
26839 if (!SWIG_IsOK(res1
)) {
26840 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_SetMinPage" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26842 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
26843 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
26844 if (!SWIG_IsOK(ecode2
)) {
26845 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintDialogData_SetMinPage" "', expected argument " "2"" of type '" "int""'");
26847 arg2
= static_cast< int >(val2
);
26849 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26850 (arg1
)->SetMinPage(arg2
);
26851 wxPyEndAllowThreads(__tstate
);
26852 if (PyErr_Occurred()) SWIG_fail
;
26854 resultobj
= SWIG_Py_Void();
26861 SWIGINTERN PyObject
*_wrap_PrintDialogData_SetMaxPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26862 PyObject
*resultobj
= 0;
26863 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
26869 PyObject
* obj0
= 0 ;
26870 PyObject
* obj1
= 0 ;
26871 char * kwnames
[] = {
26872 (char *) "self",(char *) "v", NULL
26875 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetMaxPage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26876 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
26877 if (!SWIG_IsOK(res1
)) {
26878 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_SetMaxPage" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26880 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
26881 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
26882 if (!SWIG_IsOK(ecode2
)) {
26883 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintDialogData_SetMaxPage" "', expected argument " "2"" of type '" "int""'");
26885 arg2
= static_cast< int >(val2
);
26887 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26888 (arg1
)->SetMaxPage(arg2
);
26889 wxPyEndAllowThreads(__tstate
);
26890 if (PyErr_Occurred()) SWIG_fail
;
26892 resultobj
= SWIG_Py_Void();
26899 SWIGINTERN PyObject
*_wrap_PrintDialogData_SetNoCopies(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26900 PyObject
*resultobj
= 0;
26901 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
26907 PyObject
* obj0
= 0 ;
26908 PyObject
* obj1
= 0 ;
26909 char * kwnames
[] = {
26910 (char *) "self",(char *) "v", NULL
26913 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetNoCopies",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26914 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
26915 if (!SWIG_IsOK(res1
)) {
26916 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_SetNoCopies" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26918 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
26919 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
26920 if (!SWIG_IsOK(ecode2
)) {
26921 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintDialogData_SetNoCopies" "', expected argument " "2"" of type '" "int""'");
26923 arg2
= static_cast< int >(val2
);
26925 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26926 (arg1
)->SetNoCopies(arg2
);
26927 wxPyEndAllowThreads(__tstate
);
26928 if (PyErr_Occurred()) SWIG_fail
;
26930 resultobj
= SWIG_Py_Void();
26937 SWIGINTERN PyObject
*_wrap_PrintDialogData_SetAllPages(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26938 PyObject
*resultobj
= 0;
26939 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
26945 PyObject
* obj0
= 0 ;
26946 PyObject
* obj1
= 0 ;
26947 char * kwnames
[] = {
26948 (char *) "self",(char *) "flag", NULL
26951 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetAllPages",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26952 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
26953 if (!SWIG_IsOK(res1
)) {
26954 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_SetAllPages" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26956 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
26957 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
26958 if (!SWIG_IsOK(ecode2
)) {
26959 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintDialogData_SetAllPages" "', expected argument " "2"" of type '" "bool""'");
26961 arg2
= static_cast< bool >(val2
);
26963 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26964 (arg1
)->SetAllPages(arg2
);
26965 wxPyEndAllowThreads(__tstate
);
26966 if (PyErr_Occurred()) SWIG_fail
;
26968 resultobj
= SWIG_Py_Void();
26975 SWIGINTERN PyObject
*_wrap_PrintDialogData_SetSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26976 PyObject
*resultobj
= 0;
26977 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
26983 PyObject
* obj0
= 0 ;
26984 PyObject
* obj1
= 0 ;
26985 char * kwnames
[] = {
26986 (char *) "self",(char *) "flag", NULL
26989 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetSelection",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26990 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
26991 if (!SWIG_IsOK(res1
)) {
26992 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_SetSelection" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26994 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
26995 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
26996 if (!SWIG_IsOK(ecode2
)) {
26997 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintDialogData_SetSelection" "', expected argument " "2"" of type '" "bool""'");
26999 arg2
= static_cast< bool >(val2
);
27001 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27002 (arg1
)->SetSelection(arg2
);
27003 wxPyEndAllowThreads(__tstate
);
27004 if (PyErr_Occurred()) SWIG_fail
;
27006 resultobj
= SWIG_Py_Void();
27013 SWIGINTERN PyObject
*_wrap_PrintDialogData_SetCollate(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27014 PyObject
*resultobj
= 0;
27015 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
27021 PyObject
* obj0
= 0 ;
27022 PyObject
* obj1
= 0 ;
27023 char * kwnames
[] = {
27024 (char *) "self",(char *) "flag", NULL
27027 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetCollate",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
27028 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
27029 if (!SWIG_IsOK(res1
)) {
27030 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_SetCollate" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
27032 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
27033 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
27034 if (!SWIG_IsOK(ecode2
)) {
27035 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintDialogData_SetCollate" "', expected argument " "2"" of type '" "bool""'");
27037 arg2
= static_cast< bool >(val2
);
27039 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27040 (arg1
)->SetCollate(arg2
);
27041 wxPyEndAllowThreads(__tstate
);
27042 if (PyErr_Occurred()) SWIG_fail
;
27044 resultobj
= SWIG_Py_Void();
27051 SWIGINTERN PyObject
*_wrap_PrintDialogData_SetPrintToFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27052 PyObject
*resultobj
= 0;
27053 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
27059 PyObject
* obj0
= 0 ;
27060 PyObject
* obj1
= 0 ;
27061 char * kwnames
[] = {
27062 (char *) "self",(char *) "flag", NULL
27065 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetPrintToFile",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
27066 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
27067 if (!SWIG_IsOK(res1
)) {
27068 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_SetPrintToFile" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
27070 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
27071 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
27072 if (!SWIG_IsOK(ecode2
)) {
27073 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintDialogData_SetPrintToFile" "', expected argument " "2"" of type '" "bool""'");
27075 arg2
= static_cast< bool >(val2
);
27077 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27078 (arg1
)->SetPrintToFile(arg2
);
27079 wxPyEndAllowThreads(__tstate
);
27080 if (PyErr_Occurred()) SWIG_fail
;
27082 resultobj
= SWIG_Py_Void();
27089 SWIGINTERN PyObject
*_wrap_PrintDialogData_EnablePrintToFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27090 PyObject
*resultobj
= 0;
27091 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
27097 PyObject
* obj0
= 0 ;
27098 PyObject
* obj1
= 0 ;
27099 char * kwnames
[] = {
27100 (char *) "self",(char *) "flag", NULL
27103 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_EnablePrintToFile",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
27104 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
27105 if (!SWIG_IsOK(res1
)) {
27106 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_EnablePrintToFile" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
27108 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
27109 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
27110 if (!SWIG_IsOK(ecode2
)) {
27111 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintDialogData_EnablePrintToFile" "', expected argument " "2"" of type '" "bool""'");
27113 arg2
= static_cast< bool >(val2
);
27115 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27116 (arg1
)->EnablePrintToFile(arg2
);
27117 wxPyEndAllowThreads(__tstate
);
27118 if (PyErr_Occurred()) SWIG_fail
;
27120 resultobj
= SWIG_Py_Void();
27127 SWIGINTERN PyObject
*_wrap_PrintDialogData_EnableSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27128 PyObject
*resultobj
= 0;
27129 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
27135 PyObject
* obj0
= 0 ;
27136 PyObject
* obj1
= 0 ;
27137 char * kwnames
[] = {
27138 (char *) "self",(char *) "flag", NULL
27141 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_EnableSelection",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
27142 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
27143 if (!SWIG_IsOK(res1
)) {
27144 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_EnableSelection" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
27146 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
27147 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
27148 if (!SWIG_IsOK(ecode2
)) {
27149 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintDialogData_EnableSelection" "', expected argument " "2"" of type '" "bool""'");
27151 arg2
= static_cast< bool >(val2
);
27153 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27154 (arg1
)->EnableSelection(arg2
);
27155 wxPyEndAllowThreads(__tstate
);
27156 if (PyErr_Occurred()) SWIG_fail
;
27158 resultobj
= SWIG_Py_Void();
27165 SWIGINTERN PyObject
*_wrap_PrintDialogData_EnablePageNumbers(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27166 PyObject
*resultobj
= 0;
27167 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
27173 PyObject
* obj0
= 0 ;
27174 PyObject
* obj1
= 0 ;
27175 char * kwnames
[] = {
27176 (char *) "self",(char *) "flag", NULL
27179 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_EnablePageNumbers",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
27180 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
27181 if (!SWIG_IsOK(res1
)) {
27182 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_EnablePageNumbers" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
27184 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
27185 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
27186 if (!SWIG_IsOK(ecode2
)) {
27187 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintDialogData_EnablePageNumbers" "', expected argument " "2"" of type '" "bool""'");
27189 arg2
= static_cast< bool >(val2
);
27191 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27192 (arg1
)->EnablePageNumbers(arg2
);
27193 wxPyEndAllowThreads(__tstate
);
27194 if (PyErr_Occurred()) SWIG_fail
;
27196 resultobj
= SWIG_Py_Void();
27203 SWIGINTERN PyObject
*_wrap_PrintDialogData_EnableHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27204 PyObject
*resultobj
= 0;
27205 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
27211 PyObject
* obj0
= 0 ;
27212 PyObject
* obj1
= 0 ;
27213 char * kwnames
[] = {
27214 (char *) "self",(char *) "flag", NULL
27217 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_EnableHelp",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
27218 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
27219 if (!SWIG_IsOK(res1
)) {
27220 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_EnableHelp" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
27222 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
27223 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
27224 if (!SWIG_IsOK(ecode2
)) {
27225 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintDialogData_EnableHelp" "', expected argument " "2"" of type '" "bool""'");
27227 arg2
= static_cast< bool >(val2
);
27229 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27230 (arg1
)->EnableHelp(arg2
);
27231 wxPyEndAllowThreads(__tstate
);
27232 if (PyErr_Occurred()) SWIG_fail
;
27234 resultobj
= SWIG_Py_Void();
27241 SWIGINTERN PyObject
*_wrap_PrintDialogData_GetEnablePrintToFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27242 PyObject
*resultobj
= 0;
27243 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
27247 PyObject
*swig_obj
[1] ;
27249 if (!args
) SWIG_fail
;
27250 swig_obj
[0] = args
;
27251 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
27252 if (!SWIG_IsOK(res1
)) {
27253 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_GetEnablePrintToFile" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
27255 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
27257 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27258 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetEnablePrintToFile();
27259 wxPyEndAllowThreads(__tstate
);
27260 if (PyErr_Occurred()) SWIG_fail
;
27263 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27271 SWIGINTERN PyObject
*_wrap_PrintDialogData_GetEnableSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27272 PyObject
*resultobj
= 0;
27273 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
27277 PyObject
*swig_obj
[1] ;
27279 if (!args
) SWIG_fail
;
27280 swig_obj
[0] = args
;
27281 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
27282 if (!SWIG_IsOK(res1
)) {
27283 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_GetEnableSelection" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
27285 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
27287 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27288 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetEnableSelection();
27289 wxPyEndAllowThreads(__tstate
);
27290 if (PyErr_Occurred()) SWIG_fail
;
27293 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27301 SWIGINTERN PyObject
*_wrap_PrintDialogData_GetEnablePageNumbers(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27302 PyObject
*resultobj
= 0;
27303 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
27307 PyObject
*swig_obj
[1] ;
27309 if (!args
) SWIG_fail
;
27310 swig_obj
[0] = args
;
27311 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
27312 if (!SWIG_IsOK(res1
)) {
27313 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_GetEnablePageNumbers" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
27315 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
27317 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27318 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetEnablePageNumbers();
27319 wxPyEndAllowThreads(__tstate
);
27320 if (PyErr_Occurred()) SWIG_fail
;
27323 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27331 SWIGINTERN PyObject
*_wrap_PrintDialogData_GetEnableHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27332 PyObject
*resultobj
= 0;
27333 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
27337 PyObject
*swig_obj
[1] ;
27339 if (!args
) SWIG_fail
;
27340 swig_obj
[0] = args
;
27341 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
27342 if (!SWIG_IsOK(res1
)) {
27343 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_GetEnableHelp" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
27345 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
27347 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27348 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetEnableHelp();
27349 wxPyEndAllowThreads(__tstate
);
27350 if (PyErr_Occurred()) SWIG_fail
;
27353 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27361 SWIGINTERN PyObject
*_wrap_PrintDialogData_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27362 PyObject
*resultobj
= 0;
27363 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
27367 PyObject
*swig_obj
[1] ;
27369 if (!args
) SWIG_fail
;
27370 swig_obj
[0] = args
;
27371 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
27372 if (!SWIG_IsOK(res1
)) {
27373 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_IsOk" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
27375 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
27377 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27378 result
= (bool)((wxPrintDialogData
const *)arg1
)->IsOk();
27379 wxPyEndAllowThreads(__tstate
);
27380 if (PyErr_Occurred()) SWIG_fail
;
27383 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27391 SWIGINTERN PyObject
*_wrap_PrintDialogData_GetPrintData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27392 PyObject
*resultobj
= 0;
27393 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
27394 wxPrintData
*result
= 0 ;
27397 PyObject
*swig_obj
[1] ;
27399 if (!args
) SWIG_fail
;
27400 swig_obj
[0] = args
;
27401 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
27402 if (!SWIG_IsOK(res1
)) {
27403 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_GetPrintData" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
27405 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
27407 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27409 wxPrintData
&_result_ref
= (arg1
)->GetPrintData();
27410 result
= (wxPrintData
*) &_result_ref
;
27412 wxPyEndAllowThreads(__tstate
);
27413 if (PyErr_Occurred()) SWIG_fail
;
27415 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPrintData
, 0 | 0 );
27422 SWIGINTERN PyObject
*_wrap_PrintDialogData_SetPrintData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27423 PyObject
*resultobj
= 0;
27424 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
27425 wxPrintData
*arg2
= 0 ;
27430 PyObject
* obj0
= 0 ;
27431 PyObject
* obj1
= 0 ;
27432 char * kwnames
[] = {
27433 (char *) "self",(char *) "printData", NULL
27436 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetPrintData",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
27437 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
27438 if (!SWIG_IsOK(res1
)) {
27439 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_SetPrintData" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
27441 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
27442 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxPrintData
, 0 | 0);
27443 if (!SWIG_IsOK(res2
)) {
27444 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PrintDialogData_SetPrintData" "', expected argument " "2"" of type '" "wxPrintData const &""'");
27447 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PrintDialogData_SetPrintData" "', expected argument " "2"" of type '" "wxPrintData const &""'");
27449 arg2
= reinterpret_cast< wxPrintData
* >(argp2
);
27451 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27452 (arg1
)->SetPrintData((wxPrintData
const &)*arg2
);
27453 wxPyEndAllowThreads(__tstate
);
27454 if (PyErr_Occurred()) SWIG_fail
;
27456 resultobj
= SWIG_Py_Void();
27463 SWIGINTERN PyObject
*PrintDialogData_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27465 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
27466 SWIG_TypeNewClientData(SWIGTYPE_p_wxPrintDialogData
, SWIG_NewClientData(obj
));
27467 return SWIG_Py_Void();
27470 SWIGINTERN PyObject
*PrintDialogData_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27471 return SWIG_Python_InitShadowInstance(args
);
27474 SWIGINTERN PyObject
*_wrap_new_PrintDialog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27475 PyObject
*resultobj
= 0;
27476 wxWindow
*arg1
= (wxWindow
*) 0 ;
27477 wxPrintDialogData
*arg2
= (wxPrintDialogData
*) NULL
;
27478 wxPrintDialog
*result
= 0 ;
27483 PyObject
* obj0
= 0 ;
27484 PyObject
* obj1
= 0 ;
27485 char * kwnames
[] = {
27486 (char *) "parent",(char *) "data", NULL
27489 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_PrintDialog",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
27490 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
27491 if (!SWIG_IsOK(res1
)) {
27492 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PrintDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
27494 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
27496 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
27497 if (!SWIG_IsOK(res2
)) {
27498 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_PrintDialog" "', expected argument " "2"" of type '" "wxPrintDialogData *""'");
27500 arg2
= reinterpret_cast< wxPrintDialogData
* >(argp2
);
27503 if (!wxPyCheckForApp()) SWIG_fail
;
27504 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27505 result
= (wxPrintDialog
*)new wxPrintDialog(arg1
,arg2
);
27506 wxPyEndAllowThreads(__tstate
);
27507 if (PyErr_Occurred()) SWIG_fail
;
27509 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPrintDialog
, SWIG_POINTER_NEW
| 0 );
27516 SWIGINTERN PyObject
*_wrap_delete_PrintDialog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27517 PyObject
*resultobj
= 0;
27518 wxPrintDialog
*arg1
= (wxPrintDialog
*) 0 ;
27521 PyObject
*swig_obj
[1] ;
27523 if (!args
) SWIG_fail
;
27524 swig_obj
[0] = args
;
27525 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialog
, SWIG_POINTER_DISOWN
| 0 );
27526 if (!SWIG_IsOK(res1
)) {
27527 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_PrintDialog" "', expected argument " "1"" of type '" "wxPrintDialog *""'");
27529 arg1
= reinterpret_cast< wxPrintDialog
* >(argp1
);
27531 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27534 wxPyEndAllowThreads(__tstate
);
27535 if (PyErr_Occurred()) SWIG_fail
;
27537 resultobj
= SWIG_Py_Void();
27544 SWIGINTERN PyObject
*_wrap_PrintDialog_ShowModal(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27545 PyObject
*resultobj
= 0;
27546 wxPrintDialog
*arg1
= (wxPrintDialog
*) 0 ;
27550 PyObject
*swig_obj
[1] ;
27552 if (!args
) SWIG_fail
;
27553 swig_obj
[0] = args
;
27554 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialog
, 0 | 0 );
27555 if (!SWIG_IsOK(res1
)) {
27556 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialog_ShowModal" "', expected argument " "1"" of type '" "wxPrintDialog *""'");
27558 arg1
= reinterpret_cast< wxPrintDialog
* >(argp1
);
27560 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27561 result
= (int)(arg1
)->ShowModal();
27562 wxPyEndAllowThreads(__tstate
);
27563 if (PyErr_Occurred()) SWIG_fail
;
27565 resultobj
= SWIG_From_int(static_cast< int >(result
));
27572 SWIGINTERN PyObject
*_wrap_PrintDialog_GetPrintDialogData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27573 PyObject
*resultobj
= 0;
27574 wxPrintDialog
*arg1
= (wxPrintDialog
*) 0 ;
27575 wxPrintDialogData
*result
= 0 ;
27578 PyObject
*swig_obj
[1] ;
27580 if (!args
) SWIG_fail
;
27581 swig_obj
[0] = args
;
27582 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialog
, 0 | 0 );
27583 if (!SWIG_IsOK(res1
)) {
27584 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialog_GetPrintDialogData" "', expected argument " "1"" of type '" "wxPrintDialog *""'");
27586 arg1
= reinterpret_cast< wxPrintDialog
* >(argp1
);
27588 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27590 wxPrintDialogData
&_result_ref
= (arg1
)->GetPrintDialogData();
27591 result
= (wxPrintDialogData
*) &_result_ref
;
27593 wxPyEndAllowThreads(__tstate
);
27594 if (PyErr_Occurred()) SWIG_fail
;
27596 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
27603 SWIGINTERN PyObject
*_wrap_PrintDialog_GetPrintData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27604 PyObject
*resultobj
= 0;
27605 wxPrintDialog
*arg1
= (wxPrintDialog
*) 0 ;
27606 wxPrintData
*result
= 0 ;
27609 PyObject
*swig_obj
[1] ;
27611 if (!args
) SWIG_fail
;
27612 swig_obj
[0] = args
;
27613 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialog
, 0 | 0 );
27614 if (!SWIG_IsOK(res1
)) {
27615 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialog_GetPrintData" "', expected argument " "1"" of type '" "wxPrintDialog *""'");
27617 arg1
= reinterpret_cast< wxPrintDialog
* >(argp1
);
27619 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27621 wxPrintData
&_result_ref
= (arg1
)->GetPrintData();
27622 result
= (wxPrintData
*) &_result_ref
;
27624 wxPyEndAllowThreads(__tstate
);
27625 if (PyErr_Occurred()) SWIG_fail
;
27627 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPrintData
, 0 | 0 );
27634 SWIGINTERN PyObject
*_wrap_PrintDialog_GetPrintDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27635 PyObject
*resultobj
= 0;
27636 wxPrintDialog
*arg1
= (wxPrintDialog
*) 0 ;
27640 PyObject
*swig_obj
[1] ;
27642 if (!args
) SWIG_fail
;
27643 swig_obj
[0] = args
;
27644 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialog
, 0 | 0 );
27645 if (!SWIG_IsOK(res1
)) {
27646 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialog_GetPrintDC" "', expected argument " "1"" of type '" "wxPrintDialog *""'");
27648 arg1
= reinterpret_cast< wxPrintDialog
* >(argp1
);
27650 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27651 result
= (wxDC
*)(arg1
)->GetPrintDC();
27652 wxPyEndAllowThreads(__tstate
);
27653 if (PyErr_Occurred()) SWIG_fail
;
27656 resultobj
= wxPyMake_wxObject(result
, (bool)SWIG_POINTER_OWN
);
27664 SWIGINTERN PyObject
*PrintDialog_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27666 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
27667 SWIG_TypeNewClientData(SWIGTYPE_p_wxPrintDialog
, SWIG_NewClientData(obj
));
27668 return SWIG_Py_Void();
27671 SWIGINTERN PyObject
*PrintDialog_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27672 return SWIG_Python_InitShadowInstance(args
);
27675 SWIGINTERN PyObject
*_wrap_new_Printer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27676 PyObject
*resultobj
= 0;
27677 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) NULL
;
27678 wxPrinter
*result
= 0 ;
27681 PyObject
* obj0
= 0 ;
27682 char * kwnames
[] = {
27683 (char *) "data", NULL
27686 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_Printer",kwnames
,&obj0
)) SWIG_fail
;
27688 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
27689 if (!SWIG_IsOK(res1
)) {
27690 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_Printer" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
27692 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
27695 if (!wxPyCheckForApp()) SWIG_fail
;
27696 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27697 result
= (wxPrinter
*)new wxPrinter(arg1
);
27698 wxPyEndAllowThreads(__tstate
);
27699 if (PyErr_Occurred()) SWIG_fail
;
27701 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPrinter
, SWIG_POINTER_NEW
| 0 );
27708 SWIGINTERN PyObject
*_wrap_delete_Printer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27709 PyObject
*resultobj
= 0;
27710 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
27713 PyObject
*swig_obj
[1] ;
27715 if (!args
) SWIG_fail
;
27716 swig_obj
[0] = args
;
27717 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrinter
, SWIG_POINTER_DISOWN
| 0 );
27718 if (!SWIG_IsOK(res1
)) {
27719 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Printer" "', expected argument " "1"" of type '" "wxPrinter *""'");
27721 arg1
= reinterpret_cast< wxPrinter
* >(argp1
);
27723 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27726 wxPyEndAllowThreads(__tstate
);
27727 if (PyErr_Occurred()) SWIG_fail
;
27729 resultobj
= SWIG_Py_Void();
27736 SWIGINTERN PyObject
*_wrap_Printer_CreateAbortWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27737 PyObject
*resultobj
= 0;
27738 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
27739 wxWindow
*arg2
= (wxWindow
*) 0 ;
27740 wxPyPrintout
*arg3
= (wxPyPrintout
*) 0 ;
27741 wxWindow
*result
= 0 ;
27748 PyObject
* obj0
= 0 ;
27749 PyObject
* obj1
= 0 ;
27750 PyObject
* obj2
= 0 ;
27751 char * kwnames
[] = {
27752 (char *) "self",(char *) "parent",(char *) "printout", NULL
27755 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Printer_CreateAbortWindow",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
27756 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrinter
, 0 | 0 );
27757 if (!SWIG_IsOK(res1
)) {
27758 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printer_CreateAbortWindow" "', expected argument " "1"" of type '" "wxPrinter *""'");
27760 arg1
= reinterpret_cast< wxPrinter
* >(argp1
);
27761 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
27762 if (!SWIG_IsOK(res2
)) {
27763 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Printer_CreateAbortWindow" "', expected argument " "2"" of type '" "wxWindow *""'");
27765 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
27766 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
27767 if (!SWIG_IsOK(res3
)) {
27768 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "Printer_CreateAbortWindow" "', expected argument " "3"" of type '" "wxPyPrintout *""'");
27770 arg3
= reinterpret_cast< wxPyPrintout
* >(argp3
);
27772 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27773 result
= (wxWindow
*)(arg1
)->CreateAbortWindow(arg2
,arg3
);
27774 wxPyEndAllowThreads(__tstate
);
27775 if (PyErr_Occurred()) SWIG_fail
;
27778 resultobj
= wxPyMake_wxObject(result
, 0);
27786 SWIGINTERN PyObject
*_wrap_Printer_ReportError(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27787 PyObject
*resultobj
= 0;
27788 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
27789 wxWindow
*arg2
= (wxWindow
*) 0 ;
27790 wxPyPrintout
*arg3
= (wxPyPrintout
*) 0 ;
27791 wxString
*arg4
= 0 ;
27798 bool temp4
= false ;
27799 PyObject
* obj0
= 0 ;
27800 PyObject
* obj1
= 0 ;
27801 PyObject
* obj2
= 0 ;
27802 PyObject
* obj3
= 0 ;
27803 char * kwnames
[] = {
27804 (char *) "self",(char *) "parent",(char *) "printout",(char *) "message", NULL
27807 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Printer_ReportError",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
27808 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrinter
, 0 | 0 );
27809 if (!SWIG_IsOK(res1
)) {
27810 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printer_ReportError" "', expected argument " "1"" of type '" "wxPrinter *""'");
27812 arg1
= reinterpret_cast< wxPrinter
* >(argp1
);
27813 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
27814 if (!SWIG_IsOK(res2
)) {
27815 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Printer_ReportError" "', expected argument " "2"" of type '" "wxWindow *""'");
27817 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
27818 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
27819 if (!SWIG_IsOK(res3
)) {
27820 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "Printer_ReportError" "', expected argument " "3"" of type '" "wxPyPrintout *""'");
27822 arg3
= reinterpret_cast< wxPyPrintout
* >(argp3
);
27824 arg4
= wxString_in_helper(obj3
);
27825 if (arg4
== NULL
) SWIG_fail
;
27829 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27830 (arg1
)->ReportError(arg2
,arg3
,(wxString
const &)*arg4
);
27831 wxPyEndAllowThreads(__tstate
);
27832 if (PyErr_Occurred()) SWIG_fail
;
27834 resultobj
= SWIG_Py_Void();
27849 SWIGINTERN PyObject
*_wrap_Printer_Setup(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27850 PyObject
*resultobj
= 0;
27851 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
27852 wxWindow
*arg2
= (wxWindow
*) 0 ;
27858 PyObject
* obj0
= 0 ;
27859 PyObject
* obj1
= 0 ;
27860 char * kwnames
[] = {
27861 (char *) "self",(char *) "parent", NULL
27864 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Printer_Setup",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
27865 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrinter
, 0 | 0 );
27866 if (!SWIG_IsOK(res1
)) {
27867 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printer_Setup" "', expected argument " "1"" of type '" "wxPrinter *""'");
27869 arg1
= reinterpret_cast< wxPrinter
* >(argp1
);
27870 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
27871 if (!SWIG_IsOK(res2
)) {
27872 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Printer_Setup" "', expected argument " "2"" of type '" "wxWindow *""'");
27874 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
27876 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27877 result
= (bool)(arg1
)->Setup(arg2
);
27878 wxPyEndAllowThreads(__tstate
);
27879 if (PyErr_Occurred()) SWIG_fail
;
27882 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27890 SWIGINTERN PyObject
*_wrap_Printer_Print(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27891 PyObject
*resultobj
= 0;
27892 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
27893 wxWindow
*arg2
= (wxWindow
*) 0 ;
27894 wxPyPrintout
*arg3
= (wxPyPrintout
*) 0 ;
27895 bool arg4
= (bool) true ;
27905 PyObject
* obj0
= 0 ;
27906 PyObject
* obj1
= 0 ;
27907 PyObject
* obj2
= 0 ;
27908 PyObject
* obj3
= 0 ;
27909 char * kwnames
[] = {
27910 (char *) "self",(char *) "parent",(char *) "printout",(char *) "prompt", NULL
27913 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Printer_Print",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
27914 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrinter
, 0 | 0 );
27915 if (!SWIG_IsOK(res1
)) {
27916 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printer_Print" "', expected argument " "1"" of type '" "wxPrinter *""'");
27918 arg1
= reinterpret_cast< wxPrinter
* >(argp1
);
27919 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
27920 if (!SWIG_IsOK(res2
)) {
27921 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Printer_Print" "', expected argument " "2"" of type '" "wxWindow *""'");
27923 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
27924 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
27925 if (!SWIG_IsOK(res3
)) {
27926 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "Printer_Print" "', expected argument " "3"" of type '" "wxPyPrintout *""'");
27928 arg3
= reinterpret_cast< wxPyPrintout
* >(argp3
);
27930 ecode4
= SWIG_AsVal_bool(obj3
, &val4
);
27931 if (!SWIG_IsOK(ecode4
)) {
27932 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Printer_Print" "', expected argument " "4"" of type '" "bool""'");
27934 arg4
= static_cast< bool >(val4
);
27937 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27938 result
= (bool)(arg1
)->Print(arg2
,arg3
,arg4
);
27939 wxPyEndAllowThreads(__tstate
);
27940 if (PyErr_Occurred()) SWIG_fail
;
27943 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27951 SWIGINTERN PyObject
*_wrap_Printer_PrintDialog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27952 PyObject
*resultobj
= 0;
27953 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
27954 wxWindow
*arg2
= (wxWindow
*) 0 ;
27960 PyObject
* obj0
= 0 ;
27961 PyObject
* obj1
= 0 ;
27962 char * kwnames
[] = {
27963 (char *) "self",(char *) "parent", NULL
27966 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Printer_PrintDialog",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
27967 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrinter
, 0 | 0 );
27968 if (!SWIG_IsOK(res1
)) {
27969 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printer_PrintDialog" "', expected argument " "1"" of type '" "wxPrinter *""'");
27971 arg1
= reinterpret_cast< wxPrinter
* >(argp1
);
27972 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
27973 if (!SWIG_IsOK(res2
)) {
27974 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Printer_PrintDialog" "', expected argument " "2"" of type '" "wxWindow *""'");
27976 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
27978 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27979 result
= (wxDC
*)(arg1
)->PrintDialog(arg2
);
27980 wxPyEndAllowThreads(__tstate
);
27981 if (PyErr_Occurred()) SWIG_fail
;
27984 resultobj
= wxPyMake_wxObject(result
, (bool)0);
27992 SWIGINTERN PyObject
*_wrap_Printer_GetPrintDialogData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27993 PyObject
*resultobj
= 0;
27994 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
27995 wxPrintDialogData
*result
= 0 ;
27998 PyObject
*swig_obj
[1] ;
28000 if (!args
) SWIG_fail
;
28001 swig_obj
[0] = args
;
28002 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrinter
, 0 | 0 );
28003 if (!SWIG_IsOK(res1
)) {
28004 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printer_GetPrintDialogData" "', expected argument " "1"" of type '" "wxPrinter const *""'");
28006 arg1
= reinterpret_cast< wxPrinter
* >(argp1
);
28008 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28010 wxPrintDialogData
&_result_ref
= ((wxPrinter
const *)arg1
)->GetPrintDialogData();
28011 result
= (wxPrintDialogData
*) &_result_ref
;
28013 wxPyEndAllowThreads(__tstate
);
28014 if (PyErr_Occurred()) SWIG_fail
;
28016 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
28023 SWIGINTERN PyObject
*_wrap_Printer_GetAbort(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28024 PyObject
*resultobj
= 0;
28025 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
28029 PyObject
*swig_obj
[1] ;
28031 if (!args
) SWIG_fail
;
28032 swig_obj
[0] = args
;
28033 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrinter
, 0 | 0 );
28034 if (!SWIG_IsOK(res1
)) {
28035 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printer_GetAbort" "', expected argument " "1"" of type '" "wxPrinter *""'");
28037 arg1
= reinterpret_cast< wxPrinter
* >(argp1
);
28039 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28040 result
= (bool)(arg1
)->GetAbort();
28041 wxPyEndAllowThreads(__tstate
);
28042 if (PyErr_Occurred()) SWIG_fail
;
28045 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28053 SWIGINTERN PyObject
*_wrap_Printer_GetLastError(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28054 PyObject
*resultobj
= 0;
28055 wxPrinterError result
;
28057 if (!SWIG_Python_UnpackTuple(args
,"Printer_GetLastError",0,0,0)) SWIG_fail
;
28059 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28060 result
= (wxPrinterError
)wxPrinter::GetLastError();
28061 wxPyEndAllowThreads(__tstate
);
28062 if (PyErr_Occurred()) SWIG_fail
;
28064 resultobj
= SWIG_From_int(static_cast< int >(result
));
28071 SWIGINTERN PyObject
*Printer_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28073 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
28074 SWIG_TypeNewClientData(SWIGTYPE_p_wxPrinter
, SWIG_NewClientData(obj
));
28075 return SWIG_Py_Void();
28078 SWIGINTERN PyObject
*Printer_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28079 return SWIG_Python_InitShadowInstance(args
);
28082 SWIGINTERN PyObject
*_wrap_new_Printout(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28083 PyObject
*resultobj
= 0;
28084 wxString
const &arg1_defvalue
= wxPyPrintoutTitleStr
;
28085 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
28086 wxPyPrintout
*result
= 0 ;
28087 bool temp1
= false ;
28088 PyObject
* obj0
= 0 ;
28089 char * kwnames
[] = {
28090 (char *) "title", NULL
28093 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_Printout",kwnames
,&obj0
)) SWIG_fail
;
28096 arg1
= wxString_in_helper(obj0
);
28097 if (arg1
== NULL
) SWIG_fail
;
28102 if (!wxPyCheckForApp()) SWIG_fail
;
28103 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28104 result
= (wxPyPrintout
*)new wxPyPrintout((wxString
const &)*arg1
);
28105 wxPyEndAllowThreads(__tstate
);
28106 if (PyErr_Occurred()) SWIG_fail
;
28108 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_NEW
| 0 );
28123 SWIGINTERN PyObject
*_wrap_delete_Printout(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28124 PyObject
*resultobj
= 0;
28125 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
28128 PyObject
*swig_obj
[1] ;
28130 if (!args
) SWIG_fail
;
28131 swig_obj
[0] = args
;
28132 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_DISOWN
| 0 );
28133 if (!SWIG_IsOK(res1
)) {
28134 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Printout" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28136 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
28138 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28141 wxPyEndAllowThreads(__tstate
);
28142 if (PyErr_Occurred()) SWIG_fail
;
28144 resultobj
= SWIG_Py_Void();
28151 SWIGINTERN PyObject
*_wrap_Printout__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28152 PyObject
*resultobj
= 0;
28153 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
28154 PyObject
*arg2
= (PyObject
*) 0 ;
28155 PyObject
*arg3
= (PyObject
*) 0 ;
28158 PyObject
* obj0
= 0 ;
28159 PyObject
* obj1
= 0 ;
28160 PyObject
* obj2
= 0 ;
28161 char * kwnames
[] = {
28162 (char *) "self",(char *) "self",(char *) "_class", NULL
28165 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Printout__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
28166 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
28167 if (!SWIG_IsOK(res1
)) {
28168 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28170 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
28174 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28175 (arg1
)->_setCallbackInfo(arg2
,arg3
);
28176 wxPyEndAllowThreads(__tstate
);
28177 if (PyErr_Occurred()) SWIG_fail
;
28179 resultobj
= SWIG_Py_Void();
28186 SWIGINTERN PyObject
*_wrap_Printout_GetTitle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28187 PyObject
*resultobj
= 0;
28188 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
28192 PyObject
*swig_obj
[1] ;
28194 if (!args
) SWIG_fail
;
28195 swig_obj
[0] = args
;
28196 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
28197 if (!SWIG_IsOK(res1
)) {
28198 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_GetTitle" "', expected argument " "1"" of type '" "wxPyPrintout const *""'");
28200 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
28202 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28203 result
= ((wxPyPrintout
const *)arg1
)->GetTitle();
28204 wxPyEndAllowThreads(__tstate
);
28205 if (PyErr_Occurred()) SWIG_fail
;
28209 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
28211 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
28220 SWIGINTERN PyObject
*_wrap_Printout_GetDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28221 PyObject
*resultobj
= 0;
28222 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
28226 PyObject
*swig_obj
[1] ;
28228 if (!args
) SWIG_fail
;
28229 swig_obj
[0] = args
;
28230 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
28231 if (!SWIG_IsOK(res1
)) {
28232 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_GetDC" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28234 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
28236 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28237 result
= (wxDC
*)(arg1
)->GetDC();
28238 wxPyEndAllowThreads(__tstate
);
28239 if (PyErr_Occurred()) SWIG_fail
;
28242 resultobj
= wxPyMake_wxObject(result
, (bool)0);
28250 SWIGINTERN PyObject
*_wrap_Printout_SetDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28251 PyObject
*resultobj
= 0;
28252 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
28253 wxDC
*arg2
= (wxDC
*) 0 ;
28258 PyObject
* obj0
= 0 ;
28259 PyObject
* obj1
= 0 ;
28260 char * kwnames
[] = {
28261 (char *) "self",(char *) "dc", NULL
28264 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Printout_SetDC",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28265 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
28266 if (!SWIG_IsOK(res1
)) {
28267 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_SetDC" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28269 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
28270 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxDC
, 0 | 0 );
28271 if (!SWIG_IsOK(res2
)) {
28272 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Printout_SetDC" "', expected argument " "2"" of type '" "wxDC *""'");
28274 arg2
= reinterpret_cast< wxDC
* >(argp2
);
28276 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28277 (arg1
)->SetDC(arg2
);
28278 wxPyEndAllowThreads(__tstate
);
28279 if (PyErr_Occurred()) SWIG_fail
;
28281 resultobj
= SWIG_Py_Void();
28288 SWIGINTERN PyObject
*_wrap_Printout_FitThisSizeToPaper(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28289 PyObject
*resultobj
= 0;
28290 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
28295 PyObject
* obj0
= 0 ;
28296 PyObject
* obj1
= 0 ;
28297 char * kwnames
[] = {
28298 (char *) "self",(char *) "imageSize", NULL
28301 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Printout_FitThisSizeToPaper",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28302 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
28303 if (!SWIG_IsOK(res1
)) {
28304 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_FitThisSizeToPaper" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28306 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
28309 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
28312 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28313 (arg1
)->FitThisSizeToPaper((wxSize
const &)*arg2
);
28314 wxPyEndAllowThreads(__tstate
);
28315 if (PyErr_Occurred()) SWIG_fail
;
28317 resultobj
= SWIG_Py_Void();
28324 SWIGINTERN PyObject
*_wrap_Printout_FitThisSizeToPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28325 PyObject
*resultobj
= 0;
28326 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
28331 PyObject
* obj0
= 0 ;
28332 PyObject
* obj1
= 0 ;
28333 char * kwnames
[] = {
28334 (char *) "self",(char *) "imageSize", NULL
28337 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Printout_FitThisSizeToPage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28338 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
28339 if (!SWIG_IsOK(res1
)) {
28340 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_FitThisSizeToPage" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28342 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
28345 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
28348 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28349 (arg1
)->FitThisSizeToPage((wxSize
const &)*arg2
);
28350 wxPyEndAllowThreads(__tstate
);
28351 if (PyErr_Occurred()) SWIG_fail
;
28353 resultobj
= SWIG_Py_Void();
28360 SWIGINTERN PyObject
*_wrap_Printout_FitThisSizeToPageMargins(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28361 PyObject
*resultobj
= 0;
28362 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
28364 wxPageSetupDialogData
*arg3
= 0 ;
28370 PyObject
* obj0
= 0 ;
28371 PyObject
* obj1
= 0 ;
28372 PyObject
* obj2
= 0 ;
28373 char * kwnames
[] = {
28374 (char *) "self",(char *) "imageSize",(char *) "pageSetupData", NULL
28377 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Printout_FitThisSizeToPageMargins",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
28378 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
28379 if (!SWIG_IsOK(res1
)) {
28380 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_FitThisSizeToPageMargins" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28382 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
28385 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
28387 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0);
28388 if (!SWIG_IsOK(res3
)) {
28389 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "Printout_FitThisSizeToPageMargins" "', expected argument " "3"" of type '" "wxPageSetupDialogData const &""'");
28392 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Printout_FitThisSizeToPageMargins" "', expected argument " "3"" of type '" "wxPageSetupDialogData const &""'");
28394 arg3
= reinterpret_cast< wxPageSetupDialogData
* >(argp3
);
28396 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28397 (arg1
)->FitThisSizeToPageMargins((wxSize
const &)*arg2
,(wxPageSetupDialogData
const &)*arg3
);
28398 wxPyEndAllowThreads(__tstate
);
28399 if (PyErr_Occurred()) SWIG_fail
;
28401 resultobj
= SWIG_Py_Void();
28408 SWIGINTERN PyObject
*_wrap_Printout_MapScreenSizeToPaper(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28409 PyObject
*resultobj
= 0;
28410 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
28413 PyObject
*swig_obj
[1] ;
28415 if (!args
) SWIG_fail
;
28416 swig_obj
[0] = args
;
28417 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
28418 if (!SWIG_IsOK(res1
)) {
28419 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_MapScreenSizeToPaper" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28421 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
28423 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28424 (arg1
)->MapScreenSizeToPaper();
28425 wxPyEndAllowThreads(__tstate
);
28426 if (PyErr_Occurred()) SWIG_fail
;
28428 resultobj
= SWIG_Py_Void();
28435 SWIGINTERN PyObject
*_wrap_Printout_MapScreenSizeToPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28436 PyObject
*resultobj
= 0;
28437 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
28440 PyObject
*swig_obj
[1] ;
28442 if (!args
) SWIG_fail
;
28443 swig_obj
[0] = args
;
28444 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
28445 if (!SWIG_IsOK(res1
)) {
28446 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_MapScreenSizeToPage" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28448 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
28450 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28451 (arg1
)->MapScreenSizeToPage();
28452 wxPyEndAllowThreads(__tstate
);
28453 if (PyErr_Occurred()) SWIG_fail
;
28455 resultobj
= SWIG_Py_Void();
28462 SWIGINTERN PyObject
*_wrap_Printout_MapScreenSizeToPageMargins(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28463 PyObject
*resultobj
= 0;
28464 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
28465 wxPageSetupDialogData
*arg2
= 0 ;
28470 PyObject
* obj0
= 0 ;
28471 PyObject
* obj1
= 0 ;
28472 char * kwnames
[] = {
28473 (char *) "self",(char *) "pageSetupData", NULL
28476 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Printout_MapScreenSizeToPageMargins",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28477 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
28478 if (!SWIG_IsOK(res1
)) {
28479 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_MapScreenSizeToPageMargins" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28481 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
28482 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0);
28483 if (!SWIG_IsOK(res2
)) {
28484 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Printout_MapScreenSizeToPageMargins" "', expected argument " "2"" of type '" "wxPageSetupDialogData const &""'");
28487 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Printout_MapScreenSizeToPageMargins" "', expected argument " "2"" of type '" "wxPageSetupDialogData const &""'");
28489 arg2
= reinterpret_cast< wxPageSetupDialogData
* >(argp2
);
28491 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28492 (arg1
)->MapScreenSizeToPageMargins((wxPageSetupDialogData
const &)*arg2
);
28493 wxPyEndAllowThreads(__tstate
);
28494 if (PyErr_Occurred()) SWIG_fail
;
28496 resultobj
= SWIG_Py_Void();
28503 SWIGINTERN PyObject
*_wrap_Printout_MapScreenSizeToDevice(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28504 PyObject
*resultobj
= 0;
28505 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
28508 PyObject
*swig_obj
[1] ;
28510 if (!args
) SWIG_fail
;
28511 swig_obj
[0] = args
;
28512 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
28513 if (!SWIG_IsOK(res1
)) {
28514 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_MapScreenSizeToDevice" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28516 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
28518 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28519 (arg1
)->MapScreenSizeToDevice();
28520 wxPyEndAllowThreads(__tstate
);
28521 if (PyErr_Occurred()) SWIG_fail
;
28523 resultobj
= SWIG_Py_Void();
28530 SWIGINTERN PyObject
*_wrap_Printout_GetLogicalPaperRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28531 PyObject
*resultobj
= 0;
28532 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
28536 PyObject
*swig_obj
[1] ;
28538 if (!args
) SWIG_fail
;
28539 swig_obj
[0] = args
;
28540 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
28541 if (!SWIG_IsOK(res1
)) {
28542 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_GetLogicalPaperRect" "', expected argument " "1"" of type '" "wxPyPrintout const *""'");
28544 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
28546 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28547 result
= ((wxPyPrintout
const *)arg1
)->GetLogicalPaperRect();
28548 wxPyEndAllowThreads(__tstate
);
28549 if (PyErr_Occurred()) SWIG_fail
;
28551 resultobj
= SWIG_NewPointerObj((new wxRect(static_cast< const wxRect
& >(result
))), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN
| 0 );
28558 SWIGINTERN PyObject
*_wrap_Printout_GetLogicalPageRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28559 PyObject
*resultobj
= 0;
28560 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
28564 PyObject
*swig_obj
[1] ;
28566 if (!args
) SWIG_fail
;
28567 swig_obj
[0] = args
;
28568 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
28569 if (!SWIG_IsOK(res1
)) {
28570 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_GetLogicalPageRect" "', expected argument " "1"" of type '" "wxPyPrintout const *""'");
28572 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
28574 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28575 result
= ((wxPyPrintout
const *)arg1
)->GetLogicalPageRect();
28576 wxPyEndAllowThreads(__tstate
);
28577 if (PyErr_Occurred()) SWIG_fail
;
28579 resultobj
= SWIG_NewPointerObj((new wxRect(static_cast< const wxRect
& >(result
))), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN
| 0 );
28586 SWIGINTERN PyObject
*_wrap_Printout_GetLogicalPageMarginsRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28587 PyObject
*resultobj
= 0;
28588 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
28589 wxPageSetupDialogData
*arg2
= 0 ;
28595 PyObject
* obj0
= 0 ;
28596 PyObject
* obj1
= 0 ;
28597 char * kwnames
[] = {
28598 (char *) "self",(char *) "pageSetupData", NULL
28601 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Printout_GetLogicalPageMarginsRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28602 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
28603 if (!SWIG_IsOK(res1
)) {
28604 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_GetLogicalPageMarginsRect" "', expected argument " "1"" of type '" "wxPyPrintout const *""'");
28606 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
28607 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0);
28608 if (!SWIG_IsOK(res2
)) {
28609 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Printout_GetLogicalPageMarginsRect" "', expected argument " "2"" of type '" "wxPageSetupDialogData const &""'");
28612 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Printout_GetLogicalPageMarginsRect" "', expected argument " "2"" of type '" "wxPageSetupDialogData const &""'");
28614 arg2
= reinterpret_cast< wxPageSetupDialogData
* >(argp2
);
28616 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28617 result
= ((wxPyPrintout
const *)arg1
)->GetLogicalPageMarginsRect((wxPageSetupDialogData
const &)*arg2
);
28618 wxPyEndAllowThreads(__tstate
);
28619 if (PyErr_Occurred()) SWIG_fail
;
28621 resultobj
= SWIG_NewPointerObj((new wxRect(static_cast< const wxRect
& >(result
))), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN
| 0 );
28628 SWIGINTERN PyObject
*_wrap_Printout_SetLogicalOrigin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28629 PyObject
*resultobj
= 0;
28630 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
28639 PyObject
* obj0
= 0 ;
28640 PyObject
* obj1
= 0 ;
28641 PyObject
* obj2
= 0 ;
28642 char * kwnames
[] = {
28643 (char *) "self",(char *) "x",(char *) "y", NULL
28646 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Printout_SetLogicalOrigin",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
28647 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
28648 if (!SWIG_IsOK(res1
)) {
28649 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_SetLogicalOrigin" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28651 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
28652 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
28653 if (!SWIG_IsOK(ecode2
)) {
28654 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Printout_SetLogicalOrigin" "', expected argument " "2"" of type '" "int""'");
28656 arg2
= static_cast< int >(val2
);
28657 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
28658 if (!SWIG_IsOK(ecode3
)) {
28659 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Printout_SetLogicalOrigin" "', expected argument " "3"" of type '" "int""'");
28661 arg3
= static_cast< int >(val3
);
28663 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28664 (arg1
)->SetLogicalOrigin(arg2
,arg3
);
28665 wxPyEndAllowThreads(__tstate
);
28666 if (PyErr_Occurred()) SWIG_fail
;
28668 resultobj
= SWIG_Py_Void();
28675 SWIGINTERN PyObject
*_wrap_Printout_OffsetLogicalOrigin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28676 PyObject
*resultobj
= 0;
28677 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
28686 PyObject
* obj0
= 0 ;
28687 PyObject
* obj1
= 0 ;
28688 PyObject
* obj2
= 0 ;
28689 char * kwnames
[] = {
28690 (char *) "self",(char *) "xoff",(char *) "yoff", NULL
28693 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Printout_OffsetLogicalOrigin",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
28694 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
28695 if (!SWIG_IsOK(res1
)) {
28696 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_OffsetLogicalOrigin" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28698 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
28699 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
28700 if (!SWIG_IsOK(ecode2
)) {
28701 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Printout_OffsetLogicalOrigin" "', expected argument " "2"" of type '" "int""'");
28703 arg2
= static_cast< int >(val2
);
28704 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
28705 if (!SWIG_IsOK(ecode3
)) {
28706 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Printout_OffsetLogicalOrigin" "', expected argument " "3"" of type '" "int""'");
28708 arg3
= static_cast< int >(val3
);
28710 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28711 (arg1
)->OffsetLogicalOrigin(arg2
,arg3
);
28712 wxPyEndAllowThreads(__tstate
);
28713 if (PyErr_Occurred()) SWIG_fail
;
28715 resultobj
= SWIG_Py_Void();
28722 SWIGINTERN PyObject
*_wrap_Printout_SetPageSizePixels(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28723 PyObject
*resultobj
= 0;
28724 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
28733 PyObject
* obj0
= 0 ;
28734 PyObject
* obj1
= 0 ;
28735 PyObject
* obj2
= 0 ;
28736 char * kwnames
[] = {
28737 (char *) "self",(char *) "w",(char *) "h", NULL
28740 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Printout_SetPageSizePixels",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
28741 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
28742 if (!SWIG_IsOK(res1
)) {
28743 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_SetPageSizePixels" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28745 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
28746 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
28747 if (!SWIG_IsOK(ecode2
)) {
28748 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Printout_SetPageSizePixels" "', expected argument " "2"" of type '" "int""'");
28750 arg2
= static_cast< int >(val2
);
28751 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
28752 if (!SWIG_IsOK(ecode3
)) {
28753 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Printout_SetPageSizePixels" "', expected argument " "3"" of type '" "int""'");
28755 arg3
= static_cast< int >(val3
);
28757 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28758 (arg1
)->SetPageSizePixels(arg2
,arg3
);
28759 wxPyEndAllowThreads(__tstate
);
28760 if (PyErr_Occurred()) SWIG_fail
;
28762 resultobj
= SWIG_Py_Void();
28769 SWIGINTERN PyObject
*_wrap_Printout_GetPageSizePixels(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28770 PyObject
*resultobj
= 0;
28771 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
28772 int *arg2
= (int *) 0 ;
28773 int *arg3
= (int *) 0 ;
28777 int res2
= SWIG_TMPOBJ
;
28779 int res3
= SWIG_TMPOBJ
;
28780 PyObject
*swig_obj
[1] ;
28784 if (!args
) SWIG_fail
;
28785 swig_obj
[0] = args
;
28786 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
28787 if (!SWIG_IsOK(res1
)) {
28788 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_GetPageSizePixels" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28790 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
28792 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28793 (arg1
)->GetPageSizePixels(arg2
,arg3
);
28794 wxPyEndAllowThreads(__tstate
);
28795 if (PyErr_Occurred()) SWIG_fail
;
28797 resultobj
= SWIG_Py_Void();
28798 if (SWIG_IsTmpObj(res2
)) {
28799 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
28801 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
28802 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
28804 if (SWIG_IsTmpObj(res3
)) {
28805 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
28807 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
28808 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
28816 SWIGINTERN PyObject
*_wrap_Printout_SetPageSizeMM(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28817 PyObject
*resultobj
= 0;
28818 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
28827 PyObject
* obj0
= 0 ;
28828 PyObject
* obj1
= 0 ;
28829 PyObject
* obj2
= 0 ;
28830 char * kwnames
[] = {
28831 (char *) "self",(char *) "w",(char *) "h", NULL
28834 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Printout_SetPageSizeMM",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
28835 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
28836 if (!SWIG_IsOK(res1
)) {
28837 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_SetPageSizeMM" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28839 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
28840 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
28841 if (!SWIG_IsOK(ecode2
)) {
28842 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Printout_SetPageSizeMM" "', expected argument " "2"" of type '" "int""'");
28844 arg2
= static_cast< int >(val2
);
28845 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
28846 if (!SWIG_IsOK(ecode3
)) {
28847 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Printout_SetPageSizeMM" "', expected argument " "3"" of type '" "int""'");
28849 arg3
= static_cast< int >(val3
);
28851 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28852 (arg1
)->SetPageSizeMM(arg2
,arg3
);
28853 wxPyEndAllowThreads(__tstate
);
28854 if (PyErr_Occurred()) SWIG_fail
;
28856 resultobj
= SWIG_Py_Void();
28863 SWIGINTERN PyObject
*_wrap_Printout_GetPageSizeMM(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28864 PyObject
*resultobj
= 0;
28865 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
28866 int *arg2
= (int *) 0 ;
28867 int *arg3
= (int *) 0 ;
28871 int res2
= SWIG_TMPOBJ
;
28873 int res3
= SWIG_TMPOBJ
;
28874 PyObject
*swig_obj
[1] ;
28878 if (!args
) SWIG_fail
;
28879 swig_obj
[0] = args
;
28880 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
28881 if (!SWIG_IsOK(res1
)) {
28882 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_GetPageSizeMM" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28884 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
28886 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28887 (arg1
)->GetPageSizeMM(arg2
,arg3
);
28888 wxPyEndAllowThreads(__tstate
);
28889 if (PyErr_Occurred()) SWIG_fail
;
28891 resultobj
= SWIG_Py_Void();
28892 if (SWIG_IsTmpObj(res2
)) {
28893 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
28895 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
28896 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
28898 if (SWIG_IsTmpObj(res3
)) {
28899 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
28901 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
28902 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
28910 SWIGINTERN PyObject
*_wrap_Printout_SetPPIScreen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28911 PyObject
*resultobj
= 0;
28912 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
28921 PyObject
* obj0
= 0 ;
28922 PyObject
* obj1
= 0 ;
28923 PyObject
* obj2
= 0 ;
28924 char * kwnames
[] = {
28925 (char *) "self",(char *) "x",(char *) "y", NULL
28928 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Printout_SetPPIScreen",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
28929 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
28930 if (!SWIG_IsOK(res1
)) {
28931 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_SetPPIScreen" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28933 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
28934 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
28935 if (!SWIG_IsOK(ecode2
)) {
28936 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Printout_SetPPIScreen" "', expected argument " "2"" of type '" "int""'");
28938 arg2
= static_cast< int >(val2
);
28939 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
28940 if (!SWIG_IsOK(ecode3
)) {
28941 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Printout_SetPPIScreen" "', expected argument " "3"" of type '" "int""'");
28943 arg3
= static_cast< int >(val3
);
28945 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28946 (arg1
)->SetPPIScreen(arg2
,arg3
);
28947 wxPyEndAllowThreads(__tstate
);
28948 if (PyErr_Occurred()) SWIG_fail
;
28950 resultobj
= SWIG_Py_Void();
28957 SWIGINTERN PyObject
*_wrap_Printout_GetPPIScreen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28958 PyObject
*resultobj
= 0;
28959 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
28960 int *arg2
= (int *) 0 ;
28961 int *arg3
= (int *) 0 ;
28965 int res2
= SWIG_TMPOBJ
;
28967 int res3
= SWIG_TMPOBJ
;
28968 PyObject
*swig_obj
[1] ;
28972 if (!args
) SWIG_fail
;
28973 swig_obj
[0] = args
;
28974 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
28975 if (!SWIG_IsOK(res1
)) {
28976 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_GetPPIScreen" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28978 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
28980 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28981 (arg1
)->GetPPIScreen(arg2
,arg3
);
28982 wxPyEndAllowThreads(__tstate
);
28983 if (PyErr_Occurred()) SWIG_fail
;
28985 resultobj
= SWIG_Py_Void();
28986 if (SWIG_IsTmpObj(res2
)) {
28987 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
28989 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
28990 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
28992 if (SWIG_IsTmpObj(res3
)) {
28993 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
28995 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
28996 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
29004 SWIGINTERN PyObject
*_wrap_Printout_SetPPIPrinter(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29005 PyObject
*resultobj
= 0;
29006 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
29015 PyObject
* obj0
= 0 ;
29016 PyObject
* obj1
= 0 ;
29017 PyObject
* obj2
= 0 ;
29018 char * kwnames
[] = {
29019 (char *) "self",(char *) "x",(char *) "y", NULL
29022 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Printout_SetPPIPrinter",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
29023 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
29024 if (!SWIG_IsOK(res1
)) {
29025 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_SetPPIPrinter" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
29027 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
29028 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
29029 if (!SWIG_IsOK(ecode2
)) {
29030 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Printout_SetPPIPrinter" "', expected argument " "2"" of type '" "int""'");
29032 arg2
= static_cast< int >(val2
);
29033 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
29034 if (!SWIG_IsOK(ecode3
)) {
29035 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Printout_SetPPIPrinter" "', expected argument " "3"" of type '" "int""'");
29037 arg3
= static_cast< int >(val3
);
29039 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29040 (arg1
)->SetPPIPrinter(arg2
,arg3
);
29041 wxPyEndAllowThreads(__tstate
);
29042 if (PyErr_Occurred()) SWIG_fail
;
29044 resultobj
= SWIG_Py_Void();
29051 SWIGINTERN PyObject
*_wrap_Printout_GetPPIPrinter(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29052 PyObject
*resultobj
= 0;
29053 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
29054 int *arg2
= (int *) 0 ;
29055 int *arg3
= (int *) 0 ;
29059 int res2
= SWIG_TMPOBJ
;
29061 int res3
= SWIG_TMPOBJ
;
29062 PyObject
*swig_obj
[1] ;
29066 if (!args
) SWIG_fail
;
29067 swig_obj
[0] = args
;
29068 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
29069 if (!SWIG_IsOK(res1
)) {
29070 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_GetPPIPrinter" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
29072 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
29074 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29075 (arg1
)->GetPPIPrinter(arg2
,arg3
);
29076 wxPyEndAllowThreads(__tstate
);
29077 if (PyErr_Occurred()) SWIG_fail
;
29079 resultobj
= SWIG_Py_Void();
29080 if (SWIG_IsTmpObj(res2
)) {
29081 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
29083 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
29084 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
29086 if (SWIG_IsTmpObj(res3
)) {
29087 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
29089 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
29090 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
29098 SWIGINTERN PyObject
*_wrap_Printout_SetPaperRectPixels(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29099 PyObject
*resultobj
= 0;
29100 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
29105 PyObject
* obj0
= 0 ;
29106 PyObject
* obj1
= 0 ;
29107 char * kwnames
[] = {
29108 (char *) "self",(char *) "paperRectPixels", NULL
29111 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Printout_SetPaperRectPixels",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29112 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
29113 if (!SWIG_IsOK(res1
)) {
29114 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_SetPaperRectPixels" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
29116 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
29119 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
29122 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29123 (arg1
)->SetPaperRectPixels((wxRect
const &)*arg2
);
29124 wxPyEndAllowThreads(__tstate
);
29125 if (PyErr_Occurred()) SWIG_fail
;
29127 resultobj
= SWIG_Py_Void();
29134 SWIGINTERN PyObject
*_wrap_Printout_GetPaperRectPixels(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29135 PyObject
*resultobj
= 0;
29136 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
29140 PyObject
*swig_obj
[1] ;
29142 if (!args
) SWIG_fail
;
29143 swig_obj
[0] = args
;
29144 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
29145 if (!SWIG_IsOK(res1
)) {
29146 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_GetPaperRectPixels" "', expected argument " "1"" of type '" "wxPyPrintout const *""'");
29148 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
29150 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29151 result
= ((wxPyPrintout
const *)arg1
)->GetPaperRectPixels();
29152 wxPyEndAllowThreads(__tstate
);
29153 if (PyErr_Occurred()) SWIG_fail
;
29155 resultobj
= SWIG_NewPointerObj((new wxRect(static_cast< const wxRect
& >(result
))), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN
| 0 );
29162 SWIGINTERN PyObject
*_wrap_Printout_IsPreview(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29163 PyObject
*resultobj
= 0;
29164 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
29168 PyObject
*swig_obj
[1] ;
29170 if (!args
) SWIG_fail
;
29171 swig_obj
[0] = args
;
29172 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
29173 if (!SWIG_IsOK(res1
)) {
29174 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_IsPreview" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
29176 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
29178 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29179 result
= (bool)(arg1
)->IsPreview();
29180 wxPyEndAllowThreads(__tstate
);
29181 if (PyErr_Occurred()) SWIG_fail
;
29184 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29192 SWIGINTERN PyObject
*_wrap_Printout_SetIsPreview(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29193 PyObject
*resultobj
= 0;
29194 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
29200 PyObject
* obj0
= 0 ;
29201 PyObject
* obj1
= 0 ;
29202 char * kwnames
[] = {
29203 (char *) "self",(char *) "p", NULL
29206 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Printout_SetIsPreview",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29207 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
29208 if (!SWIG_IsOK(res1
)) {
29209 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_SetIsPreview" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
29211 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
29212 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
29213 if (!SWIG_IsOK(ecode2
)) {
29214 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Printout_SetIsPreview" "', expected argument " "2"" of type '" "bool""'");
29216 arg2
= static_cast< bool >(val2
);
29218 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29219 (arg1
)->SetIsPreview(arg2
);
29220 wxPyEndAllowThreads(__tstate
);
29221 if (PyErr_Occurred()) SWIG_fail
;
29223 resultobj
= SWIG_Py_Void();
29230 SWIGINTERN PyObject
*_wrap_Printout_OnBeginDocument(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29231 PyObject
*resultobj
= 0;
29232 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
29242 PyObject
* obj0
= 0 ;
29243 PyObject
* obj1
= 0 ;
29244 PyObject
* obj2
= 0 ;
29245 char * kwnames
[] = {
29246 (char *) "self",(char *) "startPage",(char *) "endPage", NULL
29249 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Printout_OnBeginDocument",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
29250 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
29251 if (!SWIG_IsOK(res1
)) {
29252 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_OnBeginDocument" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
29254 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
29255 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
29256 if (!SWIG_IsOK(ecode2
)) {
29257 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Printout_OnBeginDocument" "', expected argument " "2"" of type '" "int""'");
29259 arg2
= static_cast< int >(val2
);
29260 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
29261 if (!SWIG_IsOK(ecode3
)) {
29262 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Printout_OnBeginDocument" "', expected argument " "3"" of type '" "int""'");
29264 arg3
= static_cast< int >(val3
);
29266 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29267 result
= (bool)(arg1
)->OnBeginDocument(arg2
,arg3
);
29268 wxPyEndAllowThreads(__tstate
);
29269 if (PyErr_Occurred()) SWIG_fail
;
29272 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29280 SWIGINTERN PyObject
*_wrap_Printout_OnEndDocument(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29281 PyObject
*resultobj
= 0;
29282 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
29285 PyObject
*swig_obj
[1] ;
29287 if (!args
) SWIG_fail
;
29288 swig_obj
[0] = args
;
29289 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
29290 if (!SWIG_IsOK(res1
)) {
29291 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_OnEndDocument" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
29293 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
29295 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29296 (arg1
)->OnEndDocument();
29297 wxPyEndAllowThreads(__tstate
);
29298 if (PyErr_Occurred()) SWIG_fail
;
29300 resultobj
= SWIG_Py_Void();
29307 SWIGINTERN PyObject
*_wrap_Printout_OnBeginPrinting(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29308 PyObject
*resultobj
= 0;
29309 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
29312 PyObject
*swig_obj
[1] ;
29314 if (!args
) SWIG_fail
;
29315 swig_obj
[0] = args
;
29316 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
29317 if (!SWIG_IsOK(res1
)) {
29318 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_OnBeginPrinting" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
29320 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
29322 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29323 (arg1
)->OnBeginPrinting();
29324 wxPyEndAllowThreads(__tstate
);
29325 if (PyErr_Occurred()) SWIG_fail
;
29327 resultobj
= SWIG_Py_Void();
29334 SWIGINTERN PyObject
*_wrap_Printout_OnEndPrinting(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29335 PyObject
*resultobj
= 0;
29336 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
29339 PyObject
*swig_obj
[1] ;
29341 if (!args
) SWIG_fail
;
29342 swig_obj
[0] = args
;
29343 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
29344 if (!SWIG_IsOK(res1
)) {
29345 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_OnEndPrinting" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
29347 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
29349 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29350 (arg1
)->OnEndPrinting();
29351 wxPyEndAllowThreads(__tstate
);
29352 if (PyErr_Occurred()) SWIG_fail
;
29354 resultobj
= SWIG_Py_Void();
29361 SWIGINTERN PyObject
*_wrap_Printout_OnPreparePrinting(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29362 PyObject
*resultobj
= 0;
29363 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
29366 PyObject
*swig_obj
[1] ;
29368 if (!args
) SWIG_fail
;
29369 swig_obj
[0] = args
;
29370 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
29371 if (!SWIG_IsOK(res1
)) {
29372 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_OnPreparePrinting" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
29374 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
29376 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29377 (arg1
)->OnPreparePrinting();
29378 wxPyEndAllowThreads(__tstate
);
29379 if (PyErr_Occurred()) SWIG_fail
;
29381 resultobj
= SWIG_Py_Void();
29388 SWIGINTERN PyObject
*_wrap_Printout_HasPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29389 PyObject
*resultobj
= 0;
29390 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
29397 PyObject
* obj0
= 0 ;
29398 PyObject
* obj1
= 0 ;
29399 char * kwnames
[] = {
29400 (char *) "self",(char *) "page", NULL
29403 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Printout_HasPage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29404 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
29405 if (!SWIG_IsOK(res1
)) {
29406 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_HasPage" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
29408 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
29409 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
29410 if (!SWIG_IsOK(ecode2
)) {
29411 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Printout_HasPage" "', expected argument " "2"" of type '" "int""'");
29413 arg2
= static_cast< int >(val2
);
29415 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29416 result
= (bool)(arg1
)->HasPage(arg2
);
29417 wxPyEndAllowThreads(__tstate
);
29418 if (PyErr_Occurred()) SWIG_fail
;
29421 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29429 SWIGINTERN PyObject
*_wrap_Printout_GetPageInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29430 PyObject
*resultobj
= 0;
29431 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
29432 int *arg2
= (int *) 0 ;
29433 int *arg3
= (int *) 0 ;
29434 int *arg4
= (int *) 0 ;
29435 int *arg5
= (int *) 0 ;
29439 int res2
= SWIG_TMPOBJ
;
29441 int res3
= SWIG_TMPOBJ
;
29443 int res4
= SWIG_TMPOBJ
;
29445 int res5
= SWIG_TMPOBJ
;
29446 PyObject
*swig_obj
[1] ;
29452 if (!args
) SWIG_fail
;
29453 swig_obj
[0] = args
;
29454 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
29455 if (!SWIG_IsOK(res1
)) {
29456 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_GetPageInfo" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
29458 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
29460 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29461 (arg1
)->GetPageInfo(arg2
,arg3
,arg4
,arg5
);
29462 wxPyEndAllowThreads(__tstate
);
29463 if (PyErr_Occurred()) SWIG_fail
;
29465 resultobj
= SWIG_Py_Void();
29466 if (SWIG_IsTmpObj(res2
)) {
29467 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
29469 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
29470 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
29472 if (SWIG_IsTmpObj(res3
)) {
29473 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
29475 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
29476 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
29478 if (SWIG_IsTmpObj(res4
)) {
29479 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg4
)));
29481 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
29482 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, new_flags
));
29484 if (SWIG_IsTmpObj(res5
)) {
29485 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg5
)));
29487 int new_flags
= SWIG_IsNewObj(res5
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
29488 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg5
), SWIGTYPE_p_int
, new_flags
));
29496 SWIGINTERN PyObject
*Printout_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29498 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
29499 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyPrintout
, SWIG_NewClientData(obj
));
29500 return SWIG_Py_Void();
29503 SWIGINTERN PyObject
*Printout_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29504 return SWIG_Python_InitShadowInstance(args
);
29507 SWIGINTERN PyObject
*_wrap_new_PreviewCanvas(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29508 PyObject
*resultobj
= 0;
29509 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
29510 wxWindow
*arg2
= (wxWindow
*) 0 ;
29511 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
29512 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
29513 wxSize
const &arg4_defvalue
= wxDefaultSize
;
29514 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
29515 long arg5
= (long) 0 ;
29516 wxString
const &arg6_defvalue
= wxPyPreviewCanvasNameStr
;
29517 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
29518 wxPreviewCanvas
*result
= 0 ;
29527 bool temp6
= false ;
29528 PyObject
* obj0
= 0 ;
29529 PyObject
* obj1
= 0 ;
29530 PyObject
* obj2
= 0 ;
29531 PyObject
* obj3
= 0 ;
29532 PyObject
* obj4
= 0 ;
29533 PyObject
* obj5
= 0 ;
29534 char * kwnames
[] = {
29535 (char *) "preview",(char *) "parent",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
29538 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:new_PreviewCanvas",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
29539 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
29540 if (!SWIG_IsOK(res1
)) {
29541 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PreviewCanvas" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29543 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
29544 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
29545 if (!SWIG_IsOK(res2
)) {
29546 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_PreviewCanvas" "', expected argument " "2"" of type '" "wxWindow *""'");
29548 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
29552 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
29558 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
29562 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
29563 if (!SWIG_IsOK(ecode5
)) {
29564 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_PreviewCanvas" "', expected argument " "5"" of type '" "long""'");
29566 arg5
= static_cast< long >(val5
);
29570 arg6
= wxString_in_helper(obj5
);
29571 if (arg6
== NULL
) SWIG_fail
;
29576 if (!wxPyCheckForApp()) SWIG_fail
;
29577 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29578 result
= (wxPreviewCanvas
*)new wxPreviewCanvas(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
29579 wxPyEndAllowThreads(__tstate
);
29580 if (PyErr_Occurred()) SWIG_fail
;
29582 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPreviewCanvas
, SWIG_POINTER_NEW
| 0 );
29597 SWIGINTERN PyObject
*PreviewCanvas_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29599 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
29600 SWIG_TypeNewClientData(SWIGTYPE_p_wxPreviewCanvas
, SWIG_NewClientData(obj
));
29601 return SWIG_Py_Void();
29604 SWIGINTERN PyObject
*PreviewCanvas_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29605 return SWIG_Python_InitShadowInstance(args
);
29608 SWIGINTERN PyObject
*_wrap_new_PreviewFrame(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29609 PyObject
*resultobj
= 0;
29610 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
29611 wxFrame
*arg2
= (wxFrame
*) 0 ;
29612 wxString
*arg3
= 0 ;
29613 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
29614 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
29615 wxSize
const &arg5_defvalue
= wxDefaultSize
;
29616 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
29617 long arg6
= (long) wxDEFAULT_FRAME_STYLE
;
29618 wxString
const &arg7_defvalue
= wxPyFrameNameStr
;
29619 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
29620 wxPreviewFrame
*result
= 0 ;
29624 bool temp3
= false ;
29629 bool temp7
= false ;
29630 PyObject
* obj0
= 0 ;
29631 PyObject
* obj1
= 0 ;
29632 PyObject
* obj2
= 0 ;
29633 PyObject
* obj3
= 0 ;
29634 PyObject
* obj4
= 0 ;
29635 PyObject
* obj5
= 0 ;
29636 PyObject
* obj6
= 0 ;
29637 char * kwnames
[] = {
29638 (char *) "preview",(char *) "parent",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
29641 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:new_PreviewFrame",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
29642 res1
= SWIG_ConvertPtr(obj0
, SWIG_as_voidptrptr(&arg1
), SWIGTYPE_p_wxPrintPreview
, SWIG_POINTER_DISOWN
| 0 );
29643 if (!SWIG_IsOK(res1
)) {
29644 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PreviewFrame" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29646 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxFrame
, 0 | 0 );
29647 if (!SWIG_IsOK(res2
)) {
29648 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_PreviewFrame" "', expected argument " "2"" of type '" "wxFrame *""'");
29650 arg2
= reinterpret_cast< wxFrame
* >(argp2
);
29652 arg3
= wxString_in_helper(obj2
);
29653 if (arg3
== NULL
) SWIG_fail
;
29659 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
29665 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
29669 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
29670 if (!SWIG_IsOK(ecode6
)) {
29671 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_PreviewFrame" "', expected argument " "6"" of type '" "long""'");
29673 arg6
= static_cast< long >(val6
);
29677 arg7
= wxString_in_helper(obj6
);
29678 if (arg7
== NULL
) SWIG_fail
;
29683 if (!wxPyCheckForApp()) SWIG_fail
;
29684 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29685 result
= (wxPreviewFrame
*)new wxPreviewFrame(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
29686 wxPyEndAllowThreads(__tstate
);
29687 if (PyErr_Occurred()) SWIG_fail
;
29689 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPreviewFrame
, SWIG_POINTER_NEW
| 0 );
29712 SWIGINTERN PyObject
*_wrap_PreviewFrame_Initialize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29713 PyObject
*resultobj
= 0;
29714 wxPreviewFrame
*arg1
= (wxPreviewFrame
*) 0 ;
29717 PyObject
*swig_obj
[1] ;
29719 if (!args
) SWIG_fail
;
29720 swig_obj
[0] = args
;
29721 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPreviewFrame
, 0 | 0 );
29722 if (!SWIG_IsOK(res1
)) {
29723 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PreviewFrame_Initialize" "', expected argument " "1"" of type '" "wxPreviewFrame *""'");
29725 arg1
= reinterpret_cast< wxPreviewFrame
* >(argp1
);
29727 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29728 (arg1
)->Initialize();
29729 wxPyEndAllowThreads(__tstate
);
29730 if (PyErr_Occurred()) SWIG_fail
;
29732 resultobj
= SWIG_Py_Void();
29739 SWIGINTERN PyObject
*_wrap_PreviewFrame_CreateControlBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29740 PyObject
*resultobj
= 0;
29741 wxPreviewFrame
*arg1
= (wxPreviewFrame
*) 0 ;
29744 PyObject
*swig_obj
[1] ;
29746 if (!args
) SWIG_fail
;
29747 swig_obj
[0] = args
;
29748 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPreviewFrame
, 0 | 0 );
29749 if (!SWIG_IsOK(res1
)) {
29750 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PreviewFrame_CreateControlBar" "', expected argument " "1"" of type '" "wxPreviewFrame *""'");
29752 arg1
= reinterpret_cast< wxPreviewFrame
* >(argp1
);
29754 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29755 (arg1
)->CreateControlBar();
29756 wxPyEndAllowThreads(__tstate
);
29757 if (PyErr_Occurred()) SWIG_fail
;
29759 resultobj
= SWIG_Py_Void();
29766 SWIGINTERN PyObject
*_wrap_PreviewFrame_CreateCanvas(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29767 PyObject
*resultobj
= 0;
29768 wxPreviewFrame
*arg1
= (wxPreviewFrame
*) 0 ;
29771 PyObject
*swig_obj
[1] ;
29773 if (!args
) SWIG_fail
;
29774 swig_obj
[0] = args
;
29775 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPreviewFrame
, 0 | 0 );
29776 if (!SWIG_IsOK(res1
)) {
29777 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PreviewFrame_CreateCanvas" "', expected argument " "1"" of type '" "wxPreviewFrame *""'");
29779 arg1
= reinterpret_cast< wxPreviewFrame
* >(argp1
);
29781 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29782 (arg1
)->CreateCanvas();
29783 wxPyEndAllowThreads(__tstate
);
29784 if (PyErr_Occurred()) SWIG_fail
;
29786 resultobj
= SWIG_Py_Void();
29793 SWIGINTERN PyObject
*_wrap_PreviewFrame_GetControlBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29794 PyObject
*resultobj
= 0;
29795 wxPreviewFrame
*arg1
= (wxPreviewFrame
*) 0 ;
29796 wxPreviewControlBar
*result
= 0 ;
29799 PyObject
*swig_obj
[1] ;
29801 if (!args
) SWIG_fail
;
29802 swig_obj
[0] = args
;
29803 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPreviewFrame
, 0 | 0 );
29804 if (!SWIG_IsOK(res1
)) {
29805 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PreviewFrame_GetControlBar" "', expected argument " "1"" of type '" "wxPreviewFrame const *""'");
29807 arg1
= reinterpret_cast< wxPreviewFrame
* >(argp1
);
29809 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29810 result
= (wxPreviewControlBar
*)((wxPreviewFrame
const *)arg1
)->GetControlBar();
29811 wxPyEndAllowThreads(__tstate
);
29812 if (PyErr_Occurred()) SWIG_fail
;
29814 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPreviewControlBar
, 0 | 0 );
29821 SWIGINTERN PyObject
*PreviewFrame_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29823 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
29824 SWIG_TypeNewClientData(SWIGTYPE_p_wxPreviewFrame
, SWIG_NewClientData(obj
));
29825 return SWIG_Py_Void();
29828 SWIGINTERN PyObject
*PreviewFrame_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29829 return SWIG_Python_InitShadowInstance(args
);
29832 SWIGINTERN PyObject
*_wrap_new_PreviewControlBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29833 PyObject
*resultobj
= 0;
29834 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
29836 wxWindow
*arg3
= (wxWindow
*) 0 ;
29837 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
29838 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
29839 wxSize
const &arg5_defvalue
= wxDefaultSize
;
29840 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
29841 long arg6
= (long) wxTAB_TRAVERSAL
;
29842 wxString
const &arg7_defvalue
= wxPyPanelNameStr
;
29843 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
29844 wxPreviewControlBar
*result
= 0 ;
29855 bool temp7
= false ;
29856 PyObject
* obj0
= 0 ;
29857 PyObject
* obj1
= 0 ;
29858 PyObject
* obj2
= 0 ;
29859 PyObject
* obj3
= 0 ;
29860 PyObject
* obj4
= 0 ;
29861 PyObject
* obj5
= 0 ;
29862 PyObject
* obj6
= 0 ;
29863 char * kwnames
[] = {
29864 (char *) "preview",(char *) "buttons",(char *) "parent",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
29867 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:new_PreviewControlBar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
29868 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
29869 if (!SWIG_IsOK(res1
)) {
29870 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PreviewControlBar" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29872 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
29873 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
29874 if (!SWIG_IsOK(ecode2
)) {
29875 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_PreviewControlBar" "', expected argument " "2"" of type '" "long""'");
29877 arg2
= static_cast< long >(val2
);
29878 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxWindow
, 0 | 0 );
29879 if (!SWIG_IsOK(res3
)) {
29880 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "new_PreviewControlBar" "', expected argument " "3"" of type '" "wxWindow *""'");
29882 arg3
= reinterpret_cast< wxWindow
* >(argp3
);
29886 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
29892 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
29896 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
29897 if (!SWIG_IsOK(ecode6
)) {
29898 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_PreviewControlBar" "', expected argument " "6"" of type '" "long""'");
29900 arg6
= static_cast< long >(val6
);
29904 arg7
= wxString_in_helper(obj6
);
29905 if (arg7
== NULL
) SWIG_fail
;
29910 if (!wxPyCheckForApp()) SWIG_fail
;
29911 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29912 result
= (wxPreviewControlBar
*)new wxPreviewControlBar(arg1
,arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
29913 wxPyEndAllowThreads(__tstate
);
29914 if (PyErr_Occurred()) SWIG_fail
;
29916 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPreviewControlBar
, SWIG_POINTER_NEW
| 0 );
29931 SWIGINTERN PyObject
*_wrap_PreviewControlBar_GetZoomControl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29932 PyObject
*resultobj
= 0;
29933 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 0 ;
29937 PyObject
*swig_obj
[1] ;
29939 if (!args
) SWIG_fail
;
29940 swig_obj
[0] = args
;
29941 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPreviewControlBar
, 0 | 0 );
29942 if (!SWIG_IsOK(res1
)) {
29943 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PreviewControlBar_GetZoomControl" "', expected argument " "1"" of type '" "wxPreviewControlBar *""'");
29945 arg1
= reinterpret_cast< wxPreviewControlBar
* >(argp1
);
29947 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29948 result
= (int)(arg1
)->GetZoomControl();
29949 wxPyEndAllowThreads(__tstate
);
29950 if (PyErr_Occurred()) SWIG_fail
;
29952 resultobj
= SWIG_From_int(static_cast< int >(result
));
29959 SWIGINTERN PyObject
*_wrap_PreviewControlBar_SetZoomControl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29960 PyObject
*resultobj
= 0;
29961 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 0 ;
29967 PyObject
* obj0
= 0 ;
29968 PyObject
* obj1
= 0 ;
29969 char * kwnames
[] = {
29970 (char *) "self",(char *) "zoom", NULL
29973 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PreviewControlBar_SetZoomControl",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29974 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPreviewControlBar
, 0 | 0 );
29975 if (!SWIG_IsOK(res1
)) {
29976 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PreviewControlBar_SetZoomControl" "', expected argument " "1"" of type '" "wxPreviewControlBar *""'");
29978 arg1
= reinterpret_cast< wxPreviewControlBar
* >(argp1
);
29979 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
29980 if (!SWIG_IsOK(ecode2
)) {
29981 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PreviewControlBar_SetZoomControl" "', expected argument " "2"" of type '" "int""'");
29983 arg2
= static_cast< int >(val2
);
29985 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29986 (arg1
)->SetZoomControl(arg2
);
29987 wxPyEndAllowThreads(__tstate
);
29988 if (PyErr_Occurred()) SWIG_fail
;
29990 resultobj
= SWIG_Py_Void();
29997 SWIGINTERN PyObject
*_wrap_PreviewControlBar_GetPrintPreview(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29998 PyObject
*resultobj
= 0;
29999 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 0 ;
30000 wxPrintPreview
*result
= 0 ;
30003 PyObject
*swig_obj
[1] ;
30005 if (!args
) SWIG_fail
;
30006 swig_obj
[0] = args
;
30007 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPreviewControlBar
, 0 | 0 );
30008 if (!SWIG_IsOK(res1
)) {
30009 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PreviewControlBar_GetPrintPreview" "', expected argument " "1"" of type '" "wxPreviewControlBar *""'");
30011 arg1
= reinterpret_cast< wxPreviewControlBar
* >(argp1
);
30013 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30014 result
= (wxPrintPreview
*)(arg1
)->GetPrintPreview();
30015 wxPyEndAllowThreads(__tstate
);
30016 if (PyErr_Occurred()) SWIG_fail
;
30018 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
30025 SWIGINTERN PyObject
*_wrap_PreviewControlBar_OnNext(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30026 PyObject
*resultobj
= 0;
30027 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 0 ;
30030 PyObject
*swig_obj
[1] ;
30032 if (!args
) SWIG_fail
;
30033 swig_obj
[0] = args
;
30034 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPreviewControlBar
, 0 | 0 );
30035 if (!SWIG_IsOK(res1
)) {
30036 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PreviewControlBar_OnNext" "', expected argument " "1"" of type '" "wxPreviewControlBar *""'");
30038 arg1
= reinterpret_cast< wxPreviewControlBar
* >(argp1
);
30040 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30042 wxPyEndAllowThreads(__tstate
);
30043 if (PyErr_Occurred()) SWIG_fail
;
30045 resultobj
= SWIG_Py_Void();
30052 SWIGINTERN PyObject
*_wrap_PreviewControlBar_OnPrevious(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30053 PyObject
*resultobj
= 0;
30054 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 0 ;
30057 PyObject
*swig_obj
[1] ;
30059 if (!args
) SWIG_fail
;
30060 swig_obj
[0] = args
;
30061 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPreviewControlBar
, 0 | 0 );
30062 if (!SWIG_IsOK(res1
)) {
30063 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PreviewControlBar_OnPrevious" "', expected argument " "1"" of type '" "wxPreviewControlBar *""'");
30065 arg1
= reinterpret_cast< wxPreviewControlBar
* >(argp1
);
30067 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30068 (arg1
)->OnPrevious();
30069 wxPyEndAllowThreads(__tstate
);
30070 if (PyErr_Occurred()) SWIG_fail
;
30072 resultobj
= SWIG_Py_Void();
30079 SWIGINTERN PyObject
*_wrap_PreviewControlBar_OnFirst(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30080 PyObject
*resultobj
= 0;
30081 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 0 ;
30084 PyObject
*swig_obj
[1] ;
30086 if (!args
) SWIG_fail
;
30087 swig_obj
[0] = args
;
30088 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPreviewControlBar
, 0 | 0 );
30089 if (!SWIG_IsOK(res1
)) {
30090 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PreviewControlBar_OnFirst" "', expected argument " "1"" of type '" "wxPreviewControlBar *""'");
30092 arg1
= reinterpret_cast< wxPreviewControlBar
* >(argp1
);
30094 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30096 wxPyEndAllowThreads(__tstate
);
30097 if (PyErr_Occurred()) SWIG_fail
;
30099 resultobj
= SWIG_Py_Void();
30106 SWIGINTERN PyObject
*_wrap_PreviewControlBar_OnLast(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30107 PyObject
*resultobj
= 0;
30108 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 0 ;
30111 PyObject
*swig_obj
[1] ;
30113 if (!args
) SWIG_fail
;
30114 swig_obj
[0] = args
;
30115 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPreviewControlBar
, 0 | 0 );
30116 if (!SWIG_IsOK(res1
)) {
30117 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PreviewControlBar_OnLast" "', expected argument " "1"" of type '" "wxPreviewControlBar *""'");
30119 arg1
= reinterpret_cast< wxPreviewControlBar
* >(argp1
);
30121 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30123 wxPyEndAllowThreads(__tstate
);
30124 if (PyErr_Occurred()) SWIG_fail
;
30126 resultobj
= SWIG_Py_Void();
30133 SWIGINTERN PyObject
*_wrap_PreviewControlBar_OnGoto(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30134 PyObject
*resultobj
= 0;
30135 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 0 ;
30138 PyObject
*swig_obj
[1] ;
30140 if (!args
) SWIG_fail
;
30141 swig_obj
[0] = args
;
30142 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPreviewControlBar
, 0 | 0 );
30143 if (!SWIG_IsOK(res1
)) {
30144 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PreviewControlBar_OnGoto" "', expected argument " "1"" of type '" "wxPreviewControlBar *""'");
30146 arg1
= reinterpret_cast< wxPreviewControlBar
* >(argp1
);
30148 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30150 wxPyEndAllowThreads(__tstate
);
30151 if (PyErr_Occurred()) SWIG_fail
;
30153 resultobj
= SWIG_Py_Void();
30160 SWIGINTERN PyObject
*PreviewControlBar_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30162 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
30163 SWIG_TypeNewClientData(SWIGTYPE_p_wxPreviewControlBar
, SWIG_NewClientData(obj
));
30164 return SWIG_Py_Void();
30167 SWIGINTERN PyObject
*PreviewControlBar_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30168 return SWIG_Python_InitShadowInstance(args
);
30171 SWIGINTERN PyObject
*_wrap_new_PrintPreview__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
30172 PyObject
*resultobj
= 0;
30173 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
30174 wxPyPrintout
*arg2
= (wxPyPrintout
*) 0 ;
30175 wxPrintDialogData
*arg3
= (wxPrintDialogData
*) NULL
;
30176 wxPrintPreview
*result
= 0 ;
30182 if ((nobjs
< 2) || (nobjs
> 3)) SWIG_fail
;
30183 res1
= SWIG_ConvertPtr(swig_obj
[0], SWIG_as_voidptrptr(&arg1
), SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_DISOWN
| 0 );
30184 if (!SWIG_IsOK(res1
)) {
30185 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PrintPreview" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
30187 res2
= SWIG_ConvertPtr(swig_obj
[1], SWIG_as_voidptrptr(&arg2
), SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_DISOWN
| 0 );
30188 if (!SWIG_IsOK(res2
)) {
30189 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_PrintPreview" "', expected argument " "2"" of type '" "wxPyPrintout *""'");
30192 res3
= SWIG_ConvertPtr(swig_obj
[2], &argp3
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
30193 if (!SWIG_IsOK(res3
)) {
30194 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "new_PrintPreview" "', expected argument " "3"" of type '" "wxPrintDialogData *""'");
30196 arg3
= reinterpret_cast< wxPrintDialogData
* >(argp3
);
30199 if (!wxPyCheckForApp()) SWIG_fail
;
30200 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30201 result
= (wxPrintPreview
*)new wxPrintPreview(arg1
,arg2
,arg3
);
30202 wxPyEndAllowThreads(__tstate
);
30203 if (PyErr_Occurred()) SWIG_fail
;
30205 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPrintPreview
, SWIG_POINTER_NEW
| 0 );
30212 SWIGINTERN PyObject
*_wrap_new_PrintPreview__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
30213 PyObject
*resultobj
= 0;
30214 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
30215 wxPyPrintout
*arg2
= (wxPyPrintout
*) 0 ;
30216 wxPrintData
*arg3
= (wxPrintData
*) 0 ;
30217 wxPrintPreview
*result
= 0 ;
30223 if ((nobjs
< 3) || (nobjs
> 3)) SWIG_fail
;
30224 res1
= SWIG_ConvertPtr(swig_obj
[0], SWIG_as_voidptrptr(&arg1
), SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_DISOWN
| 0 );
30225 if (!SWIG_IsOK(res1
)) {
30226 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PrintPreview" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
30228 res2
= SWIG_ConvertPtr(swig_obj
[1], SWIG_as_voidptrptr(&arg2
), SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_DISOWN
| 0 );
30229 if (!SWIG_IsOK(res2
)) {
30230 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_PrintPreview" "', expected argument " "2"" of type '" "wxPyPrintout *""'");
30232 res3
= SWIG_ConvertPtr(swig_obj
[2], &argp3
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
30233 if (!SWIG_IsOK(res3
)) {
30234 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "new_PrintPreview" "', expected argument " "3"" of type '" "wxPrintData *""'");
30236 arg3
= reinterpret_cast< wxPrintData
* >(argp3
);
30238 if (!wxPyCheckForApp()) SWIG_fail
;
30239 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30240 result
= (wxPrintPreview
*)new wxPrintPreview(arg1
,arg2
,arg3
);
30241 wxPyEndAllowThreads(__tstate
);
30242 if (PyErr_Occurred()) SWIG_fail
;
30244 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPrintPreview
, SWIG_POINTER_NEW
| 0 );
30251 SWIGINTERN PyObject
*_wrap_new_PrintPreview(PyObject
*self
, PyObject
*args
) {
30255 if (!(argc
= SWIG_Python_UnpackTuple(args
,"new_PrintPreview",0,3,argv
))) SWIG_fail
;
30257 if ((argc
>= 2) && (argc
<= 3)) {
30262 int res
= SWIG_ConvertPtr(argv
[2], &vptr
, SWIGTYPE_p_wxPrintDialogData
, 0);
30263 _v
= SWIG_CheckState(res
);
30265 if (!_v
) goto check_1
;
30267 return _wrap_new_PrintPreview__SWIG_0(self
, argc
, argv
);
30272 return _wrap_new_PrintPreview__SWIG_1(self
, argc
, argv
);
30276 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'new_PrintPreview'");
30281 SWIGINTERN PyObject
*_wrap_delete_PrintPreview(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30282 PyObject
*resultobj
= 0;
30283 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
30286 PyObject
*swig_obj
[1] ;
30288 if (!args
) SWIG_fail
;
30289 swig_obj
[0] = args
;
30290 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintPreview
, SWIG_POINTER_DISOWN
| 0 );
30291 if (!SWIG_IsOK(res1
)) {
30292 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_PrintPreview" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
30294 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
30296 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30299 wxPyEndAllowThreads(__tstate
);
30300 if (PyErr_Occurred()) SWIG_fail
;
30302 resultobj
= SWIG_Py_Void();
30309 SWIGINTERN PyObject
*_wrap_PrintPreview_SetCurrentPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30310 PyObject
*resultobj
= 0;
30311 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
30318 PyObject
* obj0
= 0 ;
30319 PyObject
* obj1
= 0 ;
30320 char * kwnames
[] = {
30321 (char *) "self",(char *) "pageNum", NULL
30324 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_SetCurrentPage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30325 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
30326 if (!SWIG_IsOK(res1
)) {
30327 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_SetCurrentPage" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
30329 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
30330 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
30331 if (!SWIG_IsOK(ecode2
)) {
30332 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintPreview_SetCurrentPage" "', expected argument " "2"" of type '" "int""'");
30334 arg2
= static_cast< int >(val2
);
30336 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30337 result
= (bool)(arg1
)->SetCurrentPage(arg2
);
30338 wxPyEndAllowThreads(__tstate
);
30339 if (PyErr_Occurred()) SWIG_fail
;
30342 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30350 SWIGINTERN PyObject
*_wrap_PrintPreview_GetCurrentPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30351 PyObject
*resultobj
= 0;
30352 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
30356 PyObject
*swig_obj
[1] ;
30358 if (!args
) SWIG_fail
;
30359 swig_obj
[0] = args
;
30360 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
30361 if (!SWIG_IsOK(res1
)) {
30362 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_GetCurrentPage" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
30364 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
30366 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30367 result
= (int)(arg1
)->GetCurrentPage();
30368 wxPyEndAllowThreads(__tstate
);
30369 if (PyErr_Occurred()) SWIG_fail
;
30371 resultobj
= SWIG_From_int(static_cast< int >(result
));
30378 SWIGINTERN PyObject
*_wrap_PrintPreview_SetPrintout(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30379 PyObject
*resultobj
= 0;
30380 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
30381 wxPyPrintout
*arg2
= (wxPyPrintout
*) 0 ;
30385 PyObject
* obj0
= 0 ;
30386 PyObject
* obj1
= 0 ;
30387 char * kwnames
[] = {
30388 (char *) "self",(char *) "printout", NULL
30391 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_SetPrintout",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30392 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
30393 if (!SWIG_IsOK(res1
)) {
30394 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_SetPrintout" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
30396 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
30397 res2
= SWIG_ConvertPtr(obj1
, SWIG_as_voidptrptr(&arg2
), SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_DISOWN
| 0 );
30398 if (!SWIG_IsOK(res2
)) {
30399 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PrintPreview_SetPrintout" "', expected argument " "2"" of type '" "wxPyPrintout *""'");
30402 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30403 (arg1
)->SetPrintout(arg2
);
30404 wxPyEndAllowThreads(__tstate
);
30405 if (PyErr_Occurred()) SWIG_fail
;
30407 resultobj
= SWIG_Py_Void();
30414 SWIGINTERN PyObject
*_wrap_PrintPreview_GetPrintout(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30415 PyObject
*resultobj
= 0;
30416 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
30417 wxPyPrintout
*result
= 0 ;
30420 PyObject
*swig_obj
[1] ;
30422 if (!args
) SWIG_fail
;
30423 swig_obj
[0] = args
;
30424 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
30425 if (!SWIG_IsOK(res1
)) {
30426 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_GetPrintout" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
30428 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
30430 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30431 result
= (wxPyPrintout
*)(arg1
)->GetPrintout();
30432 wxPyEndAllowThreads(__tstate
);
30433 if (PyErr_Occurred()) SWIG_fail
;
30436 resultobj
= wxPyMake_wxObject(result
, 0);
30444 SWIGINTERN PyObject
*_wrap_PrintPreview_GetPrintoutForPrinting(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30445 PyObject
*resultobj
= 0;
30446 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
30447 wxPyPrintout
*result
= 0 ;
30450 PyObject
*swig_obj
[1] ;
30452 if (!args
) SWIG_fail
;
30453 swig_obj
[0] = args
;
30454 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
30455 if (!SWIG_IsOK(res1
)) {
30456 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_GetPrintoutForPrinting" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
30458 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
30460 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30461 result
= (wxPyPrintout
*)(arg1
)->GetPrintoutForPrinting();
30462 wxPyEndAllowThreads(__tstate
);
30463 if (PyErr_Occurred()) SWIG_fail
;
30466 resultobj
= wxPyMake_wxObject(result
, 0);
30474 SWIGINTERN PyObject
*_wrap_PrintPreview_SetFrame(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30475 PyObject
*resultobj
= 0;
30476 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
30477 wxFrame
*arg2
= (wxFrame
*) 0 ;
30482 PyObject
* obj0
= 0 ;
30483 PyObject
* obj1
= 0 ;
30484 char * kwnames
[] = {
30485 (char *) "self",(char *) "frame", NULL
30488 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_SetFrame",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30489 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
30490 if (!SWIG_IsOK(res1
)) {
30491 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_SetFrame" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
30493 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
30494 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxFrame
, 0 | 0 );
30495 if (!SWIG_IsOK(res2
)) {
30496 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PrintPreview_SetFrame" "', expected argument " "2"" of type '" "wxFrame *""'");
30498 arg2
= reinterpret_cast< wxFrame
* >(argp2
);
30500 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30501 (arg1
)->SetFrame(arg2
);
30502 wxPyEndAllowThreads(__tstate
);
30503 if (PyErr_Occurred()) SWIG_fail
;
30505 resultobj
= SWIG_Py_Void();
30512 SWIGINTERN PyObject
*_wrap_PrintPreview_SetCanvas(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30513 PyObject
*resultobj
= 0;
30514 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
30515 wxPreviewCanvas
*arg2
= (wxPreviewCanvas
*) 0 ;
30520 PyObject
* obj0
= 0 ;
30521 PyObject
* obj1
= 0 ;
30522 char * kwnames
[] = {
30523 (char *) "self",(char *) "canvas", NULL
30526 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_SetCanvas",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30527 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
30528 if (!SWIG_IsOK(res1
)) {
30529 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_SetCanvas" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
30531 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
30532 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxPreviewCanvas
, 0 | 0 );
30533 if (!SWIG_IsOK(res2
)) {
30534 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PrintPreview_SetCanvas" "', expected argument " "2"" of type '" "wxPreviewCanvas *""'");
30536 arg2
= reinterpret_cast< wxPreviewCanvas
* >(argp2
);
30538 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30539 (arg1
)->SetCanvas(arg2
);
30540 wxPyEndAllowThreads(__tstate
);
30541 if (PyErr_Occurred()) SWIG_fail
;
30543 resultobj
= SWIG_Py_Void();
30550 SWIGINTERN PyObject
*_wrap_PrintPreview_GetFrame(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30551 PyObject
*resultobj
= 0;
30552 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
30553 wxFrame
*result
= 0 ;
30556 PyObject
*swig_obj
[1] ;
30558 if (!args
) SWIG_fail
;
30559 swig_obj
[0] = args
;
30560 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
30561 if (!SWIG_IsOK(res1
)) {
30562 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_GetFrame" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
30564 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
30566 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30567 result
= (wxFrame
*)(arg1
)->GetFrame();
30568 wxPyEndAllowThreads(__tstate
);
30569 if (PyErr_Occurred()) SWIG_fail
;
30572 resultobj
= wxPyMake_wxObject(result
, 0);
30580 SWIGINTERN PyObject
*_wrap_PrintPreview_GetCanvas(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30581 PyObject
*resultobj
= 0;
30582 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
30583 wxPreviewCanvas
*result
= 0 ;
30586 PyObject
*swig_obj
[1] ;
30588 if (!args
) SWIG_fail
;
30589 swig_obj
[0] = args
;
30590 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
30591 if (!SWIG_IsOK(res1
)) {
30592 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_GetCanvas" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
30594 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
30596 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30597 result
= (wxPreviewCanvas
*)(arg1
)->GetCanvas();
30598 wxPyEndAllowThreads(__tstate
);
30599 if (PyErr_Occurred()) SWIG_fail
;
30601 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPreviewCanvas
, 0 | 0 );
30608 SWIGINTERN PyObject
*_wrap_PrintPreview_PaintPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30609 PyObject
*resultobj
= 0;
30610 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
30611 wxPreviewCanvas
*arg2
= (wxPreviewCanvas
*) 0 ;
30620 PyObject
* obj0
= 0 ;
30621 PyObject
* obj1
= 0 ;
30622 PyObject
* obj2
= 0 ;
30623 char * kwnames
[] = {
30624 (char *) "self",(char *) "canvas",(char *) "dc", NULL
30627 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PrintPreview_PaintPage",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
30628 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
30629 if (!SWIG_IsOK(res1
)) {
30630 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_PaintPage" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
30632 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
30633 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxPreviewCanvas
, 0 | 0 );
30634 if (!SWIG_IsOK(res2
)) {
30635 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PrintPreview_PaintPage" "', expected argument " "2"" of type '" "wxPreviewCanvas *""'");
30637 arg2
= reinterpret_cast< wxPreviewCanvas
* >(argp2
);
30638 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
30639 if (!SWIG_IsOK(res3
)) {
30640 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "PrintPreview_PaintPage" "', expected argument " "3"" of type '" "wxDC &""'");
30643 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PrintPreview_PaintPage" "', expected argument " "3"" of type '" "wxDC &""'");
30645 arg3
= reinterpret_cast< wxDC
* >(argp3
);
30647 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30648 result
= (bool)(arg1
)->PaintPage(arg2
,*arg3
);
30649 wxPyEndAllowThreads(__tstate
);
30650 if (PyErr_Occurred()) SWIG_fail
;
30653 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30661 SWIGINTERN PyObject
*_wrap_PrintPreview_DrawBlankPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30662 PyObject
*resultobj
= 0;
30663 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
30664 wxPreviewCanvas
*arg2
= (wxPreviewCanvas
*) 0 ;
30673 PyObject
* obj0
= 0 ;
30674 PyObject
* obj1
= 0 ;
30675 PyObject
* obj2
= 0 ;
30676 char * kwnames
[] = {
30677 (char *) "self",(char *) "canvas",(char *) "dc", NULL
30680 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PrintPreview_DrawBlankPage",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
30681 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
30682 if (!SWIG_IsOK(res1
)) {
30683 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_DrawBlankPage" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
30685 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
30686 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxPreviewCanvas
, 0 | 0 );
30687 if (!SWIG_IsOK(res2
)) {
30688 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PrintPreview_DrawBlankPage" "', expected argument " "2"" of type '" "wxPreviewCanvas *""'");
30690 arg2
= reinterpret_cast< wxPreviewCanvas
* >(argp2
);
30691 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
30692 if (!SWIG_IsOK(res3
)) {
30693 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "PrintPreview_DrawBlankPage" "', expected argument " "3"" of type '" "wxDC &""'");
30696 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PrintPreview_DrawBlankPage" "', expected argument " "3"" of type '" "wxDC &""'");
30698 arg3
= reinterpret_cast< wxDC
* >(argp3
);
30700 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30701 result
= (bool)(arg1
)->DrawBlankPage(arg2
,*arg3
);
30702 wxPyEndAllowThreads(__tstate
);
30703 if (PyErr_Occurred()) SWIG_fail
;
30706 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30714 SWIGINTERN PyObject
*_wrap_PrintPreview_RenderPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30715 PyObject
*resultobj
= 0;
30716 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
30723 PyObject
* obj0
= 0 ;
30724 PyObject
* obj1
= 0 ;
30725 char * kwnames
[] = {
30726 (char *) "self",(char *) "pageNum", NULL
30729 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_RenderPage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30730 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
30731 if (!SWIG_IsOK(res1
)) {
30732 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_RenderPage" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
30734 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
30735 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
30736 if (!SWIG_IsOK(ecode2
)) {
30737 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintPreview_RenderPage" "', expected argument " "2"" of type '" "int""'");
30739 arg2
= static_cast< int >(val2
);
30741 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30742 result
= (bool)(arg1
)->RenderPage(arg2
);
30743 wxPyEndAllowThreads(__tstate
);
30744 if (PyErr_Occurred()) SWIG_fail
;
30747 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30755 SWIGINTERN PyObject
*_wrap_PrintPreview_AdjustScrollbars(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30756 PyObject
*resultobj
= 0;
30757 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
30758 wxPreviewCanvas
*arg2
= (wxPreviewCanvas
*) 0 ;
30763 PyObject
* obj0
= 0 ;
30764 PyObject
* obj1
= 0 ;
30765 char * kwnames
[] = {
30766 (char *) "self",(char *) "canvas", NULL
30769 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_AdjustScrollbars",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30770 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
30771 if (!SWIG_IsOK(res1
)) {
30772 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_AdjustScrollbars" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
30774 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
30775 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxPreviewCanvas
, 0 | 0 );
30776 if (!SWIG_IsOK(res2
)) {
30777 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PrintPreview_AdjustScrollbars" "', expected argument " "2"" of type '" "wxPreviewCanvas *""'");
30779 arg2
= reinterpret_cast< wxPreviewCanvas
* >(argp2
);
30781 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30782 (arg1
)->AdjustScrollbars(arg2
);
30783 wxPyEndAllowThreads(__tstate
);
30784 if (PyErr_Occurred()) SWIG_fail
;
30786 resultobj
= SWIG_Py_Void();
30793 SWIGINTERN PyObject
*_wrap_PrintPreview_GetPrintDialogData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30794 PyObject
*resultobj
= 0;
30795 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
30796 wxPrintDialogData
*result
= 0 ;
30799 PyObject
*swig_obj
[1] ;
30801 if (!args
) SWIG_fail
;
30802 swig_obj
[0] = args
;
30803 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
30804 if (!SWIG_IsOK(res1
)) {
30805 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_GetPrintDialogData" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
30807 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
30809 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30811 wxPrintDialogData
&_result_ref
= (arg1
)->GetPrintDialogData();
30812 result
= (wxPrintDialogData
*) &_result_ref
;
30814 wxPyEndAllowThreads(__tstate
);
30815 if (PyErr_Occurred()) SWIG_fail
;
30817 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
30824 SWIGINTERN PyObject
*_wrap_PrintPreview_SetZoom(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30825 PyObject
*resultobj
= 0;
30826 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
30832 PyObject
* obj0
= 0 ;
30833 PyObject
* obj1
= 0 ;
30834 char * kwnames
[] = {
30835 (char *) "self",(char *) "percent", NULL
30838 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_SetZoom",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30839 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
30840 if (!SWIG_IsOK(res1
)) {
30841 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_SetZoom" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
30843 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
30844 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
30845 if (!SWIG_IsOK(ecode2
)) {
30846 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintPreview_SetZoom" "', expected argument " "2"" of type '" "int""'");
30848 arg2
= static_cast< int >(val2
);
30850 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30851 (arg1
)->SetZoom(arg2
);
30852 wxPyEndAllowThreads(__tstate
);
30853 if (PyErr_Occurred()) SWIG_fail
;
30855 resultobj
= SWIG_Py_Void();
30862 SWIGINTERN PyObject
*_wrap_PrintPreview_GetZoom(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30863 PyObject
*resultobj
= 0;
30864 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
30868 PyObject
*swig_obj
[1] ;
30870 if (!args
) SWIG_fail
;
30871 swig_obj
[0] = args
;
30872 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
30873 if (!SWIG_IsOK(res1
)) {
30874 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_GetZoom" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
30876 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
30878 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30879 result
= (int)(arg1
)->GetZoom();
30880 wxPyEndAllowThreads(__tstate
);
30881 if (PyErr_Occurred()) SWIG_fail
;
30883 resultobj
= SWIG_From_int(static_cast< int >(result
));
30890 SWIGINTERN PyObject
*_wrap_PrintPreview_GetMaxPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30891 PyObject
*resultobj
= 0;
30892 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
30896 PyObject
*swig_obj
[1] ;
30898 if (!args
) SWIG_fail
;
30899 swig_obj
[0] = args
;
30900 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
30901 if (!SWIG_IsOK(res1
)) {
30902 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_GetMaxPage" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
30904 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
30906 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30907 result
= (int)(arg1
)->GetMaxPage();
30908 wxPyEndAllowThreads(__tstate
);
30909 if (PyErr_Occurred()) SWIG_fail
;
30911 resultobj
= SWIG_From_int(static_cast< int >(result
));
30918 SWIGINTERN PyObject
*_wrap_PrintPreview_GetMinPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30919 PyObject
*resultobj
= 0;
30920 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
30924 PyObject
*swig_obj
[1] ;
30926 if (!args
) SWIG_fail
;
30927 swig_obj
[0] = args
;
30928 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
30929 if (!SWIG_IsOK(res1
)) {
30930 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_GetMinPage" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
30932 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
30934 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30935 result
= (int)(arg1
)->GetMinPage();
30936 wxPyEndAllowThreads(__tstate
);
30937 if (PyErr_Occurred()) SWIG_fail
;
30939 resultobj
= SWIG_From_int(static_cast< int >(result
));
30946 SWIGINTERN PyObject
*_wrap_PrintPreview_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30947 PyObject
*resultobj
= 0;
30948 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
30952 PyObject
*swig_obj
[1] ;
30954 if (!args
) SWIG_fail
;
30955 swig_obj
[0] = args
;
30956 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
30957 if (!SWIG_IsOK(res1
)) {
30958 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_IsOk" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
30960 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
30962 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30963 result
= (bool)(arg1
)->IsOk();
30964 wxPyEndAllowThreads(__tstate
);
30965 if (PyErr_Occurred()) SWIG_fail
;
30968 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30976 SWIGINTERN PyObject
*_wrap_PrintPreview_SetOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30977 PyObject
*resultobj
= 0;
30978 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
30984 PyObject
* obj0
= 0 ;
30985 PyObject
* obj1
= 0 ;
30986 char * kwnames
[] = {
30987 (char *) "self",(char *) "ok", NULL
30990 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_SetOk",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30991 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
30992 if (!SWIG_IsOK(res1
)) {
30993 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_SetOk" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
30995 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
30996 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
30997 if (!SWIG_IsOK(ecode2
)) {
30998 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintPreview_SetOk" "', expected argument " "2"" of type '" "bool""'");
31000 arg2
= static_cast< bool >(val2
);
31002 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31003 (arg1
)->SetOk(arg2
);
31004 wxPyEndAllowThreads(__tstate
);
31005 if (PyErr_Occurred()) SWIG_fail
;
31007 resultobj
= SWIG_Py_Void();
31014 SWIGINTERN PyObject
*_wrap_PrintPreview_Print(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31015 PyObject
*resultobj
= 0;
31016 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
31023 PyObject
* obj0
= 0 ;
31024 PyObject
* obj1
= 0 ;
31025 char * kwnames
[] = {
31026 (char *) "self",(char *) "interactive", NULL
31029 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_Print",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31030 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
31031 if (!SWIG_IsOK(res1
)) {
31032 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_Print" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
31034 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
31035 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
31036 if (!SWIG_IsOK(ecode2
)) {
31037 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintPreview_Print" "', expected argument " "2"" of type '" "bool""'");
31039 arg2
= static_cast< bool >(val2
);
31041 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31042 result
= (bool)(arg1
)->Print(arg2
);
31043 wxPyEndAllowThreads(__tstate
);
31044 if (PyErr_Occurred()) SWIG_fail
;
31047 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31055 SWIGINTERN PyObject
*_wrap_PrintPreview_DetermineScaling(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31056 PyObject
*resultobj
= 0;
31057 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
31060 PyObject
*swig_obj
[1] ;
31062 if (!args
) SWIG_fail
;
31063 swig_obj
[0] = args
;
31064 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
31065 if (!SWIG_IsOK(res1
)) {
31066 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_DetermineScaling" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
31068 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
31070 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31071 (arg1
)->DetermineScaling();
31072 wxPyEndAllowThreads(__tstate
);
31073 if (PyErr_Occurred()) SWIG_fail
;
31075 resultobj
= SWIG_Py_Void();
31082 SWIGINTERN PyObject
*PrintPreview_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31084 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
31085 SWIG_TypeNewClientData(SWIGTYPE_p_wxPrintPreview
, SWIG_NewClientData(obj
));
31086 return SWIG_Py_Void();
31089 SWIGINTERN PyObject
*PrintPreview_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31090 return SWIG_Python_InitShadowInstance(args
);
31093 SWIGINTERN PyObject
*_wrap_new_PyPrintPreview__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
31094 PyObject
*resultobj
= 0;
31095 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
31096 wxPyPrintout
*arg2
= (wxPyPrintout
*) 0 ;
31097 wxPrintDialogData
*arg3
= (wxPrintDialogData
*) NULL
;
31098 wxPyPrintPreview
*result
= 0 ;
31104 if ((nobjs
< 2) || (nobjs
> 3)) SWIG_fail
;
31105 res1
= SWIG_ConvertPtr(swig_obj
[0], SWIG_as_voidptrptr(&arg1
), SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_DISOWN
| 0 );
31106 if (!SWIG_IsOK(res1
)) {
31107 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PyPrintPreview" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
31109 res2
= SWIG_ConvertPtr(swig_obj
[1], SWIG_as_voidptrptr(&arg2
), SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_DISOWN
| 0 );
31110 if (!SWIG_IsOK(res2
)) {
31111 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_PyPrintPreview" "', expected argument " "2"" of type '" "wxPyPrintout *""'");
31114 res3
= SWIG_ConvertPtr(swig_obj
[2], &argp3
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
31115 if (!SWIG_IsOK(res3
)) {
31116 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "new_PyPrintPreview" "', expected argument " "3"" of type '" "wxPrintDialogData *""'");
31118 arg3
= reinterpret_cast< wxPrintDialogData
* >(argp3
);
31121 if (!wxPyCheckForApp()) SWIG_fail
;
31122 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31123 result
= (wxPyPrintPreview
*)new wxPyPrintPreview(arg1
,arg2
,arg3
);
31124 wxPyEndAllowThreads(__tstate
);
31125 if (PyErr_Occurred()) SWIG_fail
;
31127 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyPrintPreview
, SWIG_POINTER_NEW
| 0 );
31134 SWIGINTERN PyObject
*_wrap_new_PyPrintPreview__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
31135 PyObject
*resultobj
= 0;
31136 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
31137 wxPyPrintout
*arg2
= (wxPyPrintout
*) 0 ;
31138 wxPrintData
*arg3
= (wxPrintData
*) 0 ;
31139 wxPyPrintPreview
*result
= 0 ;
31145 if ((nobjs
< 3) || (nobjs
> 3)) SWIG_fail
;
31146 res1
= SWIG_ConvertPtr(swig_obj
[0], SWIG_as_voidptrptr(&arg1
), SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_DISOWN
| 0 );
31147 if (!SWIG_IsOK(res1
)) {
31148 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PyPrintPreview" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
31150 res2
= SWIG_ConvertPtr(swig_obj
[1], SWIG_as_voidptrptr(&arg2
), SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_DISOWN
| 0 );
31151 if (!SWIG_IsOK(res2
)) {
31152 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_PyPrintPreview" "', expected argument " "2"" of type '" "wxPyPrintout *""'");
31154 res3
= SWIG_ConvertPtr(swig_obj
[2], &argp3
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
31155 if (!SWIG_IsOK(res3
)) {
31156 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "new_PyPrintPreview" "', expected argument " "3"" of type '" "wxPrintData *""'");
31158 arg3
= reinterpret_cast< wxPrintData
* >(argp3
);
31160 if (!wxPyCheckForApp()) SWIG_fail
;
31161 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31162 result
= (wxPyPrintPreview
*)new wxPyPrintPreview(arg1
,arg2
,arg3
);
31163 wxPyEndAllowThreads(__tstate
);
31164 if (PyErr_Occurred()) SWIG_fail
;
31166 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyPrintPreview
, SWIG_POINTER_NEW
| 0 );
31173 SWIGINTERN PyObject
*_wrap_new_PyPrintPreview(PyObject
*self
, PyObject
*args
) {
31177 if (!(argc
= SWIG_Python_UnpackTuple(args
,"new_PyPrintPreview",0,3,argv
))) SWIG_fail
;
31179 if ((argc
>= 2) && (argc
<= 3)) {
31184 int res
= SWIG_ConvertPtr(argv
[2], &vptr
, SWIGTYPE_p_wxPrintDialogData
, 0);
31185 _v
= SWIG_CheckState(res
);
31187 if (!_v
) goto check_1
;
31189 return _wrap_new_PyPrintPreview__SWIG_0(self
, argc
, argv
);
31194 return _wrap_new_PyPrintPreview__SWIG_1(self
, argc
, argv
);
31198 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'new_PyPrintPreview'");
31203 SWIGINTERN PyObject
*_wrap_PyPrintPreview__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31204 PyObject
*resultobj
= 0;
31205 wxPyPrintPreview
*arg1
= (wxPyPrintPreview
*) 0 ;
31206 PyObject
*arg2
= (PyObject
*) 0 ;
31207 PyObject
*arg3
= (PyObject
*) 0 ;
31210 PyObject
* obj0
= 0 ;
31211 PyObject
* obj1
= 0 ;
31212 PyObject
* obj2
= 0 ;
31213 char * kwnames
[] = {
31214 (char *) "self",(char *) "self",(char *) "_class", NULL
31217 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyPrintPreview__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
31218 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPrintPreview
, 0 | 0 );
31219 if (!SWIG_IsOK(res1
)) {
31220 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPrintPreview__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyPrintPreview *""'");
31222 arg1
= reinterpret_cast< wxPyPrintPreview
* >(argp1
);
31226 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31227 (arg1
)->_setCallbackInfo(arg2
,arg3
);
31228 wxPyEndAllowThreads(__tstate
);
31229 if (PyErr_Occurred()) SWIG_fail
;
31231 resultobj
= SWIG_Py_Void();
31238 SWIGINTERN PyObject
*PyPrintPreview_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31240 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
31241 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyPrintPreview
, SWIG_NewClientData(obj
));
31242 return SWIG_Py_Void();
31245 SWIGINTERN PyObject
*PyPrintPreview_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31246 return SWIG_Python_InitShadowInstance(args
);
31249 SWIGINTERN PyObject
*_wrap_new_PyPreviewFrame(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31250 PyObject
*resultobj
= 0;
31251 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
31252 wxFrame
*arg2
= (wxFrame
*) 0 ;
31253 wxString
*arg3
= 0 ;
31254 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
31255 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
31256 wxSize
const &arg5_defvalue
= wxDefaultSize
;
31257 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
31258 long arg6
= (long) wxDEFAULT_FRAME_STYLE
;
31259 wxString
const &arg7_defvalue
= wxPyFrameNameStr
;
31260 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
31261 wxPyPreviewFrame
*result
= 0 ;
31265 bool temp3
= false ;
31270 bool temp7
= false ;
31271 PyObject
* obj0
= 0 ;
31272 PyObject
* obj1
= 0 ;
31273 PyObject
* obj2
= 0 ;
31274 PyObject
* obj3
= 0 ;
31275 PyObject
* obj4
= 0 ;
31276 PyObject
* obj5
= 0 ;
31277 PyObject
* obj6
= 0 ;
31278 char * kwnames
[] = {
31279 (char *) "preview",(char *) "parent",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
31282 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:new_PyPreviewFrame",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
31283 res1
= SWIG_ConvertPtr(obj0
, SWIG_as_voidptrptr(&arg1
), SWIGTYPE_p_wxPrintPreview
, SWIG_POINTER_DISOWN
| 0 );
31284 if (!SWIG_IsOK(res1
)) {
31285 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PyPreviewFrame" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
31287 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxFrame
, 0 | 0 );
31288 if (!SWIG_IsOK(res2
)) {
31289 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_PyPreviewFrame" "', expected argument " "2"" of type '" "wxFrame *""'");
31291 arg2
= reinterpret_cast< wxFrame
* >(argp2
);
31293 arg3
= wxString_in_helper(obj2
);
31294 if (arg3
== NULL
) SWIG_fail
;
31300 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
31306 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
31310 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
31311 if (!SWIG_IsOK(ecode6
)) {
31312 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_PyPreviewFrame" "', expected argument " "6"" of type '" "long""'");
31314 arg6
= static_cast< long >(val6
);
31318 arg7
= wxString_in_helper(obj6
);
31319 if (arg7
== NULL
) SWIG_fail
;
31324 if (!wxPyCheckForApp()) SWIG_fail
;
31325 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31326 result
= (wxPyPreviewFrame
*)new wxPyPreviewFrame(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
31327 wxPyEndAllowThreads(__tstate
);
31328 if (PyErr_Occurred()) SWIG_fail
;
31330 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyPreviewFrame
, SWIG_POINTER_NEW
| 0 );
31353 SWIGINTERN PyObject
*_wrap_PyPreviewFrame__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31354 PyObject
*resultobj
= 0;
31355 wxPyPreviewFrame
*arg1
= (wxPyPreviewFrame
*) 0 ;
31356 PyObject
*arg2
= (PyObject
*) 0 ;
31357 PyObject
*arg3
= (PyObject
*) 0 ;
31360 PyObject
* obj0
= 0 ;
31361 PyObject
* obj1
= 0 ;
31362 PyObject
* obj2
= 0 ;
31363 char * kwnames
[] = {
31364 (char *) "self",(char *) "self",(char *) "_class", NULL
31367 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyPreviewFrame__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
31368 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPreviewFrame
, 0 | 0 );
31369 if (!SWIG_IsOK(res1
)) {
31370 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPreviewFrame__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyPreviewFrame *""'");
31372 arg1
= reinterpret_cast< wxPyPreviewFrame
* >(argp1
);
31376 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31377 (arg1
)->_setCallbackInfo(arg2
,arg3
);
31378 wxPyEndAllowThreads(__tstate
);
31379 if (PyErr_Occurred()) SWIG_fail
;
31381 resultobj
= SWIG_Py_Void();
31388 SWIGINTERN PyObject
*_wrap_PyPreviewFrame_SetPreviewCanvas(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31389 PyObject
*resultobj
= 0;
31390 wxPyPreviewFrame
*arg1
= (wxPyPreviewFrame
*) 0 ;
31391 wxPreviewCanvas
*arg2
= (wxPreviewCanvas
*) 0 ;
31396 PyObject
* obj0
= 0 ;
31397 PyObject
* obj1
= 0 ;
31398 char * kwnames
[] = {
31399 (char *) "self",(char *) "canvas", NULL
31402 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPreviewFrame_SetPreviewCanvas",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31403 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPreviewFrame
, 0 | 0 );
31404 if (!SWIG_IsOK(res1
)) {
31405 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPreviewFrame_SetPreviewCanvas" "', expected argument " "1"" of type '" "wxPyPreviewFrame *""'");
31407 arg1
= reinterpret_cast< wxPyPreviewFrame
* >(argp1
);
31408 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxPreviewCanvas
, 0 | 0 );
31409 if (!SWIG_IsOK(res2
)) {
31410 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PyPreviewFrame_SetPreviewCanvas" "', expected argument " "2"" of type '" "wxPreviewCanvas *""'");
31412 arg2
= reinterpret_cast< wxPreviewCanvas
* >(argp2
);
31414 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31415 (arg1
)->SetPreviewCanvas(arg2
);
31416 wxPyEndAllowThreads(__tstate
);
31417 if (PyErr_Occurred()) SWIG_fail
;
31419 resultobj
= SWIG_Py_Void();
31426 SWIGINTERN PyObject
*_wrap_PyPreviewFrame_SetControlBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31427 PyObject
*resultobj
= 0;
31428 wxPyPreviewFrame
*arg1
= (wxPyPreviewFrame
*) 0 ;
31429 wxPreviewControlBar
*arg2
= (wxPreviewControlBar
*) 0 ;
31434 PyObject
* obj0
= 0 ;
31435 PyObject
* obj1
= 0 ;
31436 char * kwnames
[] = {
31437 (char *) "self",(char *) "bar", NULL
31440 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPreviewFrame_SetControlBar",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31441 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPreviewFrame
, 0 | 0 );
31442 if (!SWIG_IsOK(res1
)) {
31443 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPreviewFrame_SetControlBar" "', expected argument " "1"" of type '" "wxPyPreviewFrame *""'");
31445 arg1
= reinterpret_cast< wxPyPreviewFrame
* >(argp1
);
31446 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxPreviewControlBar
, 0 | 0 );
31447 if (!SWIG_IsOK(res2
)) {
31448 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PyPreviewFrame_SetControlBar" "', expected argument " "2"" of type '" "wxPreviewControlBar *""'");
31450 arg2
= reinterpret_cast< wxPreviewControlBar
* >(argp2
);
31452 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31453 (arg1
)->SetControlBar(arg2
);
31454 wxPyEndAllowThreads(__tstate
);
31455 if (PyErr_Occurred()) SWIG_fail
;
31457 resultobj
= SWIG_Py_Void();
31464 SWIGINTERN PyObject
*_wrap_PyPreviewFrame_Initialize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31465 PyObject
*resultobj
= 0;
31466 wxPyPreviewFrame
*arg1
= (wxPyPreviewFrame
*) 0 ;
31469 PyObject
*swig_obj
[1] ;
31471 if (!args
) SWIG_fail
;
31472 swig_obj
[0] = args
;
31473 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPreviewFrame
, 0 | 0 );
31474 if (!SWIG_IsOK(res1
)) {
31475 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPreviewFrame_Initialize" "', expected argument " "1"" of type '" "wxPyPreviewFrame *""'");
31477 arg1
= reinterpret_cast< wxPyPreviewFrame
* >(argp1
);
31479 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31480 (arg1
)->Initialize();
31481 wxPyEndAllowThreads(__tstate
);
31482 if (PyErr_Occurred()) SWIG_fail
;
31484 resultobj
= SWIG_Py_Void();
31491 SWIGINTERN PyObject
*_wrap_PyPreviewFrame_CreateCanvas(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31492 PyObject
*resultobj
= 0;
31493 wxPyPreviewFrame
*arg1
= (wxPyPreviewFrame
*) 0 ;
31496 PyObject
*swig_obj
[1] ;
31498 if (!args
) SWIG_fail
;
31499 swig_obj
[0] = args
;
31500 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPreviewFrame
, 0 | 0 );
31501 if (!SWIG_IsOK(res1
)) {
31502 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPreviewFrame_CreateCanvas" "', expected argument " "1"" of type '" "wxPyPreviewFrame *""'");
31504 arg1
= reinterpret_cast< wxPyPreviewFrame
* >(argp1
);
31506 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31507 (arg1
)->CreateCanvas();
31508 wxPyEndAllowThreads(__tstate
);
31509 if (PyErr_Occurred()) SWIG_fail
;
31511 resultobj
= SWIG_Py_Void();
31518 SWIGINTERN PyObject
*_wrap_PyPreviewFrame_CreateControlBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31519 PyObject
*resultobj
= 0;
31520 wxPyPreviewFrame
*arg1
= (wxPyPreviewFrame
*) 0 ;
31523 PyObject
*swig_obj
[1] ;
31525 if (!args
) SWIG_fail
;
31526 swig_obj
[0] = args
;
31527 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPreviewFrame
, 0 | 0 );
31528 if (!SWIG_IsOK(res1
)) {
31529 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPreviewFrame_CreateControlBar" "', expected argument " "1"" of type '" "wxPyPreviewFrame *""'");
31531 arg1
= reinterpret_cast< wxPyPreviewFrame
* >(argp1
);
31533 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31534 (arg1
)->CreateControlBar();
31535 wxPyEndAllowThreads(__tstate
);
31536 if (PyErr_Occurred()) SWIG_fail
;
31538 resultobj
= SWIG_Py_Void();
31545 SWIGINTERN PyObject
*PyPreviewFrame_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31547 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
31548 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyPreviewFrame
, SWIG_NewClientData(obj
));
31549 return SWIG_Py_Void();
31552 SWIGINTERN PyObject
*PyPreviewFrame_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31553 return SWIG_Python_InitShadowInstance(args
);
31556 SWIGINTERN PyObject
*_wrap_new_PyPreviewControlBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31557 PyObject
*resultobj
= 0;
31558 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
31560 wxWindow
*arg3
= (wxWindow
*) 0 ;
31561 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
31562 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
31563 wxSize
const &arg5_defvalue
= wxDefaultSize
;
31564 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
31565 long arg6
= (long) 0 ;
31566 wxString
const &arg7_defvalue
= wxPyPanelNameStr
;
31567 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
31568 wxPyPreviewControlBar
*result
= 0 ;
31578 bool temp7
= false ;
31579 PyObject
* obj0
= 0 ;
31580 PyObject
* obj1
= 0 ;
31581 PyObject
* obj2
= 0 ;
31582 PyObject
* obj3
= 0 ;
31583 PyObject
* obj4
= 0 ;
31584 PyObject
* obj5
= 0 ;
31585 PyObject
* obj6
= 0 ;
31586 char * kwnames
[] = {
31587 (char *) "preview",(char *) "buttons",(char *) "parent",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
31590 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:new_PyPreviewControlBar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
31591 res1
= SWIG_ConvertPtr(obj0
, SWIG_as_voidptrptr(&arg1
), SWIGTYPE_p_wxPrintPreview
, SWIG_POINTER_DISOWN
| 0 );
31592 if (!SWIG_IsOK(res1
)) {
31593 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PyPreviewControlBar" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
31595 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
31596 if (!SWIG_IsOK(ecode2
)) {
31597 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_PyPreviewControlBar" "', expected argument " "2"" of type '" "long""'");
31599 arg2
= static_cast< long >(val2
);
31600 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxWindow
, 0 | 0 );
31601 if (!SWIG_IsOK(res3
)) {
31602 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "new_PyPreviewControlBar" "', expected argument " "3"" of type '" "wxWindow *""'");
31604 arg3
= reinterpret_cast< wxWindow
* >(argp3
);
31608 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
31614 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
31618 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
31619 if (!SWIG_IsOK(ecode6
)) {
31620 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_PyPreviewControlBar" "', expected argument " "6"" of type '" "long""'");
31622 arg6
= static_cast< long >(val6
);
31626 arg7
= wxString_in_helper(obj6
);
31627 if (arg7
== NULL
) SWIG_fail
;
31632 if (!wxPyCheckForApp()) SWIG_fail
;
31633 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31634 result
= (wxPyPreviewControlBar
*)new wxPyPreviewControlBar(arg1
,arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
31635 wxPyEndAllowThreads(__tstate
);
31636 if (PyErr_Occurred()) SWIG_fail
;
31638 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyPreviewControlBar
, SWIG_POINTER_NEW
| 0 );
31653 SWIGINTERN PyObject
*_wrap_PyPreviewControlBar__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31654 PyObject
*resultobj
= 0;
31655 wxPyPreviewControlBar
*arg1
= (wxPyPreviewControlBar
*) 0 ;
31656 PyObject
*arg2
= (PyObject
*) 0 ;
31657 PyObject
*arg3
= (PyObject
*) 0 ;
31660 PyObject
* obj0
= 0 ;
31661 PyObject
* obj1
= 0 ;
31662 PyObject
* obj2
= 0 ;
31663 char * kwnames
[] = {
31664 (char *) "self",(char *) "self",(char *) "_class", NULL
31667 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyPreviewControlBar__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
31668 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPreviewControlBar
, 0 | 0 );
31669 if (!SWIG_IsOK(res1
)) {
31670 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPreviewControlBar__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyPreviewControlBar *""'");
31672 arg1
= reinterpret_cast< wxPyPreviewControlBar
* >(argp1
);
31676 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31677 (arg1
)->_setCallbackInfo(arg2
,arg3
);
31678 wxPyEndAllowThreads(__tstate
);
31679 if (PyErr_Occurred()) SWIG_fail
;
31681 resultobj
= SWIG_Py_Void();
31688 SWIGINTERN PyObject
*_wrap_PyPreviewControlBar_SetPrintPreview(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31689 PyObject
*resultobj
= 0;
31690 wxPyPreviewControlBar
*arg1
= (wxPyPreviewControlBar
*) 0 ;
31691 wxPrintPreview
*arg2
= (wxPrintPreview
*) 0 ;
31695 PyObject
* obj0
= 0 ;
31696 PyObject
* obj1
= 0 ;
31697 char * kwnames
[] = {
31698 (char *) "self",(char *) "preview", NULL
31701 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPreviewControlBar_SetPrintPreview",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31702 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPreviewControlBar
, 0 | 0 );
31703 if (!SWIG_IsOK(res1
)) {
31704 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPreviewControlBar_SetPrintPreview" "', expected argument " "1"" of type '" "wxPyPreviewControlBar *""'");
31706 arg1
= reinterpret_cast< wxPyPreviewControlBar
* >(argp1
);
31707 res2
= SWIG_ConvertPtr(obj1
, SWIG_as_voidptrptr(&arg2
), SWIGTYPE_p_wxPrintPreview
, SWIG_POINTER_DISOWN
| 0 );
31708 if (!SWIG_IsOK(res2
)) {
31709 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PyPreviewControlBar_SetPrintPreview" "', expected argument " "2"" of type '" "wxPrintPreview *""'");
31712 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31713 (arg1
)->SetPrintPreview(arg2
);
31714 wxPyEndAllowThreads(__tstate
);
31715 if (PyErr_Occurred()) SWIG_fail
;
31717 resultobj
= SWIG_Py_Void();
31724 SWIGINTERN PyObject
*_wrap_PyPreviewControlBar_CreateButtons(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31725 PyObject
*resultobj
= 0;
31726 wxPyPreviewControlBar
*arg1
= (wxPyPreviewControlBar
*) 0 ;
31729 PyObject
*swig_obj
[1] ;
31731 if (!args
) SWIG_fail
;
31732 swig_obj
[0] = args
;
31733 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPreviewControlBar
, 0 | 0 );
31734 if (!SWIG_IsOK(res1
)) {
31735 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPreviewControlBar_CreateButtons" "', expected argument " "1"" of type '" "wxPyPreviewControlBar *""'");
31737 arg1
= reinterpret_cast< wxPyPreviewControlBar
* >(argp1
);
31739 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31740 (arg1
)->CreateButtons();
31741 wxPyEndAllowThreads(__tstate
);
31742 if (PyErr_Occurred()) SWIG_fail
;
31744 resultobj
= SWIG_Py_Void();
31751 SWIGINTERN PyObject
*_wrap_PyPreviewControlBar_SetZoomControl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31752 PyObject
*resultobj
= 0;
31753 wxPyPreviewControlBar
*arg1
= (wxPyPreviewControlBar
*) 0 ;
31759 PyObject
* obj0
= 0 ;
31760 PyObject
* obj1
= 0 ;
31761 char * kwnames
[] = {
31762 (char *) "self",(char *) "zoom", NULL
31765 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPreviewControlBar_SetZoomControl",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31766 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPreviewControlBar
, 0 | 0 );
31767 if (!SWIG_IsOK(res1
)) {
31768 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPreviewControlBar_SetZoomControl" "', expected argument " "1"" of type '" "wxPyPreviewControlBar *""'");
31770 arg1
= reinterpret_cast< wxPyPreviewControlBar
* >(argp1
);
31771 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
31772 if (!SWIG_IsOK(ecode2
)) {
31773 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PyPreviewControlBar_SetZoomControl" "', expected argument " "2"" of type '" "int""'");
31775 arg2
= static_cast< int >(val2
);
31777 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31778 (arg1
)->SetZoomControl(arg2
);
31779 wxPyEndAllowThreads(__tstate
);
31780 if (PyErr_Occurred()) SWIG_fail
;
31782 resultobj
= SWIG_Py_Void();
31789 SWIGINTERN PyObject
*PyPreviewControlBar_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31791 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
31792 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyPreviewControlBar
, SWIG_NewClientData(obj
));
31793 return SWIG_Py_Void();
31796 SWIGINTERN PyObject
*PyPreviewControlBar_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31797 return SWIG_Python_InitShadowInstance(args
);
31800 static PyMethodDef SwigMethods
[] = {
31801 { (char *)"new_Panel", (PyCFunction
) _wrap_new_Panel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31802 { (char *)"new_PrePanel", (PyCFunction
)_wrap_new_PrePanel
, METH_NOARGS
, NULL
},
31803 { (char *)"Panel_Create", (PyCFunction
) _wrap_Panel_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31804 { (char *)"Panel_SetFocusIgnoringChildren", (PyCFunction
)_wrap_Panel_SetFocusIgnoringChildren
, METH_O
, NULL
},
31805 { (char *)"Panel_GetClassDefaultAttributes", (PyCFunction
) _wrap_Panel_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31806 { (char *)"Panel_swigregister", Panel_swigregister
, METH_VARARGS
, NULL
},
31807 { (char *)"Panel_swiginit", Panel_swiginit
, METH_VARARGS
, NULL
},
31808 { (char *)"new_ScrolledWindow", (PyCFunction
) _wrap_new_ScrolledWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31809 { (char *)"new_PreScrolledWindow", (PyCFunction
)_wrap_new_PreScrolledWindow
, METH_NOARGS
, NULL
},
31810 { (char *)"ScrolledWindow_Create", (PyCFunction
) _wrap_ScrolledWindow_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31811 { (char *)"ScrolledWindow_SetScrollbars", (PyCFunction
) _wrap_ScrolledWindow_SetScrollbars
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31812 { (char *)"ScrolledWindow_Scroll", (PyCFunction
) _wrap_ScrolledWindow_Scroll
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31813 { (char *)"ScrolledWindow_GetScrollPageSize", (PyCFunction
) _wrap_ScrolledWindow_GetScrollPageSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31814 { (char *)"ScrolledWindow_SetScrollPageSize", (PyCFunction
) _wrap_ScrolledWindow_SetScrollPageSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31815 { (char *)"ScrolledWindow_SetScrollRate", (PyCFunction
) _wrap_ScrolledWindow_SetScrollRate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31816 { (char *)"ScrolledWindow_GetScrollPixelsPerUnit", (PyCFunction
)_wrap_ScrolledWindow_GetScrollPixelsPerUnit
, METH_O
, NULL
},
31817 { (char *)"ScrolledWindow_EnableScrolling", (PyCFunction
) _wrap_ScrolledWindow_EnableScrolling
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31818 { (char *)"ScrolledWindow_GetViewStart", (PyCFunction
)_wrap_ScrolledWindow_GetViewStart
, METH_O
, NULL
},
31819 { (char *)"ScrolledWindow_SetScale", (PyCFunction
) _wrap_ScrolledWindow_SetScale
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31820 { (char *)"ScrolledWindow_GetScaleX", (PyCFunction
)_wrap_ScrolledWindow_GetScaleX
, METH_O
, NULL
},
31821 { (char *)"ScrolledWindow_GetScaleY", (PyCFunction
)_wrap_ScrolledWindow_GetScaleY
, METH_O
, NULL
},
31822 { (char *)"ScrolledWindow_CalcScrolledPosition", _wrap_ScrolledWindow_CalcScrolledPosition
, METH_VARARGS
, NULL
},
31823 { (char *)"ScrolledWindow_CalcUnscrolledPosition", _wrap_ScrolledWindow_CalcUnscrolledPosition
, METH_VARARGS
, NULL
},
31824 { (char *)"ScrolledWindow_AdjustScrollbars", (PyCFunction
)_wrap_ScrolledWindow_AdjustScrollbars
, METH_O
, NULL
},
31825 { (char *)"ScrolledWindow_CalcScrollInc", (PyCFunction
) _wrap_ScrolledWindow_CalcScrollInc
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31826 { (char *)"ScrolledWindow_SetTargetWindow", (PyCFunction
) _wrap_ScrolledWindow_SetTargetWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31827 { (char *)"ScrolledWindow_GetTargetWindow", (PyCFunction
)_wrap_ScrolledWindow_GetTargetWindow
, METH_O
, NULL
},
31828 { (char *)"ScrolledWindow_DoPrepareDC", (PyCFunction
) _wrap_ScrolledWindow_DoPrepareDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31829 { (char *)"ScrolledWindow_GetClassDefaultAttributes", (PyCFunction
) _wrap_ScrolledWindow_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31830 { (char *)"ScrolledWindow_swigregister", ScrolledWindow_swigregister
, METH_VARARGS
, NULL
},
31831 { (char *)"ScrolledWindow_swiginit", ScrolledWindow_swiginit
, METH_VARARGS
, NULL
},
31832 { (char *)"TopLevelWindow_Maximize", (PyCFunction
) _wrap_TopLevelWindow_Maximize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31833 { (char *)"TopLevelWindow_Restore", (PyCFunction
)_wrap_TopLevelWindow_Restore
, METH_O
, NULL
},
31834 { (char *)"TopLevelWindow_Iconize", (PyCFunction
) _wrap_TopLevelWindow_Iconize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31835 { (char *)"TopLevelWindow_IsMaximized", (PyCFunction
)_wrap_TopLevelWindow_IsMaximized
, METH_O
, NULL
},
31836 { (char *)"TopLevelWindow_IsAlwaysMaximized", (PyCFunction
)_wrap_TopLevelWindow_IsAlwaysMaximized
, METH_O
, NULL
},
31837 { (char *)"TopLevelWindow_IsIconized", (PyCFunction
)_wrap_TopLevelWindow_IsIconized
, METH_O
, NULL
},
31838 { (char *)"TopLevelWindow_GetIcon", (PyCFunction
)_wrap_TopLevelWindow_GetIcon
, METH_O
, NULL
},
31839 { (char *)"TopLevelWindow_SetIcon", (PyCFunction
) _wrap_TopLevelWindow_SetIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31840 { (char *)"TopLevelWindow_SetIcons", (PyCFunction
) _wrap_TopLevelWindow_SetIcons
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31841 { (char *)"TopLevelWindow_ShowFullScreen", (PyCFunction
) _wrap_TopLevelWindow_ShowFullScreen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31842 { (char *)"TopLevelWindow_IsFullScreen", (PyCFunction
)_wrap_TopLevelWindow_IsFullScreen
, METH_O
, NULL
},
31843 { (char *)"TopLevelWindow_SetTitle", (PyCFunction
) _wrap_TopLevelWindow_SetTitle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31844 { (char *)"TopLevelWindow_GetTitle", (PyCFunction
)_wrap_TopLevelWindow_GetTitle
, METH_O
, NULL
},
31845 { (char *)"TopLevelWindow_EnableCloseButton", (PyCFunction
) _wrap_TopLevelWindow_EnableCloseButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31846 { (char *)"TopLevelWindow_SetShape", (PyCFunction
) _wrap_TopLevelWindow_SetShape
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31847 { (char *)"TopLevelWindow_RequestUserAttention", (PyCFunction
) _wrap_TopLevelWindow_RequestUserAttention
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31848 { (char *)"TopLevelWindow_IsActive", (PyCFunction
)_wrap_TopLevelWindow_IsActive
, METH_O
, NULL
},
31849 { (char *)"TopLevelWindow_MacSetMetalAppearance", (PyCFunction
) _wrap_TopLevelWindow_MacSetMetalAppearance
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31850 { (char *)"TopLevelWindow_MacGetMetalAppearance", (PyCFunction
)_wrap_TopLevelWindow_MacGetMetalAppearance
, METH_O
, NULL
},
31851 { (char *)"TopLevelWindow_CenterOnScreen", (PyCFunction
) _wrap_TopLevelWindow_CenterOnScreen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31852 { (char *)"TopLevelWindow_GetDefaultItem", (PyCFunction
)_wrap_TopLevelWindow_GetDefaultItem
, METH_O
, NULL
},
31853 { (char *)"TopLevelWindow_SetDefaultItem", (PyCFunction
) _wrap_TopLevelWindow_SetDefaultItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31854 { (char *)"TopLevelWindow_SetTmpDefaultItem", (PyCFunction
) _wrap_TopLevelWindow_SetTmpDefaultItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31855 { (char *)"TopLevelWindow_GetTmpDefaultItem", (PyCFunction
)_wrap_TopLevelWindow_GetTmpDefaultItem
, METH_O
, NULL
},
31856 { (char *)"TopLevelWindow_swigregister", TopLevelWindow_swigregister
, METH_VARARGS
, NULL
},
31857 { (char *)"new_Frame", (PyCFunction
) _wrap_new_Frame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31858 { (char *)"new_PreFrame", (PyCFunction
)_wrap_new_PreFrame
, METH_NOARGS
, NULL
},
31859 { (char *)"Frame_Create", (PyCFunction
) _wrap_Frame_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31860 { (char *)"Frame_SendSizeEvent", (PyCFunction
)_wrap_Frame_SendSizeEvent
, METH_O
, NULL
},
31861 { (char *)"Frame_SetMenuBar", (PyCFunction
) _wrap_Frame_SetMenuBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31862 { (char *)"Frame_GetMenuBar", (PyCFunction
)_wrap_Frame_GetMenuBar
, METH_O
, NULL
},
31863 { (char *)"Frame_ProcessCommand", (PyCFunction
) _wrap_Frame_ProcessCommand
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31864 { (char *)"Frame_CreateStatusBar", (PyCFunction
) _wrap_Frame_CreateStatusBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31865 { (char *)"Frame_GetStatusBar", (PyCFunction
)_wrap_Frame_GetStatusBar
, METH_O
, NULL
},
31866 { (char *)"Frame_SetStatusBar", (PyCFunction
) _wrap_Frame_SetStatusBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31867 { (char *)"Frame_SetStatusText", (PyCFunction
) _wrap_Frame_SetStatusText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31868 { (char *)"Frame_SetStatusWidths", (PyCFunction
) _wrap_Frame_SetStatusWidths
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31869 { (char *)"Frame_PushStatusText", (PyCFunction
) _wrap_Frame_PushStatusText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31870 { (char *)"Frame_PopStatusText", (PyCFunction
) _wrap_Frame_PopStatusText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31871 { (char *)"Frame_SetStatusBarPane", (PyCFunction
) _wrap_Frame_SetStatusBarPane
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31872 { (char *)"Frame_GetStatusBarPane", (PyCFunction
)_wrap_Frame_GetStatusBarPane
, METH_O
, NULL
},
31873 { (char *)"Frame_CreateToolBar", (PyCFunction
) _wrap_Frame_CreateToolBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31874 { (char *)"Frame_GetToolBar", (PyCFunction
)_wrap_Frame_GetToolBar
, METH_O
, NULL
},
31875 { (char *)"Frame_SetToolBar", (PyCFunction
) _wrap_Frame_SetToolBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31876 { (char *)"Frame_DoGiveHelp", (PyCFunction
) _wrap_Frame_DoGiveHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31877 { (char *)"Frame_DoMenuUpdates", (PyCFunction
) _wrap_Frame_DoMenuUpdates
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31878 { (char *)"Frame_GetClassDefaultAttributes", (PyCFunction
) _wrap_Frame_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31879 { (char *)"Frame_swigregister", Frame_swigregister
, METH_VARARGS
, NULL
},
31880 { (char *)"Frame_swiginit", Frame_swiginit
, METH_VARARGS
, NULL
},
31881 { (char *)"new_Dialog", (PyCFunction
) _wrap_new_Dialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31882 { (char *)"new_PreDialog", (PyCFunction
)_wrap_new_PreDialog
, METH_NOARGS
, NULL
},
31883 { (char *)"Dialog_Create", (PyCFunction
) _wrap_Dialog_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31884 { (char *)"Dialog_SetReturnCode", (PyCFunction
) _wrap_Dialog_SetReturnCode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31885 { (char *)"Dialog_GetReturnCode", (PyCFunction
)_wrap_Dialog_GetReturnCode
, METH_O
, NULL
},
31886 { (char *)"Dialog_SetAffirmativeId", (PyCFunction
) _wrap_Dialog_SetAffirmativeId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31887 { (char *)"Dialog_GetAffirmativeId", (PyCFunction
)_wrap_Dialog_GetAffirmativeId
, METH_O
, NULL
},
31888 { (char *)"Dialog_SetEscapeId", (PyCFunction
) _wrap_Dialog_SetEscapeId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31889 { (char *)"Dialog_GetEscapeId", (PyCFunction
)_wrap_Dialog_GetEscapeId
, METH_O
, NULL
},
31890 { (char *)"Dialog_CreateTextSizer", (PyCFunction
) _wrap_Dialog_CreateTextSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31891 { (char *)"Dialog__CreateButtonSizer", (PyCFunction
) _wrap_Dialog__CreateButtonSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31892 { (char *)"Dialog_CreateSeparatedButtonSizer", (PyCFunction
) _wrap_Dialog_CreateSeparatedButtonSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31893 { (char *)"Dialog_CreateStdDialogButtonSizer", (PyCFunction
) _wrap_Dialog_CreateStdDialogButtonSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31894 { (char *)"Dialog_IsModal", (PyCFunction
)_wrap_Dialog_IsModal
, METH_O
, NULL
},
31895 { (char *)"Dialog_ShowModal", (PyCFunction
)_wrap_Dialog_ShowModal
, METH_O
, NULL
},
31896 { (char *)"Dialog_EndModal", (PyCFunction
) _wrap_Dialog_EndModal
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31897 { (char *)"Dialog_GetClassDefaultAttributes", (PyCFunction
) _wrap_Dialog_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31898 { (char *)"Dialog_swigregister", Dialog_swigregister
, METH_VARARGS
, NULL
},
31899 { (char *)"Dialog_swiginit", Dialog_swiginit
, METH_VARARGS
, NULL
},
31900 { (char *)"new_MiniFrame", (PyCFunction
) _wrap_new_MiniFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31901 { (char *)"new_PreMiniFrame", (PyCFunction
)_wrap_new_PreMiniFrame
, METH_NOARGS
, NULL
},
31902 { (char *)"MiniFrame_Create", (PyCFunction
) _wrap_MiniFrame_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31903 { (char *)"MiniFrame_swigregister", MiniFrame_swigregister
, METH_VARARGS
, NULL
},
31904 { (char *)"MiniFrame_swiginit", MiniFrame_swiginit
, METH_VARARGS
, NULL
},
31905 { (char *)"new_SplashScreenWindow", (PyCFunction
) _wrap_new_SplashScreenWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31906 { (char *)"SplashScreenWindow_SetBitmap", (PyCFunction
) _wrap_SplashScreenWindow_SetBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31907 { (char *)"SplashScreenWindow_GetBitmap", (PyCFunction
)_wrap_SplashScreenWindow_GetBitmap
, METH_O
, NULL
},
31908 { (char *)"SplashScreenWindow_swigregister", SplashScreenWindow_swigregister
, METH_VARARGS
, NULL
},
31909 { (char *)"SplashScreenWindow_swiginit", SplashScreenWindow_swiginit
, METH_VARARGS
, NULL
},
31910 { (char *)"new_SplashScreen", (PyCFunction
) _wrap_new_SplashScreen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31911 { (char *)"SplashScreen_GetSplashStyle", (PyCFunction
)_wrap_SplashScreen_GetSplashStyle
, METH_O
, NULL
},
31912 { (char *)"SplashScreen_GetSplashWindow", (PyCFunction
)_wrap_SplashScreen_GetSplashWindow
, METH_O
, NULL
},
31913 { (char *)"SplashScreen_GetTimeout", (PyCFunction
)_wrap_SplashScreen_GetTimeout
, METH_O
, NULL
},
31914 { (char *)"SplashScreen_swigregister", SplashScreen_swigregister
, METH_VARARGS
, NULL
},
31915 { (char *)"SplashScreen_swiginit", SplashScreen_swiginit
, METH_VARARGS
, NULL
},
31916 { (char *)"new_StatusBar", (PyCFunction
) _wrap_new_StatusBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31917 { (char *)"new_PreStatusBar", (PyCFunction
)_wrap_new_PreStatusBar
, METH_NOARGS
, NULL
},
31918 { (char *)"StatusBar_Create", (PyCFunction
) _wrap_StatusBar_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31919 { (char *)"StatusBar_SetFieldsCount", (PyCFunction
) _wrap_StatusBar_SetFieldsCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31920 { (char *)"StatusBar_GetFieldsCount", (PyCFunction
)_wrap_StatusBar_GetFieldsCount
, METH_O
, NULL
},
31921 { (char *)"StatusBar_SetStatusText", (PyCFunction
) _wrap_StatusBar_SetStatusText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31922 { (char *)"StatusBar_GetStatusText", (PyCFunction
) _wrap_StatusBar_GetStatusText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31923 { (char *)"StatusBar_PushStatusText", (PyCFunction
) _wrap_StatusBar_PushStatusText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31924 { (char *)"StatusBar_PopStatusText", (PyCFunction
) _wrap_StatusBar_PopStatusText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31925 { (char *)"StatusBar_SetStatusWidths", (PyCFunction
) _wrap_StatusBar_SetStatusWidths
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31926 { (char *)"StatusBar_SetStatusStyles", (PyCFunction
) _wrap_StatusBar_SetStatusStyles
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31927 { (char *)"StatusBar_GetFieldRect", (PyCFunction
) _wrap_StatusBar_GetFieldRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31928 { (char *)"StatusBar_SetMinHeight", (PyCFunction
) _wrap_StatusBar_SetMinHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31929 { (char *)"StatusBar_GetBorderX", (PyCFunction
)_wrap_StatusBar_GetBorderX
, METH_O
, NULL
},
31930 { (char *)"StatusBar_GetBorderY", (PyCFunction
)_wrap_StatusBar_GetBorderY
, METH_O
, NULL
},
31931 { (char *)"StatusBar_GetClassDefaultAttributes", (PyCFunction
) _wrap_StatusBar_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31932 { (char *)"StatusBar_swigregister", StatusBar_swigregister
, METH_VARARGS
, NULL
},
31933 { (char *)"StatusBar_swiginit", StatusBar_swiginit
, METH_VARARGS
, NULL
},
31934 { (char *)"new_SplitterWindow", (PyCFunction
) _wrap_new_SplitterWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31935 { (char *)"new_PreSplitterWindow", (PyCFunction
)_wrap_new_PreSplitterWindow
, METH_NOARGS
, NULL
},
31936 { (char *)"SplitterWindow_Create", (PyCFunction
) _wrap_SplitterWindow_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31937 { (char *)"SplitterWindow_GetWindow1", (PyCFunction
)_wrap_SplitterWindow_GetWindow1
, METH_O
, NULL
},
31938 { (char *)"SplitterWindow_GetWindow2", (PyCFunction
)_wrap_SplitterWindow_GetWindow2
, METH_O
, NULL
},
31939 { (char *)"SplitterWindow_SetSplitMode", (PyCFunction
) _wrap_SplitterWindow_SetSplitMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31940 { (char *)"SplitterWindow_GetSplitMode", (PyCFunction
)_wrap_SplitterWindow_GetSplitMode
, METH_O
, NULL
},
31941 { (char *)"SplitterWindow_Initialize", (PyCFunction
) _wrap_SplitterWindow_Initialize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31942 { (char *)"SplitterWindow_SplitVertically", (PyCFunction
) _wrap_SplitterWindow_SplitVertically
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31943 { (char *)"SplitterWindow_SplitHorizontally", (PyCFunction
) _wrap_SplitterWindow_SplitHorizontally
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31944 { (char *)"SplitterWindow_Unsplit", (PyCFunction
) _wrap_SplitterWindow_Unsplit
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31945 { (char *)"SplitterWindow_ReplaceWindow", (PyCFunction
) _wrap_SplitterWindow_ReplaceWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31946 { (char *)"SplitterWindow_UpdateSize", (PyCFunction
)_wrap_SplitterWindow_UpdateSize
, METH_O
, NULL
},
31947 { (char *)"SplitterWindow_IsSplit", (PyCFunction
)_wrap_SplitterWindow_IsSplit
, METH_O
, NULL
},
31948 { (char *)"SplitterWindow_SetSashSize", (PyCFunction
) _wrap_SplitterWindow_SetSashSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31949 { (char *)"SplitterWindow_SetBorderSize", (PyCFunction
) _wrap_SplitterWindow_SetBorderSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31950 { (char *)"SplitterWindow_GetSashSize", (PyCFunction
)_wrap_SplitterWindow_GetSashSize
, METH_O
, NULL
},
31951 { (char *)"SplitterWindow_GetBorderSize", (PyCFunction
)_wrap_SplitterWindow_GetBorderSize
, METH_O
, NULL
},
31952 { (char *)"SplitterWindow_SetSashPosition", (PyCFunction
) _wrap_SplitterWindow_SetSashPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31953 { (char *)"SplitterWindow_GetSashPosition", (PyCFunction
)_wrap_SplitterWindow_GetSashPosition
, METH_O
, NULL
},
31954 { (char *)"SplitterWindow_SetSashGravity", (PyCFunction
) _wrap_SplitterWindow_SetSashGravity
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31955 { (char *)"SplitterWindow_GetSashGravity", (PyCFunction
)_wrap_SplitterWindow_GetSashGravity
, METH_O
, NULL
},
31956 { (char *)"SplitterWindow_SetMinimumPaneSize", (PyCFunction
) _wrap_SplitterWindow_SetMinimumPaneSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31957 { (char *)"SplitterWindow_GetMinimumPaneSize", (PyCFunction
)_wrap_SplitterWindow_GetMinimumPaneSize
, METH_O
, NULL
},
31958 { (char *)"SplitterWindow_SashHitTest", (PyCFunction
) _wrap_SplitterWindow_SashHitTest
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31959 { (char *)"SplitterWindow_SizeWindows", (PyCFunction
)_wrap_SplitterWindow_SizeWindows
, METH_O
, NULL
},
31960 { (char *)"SplitterWindow_SetNeedUpdating", (PyCFunction
) _wrap_SplitterWindow_SetNeedUpdating
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31961 { (char *)"SplitterWindow_GetNeedUpdating", (PyCFunction
)_wrap_SplitterWindow_GetNeedUpdating
, METH_O
, NULL
},
31962 { (char *)"SplitterWindow_GetClassDefaultAttributes", (PyCFunction
) _wrap_SplitterWindow_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31963 { (char *)"SplitterWindow_swigregister", SplitterWindow_swigregister
, METH_VARARGS
, NULL
},
31964 { (char *)"SplitterWindow_swiginit", SplitterWindow_swiginit
, METH_VARARGS
, NULL
},
31965 { (char *)"new_SplitterEvent", (PyCFunction
) _wrap_new_SplitterEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31966 { (char *)"SplitterEvent_SetSashPosition", (PyCFunction
) _wrap_SplitterEvent_SetSashPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31967 { (char *)"SplitterEvent_GetSashPosition", (PyCFunction
)_wrap_SplitterEvent_GetSashPosition
, METH_O
, NULL
},
31968 { (char *)"SplitterEvent_GetWindowBeingRemoved", (PyCFunction
)_wrap_SplitterEvent_GetWindowBeingRemoved
, METH_O
, NULL
},
31969 { (char *)"SplitterEvent_GetX", (PyCFunction
)_wrap_SplitterEvent_GetX
, METH_O
, NULL
},
31970 { (char *)"SplitterEvent_GetY", (PyCFunction
)_wrap_SplitterEvent_GetY
, METH_O
, NULL
},
31971 { (char *)"SplitterEvent_swigregister", SplitterEvent_swigregister
, METH_VARARGS
, NULL
},
31972 { (char *)"SplitterEvent_swiginit", SplitterEvent_swiginit
, METH_VARARGS
, NULL
},
31973 { (char *)"new_SashWindow", (PyCFunction
) _wrap_new_SashWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31974 { (char *)"new_PreSashWindow", (PyCFunction
)_wrap_new_PreSashWindow
, METH_NOARGS
, NULL
},
31975 { (char *)"SashWindow_Create", (PyCFunction
) _wrap_SashWindow_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31976 { (char *)"SashWindow_SetSashVisible", (PyCFunction
) _wrap_SashWindow_SetSashVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31977 { (char *)"SashWindow_GetSashVisible", (PyCFunction
) _wrap_SashWindow_GetSashVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31978 { (char *)"SashWindow_SetSashBorder", (PyCFunction
) _wrap_SashWindow_SetSashBorder
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31979 { (char *)"SashWindow_HasBorder", (PyCFunction
) _wrap_SashWindow_HasBorder
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31980 { (char *)"SashWindow_GetEdgeMargin", (PyCFunction
) _wrap_SashWindow_GetEdgeMargin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31981 { (char *)"SashWindow_SetDefaultBorderSize", (PyCFunction
) _wrap_SashWindow_SetDefaultBorderSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31982 { (char *)"SashWindow_GetDefaultBorderSize", (PyCFunction
)_wrap_SashWindow_GetDefaultBorderSize
, METH_O
, NULL
},
31983 { (char *)"SashWindow_SetExtraBorderSize", (PyCFunction
) _wrap_SashWindow_SetExtraBorderSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31984 { (char *)"SashWindow_GetExtraBorderSize", (PyCFunction
)_wrap_SashWindow_GetExtraBorderSize
, METH_O
, NULL
},
31985 { (char *)"SashWindow_SetMinimumSizeX", (PyCFunction
) _wrap_SashWindow_SetMinimumSizeX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31986 { (char *)"SashWindow_SetMinimumSizeY", (PyCFunction
) _wrap_SashWindow_SetMinimumSizeY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31987 { (char *)"SashWindow_GetMinimumSizeX", (PyCFunction
)_wrap_SashWindow_GetMinimumSizeX
, METH_O
, NULL
},
31988 { (char *)"SashWindow_GetMinimumSizeY", (PyCFunction
)_wrap_SashWindow_GetMinimumSizeY
, METH_O
, NULL
},
31989 { (char *)"SashWindow_SetMaximumSizeX", (PyCFunction
) _wrap_SashWindow_SetMaximumSizeX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31990 { (char *)"SashWindow_SetMaximumSizeY", (PyCFunction
) _wrap_SashWindow_SetMaximumSizeY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31991 { (char *)"SashWindow_GetMaximumSizeX", (PyCFunction
)_wrap_SashWindow_GetMaximumSizeX
, METH_O
, NULL
},
31992 { (char *)"SashWindow_GetMaximumSizeY", (PyCFunction
)_wrap_SashWindow_GetMaximumSizeY
, METH_O
, NULL
},
31993 { (char *)"SashWindow_SashHitTest", (PyCFunction
) _wrap_SashWindow_SashHitTest
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31994 { (char *)"SashWindow_SizeWindows", (PyCFunction
)_wrap_SashWindow_SizeWindows
, METH_O
, NULL
},
31995 { (char *)"SashWindow_swigregister", SashWindow_swigregister
, METH_VARARGS
, NULL
},
31996 { (char *)"SashWindow_swiginit", SashWindow_swiginit
, METH_VARARGS
, NULL
},
31997 { (char *)"new_SashEvent", (PyCFunction
) _wrap_new_SashEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31998 { (char *)"SashEvent_SetEdge", (PyCFunction
) _wrap_SashEvent_SetEdge
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31999 { (char *)"SashEvent_GetEdge", (PyCFunction
)_wrap_SashEvent_GetEdge
, METH_O
, NULL
},
32000 { (char *)"SashEvent_SetDragRect", (PyCFunction
) _wrap_SashEvent_SetDragRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32001 { (char *)"SashEvent_GetDragRect", (PyCFunction
)_wrap_SashEvent_GetDragRect
, METH_O
, NULL
},
32002 { (char *)"SashEvent_SetDragStatus", (PyCFunction
) _wrap_SashEvent_SetDragStatus
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32003 { (char *)"SashEvent_GetDragStatus", (PyCFunction
)_wrap_SashEvent_GetDragStatus
, METH_O
, NULL
},
32004 { (char *)"SashEvent_swigregister", SashEvent_swigregister
, METH_VARARGS
, NULL
},
32005 { (char *)"SashEvent_swiginit", SashEvent_swiginit
, METH_VARARGS
, NULL
},
32006 { (char *)"new_QueryLayoutInfoEvent", (PyCFunction
) _wrap_new_QueryLayoutInfoEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32007 { (char *)"QueryLayoutInfoEvent_SetRequestedLength", (PyCFunction
) _wrap_QueryLayoutInfoEvent_SetRequestedLength
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32008 { (char *)"QueryLayoutInfoEvent_GetRequestedLength", (PyCFunction
)_wrap_QueryLayoutInfoEvent_GetRequestedLength
, METH_O
, NULL
},
32009 { (char *)"QueryLayoutInfoEvent_SetFlags", (PyCFunction
) _wrap_QueryLayoutInfoEvent_SetFlags
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32010 { (char *)"QueryLayoutInfoEvent_GetFlags", (PyCFunction
)_wrap_QueryLayoutInfoEvent_GetFlags
, METH_O
, NULL
},
32011 { (char *)"QueryLayoutInfoEvent_SetSize", (PyCFunction
) _wrap_QueryLayoutInfoEvent_SetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32012 { (char *)"QueryLayoutInfoEvent_GetSize", (PyCFunction
)_wrap_QueryLayoutInfoEvent_GetSize
, METH_O
, NULL
},
32013 { (char *)"QueryLayoutInfoEvent_SetOrientation", (PyCFunction
) _wrap_QueryLayoutInfoEvent_SetOrientation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32014 { (char *)"QueryLayoutInfoEvent_GetOrientation", (PyCFunction
)_wrap_QueryLayoutInfoEvent_GetOrientation
, METH_O
, NULL
},
32015 { (char *)"QueryLayoutInfoEvent_SetAlignment", (PyCFunction
) _wrap_QueryLayoutInfoEvent_SetAlignment
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32016 { (char *)"QueryLayoutInfoEvent_GetAlignment", (PyCFunction
)_wrap_QueryLayoutInfoEvent_GetAlignment
, METH_O
, NULL
},
32017 { (char *)"QueryLayoutInfoEvent_swigregister", QueryLayoutInfoEvent_swigregister
, METH_VARARGS
, NULL
},
32018 { (char *)"QueryLayoutInfoEvent_swiginit", QueryLayoutInfoEvent_swiginit
, METH_VARARGS
, NULL
},
32019 { (char *)"new_CalculateLayoutEvent", (PyCFunction
) _wrap_new_CalculateLayoutEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32020 { (char *)"CalculateLayoutEvent_SetFlags", (PyCFunction
) _wrap_CalculateLayoutEvent_SetFlags
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32021 { (char *)"CalculateLayoutEvent_GetFlags", (PyCFunction
)_wrap_CalculateLayoutEvent_GetFlags
, METH_O
, NULL
},
32022 { (char *)"CalculateLayoutEvent_SetRect", (PyCFunction
) _wrap_CalculateLayoutEvent_SetRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32023 { (char *)"CalculateLayoutEvent_GetRect", (PyCFunction
)_wrap_CalculateLayoutEvent_GetRect
, METH_O
, NULL
},
32024 { (char *)"CalculateLayoutEvent_swigregister", CalculateLayoutEvent_swigregister
, METH_VARARGS
, NULL
},
32025 { (char *)"CalculateLayoutEvent_swiginit", CalculateLayoutEvent_swiginit
, METH_VARARGS
, NULL
},
32026 { (char *)"new_SashLayoutWindow", (PyCFunction
) _wrap_new_SashLayoutWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32027 { (char *)"new_PreSashLayoutWindow", (PyCFunction
)_wrap_new_PreSashLayoutWindow
, METH_NOARGS
, NULL
},
32028 { (char *)"SashLayoutWindow_Create", (PyCFunction
) _wrap_SashLayoutWindow_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32029 { (char *)"SashLayoutWindow_GetAlignment", (PyCFunction
)_wrap_SashLayoutWindow_GetAlignment
, METH_O
, NULL
},
32030 { (char *)"SashLayoutWindow_GetOrientation", (PyCFunction
)_wrap_SashLayoutWindow_GetOrientation
, METH_O
, NULL
},
32031 { (char *)"SashLayoutWindow_SetAlignment", (PyCFunction
) _wrap_SashLayoutWindow_SetAlignment
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32032 { (char *)"SashLayoutWindow_SetDefaultSize", (PyCFunction
) _wrap_SashLayoutWindow_SetDefaultSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32033 { (char *)"SashLayoutWindow_SetOrientation", (PyCFunction
) _wrap_SashLayoutWindow_SetOrientation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32034 { (char *)"SashLayoutWindow_swigregister", SashLayoutWindow_swigregister
, METH_VARARGS
, NULL
},
32035 { (char *)"SashLayoutWindow_swiginit", SashLayoutWindow_swiginit
, METH_VARARGS
, NULL
},
32036 { (char *)"new_LayoutAlgorithm", (PyCFunction
)_wrap_new_LayoutAlgorithm
, METH_NOARGS
, NULL
},
32037 { (char *)"delete_LayoutAlgorithm", (PyCFunction
)_wrap_delete_LayoutAlgorithm
, METH_O
, NULL
},
32038 { (char *)"LayoutAlgorithm_LayoutMDIFrame", (PyCFunction
) _wrap_LayoutAlgorithm_LayoutMDIFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32039 { (char *)"LayoutAlgorithm_LayoutFrame", (PyCFunction
) _wrap_LayoutAlgorithm_LayoutFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32040 { (char *)"LayoutAlgorithm_LayoutWindow", (PyCFunction
) _wrap_LayoutAlgorithm_LayoutWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32041 { (char *)"LayoutAlgorithm_swigregister", LayoutAlgorithm_swigregister
, METH_VARARGS
, NULL
},
32042 { (char *)"LayoutAlgorithm_swiginit", LayoutAlgorithm_swiginit
, METH_VARARGS
, NULL
},
32043 { (char *)"new_PopupWindow", (PyCFunction
) _wrap_new_PopupWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32044 { (char *)"new_PrePopupWindow", (PyCFunction
)_wrap_new_PrePopupWindow
, METH_NOARGS
, NULL
},
32045 { (char *)"PopupWindow_Create", (PyCFunction
) _wrap_PopupWindow_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32046 { (char *)"PopupWindow_Position", (PyCFunction
) _wrap_PopupWindow_Position
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32047 { (char *)"PopupWindow_swigregister", PopupWindow_swigregister
, METH_VARARGS
, NULL
},
32048 { (char *)"PopupWindow_swiginit", PopupWindow_swiginit
, METH_VARARGS
, NULL
},
32049 { (char *)"new_PopupTransientWindow", (PyCFunction
) _wrap_new_PopupTransientWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32050 { (char *)"new_PrePopupTransientWindow", (PyCFunction
)_wrap_new_PrePopupTransientWindow
, METH_NOARGS
, NULL
},
32051 { (char *)"PopupTransientWindow__setCallbackInfo", (PyCFunction
) _wrap_PopupTransientWindow__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32052 { (char *)"PopupTransientWindow_Popup", (PyCFunction
) _wrap_PopupTransientWindow_Popup
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32053 { (char *)"PopupTransientWindow_Dismiss", (PyCFunction
)_wrap_PopupTransientWindow_Dismiss
, METH_O
, NULL
},
32054 { (char *)"PopupTransientWindow_swigregister", PopupTransientWindow_swigregister
, METH_VARARGS
, NULL
},
32055 { (char *)"PopupTransientWindow_swiginit", PopupTransientWindow_swiginit
, METH_VARARGS
, NULL
},
32056 { (char *)"new_TipWindow", (PyCFunction
) _wrap_new_TipWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32057 { (char *)"TipWindow_SetBoundingRect", (PyCFunction
) _wrap_TipWindow_SetBoundingRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32058 { (char *)"TipWindow_Close", (PyCFunction
)_wrap_TipWindow_Close
, METH_O
, NULL
},
32059 { (char *)"TipWindow_swigregister", TipWindow_swigregister
, METH_VARARGS
, NULL
},
32060 { (char *)"TipWindow_swiginit", TipWindow_swiginit
, METH_VARARGS
, NULL
},
32061 { (char *)"new_VScrolledWindow", (PyCFunction
) _wrap_new_VScrolledWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32062 { (char *)"new_PreVScrolledWindow", (PyCFunction
)_wrap_new_PreVScrolledWindow
, METH_NOARGS
, NULL
},
32063 { (char *)"VScrolledWindow__setCallbackInfo", (PyCFunction
) _wrap_VScrolledWindow__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32064 { (char *)"VScrolledWindow_Create", (PyCFunction
) _wrap_VScrolledWindow_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32065 { (char *)"VScrolledWindow_SetLineCount", (PyCFunction
) _wrap_VScrolledWindow_SetLineCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32066 { (char *)"VScrolledWindow_ScrollToLine", (PyCFunction
) _wrap_VScrolledWindow_ScrollToLine
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32067 { (char *)"VScrolledWindow_RefreshLine", (PyCFunction
) _wrap_VScrolledWindow_RefreshLine
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32068 { (char *)"VScrolledWindow_RefreshLines", (PyCFunction
) _wrap_VScrolledWindow_RefreshLines
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32069 { (char *)"VScrolledWindow_HitTestXY", (PyCFunction
) _wrap_VScrolledWindow_HitTestXY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32070 { (char *)"VScrolledWindow_HitTest", (PyCFunction
) _wrap_VScrolledWindow_HitTest
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32071 { (char *)"VScrolledWindow_RefreshAll", (PyCFunction
)_wrap_VScrolledWindow_RefreshAll
, METH_O
, NULL
},
32072 { (char *)"VScrolledWindow_GetLineCount", (PyCFunction
)_wrap_VScrolledWindow_GetLineCount
, METH_O
, NULL
},
32073 { (char *)"VScrolledWindow_GetVisibleBegin", (PyCFunction
)_wrap_VScrolledWindow_GetVisibleBegin
, METH_O
, NULL
},
32074 { (char *)"VScrolledWindow_GetVisibleEnd", (PyCFunction
)_wrap_VScrolledWindow_GetVisibleEnd
, METH_O
, NULL
},
32075 { (char *)"VScrolledWindow_IsVisible", (PyCFunction
) _wrap_VScrolledWindow_IsVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32076 { (char *)"VScrolledWindow_GetFirstVisibleLine", (PyCFunction
)_wrap_VScrolledWindow_GetFirstVisibleLine
, METH_O
, NULL
},
32077 { (char *)"VScrolledWindow_GetLastVisibleLine", (PyCFunction
)_wrap_VScrolledWindow_GetLastVisibleLine
, METH_O
, NULL
},
32078 { (char *)"VScrolledWindow_FindFirstFromBottom", (PyCFunction
) _wrap_VScrolledWindow_FindFirstFromBottom
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32079 { (char *)"VScrolledWindow_GetLinesHeight", (PyCFunction
) _wrap_VScrolledWindow_GetLinesHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32080 { (char *)"VScrolledWindow_swigregister", VScrolledWindow_swigregister
, METH_VARARGS
, NULL
},
32081 { (char *)"VScrolledWindow_swiginit", VScrolledWindow_swiginit
, METH_VARARGS
, NULL
},
32082 { (char *)"new_VListBox", (PyCFunction
) _wrap_new_VListBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32083 { (char *)"new_PreVListBox", (PyCFunction
)_wrap_new_PreVListBox
, METH_NOARGS
, NULL
},
32084 { (char *)"VListBox__setCallbackInfo", (PyCFunction
) _wrap_VListBox__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32085 { (char *)"VListBox_Create", (PyCFunction
) _wrap_VListBox_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32086 { (char *)"VListBox_GetItemCount", (PyCFunction
)_wrap_VListBox_GetItemCount
, METH_O
, NULL
},
32087 { (char *)"VListBox_HasMultipleSelection", (PyCFunction
)_wrap_VListBox_HasMultipleSelection
, METH_O
, NULL
},
32088 { (char *)"VListBox_GetSelection", (PyCFunction
)_wrap_VListBox_GetSelection
, METH_O
, NULL
},
32089 { (char *)"VListBox_IsCurrent", (PyCFunction
) _wrap_VListBox_IsCurrent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32090 { (char *)"VListBox_IsSelected", (PyCFunction
) _wrap_VListBox_IsSelected
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32091 { (char *)"VListBox_GetSelectedCount", (PyCFunction
)_wrap_VListBox_GetSelectedCount
, METH_O
, NULL
},
32092 { (char *)"VListBox_GetFirstSelected", (PyCFunction
)_wrap_VListBox_GetFirstSelected
, METH_O
, NULL
},
32093 { (char *)"VListBox_GetNextSelected", (PyCFunction
) _wrap_VListBox_GetNextSelected
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32094 { (char *)"VListBox_GetMargins", (PyCFunction
)_wrap_VListBox_GetMargins
, METH_O
, NULL
},
32095 { (char *)"VListBox_GetSelectionBackground", (PyCFunction
)_wrap_VListBox_GetSelectionBackground
, METH_O
, NULL
},
32096 { (char *)"VListBox_SetItemCount", (PyCFunction
) _wrap_VListBox_SetItemCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32097 { (char *)"VListBox_Clear", (PyCFunction
)_wrap_VListBox_Clear
, METH_O
, NULL
},
32098 { (char *)"VListBox_SetSelection", (PyCFunction
) _wrap_VListBox_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32099 { (char *)"VListBox_Select", (PyCFunction
) _wrap_VListBox_Select
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32100 { (char *)"VListBox_SelectRange", (PyCFunction
) _wrap_VListBox_SelectRange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32101 { (char *)"VListBox_Toggle", (PyCFunction
) _wrap_VListBox_Toggle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32102 { (char *)"VListBox_SelectAll", (PyCFunction
)_wrap_VListBox_SelectAll
, METH_O
, NULL
},
32103 { (char *)"VListBox_DeselectAll", (PyCFunction
)_wrap_VListBox_DeselectAll
, METH_O
, NULL
},
32104 { (char *)"VListBox_SetMargins", (PyCFunction
) _wrap_VListBox_SetMargins
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32105 { (char *)"VListBox_SetMarginsXY", (PyCFunction
) _wrap_VListBox_SetMarginsXY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32106 { (char *)"VListBox_SetSelectionBackground", (PyCFunction
) _wrap_VListBox_SetSelectionBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32107 { (char *)"VListBox_OnDrawSeparator", (PyCFunction
) _wrap_VListBox_OnDrawSeparator
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32108 { (char *)"VListBox_OnDrawBackground", (PyCFunction
) _wrap_VListBox_OnDrawBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32109 { (char *)"VListBox_swigregister", VListBox_swigregister
, METH_VARARGS
, NULL
},
32110 { (char *)"VListBox_swiginit", VListBox_swiginit
, METH_VARARGS
, NULL
},
32111 { (char *)"new_HtmlListBox", (PyCFunction
) _wrap_new_HtmlListBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32112 { (char *)"new_PreHtmlListBox", (PyCFunction
)_wrap_new_PreHtmlListBox
, METH_NOARGS
, NULL
},
32113 { (char *)"HtmlListBox__setCallbackInfo", (PyCFunction
) _wrap_HtmlListBox__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32114 { (char *)"HtmlListBox_Create", (PyCFunction
) _wrap_HtmlListBox_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32115 { (char *)"HtmlListBox_SetItemCount", (PyCFunction
) _wrap_HtmlListBox_SetItemCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32116 { (char *)"HtmlListBox_GetFileSystem", (PyCFunction
)_wrap_HtmlListBox_GetFileSystem
, METH_O
, NULL
},
32117 { (char *)"HtmlListBox_OnLinkClicked", (PyCFunction
) _wrap_HtmlListBox_OnLinkClicked
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32118 { (char *)"HtmlListBox_swigregister", HtmlListBox_swigregister
, METH_VARARGS
, NULL
},
32119 { (char *)"HtmlListBox_swiginit", HtmlListBox_swiginit
, METH_VARARGS
, NULL
},
32120 { (char *)"new_SimpleHtmlListBox", (PyCFunction
) _wrap_new_SimpleHtmlListBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32121 { (char *)"new_PreSimpleHtmlListBox", (PyCFunction
)_wrap_new_PreSimpleHtmlListBox
, METH_NOARGS
, NULL
},
32122 { (char *)"SimpleHtmlListBox_Create", (PyCFunction
) _wrap_SimpleHtmlListBox_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32123 { (char *)"SimpleHtmlListBox_swigregister", SimpleHtmlListBox_swigregister
, METH_VARARGS
, NULL
},
32124 { (char *)"SimpleHtmlListBox_swiginit", SimpleHtmlListBox_swiginit
, METH_VARARGS
, NULL
},
32125 { (char *)"new_TaskBarIcon", (PyCFunction
)_wrap_new_TaskBarIcon
, METH_NOARGS
, NULL
},
32126 { (char *)"delete_TaskBarIcon", (PyCFunction
)_wrap_delete_TaskBarIcon
, METH_O
, NULL
},
32127 { (char *)"TaskBarIcon__setCallbackInfo", (PyCFunction
) _wrap_TaskBarIcon__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32128 { (char *)"TaskBarIcon_Destroy", (PyCFunction
)_wrap_TaskBarIcon_Destroy
, METH_O
, NULL
},
32129 { (char *)"TaskBarIcon_IsOk", (PyCFunction
)_wrap_TaskBarIcon_IsOk
, METH_O
, NULL
},
32130 { (char *)"TaskBarIcon_IsIconInstalled", (PyCFunction
)_wrap_TaskBarIcon_IsIconInstalled
, METH_O
, NULL
},
32131 { (char *)"TaskBarIcon_SetIcon", (PyCFunction
) _wrap_TaskBarIcon_SetIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32132 { (char *)"TaskBarIcon_RemoveIcon", (PyCFunction
)_wrap_TaskBarIcon_RemoveIcon
, METH_O
, NULL
},
32133 { (char *)"TaskBarIcon_PopupMenu", (PyCFunction
) _wrap_TaskBarIcon_PopupMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32134 { (char *)"TaskBarIcon_swigregister", TaskBarIcon_swigregister
, METH_VARARGS
, NULL
},
32135 { (char *)"TaskBarIcon_swiginit", TaskBarIcon_swiginit
, METH_VARARGS
, NULL
},
32136 { (char *)"new_TaskBarIconEvent", (PyCFunction
) _wrap_new_TaskBarIconEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32137 { (char *)"TaskBarIconEvent_swigregister", TaskBarIconEvent_swigregister
, METH_VARARGS
, NULL
},
32138 { (char *)"TaskBarIconEvent_swiginit", TaskBarIconEvent_swiginit
, METH_VARARGS
, NULL
},
32139 { (char *)"new_ColourData", (PyCFunction
)_wrap_new_ColourData
, METH_NOARGS
, NULL
},
32140 { (char *)"delete_ColourData", (PyCFunction
)_wrap_delete_ColourData
, METH_O
, NULL
},
32141 { (char *)"ColourData_GetChooseFull", (PyCFunction
)_wrap_ColourData_GetChooseFull
, METH_O
, NULL
},
32142 { (char *)"ColourData_GetColour", (PyCFunction
)_wrap_ColourData_GetColour
, METH_O
, NULL
},
32143 { (char *)"ColourData_GetCustomColour", (PyCFunction
) _wrap_ColourData_GetCustomColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32144 { (char *)"ColourData_SetChooseFull", (PyCFunction
) _wrap_ColourData_SetChooseFull
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32145 { (char *)"ColourData_SetColour", (PyCFunction
) _wrap_ColourData_SetColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32146 { (char *)"ColourData_SetCustomColour", (PyCFunction
) _wrap_ColourData_SetCustomColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32147 { (char *)"ColourData_swigregister", ColourData_swigregister
, METH_VARARGS
, NULL
},
32148 { (char *)"ColourData_swiginit", ColourData_swiginit
, METH_VARARGS
, NULL
},
32149 { (char *)"new_ColourDialog", (PyCFunction
) _wrap_new_ColourDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32150 { (char *)"ColourDialog_GetColourData", (PyCFunction
)_wrap_ColourDialog_GetColourData
, METH_O
, NULL
},
32151 { (char *)"ColourDialog_swigregister", ColourDialog_swigregister
, METH_VARARGS
, NULL
},
32152 { (char *)"ColourDialog_swiginit", ColourDialog_swiginit
, METH_VARARGS
, NULL
},
32153 { (char *)"GetColourFromUser", (PyCFunction
) _wrap_GetColourFromUser
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32154 { (char *)"new_DirDialog", (PyCFunction
) _wrap_new_DirDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32155 { (char *)"DirDialog_GetPath", (PyCFunction
)_wrap_DirDialog_GetPath
, METH_O
, NULL
},
32156 { (char *)"DirDialog_GetMessage", (PyCFunction
)_wrap_DirDialog_GetMessage
, METH_O
, NULL
},
32157 { (char *)"DirDialog_SetMessage", (PyCFunction
) _wrap_DirDialog_SetMessage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32158 { (char *)"DirDialog_SetPath", (PyCFunction
) _wrap_DirDialog_SetPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32159 { (char *)"DirDialog_swigregister", DirDialog_swigregister
, METH_VARARGS
, NULL
},
32160 { (char *)"DirDialog_swiginit", DirDialog_swiginit
, METH_VARARGS
, NULL
},
32161 { (char *)"new_FileDialog", (PyCFunction
) _wrap_new_FileDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32162 { (char *)"FileDialog_SetMessage", (PyCFunction
) _wrap_FileDialog_SetMessage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32163 { (char *)"FileDialog_SetPath", (PyCFunction
) _wrap_FileDialog_SetPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32164 { (char *)"FileDialog_SetDirectory", (PyCFunction
) _wrap_FileDialog_SetDirectory
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32165 { (char *)"FileDialog_SetFilename", (PyCFunction
) _wrap_FileDialog_SetFilename
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32166 { (char *)"FileDialog_SetWildcard", (PyCFunction
) _wrap_FileDialog_SetWildcard
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32167 { (char *)"FileDialog_SetFilterIndex", (PyCFunction
) _wrap_FileDialog_SetFilterIndex
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32168 { (char *)"FileDialog_GetMessage", (PyCFunction
)_wrap_FileDialog_GetMessage
, METH_O
, NULL
},
32169 { (char *)"FileDialog_GetPath", (PyCFunction
)_wrap_FileDialog_GetPath
, METH_O
, NULL
},
32170 { (char *)"FileDialog_GetDirectory", (PyCFunction
)_wrap_FileDialog_GetDirectory
, METH_O
, NULL
},
32171 { (char *)"FileDialog_GetFilename", (PyCFunction
)_wrap_FileDialog_GetFilename
, METH_O
, NULL
},
32172 { (char *)"FileDialog_GetWildcard", (PyCFunction
)_wrap_FileDialog_GetWildcard
, METH_O
, NULL
},
32173 { (char *)"FileDialog_GetFilterIndex", (PyCFunction
)_wrap_FileDialog_GetFilterIndex
, METH_O
, NULL
},
32174 { (char *)"FileDialog_GetFilenames", (PyCFunction
)_wrap_FileDialog_GetFilenames
, METH_O
, NULL
},
32175 { (char *)"FileDialog_GetPaths", (PyCFunction
)_wrap_FileDialog_GetPaths
, METH_O
, NULL
},
32176 { (char *)"FileDialog_swigregister", FileDialog_swigregister
, METH_VARARGS
, NULL
},
32177 { (char *)"FileDialog_swiginit", FileDialog_swiginit
, METH_VARARGS
, NULL
},
32178 { (char *)"new_MultiChoiceDialog", (PyCFunction
) _wrap_new_MultiChoiceDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32179 { (char *)"MultiChoiceDialog_SetSelections", (PyCFunction
) _wrap_MultiChoiceDialog_SetSelections
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32180 { (char *)"MultiChoiceDialog_GetSelections", (PyCFunction
)_wrap_MultiChoiceDialog_GetSelections
, METH_O
, NULL
},
32181 { (char *)"MultiChoiceDialog_swigregister", MultiChoiceDialog_swigregister
, METH_VARARGS
, NULL
},
32182 { (char *)"MultiChoiceDialog_swiginit", MultiChoiceDialog_swiginit
, METH_VARARGS
, NULL
},
32183 { (char *)"new_SingleChoiceDialog", (PyCFunction
) _wrap_new_SingleChoiceDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32184 { (char *)"SingleChoiceDialog_GetSelection", (PyCFunction
)_wrap_SingleChoiceDialog_GetSelection
, METH_O
, NULL
},
32185 { (char *)"SingleChoiceDialog_GetStringSelection", (PyCFunction
)_wrap_SingleChoiceDialog_GetStringSelection
, METH_O
, NULL
},
32186 { (char *)"SingleChoiceDialog_SetSelection", (PyCFunction
) _wrap_SingleChoiceDialog_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32187 { (char *)"SingleChoiceDialog_swigregister", SingleChoiceDialog_swigregister
, METH_VARARGS
, NULL
},
32188 { (char *)"SingleChoiceDialog_swiginit", SingleChoiceDialog_swiginit
, METH_VARARGS
, NULL
},
32189 { (char *)"new_TextEntryDialog", (PyCFunction
) _wrap_new_TextEntryDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32190 { (char *)"TextEntryDialog_GetValue", (PyCFunction
)_wrap_TextEntryDialog_GetValue
, METH_O
, NULL
},
32191 { (char *)"TextEntryDialog_SetValue", (PyCFunction
) _wrap_TextEntryDialog_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32192 { (char *)"TextEntryDialog_swigregister", TextEntryDialog_swigregister
, METH_VARARGS
, NULL
},
32193 { (char *)"TextEntryDialog_swiginit", TextEntryDialog_swiginit
, METH_VARARGS
, NULL
},
32194 { (char *)"new_PasswordEntryDialog", (PyCFunction
) _wrap_new_PasswordEntryDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32195 { (char *)"PasswordEntryDialog_swigregister", PasswordEntryDialog_swigregister
, METH_VARARGS
, NULL
},
32196 { (char *)"PasswordEntryDialog_swiginit", PasswordEntryDialog_swiginit
, METH_VARARGS
, NULL
},
32197 { (char *)"new_NumberEntryDialog", (PyCFunction
) _wrap_new_NumberEntryDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32198 { (char *)"NumberEntryDialog_GetValue", (PyCFunction
)_wrap_NumberEntryDialog_GetValue
, METH_O
, NULL
},
32199 { (char *)"NumberEntryDialog_swigregister", NumberEntryDialog_swigregister
, METH_VARARGS
, NULL
},
32200 { (char *)"NumberEntryDialog_swiginit", NumberEntryDialog_swiginit
, METH_VARARGS
, NULL
},
32201 { (char *)"new_FontData", (PyCFunction
)_wrap_new_FontData
, METH_NOARGS
, NULL
},
32202 { (char *)"delete_FontData", (PyCFunction
)_wrap_delete_FontData
, METH_O
, NULL
},
32203 { (char *)"FontData_EnableEffects", (PyCFunction
) _wrap_FontData_EnableEffects
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32204 { (char *)"FontData_GetAllowSymbols", (PyCFunction
)_wrap_FontData_GetAllowSymbols
, METH_O
, NULL
},
32205 { (char *)"FontData_GetColour", (PyCFunction
)_wrap_FontData_GetColour
, METH_O
, NULL
},
32206 { (char *)"FontData_GetChosenFont", (PyCFunction
)_wrap_FontData_GetChosenFont
, METH_O
, NULL
},
32207 { (char *)"FontData_GetEnableEffects", (PyCFunction
)_wrap_FontData_GetEnableEffects
, METH_O
, NULL
},
32208 { (char *)"FontData_GetInitialFont", (PyCFunction
)_wrap_FontData_GetInitialFont
, METH_O
, NULL
},
32209 { (char *)"FontData_GetShowHelp", (PyCFunction
)_wrap_FontData_GetShowHelp
, METH_O
, NULL
},
32210 { (char *)"FontData_SetAllowSymbols", (PyCFunction
) _wrap_FontData_SetAllowSymbols
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32211 { (char *)"FontData_SetChosenFont", (PyCFunction
) _wrap_FontData_SetChosenFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32212 { (char *)"FontData_SetColour", (PyCFunction
) _wrap_FontData_SetColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32213 { (char *)"FontData_SetInitialFont", (PyCFunction
) _wrap_FontData_SetInitialFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32214 { (char *)"FontData_SetRange", (PyCFunction
) _wrap_FontData_SetRange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32215 { (char *)"FontData_SetShowHelp", (PyCFunction
) _wrap_FontData_SetShowHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32216 { (char *)"FontData_swigregister", FontData_swigregister
, METH_VARARGS
, NULL
},
32217 { (char *)"FontData_swiginit", FontData_swiginit
, METH_VARARGS
, NULL
},
32218 { (char *)"new_FontDialog", (PyCFunction
) _wrap_new_FontDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32219 { (char *)"FontDialog_GetFontData", (PyCFunction
)_wrap_FontDialog_GetFontData
, METH_O
, NULL
},
32220 { (char *)"FontDialog_swigregister", FontDialog_swigregister
, METH_VARARGS
, NULL
},
32221 { (char *)"FontDialog_swiginit", FontDialog_swiginit
, METH_VARARGS
, NULL
},
32222 { (char *)"GetFontFromUser", (PyCFunction
) _wrap_GetFontFromUser
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32223 { (char *)"new_MessageDialog", (PyCFunction
) _wrap_new_MessageDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32224 { (char *)"MessageDialog_swigregister", MessageDialog_swigregister
, METH_VARARGS
, NULL
},
32225 { (char *)"MessageDialog_swiginit", MessageDialog_swiginit
, METH_VARARGS
, NULL
},
32226 { (char *)"new_ProgressDialog", (PyCFunction
) _wrap_new_ProgressDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32227 { (char *)"ProgressDialog_Update", (PyCFunction
) _wrap_ProgressDialog_Update
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32228 { (char *)"ProgressDialog_Pulse", (PyCFunction
) _wrap_ProgressDialog_Pulse
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32229 { (char *)"ProgressDialog_Resume", (PyCFunction
)_wrap_ProgressDialog_Resume
, METH_O
, NULL
},
32230 { (char *)"ProgressDialog_swigregister", ProgressDialog_swigregister
, METH_VARARGS
, NULL
},
32231 { (char *)"ProgressDialog_swiginit", ProgressDialog_swiginit
, METH_VARARGS
, NULL
},
32232 { (char *)"new_FindDialogEvent", (PyCFunction
) _wrap_new_FindDialogEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32233 { (char *)"FindDialogEvent_GetFlags", (PyCFunction
)_wrap_FindDialogEvent_GetFlags
, METH_O
, NULL
},
32234 { (char *)"FindDialogEvent_GetFindString", (PyCFunction
)_wrap_FindDialogEvent_GetFindString
, METH_O
, NULL
},
32235 { (char *)"FindDialogEvent_GetReplaceString", (PyCFunction
)_wrap_FindDialogEvent_GetReplaceString
, METH_O
, NULL
},
32236 { (char *)"FindDialogEvent_GetDialog", (PyCFunction
)_wrap_FindDialogEvent_GetDialog
, METH_O
, NULL
},
32237 { (char *)"FindDialogEvent_SetFlags", (PyCFunction
) _wrap_FindDialogEvent_SetFlags
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32238 { (char *)"FindDialogEvent_SetFindString", (PyCFunction
) _wrap_FindDialogEvent_SetFindString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32239 { (char *)"FindDialogEvent_SetReplaceString", (PyCFunction
) _wrap_FindDialogEvent_SetReplaceString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32240 { (char *)"FindDialogEvent_swigregister", FindDialogEvent_swigregister
, METH_VARARGS
, NULL
},
32241 { (char *)"FindDialogEvent_swiginit", FindDialogEvent_swiginit
, METH_VARARGS
, NULL
},
32242 { (char *)"new_FindReplaceData", (PyCFunction
) _wrap_new_FindReplaceData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32243 { (char *)"delete_FindReplaceData", (PyCFunction
)_wrap_delete_FindReplaceData
, METH_O
, NULL
},
32244 { (char *)"FindReplaceData_GetFindString", (PyCFunction
)_wrap_FindReplaceData_GetFindString
, METH_O
, NULL
},
32245 { (char *)"FindReplaceData_GetReplaceString", (PyCFunction
)_wrap_FindReplaceData_GetReplaceString
, METH_O
, NULL
},
32246 { (char *)"FindReplaceData_GetFlags", (PyCFunction
)_wrap_FindReplaceData_GetFlags
, METH_O
, NULL
},
32247 { (char *)"FindReplaceData_SetFlags", (PyCFunction
) _wrap_FindReplaceData_SetFlags
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32248 { (char *)"FindReplaceData_SetFindString", (PyCFunction
) _wrap_FindReplaceData_SetFindString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32249 { (char *)"FindReplaceData_SetReplaceString", (PyCFunction
) _wrap_FindReplaceData_SetReplaceString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32250 { (char *)"FindReplaceData_swigregister", FindReplaceData_swigregister
, METH_VARARGS
, NULL
},
32251 { (char *)"FindReplaceData_swiginit", FindReplaceData_swiginit
, METH_VARARGS
, NULL
},
32252 { (char *)"new_FindReplaceDialog", (PyCFunction
) _wrap_new_FindReplaceDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32253 { (char *)"new_PreFindReplaceDialog", (PyCFunction
)_wrap_new_PreFindReplaceDialog
, METH_NOARGS
, NULL
},
32254 { (char *)"FindReplaceDialog_Create", (PyCFunction
) _wrap_FindReplaceDialog_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32255 { (char *)"FindReplaceDialog_GetData", (PyCFunction
)_wrap_FindReplaceDialog_GetData
, METH_O
, NULL
},
32256 { (char *)"FindReplaceDialog_SetData", (PyCFunction
) _wrap_FindReplaceDialog_SetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32257 { (char *)"FindReplaceDialog_swigregister", FindReplaceDialog_swigregister
, METH_VARARGS
, NULL
},
32258 { (char *)"FindReplaceDialog_swiginit", FindReplaceDialog_swiginit
, METH_VARARGS
, NULL
},
32259 { (char *)"new_MDIParentFrame", (PyCFunction
) _wrap_new_MDIParentFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32260 { (char *)"new_PreMDIParentFrame", (PyCFunction
)_wrap_new_PreMDIParentFrame
, METH_NOARGS
, NULL
},
32261 { (char *)"MDIParentFrame_Create", (PyCFunction
) _wrap_MDIParentFrame_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32262 { (char *)"MDIParentFrame_ActivateNext", (PyCFunction
)_wrap_MDIParentFrame_ActivateNext
, METH_O
, NULL
},
32263 { (char *)"MDIParentFrame_ActivatePrevious", (PyCFunction
)_wrap_MDIParentFrame_ActivatePrevious
, METH_O
, NULL
},
32264 { (char *)"MDIParentFrame_ArrangeIcons", (PyCFunction
)_wrap_MDIParentFrame_ArrangeIcons
, METH_O
, NULL
},
32265 { (char *)"MDIParentFrame_Cascade", (PyCFunction
)_wrap_MDIParentFrame_Cascade
, METH_O
, NULL
},
32266 { (char *)"MDIParentFrame_GetActiveChild", (PyCFunction
)_wrap_MDIParentFrame_GetActiveChild
, METH_O
, NULL
},
32267 { (char *)"MDIParentFrame_GetClientWindow", (PyCFunction
)_wrap_MDIParentFrame_GetClientWindow
, METH_O
, NULL
},
32268 { (char *)"MDIParentFrame_Tile", (PyCFunction
) _wrap_MDIParentFrame_Tile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32269 { (char *)"MDIParentFrame_swigregister", MDIParentFrame_swigregister
, METH_VARARGS
, NULL
},
32270 { (char *)"MDIParentFrame_swiginit", MDIParentFrame_swiginit
, METH_VARARGS
, NULL
},
32271 { (char *)"new_MDIChildFrame", (PyCFunction
) _wrap_new_MDIChildFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32272 { (char *)"new_PreMDIChildFrame", (PyCFunction
)_wrap_new_PreMDIChildFrame
, METH_NOARGS
, NULL
},
32273 { (char *)"MDIChildFrame_Create", (PyCFunction
) _wrap_MDIChildFrame_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32274 { (char *)"MDIChildFrame_Activate", (PyCFunction
)_wrap_MDIChildFrame_Activate
, METH_O
, NULL
},
32275 { (char *)"MDIChildFrame_swigregister", MDIChildFrame_swigregister
, METH_VARARGS
, NULL
},
32276 { (char *)"MDIChildFrame_swiginit", MDIChildFrame_swiginit
, METH_VARARGS
, NULL
},
32277 { (char *)"new_MDIClientWindow", (PyCFunction
) _wrap_new_MDIClientWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32278 { (char *)"new_PreMDIClientWindow", (PyCFunction
)_wrap_new_PreMDIClientWindow
, METH_NOARGS
, NULL
},
32279 { (char *)"MDIClientWindow_Create", (PyCFunction
) _wrap_MDIClientWindow_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32280 { (char *)"MDIClientWindow_swigregister", MDIClientWindow_swigregister
, METH_VARARGS
, NULL
},
32281 { (char *)"MDIClientWindow_swiginit", MDIClientWindow_swiginit
, METH_VARARGS
, NULL
},
32282 { (char *)"new_PyWindow", (PyCFunction
) _wrap_new_PyWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32283 { (char *)"new_PrePyWindow", (PyCFunction
)_wrap_new_PrePyWindow
, METH_NOARGS
, NULL
},
32284 { (char *)"PyWindow__setCallbackInfo", (PyCFunction
) _wrap_PyWindow__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32285 { (char *)"PyWindow_DoEraseBackground", (PyCFunction
) _wrap_PyWindow_DoEraseBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32286 { (char *)"PyWindow_DoMoveWindow", (PyCFunction
) _wrap_PyWindow_DoMoveWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32287 { (char *)"PyWindow_DoSetSize", (PyCFunction
) _wrap_PyWindow_DoSetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32288 { (char *)"PyWindow_DoSetClientSize", (PyCFunction
) _wrap_PyWindow_DoSetClientSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32289 { (char *)"PyWindow_DoSetVirtualSize", (PyCFunction
) _wrap_PyWindow_DoSetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32290 { (char *)"PyWindow_DoGetSize", (PyCFunction
)_wrap_PyWindow_DoGetSize
, METH_O
, NULL
},
32291 { (char *)"PyWindow_DoGetClientSize", (PyCFunction
)_wrap_PyWindow_DoGetClientSize
, METH_O
, NULL
},
32292 { (char *)"PyWindow_DoGetPosition", (PyCFunction
)_wrap_PyWindow_DoGetPosition
, METH_O
, NULL
},
32293 { (char *)"PyWindow_DoGetVirtualSize", (PyCFunction
)_wrap_PyWindow_DoGetVirtualSize
, METH_O
, NULL
},
32294 { (char *)"PyWindow_DoGetBestSize", (PyCFunction
)_wrap_PyWindow_DoGetBestSize
, METH_O
, NULL
},
32295 { (char *)"PyWindow_GetDefaultAttributes", (PyCFunction
)_wrap_PyWindow_GetDefaultAttributes
, METH_O
, NULL
},
32296 { (char *)"PyWindow_OnInternalIdle", (PyCFunction
)_wrap_PyWindow_OnInternalIdle
, METH_O
, NULL
},
32297 { (char *)"PyWindow_swigregister", PyWindow_swigregister
, METH_VARARGS
, NULL
},
32298 { (char *)"PyWindow_swiginit", PyWindow_swiginit
, METH_VARARGS
, NULL
},
32299 { (char *)"new_PyPanel", (PyCFunction
) _wrap_new_PyPanel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32300 { (char *)"new_PrePyPanel", (PyCFunction
)_wrap_new_PrePyPanel
, METH_NOARGS
, NULL
},
32301 { (char *)"PyPanel__setCallbackInfo", (PyCFunction
) _wrap_PyPanel__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32302 { (char *)"PyPanel_DoEraseBackground", (PyCFunction
) _wrap_PyPanel_DoEraseBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32303 { (char *)"PyPanel_DoMoveWindow", (PyCFunction
) _wrap_PyPanel_DoMoveWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32304 { (char *)"PyPanel_DoSetSize", (PyCFunction
) _wrap_PyPanel_DoSetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32305 { (char *)"PyPanel_DoSetClientSize", (PyCFunction
) _wrap_PyPanel_DoSetClientSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32306 { (char *)"PyPanel_DoSetVirtualSize", (PyCFunction
) _wrap_PyPanel_DoSetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32307 { (char *)"PyPanel_DoGetSize", (PyCFunction
)_wrap_PyPanel_DoGetSize
, METH_O
, NULL
},
32308 { (char *)"PyPanel_DoGetClientSize", (PyCFunction
)_wrap_PyPanel_DoGetClientSize
, METH_O
, NULL
},
32309 { (char *)"PyPanel_DoGetPosition", (PyCFunction
)_wrap_PyPanel_DoGetPosition
, METH_O
, NULL
},
32310 { (char *)"PyPanel_DoGetVirtualSize", (PyCFunction
)_wrap_PyPanel_DoGetVirtualSize
, METH_O
, NULL
},
32311 { (char *)"PyPanel_DoGetBestSize", (PyCFunction
)_wrap_PyPanel_DoGetBestSize
, METH_O
, NULL
},
32312 { (char *)"PyPanel_GetDefaultAttributes", (PyCFunction
)_wrap_PyPanel_GetDefaultAttributes
, METH_O
, NULL
},
32313 { (char *)"PyPanel_OnInternalIdle", (PyCFunction
)_wrap_PyPanel_OnInternalIdle
, METH_O
, NULL
},
32314 { (char *)"PyPanel_swigregister", PyPanel_swigregister
, METH_VARARGS
, NULL
},
32315 { (char *)"PyPanel_swiginit", PyPanel_swiginit
, METH_VARARGS
, NULL
},
32316 { (char *)"new_PyScrolledWindow", (PyCFunction
) _wrap_new_PyScrolledWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32317 { (char *)"new_PrePyScrolledWindow", (PyCFunction
)_wrap_new_PrePyScrolledWindow
, METH_NOARGS
, NULL
},
32318 { (char *)"PyScrolledWindow__setCallbackInfo", (PyCFunction
) _wrap_PyScrolledWindow__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32319 { (char *)"PyScrolledWindow_DoEraseBackground", (PyCFunction
) _wrap_PyScrolledWindow_DoEraseBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32320 { (char *)"PyScrolledWindow_DoMoveWindow", (PyCFunction
) _wrap_PyScrolledWindow_DoMoveWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32321 { (char *)"PyScrolledWindow_DoSetSize", (PyCFunction
) _wrap_PyScrolledWindow_DoSetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32322 { (char *)"PyScrolledWindow_DoSetClientSize", (PyCFunction
) _wrap_PyScrolledWindow_DoSetClientSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32323 { (char *)"PyScrolledWindow_DoSetVirtualSize", (PyCFunction
) _wrap_PyScrolledWindow_DoSetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32324 { (char *)"PyScrolledWindow_DoGetSize", (PyCFunction
)_wrap_PyScrolledWindow_DoGetSize
, METH_O
, NULL
},
32325 { (char *)"PyScrolledWindow_DoGetClientSize", (PyCFunction
)_wrap_PyScrolledWindow_DoGetClientSize
, METH_O
, NULL
},
32326 { (char *)"PyScrolledWindow_DoGetPosition", (PyCFunction
)_wrap_PyScrolledWindow_DoGetPosition
, METH_O
, NULL
},
32327 { (char *)"PyScrolledWindow_DoGetVirtualSize", (PyCFunction
)_wrap_PyScrolledWindow_DoGetVirtualSize
, METH_O
, NULL
},
32328 { (char *)"PyScrolledWindow_DoGetBestSize", (PyCFunction
)_wrap_PyScrolledWindow_DoGetBestSize
, METH_O
, NULL
},
32329 { (char *)"PyScrolledWindow_GetDefaultAttributes", (PyCFunction
)_wrap_PyScrolledWindow_GetDefaultAttributes
, METH_O
, NULL
},
32330 { (char *)"PyScrolledWindow_OnInternalIdle", (PyCFunction
)_wrap_PyScrolledWindow_OnInternalIdle
, METH_O
, NULL
},
32331 { (char *)"PyScrolledWindow_swigregister", PyScrolledWindow_swigregister
, METH_VARARGS
, NULL
},
32332 { (char *)"PyScrolledWindow_swiginit", PyScrolledWindow_swiginit
, METH_VARARGS
, NULL
},
32333 { (char *)"new_PrintData", _wrap_new_PrintData
, METH_VARARGS
, NULL
},
32334 { (char *)"delete_PrintData", (PyCFunction
)_wrap_delete_PrintData
, METH_O
, NULL
},
32335 { (char *)"PrintData_GetNoCopies", (PyCFunction
)_wrap_PrintData_GetNoCopies
, METH_O
, NULL
},
32336 { (char *)"PrintData_GetCollate", (PyCFunction
)_wrap_PrintData_GetCollate
, METH_O
, NULL
},
32337 { (char *)"PrintData_GetOrientation", (PyCFunction
)_wrap_PrintData_GetOrientation
, METH_O
, NULL
},
32338 { (char *)"PrintData_IsOrientationReversed", (PyCFunction
)_wrap_PrintData_IsOrientationReversed
, METH_O
, NULL
},
32339 { (char *)"PrintData_IsOk", (PyCFunction
)_wrap_PrintData_IsOk
, METH_O
, NULL
},
32340 { (char *)"PrintData_GetPrinterName", (PyCFunction
)_wrap_PrintData_GetPrinterName
, METH_O
, NULL
},
32341 { (char *)"PrintData_GetColour", (PyCFunction
)_wrap_PrintData_GetColour
, METH_O
, NULL
},
32342 { (char *)"PrintData_GetDuplex", (PyCFunction
)_wrap_PrintData_GetDuplex
, METH_O
, NULL
},
32343 { (char *)"PrintData_GetPaperId", (PyCFunction
)_wrap_PrintData_GetPaperId
, METH_O
, NULL
},
32344 { (char *)"PrintData_GetPaperSize", (PyCFunction
)_wrap_PrintData_GetPaperSize
, METH_O
, NULL
},
32345 { (char *)"PrintData_GetQuality", (PyCFunction
)_wrap_PrintData_GetQuality
, METH_O
, NULL
},
32346 { (char *)"PrintData_GetBin", (PyCFunction
)_wrap_PrintData_GetBin
, METH_O
, NULL
},
32347 { (char *)"PrintData_GetPrintMode", (PyCFunction
)_wrap_PrintData_GetPrintMode
, METH_O
, NULL
},
32348 { (char *)"PrintData_GetMedia", (PyCFunction
)_wrap_PrintData_GetMedia
, METH_O
, NULL
},
32349 { (char *)"PrintData_SetNoCopies", (PyCFunction
) _wrap_PrintData_SetNoCopies
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32350 { (char *)"PrintData_SetCollate", (PyCFunction
) _wrap_PrintData_SetCollate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32351 { (char *)"PrintData_SetOrientation", (PyCFunction
) _wrap_PrintData_SetOrientation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32352 { (char *)"PrintData_SetOrientationReversed", (PyCFunction
) _wrap_PrintData_SetOrientationReversed
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32353 { (char *)"PrintData_SetPrinterName", (PyCFunction
) _wrap_PrintData_SetPrinterName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32354 { (char *)"PrintData_SetColour", (PyCFunction
) _wrap_PrintData_SetColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32355 { (char *)"PrintData_SetDuplex", (PyCFunction
) _wrap_PrintData_SetDuplex
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32356 { (char *)"PrintData_SetPaperId", (PyCFunction
) _wrap_PrintData_SetPaperId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32357 { (char *)"PrintData_SetPaperSize", (PyCFunction
) _wrap_PrintData_SetPaperSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32358 { (char *)"PrintData_SetQuality", (PyCFunction
) _wrap_PrintData_SetQuality
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32359 { (char *)"PrintData_SetBin", (PyCFunction
) _wrap_PrintData_SetBin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32360 { (char *)"PrintData_SetPrintMode", (PyCFunction
) _wrap_PrintData_SetPrintMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32361 { (char *)"PrintData_SetMedia", (PyCFunction
) _wrap_PrintData_SetMedia
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32362 { (char *)"PrintData_GetFilename", (PyCFunction
)_wrap_PrintData_GetFilename
, METH_O
, NULL
},
32363 { (char *)"PrintData_SetFilename", (PyCFunction
) _wrap_PrintData_SetFilename
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32364 { (char *)"PrintData_GetPrivData", (PyCFunction
)_wrap_PrintData_GetPrivData
, METH_O
, NULL
},
32365 { (char *)"PrintData_SetPrivData", (PyCFunction
) _wrap_PrintData_SetPrivData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32366 { (char *)"PrintData_swigregister", PrintData_swigregister
, METH_VARARGS
, NULL
},
32367 { (char *)"PrintData_swiginit", PrintData_swiginit
, METH_VARARGS
, NULL
},
32368 { (char *)"new_PageSetupDialogData", _wrap_new_PageSetupDialogData
, METH_VARARGS
, NULL
},
32369 { (char *)"delete_PageSetupDialogData", (PyCFunction
)_wrap_delete_PageSetupDialogData
, METH_O
, NULL
},
32370 { (char *)"PageSetupDialogData_EnableHelp", (PyCFunction
) _wrap_PageSetupDialogData_EnableHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32371 { (char *)"PageSetupDialogData_EnableMargins", (PyCFunction
) _wrap_PageSetupDialogData_EnableMargins
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32372 { (char *)"PageSetupDialogData_EnableOrientation", (PyCFunction
) _wrap_PageSetupDialogData_EnableOrientation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32373 { (char *)"PageSetupDialogData_EnablePaper", (PyCFunction
) _wrap_PageSetupDialogData_EnablePaper
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32374 { (char *)"PageSetupDialogData_EnablePrinter", (PyCFunction
) _wrap_PageSetupDialogData_EnablePrinter
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32375 { (char *)"PageSetupDialogData_GetDefaultMinMargins", (PyCFunction
)_wrap_PageSetupDialogData_GetDefaultMinMargins
, METH_O
, NULL
},
32376 { (char *)"PageSetupDialogData_GetEnableMargins", (PyCFunction
)_wrap_PageSetupDialogData_GetEnableMargins
, METH_O
, NULL
},
32377 { (char *)"PageSetupDialogData_GetEnableOrientation", (PyCFunction
)_wrap_PageSetupDialogData_GetEnableOrientation
, METH_O
, NULL
},
32378 { (char *)"PageSetupDialogData_GetEnablePaper", (PyCFunction
)_wrap_PageSetupDialogData_GetEnablePaper
, METH_O
, NULL
},
32379 { (char *)"PageSetupDialogData_GetEnablePrinter", (PyCFunction
)_wrap_PageSetupDialogData_GetEnablePrinter
, METH_O
, NULL
},
32380 { (char *)"PageSetupDialogData_GetEnableHelp", (PyCFunction
)_wrap_PageSetupDialogData_GetEnableHelp
, METH_O
, NULL
},
32381 { (char *)"PageSetupDialogData_GetDefaultInfo", (PyCFunction
)_wrap_PageSetupDialogData_GetDefaultInfo
, METH_O
, NULL
},
32382 { (char *)"PageSetupDialogData_GetMarginTopLeft", (PyCFunction
)_wrap_PageSetupDialogData_GetMarginTopLeft
, METH_O
, NULL
},
32383 { (char *)"PageSetupDialogData_GetMarginBottomRight", (PyCFunction
)_wrap_PageSetupDialogData_GetMarginBottomRight
, METH_O
, NULL
},
32384 { (char *)"PageSetupDialogData_GetMinMarginTopLeft", (PyCFunction
)_wrap_PageSetupDialogData_GetMinMarginTopLeft
, METH_O
, NULL
},
32385 { (char *)"PageSetupDialogData_GetMinMarginBottomRight", (PyCFunction
)_wrap_PageSetupDialogData_GetMinMarginBottomRight
, METH_O
, NULL
},
32386 { (char *)"PageSetupDialogData_GetPaperId", (PyCFunction
)_wrap_PageSetupDialogData_GetPaperId
, METH_O
, NULL
},
32387 { (char *)"PageSetupDialogData_GetPaperSize", (PyCFunction
)_wrap_PageSetupDialogData_GetPaperSize
, METH_O
, NULL
},
32388 { (char *)"PageSetupDialogData_GetPrintData", (PyCFunction
)_wrap_PageSetupDialogData_GetPrintData
, METH_O
, NULL
},
32389 { (char *)"PageSetupDialogData_IsOk", (PyCFunction
)_wrap_PageSetupDialogData_IsOk
, METH_O
, NULL
},
32390 { (char *)"PageSetupDialogData_SetDefaultInfo", (PyCFunction
) _wrap_PageSetupDialogData_SetDefaultInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32391 { (char *)"PageSetupDialogData_SetDefaultMinMargins", (PyCFunction
) _wrap_PageSetupDialogData_SetDefaultMinMargins
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32392 { (char *)"PageSetupDialogData_SetMarginTopLeft", (PyCFunction
) _wrap_PageSetupDialogData_SetMarginTopLeft
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32393 { (char *)"PageSetupDialogData_SetMarginBottomRight", (PyCFunction
) _wrap_PageSetupDialogData_SetMarginBottomRight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32394 { (char *)"PageSetupDialogData_SetMinMarginTopLeft", (PyCFunction
) _wrap_PageSetupDialogData_SetMinMarginTopLeft
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32395 { (char *)"PageSetupDialogData_SetMinMarginBottomRight", (PyCFunction
) _wrap_PageSetupDialogData_SetMinMarginBottomRight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32396 { (char *)"PageSetupDialogData_SetPaperId", (PyCFunction
) _wrap_PageSetupDialogData_SetPaperId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32397 { (char *)"PageSetupDialogData_SetPaperSize", (PyCFunction
) _wrap_PageSetupDialogData_SetPaperSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32398 { (char *)"PageSetupDialogData_SetPrintData", (PyCFunction
) _wrap_PageSetupDialogData_SetPrintData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32399 { (char *)"PageSetupDialogData_CalculateIdFromPaperSize", (PyCFunction
)_wrap_PageSetupDialogData_CalculateIdFromPaperSize
, METH_O
, NULL
},
32400 { (char *)"PageSetupDialogData_CalculatePaperSizeFromId", (PyCFunction
)_wrap_PageSetupDialogData_CalculatePaperSizeFromId
, METH_O
, NULL
},
32401 { (char *)"PageSetupDialogData_swigregister", PageSetupDialogData_swigregister
, METH_VARARGS
, NULL
},
32402 { (char *)"PageSetupDialogData_swiginit", PageSetupDialogData_swiginit
, METH_VARARGS
, NULL
},
32403 { (char *)"new_PageSetupDialog", (PyCFunction
) _wrap_new_PageSetupDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32404 { (char *)"delete_PageSetupDialog", (PyCFunction
)_wrap_delete_PageSetupDialog
, METH_O
, NULL
},
32405 { (char *)"PageSetupDialog_GetPageSetupData", (PyCFunction
)_wrap_PageSetupDialog_GetPageSetupData
, METH_O
, NULL
},
32406 { (char *)"PageSetupDialog_GetPageSetupDialogData", (PyCFunction
)_wrap_PageSetupDialog_GetPageSetupDialogData
, METH_O
, NULL
},
32407 { (char *)"PageSetupDialog_ShowModal", (PyCFunction
)_wrap_PageSetupDialog_ShowModal
, METH_O
, NULL
},
32408 { (char *)"PageSetupDialog_swigregister", PageSetupDialog_swigregister
, METH_VARARGS
, NULL
},
32409 { (char *)"PageSetupDialog_swiginit", PageSetupDialog_swiginit
, METH_VARARGS
, NULL
},
32410 { (char *)"new_PrintDialogData", _wrap_new_PrintDialogData
, METH_VARARGS
, NULL
},
32411 { (char *)"delete_PrintDialogData", (PyCFunction
)_wrap_delete_PrintDialogData
, METH_O
, NULL
},
32412 { (char *)"PrintDialogData_GetFromPage", (PyCFunction
)_wrap_PrintDialogData_GetFromPage
, METH_O
, NULL
},
32413 { (char *)"PrintDialogData_GetToPage", (PyCFunction
)_wrap_PrintDialogData_GetToPage
, METH_O
, NULL
},
32414 { (char *)"PrintDialogData_GetMinPage", (PyCFunction
)_wrap_PrintDialogData_GetMinPage
, METH_O
, NULL
},
32415 { (char *)"PrintDialogData_GetMaxPage", (PyCFunction
)_wrap_PrintDialogData_GetMaxPage
, METH_O
, NULL
},
32416 { (char *)"PrintDialogData_GetNoCopies", (PyCFunction
)_wrap_PrintDialogData_GetNoCopies
, METH_O
, NULL
},
32417 { (char *)"PrintDialogData_GetAllPages", (PyCFunction
)_wrap_PrintDialogData_GetAllPages
, METH_O
, NULL
},
32418 { (char *)"PrintDialogData_GetSelection", (PyCFunction
)_wrap_PrintDialogData_GetSelection
, METH_O
, NULL
},
32419 { (char *)"PrintDialogData_GetCollate", (PyCFunction
)_wrap_PrintDialogData_GetCollate
, METH_O
, NULL
},
32420 { (char *)"PrintDialogData_GetPrintToFile", (PyCFunction
)_wrap_PrintDialogData_GetPrintToFile
, METH_O
, NULL
},
32421 { (char *)"PrintDialogData_SetFromPage", (PyCFunction
) _wrap_PrintDialogData_SetFromPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32422 { (char *)"PrintDialogData_SetToPage", (PyCFunction
) _wrap_PrintDialogData_SetToPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32423 { (char *)"PrintDialogData_SetMinPage", (PyCFunction
) _wrap_PrintDialogData_SetMinPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32424 { (char *)"PrintDialogData_SetMaxPage", (PyCFunction
) _wrap_PrintDialogData_SetMaxPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32425 { (char *)"PrintDialogData_SetNoCopies", (PyCFunction
) _wrap_PrintDialogData_SetNoCopies
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32426 { (char *)"PrintDialogData_SetAllPages", (PyCFunction
) _wrap_PrintDialogData_SetAllPages
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32427 { (char *)"PrintDialogData_SetSelection", (PyCFunction
) _wrap_PrintDialogData_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32428 { (char *)"PrintDialogData_SetCollate", (PyCFunction
) _wrap_PrintDialogData_SetCollate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32429 { (char *)"PrintDialogData_SetPrintToFile", (PyCFunction
) _wrap_PrintDialogData_SetPrintToFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32430 { (char *)"PrintDialogData_EnablePrintToFile", (PyCFunction
) _wrap_PrintDialogData_EnablePrintToFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32431 { (char *)"PrintDialogData_EnableSelection", (PyCFunction
) _wrap_PrintDialogData_EnableSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32432 { (char *)"PrintDialogData_EnablePageNumbers", (PyCFunction
) _wrap_PrintDialogData_EnablePageNumbers
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32433 { (char *)"PrintDialogData_EnableHelp", (PyCFunction
) _wrap_PrintDialogData_EnableHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32434 { (char *)"PrintDialogData_GetEnablePrintToFile", (PyCFunction
)_wrap_PrintDialogData_GetEnablePrintToFile
, METH_O
, NULL
},
32435 { (char *)"PrintDialogData_GetEnableSelection", (PyCFunction
)_wrap_PrintDialogData_GetEnableSelection
, METH_O
, NULL
},
32436 { (char *)"PrintDialogData_GetEnablePageNumbers", (PyCFunction
)_wrap_PrintDialogData_GetEnablePageNumbers
, METH_O
, NULL
},
32437 { (char *)"PrintDialogData_GetEnableHelp", (PyCFunction
)_wrap_PrintDialogData_GetEnableHelp
, METH_O
, NULL
},
32438 { (char *)"PrintDialogData_IsOk", (PyCFunction
)_wrap_PrintDialogData_IsOk
, METH_O
, NULL
},
32439 { (char *)"PrintDialogData_GetPrintData", (PyCFunction
)_wrap_PrintDialogData_GetPrintData
, METH_O
, NULL
},
32440 { (char *)"PrintDialogData_SetPrintData", (PyCFunction
) _wrap_PrintDialogData_SetPrintData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32441 { (char *)"PrintDialogData_swigregister", PrintDialogData_swigregister
, METH_VARARGS
, NULL
},
32442 { (char *)"PrintDialogData_swiginit", PrintDialogData_swiginit
, METH_VARARGS
, NULL
},
32443 { (char *)"new_PrintDialog", (PyCFunction
) _wrap_new_PrintDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32444 { (char *)"delete_PrintDialog", (PyCFunction
)_wrap_delete_PrintDialog
, METH_O
, NULL
},
32445 { (char *)"PrintDialog_ShowModal", (PyCFunction
)_wrap_PrintDialog_ShowModal
, METH_O
, NULL
},
32446 { (char *)"PrintDialog_GetPrintDialogData", (PyCFunction
)_wrap_PrintDialog_GetPrintDialogData
, METH_O
, NULL
},
32447 { (char *)"PrintDialog_GetPrintData", (PyCFunction
)_wrap_PrintDialog_GetPrintData
, METH_O
, NULL
},
32448 { (char *)"PrintDialog_GetPrintDC", (PyCFunction
)_wrap_PrintDialog_GetPrintDC
, METH_O
, NULL
},
32449 { (char *)"PrintDialog_swigregister", PrintDialog_swigregister
, METH_VARARGS
, NULL
},
32450 { (char *)"PrintDialog_swiginit", PrintDialog_swiginit
, METH_VARARGS
, NULL
},
32451 { (char *)"new_Printer", (PyCFunction
) _wrap_new_Printer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32452 { (char *)"delete_Printer", (PyCFunction
)_wrap_delete_Printer
, METH_O
, NULL
},
32453 { (char *)"Printer_CreateAbortWindow", (PyCFunction
) _wrap_Printer_CreateAbortWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32454 { (char *)"Printer_ReportError", (PyCFunction
) _wrap_Printer_ReportError
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32455 { (char *)"Printer_Setup", (PyCFunction
) _wrap_Printer_Setup
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32456 { (char *)"Printer_Print", (PyCFunction
) _wrap_Printer_Print
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32457 { (char *)"Printer_PrintDialog", (PyCFunction
) _wrap_Printer_PrintDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32458 { (char *)"Printer_GetPrintDialogData", (PyCFunction
)_wrap_Printer_GetPrintDialogData
, METH_O
, NULL
},
32459 { (char *)"Printer_GetAbort", (PyCFunction
)_wrap_Printer_GetAbort
, METH_O
, NULL
},
32460 { (char *)"Printer_GetLastError", (PyCFunction
)_wrap_Printer_GetLastError
, METH_NOARGS
, NULL
},
32461 { (char *)"Printer_swigregister", Printer_swigregister
, METH_VARARGS
, NULL
},
32462 { (char *)"Printer_swiginit", Printer_swiginit
, METH_VARARGS
, NULL
},
32463 { (char *)"new_Printout", (PyCFunction
) _wrap_new_Printout
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32464 { (char *)"delete_Printout", (PyCFunction
)_wrap_delete_Printout
, METH_O
, NULL
},
32465 { (char *)"Printout__setCallbackInfo", (PyCFunction
) _wrap_Printout__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32466 { (char *)"Printout_GetTitle", (PyCFunction
)_wrap_Printout_GetTitle
, METH_O
, NULL
},
32467 { (char *)"Printout_GetDC", (PyCFunction
)_wrap_Printout_GetDC
, METH_O
, NULL
},
32468 { (char *)"Printout_SetDC", (PyCFunction
) _wrap_Printout_SetDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32469 { (char *)"Printout_FitThisSizeToPaper", (PyCFunction
) _wrap_Printout_FitThisSizeToPaper
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32470 { (char *)"Printout_FitThisSizeToPage", (PyCFunction
) _wrap_Printout_FitThisSizeToPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32471 { (char *)"Printout_FitThisSizeToPageMargins", (PyCFunction
) _wrap_Printout_FitThisSizeToPageMargins
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32472 { (char *)"Printout_MapScreenSizeToPaper", (PyCFunction
)_wrap_Printout_MapScreenSizeToPaper
, METH_O
, NULL
},
32473 { (char *)"Printout_MapScreenSizeToPage", (PyCFunction
)_wrap_Printout_MapScreenSizeToPage
, METH_O
, NULL
},
32474 { (char *)"Printout_MapScreenSizeToPageMargins", (PyCFunction
) _wrap_Printout_MapScreenSizeToPageMargins
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32475 { (char *)"Printout_MapScreenSizeToDevice", (PyCFunction
)_wrap_Printout_MapScreenSizeToDevice
, METH_O
, NULL
},
32476 { (char *)"Printout_GetLogicalPaperRect", (PyCFunction
)_wrap_Printout_GetLogicalPaperRect
, METH_O
, NULL
},
32477 { (char *)"Printout_GetLogicalPageRect", (PyCFunction
)_wrap_Printout_GetLogicalPageRect
, METH_O
, NULL
},
32478 { (char *)"Printout_GetLogicalPageMarginsRect", (PyCFunction
) _wrap_Printout_GetLogicalPageMarginsRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32479 { (char *)"Printout_SetLogicalOrigin", (PyCFunction
) _wrap_Printout_SetLogicalOrigin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32480 { (char *)"Printout_OffsetLogicalOrigin", (PyCFunction
) _wrap_Printout_OffsetLogicalOrigin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32481 { (char *)"Printout_SetPageSizePixels", (PyCFunction
) _wrap_Printout_SetPageSizePixels
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32482 { (char *)"Printout_GetPageSizePixels", (PyCFunction
)_wrap_Printout_GetPageSizePixels
, METH_O
, NULL
},
32483 { (char *)"Printout_SetPageSizeMM", (PyCFunction
) _wrap_Printout_SetPageSizeMM
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32484 { (char *)"Printout_GetPageSizeMM", (PyCFunction
)_wrap_Printout_GetPageSizeMM
, METH_O
, NULL
},
32485 { (char *)"Printout_SetPPIScreen", (PyCFunction
) _wrap_Printout_SetPPIScreen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32486 { (char *)"Printout_GetPPIScreen", (PyCFunction
)_wrap_Printout_GetPPIScreen
, METH_O
, NULL
},
32487 { (char *)"Printout_SetPPIPrinter", (PyCFunction
) _wrap_Printout_SetPPIPrinter
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32488 { (char *)"Printout_GetPPIPrinter", (PyCFunction
)_wrap_Printout_GetPPIPrinter
, METH_O
, NULL
},
32489 { (char *)"Printout_SetPaperRectPixels", (PyCFunction
) _wrap_Printout_SetPaperRectPixels
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32490 { (char *)"Printout_GetPaperRectPixels", (PyCFunction
)_wrap_Printout_GetPaperRectPixels
, METH_O
, NULL
},
32491 { (char *)"Printout_IsPreview", (PyCFunction
)_wrap_Printout_IsPreview
, METH_O
, NULL
},
32492 { (char *)"Printout_SetIsPreview", (PyCFunction
) _wrap_Printout_SetIsPreview
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32493 { (char *)"Printout_OnBeginDocument", (PyCFunction
) _wrap_Printout_OnBeginDocument
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32494 { (char *)"Printout_OnEndDocument", (PyCFunction
)_wrap_Printout_OnEndDocument
, METH_O
, NULL
},
32495 { (char *)"Printout_OnBeginPrinting", (PyCFunction
)_wrap_Printout_OnBeginPrinting
, METH_O
, NULL
},
32496 { (char *)"Printout_OnEndPrinting", (PyCFunction
)_wrap_Printout_OnEndPrinting
, METH_O
, NULL
},
32497 { (char *)"Printout_OnPreparePrinting", (PyCFunction
)_wrap_Printout_OnPreparePrinting
, METH_O
, NULL
},
32498 { (char *)"Printout_HasPage", (PyCFunction
) _wrap_Printout_HasPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32499 { (char *)"Printout_GetPageInfo", (PyCFunction
)_wrap_Printout_GetPageInfo
, METH_O
, NULL
},
32500 { (char *)"Printout_swigregister", Printout_swigregister
, METH_VARARGS
, NULL
},
32501 { (char *)"Printout_swiginit", Printout_swiginit
, METH_VARARGS
, NULL
},
32502 { (char *)"new_PreviewCanvas", (PyCFunction
) _wrap_new_PreviewCanvas
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32503 { (char *)"PreviewCanvas_swigregister", PreviewCanvas_swigregister
, METH_VARARGS
, NULL
},
32504 { (char *)"PreviewCanvas_swiginit", PreviewCanvas_swiginit
, METH_VARARGS
, NULL
},
32505 { (char *)"new_PreviewFrame", (PyCFunction
) _wrap_new_PreviewFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32506 { (char *)"PreviewFrame_Initialize", (PyCFunction
)_wrap_PreviewFrame_Initialize
, METH_O
, NULL
},
32507 { (char *)"PreviewFrame_CreateControlBar", (PyCFunction
)_wrap_PreviewFrame_CreateControlBar
, METH_O
, NULL
},
32508 { (char *)"PreviewFrame_CreateCanvas", (PyCFunction
)_wrap_PreviewFrame_CreateCanvas
, METH_O
, NULL
},
32509 { (char *)"PreviewFrame_GetControlBar", (PyCFunction
)_wrap_PreviewFrame_GetControlBar
, METH_O
, NULL
},
32510 { (char *)"PreviewFrame_swigregister", PreviewFrame_swigregister
, METH_VARARGS
, NULL
},
32511 { (char *)"PreviewFrame_swiginit", PreviewFrame_swiginit
, METH_VARARGS
, NULL
},
32512 { (char *)"new_PreviewControlBar", (PyCFunction
) _wrap_new_PreviewControlBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32513 { (char *)"PreviewControlBar_GetZoomControl", (PyCFunction
)_wrap_PreviewControlBar_GetZoomControl
, METH_O
, NULL
},
32514 { (char *)"PreviewControlBar_SetZoomControl", (PyCFunction
) _wrap_PreviewControlBar_SetZoomControl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32515 { (char *)"PreviewControlBar_GetPrintPreview", (PyCFunction
)_wrap_PreviewControlBar_GetPrintPreview
, METH_O
, NULL
},
32516 { (char *)"PreviewControlBar_OnNext", (PyCFunction
)_wrap_PreviewControlBar_OnNext
, METH_O
, NULL
},
32517 { (char *)"PreviewControlBar_OnPrevious", (PyCFunction
)_wrap_PreviewControlBar_OnPrevious
, METH_O
, NULL
},
32518 { (char *)"PreviewControlBar_OnFirst", (PyCFunction
)_wrap_PreviewControlBar_OnFirst
, METH_O
, NULL
},
32519 { (char *)"PreviewControlBar_OnLast", (PyCFunction
)_wrap_PreviewControlBar_OnLast
, METH_O
, NULL
},
32520 { (char *)"PreviewControlBar_OnGoto", (PyCFunction
)_wrap_PreviewControlBar_OnGoto
, METH_O
, NULL
},
32521 { (char *)"PreviewControlBar_swigregister", PreviewControlBar_swigregister
, METH_VARARGS
, NULL
},
32522 { (char *)"PreviewControlBar_swiginit", PreviewControlBar_swiginit
, METH_VARARGS
, NULL
},
32523 { (char *)"new_PrintPreview", _wrap_new_PrintPreview
, METH_VARARGS
, NULL
},
32524 { (char *)"delete_PrintPreview", (PyCFunction
)_wrap_delete_PrintPreview
, METH_O
, NULL
},
32525 { (char *)"PrintPreview_SetCurrentPage", (PyCFunction
) _wrap_PrintPreview_SetCurrentPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32526 { (char *)"PrintPreview_GetCurrentPage", (PyCFunction
)_wrap_PrintPreview_GetCurrentPage
, METH_O
, NULL
},
32527 { (char *)"PrintPreview_SetPrintout", (PyCFunction
) _wrap_PrintPreview_SetPrintout
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32528 { (char *)"PrintPreview_GetPrintout", (PyCFunction
)_wrap_PrintPreview_GetPrintout
, METH_O
, NULL
},
32529 { (char *)"PrintPreview_GetPrintoutForPrinting", (PyCFunction
)_wrap_PrintPreview_GetPrintoutForPrinting
, METH_O
, NULL
},
32530 { (char *)"PrintPreview_SetFrame", (PyCFunction
) _wrap_PrintPreview_SetFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32531 { (char *)"PrintPreview_SetCanvas", (PyCFunction
) _wrap_PrintPreview_SetCanvas
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32532 { (char *)"PrintPreview_GetFrame", (PyCFunction
)_wrap_PrintPreview_GetFrame
, METH_O
, NULL
},
32533 { (char *)"PrintPreview_GetCanvas", (PyCFunction
)_wrap_PrintPreview_GetCanvas
, METH_O
, NULL
},
32534 { (char *)"PrintPreview_PaintPage", (PyCFunction
) _wrap_PrintPreview_PaintPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32535 { (char *)"PrintPreview_DrawBlankPage", (PyCFunction
) _wrap_PrintPreview_DrawBlankPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32536 { (char *)"PrintPreview_RenderPage", (PyCFunction
) _wrap_PrintPreview_RenderPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32537 { (char *)"PrintPreview_AdjustScrollbars", (PyCFunction
) _wrap_PrintPreview_AdjustScrollbars
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32538 { (char *)"PrintPreview_GetPrintDialogData", (PyCFunction
)_wrap_PrintPreview_GetPrintDialogData
, METH_O
, NULL
},
32539 { (char *)"PrintPreview_SetZoom", (PyCFunction
) _wrap_PrintPreview_SetZoom
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32540 { (char *)"PrintPreview_GetZoom", (PyCFunction
)_wrap_PrintPreview_GetZoom
, METH_O
, NULL
},
32541 { (char *)"PrintPreview_GetMaxPage", (PyCFunction
)_wrap_PrintPreview_GetMaxPage
, METH_O
, NULL
},
32542 { (char *)"PrintPreview_GetMinPage", (PyCFunction
)_wrap_PrintPreview_GetMinPage
, METH_O
, NULL
},
32543 { (char *)"PrintPreview_IsOk", (PyCFunction
)_wrap_PrintPreview_IsOk
, METH_O
, NULL
},
32544 { (char *)"PrintPreview_SetOk", (PyCFunction
) _wrap_PrintPreview_SetOk
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32545 { (char *)"PrintPreview_Print", (PyCFunction
) _wrap_PrintPreview_Print
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32546 { (char *)"PrintPreview_DetermineScaling", (PyCFunction
)_wrap_PrintPreview_DetermineScaling
, METH_O
, NULL
},
32547 { (char *)"PrintPreview_swigregister", PrintPreview_swigregister
, METH_VARARGS
, NULL
},
32548 { (char *)"PrintPreview_swiginit", PrintPreview_swiginit
, METH_VARARGS
, NULL
},
32549 { (char *)"new_PyPrintPreview", _wrap_new_PyPrintPreview
, METH_VARARGS
, NULL
},
32550 { (char *)"PyPrintPreview__setCallbackInfo", (PyCFunction
) _wrap_PyPrintPreview__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32551 { (char *)"PyPrintPreview_swigregister", PyPrintPreview_swigregister
, METH_VARARGS
, NULL
},
32552 { (char *)"PyPrintPreview_swiginit", PyPrintPreview_swiginit
, METH_VARARGS
, NULL
},
32553 { (char *)"new_PyPreviewFrame", (PyCFunction
) _wrap_new_PyPreviewFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32554 { (char *)"PyPreviewFrame__setCallbackInfo", (PyCFunction
) _wrap_PyPreviewFrame__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32555 { (char *)"PyPreviewFrame_SetPreviewCanvas", (PyCFunction
) _wrap_PyPreviewFrame_SetPreviewCanvas
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32556 { (char *)"PyPreviewFrame_SetControlBar", (PyCFunction
) _wrap_PyPreviewFrame_SetControlBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32557 { (char *)"PyPreviewFrame_Initialize", (PyCFunction
)_wrap_PyPreviewFrame_Initialize
, METH_O
, NULL
},
32558 { (char *)"PyPreviewFrame_CreateCanvas", (PyCFunction
)_wrap_PyPreviewFrame_CreateCanvas
, METH_O
, NULL
},
32559 { (char *)"PyPreviewFrame_CreateControlBar", (PyCFunction
)_wrap_PyPreviewFrame_CreateControlBar
, METH_O
, NULL
},
32560 { (char *)"PyPreviewFrame_swigregister", PyPreviewFrame_swigregister
, METH_VARARGS
, NULL
},
32561 { (char *)"PyPreviewFrame_swiginit", PyPreviewFrame_swiginit
, METH_VARARGS
, NULL
},
32562 { (char *)"new_PyPreviewControlBar", (PyCFunction
) _wrap_new_PyPreviewControlBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32563 { (char *)"PyPreviewControlBar__setCallbackInfo", (PyCFunction
) _wrap_PyPreviewControlBar__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32564 { (char *)"PyPreviewControlBar_SetPrintPreview", (PyCFunction
) _wrap_PyPreviewControlBar_SetPrintPreview
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32565 { (char *)"PyPreviewControlBar_CreateButtons", (PyCFunction
)_wrap_PyPreviewControlBar_CreateButtons
, METH_O
, NULL
},
32566 { (char *)"PyPreviewControlBar_SetZoomControl", (PyCFunction
) _wrap_PyPreviewControlBar_SetZoomControl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32567 { (char *)"PyPreviewControlBar_swigregister", PyPreviewControlBar_swigregister
, METH_VARARGS
, NULL
},
32568 { (char *)"PyPreviewControlBar_swiginit", PyPreviewControlBar_swiginit
, METH_VARARGS
, NULL
},
32569 { NULL
, NULL
, 0, NULL
}
32573 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
32575 static void *_p_wxPyPreviewFrameTo_p_wxPreviewFrame(void *x
) {
32576 return (void *)((wxPreviewFrame
*) ((wxPyPreviewFrame
*) x
));
32578 static void *_p_wxContextMenuEventTo_p_wxEvent(void *x
) {
32579 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
32581 static void *_p_wxMenuEventTo_p_wxEvent(void *x
) {
32582 return (void *)((wxEvent
*) ((wxMenuEvent
*) x
));
32584 static void *_p_wxCloseEventTo_p_wxEvent(void *x
) {
32585 return (void *)((wxEvent
*) ((wxCloseEvent
*) x
));
32587 static void *_p_wxMouseEventTo_p_wxEvent(void *x
) {
32588 return (void *)((wxEvent
*) ((wxMouseEvent
*) x
));
32590 static void *_p_wxEraseEventTo_p_wxEvent(void *x
) {
32591 return (void *)((wxEvent
*) ((wxEraseEvent
*) x
));
32593 static void *_p_wxSetCursorEventTo_p_wxEvent(void *x
) {
32594 return (void *)((wxEvent
*) ((wxSetCursorEvent
*) x
));
32596 static void *_p_wxSplitterEventTo_p_wxEvent(void *x
) {
32597 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*) ((wxSplitterEvent
*) x
));
32599 static void *_p_wxInitDialogEventTo_p_wxEvent(void *x
) {
32600 return (void *)((wxEvent
*) ((wxInitDialogEvent
*) x
));
32602 static void *_p_wxScrollEventTo_p_wxEvent(void *x
) {
32603 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxScrollEvent
*) x
));
32605 static void *_p_wxFindDialogEventTo_p_wxEvent(void *x
) {
32606 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxFindDialogEvent
*) x
));
32608 static void *_p_wxNotifyEventTo_p_wxEvent(void *x
) {
32609 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxNotifyEvent
*) x
));
32611 static void *_p_wxMouseCaptureLostEventTo_p_wxEvent(void *x
) {
32612 return (void *)((wxEvent
*) ((wxMouseCaptureLostEvent
*) x
));
32614 static void *_p_wxPyEventTo_p_wxEvent(void *x
) {
32615 return (void *)((wxEvent
*) ((wxPyEvent
*) x
));
32617 static void *_p_wxCalculateLayoutEventTo_p_wxEvent(void *x
) {
32618 return (void *)((wxEvent
*) ((wxCalculateLayoutEvent
*) x
));
32620 static void *_p_wxIdleEventTo_p_wxEvent(void *x
) {
32621 return (void *)((wxEvent
*) ((wxIdleEvent
*) x
));
32623 static void *_p_wxWindowCreateEventTo_p_wxEvent(void *x
) {
32624 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
32626 static void *_p_wxQueryNewPaletteEventTo_p_wxEvent(void *x
) {
32627 return (void *)((wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
32629 static void *_p_wxMaximizeEventTo_p_wxEvent(void *x
) {
32630 return (void *)((wxEvent
*) ((wxMaximizeEvent
*) x
));
32632 static void *_p_wxIconizeEventTo_p_wxEvent(void *x
) {
32633 return (void *)((wxEvent
*) ((wxIconizeEvent
*) x
));
32635 static void *_p_wxActivateEventTo_p_wxEvent(void *x
) {
32636 return (void *)((wxEvent
*) ((wxActivateEvent
*) x
));
32638 static void *_p_wxSizeEventTo_p_wxEvent(void *x
) {
32639 return (void *)((wxEvent
*) ((wxSizeEvent
*) x
));
32641 static void *_p_wxMoveEventTo_p_wxEvent(void *x
) {
32642 return (void *)((wxEvent
*) ((wxMoveEvent
*) x
));
32644 static void *_p_wxDateEventTo_p_wxEvent(void *x
) {
32645 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxDateEvent
*) x
));
32647 static void *_p_wxPaintEventTo_p_wxEvent(void *x
) {
32648 return (void *)((wxEvent
*) ((wxPaintEvent
*) x
));
32650 static void *_p_wxNcPaintEventTo_p_wxEvent(void *x
) {
32651 return (void *)((wxEvent
*) ((wxNcPaintEvent
*) x
));
32653 static void *_p_wxClipboardTextEventTo_p_wxEvent(void *x
) {
32654 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxClipboardTextEvent
*) x
));
32656 static void *_p_wxUpdateUIEventTo_p_wxEvent(void *x
) {
32657 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
32659 static void *_p_wxPaletteChangedEventTo_p_wxEvent(void *x
) {
32660 return (void *)((wxEvent
*) ((wxPaletteChangedEvent
*) x
));
32662 static void *_p_wxDisplayChangedEventTo_p_wxEvent(void *x
) {
32663 return (void *)((wxEvent
*) ((wxDisplayChangedEvent
*) x
));
32665 static void *_p_wxMouseCaptureChangedEventTo_p_wxEvent(void *x
) {
32666 return (void *)((wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
32668 static void *_p_wxSysColourChangedEventTo_p_wxEvent(void *x
) {
32669 return (void *)((wxEvent
*) ((wxSysColourChangedEvent
*) x
));
32671 static void *_p_wxDropFilesEventTo_p_wxEvent(void *x
) {
32672 return (void *)((wxEvent
*) ((wxDropFilesEvent
*) x
));
32674 static void *_p_wxFocusEventTo_p_wxEvent(void *x
) {
32675 return (void *)((wxEvent
*) ((wxFocusEvent
*) x
));
32677 static void *_p_wxChildFocusEventTo_p_wxEvent(void *x
) {
32678 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
32680 static void *_p_wxSashEventTo_p_wxEvent(void *x
) {
32681 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxSashEvent
*) x
));
32683 static void *_p_wxQueryLayoutInfoEventTo_p_wxEvent(void *x
) {
32684 return (void *)((wxEvent
*) ((wxQueryLayoutInfoEvent
*) x
));
32686 static void *_p_wxShowEventTo_p_wxEvent(void *x
) {
32687 return (void *)((wxEvent
*) ((wxShowEvent
*) x
));
32689 static void *_p_wxCommandEventTo_p_wxEvent(void *x
) {
32690 return (void *)((wxEvent
*) ((wxCommandEvent
*) x
));
32692 static void *_p_wxPyCommandEventTo_p_wxEvent(void *x
) {
32693 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
32695 static void *_p_wxWindowDestroyEventTo_p_wxEvent(void *x
) {
32696 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
32698 static void *_p_wxNavigationKeyEventTo_p_wxEvent(void *x
) {
32699 return (void *)((wxEvent
*) ((wxNavigationKeyEvent
*) x
));
32701 static void *_p_wxKeyEventTo_p_wxEvent(void *x
) {
32702 return (void *)((wxEvent
*) ((wxKeyEvent
*) x
));
32704 static void *_p_wxScrollWinEventTo_p_wxEvent(void *x
) {
32705 return (void *)((wxEvent
*) ((wxScrollWinEvent
*) x
));
32707 static void *_p_wxTaskBarIconEventTo_p_wxEvent(void *x
) {
32708 return (void *)((wxEvent
*) ((wxTaskBarIconEvent
*) x
));
32710 static void *_p_wxControlWithItemsTo_p_wxItemContainer(void *x
) {
32711 return (void *)((wxItemContainer
*) ((wxControlWithItems
*) x
));
32713 static void *_p_wxSimpleHtmlListBoxTo_p_wxItemContainer(void *x
) {
32714 return (void *)((wxItemContainer
*) ((wxSimpleHtmlListBox
*) x
));
32716 static void *_p_wxSplitterEventTo_p_wxNotifyEvent(void *x
) {
32717 return (void *)((wxNotifyEvent
*) ((wxSplitterEvent
*) x
));
32719 static void *_p_wxPasswordEntryDialogTo_p_wxTextEntryDialog(void *x
) {
32720 return (void *)((wxTextEntryDialog
*) ((wxPasswordEntryDialog
*) x
));
32722 static void *_p_wxSplashScreenTo_p_wxEvtHandler(void *x
) {
32723 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxSplashScreen
*) x
));
32725 static void *_p_wxMiniFrameTo_p_wxEvtHandler(void *x
) {
32726 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMiniFrame
*) x
));
32728 static void *_p_wxPyPanelTo_p_wxEvtHandler(void *x
) {
32729 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*) ((wxPyPanel
*) x
));
32731 static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x
) {
32732 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxMenuBar
*) x
));
32734 static void *_p_wxValidatorTo_p_wxEvtHandler(void *x
) {
32735 return (void *)((wxEvtHandler
*) ((wxValidator
*) x
));
32737 static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x
) {
32738 return (void *)((wxEvtHandler
*) (wxValidator
*) ((wxPyValidator
*) x
));
32740 static void *_p_wxMenuTo_p_wxEvtHandler(void *x
) {
32741 return (void *)((wxEvtHandler
*) ((wxMenu
*) x
));
32743 static void *_p_wxTextEntryDialogTo_p_wxEvtHandler(void *x
) {
32744 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxTextEntryDialog
*) x
));
32746 static void *_p_wxSingleChoiceDialogTo_p_wxEvtHandler(void *x
) {
32747 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxSingleChoiceDialog
*) x
));
32749 static void *_p_wxMultiChoiceDialogTo_p_wxEvtHandler(void *x
) {
32750 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxMultiChoiceDialog
*) x
));
32752 static void *_p_wxFileDialogTo_p_wxEvtHandler(void *x
) {
32753 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFileDialog
*) x
));
32755 static void *_p_wxPasswordEntryDialogTo_p_wxEvtHandler(void *x
) {
32756 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*)(wxTextEntryDialog
*) ((wxPasswordEntryDialog
*) x
));
32758 static void *_p_wxNumberEntryDialogTo_p_wxEvtHandler(void *x
) {
32759 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxNumberEntryDialog
*) x
));
32761 static void *_p_wxMessageDialogTo_p_wxEvtHandler(void *x
) {
32762 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxMessageDialog
*) x
));
32764 static void *_p_wxProgressDialogTo_p_wxEvtHandler(void *x
) {
32765 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxProgressDialog
*) x
));
32767 static void *_p_wxFindReplaceDialogTo_p_wxEvtHandler(void *x
) {
32768 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFindReplaceDialog
*) x
));
32770 static void *_p_wxPanelTo_p_wxEvtHandler(void *x
) {
32771 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxPanel
*) x
));
32773 static void *_p_wxStatusBarTo_p_wxEvtHandler(void *x
) {
32774 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxStatusBar
*) x
));
32776 static void *_p_wxPyVScrolledWindowTo_p_wxEvtHandler(void *x
) {
32777 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*) ((wxPyVScrolledWindow
*) x
));
32779 static void *_p_wxTipWindowTo_p_wxEvtHandler(void *x
) {
32780 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPopupWindow
*)(wxPyPopupTransientWindow
*) ((wxTipWindow
*) x
));
32782 static void *_p_wxPyPopupTransientWindowTo_p_wxEvtHandler(void *x
) {
32783 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPopupWindow
*) ((wxPyPopupTransientWindow
*) x
));
32785 static void *_p_wxPopupWindowTo_p_wxEvtHandler(void *x
) {
32786 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxPopupWindow
*) x
));
32788 static void *_p_wxSashLayoutWindowTo_p_wxEvtHandler(void *x
) {
32789 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxSashWindow
*) ((wxSashLayoutWindow
*) x
));
32791 static void *_p_wxSashWindowTo_p_wxEvtHandler(void *x
) {
32792 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxSashWindow
*) x
));
32794 static void *_p_wxSplitterWindowTo_p_wxEvtHandler(void *x
) {
32795 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxSplitterWindow
*) x
));
32797 static void *_p_wxSplashScreenWindowTo_p_wxEvtHandler(void *x
) {
32798 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxSplashScreenWindow
*) x
));
32800 static void *_p_wxWindowTo_p_wxEvtHandler(void *x
) {
32801 return (void *)((wxEvtHandler
*) ((wxWindow
*) x
));
32803 static void *_p_wxScrolledWindowTo_p_wxEvtHandler(void *x
) {
32804 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*) ((wxScrolledWindow
*) x
));
32806 static void *_p_wxTopLevelWindowTo_p_wxEvtHandler(void *x
) {
32807 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxTopLevelWindow
*) x
));
32809 static void *_p_wxMDIClientWindowTo_p_wxEvtHandler(void *x
) {
32810 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxMDIClientWindow
*) x
));
32812 static void *_p_wxPyScrolledWindowTo_p_wxEvtHandler(void *x
) {
32813 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*)(wxScrolledWindow
*) ((wxPyScrolledWindow
*) x
));
32815 static void *_p_wxControlTo_p_wxEvtHandler(void *x
) {
32816 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxControl
*) x
));
32818 static void *_p_wxPreviewFrameTo_p_wxEvtHandler(void *x
) {
32819 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxPreviewFrame
*) x
));
32821 static void *_p_wxPyPreviewFrameTo_p_wxEvtHandler(void *x
) {
32822 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*)(wxPreviewFrame
*) ((wxPyPreviewFrame
*) x
));
32824 static void *_p_wxMDIChildFrameTo_p_wxEvtHandler(void *x
) {
32825 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMDIChildFrame
*) x
));
32827 static void *_p_wxPyAppTo_p_wxEvtHandler(void *x
) {
32828 return (void *)((wxEvtHandler
*) ((wxPyApp
*) x
));
32830 static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x
) {
32831 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
32833 static void *_p_wxPyWindowTo_p_wxEvtHandler(void *x
) {
32834 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxPyWindow
*) x
));
32836 static void *_p_wxPreviewCanvasTo_p_wxEvtHandler(void *x
) {
32837 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*)(wxScrolledWindow
*) ((wxPreviewCanvas
*) x
));
32839 static void *_p_wxSimpleHtmlListBoxTo_p_wxEvtHandler(void *x
) {
32840 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*)(wxPyVScrolledWindow
*)(wxPyVListBox
*)(wxPyHtmlListBox
*) ((wxSimpleHtmlListBox
*) x
));
32842 static void *_p_wxPyHtmlListBoxTo_p_wxEvtHandler(void *x
) {
32843 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*)(wxPyVScrolledWindow
*)(wxPyVListBox
*) ((wxPyHtmlListBox
*) x
));
32845 static void *_p_wxPyVListBoxTo_p_wxEvtHandler(void *x
) {
32846 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*)(wxPyVScrolledWindow
*) ((wxPyVListBox
*) x
));
32848 static void *_p_wxPreviewControlBarTo_p_wxEvtHandler(void *x
) {
32849 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*) ((wxPreviewControlBar
*) x
));
32851 static void *_p_wxPyPreviewControlBarTo_p_wxEvtHandler(void *x
) {
32852 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*)(wxPreviewControlBar
*) ((wxPyPreviewControlBar
*) x
));
32854 static void *_p_wxPyTaskBarIconTo_p_wxEvtHandler(void *x
) {
32855 return (void *)((wxEvtHandler
*) ((wxPyTaskBarIcon
*) x
));
32857 static void *_p_wxFrameTo_p_wxEvtHandler(void *x
) {
32858 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*) ((wxFrame
*) x
));
32860 static void *_p_wxDirDialogTo_p_wxEvtHandler(void *x
) {
32861 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxDirDialog
*) x
));
32863 static void *_p_wxColourDialogTo_p_wxEvtHandler(void *x
) {
32864 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxColourDialog
*) x
));
32866 static void *_p_wxDialogTo_p_wxEvtHandler(void *x
) {
32867 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*) ((wxDialog
*) x
));
32869 static void *_p_wxFontDialogTo_p_wxEvtHandler(void *x
) {
32870 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFontDialog
*) x
));
32872 static void *_p_wxMDIParentFrameTo_p_wxEvtHandler(void *x
) {
32873 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMDIParentFrame
*) x
));
32875 static void *_p_wxPyHtmlListBoxTo_p_wxPyVListBox(void *x
) {
32876 return (void *)((wxPyVListBox
*) ((wxPyHtmlListBox
*) x
));
32878 static void *_p_wxSimpleHtmlListBoxTo_p_wxPyVListBox(void *x
) {
32879 return (void *)((wxPyVListBox
*) (wxPyHtmlListBox
*) ((wxSimpleHtmlListBox
*) x
));
32881 static void *_p_wxSimpleHtmlListBoxTo_p_wxPyHtmlListBox(void *x
) {
32882 return (void *)((wxPyHtmlListBox
*) ((wxSimpleHtmlListBox
*) x
));
32884 static void *_p_wxMDIChildFrameTo_p_wxFrame(void *x
) {
32885 return (void *)((wxFrame
*) ((wxMDIChildFrame
*) x
));
32887 static void *_p_wxProgressDialogTo_p_wxFrame(void *x
) {
32888 return (void *)((wxFrame
*) ((wxProgressDialog
*) x
));
32890 static void *_p_wxPreviewFrameTo_p_wxFrame(void *x
) {
32891 return (void *)((wxFrame
*) ((wxPreviewFrame
*) x
));
32893 static void *_p_wxPyPreviewFrameTo_p_wxFrame(void *x
) {
32894 return (void *)((wxFrame
*) (wxPreviewFrame
*) ((wxPyPreviewFrame
*) x
));
32896 static void *_p_wxMiniFrameTo_p_wxFrame(void *x
) {
32897 return (void *)((wxFrame
*) ((wxMiniFrame
*) x
));
32899 static void *_p_wxSplashScreenTo_p_wxFrame(void *x
) {
32900 return (void *)((wxFrame
*) ((wxSplashScreen
*) x
));
32902 static void *_p_wxMDIParentFrameTo_p_wxFrame(void *x
) {
32903 return (void *)((wxFrame
*) ((wxMDIParentFrame
*) x
));
32905 static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x
) {
32906 return (void *)((wxObject
*) ((wxLayoutConstraints
*) x
));
32908 static void *_p_wxQueryLayoutInfoEventTo_p_wxObject(void *x
) {
32909 return (void *)((wxObject
*) (wxEvent
*) ((wxQueryLayoutInfoEvent
*) x
));
32911 static void *_p_wxPreviewFrameTo_p_wxObject(void *x
) {
32912 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxPreviewFrame
*) x
));
32914 static void *_p_wxPyPreviewFrameTo_p_wxObject(void *x
) {
32915 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*)(wxPreviewFrame
*) ((wxPyPreviewFrame
*) x
));
32917 static void *_p_wxSizerItemTo_p_wxObject(void *x
) {
32918 return (void *)((wxObject
*) ((wxSizerItem
*) x
));
32920 static void *_p_wxGBSizerItemTo_p_wxObject(void *x
) {
32921 return (void *)((wxObject
*) (wxSizerItem
*) ((wxGBSizerItem
*) x
));
32923 static void *_p_wxScrollEventTo_p_wxObject(void *x
) {
32924 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxScrollEvent
*) x
));
32926 static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x
) {
32927 return (void *)((wxObject
*) ((wxIndividualLayoutConstraint
*) x
));
32929 static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x
) {
32930 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStaticBoxSizer
*) x
));
32932 static void *_p_wxBoxSizerTo_p_wxObject(void *x
) {
32933 return (void *)((wxObject
*) (wxSizer
*) ((wxBoxSizer
*) x
));
32935 static void *_p_wxSizerTo_p_wxObject(void *x
) {
32936 return (void *)((wxObject
*) ((wxSizer
*) x
));
32938 static void *_p_wxGridBagSizerTo_p_wxObject(void *x
) {
32939 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*)(wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
32941 static void *_p_wxUpdateUIEventTo_p_wxObject(void *x
) {
32942 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
32944 static void *_p_wxPyPanelTo_p_wxObject(void *x
) {
32945 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*) ((wxPyPanel
*) x
));
32947 static void *_p_wxEventTo_p_wxObject(void *x
) {
32948 return (void *)((wxObject
*) ((wxEvent
*) x
));
32950 static void *_p_wxFontDataTo_p_wxObject(void *x
) {
32951 return (void *)((wxObject
*) ((wxFontData
*) x
));
32953 static void *_p_wxPrintDataTo_p_wxObject(void *x
) {
32954 return (void *)((wxObject
*) ((wxPrintData
*) x
));
32956 static void *_p_wxFlexGridSizerTo_p_wxObject(void *x
) {
32957 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*) ((wxFlexGridSizer
*) x
));
32959 static void *_p_wxGridSizerTo_p_wxObject(void *x
) {
32960 return (void *)((wxObject
*) (wxSizer
*) ((wxGridSizer
*) x
));
32962 static void *_p_wxInitDialogEventTo_p_wxObject(void *x
) {
32963 return (void *)((wxObject
*) (wxEvent
*) ((wxInitDialogEvent
*) x
));
32965 static void *_p_wxLayoutAlgorithmTo_p_wxObject(void *x
) {
32966 return (void *)((wxObject
*) ((wxLayoutAlgorithm
*) x
));
32968 static void *_p_wxPyTaskBarIconTo_p_wxObject(void *x
) {
32969 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyTaskBarIcon
*) x
));
32971 static void *_p_wxFindDialogEventTo_p_wxObject(void *x
) {
32972 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxFindDialogEvent
*) x
));
32974 static void *_p_wxClipboardTextEventTo_p_wxObject(void *x
) {
32975 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxClipboardTextEvent
*) x
));
32977 static void *_p_wxPaintEventTo_p_wxObject(void *x
) {
32978 return (void *)((wxObject
*) (wxEvent
*) ((wxPaintEvent
*) x
));
32980 static void *_p_wxNcPaintEventTo_p_wxObject(void *x
) {
32981 return (void *)((wxObject
*) (wxEvent
*) ((wxNcPaintEvent
*) x
));
32983 static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x
) {
32984 return (void *)((wxObject
*) (wxEvent
*) ((wxPaletteChangedEvent
*) x
));
32986 static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x
) {
32987 return (void *)((wxObject
*) (wxEvent
*) ((wxDisplayChangedEvent
*) x
));
32989 static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x
) {
32990 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
32992 static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x
) {
32993 return (void *)((wxObject
*) (wxEvent
*) ((wxSysColourChangedEvent
*) x
));
32995 static void *_p_wxPreviewCanvasTo_p_wxObject(void *x
) {
32996 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*)(wxScrolledWindow
*) ((wxPreviewCanvas
*) x
));
32998 static void *_p_wxControlTo_p_wxObject(void *x
) {
32999 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxControl
*) x
));
33001 static void *_p_wxSetCursorEventTo_p_wxObject(void *x
) {
33002 return (void *)((wxObject
*) (wxEvent
*) ((wxSetCursorEvent
*) x
));
33004 static void *_p_wxSplitterEventTo_p_wxObject(void *x
) {
33005 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*) ((wxSplitterEvent
*) x
));
33007 static void *_p_wxFSFileTo_p_wxObject(void *x
) {
33008 return (void *)((wxObject
*) ((wxFSFile
*) x
));
33010 static void *_p_wxFindReplaceDataTo_p_wxObject(void *x
) {
33011 return (void *)((wxObject
*) ((wxFindReplaceData
*) x
));
33013 static void *_p_wxPySizerTo_p_wxObject(void *x
) {
33014 return (void *)((wxObject
*) (wxSizer
*) ((wxPySizer
*) x
));
33016 static void *_p_wxMDIChildFrameTo_p_wxObject(void *x
) {
33017 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMDIChildFrame
*) x
));
33019 static void *_p_wxColourDataTo_p_wxObject(void *x
) {
33020 return (void *)((wxObject
*) ((wxColourData
*) x
));
33022 static void *_p_wxPyEventTo_p_wxObject(void *x
) {
33023 return (void *)((wxObject
*) (wxEvent
*) ((wxPyEvent
*) x
));
33025 static void *_p_wxNotifyEventTo_p_wxObject(void *x
) {
33026 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxNotifyEvent
*) x
));
33028 static void *_p_wxPyWindowTo_p_wxObject(void *x
) {
33029 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxPyWindow
*) x
));
33031 static void *_p_wxSplashScreenTo_p_wxObject(void *x
) {
33032 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxSplashScreen
*) x
));
33034 static void *_p_wxFileDialogTo_p_wxObject(void *x
) {
33035 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFileDialog
*) x
));
33037 static void *_p_wxMultiChoiceDialogTo_p_wxObject(void *x
) {
33038 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxMultiChoiceDialog
*) x
));
33040 static void *_p_wxSingleChoiceDialogTo_p_wxObject(void *x
) {
33041 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxSingleChoiceDialog
*) x
));
33043 static void *_p_wxTextEntryDialogTo_p_wxObject(void *x
) {
33044 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxTextEntryDialog
*) x
));
33046 static void *_p_wxPasswordEntryDialogTo_p_wxObject(void *x
) {
33047 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*)(wxTextEntryDialog
*) ((wxPasswordEntryDialog
*) x
));
33049 static void *_p_wxNumberEntryDialogTo_p_wxObject(void *x
) {
33050 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxNumberEntryDialog
*) x
));
33052 static void *_p_wxMessageDialogTo_p_wxObject(void *x
) {
33053 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxMessageDialog
*) x
));
33055 static void *_p_wxProgressDialogTo_p_wxObject(void *x
) {
33056 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxProgressDialog
*) x
));
33058 static void *_p_wxFindReplaceDialogTo_p_wxObject(void *x
) {
33059 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFindReplaceDialog
*) x
));
33061 static void *_p_wxShowEventTo_p_wxObject(void *x
) {
33062 return (void *)((wxObject
*) (wxEvent
*) ((wxShowEvent
*) x
));
33064 static void *_p_wxPrinterTo_p_wxObject(void *x
) {
33065 return (void *)((wxObject
*) ((wxPrinter
*) x
));
33067 static void *_p_wxMenuItemTo_p_wxObject(void *x
) {
33068 return (void *)((wxObject
*) ((wxMenuItem
*) x
));
33070 static void *_p_wxDateEventTo_p_wxObject(void *x
) {
33071 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxDateEvent
*) x
));
33073 static void *_p_wxIdleEventTo_p_wxObject(void *x
) {
33074 return (void *)((wxObject
*) (wxEvent
*) ((wxIdleEvent
*) x
));
33076 static void *_p_wxWindowCreateEventTo_p_wxObject(void *x
) {
33077 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
33079 static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x
) {
33080 return (void *)((wxObject
*) (wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
33082 static void *_p_wxMaximizeEventTo_p_wxObject(void *x
) {
33083 return (void *)((wxObject
*) (wxEvent
*) ((wxMaximizeEvent
*) x
));
33085 static void *_p_wxIconizeEventTo_p_wxObject(void *x
) {
33086 return (void *)((wxObject
*) (wxEvent
*) ((wxIconizeEvent
*) x
));
33088 static void *_p_wxSizeEventTo_p_wxObject(void *x
) {
33089 return (void *)((wxObject
*) (wxEvent
*) ((wxSizeEvent
*) x
));
33091 static void *_p_wxMoveEventTo_p_wxObject(void *x
) {
33092 return (void *)((wxObject
*) (wxEvent
*) ((wxMoveEvent
*) x
));
33094 static void *_p_wxActivateEventTo_p_wxObject(void *x
) {
33095 return (void *)((wxObject
*) (wxEvent
*) ((wxActivateEvent
*) x
));
33097 static void *_p_wxPNMHandlerTo_p_wxObject(void *x
) {
33098 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNMHandler
*) x
));
33100 static void *_p_wxJPEGHandlerTo_p_wxObject(void *x
) {
33101 return (void *)((wxObject
*) (wxImageHandler
*) ((wxJPEGHandler
*) x
));
33103 static void *_p_wxPCXHandlerTo_p_wxObject(void *x
) {
33104 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPCXHandler
*) x
));
33106 static void *_p_wxGIFHandlerTo_p_wxObject(void *x
) {
33107 return (void *)((wxObject
*) (wxImageHandler
*) ((wxGIFHandler
*) x
));
33109 static void *_p_wxPNGHandlerTo_p_wxObject(void *x
) {
33110 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNGHandler
*) x
));
33112 static void *_p_wxANIHandlerTo_p_wxObject(void *x
) {
33113 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*)(wxCURHandler
*) ((wxANIHandler
*) x
));
33115 static void *_p_wxCURHandlerTo_p_wxObject(void *x
) {
33116 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*) ((wxCURHandler
*) x
));
33118 static void *_p_wxICOHandlerTo_p_wxObject(void *x
) {
33119 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*) ((wxICOHandler
*) x
));
33121 static void *_p_wxBMPHandlerTo_p_wxObject(void *x
) {
33122 return (void *)((wxObject
*) (wxImageHandler
*) ((wxBMPHandler
*) x
));
33124 static void *_p_wxPyImageHandlerTo_p_wxObject(void *x
) {
33125 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPyImageHandler
*) x
));
33127 static void *_p_wxImageHandlerTo_p_wxObject(void *x
) {
33128 return (void *)((wxObject
*) ((wxImageHandler
*) x
));
33130 static void *_p_wxXPMHandlerTo_p_wxObject(void *x
) {
33131 return (void *)((wxObject
*) (wxImageHandler
*) ((wxXPMHandler
*) x
));
33133 static void *_p_wxTIFFHandlerTo_p_wxObject(void *x
) {
33134 return (void *)((wxObject
*) (wxImageHandler
*) ((wxTIFFHandler
*) x
));
33136 static void *_p_wxTGAHandlerTo_p_wxObject(void *x
) {
33137 return (void *)((wxObject
*) (wxImageHandler
*) ((wxTGAHandler
*) x
));
33139 static void *_p_wxEvtHandlerTo_p_wxObject(void *x
) {
33140 return (void *)((wxObject
*) ((wxEvtHandler
*) x
));
33142 static void *_p_wxMouseCaptureLostEventTo_p_wxObject(void *x
) {
33143 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseCaptureLostEvent
*) x
));
33145 static void *_p_wxCalculateLayoutEventTo_p_wxObject(void *x
) {
33146 return (void *)((wxObject
*) (wxEvent
*) ((wxCalculateLayoutEvent
*) x
));
33148 static void *_p_wxPyVListBoxTo_p_wxObject(void *x
) {
33149 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*)(wxPyVScrolledWindow
*) ((wxPyVListBox
*) x
));
33151 static void *_p_wxPyHtmlListBoxTo_p_wxObject(void *x
) {
33152 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*)(wxPyVScrolledWindow
*)(wxPyVListBox
*) ((wxPyHtmlListBox
*) x
));
33154 static void *_p_wxSimpleHtmlListBoxTo_p_wxObject(void *x
) {
33155 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*)(wxPyVScrolledWindow
*)(wxPyVListBox
*)(wxPyHtmlListBox
*) ((wxSimpleHtmlListBox
*) x
));
33157 static void *_p_wxAcceleratorTableTo_p_wxObject(void *x
) {
33158 return (void *)((wxObject
*) ((wxAcceleratorTable
*) x
));
33160 static void *_p_wxStdDialogButtonSizerTo_p_wxObject(void *x
) {
33161 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStdDialogButtonSizer
*) x
));
33163 static void *_p_wxMiniFrameTo_p_wxObject(void *x
) {
33164 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMiniFrame
*) x
));
33166 static void *_p_wxImageTo_p_wxObject(void *x
) {
33167 return (void *)((wxObject
*) ((wxImage
*) x
));
33169 static void *_p_wxFrameTo_p_wxObject(void *x
) {
33170 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*) ((wxFrame
*) x
));
33172 static void *_p_wxPyPrintoutTo_p_wxObject(void *x
) {
33173 return (void *)((wxObject
*) ((wxPyPrintout
*) x
));
33175 static void *_p_wxScrollWinEventTo_p_wxObject(void *x
) {
33176 return (void *)((wxObject
*) (wxEvent
*) ((wxScrollWinEvent
*) x
));
33178 static void *_p_wxTaskBarIconEventTo_p_wxObject(void *x
) {
33179 return (void *)((wxObject
*) (wxEvent
*) ((wxTaskBarIconEvent
*) x
));
33181 static void *_p_wxStatusBarTo_p_wxObject(void *x
) {
33182 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxStatusBar
*) x
));
33184 static void *_p_wxMDIParentFrameTo_p_wxObject(void *x
) {
33185 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMDIParentFrame
*) x
));
33187 static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x
) {
33188 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
33190 static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x
) {
33191 return (void *)((wxObject
*) (wxEvent
*) ((wxNavigationKeyEvent
*) x
));
33193 static void *_p_wxKeyEventTo_p_wxObject(void *x
) {
33194 return (void *)((wxObject
*) (wxEvent
*) ((wxKeyEvent
*) x
));
33196 static void *_p_wxWindowTo_p_wxObject(void *x
) {
33197 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxWindow
*) x
));
33199 static void *_p_wxMenuTo_p_wxObject(void *x
) {
33200 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxMenu
*) x
));
33202 static void *_p_wxMenuBarTo_p_wxObject(void *x
) {
33203 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxMenuBar
*) x
));
33205 static void *_p_wxScrolledWindowTo_p_wxObject(void *x
) {
33206 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*) ((wxScrolledWindow
*) x
));
33208 static void *_p_wxTopLevelWindowTo_p_wxObject(void *x
) {
33209 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxTopLevelWindow
*) x
));
33211 static void *_p_wxSplashScreenWindowTo_p_wxObject(void *x
) {
33212 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxSplashScreenWindow
*) x
));
33214 static void *_p_wxSplitterWindowTo_p_wxObject(void *x
) {
33215 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxSplitterWindow
*) x
));
33217 static void *_p_wxSashWindowTo_p_wxObject(void *x
) {
33218 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxSashWindow
*) x
));
33220 static void *_p_wxSashLayoutWindowTo_p_wxObject(void *x
) {
33221 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxSashWindow
*) ((wxSashLayoutWindow
*) x
));
33223 static void *_p_wxPopupWindowTo_p_wxObject(void *x
) {
33224 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxPopupWindow
*) x
));
33226 static void *_p_wxPyPopupTransientWindowTo_p_wxObject(void *x
) {
33227 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPopupWindow
*) ((wxPyPopupTransientWindow
*) x
));
33229 static void *_p_wxTipWindowTo_p_wxObject(void *x
) {
33230 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPopupWindow
*)(wxPyPopupTransientWindow
*) ((wxTipWindow
*) x
));
33232 static void *_p_wxPyVScrolledWindowTo_p_wxObject(void *x
) {
33233 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*) ((wxPyVScrolledWindow
*) x
));
33235 static void *_p_wxMDIClientWindowTo_p_wxObject(void *x
) {
33236 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxMDIClientWindow
*) x
));
33238 static void *_p_wxPyScrolledWindowTo_p_wxObject(void *x
) {
33239 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*)(wxScrolledWindow
*) ((wxPyScrolledWindow
*) x
));
33241 static void *_p_wxSashEventTo_p_wxObject(void *x
) {
33242 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxSashEvent
*) x
));
33244 static void *_p_wxPrintPreviewTo_p_wxObject(void *x
) {
33245 return (void *)((wxObject
*) ((wxPrintPreview
*) x
));
33247 static void *_p_wxPyPrintPreviewTo_p_wxObject(void *x
) {
33248 return (void *)((wxObject
*) (wxPrintPreview
*) ((wxPyPrintPreview
*) x
));
33250 static void *_p_wxPanelTo_p_wxObject(void *x
) {
33251 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxPanel
*) x
));
33253 static void *_p_wxDialogTo_p_wxObject(void *x
) {
33254 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*) ((wxDialog
*) x
));
33256 static void *_p_wxColourDialogTo_p_wxObject(void *x
) {
33257 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxColourDialog
*) x
));
33259 static void *_p_wxDirDialogTo_p_wxObject(void *x
) {
33260 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxDirDialog
*) x
));
33262 static void *_p_wxFontDialogTo_p_wxObject(void *x
) {
33263 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFontDialog
*) x
));
33265 static void *_p_wxPageSetupDialogTo_p_wxObject(void *x
) {
33266 return (void *)((wxObject
*) ((wxPageSetupDialog
*) x
));
33268 static void *_p_wxPrintDialogTo_p_wxObject(void *x
) {
33269 return (void *)((wxObject
*) ((wxPrintDialog
*) x
));
33271 static void *_p_wxFileSystemTo_p_wxObject(void *x
) {
33272 return (void *)((wxObject
*) ((wxFileSystem
*) x
));
33274 static void *_p_wxContextMenuEventTo_p_wxObject(void *x
) {
33275 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
33277 static void *_p_wxMenuEventTo_p_wxObject(void *x
) {
33278 return (void *)((wxObject
*) (wxEvent
*) ((wxMenuEvent
*) x
));
33280 static void *_p_wxPyAppTo_p_wxObject(void *x
) {
33281 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyApp
*) x
));
33283 static void *_p_wxCloseEventTo_p_wxObject(void *x
) {
33284 return (void *)((wxObject
*) (wxEvent
*) ((wxCloseEvent
*) x
));
33286 static void *_p_wxMouseEventTo_p_wxObject(void *x
) {
33287 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseEvent
*) x
));
33289 static void *_p_wxEraseEventTo_p_wxObject(void *x
) {
33290 return (void *)((wxObject
*) (wxEvent
*) ((wxEraseEvent
*) x
));
33292 static void *_p_wxPyCommandEventTo_p_wxObject(void *x
) {
33293 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
33295 static void *_p_wxCommandEventTo_p_wxObject(void *x
) {
33296 return (void *)((wxObject
*) (wxEvent
*) ((wxCommandEvent
*) x
));
33298 static void *_p_wxPreviewControlBarTo_p_wxObject(void *x
) {
33299 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*) ((wxPreviewControlBar
*) x
));
33301 static void *_p_wxPyPreviewControlBarTo_p_wxObject(void *x
) {
33302 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*)(wxPreviewControlBar
*) ((wxPyPreviewControlBar
*) x
));
33304 static void *_p_wxDropFilesEventTo_p_wxObject(void *x
) {
33305 return (void *)((wxObject
*) (wxEvent
*) ((wxDropFilesEvent
*) x
));
33307 static void *_p_wxFocusEventTo_p_wxObject(void *x
) {
33308 return (void *)((wxObject
*) (wxEvent
*) ((wxFocusEvent
*) x
));
33310 static void *_p_wxChildFocusEventTo_p_wxObject(void *x
) {
33311 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
33313 static void *_p_wxControlWithItemsTo_p_wxObject(void *x
) {
33314 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
33316 static void *_p_wxPageSetupDialogDataTo_p_wxObject(void *x
) {
33317 return (void *)((wxObject
*) ((wxPageSetupDialogData
*) x
));
33319 static void *_p_wxPrintDialogDataTo_p_wxObject(void *x
) {
33320 return (void *)((wxObject
*) ((wxPrintDialogData
*) x
));
33322 static void *_p_wxPyValidatorTo_p_wxObject(void *x
) {
33323 return (void *)((wxObject
*) (wxEvtHandler
*)(wxValidator
*) ((wxPyValidator
*) x
));
33325 static void *_p_wxValidatorTo_p_wxObject(void *x
) {
33326 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxValidator
*) x
));
33328 static void *_p_wxPyVListBoxTo_p_wxPyVScrolledWindow(void *x
) {
33329 return (void *)((wxPyVScrolledWindow
*) ((wxPyVListBox
*) x
));
33331 static void *_p_wxPyHtmlListBoxTo_p_wxPyVScrolledWindow(void *x
) {
33332 return (void *)((wxPyVScrolledWindow
*) (wxPyVListBox
*) ((wxPyHtmlListBox
*) x
));
33334 static void *_p_wxSimpleHtmlListBoxTo_p_wxPyVScrolledWindow(void *x
) {
33335 return (void *)((wxPyVScrolledWindow
*) (wxPyVListBox
*)(wxPyHtmlListBox
*) ((wxSimpleHtmlListBox
*) x
));
33337 static void *_p_wxTipWindowTo_p_wxPyPopupTransientWindow(void *x
) {
33338 return (void *)((wxPyPopupTransientWindow
*) ((wxTipWindow
*) x
));
33340 static void *_p_wxPyPopupTransientWindowTo_p_wxPopupWindow(void *x
) {
33341 return (void *)((wxPopupWindow
*) ((wxPyPopupTransientWindow
*) x
));
33343 static void *_p_wxTipWindowTo_p_wxPopupWindow(void *x
) {
33344 return (void *)((wxPopupWindow
*) (wxPyPopupTransientWindow
*) ((wxTipWindow
*) x
));
33346 static void *_p_wxSashLayoutWindowTo_p_wxSashWindow(void *x
) {
33347 return (void *)((wxSashWindow
*) ((wxSashLayoutWindow
*) x
));
33349 static void *_p_wxFrameTo_p_wxTopLevelWindow(void *x
) {
33350 return (void *)((wxTopLevelWindow
*) ((wxFrame
*) x
));
33352 static void *_p_wxMiniFrameTo_p_wxTopLevelWindow(void *x
) {
33353 return (void *)((wxTopLevelWindow
*) (wxFrame
*) ((wxMiniFrame
*) x
));
33355 static void *_p_wxFontDialogTo_p_wxTopLevelWindow(void *x
) {
33356 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxFontDialog
*) x
));
33358 static void *_p_wxDirDialogTo_p_wxTopLevelWindow(void *x
) {
33359 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxDirDialog
*) x
));
33361 static void *_p_wxColourDialogTo_p_wxTopLevelWindow(void *x
) {
33362 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxColourDialog
*) x
));
33364 static void *_p_wxDialogTo_p_wxTopLevelWindow(void *x
) {
33365 return (void *)((wxTopLevelWindow
*) ((wxDialog
*) x
));
33367 static void *_p_wxSplashScreenTo_p_wxTopLevelWindow(void *x
) {
33368 return (void *)((wxTopLevelWindow
*) (wxFrame
*) ((wxSplashScreen
*) x
));
33370 static void *_p_wxMDIParentFrameTo_p_wxTopLevelWindow(void *x
) {
33371 return (void *)((wxTopLevelWindow
*) (wxFrame
*) ((wxMDIParentFrame
*) x
));
33373 static void *_p_wxMDIChildFrameTo_p_wxTopLevelWindow(void *x
) {
33374 return (void *)((wxTopLevelWindow
*) (wxFrame
*) ((wxMDIChildFrame
*) x
));
33376 static void *_p_wxMessageDialogTo_p_wxTopLevelWindow(void *x
) {
33377 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxMessageDialog
*) x
));
33379 static void *_p_wxNumberEntryDialogTo_p_wxTopLevelWindow(void *x
) {
33380 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxNumberEntryDialog
*) x
));
33382 static void *_p_wxPasswordEntryDialogTo_p_wxTopLevelWindow(void *x
) {
33383 return (void *)((wxTopLevelWindow
*) (wxDialog
*)(wxTextEntryDialog
*) ((wxPasswordEntryDialog
*) x
));
33385 static void *_p_wxTextEntryDialogTo_p_wxTopLevelWindow(void *x
) {
33386 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxTextEntryDialog
*) x
));
33388 static void *_p_wxSingleChoiceDialogTo_p_wxTopLevelWindow(void *x
) {
33389 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxSingleChoiceDialog
*) x
));
33391 static void *_p_wxMultiChoiceDialogTo_p_wxTopLevelWindow(void *x
) {
33392 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxMultiChoiceDialog
*) x
));
33394 static void *_p_wxFileDialogTo_p_wxTopLevelWindow(void *x
) {
33395 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxFileDialog
*) x
));
33397 static void *_p_wxProgressDialogTo_p_wxTopLevelWindow(void *x
) {
33398 return (void *)((wxTopLevelWindow
*) (wxFrame
*) ((wxProgressDialog
*) x
));
33400 static void *_p_wxFindReplaceDialogTo_p_wxTopLevelWindow(void *x
) {
33401 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxFindReplaceDialog
*) x
));
33403 static void *_p_wxPreviewFrameTo_p_wxTopLevelWindow(void *x
) {
33404 return (void *)((wxTopLevelWindow
*) (wxFrame
*) ((wxPreviewFrame
*) x
));
33406 static void *_p_wxPyPreviewFrameTo_p_wxTopLevelWindow(void *x
) {
33407 return (void *)((wxTopLevelWindow
*) (wxFrame
*)(wxPreviewFrame
*) ((wxPyPreviewFrame
*) x
));
33409 static void *_p_wxSplashScreenTo_p_wxWindow(void *x
) {
33410 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxSplashScreen
*) x
));
33412 static void *_p_wxMiniFrameTo_p_wxWindow(void *x
) {
33413 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxMiniFrame
*) x
));
33415 static void *_p_wxPyPanelTo_p_wxWindow(void *x
) {
33416 return (void *)((wxWindow
*) (wxPanel
*) ((wxPyPanel
*) x
));
33418 static void *_p_wxMenuBarTo_p_wxWindow(void *x
) {
33419 return (void *)((wxWindow
*) ((wxMenuBar
*) x
));
33421 static void *_p_wxFindReplaceDialogTo_p_wxWindow(void *x
) {
33422 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxFindReplaceDialog
*) x
));
33424 static void *_p_wxProgressDialogTo_p_wxWindow(void *x
) {
33425 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxProgressDialog
*) x
));
33427 static void *_p_wxMessageDialogTo_p_wxWindow(void *x
) {
33428 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxMessageDialog
*) x
));
33430 static void *_p_wxNumberEntryDialogTo_p_wxWindow(void *x
) {
33431 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxNumberEntryDialog
*) x
));
33433 static void *_p_wxPasswordEntryDialogTo_p_wxWindow(void *x
) {
33434 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*)(wxTextEntryDialog
*) ((wxPasswordEntryDialog
*) x
));
33436 static void *_p_wxTextEntryDialogTo_p_wxWindow(void *x
) {
33437 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxTextEntryDialog
*) x
));
33439 static void *_p_wxSingleChoiceDialogTo_p_wxWindow(void *x
) {
33440 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxSingleChoiceDialog
*) x
));
33442 static void *_p_wxMultiChoiceDialogTo_p_wxWindow(void *x
) {
33443 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxMultiChoiceDialog
*) x
));
33445 static void *_p_wxFileDialogTo_p_wxWindow(void *x
) {
33446 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxFileDialog
*) x
));
33448 static void *_p_wxPanelTo_p_wxWindow(void *x
) {
33449 return (void *)((wxWindow
*) ((wxPanel
*) x
));
33451 static void *_p_wxStatusBarTo_p_wxWindow(void *x
) {
33452 return (void *)((wxWindow
*) ((wxStatusBar
*) x
));
33454 static void *_p_wxPyVScrolledWindowTo_p_wxWindow(void *x
) {
33455 return (void *)((wxWindow
*) (wxPanel
*) ((wxPyVScrolledWindow
*) x
));
33457 static void *_p_wxTipWindowTo_p_wxWindow(void *x
) {
33458 return (void *)((wxWindow
*) (wxPopupWindow
*)(wxPyPopupTransientWindow
*) ((wxTipWindow
*) x
));
33460 static void *_p_wxPyPopupTransientWindowTo_p_wxWindow(void *x
) {
33461 return (void *)((wxWindow
*) (wxPopupWindow
*) ((wxPyPopupTransientWindow
*) x
));
33463 static void *_p_wxPopupWindowTo_p_wxWindow(void *x
) {
33464 return (void *)((wxWindow
*) ((wxPopupWindow
*) x
));
33466 static void *_p_wxSashLayoutWindowTo_p_wxWindow(void *x
) {
33467 return (void *)((wxWindow
*) (wxSashWindow
*) ((wxSashLayoutWindow
*) x
));
33469 static void *_p_wxScrolledWindowTo_p_wxWindow(void *x
) {
33470 return (void *)((wxWindow
*) (wxPanel
*) ((wxScrolledWindow
*) x
));
33472 static void *_p_wxTopLevelWindowTo_p_wxWindow(void *x
) {
33473 return (void *)((wxWindow
*) ((wxTopLevelWindow
*) x
));
33475 static void *_p_wxSplashScreenWindowTo_p_wxWindow(void *x
) {
33476 return (void *)((wxWindow
*) ((wxSplashScreenWindow
*) x
));
33478 static void *_p_wxSplitterWindowTo_p_wxWindow(void *x
) {
33479 return (void *)((wxWindow
*) ((wxSplitterWindow
*) x
));
33481 static void *_p_wxSashWindowTo_p_wxWindow(void *x
) {
33482 return (void *)((wxWindow
*) ((wxSashWindow
*) x
));
33484 static void *_p_wxMDIClientWindowTo_p_wxWindow(void *x
) {
33485 return (void *)((wxWindow
*) ((wxMDIClientWindow
*) x
));
33487 static void *_p_wxPyScrolledWindowTo_p_wxWindow(void *x
) {
33488 return (void *)((wxWindow
*) (wxPanel
*)(wxScrolledWindow
*) ((wxPyScrolledWindow
*) x
));
33490 static void *_p_wxControlTo_p_wxWindow(void *x
) {
33491 return (void *)((wxWindow
*) ((wxControl
*) x
));
33493 static void *_p_wxPreviewFrameTo_p_wxWindow(void *x
) {
33494 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxPreviewFrame
*) x
));
33496 static void *_p_wxPyPreviewFrameTo_p_wxWindow(void *x
) {
33497 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*)(wxPreviewFrame
*) ((wxPyPreviewFrame
*) x
));
33499 static void *_p_wxMDIChildFrameTo_p_wxWindow(void *x
) {
33500 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxMDIChildFrame
*) x
));
33502 static void *_p_wxControlWithItemsTo_p_wxWindow(void *x
) {
33503 return (void *)((wxWindow
*) (wxControl
*) ((wxControlWithItems
*) x
));
33505 static void *_p_wxPyWindowTo_p_wxWindow(void *x
) {
33506 return (void *)((wxWindow
*) ((wxPyWindow
*) x
));
33508 static void *_p_wxPreviewCanvasTo_p_wxWindow(void *x
) {
33509 return (void *)((wxWindow
*) (wxPanel
*)(wxScrolledWindow
*) ((wxPreviewCanvas
*) x
));
33511 static void *_p_wxSimpleHtmlListBoxTo_p_wxWindow(void *x
) {
33512 return (void *)((wxWindow
*) (wxPanel
*)(wxPyVScrolledWindow
*)(wxPyVListBox
*)(wxPyHtmlListBox
*) ((wxSimpleHtmlListBox
*) x
));
33514 static void *_p_wxPyHtmlListBoxTo_p_wxWindow(void *x
) {
33515 return (void *)((wxWindow
*) (wxPanel
*)(wxPyVScrolledWindow
*)(wxPyVListBox
*) ((wxPyHtmlListBox
*) x
));
33517 static void *_p_wxPyVListBoxTo_p_wxWindow(void *x
) {
33518 return (void *)((wxWindow
*) (wxPanel
*)(wxPyVScrolledWindow
*) ((wxPyVListBox
*) x
));
33520 static void *_p_wxPreviewControlBarTo_p_wxWindow(void *x
) {
33521 return (void *)((wxWindow
*) (wxPanel
*) ((wxPreviewControlBar
*) x
));
33523 static void *_p_wxPyPreviewControlBarTo_p_wxWindow(void *x
) {
33524 return (void *)((wxWindow
*) (wxPanel
*)(wxPreviewControlBar
*) ((wxPyPreviewControlBar
*) x
));
33526 static void *_p_wxFrameTo_p_wxWindow(void *x
) {
33527 return (void *)((wxWindow
*) (wxTopLevelWindow
*) ((wxFrame
*) x
));
33529 static void *_p_wxFontDialogTo_p_wxWindow(void *x
) {
33530 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxFontDialog
*) x
));
33532 static void *_p_wxDirDialogTo_p_wxWindow(void *x
) {
33533 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxDirDialog
*) x
));
33535 static void *_p_wxColourDialogTo_p_wxWindow(void *x
) {
33536 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxColourDialog
*) x
));
33538 static void *_p_wxDialogTo_p_wxWindow(void *x
) {
33539 return (void *)((wxWindow
*) (wxTopLevelWindow
*) ((wxDialog
*) x
));
33541 static void *_p_wxMDIParentFrameTo_p_wxWindow(void *x
) {
33542 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxMDIParentFrame
*) x
));
33544 static void *_p_wxPyScrolledWindowTo_p_wxScrolledWindow(void *x
) {
33545 return (void *)((wxScrolledWindow
*) ((wxPyScrolledWindow
*) x
));
33547 static void *_p_wxPreviewCanvasTo_p_wxScrolledWindow(void *x
) {
33548 return (void *)((wxScrolledWindow
*) ((wxPreviewCanvas
*) x
));
33550 static void *_p_wxPyPrintPreviewTo_p_wxPrintPreview(void *x
) {
33551 return (void *)((wxPrintPreview
*) ((wxPyPrintPreview
*) x
));
33553 static void *_p_wxColourDialogTo_p_wxDialog(void *x
) {
33554 return (void *)((wxDialog
*) ((wxColourDialog
*) x
));
33556 static void *_p_wxDirDialogTo_p_wxDialog(void *x
) {
33557 return (void *)((wxDialog
*) ((wxDirDialog
*) x
));
33559 static void *_p_wxFontDialogTo_p_wxDialog(void *x
) {
33560 return (void *)((wxDialog
*) ((wxFontDialog
*) x
));
33562 static void *_p_wxFileDialogTo_p_wxDialog(void *x
) {
33563 return (void *)((wxDialog
*) ((wxFileDialog
*) x
));
33565 static void *_p_wxMultiChoiceDialogTo_p_wxDialog(void *x
) {
33566 return (void *)((wxDialog
*) ((wxMultiChoiceDialog
*) x
));
33568 static void *_p_wxSingleChoiceDialogTo_p_wxDialog(void *x
) {
33569 return (void *)((wxDialog
*) ((wxSingleChoiceDialog
*) x
));
33571 static void *_p_wxTextEntryDialogTo_p_wxDialog(void *x
) {
33572 return (void *)((wxDialog
*) ((wxTextEntryDialog
*) x
));
33574 static void *_p_wxPasswordEntryDialogTo_p_wxDialog(void *x
) {
33575 return (void *)((wxDialog
*) (wxTextEntryDialog
*) ((wxPasswordEntryDialog
*) x
));
33577 static void *_p_wxNumberEntryDialogTo_p_wxDialog(void *x
) {
33578 return (void *)((wxDialog
*) ((wxNumberEntryDialog
*) x
));
33580 static void *_p_wxMessageDialogTo_p_wxDialog(void *x
) {
33581 return (void *)((wxDialog
*) ((wxMessageDialog
*) x
));
33583 static void *_p_wxFindReplaceDialogTo_p_wxDialog(void *x
) {
33584 return (void *)((wxDialog
*) ((wxFindReplaceDialog
*) x
));
33586 static void *_p_wxScrolledWindowTo_p_wxPanel(void *x
) {
33587 return (void *)((wxPanel
*) ((wxScrolledWindow
*) x
));
33589 static void *_p_wxPyVScrolledWindowTo_p_wxPanel(void *x
) {
33590 return (void *)((wxPanel
*) ((wxPyVScrolledWindow
*) x
));
33592 static void *_p_wxPyScrolledWindowTo_p_wxPanel(void *x
) {
33593 return (void *)((wxPanel
*) (wxScrolledWindow
*) ((wxPyScrolledWindow
*) x
));
33595 static void *_p_wxPyVListBoxTo_p_wxPanel(void *x
) {
33596 return (void *)((wxPanel
*) (wxPyVScrolledWindow
*) ((wxPyVListBox
*) x
));
33598 static void *_p_wxPyHtmlListBoxTo_p_wxPanel(void *x
) {
33599 return (void *)((wxPanel
*) (wxPyVScrolledWindow
*)(wxPyVListBox
*) ((wxPyHtmlListBox
*) x
));
33601 static void *_p_wxSimpleHtmlListBoxTo_p_wxPanel(void *x
) {
33602 return (void *)((wxPanel
*) (wxPyVScrolledWindow
*)(wxPyVListBox
*)(wxPyHtmlListBox
*) ((wxSimpleHtmlListBox
*) x
));
33604 static void *_p_wxPyPanelTo_p_wxPanel(void *x
) {
33605 return (void *)((wxPanel
*) ((wxPyPanel
*) x
));
33607 static void *_p_wxPreviewCanvasTo_p_wxPanel(void *x
) {
33608 return (void *)((wxPanel
*) (wxScrolledWindow
*) ((wxPreviewCanvas
*) x
));
33610 static void *_p_wxPreviewControlBarTo_p_wxPanel(void *x
) {
33611 return (void *)((wxPanel
*) ((wxPreviewControlBar
*) x
));
33613 static void *_p_wxPyPreviewControlBarTo_p_wxPanel(void *x
) {
33614 return (void *)((wxPanel
*) (wxPreviewControlBar
*) ((wxPyPreviewControlBar
*) x
));
33616 static void *_p_wxChildFocusEventTo_p_wxCommandEvent(void *x
) {
33617 return (void *)((wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
33619 static void *_p_wxScrollEventTo_p_wxCommandEvent(void *x
) {
33620 return (void *)((wxCommandEvent
*) ((wxScrollEvent
*) x
));
33622 static void *_p_wxWindowCreateEventTo_p_wxCommandEvent(void *x
) {
33623 return (void *)((wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
33625 static void *_p_wxDateEventTo_p_wxCommandEvent(void *x
) {
33626 return (void *)((wxCommandEvent
*) ((wxDateEvent
*) x
));
33628 static void *_p_wxUpdateUIEventTo_p_wxCommandEvent(void *x
) {
33629 return (void *)((wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
33631 static void *_p_wxClipboardTextEventTo_p_wxCommandEvent(void *x
) {
33632 return (void *)((wxCommandEvent
*) ((wxClipboardTextEvent
*) x
));
33634 static void *_p_wxFindDialogEventTo_p_wxCommandEvent(void *x
) {
33635 return (void *)((wxCommandEvent
*) ((wxFindDialogEvent
*) x
));
33637 static void *_p_wxWindowDestroyEventTo_p_wxCommandEvent(void *x
) {
33638 return (void *)((wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
33640 static void *_p_wxContextMenuEventTo_p_wxCommandEvent(void *x
) {
33641 return (void *)((wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
33643 static void *_p_wxSplitterEventTo_p_wxCommandEvent(void *x
) {
33644 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*) ((wxSplitterEvent
*) x
));
33646 static void *_p_wxNotifyEventTo_p_wxCommandEvent(void *x
) {
33647 return (void *)((wxCommandEvent
*) ((wxNotifyEvent
*) x
));
33649 static void *_p_wxPyCommandEventTo_p_wxCommandEvent(void *x
) {
33650 return (void *)((wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
33652 static void *_p_wxSashEventTo_p_wxCommandEvent(void *x
) {
33653 return (void *)((wxCommandEvent
*) ((wxSashEvent
*) x
));
33655 static void *_p_wxPyPreviewControlBarTo_p_wxPreviewControlBar(void *x
) {
33656 return (void *)((wxPreviewControlBar
*) ((wxPyPreviewControlBar
*) x
));
33658 static void *_p_wxPyValidatorTo_p_wxValidator(void *x
) {
33659 return (void *)((wxValidator
*) ((wxPyValidator
*) x
));
33661 static swig_type_info _swigt__p_bool
= {"_p_bool", "bool *", 0, 0, (void*)0, 0};
33662 static swig_type_info _swigt__p_char
= {"_p_char", "char *", 0, 0, (void*)0, 0};
33663 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};
33664 static swig_type_info _swigt__p_int
= {"_p_int", "int *", 0, 0, (void*)0, 0};
33665 static swig_type_info _swigt__p_unsigned_char
= {"_p_unsigned_char", "unsigned char *|byte *", 0, 0, (void*)0, 0};
33666 static swig_type_info _swigt__p_unsigned_int
= {"_p_unsigned_int", "unsigned int *|time_t *", 0, 0, (void*)0, 0};
33667 static swig_type_info _swigt__p_unsigned_long
= {"_p_unsigned_long", "unsigned long *|wxUIntPtr *", 0, 0, (void*)0, 0};
33668 static swig_type_info _swigt__p_wxArrayInt
= {"_p_wxArrayInt", "wxArrayInt *", 0, 0, (void*)0, 0};
33669 static swig_type_info _swigt__p_wxArrayString
= {"_p_wxArrayString", "wxArrayString *", 0, 0, (void*)0, 0};
33670 static swig_type_info _swigt__p_wxBitmap
= {"_p_wxBitmap", "wxBitmap *", 0, 0, (void*)0, 0};
33671 static swig_type_info _swigt__p_wxCalculateLayoutEvent
= {"_p_wxCalculateLayoutEvent", "wxCalculateLayoutEvent *", 0, 0, (void*)0, 0};
33672 static swig_type_info _swigt__p_wxColour
= {"_p_wxColour", "wxColour *", 0, 0, (void*)0, 0};
33673 static swig_type_info _swigt__p_wxColourData
= {"_p_wxColourData", "wxColourData *", 0, 0, (void*)0, 0};
33674 static swig_type_info _swigt__p_wxColourDialog
= {"_p_wxColourDialog", "wxColourDialog *", 0, 0, (void*)0, 0};
33675 static swig_type_info _swigt__p_wxCommandEvent
= {"_p_wxCommandEvent", "wxCommandEvent *", 0, 0, (void*)0, 0};
33676 static swig_type_info _swigt__p_wxWindowDestroyEvent
= {"_p_wxWindowDestroyEvent", 0, 0, 0, 0, 0};
33677 static swig_type_info _swigt__p_wxClipboardTextEvent
= {"_p_wxClipboardTextEvent", 0, 0, 0, 0, 0};
33678 static swig_type_info _swigt__p_wxScrollEvent
= {"_p_wxScrollEvent", 0, 0, 0, 0, 0};
33679 static swig_type_info _swigt__p_wxPyCommandEvent
= {"_p_wxPyCommandEvent", 0, 0, 0, 0, 0};
33680 static swig_type_info _swigt__p_wxContextMenuEvent
= {"_p_wxContextMenuEvent", 0, 0, 0, 0, 0};
33681 static swig_type_info _swigt__p_wxChildFocusEvent
= {"_p_wxChildFocusEvent", 0, 0, 0, 0, 0};
33682 static swig_type_info _swigt__p_wxWindowCreateEvent
= {"_p_wxWindowCreateEvent", 0, 0, 0, 0, 0};
33683 static swig_type_info _swigt__p_wxDateEvent
= {"_p_wxDateEvent", 0, 0, 0, 0, 0};
33684 static swig_type_info _swigt__p_wxUpdateUIEvent
= {"_p_wxUpdateUIEvent", 0, 0, 0, 0, 0};
33685 static swig_type_info _swigt__p_wxDC
= {"_p_wxDC", "wxDC *", 0, 0, (void*)0, 0};
33686 static swig_type_info _swigt__p_wxDialog
= {"_p_wxDialog", "wxDialog *", 0, 0, (void*)0, 0};
33687 static swig_type_info _swigt__p_wxDirDialog
= {"_p_wxDirDialog", "wxDirDialog *", 0, 0, (void*)0, 0};
33688 static swig_type_info _swigt__p_wxDuplexMode
= {"_p_wxDuplexMode", "enum wxDuplexMode *|wxDuplexMode *", 0, 0, (void*)0, 0};
33689 static swig_type_info _swigt__p_wxEvent
= {"_p_wxEvent", "wxEvent *", 0, 0, (void*)0, 0};
33690 static swig_type_info _swigt__p_wxMenuEvent
= {"_p_wxMenuEvent", 0, 0, 0, 0, 0};
33691 static swig_type_info _swigt__p_wxCloseEvent
= {"_p_wxCloseEvent", 0, 0, 0, 0, 0};
33692 static swig_type_info _swigt__p_wxMouseEvent
= {"_p_wxMouseEvent", 0, 0, 0, 0, 0};
33693 static swig_type_info _swigt__p_wxEraseEvent
= {"_p_wxEraseEvent", 0, 0, 0, 0, 0};
33694 static swig_type_info _swigt__p_wxSetCursorEvent
= {"_p_wxSetCursorEvent", 0, 0, 0, 0, 0};
33695 static swig_type_info _swigt__p_wxInitDialogEvent
= {"_p_wxInitDialogEvent", 0, 0, 0, 0, 0};
33696 static swig_type_info _swigt__p_wxPyEvent
= {"_p_wxPyEvent", 0, 0, 0, 0, 0};
33697 static swig_type_info _swigt__p_wxMouseCaptureLostEvent
= {"_p_wxMouseCaptureLostEvent", 0, 0, 0, 0, 0};
33698 static swig_type_info _swigt__p_wxIdleEvent
= {"_p_wxIdleEvent", 0, 0, 0, 0, 0};
33699 static swig_type_info _swigt__p_wxQueryNewPaletteEvent
= {"_p_wxQueryNewPaletteEvent", 0, 0, 0, 0, 0};
33700 static swig_type_info _swigt__p_wxMaximizeEvent
= {"_p_wxMaximizeEvent", 0, 0, 0, 0, 0};
33701 static swig_type_info _swigt__p_wxIconizeEvent
= {"_p_wxIconizeEvent", 0, 0, 0, 0, 0};
33702 static swig_type_info _swigt__p_wxActivateEvent
= {"_p_wxActivateEvent", 0, 0, 0, 0, 0};
33703 static swig_type_info _swigt__p_wxSizeEvent
= {"_p_wxSizeEvent", 0, 0, 0, 0, 0};
33704 static swig_type_info _swigt__p_wxMoveEvent
= {"_p_wxMoveEvent", 0, 0, 0, 0, 0};
33705 static swig_type_info _swigt__p_wxPaintEvent
= {"_p_wxPaintEvent", 0, 0, 0, 0, 0};
33706 static swig_type_info _swigt__p_wxNcPaintEvent
= {"_p_wxNcPaintEvent", 0, 0, 0, 0, 0};
33707 static swig_type_info _swigt__p_wxPaletteChangedEvent
= {"_p_wxPaletteChangedEvent", 0, 0, 0, 0, 0};
33708 static swig_type_info _swigt__p_wxDisplayChangedEvent
= {"_p_wxDisplayChangedEvent", 0, 0, 0, 0, 0};
33709 static swig_type_info _swigt__p_wxMouseCaptureChangedEvent
= {"_p_wxMouseCaptureChangedEvent", 0, 0, 0, 0, 0};
33710 static swig_type_info _swigt__p_wxSysColourChangedEvent
= {"_p_wxSysColourChangedEvent", 0, 0, 0, 0, 0};
33711 static swig_type_info _swigt__p_wxDropFilesEvent
= {"_p_wxDropFilesEvent", 0, 0, 0, 0, 0};
33712 static swig_type_info _swigt__p_wxFocusEvent
= {"_p_wxFocusEvent", 0, 0, 0, 0, 0};
33713 static swig_type_info _swigt__p_wxShowEvent
= {"_p_wxShowEvent", 0, 0, 0, 0, 0};
33714 static swig_type_info _swigt__p_wxNavigationKeyEvent
= {"_p_wxNavigationKeyEvent", 0, 0, 0, 0, 0};
33715 static swig_type_info _swigt__p_wxKeyEvent
= {"_p_wxKeyEvent", 0, 0, 0, 0, 0};
33716 static swig_type_info _swigt__p_wxEvtHandler
= {"_p_wxEvtHandler", "wxEvtHandler *", 0, 0, (void*)0, 0};
33717 static swig_type_info _swigt__p_wxPyValidator
= {"_p_wxPyValidator", 0, 0, 0, 0, 0};
33718 static swig_type_info _swigt__p_wxControl
= {"_p_wxControl", 0, 0, 0, 0, 0};
33719 static swig_type_info _swigt__p_wxPyApp
= {"_p_wxPyApp", 0, 0, 0, 0, 0};
33720 static swig_type_info _swigt__p_wxControlWithItems
= {"_p_wxControlWithItems", 0, 0, 0, 0, 0};
33721 static swig_type_info _swigt__p_wxFileDialog
= {"_p_wxFileDialog", "wxFileDialog *", 0, 0, (void*)0, 0};
33722 static swig_type_info _swigt__p_wxFileSystem
= {"_p_wxFileSystem", "wxFileSystem *", 0, 0, (void*)0, 0};
33723 static swig_type_info _swigt__p_wxFindDialogEvent
= {"_p_wxFindDialogEvent", "wxFindDialogEvent *", 0, 0, (void*)0, 0};
33724 static swig_type_info _swigt__p_wxFindReplaceData
= {"_p_wxFindReplaceData", "wxFindReplaceData *", 0, 0, (void*)0, 0};
33725 static swig_type_info _swigt__p_wxFindReplaceDialog
= {"_p_wxFindReplaceDialog", "wxFindReplaceDialog *", 0, 0, (void*)0, 0};
33726 static swig_type_info _swigt__p_wxFont
= {"_p_wxFont", "wxFont *", 0, 0, (void*)0, 0};
33727 static swig_type_info _swigt__p_wxFontData
= {"_p_wxFontData", "wxFontData *", 0, 0, (void*)0, 0};
33728 static swig_type_info _swigt__p_wxFontDialog
= {"_p_wxFontDialog", "wxFontDialog *", 0, 0, (void*)0, 0};
33729 static swig_type_info _swigt__p_wxFrame
= {"_p_wxFrame", "wxFrame *", 0, 0, (void*)0, 0};
33730 static swig_type_info _swigt__p_wxHtmlLinkInfo
= {"_p_wxHtmlLinkInfo", "wxHtmlLinkInfo *", 0, 0, (void*)0, 0};
33731 static swig_type_info _swigt__p_wxIcon
= {"_p_wxIcon", "wxIcon *", 0, 0, (void*)0, 0};
33732 static swig_type_info _swigt__p_wxIconBundle
= {"_p_wxIconBundle", "wxIconBundle *", 0, 0, (void*)0, 0};
33733 static swig_type_info _swigt__p_wxItemContainer
= {"_p_wxItemContainer", "wxItemContainer *", 0, 0, (void*)0, 0};
33734 static swig_type_info _swigt__p_wxLayoutAlgorithm
= {"_p_wxLayoutAlgorithm", "wxLayoutAlgorithm *", 0, 0, (void*)0, 0};
33735 static swig_type_info _swigt__p_wxMDIChildFrame
= {"_p_wxMDIChildFrame", "wxMDIChildFrame *", 0, 0, (void*)0, 0};
33736 static swig_type_info _swigt__p_wxMDIClientWindow
= {"_p_wxMDIClientWindow", "wxMDIClientWindow *", 0, 0, (void*)0, 0};
33737 static swig_type_info _swigt__p_wxMDIParentFrame
= {"_p_wxMDIParentFrame", "wxMDIParentFrame *", 0, 0, (void*)0, 0};
33738 static swig_type_info _swigt__p_wxMenu
= {"_p_wxMenu", "wxMenu *", 0, 0, (void*)0, 0};
33739 static swig_type_info _swigt__p_wxMenuBar
= {"_p_wxMenuBar", "wxMenuBar *", 0, 0, (void*)0, 0};
33740 static swig_type_info _swigt__p_wxMessageDialog
= {"_p_wxMessageDialog", "wxMessageDialog *", 0, 0, (void*)0, 0};
33741 static swig_type_info _swigt__p_wxMiniFrame
= {"_p_wxMiniFrame", "wxMiniFrame *", 0, 0, (void*)0, 0};
33742 static swig_type_info _swigt__p_wxMultiChoiceDialog
= {"_p_wxMultiChoiceDialog", "wxMultiChoiceDialog *", 0, 0, (void*)0, 0};
33743 static swig_type_info _swigt__p_wxNotifyEvent
= {"_p_wxNotifyEvent", "wxNotifyEvent *", 0, 0, (void*)0, 0};
33744 static swig_type_info _swigt__p_wxNumberEntryDialog
= {"_p_wxNumberEntryDialog", "wxNumberEntryDialog *", 0, 0, (void*)0, 0};
33745 static swig_type_info _swigt__p_wxObject
= {"_p_wxObject", "wxObject *", 0, 0, (void*)0, 0};
33746 static swig_type_info _swigt__p_wxLayoutConstraints
= {"_p_wxLayoutConstraints", 0, 0, 0, 0, 0};
33747 static swig_type_info _swigt__p_wxSizerItem
= {"_p_wxSizerItem", 0, 0, 0, 0, 0};
33748 static swig_type_info _swigt__p_wxGBSizerItem
= {"_p_wxGBSizerItem", 0, 0, 0, 0, 0};
33749 static swig_type_info _swigt__p_wxIndividualLayoutConstraint
= {"_p_wxIndividualLayoutConstraint", 0, 0, 0, 0, 0};
33750 static swig_type_info _swigt__p_wxStaticBoxSizer
= {"_p_wxStaticBoxSizer", 0, 0, 0, 0, 0};
33751 static swig_type_info _swigt__p_wxBoxSizer
= {"_p_wxBoxSizer", 0, 0, 0, 0, 0};
33752 static swig_type_info _swigt__p_wxSizer
= {"_p_wxSizer", 0, 0, 0, 0, 0};
33753 static swig_type_info _swigt__p_wxGridBagSizer
= {"_p_wxGridBagSizer", 0, 0, 0, 0, 0};
33754 static swig_type_info _swigt__p_wxGridSizer
= {"_p_wxGridSizer", 0, 0, 0, 0, 0};
33755 static swig_type_info _swigt__p_wxFlexGridSizer
= {"_p_wxFlexGridSizer", 0, 0, 0, 0, 0};
33756 static swig_type_info _swigt__p_wxFSFile
= {"_p_wxFSFile", 0, 0, 0, 0, 0};
33757 static swig_type_info _swigt__p_wxPySizer
= {"_p_wxPySizer", 0, 0, 0, 0, 0};
33758 static swig_type_info _swigt__p_wxMenuItem
= {"_p_wxMenuItem", 0, 0, 0, 0, 0};
33759 static swig_type_info _swigt__p_wxBMPHandler
= {"_p_wxBMPHandler", 0, 0, 0, 0, 0};
33760 static swig_type_info _swigt__p_wxICOHandler
= {"_p_wxICOHandler", 0, 0, 0, 0, 0};
33761 static swig_type_info _swigt__p_wxCURHandler
= {"_p_wxCURHandler", 0, 0, 0, 0, 0};
33762 static swig_type_info _swigt__p_wxANIHandler
= {"_p_wxANIHandler", 0, 0, 0, 0, 0};
33763 static swig_type_info _swigt__p_wxPNGHandler
= {"_p_wxPNGHandler", 0, 0, 0, 0, 0};
33764 static swig_type_info _swigt__p_wxGIFHandler
= {"_p_wxGIFHandler", 0, 0, 0, 0, 0};
33765 static swig_type_info _swigt__p_wxPCXHandler
= {"_p_wxPCXHandler", 0, 0, 0, 0, 0};
33766 static swig_type_info _swigt__p_wxJPEGHandler
= {"_p_wxJPEGHandler", 0, 0, 0, 0, 0};
33767 static swig_type_info _swigt__p_wxPNMHandler
= {"_p_wxPNMHandler", 0, 0, 0, 0, 0};
33768 static swig_type_info _swigt__p_wxPyImageHandler
= {"_p_wxPyImageHandler", 0, 0, 0, 0, 0};
33769 static swig_type_info _swigt__p_wxImageHandler
= {"_p_wxImageHandler", 0, 0, 0, 0, 0};
33770 static swig_type_info _swigt__p_wxXPMHandler
= {"_p_wxXPMHandler", 0, 0, 0, 0, 0};
33771 static swig_type_info _swigt__p_wxTIFFHandler
= {"_p_wxTIFFHandler", 0, 0, 0, 0, 0};
33772 static swig_type_info _swigt__p_wxTGAHandler
= {"_p_wxTGAHandler", 0, 0, 0, 0, 0};
33773 static swig_type_info _swigt__p_wxAcceleratorTable
= {"_p_wxAcceleratorTable", 0, 0, 0, 0, 0};
33774 static swig_type_info _swigt__p_wxImage
= {"_p_wxImage", 0, 0, 0, 0, 0};
33775 static swig_type_info _swigt__p_wxPageSetupDialog
= {"_p_wxPageSetupDialog", "wxPageSetupDialog *", 0, 0, (void*)0, 0};
33776 static swig_type_info _swigt__p_wxPageSetupDialogData
= {"_p_wxPageSetupDialogData", "wxPageSetupDialogData *", 0, 0, (void*)0, 0};
33777 static swig_type_info _swigt__p_wxPanel
= {"_p_wxPanel", "wxPanel *", 0, 0, (void*)0, 0};
33778 static swig_type_info _swigt__p_wxPaperSize
= {"_p_wxPaperSize", "enum wxPaperSize *|wxPaperSize *", 0, 0, (void*)0, 0};
33779 static swig_type_info _swigt__p_wxPasswordEntryDialog
= {"_p_wxPasswordEntryDialog", "wxPasswordEntryDialog *", 0, 0, (void*)0, 0};
33780 static swig_type_info _swigt__p_wxPoint
= {"_p_wxPoint", "wxPoint *", 0, 0, (void*)0, 0};
33781 static swig_type_info _swigt__p_wxPopupWindow
= {"_p_wxPopupWindow", "wxPopupWindow *", 0, 0, (void*)0, 0};
33782 static swig_type_info _swigt__p_wxPreviewCanvas
= {"_p_wxPreviewCanvas", "wxPreviewCanvas *", 0, 0, (void*)0, 0};
33783 static swig_type_info _swigt__p_wxPreviewControlBar
= {"_p_wxPreviewControlBar", "wxPreviewControlBar *", 0, 0, (void*)0, 0};
33784 static swig_type_info _swigt__p_wxPreviewFrame
= {"_p_wxPreviewFrame", "wxPreviewFrame *", 0, 0, (void*)0, 0};
33785 static swig_type_info _swigt__p_wxPrintData
= {"_p_wxPrintData", "wxPrintData *", 0, 0, (void*)0, 0};
33786 static swig_type_info _swigt__p_wxPrintDialog
= {"_p_wxPrintDialog", "wxPrintDialog *", 0, 0, (void*)0, 0};
33787 static swig_type_info _swigt__p_wxPrintDialogData
= {"_p_wxPrintDialogData", "wxPrintDialogData *", 0, 0, (void*)0, 0};
33788 static swig_type_info _swigt__p_wxPrintPreview
= {"_p_wxPrintPreview", "wxPrintPreview *", 0, 0, (void*)0, 0};
33789 static swig_type_info _swigt__p_wxPrinter
= {"_p_wxPrinter", "wxPrinter *", 0, 0, (void*)0, 0};
33790 static swig_type_info _swigt__p_wxProgressDialog
= {"_p_wxProgressDialog", "wxProgressDialog *", 0, 0, (void*)0, 0};
33791 static swig_type_info _swigt__p_wxPyHtmlListBox
= {"_p_wxPyHtmlListBox", "wxPyHtmlListBox *", 0, 0, (void*)0, 0};
33792 static swig_type_info _swigt__p_wxPyPanel
= {"_p_wxPyPanel", "wxPyPanel *", 0, 0, (void*)0, 0};
33793 static swig_type_info _swigt__p_wxPyPopupTransientWindow
= {"_p_wxPyPopupTransientWindow", "wxPyPopupTransientWindow *", 0, 0, (void*)0, 0};
33794 static swig_type_info _swigt__p_wxPyPreviewControlBar
= {"_p_wxPyPreviewControlBar", "wxPyPreviewControlBar *", 0, 0, (void*)0, 0};
33795 static swig_type_info _swigt__p_wxPyPreviewFrame
= {"_p_wxPyPreviewFrame", "wxPyPreviewFrame *", 0, 0, (void*)0, 0};
33796 static swig_type_info _swigt__p_wxPyPrintPreview
= {"_p_wxPyPrintPreview", "wxPyPrintPreview *", 0, 0, (void*)0, 0};
33797 static swig_type_info _swigt__p_wxPyPrintout
= {"_p_wxPyPrintout", "wxPyPrintout *", 0, 0, (void*)0, 0};
33798 static swig_type_info _swigt__p_wxPyScrolledWindow
= {"_p_wxPyScrolledWindow", "wxPyScrolledWindow *", 0, 0, (void*)0, 0};
33799 static swig_type_info _swigt__p_wxPyTaskBarIcon
= {"_p_wxPyTaskBarIcon", "wxPyTaskBarIcon *", 0, 0, (void*)0, 0};
33800 static swig_type_info _swigt__p_wxPyVListBox
= {"_p_wxPyVListBox", "wxPyVListBox *", 0, 0, (void*)0, 0};
33801 static swig_type_info _swigt__p_wxPyVScrolledWindow
= {"_p_wxPyVScrolledWindow", "wxPyVScrolledWindow *", 0, 0, (void*)0, 0};
33802 static swig_type_info _swigt__p_wxPyWindow
= {"_p_wxPyWindow", "wxPyWindow *", 0, 0, (void*)0, 0};
33803 static swig_type_info _swigt__p_wxQueryLayoutInfoEvent
= {"_p_wxQueryLayoutInfoEvent", "wxQueryLayoutInfoEvent *", 0, 0, (void*)0, 0};
33804 static swig_type_info _swigt__p_wxRect
= {"_p_wxRect", "wxRect *", 0, 0, (void*)0, 0};
33805 static swig_type_info _swigt__p_wxRegion
= {"_p_wxRegion", "wxRegion *", 0, 0, (void*)0, 0};
33806 static swig_type_info _swigt__p_wxSashEvent
= {"_p_wxSashEvent", "wxSashEvent *", 0, 0, (void*)0, 0};
33807 static swig_type_info _swigt__p_wxSashLayoutWindow
= {"_p_wxSashLayoutWindow", "wxSashLayoutWindow *", 0, 0, (void*)0, 0};
33808 static swig_type_info _swigt__p_wxSashWindow
= {"_p_wxSashWindow", "wxSashWindow *", 0, 0, (void*)0, 0};
33809 static swig_type_info _swigt__p_wxScrollWinEvent
= {"_p_wxScrollWinEvent", "wxScrollWinEvent *", 0, 0, (void*)0, 0};
33810 static swig_type_info _swigt__p_wxScrolledWindow
= {"_p_wxScrolledWindow", "wxScrolledWindow *", 0, 0, (void*)0, 0};
33811 static swig_type_info _swigt__p_wxSimpleHtmlListBox
= {"_p_wxSimpleHtmlListBox", "wxSimpleHtmlListBox *", 0, 0, (void*)0, 0};
33812 static swig_type_info _swigt__p_wxSingleChoiceDialog
= {"_p_wxSingleChoiceDialog", "wxSingleChoiceDialog *", 0, 0, (void*)0, 0};
33813 static swig_type_info _swigt__p_wxSize
= {"_p_wxSize", "wxSize *", 0, 0, (void*)0, 0};
33814 static swig_type_info _swigt__p_wxSplashScreen
= {"_p_wxSplashScreen", "wxSplashScreen *", 0, 0, (void*)0, 0};
33815 static swig_type_info _swigt__p_wxSplashScreenWindow
= {"_p_wxSplashScreenWindow", "wxSplashScreenWindow *", 0, 0, (void*)0, 0};
33816 static swig_type_info _swigt__p_wxSplitterEvent
= {"_p_wxSplitterEvent", "wxSplitterEvent *", 0, 0, (void*)0, 0};
33817 static swig_type_info _swigt__p_wxSplitterWindow
= {"_p_wxSplitterWindow", "wxSplitterWindow *", 0, 0, (void*)0, 0};
33818 static swig_type_info _swigt__p_wxStatusBar
= {"_p_wxStatusBar", "wxStatusBar *", 0, 0, (void*)0, 0};
33819 static swig_type_info _swigt__p_wxStdDialogButtonSizer
= {"_p_wxStdDialogButtonSizer", "wxStdDialogButtonSizer *", 0, 0, (void*)0, 0};
33820 static swig_type_info _swigt__p_wxString
= {"_p_wxString", "wxString *", 0, 0, (void*)0, 0};
33821 static swig_type_info _swigt__p_wxTaskBarIcon
= {"_p_wxTaskBarIcon", "wxTaskBarIcon *", 0, 0, (void*)0, 0};
33822 static swig_type_info _swigt__p_wxTaskBarIconEvent
= {"_p_wxTaskBarIconEvent", "wxTaskBarIconEvent *", 0, 0, (void*)0, 0};
33823 static swig_type_info _swigt__p_wxTextEntryDialog
= {"_p_wxTextEntryDialog", "wxTextEntryDialog *", 0, 0, (void*)0, 0};
33824 static swig_type_info _swigt__p_wxTipWindow
= {"_p_wxTipWindow", "wxTipWindow *", 0, 0, (void*)0, 0};
33825 static swig_type_info _swigt__p_wxToolBar
= {"_p_wxToolBar", "wxToolBar *", 0, 0, (void*)0, 0};
33826 static swig_type_info _swigt__p_wxTopLevelWindow
= {"_p_wxTopLevelWindow", "wxTopLevelWindow *", 0, 0, (void*)0, 0};
33827 static swig_type_info _swigt__p_wxValidator
= {"_p_wxValidator", "wxValidator *", 0, 0, (void*)0, 0};
33828 static swig_type_info _swigt__p_wxVisualAttributes
= {"_p_wxVisualAttributes", "wxVisualAttributes *", 0, 0, (void*)0, 0};
33829 static swig_type_info _swigt__p_wxWindow
= {"_p_wxWindow", "wxWindow *", 0, 0, (void*)0, 0};
33831 static swig_type_info
*swig_type_initial
[] = {
33834 &_swigt__p_form_ops_t
,
33836 &_swigt__p_unsigned_char
,
33837 &_swigt__p_unsigned_int
,
33838 &_swigt__p_unsigned_long
,
33839 &_swigt__p_wxANIHandler
,
33840 &_swigt__p_wxAcceleratorTable
,
33841 &_swigt__p_wxActivateEvent
,
33842 &_swigt__p_wxArrayInt
,
33843 &_swigt__p_wxArrayString
,
33844 &_swigt__p_wxBMPHandler
,
33845 &_swigt__p_wxBitmap
,
33846 &_swigt__p_wxBoxSizer
,
33847 &_swigt__p_wxCURHandler
,
33848 &_swigt__p_wxCalculateLayoutEvent
,
33849 &_swigt__p_wxChildFocusEvent
,
33850 &_swigt__p_wxClipboardTextEvent
,
33851 &_swigt__p_wxCloseEvent
,
33852 &_swigt__p_wxColour
,
33853 &_swigt__p_wxColourData
,
33854 &_swigt__p_wxColourDialog
,
33855 &_swigt__p_wxCommandEvent
,
33856 &_swigt__p_wxContextMenuEvent
,
33857 &_swigt__p_wxControl
,
33858 &_swigt__p_wxControlWithItems
,
33860 &_swigt__p_wxDateEvent
,
33861 &_swigt__p_wxDialog
,
33862 &_swigt__p_wxDirDialog
,
33863 &_swigt__p_wxDisplayChangedEvent
,
33864 &_swigt__p_wxDropFilesEvent
,
33865 &_swigt__p_wxDuplexMode
,
33866 &_swigt__p_wxEraseEvent
,
33867 &_swigt__p_wxEvent
,
33868 &_swigt__p_wxEvtHandler
,
33869 &_swigt__p_wxFSFile
,
33870 &_swigt__p_wxFileDialog
,
33871 &_swigt__p_wxFileSystem
,
33872 &_swigt__p_wxFindDialogEvent
,
33873 &_swigt__p_wxFindReplaceData
,
33874 &_swigt__p_wxFindReplaceDialog
,
33875 &_swigt__p_wxFlexGridSizer
,
33876 &_swigt__p_wxFocusEvent
,
33878 &_swigt__p_wxFontData
,
33879 &_swigt__p_wxFontDialog
,
33880 &_swigt__p_wxFrame
,
33881 &_swigt__p_wxGBSizerItem
,
33882 &_swigt__p_wxGIFHandler
,
33883 &_swigt__p_wxGridBagSizer
,
33884 &_swigt__p_wxGridSizer
,
33885 &_swigt__p_wxHtmlLinkInfo
,
33886 &_swigt__p_wxICOHandler
,
33888 &_swigt__p_wxIconBundle
,
33889 &_swigt__p_wxIconizeEvent
,
33890 &_swigt__p_wxIdleEvent
,
33891 &_swigt__p_wxImage
,
33892 &_swigt__p_wxImageHandler
,
33893 &_swigt__p_wxIndividualLayoutConstraint
,
33894 &_swigt__p_wxInitDialogEvent
,
33895 &_swigt__p_wxItemContainer
,
33896 &_swigt__p_wxJPEGHandler
,
33897 &_swigt__p_wxKeyEvent
,
33898 &_swigt__p_wxLayoutAlgorithm
,
33899 &_swigt__p_wxLayoutConstraints
,
33900 &_swigt__p_wxMDIChildFrame
,
33901 &_swigt__p_wxMDIClientWindow
,
33902 &_swigt__p_wxMDIParentFrame
,
33903 &_swigt__p_wxMaximizeEvent
,
33905 &_swigt__p_wxMenuBar
,
33906 &_swigt__p_wxMenuEvent
,
33907 &_swigt__p_wxMenuItem
,
33908 &_swigt__p_wxMessageDialog
,
33909 &_swigt__p_wxMiniFrame
,
33910 &_swigt__p_wxMouseCaptureChangedEvent
,
33911 &_swigt__p_wxMouseCaptureLostEvent
,
33912 &_swigt__p_wxMouseEvent
,
33913 &_swigt__p_wxMoveEvent
,
33914 &_swigt__p_wxMultiChoiceDialog
,
33915 &_swigt__p_wxNavigationKeyEvent
,
33916 &_swigt__p_wxNcPaintEvent
,
33917 &_swigt__p_wxNotifyEvent
,
33918 &_swigt__p_wxNumberEntryDialog
,
33919 &_swigt__p_wxObject
,
33920 &_swigt__p_wxPCXHandler
,
33921 &_swigt__p_wxPNGHandler
,
33922 &_swigt__p_wxPNMHandler
,
33923 &_swigt__p_wxPageSetupDialog
,
33924 &_swigt__p_wxPageSetupDialogData
,
33925 &_swigt__p_wxPaintEvent
,
33926 &_swigt__p_wxPaletteChangedEvent
,
33927 &_swigt__p_wxPanel
,
33928 &_swigt__p_wxPaperSize
,
33929 &_swigt__p_wxPasswordEntryDialog
,
33930 &_swigt__p_wxPoint
,
33931 &_swigt__p_wxPopupWindow
,
33932 &_swigt__p_wxPreviewCanvas
,
33933 &_swigt__p_wxPreviewControlBar
,
33934 &_swigt__p_wxPreviewFrame
,
33935 &_swigt__p_wxPrintData
,
33936 &_swigt__p_wxPrintDialog
,
33937 &_swigt__p_wxPrintDialogData
,
33938 &_swigt__p_wxPrintPreview
,
33939 &_swigt__p_wxPrinter
,
33940 &_swigt__p_wxProgressDialog
,
33941 &_swigt__p_wxPyApp
,
33942 &_swigt__p_wxPyCommandEvent
,
33943 &_swigt__p_wxPyEvent
,
33944 &_swigt__p_wxPyHtmlListBox
,
33945 &_swigt__p_wxPyImageHandler
,
33946 &_swigt__p_wxPyPanel
,
33947 &_swigt__p_wxPyPopupTransientWindow
,
33948 &_swigt__p_wxPyPreviewControlBar
,
33949 &_swigt__p_wxPyPreviewFrame
,
33950 &_swigt__p_wxPyPrintPreview
,
33951 &_swigt__p_wxPyPrintout
,
33952 &_swigt__p_wxPyScrolledWindow
,
33953 &_swigt__p_wxPySizer
,
33954 &_swigt__p_wxPyTaskBarIcon
,
33955 &_swigt__p_wxPyVListBox
,
33956 &_swigt__p_wxPyVScrolledWindow
,
33957 &_swigt__p_wxPyValidator
,
33958 &_swigt__p_wxPyWindow
,
33959 &_swigt__p_wxQueryLayoutInfoEvent
,
33960 &_swigt__p_wxQueryNewPaletteEvent
,
33962 &_swigt__p_wxRegion
,
33963 &_swigt__p_wxSashEvent
,
33964 &_swigt__p_wxSashLayoutWindow
,
33965 &_swigt__p_wxSashWindow
,
33966 &_swigt__p_wxScrollEvent
,
33967 &_swigt__p_wxScrollWinEvent
,
33968 &_swigt__p_wxScrolledWindow
,
33969 &_swigt__p_wxSetCursorEvent
,
33970 &_swigt__p_wxShowEvent
,
33971 &_swigt__p_wxSimpleHtmlListBox
,
33972 &_swigt__p_wxSingleChoiceDialog
,
33974 &_swigt__p_wxSizeEvent
,
33975 &_swigt__p_wxSizer
,
33976 &_swigt__p_wxSizerItem
,
33977 &_swigt__p_wxSplashScreen
,
33978 &_swigt__p_wxSplashScreenWindow
,
33979 &_swigt__p_wxSplitterEvent
,
33980 &_swigt__p_wxSplitterWindow
,
33981 &_swigt__p_wxStaticBoxSizer
,
33982 &_swigt__p_wxStatusBar
,
33983 &_swigt__p_wxStdDialogButtonSizer
,
33984 &_swigt__p_wxString
,
33985 &_swigt__p_wxSysColourChangedEvent
,
33986 &_swigt__p_wxTGAHandler
,
33987 &_swigt__p_wxTIFFHandler
,
33988 &_swigt__p_wxTaskBarIcon
,
33989 &_swigt__p_wxTaskBarIconEvent
,
33990 &_swigt__p_wxTextEntryDialog
,
33991 &_swigt__p_wxTipWindow
,
33992 &_swigt__p_wxToolBar
,
33993 &_swigt__p_wxTopLevelWindow
,
33994 &_swigt__p_wxUpdateUIEvent
,
33995 &_swigt__p_wxValidator
,
33996 &_swigt__p_wxVisualAttributes
,
33997 &_swigt__p_wxWindow
,
33998 &_swigt__p_wxWindowCreateEvent
,
33999 &_swigt__p_wxWindowDestroyEvent
,
34000 &_swigt__p_wxXPMHandler
,
34003 static swig_cast_info _swigc__p_bool
[] = { {&_swigt__p_bool
, 0, 0, 0},{0, 0, 0, 0}};
34004 static swig_cast_info _swigc__p_char
[] = { {&_swigt__p_char
, 0, 0, 0},{0, 0, 0, 0}};
34005 static swig_cast_info _swigc__p_form_ops_t
[] = { {&_swigt__p_form_ops_t
, 0, 0, 0},{0, 0, 0, 0}};
34006 static swig_cast_info _swigc__p_int
[] = { {&_swigt__p_int
, 0, 0, 0},{0, 0, 0, 0}};
34007 static swig_cast_info _swigc__p_unsigned_char
[] = { {&_swigt__p_unsigned_char
, 0, 0, 0},{0, 0, 0, 0}};
34008 static swig_cast_info _swigc__p_unsigned_int
[] = { {&_swigt__p_unsigned_int
, 0, 0, 0},{0, 0, 0, 0}};
34009 static swig_cast_info _swigc__p_unsigned_long
[] = { {&_swigt__p_unsigned_long
, 0, 0, 0},{0, 0, 0, 0}};
34010 static swig_cast_info _swigc__p_wxArrayInt
[] = { {&_swigt__p_wxArrayInt
, 0, 0, 0},{0, 0, 0, 0}};
34011 static swig_cast_info _swigc__p_wxArrayString
[] = { {&_swigt__p_wxArrayString
, 0, 0, 0},{0, 0, 0, 0}};
34012 static swig_cast_info _swigc__p_wxBitmap
[] = { {&_swigt__p_wxBitmap
, 0, 0, 0},{0, 0, 0, 0}};
34013 static swig_cast_info _swigc__p_wxCalculateLayoutEvent
[] = { {&_swigt__p_wxCalculateLayoutEvent
, 0, 0, 0},{0, 0, 0, 0}};
34014 static swig_cast_info _swigc__p_wxColour
[] = { {&_swigt__p_wxColour
, 0, 0, 0},{0, 0, 0, 0}};
34015 static swig_cast_info _swigc__p_wxColourData
[] = { {&_swigt__p_wxColourData
, 0, 0, 0},{0, 0, 0, 0}};
34016 static swig_cast_info _swigc__p_wxColourDialog
[] = { {&_swigt__p_wxColourDialog
, 0, 0, 0},{0, 0, 0, 0}};
34017 static swig_cast_info _swigc__p_wxWindowDestroyEvent
[] = {{&_swigt__p_wxWindowDestroyEvent
, 0, 0, 0},{0, 0, 0, 0}};
34018 static swig_cast_info _swigc__p_wxClipboardTextEvent
[] = {{&_swigt__p_wxClipboardTextEvent
, 0, 0, 0},{0, 0, 0, 0}};
34019 static swig_cast_info _swigc__p_wxScrollEvent
[] = {{&_swigt__p_wxScrollEvent
, 0, 0, 0},{0, 0, 0, 0}};
34020 static swig_cast_info _swigc__p_wxPyCommandEvent
[] = {{&_swigt__p_wxPyCommandEvent
, 0, 0, 0},{0, 0, 0, 0}};
34021 static swig_cast_info _swigc__p_wxContextMenuEvent
[] = {{&_swigt__p_wxContextMenuEvent
, 0, 0, 0},{0, 0, 0, 0}};
34022 static swig_cast_info _swigc__p_wxChildFocusEvent
[] = {{&_swigt__p_wxChildFocusEvent
, 0, 0, 0},{0, 0, 0, 0}};
34023 static swig_cast_info _swigc__p_wxWindowCreateEvent
[] = {{&_swigt__p_wxWindowCreateEvent
, 0, 0, 0},{0, 0, 0, 0}};
34024 static swig_cast_info _swigc__p_wxDateEvent
[] = {{&_swigt__p_wxDateEvent
, 0, 0, 0},{0, 0, 0, 0}};
34025 static swig_cast_info _swigc__p_wxUpdateUIEvent
[] = {{&_swigt__p_wxUpdateUIEvent
, 0, 0, 0},{0, 0, 0, 0}};
34026 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}};
34027 static swig_cast_info _swigc__p_wxDC
[] = { {&_swigt__p_wxDC
, 0, 0, 0},{0, 0, 0, 0}};
34028 static swig_cast_info _swigc__p_wxDialog
[] = { {&_swigt__p_wxDialog
, 0, 0, 0}, {&_swigt__p_wxColourDialog
, _p_wxColourDialogTo_p_wxDialog
, 0, 0}, {&_swigt__p_wxDirDialog
, _p_wxDirDialogTo_p_wxDialog
, 0, 0}, {&_swigt__p_wxFontDialog
, _p_wxFontDialogTo_p_wxDialog
, 0, 0}, {&_swigt__p_wxFileDialog
, _p_wxFileDialogTo_p_wxDialog
, 0, 0}, {&_swigt__p_wxMultiChoiceDialog
, _p_wxMultiChoiceDialogTo_p_wxDialog
, 0, 0}, {&_swigt__p_wxSingleChoiceDialog
, _p_wxSingleChoiceDialogTo_p_wxDialog
, 0, 0}, {&_swigt__p_wxTextEntryDialog
, _p_wxTextEntryDialogTo_p_wxDialog
, 0, 0}, {&_swigt__p_wxPasswordEntryDialog
, _p_wxPasswordEntryDialogTo_p_wxDialog
, 0, 0}, {&_swigt__p_wxNumberEntryDialog
, _p_wxNumberEntryDialogTo_p_wxDialog
, 0, 0}, {&_swigt__p_wxMessageDialog
, _p_wxMessageDialogTo_p_wxDialog
, 0, 0}, {&_swigt__p_wxFindReplaceDialog
, _p_wxFindReplaceDialogTo_p_wxDialog
, 0, 0},{0, 0, 0, 0}};
34029 static swig_cast_info _swigc__p_wxDirDialog
[] = { {&_swigt__p_wxDirDialog
, 0, 0, 0},{0, 0, 0, 0}};
34030 static swig_cast_info _swigc__p_wxDuplexMode
[] = { {&_swigt__p_wxDuplexMode
, 0, 0, 0},{0, 0, 0, 0}};
34031 static swig_cast_info _swigc__p_wxMenuEvent
[] = {{&_swigt__p_wxMenuEvent
, 0, 0, 0},{0, 0, 0, 0}};
34032 static swig_cast_info _swigc__p_wxCloseEvent
[] = {{&_swigt__p_wxCloseEvent
, 0, 0, 0},{0, 0, 0, 0}};
34033 static swig_cast_info _swigc__p_wxMouseEvent
[] = {{&_swigt__p_wxMouseEvent
, 0, 0, 0},{0, 0, 0, 0}};
34034 static swig_cast_info _swigc__p_wxEraseEvent
[] = {{&_swigt__p_wxEraseEvent
, 0, 0, 0},{0, 0, 0, 0}};
34035 static swig_cast_info _swigc__p_wxSetCursorEvent
[] = {{&_swigt__p_wxSetCursorEvent
, 0, 0, 0},{0, 0, 0, 0}};
34036 static swig_cast_info _swigc__p_wxInitDialogEvent
[] = {{&_swigt__p_wxInitDialogEvent
, 0, 0, 0},{0, 0, 0, 0}};
34037 static swig_cast_info _swigc__p_wxPyEvent
[] = {{&_swigt__p_wxPyEvent
, 0, 0, 0},{0, 0, 0, 0}};
34038 static swig_cast_info _swigc__p_wxMouseCaptureLostEvent
[] = {{&_swigt__p_wxMouseCaptureLostEvent
, 0, 0, 0},{0, 0, 0, 0}};
34039 static swig_cast_info _swigc__p_wxIdleEvent
[] = {{&_swigt__p_wxIdleEvent
, 0, 0, 0},{0, 0, 0, 0}};
34040 static swig_cast_info _swigc__p_wxQueryNewPaletteEvent
[] = {{&_swigt__p_wxQueryNewPaletteEvent
, 0, 0, 0},{0, 0, 0, 0}};
34041 static swig_cast_info _swigc__p_wxMaximizeEvent
[] = {{&_swigt__p_wxMaximizeEvent
, 0, 0, 0},{0, 0, 0, 0}};
34042 static swig_cast_info _swigc__p_wxIconizeEvent
[] = {{&_swigt__p_wxIconizeEvent
, 0, 0, 0},{0, 0, 0, 0}};
34043 static swig_cast_info _swigc__p_wxActivateEvent
[] = {{&_swigt__p_wxActivateEvent
, 0, 0, 0},{0, 0, 0, 0}};
34044 static swig_cast_info _swigc__p_wxSizeEvent
[] = {{&_swigt__p_wxSizeEvent
, 0, 0, 0},{0, 0, 0, 0}};
34045 static swig_cast_info _swigc__p_wxMoveEvent
[] = {{&_swigt__p_wxMoveEvent
, 0, 0, 0},{0, 0, 0, 0}};
34046 static swig_cast_info _swigc__p_wxPaintEvent
[] = {{&_swigt__p_wxPaintEvent
, 0, 0, 0},{0, 0, 0, 0}};
34047 static swig_cast_info _swigc__p_wxNcPaintEvent
[] = {{&_swigt__p_wxNcPaintEvent
, 0, 0, 0},{0, 0, 0, 0}};
34048 static swig_cast_info _swigc__p_wxPaletteChangedEvent
[] = {{&_swigt__p_wxPaletteChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
34049 static swig_cast_info _swigc__p_wxDisplayChangedEvent
[] = {{&_swigt__p_wxDisplayChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
34050 static swig_cast_info _swigc__p_wxMouseCaptureChangedEvent
[] = {{&_swigt__p_wxMouseCaptureChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
34051 static swig_cast_info _swigc__p_wxSysColourChangedEvent
[] = {{&_swigt__p_wxSysColourChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
34052 static swig_cast_info _swigc__p_wxDropFilesEvent
[] = {{&_swigt__p_wxDropFilesEvent
, 0, 0, 0},{0, 0, 0, 0}};
34053 static swig_cast_info _swigc__p_wxFocusEvent
[] = {{&_swigt__p_wxFocusEvent
, 0, 0, 0},{0, 0, 0, 0}};
34054 static swig_cast_info _swigc__p_wxShowEvent
[] = {{&_swigt__p_wxShowEvent
, 0, 0, 0},{0, 0, 0, 0}};
34055 static swig_cast_info _swigc__p_wxNavigationKeyEvent
[] = {{&_swigt__p_wxNavigationKeyEvent
, 0, 0, 0},{0, 0, 0, 0}};
34056 static swig_cast_info _swigc__p_wxKeyEvent
[] = {{&_swigt__p_wxKeyEvent
, 0, 0, 0},{0, 0, 0, 0}};
34057 static swig_cast_info _swigc__p_wxEvent
[] = { {&_swigt__p_wxContextMenuEvent
, _p_wxContextMenuEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxMenuEvent
, _p_wxMenuEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxCloseEvent
, _p_wxCloseEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxMouseEvent
, _p_wxMouseEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxEraseEvent
, _p_wxEraseEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxSetCursorEvent
, _p_wxSetCursorEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxSplitterEvent
, _p_wxSplitterEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxInitDialogEvent
, _p_wxInitDialogEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxFindDialogEvent
, _p_wxFindDialogEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxScrollEvent
, _p_wxScrollEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxNotifyEvent
, _p_wxNotifyEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxPyEvent
, _p_wxPyEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxMouseCaptureLostEvent
, _p_wxMouseCaptureLostEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxCalculateLayoutEvent
, _p_wxCalculateLayoutEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxEvent
, 0, 0, 0}, {&_swigt__p_wxIdleEvent
, _p_wxIdleEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxWindowCreateEvent
, _p_wxWindowCreateEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxQueryNewPaletteEvent
, _p_wxQueryNewPaletteEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxMaximizeEvent
, _p_wxMaximizeEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxIconizeEvent
, _p_wxIconizeEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxActivateEvent
, _p_wxActivateEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxSizeEvent
, _p_wxSizeEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxMoveEvent
, _p_wxMoveEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxDateEvent
, _p_wxDateEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxPaintEvent
, _p_wxPaintEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxNcPaintEvent
, _p_wxNcPaintEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxClipboardTextEvent
, _p_wxClipboardTextEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxUpdateUIEvent
, _p_wxUpdateUIEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxPaletteChangedEvent
, _p_wxPaletteChangedEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxDisplayChangedEvent
, _p_wxDisplayChangedEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxMouseCaptureChangedEvent
, _p_wxMouseCaptureChangedEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxSysColourChangedEvent
, _p_wxSysColourChangedEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxDropFilesEvent
, _p_wxDropFilesEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxFocusEvent
, _p_wxFocusEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxChildFocusEvent
, _p_wxChildFocusEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxSashEvent
, _p_wxSashEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxQueryLayoutInfoEvent
, _p_wxQueryLayoutInfoEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxShowEvent
, _p_wxShowEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxCommandEvent
, _p_wxCommandEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxPyCommandEvent
, _p_wxPyCommandEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxWindowDestroyEvent
, _p_wxWindowDestroyEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxNavigationKeyEvent
, _p_wxNavigationKeyEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxKeyEvent
, _p_wxKeyEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxScrollWinEvent
, _p_wxScrollWinEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxTaskBarIconEvent
, _p_wxTaskBarIconEventTo_p_wxEvent
, 0, 0},{0, 0, 0, 0}};
34058 static swig_cast_info _swigc__p_wxPyValidator
[] = {{&_swigt__p_wxPyValidator
, 0, 0, 0},{0, 0, 0, 0}};
34059 static swig_cast_info _swigc__p_wxControl
[] = {{&_swigt__p_wxControl
, 0, 0, 0},{0, 0, 0, 0}};
34060 static swig_cast_info _swigc__p_wxPyApp
[] = {{&_swigt__p_wxPyApp
, 0, 0, 0},{0, 0, 0, 0}};
34061 static swig_cast_info _swigc__p_wxControlWithItems
[] = {{&_swigt__p_wxControlWithItems
, 0, 0, 0},{0, 0, 0, 0}};
34062 static swig_cast_info _swigc__p_wxEvtHandler
[] = { {&_swigt__p_wxSplashScreen
, _p_wxSplashScreenTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxMiniFrame
, _p_wxMiniFrameTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxPyPanel
, _p_wxPyPanelTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxMenuBar
, _p_wxMenuBarTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxValidator
, _p_wxValidatorTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxPyValidator
, _p_wxPyValidatorTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxNumberEntryDialog
, _p_wxNumberEntryDialogTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxFileDialog
, _p_wxFileDialogTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxFindReplaceDialog
, _p_wxFindReplaceDialogTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxProgressDialog
, _p_wxProgressDialogTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxMessageDialog
, _p_wxMessageDialogTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxTextEntryDialog
, _p_wxTextEntryDialogTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxPasswordEntryDialog
, _p_wxPasswordEntryDialogTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxSingleChoiceDialog
, _p_wxSingleChoiceDialogTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxMultiChoiceDialog
, _p_wxMultiChoiceDialogTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxPanel
, _p_wxPanelTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxStatusBar
, _p_wxStatusBarTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxTopLevelWindow
, _p_wxTopLevelWindowTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxMDIClientWindow
, _p_wxMDIClientWindowTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxPyVScrolledWindow
, _p_wxPyVScrolledWindowTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxPyScrolledWindow
, _p_wxPyScrolledWindowTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxScrolledWindow
, _p_wxScrolledWindowTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxWindow
, _p_wxWindowTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxSashWindow
, _p_wxSashWindowTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxSashLayoutWindow
, _p_wxSashLayoutWindowTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxSplitterWindow
, _p_wxSplitterWindowTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxSplashScreenWindow
, _p_wxSplashScreenWindowTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxPopupWindow
, _p_wxPopupWindowTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxPyPopupTransientWindow
, _p_wxPyPopupTransientWindowTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxTipWindow
, _p_wxTipWindowTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxPyPreviewFrame
, _p_wxPyPreviewFrameTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxPreviewFrame
, _p_wxPreviewFrameTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxControl
, _p_wxControlTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxMDIChildFrame
, _p_wxMDIChildFrameTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxPyApp
, _p_wxPyAppTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxControlWithItems
, _p_wxControlWithItemsTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxEvtHandler
, 0, 0, 0}, {&_swigt__p_wxPreviewCanvas
, _p_wxPreviewCanvasTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxPyWindow
, _p_wxPyWindowTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxSimpleHtmlListBox
, _p_wxSimpleHtmlListBoxTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxPyHtmlListBox
, _p_wxPyHtmlListBoxTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxPyVListBox
, _p_wxPyVListBoxTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxPyPreviewControlBar
, _p_wxPyPreviewControlBarTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxPreviewControlBar
, _p_wxPreviewControlBarTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxPyTaskBarIcon
, _p_wxPyTaskBarIconTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxFrame
, _p_wxFrameTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxDialog
, _p_wxDialogTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxColourDialog
, _p_wxColourDialogTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxDirDialog
, _p_wxDirDialogTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxFontDialog
, _p_wxFontDialogTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxMenu
, _p_wxMenuTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxMDIParentFrame
, _p_wxMDIParentFrameTo_p_wxEvtHandler
, 0, 0},{0, 0, 0, 0}};
34063 static swig_cast_info _swigc__p_wxFileDialog
[] = { {&_swigt__p_wxFileDialog
, 0, 0, 0},{0, 0, 0, 0}};
34064 static swig_cast_info _swigc__p_wxFileSystem
[] = { {&_swigt__p_wxFileSystem
, 0, 0, 0},{0, 0, 0, 0}};
34065 static swig_cast_info _swigc__p_wxFindDialogEvent
[] = { {&_swigt__p_wxFindDialogEvent
, 0, 0, 0},{0, 0, 0, 0}};
34066 static swig_cast_info _swigc__p_wxFindReplaceData
[] = { {&_swigt__p_wxFindReplaceData
, 0, 0, 0},{0, 0, 0, 0}};
34067 static swig_cast_info _swigc__p_wxFindReplaceDialog
[] = { {&_swigt__p_wxFindReplaceDialog
, 0, 0, 0},{0, 0, 0, 0}};
34068 static swig_cast_info _swigc__p_wxFont
[] = { {&_swigt__p_wxFont
, 0, 0, 0},{0, 0, 0, 0}};
34069 static swig_cast_info _swigc__p_wxFontData
[] = { {&_swigt__p_wxFontData
, 0, 0, 0},{0, 0, 0, 0}};
34070 static swig_cast_info _swigc__p_wxFontDialog
[] = { {&_swigt__p_wxFontDialog
, 0, 0, 0},{0, 0, 0, 0}};
34071 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}};
34072 static swig_cast_info _swigc__p_wxHtmlLinkInfo
[] = { {&_swigt__p_wxHtmlLinkInfo
, 0, 0, 0},{0, 0, 0, 0}};
34073 static swig_cast_info _swigc__p_wxIcon
[] = { {&_swigt__p_wxIcon
, 0, 0, 0},{0, 0, 0, 0}};
34074 static swig_cast_info _swigc__p_wxIconBundle
[] = { {&_swigt__p_wxIconBundle
, 0, 0, 0},{0, 0, 0, 0}};
34075 static swig_cast_info _swigc__p_wxItemContainer
[] = { {&_swigt__p_wxControlWithItems
, _p_wxControlWithItemsTo_p_wxItemContainer
, 0, 0}, {&_swigt__p_wxSimpleHtmlListBox
, _p_wxSimpleHtmlListBoxTo_p_wxItemContainer
, 0, 0}, {&_swigt__p_wxItemContainer
, 0, 0, 0},{0, 0, 0, 0}};
34076 static swig_cast_info _swigc__p_wxLayoutAlgorithm
[] = { {&_swigt__p_wxLayoutAlgorithm
, 0, 0, 0},{0, 0, 0, 0}};
34077 static swig_cast_info _swigc__p_wxMDIChildFrame
[] = { {&_swigt__p_wxMDIChildFrame
, 0, 0, 0},{0, 0, 0, 0}};
34078 static swig_cast_info _swigc__p_wxMDIClientWindow
[] = { {&_swigt__p_wxMDIClientWindow
, 0, 0, 0},{0, 0, 0, 0}};
34079 static swig_cast_info _swigc__p_wxMDIParentFrame
[] = { {&_swigt__p_wxMDIParentFrame
, 0, 0, 0},{0, 0, 0, 0}};
34080 static swig_cast_info _swigc__p_wxMenu
[] = { {&_swigt__p_wxMenu
, 0, 0, 0},{0, 0, 0, 0}};
34081 static swig_cast_info _swigc__p_wxMenuBar
[] = { {&_swigt__p_wxMenuBar
, 0, 0, 0},{0, 0, 0, 0}};
34082 static swig_cast_info _swigc__p_wxMessageDialog
[] = { {&_swigt__p_wxMessageDialog
, 0, 0, 0},{0, 0, 0, 0}};
34083 static swig_cast_info _swigc__p_wxMiniFrame
[] = { {&_swigt__p_wxMiniFrame
, 0, 0, 0},{0, 0, 0, 0}};
34084 static swig_cast_info _swigc__p_wxMultiChoiceDialog
[] = { {&_swigt__p_wxMultiChoiceDialog
, 0, 0, 0},{0, 0, 0, 0}};
34085 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}};
34086 static swig_cast_info _swigc__p_wxNumberEntryDialog
[] = { {&_swigt__p_wxNumberEntryDialog
, 0, 0, 0},{0, 0, 0, 0}};
34087 static swig_cast_info _swigc__p_wxLayoutConstraints
[] = {{&_swigt__p_wxLayoutConstraints
, 0, 0, 0},{0, 0, 0, 0}};
34088 static swig_cast_info _swigc__p_wxSizerItem
[] = {{&_swigt__p_wxSizerItem
, 0, 0, 0},{0, 0, 0, 0}};
34089 static swig_cast_info _swigc__p_wxGBSizerItem
[] = {{&_swigt__p_wxGBSizerItem
, 0, 0, 0},{0, 0, 0, 0}};
34090 static swig_cast_info _swigc__p_wxIndividualLayoutConstraint
[] = {{&_swigt__p_wxIndividualLayoutConstraint
, 0, 0, 0},{0, 0, 0, 0}};
34091 static swig_cast_info _swigc__p_wxStaticBoxSizer
[] = {{&_swigt__p_wxStaticBoxSizer
, 0, 0, 0},{0, 0, 0, 0}};
34092 static swig_cast_info _swigc__p_wxBoxSizer
[] = {{&_swigt__p_wxBoxSizer
, 0, 0, 0},{0, 0, 0, 0}};
34093 static swig_cast_info _swigc__p_wxSizer
[] = {{&_swigt__p_wxSizer
, 0, 0, 0},{0, 0, 0, 0}};
34094 static swig_cast_info _swigc__p_wxGridBagSizer
[] = {{&_swigt__p_wxGridBagSizer
, 0, 0, 0},{0, 0, 0, 0}};
34095 static swig_cast_info _swigc__p_wxGridSizer
[] = {{&_swigt__p_wxGridSizer
, 0, 0, 0},{0, 0, 0, 0}};
34096 static swig_cast_info _swigc__p_wxFlexGridSizer
[] = {{&_swigt__p_wxFlexGridSizer
, 0, 0, 0},{0, 0, 0, 0}};
34097 static swig_cast_info _swigc__p_wxFSFile
[] = {{&_swigt__p_wxFSFile
, 0, 0, 0},{0, 0, 0, 0}};
34098 static swig_cast_info _swigc__p_wxPySizer
[] = {{&_swigt__p_wxPySizer
, 0, 0, 0},{0, 0, 0, 0}};
34099 static swig_cast_info _swigc__p_wxMenuItem
[] = {{&_swigt__p_wxMenuItem
, 0, 0, 0},{0, 0, 0, 0}};
34100 static swig_cast_info _swigc__p_wxBMPHandler
[] = {{&_swigt__p_wxBMPHandler
, 0, 0, 0},{0, 0, 0, 0}};
34101 static swig_cast_info _swigc__p_wxICOHandler
[] = {{&_swigt__p_wxICOHandler
, 0, 0, 0},{0, 0, 0, 0}};
34102 static swig_cast_info _swigc__p_wxCURHandler
[] = {{&_swigt__p_wxCURHandler
, 0, 0, 0},{0, 0, 0, 0}};
34103 static swig_cast_info _swigc__p_wxANIHandler
[] = {{&_swigt__p_wxANIHandler
, 0, 0, 0},{0, 0, 0, 0}};
34104 static swig_cast_info _swigc__p_wxPNGHandler
[] = {{&_swigt__p_wxPNGHandler
, 0, 0, 0},{0, 0, 0, 0}};
34105 static swig_cast_info _swigc__p_wxGIFHandler
[] = {{&_swigt__p_wxGIFHandler
, 0, 0, 0},{0, 0, 0, 0}};
34106 static swig_cast_info _swigc__p_wxPCXHandler
[] = {{&_swigt__p_wxPCXHandler
, 0, 0, 0},{0, 0, 0, 0}};
34107 static swig_cast_info _swigc__p_wxJPEGHandler
[] = {{&_swigt__p_wxJPEGHandler
, 0, 0, 0},{0, 0, 0, 0}};
34108 static swig_cast_info _swigc__p_wxPNMHandler
[] = {{&_swigt__p_wxPNMHandler
, 0, 0, 0},{0, 0, 0, 0}};
34109 static swig_cast_info _swigc__p_wxPyImageHandler
[] = {{&_swigt__p_wxPyImageHandler
, 0, 0, 0},{0, 0, 0, 0}};
34110 static swig_cast_info _swigc__p_wxImageHandler
[] = {{&_swigt__p_wxImageHandler
, 0, 0, 0},{0, 0, 0, 0}};
34111 static swig_cast_info _swigc__p_wxXPMHandler
[] = {{&_swigt__p_wxXPMHandler
, 0, 0, 0},{0, 0, 0, 0}};
34112 static swig_cast_info _swigc__p_wxTIFFHandler
[] = {{&_swigt__p_wxTIFFHandler
, 0, 0, 0},{0, 0, 0, 0}};
34113 static swig_cast_info _swigc__p_wxTGAHandler
[] = {{&_swigt__p_wxTGAHandler
, 0, 0, 0},{0, 0, 0, 0}};
34114 static swig_cast_info _swigc__p_wxAcceleratorTable
[] = {{&_swigt__p_wxAcceleratorTable
, 0, 0, 0},{0, 0, 0, 0}};
34115 static swig_cast_info _swigc__p_wxImage
[] = {{&_swigt__p_wxImage
, 0, 0, 0},{0, 0, 0, 0}};
34116 static swig_cast_info _swigc__p_wxObject
[] = { {&_swigt__p_wxQueryLayoutInfoEvent
, _p_wxQueryLayoutInfoEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxLayoutConstraints
, _p_wxLayoutConstraintsTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPreviewFrame
, _p_wxPreviewFrameTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyPreviewFrame
, _p_wxPyPreviewFrameTo_p_wxObject
, 0, 0}, {&_swigt__p_wxSizerItem
, _p_wxSizerItemTo_p_wxObject
, 0, 0}, {&_swigt__p_wxGBSizerItem
, _p_wxGBSizerItemTo_p_wxObject
, 0, 0}, {&_swigt__p_wxScrollEvent
, _p_wxScrollEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxIndividualLayoutConstraint
, _p_wxIndividualLayoutConstraintTo_p_wxObject
, 0, 0}, {&_swigt__p_wxStaticBoxSizer
, _p_wxStaticBoxSizerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxBoxSizer
, _p_wxBoxSizerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxSizer
, _p_wxSizerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxGridBagSizer
, _p_wxGridBagSizerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxUpdateUIEvent
, _p_wxUpdateUIEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyPanel
, _p_wxPyPanelTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMenu
, _p_wxMenuTo_p_wxObject
, 0, 0}, {&_swigt__p_wxFontData
, _p_wxFontDataTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPrintData
, _p_wxPrintDataTo_p_wxObject
, 0, 0}, {&_swigt__p_wxEvent
, _p_wxEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxGridSizer
, _p_wxGridSizerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxFlexGridSizer
, _p_wxFlexGridSizerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyTaskBarIcon
, _p_wxPyTaskBarIconTo_p_wxObject
, 0, 0}, {&_swigt__p_wxLayoutAlgorithm
, _p_wxLayoutAlgorithmTo_p_wxObject
, 0, 0}, {&_swigt__p_wxInitDialogEvent
, _p_wxInitDialogEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxFindDialogEvent
, _p_wxFindDialogEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPaintEvent
, _p_wxPaintEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxNcPaintEvent
, _p_wxNcPaintEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxClipboardTextEvent
, _p_wxClipboardTextEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPaletteChangedEvent
, _p_wxPaletteChangedEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxDisplayChangedEvent
, _p_wxDisplayChangedEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMouseCaptureChangedEvent
, _p_wxMouseCaptureChangedEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxSysColourChangedEvent
, _p_wxSysColourChangedEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPreviewCanvas
, _p_wxPreviewCanvasTo_p_wxObject
, 0, 0}, {&_swigt__p_wxControl
, _p_wxControlTo_p_wxObject
, 0, 0}, {&_swigt__p_wxSetCursorEvent
, _p_wxSetCursorEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxSplitterEvent
, _p_wxSplitterEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxFSFile
, _p_wxFSFileTo_p_wxObject
, 0, 0}, {&_swigt__p_wxFindReplaceData
, _p_wxFindReplaceDataTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPySizer
, _p_wxPySizerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMDIChildFrame
, _p_wxMDIChildFrameTo_p_wxObject
, 0, 0}, {&_swigt__p_wxColourData
, _p_wxColourDataTo_p_wxObject
, 0, 0}, {&_swigt__p_wxNotifyEvent
, _p_wxNotifyEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyEvent
, _p_wxPyEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyWindow
, _p_wxPyWindowTo_p_wxObject
, 0, 0}, {&_swigt__p_wxSplashScreen
, _p_wxSplashScreenTo_p_wxObject
, 0, 0}, {&_swigt__p_wxFindReplaceDialog
, _p_wxFindReplaceDialogTo_p_wxObject
, 0, 0}, {&_swigt__p_wxProgressDialog
, _p_wxProgressDialogTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMessageDialog
, _p_wxMessageDialogTo_p_wxObject
, 0, 0}, {&_swigt__p_wxNumberEntryDialog
, _p_wxNumberEntryDialogTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPasswordEntryDialog
, _p_wxPasswordEntryDialogTo_p_wxObject
, 0, 0}, {&_swigt__p_wxTextEntryDialog
, _p_wxTextEntryDialogTo_p_wxObject
, 0, 0}, {&_swigt__p_wxSingleChoiceDialog
, _p_wxSingleChoiceDialogTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMultiChoiceDialog
, _p_wxMultiChoiceDialogTo_p_wxObject
, 0, 0}, {&_swigt__p_wxFileDialog
, _p_wxFileDialogTo_p_wxObject
, 0, 0}, {&_swigt__p_wxShowEvent
, _p_wxShowEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPrinter
, _p_wxPrinterTo_p_wxObject
, 0, 0}, {&_swigt__p_wxIdleEvent
, _p_wxIdleEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxWindowCreateEvent
, _p_wxWindowCreateEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxQueryNewPaletteEvent
, _p_wxQueryNewPaletteEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMaximizeEvent
, _p_wxMaximizeEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxIconizeEvent
, _p_wxIconizeEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxActivateEvent
, _p_wxActivateEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxDateEvent
, _p_wxDateEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMoveEvent
, _p_wxMoveEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxSizeEvent
, _p_wxSizeEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMenuItem
, _p_wxMenuItemTo_p_wxObject
, 0, 0}, {&_swigt__p_wxCalculateLayoutEvent
, _p_wxCalculateLayoutEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMouseCaptureLostEvent
, _p_wxMouseCaptureLostEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxBMPHandler
, _p_wxBMPHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxICOHandler
, _p_wxICOHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxCURHandler
, _p_wxCURHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxANIHandler
, _p_wxANIHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPNGHandler
, _p_wxPNGHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxGIFHandler
, _p_wxGIFHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPCXHandler
, _p_wxPCXHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxJPEGHandler
, _p_wxJPEGHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPNMHandler
, _p_wxPNMHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyImageHandler
, _p_wxPyImageHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxImageHandler
, _p_wxImageHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxXPMHandler
, _p_wxXPMHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxTIFFHandler
, _p_wxTIFFHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxTGAHandler
, _p_wxTGAHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxEvtHandler
, _p_wxEvtHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyVListBox
, _p_wxPyVListBoxTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyHtmlListBox
, _p_wxPyHtmlListBoxTo_p_wxObject
, 0, 0}, {&_swigt__p_wxSimpleHtmlListBox
, _p_wxSimpleHtmlListBoxTo_p_wxObject
, 0, 0}, {&_swigt__p_wxAcceleratorTable
, _p_wxAcceleratorTableTo_p_wxObject
, 0, 0}, {&_swigt__p_wxStdDialogButtonSizer
, _p_wxStdDialogButtonSizerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMiniFrame
, _p_wxMiniFrameTo_p_wxObject
, 0, 0}, {&_swigt__p_wxImage
, _p_wxImageTo_p_wxObject
, 0, 0}, {&_swigt__p_wxFrame
, _p_wxFrameTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyPrintout
, _p_wxPyPrintoutTo_p_wxObject
, 0, 0}, {&_swigt__p_wxTaskBarIconEvent
, _p_wxTaskBarIconEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxScrollWinEvent
, _p_wxScrollWinEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxStatusBar
, _p_wxStatusBarTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMDIParentFrame
, _p_wxMDIParentFrameTo_p_wxObject
, 0, 0}, {&_swigt__p_wxObject
, 0, 0, 0}, {&_swigt__p_wxKeyEvent
, _p_wxKeyEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxNavigationKeyEvent
, _p_wxNavigationKeyEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxWindowDestroyEvent
, _p_wxWindowDestroyEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMenuBar
, _p_wxMenuBarTo_p_wxObject
, 0, 0}, {&_swigt__p_wxScrolledWindow
, _p_wxScrolledWindowTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyScrolledWindow
, _p_wxPyScrolledWindowTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyVScrolledWindow
, _p_wxPyVScrolledWindowTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMDIClientWindow
, _p_wxMDIClientWindowTo_p_wxObject
, 0, 0}, {&_swigt__p_wxTopLevelWindow
, _p_wxTopLevelWindowTo_p_wxObject
, 0, 0}, {&_swigt__p_wxWindow
, _p_wxWindowTo_p_wxObject
, 0, 0}, {&_swigt__p_wxSashWindow
, _p_wxSashWindowTo_p_wxObject
, 0, 0}, {&_swigt__p_wxSashLayoutWindow
, _p_wxSashLayoutWindowTo_p_wxObject
, 0, 0}, {&_swigt__p_wxSplitterWindow
, _p_wxSplitterWindowTo_p_wxObject
, 0, 0}, {&_swigt__p_wxSplashScreenWindow
, _p_wxSplashScreenWindowTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPopupWindow
, _p_wxPopupWindowTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyPopupTransientWindow
, _p_wxPyPopupTransientWindowTo_p_wxObject
, 0, 0}, {&_swigt__p_wxTipWindow
, _p_wxTipWindowTo_p_wxObject
, 0, 0}, {&_swigt__p_wxSashEvent
, _p_wxSashEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPrintPreview
, _p_wxPrintPreviewTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyPrintPreview
, _p_wxPyPrintPreviewTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPanel
, _p_wxPanelTo_p_wxObject
, 0, 0}, {&_swigt__p_wxDialog
, _p_wxDialogTo_p_wxObject
, 0, 0}, {&_swigt__p_wxColourDialog
, _p_wxColourDialogTo_p_wxObject
, 0, 0}, {&_swigt__p_wxDirDialog
, _p_wxDirDialogTo_p_wxObject
, 0, 0}, {&_swigt__p_wxFontDialog
, _p_wxFontDialogTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPageSetupDialog
, _p_wxPageSetupDialogTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPrintDialog
, _p_wxPrintDialogTo_p_wxObject
, 0, 0}, {&_swigt__p_wxFileSystem
, _p_wxFileSystemTo_p_wxObject
, 0, 0}, {&_swigt__p_wxContextMenuEvent
, _p_wxContextMenuEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMenuEvent
, _p_wxMenuEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxCloseEvent
, _p_wxCloseEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMouseEvent
, _p_wxMouseEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxEraseEvent
, _p_wxEraseEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyApp
, _p_wxPyAppTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyCommandEvent
, _p_wxPyCommandEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxCommandEvent
, _p_wxCommandEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPreviewControlBar
, _p_wxPreviewControlBarTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyPreviewControlBar
, _p_wxPyPreviewControlBarTo_p_wxObject
, 0, 0}, {&_swigt__p_wxChildFocusEvent
, _p_wxChildFocusEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxDropFilesEvent
, _p_wxDropFilesEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxFocusEvent
, _p_wxFocusEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxControlWithItems
, _p_wxControlWithItemsTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPageSetupDialogData
, _p_wxPageSetupDialogDataTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPrintDialogData
, _p_wxPrintDialogDataTo_p_wxObject
, 0, 0}, {&_swigt__p_wxValidator
, _p_wxValidatorTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyValidator
, _p_wxPyValidatorTo_p_wxObject
, 0, 0},{0, 0, 0, 0}};
34117 static swig_cast_info _swigc__p_wxPageSetupDialog
[] = { {&_swigt__p_wxPageSetupDialog
, 0, 0, 0},{0, 0, 0, 0}};
34118 static swig_cast_info _swigc__p_wxPageSetupDialogData
[] = { {&_swigt__p_wxPageSetupDialogData
, 0, 0, 0},{0, 0, 0, 0}};
34119 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_wxSimpleHtmlListBox
, _p_wxSimpleHtmlListBoxTo_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}};
34120 static swig_cast_info _swigc__p_wxPaperSize
[] = { {&_swigt__p_wxPaperSize
, 0, 0, 0},{0, 0, 0, 0}};
34121 static swig_cast_info _swigc__p_wxPasswordEntryDialog
[] = { {&_swigt__p_wxPasswordEntryDialog
, 0, 0, 0},{0, 0, 0, 0}};
34122 static swig_cast_info _swigc__p_wxPoint
[] = { {&_swigt__p_wxPoint
, 0, 0, 0},{0, 0, 0, 0}};
34123 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}};
34124 static swig_cast_info _swigc__p_wxPreviewCanvas
[] = { {&_swigt__p_wxPreviewCanvas
, 0, 0, 0},{0, 0, 0, 0}};
34125 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}};
34126 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}};
34127 static swig_cast_info _swigc__p_wxPrintData
[] = { {&_swigt__p_wxPrintData
, 0, 0, 0},{0, 0, 0, 0}};
34128 static swig_cast_info _swigc__p_wxPrintDialog
[] = { {&_swigt__p_wxPrintDialog
, 0, 0, 0},{0, 0, 0, 0}};
34129 static swig_cast_info _swigc__p_wxPrintDialogData
[] = { {&_swigt__p_wxPrintDialogData
, 0, 0, 0},{0, 0, 0, 0}};
34130 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}};
34131 static swig_cast_info _swigc__p_wxPrinter
[] = { {&_swigt__p_wxPrinter
, 0, 0, 0},{0, 0, 0, 0}};
34132 static swig_cast_info _swigc__p_wxProgressDialog
[] = { {&_swigt__p_wxProgressDialog
, 0, 0, 0},{0, 0, 0, 0}};
34133 static swig_cast_info _swigc__p_wxPyHtmlListBox
[] = { {&_swigt__p_wxPyHtmlListBox
, 0, 0, 0}, {&_swigt__p_wxSimpleHtmlListBox
, _p_wxSimpleHtmlListBoxTo_p_wxPyHtmlListBox
, 0, 0},{0, 0, 0, 0}};
34134 static swig_cast_info _swigc__p_wxPyPanel
[] = { {&_swigt__p_wxPyPanel
, 0, 0, 0},{0, 0, 0, 0}};
34135 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}};
34136 static swig_cast_info _swigc__p_wxPyPreviewControlBar
[] = { {&_swigt__p_wxPyPreviewControlBar
, 0, 0, 0},{0, 0, 0, 0}};
34137 static swig_cast_info _swigc__p_wxPyPreviewFrame
[] = { {&_swigt__p_wxPyPreviewFrame
, 0, 0, 0},{0, 0, 0, 0}};
34138 static swig_cast_info _swigc__p_wxPyPrintPreview
[] = { {&_swigt__p_wxPyPrintPreview
, 0, 0, 0},{0, 0, 0, 0}};
34139 static swig_cast_info _swigc__p_wxPyPrintout
[] = { {&_swigt__p_wxPyPrintout
, 0, 0, 0},{0, 0, 0, 0}};
34140 static swig_cast_info _swigc__p_wxPyScrolledWindow
[] = { {&_swigt__p_wxPyScrolledWindow
, 0, 0, 0},{0, 0, 0, 0}};
34141 static swig_cast_info _swigc__p_wxPyTaskBarIcon
[] = { {&_swigt__p_wxPyTaskBarIcon
, 0, 0, 0},{0, 0, 0, 0}};
34142 static swig_cast_info _swigc__p_wxPyVListBox
[] = { {&_swigt__p_wxPyVListBox
, 0, 0, 0}, {&_swigt__p_wxPyHtmlListBox
, _p_wxPyHtmlListBoxTo_p_wxPyVListBox
, 0, 0}, {&_swigt__p_wxSimpleHtmlListBox
, _p_wxSimpleHtmlListBoxTo_p_wxPyVListBox
, 0, 0},{0, 0, 0, 0}};
34143 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}, {&_swigt__p_wxSimpleHtmlListBox
, _p_wxSimpleHtmlListBoxTo_p_wxPyVScrolledWindow
, 0, 0},{0, 0, 0, 0}};
34144 static swig_cast_info _swigc__p_wxPyWindow
[] = { {&_swigt__p_wxPyWindow
, 0, 0, 0},{0, 0, 0, 0}};
34145 static swig_cast_info _swigc__p_wxQueryLayoutInfoEvent
[] = { {&_swigt__p_wxQueryLayoutInfoEvent
, 0, 0, 0},{0, 0, 0, 0}};
34146 static swig_cast_info _swigc__p_wxRect
[] = { {&_swigt__p_wxRect
, 0, 0, 0},{0, 0, 0, 0}};
34147 static swig_cast_info _swigc__p_wxRegion
[] = { {&_swigt__p_wxRegion
, 0, 0, 0},{0, 0, 0, 0}};
34148 static swig_cast_info _swigc__p_wxSashEvent
[] = { {&_swigt__p_wxSashEvent
, 0, 0, 0},{0, 0, 0, 0}};
34149 static swig_cast_info _swigc__p_wxSashLayoutWindow
[] = { {&_swigt__p_wxSashLayoutWindow
, 0, 0, 0},{0, 0, 0, 0}};
34150 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}};
34151 static swig_cast_info _swigc__p_wxScrollWinEvent
[] = { {&_swigt__p_wxScrollWinEvent
, 0, 0, 0},{0, 0, 0, 0}};
34152 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}};
34153 static swig_cast_info _swigc__p_wxSimpleHtmlListBox
[] = { {&_swigt__p_wxSimpleHtmlListBox
, 0, 0, 0},{0, 0, 0, 0}};
34154 static swig_cast_info _swigc__p_wxSingleChoiceDialog
[] = { {&_swigt__p_wxSingleChoiceDialog
, 0, 0, 0},{0, 0, 0, 0}};
34155 static swig_cast_info _swigc__p_wxSize
[] = { {&_swigt__p_wxSize
, 0, 0, 0},{0, 0, 0, 0}};
34156 static swig_cast_info _swigc__p_wxSplashScreen
[] = { {&_swigt__p_wxSplashScreen
, 0, 0, 0},{0, 0, 0, 0}};
34157 static swig_cast_info _swigc__p_wxSplashScreenWindow
[] = { {&_swigt__p_wxSplashScreenWindow
, 0, 0, 0},{0, 0, 0, 0}};
34158 static swig_cast_info _swigc__p_wxSplitterEvent
[] = { {&_swigt__p_wxSplitterEvent
, 0, 0, 0},{0, 0, 0, 0}};
34159 static swig_cast_info _swigc__p_wxSplitterWindow
[] = { {&_swigt__p_wxSplitterWindow
, 0, 0, 0},{0, 0, 0, 0}};
34160 static swig_cast_info _swigc__p_wxStatusBar
[] = { {&_swigt__p_wxStatusBar
, 0, 0, 0},{0, 0, 0, 0}};
34161 static swig_cast_info _swigc__p_wxStdDialogButtonSizer
[] = { {&_swigt__p_wxStdDialogButtonSizer
, 0, 0, 0},{0, 0, 0, 0}};
34162 static swig_cast_info _swigc__p_wxString
[] = { {&_swigt__p_wxString
, 0, 0, 0},{0, 0, 0, 0}};
34163 static swig_cast_info _swigc__p_wxTaskBarIcon
[] = { {&_swigt__p_wxTaskBarIcon
, 0, 0, 0},{0, 0, 0, 0}};
34164 static swig_cast_info _swigc__p_wxTaskBarIconEvent
[] = { {&_swigt__p_wxTaskBarIconEvent
, 0, 0, 0},{0, 0, 0, 0}};
34165 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}};
34166 static swig_cast_info _swigc__p_wxTipWindow
[] = { {&_swigt__p_wxTipWindow
, 0, 0, 0},{0, 0, 0, 0}};
34167 static swig_cast_info _swigc__p_wxToolBar
[] = { {&_swigt__p_wxToolBar
, 0, 0, 0},{0, 0, 0, 0}};
34168 static swig_cast_info _swigc__p_wxTopLevelWindow
[] = { {&_swigt__p_wxFrame
, _p_wxFrameTo_p_wxTopLevelWindow
, 0, 0}, {&_swigt__p_wxMiniFrame
, _p_wxMiniFrameTo_p_wxTopLevelWindow
, 0, 0}, {&_swigt__p_wxFontDialog
, _p_wxFontDialogTo_p_wxTopLevelWindow
, 0, 0}, {&_swigt__p_wxDirDialog
, _p_wxDirDialogTo_p_wxTopLevelWindow
, 0, 0}, {&_swigt__p_wxColourDialog
, _p_wxColourDialogTo_p_wxTopLevelWindow
, 0, 0}, {&_swigt__p_wxDialog
, _p_wxDialogTo_p_wxTopLevelWindow
, 0, 0}, {&_swigt__p_wxSplashScreen
, _p_wxSplashScreenTo_p_wxTopLevelWindow
, 0, 0}, {&_swigt__p_wxTopLevelWindow
, 0, 0, 0}, {&_swigt__p_wxMDIParentFrame
, _p_wxMDIParentFrameTo_p_wxTopLevelWindow
, 0, 0}, {&_swigt__p_wxMDIChildFrame
, _p_wxMDIChildFrameTo_p_wxTopLevelWindow
, 0, 0}, {&_swigt__p_wxFileDialog
, _p_wxFileDialogTo_p_wxTopLevelWindow
, 0, 0}, {&_swigt__p_wxProgressDialog
, _p_wxProgressDialogTo_p_wxTopLevelWindow
, 0, 0}, {&_swigt__p_wxMultiChoiceDialog
, _p_wxMultiChoiceDialogTo_p_wxTopLevelWindow
, 0, 0}, {&_swigt__p_wxSingleChoiceDialog
, _p_wxSingleChoiceDialogTo_p_wxTopLevelWindow
, 0, 0}, {&_swigt__p_wxTextEntryDialog
, _p_wxTextEntryDialogTo_p_wxTopLevelWindow
, 0, 0}, {&_swigt__p_wxPasswordEntryDialog
, _p_wxPasswordEntryDialogTo_p_wxTopLevelWindow
, 0, 0}, {&_swigt__p_wxNumberEntryDialog
, _p_wxNumberEntryDialogTo_p_wxTopLevelWindow
, 0, 0}, {&_swigt__p_wxMessageDialog
, _p_wxMessageDialogTo_p_wxTopLevelWindow
, 0, 0}, {&_swigt__p_wxFindReplaceDialog
, _p_wxFindReplaceDialogTo_p_wxTopLevelWindow
, 0, 0}, {&_swigt__p_wxPyPreviewFrame
, _p_wxPyPreviewFrameTo_p_wxTopLevelWindow
, 0, 0}, {&_swigt__p_wxPreviewFrame
, _p_wxPreviewFrameTo_p_wxTopLevelWindow
, 0, 0},{0, 0, 0, 0}};
34169 static swig_cast_info _swigc__p_wxValidator
[] = { {&_swigt__p_wxValidator
, 0, 0, 0}, {&_swigt__p_wxPyValidator
, _p_wxPyValidatorTo_p_wxValidator
, 0, 0},{0, 0, 0, 0}};
34170 static swig_cast_info _swigc__p_wxVisualAttributes
[] = { {&_swigt__p_wxVisualAttributes
, 0, 0, 0},{0, 0, 0, 0}};
34171 static swig_cast_info _swigc__p_wxWindow
[] = { {&_swigt__p_wxSplashScreen
, _p_wxSplashScreenTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxMiniFrame
, _p_wxMiniFrameTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxPyPanel
, _p_wxPyPanelTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxMenuBar
, _p_wxMenuBarTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxFindReplaceDialog
, _p_wxFindReplaceDialogTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxProgressDialog
, _p_wxProgressDialogTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxMessageDialog
, _p_wxMessageDialogTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxNumberEntryDialog
, _p_wxNumberEntryDialogTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxPasswordEntryDialog
, _p_wxPasswordEntryDialogTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxTextEntryDialog
, _p_wxTextEntryDialogTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxSingleChoiceDialog
, _p_wxSingleChoiceDialogTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxMultiChoiceDialog
, _p_wxMultiChoiceDialogTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxFileDialog
, _p_wxFileDialogTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxPanel
, _p_wxPanelTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxStatusBar
, _p_wxStatusBarTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxTopLevelWindow
, _p_wxTopLevelWindowTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxSplashScreenWindow
, _p_wxSplashScreenWindowTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxSplitterWindow
, _p_wxSplitterWindowTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxSashLayoutWindow
, _p_wxSashLayoutWindowTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxSashWindow
, _p_wxSashWindowTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxMDIClientWindow
, _p_wxMDIClientWindowTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxPyVScrolledWindow
, _p_wxPyVScrolledWindowTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxPyScrolledWindow
, _p_wxPyScrolledWindowTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxScrolledWindow
, _p_wxScrolledWindowTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxWindow
, 0, 0, 0}, {&_swigt__p_wxPopupWindow
, _p_wxPopupWindowTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxPyPopupTransientWindow
, _p_wxPyPopupTransientWindowTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxTipWindow
, _p_wxTipWindowTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxPreviewFrame
, _p_wxPreviewFrameTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxPyPreviewFrame
, _p_wxPyPreviewFrameTo_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_wxSimpleHtmlListBox
, _p_wxSimpleHtmlListBoxTo_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}};
34173 static swig_cast_info
*swig_cast_initial
[] = {
34176 _swigc__p_form_ops_t
,
34178 _swigc__p_unsigned_char
,
34179 _swigc__p_unsigned_int
,
34180 _swigc__p_unsigned_long
,
34181 _swigc__p_wxANIHandler
,
34182 _swigc__p_wxAcceleratorTable
,
34183 _swigc__p_wxActivateEvent
,
34184 _swigc__p_wxArrayInt
,
34185 _swigc__p_wxArrayString
,
34186 _swigc__p_wxBMPHandler
,
34187 _swigc__p_wxBitmap
,
34188 _swigc__p_wxBoxSizer
,
34189 _swigc__p_wxCURHandler
,
34190 _swigc__p_wxCalculateLayoutEvent
,
34191 _swigc__p_wxChildFocusEvent
,
34192 _swigc__p_wxClipboardTextEvent
,
34193 _swigc__p_wxCloseEvent
,
34194 _swigc__p_wxColour
,
34195 _swigc__p_wxColourData
,
34196 _swigc__p_wxColourDialog
,
34197 _swigc__p_wxCommandEvent
,
34198 _swigc__p_wxContextMenuEvent
,
34199 _swigc__p_wxControl
,
34200 _swigc__p_wxControlWithItems
,
34202 _swigc__p_wxDateEvent
,
34203 _swigc__p_wxDialog
,
34204 _swigc__p_wxDirDialog
,
34205 _swigc__p_wxDisplayChangedEvent
,
34206 _swigc__p_wxDropFilesEvent
,
34207 _swigc__p_wxDuplexMode
,
34208 _swigc__p_wxEraseEvent
,
34210 _swigc__p_wxEvtHandler
,
34211 _swigc__p_wxFSFile
,
34212 _swigc__p_wxFileDialog
,
34213 _swigc__p_wxFileSystem
,
34214 _swigc__p_wxFindDialogEvent
,
34215 _swigc__p_wxFindReplaceData
,
34216 _swigc__p_wxFindReplaceDialog
,
34217 _swigc__p_wxFlexGridSizer
,
34218 _swigc__p_wxFocusEvent
,
34220 _swigc__p_wxFontData
,
34221 _swigc__p_wxFontDialog
,
34223 _swigc__p_wxGBSizerItem
,
34224 _swigc__p_wxGIFHandler
,
34225 _swigc__p_wxGridBagSizer
,
34226 _swigc__p_wxGridSizer
,
34227 _swigc__p_wxHtmlLinkInfo
,
34228 _swigc__p_wxICOHandler
,
34230 _swigc__p_wxIconBundle
,
34231 _swigc__p_wxIconizeEvent
,
34232 _swigc__p_wxIdleEvent
,
34234 _swigc__p_wxImageHandler
,
34235 _swigc__p_wxIndividualLayoutConstraint
,
34236 _swigc__p_wxInitDialogEvent
,
34237 _swigc__p_wxItemContainer
,
34238 _swigc__p_wxJPEGHandler
,
34239 _swigc__p_wxKeyEvent
,
34240 _swigc__p_wxLayoutAlgorithm
,
34241 _swigc__p_wxLayoutConstraints
,
34242 _swigc__p_wxMDIChildFrame
,
34243 _swigc__p_wxMDIClientWindow
,
34244 _swigc__p_wxMDIParentFrame
,
34245 _swigc__p_wxMaximizeEvent
,
34247 _swigc__p_wxMenuBar
,
34248 _swigc__p_wxMenuEvent
,
34249 _swigc__p_wxMenuItem
,
34250 _swigc__p_wxMessageDialog
,
34251 _swigc__p_wxMiniFrame
,
34252 _swigc__p_wxMouseCaptureChangedEvent
,
34253 _swigc__p_wxMouseCaptureLostEvent
,
34254 _swigc__p_wxMouseEvent
,
34255 _swigc__p_wxMoveEvent
,
34256 _swigc__p_wxMultiChoiceDialog
,
34257 _swigc__p_wxNavigationKeyEvent
,
34258 _swigc__p_wxNcPaintEvent
,
34259 _swigc__p_wxNotifyEvent
,
34260 _swigc__p_wxNumberEntryDialog
,
34261 _swigc__p_wxObject
,
34262 _swigc__p_wxPCXHandler
,
34263 _swigc__p_wxPNGHandler
,
34264 _swigc__p_wxPNMHandler
,
34265 _swigc__p_wxPageSetupDialog
,
34266 _swigc__p_wxPageSetupDialogData
,
34267 _swigc__p_wxPaintEvent
,
34268 _swigc__p_wxPaletteChangedEvent
,
34270 _swigc__p_wxPaperSize
,
34271 _swigc__p_wxPasswordEntryDialog
,
34273 _swigc__p_wxPopupWindow
,
34274 _swigc__p_wxPreviewCanvas
,
34275 _swigc__p_wxPreviewControlBar
,
34276 _swigc__p_wxPreviewFrame
,
34277 _swigc__p_wxPrintData
,
34278 _swigc__p_wxPrintDialog
,
34279 _swigc__p_wxPrintDialogData
,
34280 _swigc__p_wxPrintPreview
,
34281 _swigc__p_wxPrinter
,
34282 _swigc__p_wxProgressDialog
,
34284 _swigc__p_wxPyCommandEvent
,
34285 _swigc__p_wxPyEvent
,
34286 _swigc__p_wxPyHtmlListBox
,
34287 _swigc__p_wxPyImageHandler
,
34288 _swigc__p_wxPyPanel
,
34289 _swigc__p_wxPyPopupTransientWindow
,
34290 _swigc__p_wxPyPreviewControlBar
,
34291 _swigc__p_wxPyPreviewFrame
,
34292 _swigc__p_wxPyPrintPreview
,
34293 _swigc__p_wxPyPrintout
,
34294 _swigc__p_wxPyScrolledWindow
,
34295 _swigc__p_wxPySizer
,
34296 _swigc__p_wxPyTaskBarIcon
,
34297 _swigc__p_wxPyVListBox
,
34298 _swigc__p_wxPyVScrolledWindow
,
34299 _swigc__p_wxPyValidator
,
34300 _swigc__p_wxPyWindow
,
34301 _swigc__p_wxQueryLayoutInfoEvent
,
34302 _swigc__p_wxQueryNewPaletteEvent
,
34304 _swigc__p_wxRegion
,
34305 _swigc__p_wxSashEvent
,
34306 _swigc__p_wxSashLayoutWindow
,
34307 _swigc__p_wxSashWindow
,
34308 _swigc__p_wxScrollEvent
,
34309 _swigc__p_wxScrollWinEvent
,
34310 _swigc__p_wxScrolledWindow
,
34311 _swigc__p_wxSetCursorEvent
,
34312 _swigc__p_wxShowEvent
,
34313 _swigc__p_wxSimpleHtmlListBox
,
34314 _swigc__p_wxSingleChoiceDialog
,
34316 _swigc__p_wxSizeEvent
,
34318 _swigc__p_wxSizerItem
,
34319 _swigc__p_wxSplashScreen
,
34320 _swigc__p_wxSplashScreenWindow
,
34321 _swigc__p_wxSplitterEvent
,
34322 _swigc__p_wxSplitterWindow
,
34323 _swigc__p_wxStaticBoxSizer
,
34324 _swigc__p_wxStatusBar
,
34325 _swigc__p_wxStdDialogButtonSizer
,
34326 _swigc__p_wxString
,
34327 _swigc__p_wxSysColourChangedEvent
,
34328 _swigc__p_wxTGAHandler
,
34329 _swigc__p_wxTIFFHandler
,
34330 _swigc__p_wxTaskBarIcon
,
34331 _swigc__p_wxTaskBarIconEvent
,
34332 _swigc__p_wxTextEntryDialog
,
34333 _swigc__p_wxTipWindow
,
34334 _swigc__p_wxToolBar
,
34335 _swigc__p_wxTopLevelWindow
,
34336 _swigc__p_wxUpdateUIEvent
,
34337 _swigc__p_wxValidator
,
34338 _swigc__p_wxVisualAttributes
,
34339 _swigc__p_wxWindow
,
34340 _swigc__p_wxWindowCreateEvent
,
34341 _swigc__p_wxWindowDestroyEvent
,
34342 _swigc__p_wxXPMHandler
,
34346 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
34348 static swig_const_info swig_const_table
[] = {
34349 {0, 0, 0, 0.0, 0, 0}};
34354 /* -----------------------------------------------------------------------------
34355 * Type initialization:
34356 * This problem is tough by the requirement that no dynamic
34357 * memory is used. Also, since swig_type_info structures store pointers to
34358 * swig_cast_info structures and swig_cast_info structures store pointers back
34359 * to swig_type_info structures, we need some lookup code at initialization.
34360 * The idea is that swig generates all the structures that are needed.
34361 * The runtime then collects these partially filled structures.
34362 * The SWIG_InitializeModule function takes these initial arrays out of
34363 * swig_module, and does all the lookup, filling in the swig_module.types
34364 * array with the correct data and linking the correct swig_cast_info
34365 * structures together.
34367 * The generated swig_type_info structures are assigned staticly to an initial
34368 * array. We just loop though that array, and handle each type individually.
34369 * First we lookup if this type has been already loaded, and if so, use the
34370 * loaded structure instead of the generated one. Then we have to fill in the
34371 * cast linked list. The cast data is initially stored in something like a
34372 * two-dimensional array. Each row corresponds to a type (there are the same
34373 * number of rows as there are in the swig_type_initial array). Each entry in
34374 * a column is one of the swig_cast_info structures for that type.
34375 * The cast_initial array is actually an array of arrays, because each row has
34376 * a variable number of columns. So to actually build the cast linked list,
34377 * we find the array of casts associated with the type, and loop through it
34378 * adding the casts to the list. The one last trick we need to do is making
34379 * sure the type pointer in the swig_cast_info struct is correct.
34381 * First off, we lookup the cast->type name to see if it is already loaded.
34382 * There are three cases to handle:
34383 * 1) If the cast->type has already been loaded AND the type we are adding
34384 * casting info to has not been loaded (it is in this module), THEN we
34385 * replace the cast->type pointer with the type pointer that has already
34387 * 2) If BOTH types (the one we are adding casting info to, and the
34388 * cast->type) are loaded, THEN the cast info has already been loaded by
34389 * the previous module so we just ignore it.
34390 * 3) Finally, if cast->type has not already been loaded, then we add that
34391 * swig_cast_info to the linked list (because the cast->type) pointer will
34393 * ----------------------------------------------------------------------------- */
34403 #define SWIGRUNTIME_DEBUG
34407 SWIG_InitializeModule(void *clientdata
) {
34409 swig_module_info
*module_head
;
34410 static int init_run
= 0;
34412 clientdata
= clientdata
;
34414 if (init_run
) return;
34417 /* Initialize the swig_module */
34418 swig_module
.type_initial
= swig_type_initial
;
34419 swig_module
.cast_initial
= swig_cast_initial
;
34421 /* Try and load any already created modules */
34422 module_head
= SWIG_GetModule(clientdata
);
34424 swig_module
.next
= module_head
->next
;
34425 module_head
->next
= &swig_module
;
34427 /* This is the first module loaded */
34428 swig_module
.next
= &swig_module
;
34429 SWIG_SetModule(clientdata
, &swig_module
);
34432 /* Now work on filling in swig_module.types */
34433 #ifdef SWIGRUNTIME_DEBUG
34434 printf("SWIG_InitializeModule: size %d\n", swig_module
.size
);
34436 for (i
= 0; i
< swig_module
.size
; ++i
) {
34437 swig_type_info
*type
= 0;
34438 swig_type_info
*ret
;
34439 swig_cast_info
*cast
;
34441 #ifdef SWIGRUNTIME_DEBUG
34442 printf("SWIG_InitializeModule: type %d %s\n", i
, swig_module
.type_initial
[i
]->name
);
34445 /* if there is another module already loaded */
34446 if (swig_module
.next
!= &swig_module
) {
34447 type
= SWIG_MangledTypeQueryModule(swig_module
.next
, &swig_module
, swig_module
.type_initial
[i
]->name
);
34450 /* Overwrite clientdata field */
34451 #ifdef SWIGRUNTIME_DEBUG
34452 printf("SWIG_InitializeModule: found type %s\n", type
->name
);
34454 if (swig_module
.type_initial
[i
]->clientdata
) {
34455 type
->clientdata
= swig_module
.type_initial
[i
]->clientdata
;
34456 #ifdef SWIGRUNTIME_DEBUG
34457 printf("SWIG_InitializeModule: found and overwrite type %s \n", type
->name
);
34461 type
= swig_module
.type_initial
[i
];
34464 /* Insert casting types */
34465 cast
= swig_module
.cast_initial
[i
];
34466 while (cast
->type
) {
34467 /* Don't need to add information already in the list */
34469 #ifdef SWIGRUNTIME_DEBUG
34470 printf("SWIG_InitializeModule: look cast %s\n", cast
->type
->name
);
34472 if (swig_module
.next
!= &swig_module
) {
34473 ret
= SWIG_MangledTypeQueryModule(swig_module
.next
, &swig_module
, cast
->type
->name
);
34474 #ifdef SWIGRUNTIME_DEBUG
34475 if (ret
) printf("SWIG_InitializeModule: found cast %s\n", ret
->name
);
34479 if (type
== swig_module
.type_initial
[i
]) {
34480 #ifdef SWIGRUNTIME_DEBUG
34481 printf("SWIG_InitializeModule: skip old type %s\n", ret
->name
);
34486 /* Check for casting already in the list */
34487 swig_cast_info
*ocast
= SWIG_TypeCheck(ret
->name
, type
);
34488 #ifdef SWIGRUNTIME_DEBUG
34489 if (ocast
) printf("SWIG_InitializeModule: skip old cast %s\n", ret
->name
);
34491 if (!ocast
) ret
= 0;
34496 #ifdef SWIGRUNTIME_DEBUG
34497 printf("SWIG_InitializeModule: adding cast %s\n", cast
->type
->name
);
34500 type
->cast
->prev
= cast
;
34501 cast
->next
= type
->cast
;
34507 /* Set entry in modules->types array equal to the type */
34508 swig_module
.types
[i
] = type
;
34510 swig_module
.types
[i
] = 0;
34512 #ifdef SWIGRUNTIME_DEBUG
34513 printf("**** SWIG_InitializeModule: Cast List ******\n");
34514 for (i
= 0; i
< swig_module
.size
; ++i
) {
34516 swig_cast_info
*cast
= swig_module
.cast_initial
[i
];
34517 printf("SWIG_InitializeModule: type %d %s\n", i
, swig_module
.type_initial
[i
]->name
);
34518 while (cast
->type
) {
34519 printf("SWIG_InitializeModule: cast type %s\n", cast
->type
->name
);
34523 printf("---- Total casts: %d\n",j
);
34525 printf("**** SWIG_InitializeModule: Cast List ******\n");
34529 /* This function will propagate the clientdata field of type to
34530 * any new swig_type_info structures that have been added into the list
34531 * of equivalent types. It is like calling
34532 * SWIG_TypeClientData(type, clientdata) a second time.
34535 SWIG_PropagateClientData(void) {
34537 swig_cast_info
*equiv
;
34538 static int init_run
= 0;
34540 if (init_run
) return;
34543 for (i
= 0; i
< swig_module
.size
; i
++) {
34544 if (swig_module
.types
[i
]->clientdata
) {
34545 equiv
= swig_module
.types
[i
]->cast
;
34547 if (!equiv
->converter
) {
34548 if (equiv
->type
&& !equiv
->type
->clientdata
)
34549 SWIG_TypeClientData(equiv
->type
, swig_module
.types
[i
]->clientdata
);
34551 equiv
= equiv
->next
;
34571 /* Python-specific SWIG API */
34572 #define SWIG_newvarlink() SWIG_Python_newvarlink()
34573 #define SWIG_addvarlink(p, name, get_attr, set_attr) SWIG_Python_addvarlink(p, name, get_attr, set_attr)
34574 #define SWIG_InstallConstants(d, constants) SWIG_Python_InstallConstants(d, constants)
34576 /* -----------------------------------------------------------------------------
34577 * global variable support code.
34578 * ----------------------------------------------------------------------------- */
34580 typedef struct swig_globalvar
{
34581 char *name
; /* Name of global variable */
34582 PyObject
*(*get_attr
)(void); /* Return the current value */
34583 int (*set_attr
)(PyObject
*); /* Set the value */
34584 struct swig_globalvar
*next
;
34587 typedef struct swig_varlinkobject
{
34589 swig_globalvar
*vars
;
34590 } swig_varlinkobject
;
34592 SWIGINTERN PyObject
*
34593 swig_varlink_repr(swig_varlinkobject
*SWIGUNUSEDPARM(v
)) {
34594 return PyString_FromString("<Swig global variables>");
34597 SWIGINTERN PyObject
*
34598 swig_varlink_str(swig_varlinkobject
*v
) {
34599 PyObject
*str
= PyString_FromString("(");
34600 swig_globalvar
*var
;
34601 for (var
= v
->vars
; var
; var
=var
->next
) {
34602 PyString_ConcatAndDel(&str
,PyString_FromString(var
->name
));
34603 if (var
->next
) PyString_ConcatAndDel(&str
,PyString_FromString(", "));
34605 PyString_ConcatAndDel(&str
,PyString_FromString(")"));
34610 swig_varlink_print(swig_varlinkobject
*v
, FILE *fp
, int SWIGUNUSEDPARM(flags
)) {
34611 PyObject
*str
= swig_varlink_str(v
);
34612 fprintf(fp
,"Swig global variables ");
34613 fprintf(fp
,"%s\n", PyString_AsString(str
));
34619 swig_varlink_dealloc(swig_varlinkobject
*v
) {
34620 swig_globalvar
*var
= v
->vars
;
34622 swig_globalvar
*n
= var
->next
;
34629 SWIGINTERN PyObject
*
34630 swig_varlink_getattr(swig_varlinkobject
*v
, char *n
) {
34631 PyObject
*res
= NULL
;
34632 swig_globalvar
*var
= v
->vars
;
34634 if (strcmp(var
->name
,n
) == 0) {
34635 res
= (*var
->get_attr
)();
34640 if (res
== NULL
&& !PyErr_Occurred()) {
34641 PyErr_SetString(PyExc_NameError
,"Unknown C global variable");
34647 swig_varlink_setattr(swig_varlinkobject
*v
, char *n
, PyObject
*p
) {
34649 swig_globalvar
*var
= v
->vars
;
34651 if (strcmp(var
->name
,n
) == 0) {
34652 res
= (*var
->set_attr
)(p
);
34657 if (res
== 1 && !PyErr_Occurred()) {
34658 PyErr_SetString(PyExc_NameError
,"Unknown C global variable");
34663 SWIGINTERN PyTypeObject
*
34664 swig_varlink_type(void) {
34665 static char varlink__doc__
[] = "Swig var link object";
34666 static PyTypeObject varlink_type
;
34667 static int type_init
= 0;
34669 const PyTypeObject tmp
34671 PyObject_HEAD_INIT(NULL
)
34672 0, /* Number of items in variable part (ob_size) */
34673 (char *)"swigvarlink", /* Type name (tp_name) */
34674 sizeof(swig_varlinkobject
), /* Basic size (tp_basicsize) */
34675 0, /* Itemsize (tp_itemsize) */
34676 (destructor
) swig_varlink_dealloc
, /* Deallocator (tp_dealloc) */
34677 (printfunc
) swig_varlink_print
, /* Print (tp_print) */
34678 (getattrfunc
) swig_varlink_getattr
, /* get attr (tp_getattr) */
34679 (setattrfunc
) swig_varlink_setattr
, /* Set attr (tp_setattr) */
34680 0, /* tp_compare */
34681 (reprfunc
) swig_varlink_repr
, /* tp_repr */
34682 0, /* tp_as_number */
34683 0, /* tp_as_sequence */
34684 0, /* tp_as_mapping */
34687 (reprfunc
)swig_varlink_str
, /* tp_str */
34688 0, /* tp_getattro */
34689 0, /* tp_setattro */
34690 0, /* tp_as_buffer */
34692 varlink__doc__
, /* tp_doc */
34693 0, /* tp_traverse */
34695 0, /* tp_richcompare */
34696 0, /* tp_weaklistoffset */
34697 #if PY_VERSION_HEX >= 0x02020000
34698 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, /* tp_iter -> tp_weaklist */
34700 #if PY_VERSION_HEX >= 0x02030000
34703 #ifdef COUNT_ALLOCS
34704 0,0,0,0 /* tp_alloc -> tp_next */
34707 varlink_type
= tmp
;
34708 varlink_type
.ob_type
= &PyType_Type
;
34711 return &varlink_type
;
34714 /* Create a variable linking object for use later */
34715 SWIGINTERN PyObject
*
34716 SWIG_Python_newvarlink(void) {
34717 swig_varlinkobject
*result
= PyObject_NEW(swig_varlinkobject
, swig_varlink_type());
34721 return ((PyObject
*) result
);
34725 SWIG_Python_addvarlink(PyObject
*p
, char *name
, PyObject
*(*get_attr
)(void), int (*set_attr
)(PyObject
*p
)) {
34726 swig_varlinkobject
*v
= (swig_varlinkobject
*) p
;
34727 swig_globalvar
*gv
= (swig_globalvar
*) malloc(sizeof(swig_globalvar
));
34729 size_t size
= strlen(name
)+1;
34730 gv
->name
= (char *)malloc(size
);
34732 strncpy(gv
->name
,name
,size
);
34733 gv
->get_attr
= get_attr
;
34734 gv
->set_attr
= set_attr
;
34735 gv
->next
= v
->vars
;
34741 SWIGINTERN PyObject
*
34743 static PyObject
*_SWIG_globals
= 0;
34744 if (!_SWIG_globals
) _SWIG_globals
= SWIG_newvarlink();
34745 return _SWIG_globals
;
34748 /* -----------------------------------------------------------------------------
34749 * constants/methods manipulation
34750 * ----------------------------------------------------------------------------- */
34752 /* Install Constants */
34754 SWIG_Python_InstallConstants(PyObject
*d
, swig_const_info constants
[]) {
34757 for (i
= 0; constants
[i
].type
; ++i
) {
34758 switch(constants
[i
].type
) {
34759 case SWIG_PY_POINTER
:
34760 obj
= SWIG_NewPointerObj(constants
[i
].pvalue
, *(constants
[i
]).ptype
,0);
34762 case SWIG_PY_BINARY
:
34763 obj
= SWIG_NewPackedObj(constants
[i
].pvalue
, constants
[i
].lvalue
, *(constants
[i
].ptype
));
34770 PyDict_SetItemString(d
, constants
[i
].name
, obj
);
34776 /* -----------------------------------------------------------------------------*/
34777 /* Fix SwigMethods to carry the callback ptrs when needed */
34778 /* -----------------------------------------------------------------------------*/
34781 SWIG_Python_FixMethods(PyMethodDef
*methods
,
34782 swig_const_info
*const_table
,
34783 swig_type_info
**types
,
34784 swig_type_info
**types_initial
) {
34786 for (i
= 0; methods
[i
].ml_name
; ++i
) {
34787 const char *c
= methods
[i
].ml_doc
;
34788 if (c
&& (c
= strstr(c
, "swig_ptr: "))) {
34790 swig_const_info
*ci
= 0;
34791 const char *name
= c
+ 10;
34792 for (j
= 0; const_table
[j
].type
; ++j
) {
34793 if (strncmp(const_table
[j
].name
, name
,
34794 strlen(const_table
[j
].name
)) == 0) {
34795 ci
= &(const_table
[j
]);
34800 size_t shift
= (ci
->ptype
) - types
;
34801 swig_type_info
*ty
= types_initial
[shift
];
34802 size_t ldoc
= (c
- methods
[i
].ml_doc
);
34803 size_t lptr
= strlen(ty
->name
)+2*sizeof(void*)+2;
34804 char *ndoc
= (char*)malloc(ldoc
+ lptr
+ 10);
34807 void *ptr
= (ci
->type
== SWIG_PY_POINTER
) ? ci
->pvalue
: 0;
34809 strncpy(buff
, methods
[i
].ml_doc
, ldoc
);
34811 strncpy(buff
, "swig_ptr: ", 10);
34813 SWIG_PackVoidPtr(buff
, ptr
, ty
->name
, lptr
);
34814 methods
[i
].ml_doc
= ndoc
;
34826 /* -----------------------------------------------------------------------------*
34827 * Partial Init method
34828 * -----------------------------------------------------------------------------*/
34833 SWIGEXPORT
void SWIG_init(void) {
34836 /* Fix SwigMethods to carry the callback ptrs when needed */
34837 SWIG_Python_FixMethods(SwigMethods
, swig_const_table
, swig_types
, swig_type_initial
);
34839 m
= Py_InitModule((char *) SWIG_name
, SwigMethods
);
34840 d
= PyModule_GetDict(m
);
34842 SWIG_InitializeModule(0);
34843 SWIG_InstallConstants(d
,swig_const_table
);
34846 PyDict_SetItemString(d
,(char*)"cvar", SWIG_globals());
34847 SWIG_addvarlink(SWIG_globals(),(char*)"FrameNameStr",FrameNameStr_get
, FrameNameStr_set
);
34848 SWIG_addvarlink(SWIG_globals(),(char*)"DialogNameStr",DialogNameStr_get
, DialogNameStr_set
);
34849 SWIG_addvarlink(SWIG_globals(),(char*)"StatusLineNameStr",StatusLineNameStr_get
, StatusLineNameStr_set
);
34850 SWIG_addvarlink(SWIG_globals(),(char*)"ToolBarNameStr",ToolBarNameStr_get
, ToolBarNameStr_set
);
34851 SWIG_Python_SetConstant(d
, "STAY_ON_TOP",SWIG_From_int(static_cast< int >(wxSTAY_ON_TOP
)));
34852 SWIG_Python_SetConstant(d
, "ICONIZE",SWIG_From_int(static_cast< int >(wxICONIZE
)));
34853 SWIG_Python_SetConstant(d
, "MINIMIZE",SWIG_From_int(static_cast< int >(wxMINIMIZE
)));
34854 SWIG_Python_SetConstant(d
, "MAXIMIZE",SWIG_From_int(static_cast< int >(wxMAXIMIZE
)));
34855 SWIG_Python_SetConstant(d
, "CLOSE_BOX",SWIG_From_int(static_cast< int >(wxCLOSE_BOX
)));
34856 SWIG_Python_SetConstant(d
, "THICK_FRAME",SWIG_From_int(static_cast< int >(wxTHICK_FRAME
)));
34857 SWIG_Python_SetConstant(d
, "SYSTEM_MENU",SWIG_From_int(static_cast< int >(wxSYSTEM_MENU
)));
34858 SWIG_Python_SetConstant(d
, "MINIMIZE_BOX",SWIG_From_int(static_cast< int >(wxMINIMIZE_BOX
)));
34859 SWIG_Python_SetConstant(d
, "MAXIMIZE_BOX",SWIG_From_int(static_cast< int >(wxMAXIMIZE_BOX
)));
34860 SWIG_Python_SetConstant(d
, "TINY_CAPTION_HORIZ",SWIG_From_int(static_cast< int >(wxTINY_CAPTION_HORIZ
)));
34861 SWIG_Python_SetConstant(d
, "TINY_CAPTION_VERT",SWIG_From_int(static_cast< int >(wxTINY_CAPTION_VERT
)));
34862 SWIG_Python_SetConstant(d
, "RESIZE_BOX",SWIG_From_int(static_cast< int >(wxRESIZE_BOX
)));
34863 SWIG_Python_SetConstant(d
, "RESIZE_BORDER",SWIG_From_int(static_cast< int >(wxRESIZE_BORDER
)));
34864 SWIG_Python_SetConstant(d
, "DIALOG_NO_PARENT",SWIG_From_int(static_cast< int >(wxDIALOG_NO_PARENT
)));
34865 SWIG_Python_SetConstant(d
, "DEFAULT_FRAME_STYLE",SWIG_From_int(static_cast< int >(wxDEFAULT_FRAME_STYLE
)));
34866 SWIG_Python_SetConstant(d
, "DEFAULT_DIALOG_STYLE",SWIG_From_int(static_cast< int >(wxDEFAULT_DIALOG_STYLE
)));
34867 SWIG_Python_SetConstant(d
, "FRAME_TOOL_WINDOW",SWIG_From_int(static_cast< int >(wxFRAME_TOOL_WINDOW
)));
34868 SWIG_Python_SetConstant(d
, "FRAME_FLOAT_ON_PARENT",SWIG_From_int(static_cast< int >(wxFRAME_FLOAT_ON_PARENT
)));
34869 SWIG_Python_SetConstant(d
, "FRAME_NO_WINDOW_MENU",SWIG_From_int(static_cast< int >(wxFRAME_NO_WINDOW_MENU
)));
34870 SWIG_Python_SetConstant(d
, "FRAME_NO_TASKBAR",SWIG_From_int(static_cast< int >(wxFRAME_NO_TASKBAR
)));
34871 SWIG_Python_SetConstant(d
, "FRAME_SHAPED",SWIG_From_int(static_cast< int >(wxFRAME_SHAPED
)));
34872 SWIG_Python_SetConstant(d
, "FRAME_DRAWER",SWIG_From_int(static_cast< int >(wxFRAME_DRAWER
)));
34873 SWIG_Python_SetConstant(d
, "FRAME_EX_METAL",SWIG_From_int(static_cast< int >(wxFRAME_EX_METAL
)));
34874 SWIG_Python_SetConstant(d
, "DIALOG_EX_METAL",SWIG_From_int(static_cast< int >(wxDIALOG_EX_METAL
)));
34875 SWIG_Python_SetConstant(d
, "WS_EX_CONTEXTHELP",SWIG_From_int(static_cast< int >(wxWS_EX_CONTEXTHELP
)));
34876 SWIG_Python_SetConstant(d
, "DIALOG_MODAL",SWIG_From_int(static_cast< int >(wxDIALOG_MODAL
)));
34877 SWIG_Python_SetConstant(d
, "DIALOG_MODELESS",SWIG_From_int(static_cast< int >(wxDIALOG_MODELESS
)));
34878 SWIG_Python_SetConstant(d
, "USER_COLOURS",SWIG_From_int(static_cast< int >(wxUSER_COLOURS
)));
34879 SWIG_Python_SetConstant(d
, "NO_3D",SWIG_From_int(static_cast< int >(wxNO_3D
)));
34880 SWIG_Python_SetConstant(d
, "FRAME_EX_CONTEXTHELP",SWIG_From_int(static_cast< int >(wxFRAME_EX_CONTEXTHELP
)));
34881 SWIG_Python_SetConstant(d
, "DIALOG_EX_CONTEXTHELP",SWIG_From_int(static_cast< int >(wxDIALOG_EX_CONTEXTHELP
)));
34882 SWIG_Python_SetConstant(d
, "FULLSCREEN_NOMENUBAR",SWIG_From_int(static_cast< int >(wxFULLSCREEN_NOMENUBAR
)));
34883 SWIG_Python_SetConstant(d
, "FULLSCREEN_NOTOOLBAR",SWIG_From_int(static_cast< int >(wxFULLSCREEN_NOTOOLBAR
)));
34884 SWIG_Python_SetConstant(d
, "FULLSCREEN_NOSTATUSBAR",SWIG_From_int(static_cast< int >(wxFULLSCREEN_NOSTATUSBAR
)));
34885 SWIG_Python_SetConstant(d
, "FULLSCREEN_NOBORDER",SWIG_From_int(static_cast< int >(wxFULLSCREEN_NOBORDER
)));
34886 SWIG_Python_SetConstant(d
, "FULLSCREEN_NOCAPTION",SWIG_From_int(static_cast< int >(wxFULLSCREEN_NOCAPTION
)));
34887 SWIG_Python_SetConstant(d
, "FULLSCREEN_ALL",SWIG_From_int(static_cast< int >(wxFULLSCREEN_ALL
)));
34888 SWIG_Python_SetConstant(d
, "TOPLEVEL_EX_DIALOG",SWIG_From_int(static_cast< int >(wxTOPLEVEL_EX_DIALOG
)));
34889 SWIG_Python_SetConstant(d
, "USER_ATTENTION_INFO",SWIG_From_int(static_cast< int >(wxUSER_ATTENTION_INFO
)));
34890 SWIG_Python_SetConstant(d
, "USER_ATTENTION_ERROR",SWIG_From_int(static_cast< int >(wxUSER_ATTENTION_ERROR
)));
34891 SWIG_Python_SetConstant(d
, "Dialog_ButtonSizerFlags",SWIG_From_int(static_cast< int >(wxDialog::ButtonSizerFlags
)));
34892 SWIG_Python_SetConstant(d
, "DEFAULT_MINIFRAME_STYLE",SWIG_From_int(static_cast< int >(wxDEFAULT_MINIFRAME_STYLE
)));
34893 SWIG_Python_SetConstant(d
, "SPLASH_CENTRE_ON_PARENT",SWIG_From_int(static_cast< int >(wxSPLASH_CENTRE_ON_PARENT
)));
34894 SWIG_Python_SetConstant(d
, "SPLASH_CENTRE_ON_SCREEN",SWIG_From_int(static_cast< int >(wxSPLASH_CENTRE_ON_SCREEN
)));
34895 SWIG_Python_SetConstant(d
, "SPLASH_NO_CENTRE",SWIG_From_int(static_cast< int >(wxSPLASH_NO_CENTRE
)));
34896 SWIG_Python_SetConstant(d
, "SPLASH_TIMEOUT",SWIG_From_int(static_cast< int >(wxSPLASH_TIMEOUT
)));
34897 SWIG_Python_SetConstant(d
, "SPLASH_NO_TIMEOUT",SWIG_From_int(static_cast< int >(wxSPLASH_NO_TIMEOUT
)));
34898 SWIG_Python_SetConstant(d
, "SB_NORMAL",SWIG_From_int(static_cast< int >(wxSB_NORMAL
)));
34899 SWIG_Python_SetConstant(d
, "SB_FLAT",SWIG_From_int(static_cast< int >(wxSB_FLAT
)));
34900 SWIG_Python_SetConstant(d
, "SB_RAISED",SWIG_From_int(static_cast< int >(wxSB_RAISED
)));
34901 SWIG_addvarlink(SWIG_globals(),(char*)"SplitterNameStr",SplitterNameStr_get
, SplitterNameStr_set
);
34902 SWIG_Python_SetConstant(d
, "SP_NOBORDER",SWIG_From_int(static_cast< int >(wxSP_NOBORDER
)));
34903 SWIG_Python_SetConstant(d
, "SP_NOSASH",SWIG_From_int(static_cast< int >(wxSP_NOSASH
)));
34904 SWIG_Python_SetConstant(d
, "SP_PERMIT_UNSPLIT",SWIG_From_int(static_cast< int >(wxSP_PERMIT_UNSPLIT
)));
34905 SWIG_Python_SetConstant(d
, "SP_LIVE_UPDATE",SWIG_From_int(static_cast< int >(wxSP_LIVE_UPDATE
)));
34906 SWIG_Python_SetConstant(d
, "SP_3DSASH",SWIG_From_int(static_cast< int >(wxSP_3DSASH
)));
34907 SWIG_Python_SetConstant(d
, "SP_3DBORDER",SWIG_From_int(static_cast< int >(wxSP_3DBORDER
)));
34908 SWIG_Python_SetConstant(d
, "SP_NO_XP_THEME",SWIG_From_int(static_cast< int >(wxSP_NO_XP_THEME
)));
34909 SWIG_Python_SetConstant(d
, "SP_BORDER",SWIG_From_int(static_cast< int >(wxSP_BORDER
)));
34910 SWIG_Python_SetConstant(d
, "SP_3D",SWIG_From_int(static_cast< int >(wxSP_3D
)));
34911 SWIG_Python_SetConstant(d
, "SPLIT_HORIZONTAL",SWIG_From_int(static_cast< int >(wxSPLIT_HORIZONTAL
)));
34912 SWIG_Python_SetConstant(d
, "SPLIT_VERTICAL",SWIG_From_int(static_cast< int >(wxSPLIT_VERTICAL
)));
34913 SWIG_Python_SetConstant(d
, "SPLIT_DRAG_NONE",SWIG_From_int(static_cast< int >(wxSPLIT_DRAG_NONE
)));
34914 SWIG_Python_SetConstant(d
, "SPLIT_DRAG_DRAGGING",SWIG_From_int(static_cast< int >(wxSPLIT_DRAG_DRAGGING
)));
34915 SWIG_Python_SetConstant(d
, "SPLIT_DRAG_LEFT_DOWN",SWIG_From_int(static_cast< int >(wxSPLIT_DRAG_LEFT_DOWN
)));
34916 PyDict_SetItemString(d
, "wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGED", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGED
));
34917 PyDict_SetItemString(d
, "wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGING", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGING
));
34918 PyDict_SetItemString(d
, "wxEVT_COMMAND_SPLITTER_DOUBLECLICKED", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_DOUBLECLICKED
));
34919 PyDict_SetItemString(d
, "wxEVT_COMMAND_SPLITTER_UNSPLIT", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_UNSPLIT
));
34920 SWIG_addvarlink(SWIG_globals(),(char*)"SashNameStr",SashNameStr_get
, SashNameStr_set
);
34921 SWIG_addvarlink(SWIG_globals(),(char*)"SashLayoutNameStr",SashLayoutNameStr_get
, SashLayoutNameStr_set
);
34922 SWIG_Python_SetConstant(d
, "SASH_DRAG_NONE",SWIG_From_int(static_cast< int >(wxSASH_DRAG_NONE
)));
34923 SWIG_Python_SetConstant(d
, "SASH_DRAG_DRAGGING",SWIG_From_int(static_cast< int >(wxSASH_DRAG_DRAGGING
)));
34924 SWIG_Python_SetConstant(d
, "SASH_DRAG_LEFT_DOWN",SWIG_From_int(static_cast< int >(wxSASH_DRAG_LEFT_DOWN
)));
34925 SWIG_Python_SetConstant(d
, "SW_NOBORDER",SWIG_From_int(static_cast< int >(wxSW_NOBORDER
)));
34926 SWIG_Python_SetConstant(d
, "SW_BORDER",SWIG_From_int(static_cast< int >(wxSW_BORDER
)));
34927 SWIG_Python_SetConstant(d
, "SW_3DSASH",SWIG_From_int(static_cast< int >(wxSW_3DSASH
)));
34928 SWIG_Python_SetConstant(d
, "SW_3DBORDER",SWIG_From_int(static_cast< int >(wxSW_3DBORDER
)));
34929 SWIG_Python_SetConstant(d
, "SW_3D",SWIG_From_int(static_cast< int >(wxSW_3D
)));
34930 SWIG_Python_SetConstant(d
, "SASH_TOP",SWIG_From_int(static_cast< int >(wxSASH_TOP
)));
34931 SWIG_Python_SetConstant(d
, "SASH_RIGHT",SWIG_From_int(static_cast< int >(wxSASH_RIGHT
)));
34932 SWIG_Python_SetConstant(d
, "SASH_BOTTOM",SWIG_From_int(static_cast< int >(wxSASH_BOTTOM
)));
34933 SWIG_Python_SetConstant(d
, "SASH_LEFT",SWIG_From_int(static_cast< int >(wxSASH_LEFT
)));
34934 SWIG_Python_SetConstant(d
, "SASH_NONE",SWIG_From_int(static_cast< int >(wxSASH_NONE
)));
34935 SWIG_Python_SetConstant(d
, "SASH_STATUS_OK",SWIG_From_int(static_cast< int >(wxSASH_STATUS_OK
)));
34936 SWIG_Python_SetConstant(d
, "SASH_STATUS_OUT_OF_RANGE",SWIG_From_int(static_cast< int >(wxSASH_STATUS_OUT_OF_RANGE
)));
34937 PyDict_SetItemString(d
, "wxEVT_SASH_DRAGGED", PyInt_FromLong(wxEVT_SASH_DRAGGED
));
34938 SWIG_Python_SetConstant(d
, "LAYOUT_HORIZONTAL",SWIG_From_int(static_cast< int >(wxLAYOUT_HORIZONTAL
)));
34939 SWIG_Python_SetConstant(d
, "LAYOUT_VERTICAL",SWIG_From_int(static_cast< int >(wxLAYOUT_VERTICAL
)));
34940 SWIG_Python_SetConstant(d
, "LAYOUT_NONE",SWIG_From_int(static_cast< int >(wxLAYOUT_NONE
)));
34941 SWIG_Python_SetConstant(d
, "LAYOUT_TOP",SWIG_From_int(static_cast< int >(wxLAYOUT_TOP
)));
34942 SWIG_Python_SetConstant(d
, "LAYOUT_LEFT",SWIG_From_int(static_cast< int >(wxLAYOUT_LEFT
)));
34943 SWIG_Python_SetConstant(d
, "LAYOUT_RIGHT",SWIG_From_int(static_cast< int >(wxLAYOUT_RIGHT
)));
34944 SWIG_Python_SetConstant(d
, "LAYOUT_BOTTOM",SWIG_From_int(static_cast< int >(wxLAYOUT_BOTTOM
)));
34945 SWIG_Python_SetConstant(d
, "LAYOUT_LENGTH_Y",SWIG_From_int(static_cast< int >(wxLAYOUT_LENGTH_Y
)));
34946 SWIG_Python_SetConstant(d
, "LAYOUT_LENGTH_X",SWIG_From_int(static_cast< int >(wxLAYOUT_LENGTH_X
)));
34947 SWIG_Python_SetConstant(d
, "LAYOUT_MRU_LENGTH",SWIG_From_int(static_cast< int >(wxLAYOUT_MRU_LENGTH
)));
34948 SWIG_Python_SetConstant(d
, "LAYOUT_QUERY",SWIG_From_int(static_cast< int >(wxLAYOUT_QUERY
)));
34949 PyDict_SetItemString(d
, "wxEVT_QUERY_LAYOUT_INFO", PyInt_FromLong(wxEVT_QUERY_LAYOUT_INFO
));
34950 PyDict_SetItemString(d
, "wxEVT_CALCULATE_LAYOUT", PyInt_FromLong(wxEVT_CALCULATE_LAYOUT
));
34951 SWIG_addvarlink(SWIG_globals(),(char*)"VListBoxNameStr",VListBoxNameStr_get
, VListBoxNameStr_set
);
34952 SWIG_addvarlink(SWIG_globals(),(char*)"SimpleHtmlListBoxNameStr",SimpleHtmlListBoxNameStr_get
, SimpleHtmlListBoxNameStr_set
);
34953 SWIG_Python_SetConstant(d
, "HLB_DEFAULT_STYLE",SWIG_From_int(static_cast< int >(wxHLB_DEFAULT_STYLE
)));
34954 SWIG_Python_SetConstant(d
, "HLB_MULTIPLE",SWIG_From_int(static_cast< int >(wxHLB_MULTIPLE
)));
34956 // Map renamed classes back to their common name for OOR
34957 wxPyPtrTypeMap_Add("wxHtmlListBox", "wxPyHtmlListBox");
34958 wxPyPtrTypeMap_Add("wxVListBox", "wxPyVListBox");
34959 wxPyPtrTypeMap_Add("wxVScrolledWindow", "wxPyVScrolledWindow");
34961 PyDict_SetItemString(d
, "wxEVT_TASKBAR_MOVE", PyInt_FromLong(wxEVT_TASKBAR_MOVE
));
34962 PyDict_SetItemString(d
, "wxEVT_TASKBAR_LEFT_DOWN", PyInt_FromLong(wxEVT_TASKBAR_LEFT_DOWN
));
34963 PyDict_SetItemString(d
, "wxEVT_TASKBAR_LEFT_UP", PyInt_FromLong(wxEVT_TASKBAR_LEFT_UP
));
34964 PyDict_SetItemString(d
, "wxEVT_TASKBAR_RIGHT_DOWN", PyInt_FromLong(wxEVT_TASKBAR_RIGHT_DOWN
));
34965 PyDict_SetItemString(d
, "wxEVT_TASKBAR_RIGHT_UP", PyInt_FromLong(wxEVT_TASKBAR_RIGHT_UP
));
34966 PyDict_SetItemString(d
, "wxEVT_TASKBAR_LEFT_DCLICK", PyInt_FromLong(wxEVT_TASKBAR_LEFT_DCLICK
));
34967 PyDict_SetItemString(d
, "wxEVT_TASKBAR_RIGHT_DCLICK", PyInt_FromLong(wxEVT_TASKBAR_RIGHT_DCLICK
));
34968 SWIG_addvarlink(SWIG_globals(),(char*)"FileSelectorPromptStr",FileSelectorPromptStr_get
, FileSelectorPromptStr_set
);
34969 SWIG_addvarlink(SWIG_globals(),(char*)"DirSelectorPromptStr",DirSelectorPromptStr_get
, DirSelectorPromptStr_set
);
34970 SWIG_addvarlink(SWIG_globals(),(char*)"DirDialogNameStr",DirDialogNameStr_get
, DirDialogNameStr_set
);
34971 SWIG_addvarlink(SWIG_globals(),(char*)"FileSelectorDefaultWildcardStr",FileSelectorDefaultWildcardStr_get
, FileSelectorDefaultWildcardStr_set
);
34972 SWIG_addvarlink(SWIG_globals(),(char*)"GetTextFromUserPromptStr",GetTextFromUserPromptStr_get
, GetTextFromUserPromptStr_set
);
34973 SWIG_addvarlink(SWIG_globals(),(char*)"MessageBoxCaptionStr",MessageBoxCaptionStr_get
, MessageBoxCaptionStr_set
);
34974 SWIG_Python_SetConstant(d
, "DD_NEW_DIR_BUTTON",SWIG_From_int(static_cast< int >(wxDD_NEW_DIR_BUTTON
)));
34975 SWIG_Python_SetConstant(d
, "DD_DEFAULT_STYLE",SWIG_From_int(static_cast< int >(wxDD_DEFAULT_STYLE
)));
34976 SWIG_Python_SetConstant(d
, "DD_CHANGE_DIR",SWIG_From_int(static_cast< int >(wxDD_CHANGE_DIR
)));
34977 SWIG_Python_SetConstant(d
, "OPEN",SWIG_From_int(static_cast< int >(wxOPEN
)));
34978 SWIG_Python_SetConstant(d
, "SAVE",SWIG_From_int(static_cast< int >(wxSAVE
)));
34979 SWIG_Python_SetConstant(d
, "OVERWRITE_PROMPT",SWIG_From_int(static_cast< int >(wxOVERWRITE_PROMPT
)));
34980 SWIG_Python_SetConstant(d
, "FILE_MUST_EXIST",SWIG_From_int(static_cast< int >(wxFILE_MUST_EXIST
)));
34981 SWIG_Python_SetConstant(d
, "MULTIPLE",SWIG_From_int(static_cast< int >(wxMULTIPLE
)));
34982 SWIG_Python_SetConstant(d
, "CHANGE_DIR",SWIG_From_int(static_cast< int >(wxCHANGE_DIR
)));
34983 SWIG_Python_SetConstant(d
, "HIDE_READONLY",SWIG_From_int(static_cast< int >(wxHIDE_READONLY
)));
34984 SWIG_Python_SetConstant(d
, "FD_OPEN",SWIG_From_int(static_cast< int >(wxFD_OPEN
)));
34985 SWIG_Python_SetConstant(d
, "FD_SAVE",SWIG_From_int(static_cast< int >(wxFD_SAVE
)));
34986 SWIG_Python_SetConstant(d
, "FD_OVERWRITE_PROMPT",SWIG_From_int(static_cast< int >(wxFD_OVERWRITE_PROMPT
)));
34987 SWIG_Python_SetConstant(d
, "FD_FILE_MUST_EXIST",SWIG_From_int(static_cast< int >(wxFD_FILE_MUST_EXIST
)));
34988 SWIG_Python_SetConstant(d
, "FD_MULTIPLE",SWIG_From_int(static_cast< int >(wxFD_MULTIPLE
)));
34989 SWIG_Python_SetConstant(d
, "FD_CHANGE_DIR",SWIG_From_int(static_cast< int >(wxFD_CHANGE_DIR
)));
34990 SWIG_Python_SetConstant(d
, "FD_PREVIEW",SWIG_From_int(static_cast< int >(wxFD_PREVIEW
)));
34991 SWIG_Python_SetConstant(d
, "FD_DEFAULT_STYLE",SWIG_From_int(static_cast< int >(wxFD_DEFAULT_STYLE
)));
34992 SWIG_Python_SetConstant(d
, "CHOICEDLG_STYLE",SWIG_From_int(static_cast< int >(wxCHOICEDLG_STYLE
)));
34993 SWIG_Python_SetConstant(d
, "TextEntryDialogStyle",SWIG_From_int(static_cast< int >(wxTextEntryDialogStyle
)));
34994 SWIG_addvarlink(SWIG_globals(),(char*)"GetPasswordFromUserPromptStr",GetPasswordFromUserPromptStr_get
, GetPasswordFromUserPromptStr_set
);
34995 SWIG_Python_SetConstant(d
, "PD_AUTO_HIDE",SWIG_From_int(static_cast< int >(wxPD_AUTO_HIDE
)));
34996 SWIG_Python_SetConstant(d
, "PD_APP_MODAL",SWIG_From_int(static_cast< int >(wxPD_APP_MODAL
)));
34997 SWIG_Python_SetConstant(d
, "PD_CAN_ABORT",SWIG_From_int(static_cast< int >(wxPD_CAN_ABORT
)));
34998 SWIG_Python_SetConstant(d
, "PD_ELAPSED_TIME",SWIG_From_int(static_cast< int >(wxPD_ELAPSED_TIME
)));
34999 SWIG_Python_SetConstant(d
, "PD_ESTIMATED_TIME",SWIG_From_int(static_cast< int >(wxPD_ESTIMATED_TIME
)));
35000 SWIG_Python_SetConstant(d
, "PD_REMAINING_TIME",SWIG_From_int(static_cast< int >(wxPD_REMAINING_TIME
)));
35001 SWIG_Python_SetConstant(d
, "PD_SMOOTH",SWIG_From_int(static_cast< int >(wxPD_SMOOTH
)));
35002 SWIG_Python_SetConstant(d
, "PD_CAN_SKIP",SWIG_From_int(static_cast< int >(wxPD_CAN_SKIP
)));
35003 SWIG_Python_SetConstant(d
, "FR_DOWN",SWIG_From_int(static_cast< int >(wxFR_DOWN
)));
35004 SWIG_Python_SetConstant(d
, "FR_WHOLEWORD",SWIG_From_int(static_cast< int >(wxFR_WHOLEWORD
)));
35005 SWIG_Python_SetConstant(d
, "FR_MATCHCASE",SWIG_From_int(static_cast< int >(wxFR_MATCHCASE
)));
35006 SWIG_Python_SetConstant(d
, "FR_REPLACEDIALOG",SWIG_From_int(static_cast< int >(wxFR_REPLACEDIALOG
)));
35007 SWIG_Python_SetConstant(d
, "FR_NOUPDOWN",SWIG_From_int(static_cast< int >(wxFR_NOUPDOWN
)));
35008 SWIG_Python_SetConstant(d
, "FR_NOMATCHCASE",SWIG_From_int(static_cast< int >(wxFR_NOMATCHCASE
)));
35009 SWIG_Python_SetConstant(d
, "FR_NOWHOLEWORD",SWIG_From_int(static_cast< int >(wxFR_NOWHOLEWORD
)));
35010 PyDict_SetItemString(d
, "wxEVT_COMMAND_FIND", PyInt_FromLong(wxEVT_COMMAND_FIND
));
35011 PyDict_SetItemString(d
, "wxEVT_COMMAND_FIND_NEXT", PyInt_FromLong(wxEVT_COMMAND_FIND_NEXT
));
35012 PyDict_SetItemString(d
, "wxEVT_COMMAND_FIND_REPLACE", PyInt_FromLong(wxEVT_COMMAND_FIND_REPLACE
));
35013 PyDict_SetItemString(d
, "wxEVT_COMMAND_FIND_REPLACE_ALL", PyInt_FromLong(wxEVT_COMMAND_FIND_REPLACE_ALL
));
35014 PyDict_SetItemString(d
, "wxEVT_COMMAND_FIND_CLOSE", PyInt_FromLong(wxEVT_COMMAND_FIND_CLOSE
));
35015 SWIG_Python_SetConstant(d
, "IDM_WINDOWTILE",SWIG_From_int(static_cast< int >(4001)));
35016 SWIG_Python_SetConstant(d
, "IDM_WINDOWTILEHOR",SWIG_From_int(static_cast< int >(4001)));
35017 SWIG_Python_SetConstant(d
, "IDM_WINDOWCASCADE",SWIG_From_int(static_cast< int >(4002)));
35018 SWIG_Python_SetConstant(d
, "IDM_WINDOWICONS",SWIG_From_int(static_cast< int >(4003)));
35019 SWIG_Python_SetConstant(d
, "IDM_WINDOWNEXT",SWIG_From_int(static_cast< int >(4004)));
35020 SWIG_Python_SetConstant(d
, "IDM_WINDOWTILEVERT",SWIG_From_int(static_cast< int >(4005)));
35021 SWIG_Python_SetConstant(d
, "IDM_WINDOWPREV",SWIG_From_int(static_cast< int >(4006)));
35022 SWIG_Python_SetConstant(d
, "FIRST_MDI_CHILD",SWIG_From_int(static_cast< int >(4100)));
35023 SWIG_Python_SetConstant(d
, "LAST_MDI_CHILD",SWIG_From_int(static_cast< int >(4600)));
35024 SWIG_addvarlink(SWIG_globals(),(char*)"PrintoutTitleStr",PrintoutTitleStr_get
, PrintoutTitleStr_set
);
35025 SWIG_addvarlink(SWIG_globals(),(char*)"PreviewCanvasNameStr",PreviewCanvasNameStr_get
, PreviewCanvasNameStr_set
);
35026 SWIG_Python_SetConstant(d
, "PRINT_MODE_NONE",SWIG_From_int(static_cast< int >(wxPRINT_MODE_NONE
)));
35027 SWIG_Python_SetConstant(d
, "PRINT_MODE_PREVIEW",SWIG_From_int(static_cast< int >(wxPRINT_MODE_PREVIEW
)));
35028 SWIG_Python_SetConstant(d
, "PRINT_MODE_FILE",SWIG_From_int(static_cast< int >(wxPRINT_MODE_FILE
)));
35029 SWIG_Python_SetConstant(d
, "PRINT_MODE_PRINTER",SWIG_From_int(static_cast< int >(wxPRINT_MODE_PRINTER
)));
35030 SWIG_Python_SetConstant(d
, "PRINT_MODE_STREAM",SWIG_From_int(static_cast< int >(wxPRINT_MODE_STREAM
)));
35031 SWIG_Python_SetConstant(d
, "PRINTBIN_DEFAULT",SWIG_From_int(static_cast< int >(wxPRINTBIN_DEFAULT
)));
35032 SWIG_Python_SetConstant(d
, "PRINTBIN_ONLYONE",SWIG_From_int(static_cast< int >(wxPRINTBIN_ONLYONE
)));
35033 SWIG_Python_SetConstant(d
, "PRINTBIN_LOWER",SWIG_From_int(static_cast< int >(wxPRINTBIN_LOWER
)));
35034 SWIG_Python_SetConstant(d
, "PRINTBIN_MIDDLE",SWIG_From_int(static_cast< int >(wxPRINTBIN_MIDDLE
)));
35035 SWIG_Python_SetConstant(d
, "PRINTBIN_MANUAL",SWIG_From_int(static_cast< int >(wxPRINTBIN_MANUAL
)));
35036 SWIG_Python_SetConstant(d
, "PRINTBIN_ENVELOPE",SWIG_From_int(static_cast< int >(wxPRINTBIN_ENVELOPE
)));
35037 SWIG_Python_SetConstant(d
, "PRINTBIN_ENVMANUAL",SWIG_From_int(static_cast< int >(wxPRINTBIN_ENVMANUAL
)));
35038 SWIG_Python_SetConstant(d
, "PRINTBIN_AUTO",SWIG_From_int(static_cast< int >(wxPRINTBIN_AUTO
)));
35039 SWIG_Python_SetConstant(d
, "PRINTBIN_TRACTOR",SWIG_From_int(static_cast< int >(wxPRINTBIN_TRACTOR
)));
35040 SWIG_Python_SetConstant(d
, "PRINTBIN_SMALLFMT",SWIG_From_int(static_cast< int >(wxPRINTBIN_SMALLFMT
)));
35041 SWIG_Python_SetConstant(d
, "PRINTBIN_LARGEFMT",SWIG_From_int(static_cast< int >(wxPRINTBIN_LARGEFMT
)));
35042 SWIG_Python_SetConstant(d
, "PRINTBIN_LARGECAPACITY",SWIG_From_int(static_cast< int >(wxPRINTBIN_LARGECAPACITY
)));
35043 SWIG_Python_SetConstant(d
, "PRINTBIN_CASSETTE",SWIG_From_int(static_cast< int >(wxPRINTBIN_CASSETTE
)));
35044 SWIG_Python_SetConstant(d
, "PRINTBIN_FORMSOURCE",SWIG_From_int(static_cast< int >(wxPRINTBIN_FORMSOURCE
)));
35045 SWIG_Python_SetConstant(d
, "PRINTBIN_USER",SWIG_From_int(static_cast< int >(wxPRINTBIN_USER
)));
35046 SWIG_Python_SetConstant(d
, "PRINTER_NO_ERROR",SWIG_From_int(static_cast< int >(wxPRINTER_NO_ERROR
)));
35047 SWIG_Python_SetConstant(d
, "PRINTER_CANCELLED",SWIG_From_int(static_cast< int >(wxPRINTER_CANCELLED
)));
35048 SWIG_Python_SetConstant(d
, "PRINTER_ERROR",SWIG_From_int(static_cast< int >(wxPRINTER_ERROR
)));
35049 SWIG_Python_SetConstant(d
, "PREVIEW_PRINT",SWIG_From_int(static_cast< int >(wxPREVIEW_PRINT
)));
35050 SWIG_Python_SetConstant(d
, "PREVIEW_PREVIOUS",SWIG_From_int(static_cast< int >(wxPREVIEW_PREVIOUS
)));
35051 SWIG_Python_SetConstant(d
, "PREVIEW_NEXT",SWIG_From_int(static_cast< int >(wxPREVIEW_NEXT
)));
35052 SWIG_Python_SetConstant(d
, "PREVIEW_ZOOM",SWIG_From_int(static_cast< int >(wxPREVIEW_ZOOM
)));
35053 SWIG_Python_SetConstant(d
, "PREVIEW_FIRST",SWIG_From_int(static_cast< int >(wxPREVIEW_FIRST
)));
35054 SWIG_Python_SetConstant(d
, "PREVIEW_LAST",SWIG_From_int(static_cast< int >(wxPREVIEW_LAST
)));
35055 SWIG_Python_SetConstant(d
, "PREVIEW_GOTO",SWIG_From_int(static_cast< int >(wxPREVIEW_GOTO
)));
35056 SWIG_Python_SetConstant(d
, "PREVIEW_DEFAULT",SWIG_From_int(static_cast< int >(wxPREVIEW_DEFAULT
)));
35057 SWIG_Python_SetConstant(d
, "ID_PREVIEW_CLOSE",SWIG_From_int(static_cast< int >(wxID_PREVIEW_CLOSE
)));
35058 SWIG_Python_SetConstant(d
, "ID_PREVIEW_NEXT",SWIG_From_int(static_cast< int >(wxID_PREVIEW_NEXT
)));
35059 SWIG_Python_SetConstant(d
, "ID_PREVIEW_PREVIOUS",SWIG_From_int(static_cast< int >(wxID_PREVIEW_PREVIOUS
)));
35060 SWIG_Python_SetConstant(d
, "ID_PREVIEW_PRINT",SWIG_From_int(static_cast< int >(wxID_PREVIEW_PRINT
)));
35061 SWIG_Python_SetConstant(d
, "ID_PREVIEW_ZOOM",SWIG_From_int(static_cast< int >(wxID_PREVIEW_ZOOM
)));
35062 SWIG_Python_SetConstant(d
, "ID_PREVIEW_FIRST",SWIG_From_int(static_cast< int >(wxID_PREVIEW_FIRST
)));
35063 SWIG_Python_SetConstant(d
, "ID_PREVIEW_LAST",SWIG_From_int(static_cast< int >(wxID_PREVIEW_LAST
)));
35064 SWIG_Python_SetConstant(d
, "ID_PREVIEW_GOTO",SWIG_From_int(static_cast< int >(wxID_PREVIEW_GOTO
)));
35066 wxPyPtrTypeMap_Add("wxPrintout", "wxPyPrintout");